Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(chip): deprecate pressed #11389

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

alisonailea
Copy link
Contributor

Related Issue: #10832

Summary

Deprecate --calcite-chip-select-icon-color-pressed token.

Add --calcite-chip-select-icon-color-press: Specifies the component's selection element icon color when active.

@github-actions github-actions bot added the chore Issues with changes that don't modify src or test files. label Jan 27, 2025
@@ -10,7 +10,8 @@
* @prop --calcite-chip-icon-color: Specifies the component's icon color.
* @prop --calcite-chip-close-icon-color: Specifies the component's close element icon color.
* @prop --calcite-chip-select-icon-color: Specifies the component's selection element icon color.
* @prop --calcite-chip-select-icon-color-pressed: Specifies the component's selection element icon color when active.
* @prop --calcite-chip-select-icon-color-pressed: [deprecate] Use `--calcite-chip-select-icon-color-press`. Specifies the component's selection element icon color when active.
* @prop --calcite-chip-select-icon-color-press: Specifies the component's selection element icon color when active.
Copy link
Member

Choose a reason for hiding this comment

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

@alisonailea it doesn't look like this new var is used anywhere? Should there also be tests here?

Copy link
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

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

I think this should be a feat as well since its adding a new token and deprecating an old one.

It should have tests added, story, and update the HTML page with an example using the token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Issues with changes that don't modify src or test files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants