Skip to content

fix: remove background from autocomplete label/hint - #860

Merged
lukasmatta merged 2 commits into
masterfrom
859-cps-autocomplete-labelhint-have-hardcoded-background
Sep 21, 2026
Merged

lukasmatta merged 2 commits into
masterfrom
859-cps-autocomplete-labelhint-have-hardcoded-background

Conversation

@lukasmatta

@lukasmatta lukasmatta commented Sep 21, 2026 •

Copy link
Copy Markdown
Collaborator

Removed background-color: var(--cps-surface-body) from .cps-autocomplete-label and .cps-autocomplete-hint in cps-autocomplete. They were showing a gray strip on non-body surfaces (e.g. dialogs). Now transparent, matching cps-input/cps-select.

Closes #859

@lukasmatta lukasmatta self-assigned this Sep 21, 2026
@lukasmatta lukasmatta linked an issue Sep 21, 2026 that may be closed by this pull request
@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Coverage report for library

St.❔
Category Percentage Covered / Total
🟢 Statements 98.84% 7582/7671
🟢 Branches 93.87% 3902/4157
🟢 Functions 97.49% 1396/1432
🟢 Lines 99.34% 7034/7081

Test suite run success

3233 tests passing in 76 suites.

Report generated by 🧪jest coverage report action from 975b281

@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Playwright test results

passed  974 passed

Details

stats  974 tests across 35 suites
duration  26 minutes, 5 seconds
commit  975b281
info  For details, download the Playwright report

@lukasmatta
lukasmatta marked this pull request as ready for review September 21, 2026 10:05
Copilot AI lite review requested due to automatic review settings September 21, 2026 10:05

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Removes hardcoded backgrounds from autocomplete labels and hints so they remain transparent on non-body surfaces.

Changes:

  • Removed background-color: var(--cps-surface-body) from both selectors.
File Description
projects/​cps-ui-kit/​src/​lib/​components/​cps-autocomplete/​cps-autocomplete.component.scss Makes autocomplete label and hint backgrounds transparent.

💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.

@lukasmatta
lukasmatta merged commit 4409d0a into master Sep 21, 2026
10 checks passed
@lukasmatta
lukasmatta deleted the 859-cps-autocomplete-labelhint-have-hardcoded-background branch September 21, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cps-autocomplete label/hint have hardcoded background

3 participants