-
Notifications
You must be signed in to change notification settings - Fork 77
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
feat(chip): deprecate pressed
in favor of press
#11389
Conversation
@@ -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. |
There was a problem hiding this comment.
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?
There was a problem hiding this 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.
This PR has been automatically marked as stale because it has not had recent activity. Please close your PR if it is no longer relevant. Thank you for your contributions. |
pressed
in favor of press
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! once the doc is fixed.
I think the title of the PR should also be:
feat(chip): add `press` tokens and deprecate `pressed` tokens
@alisonailea Can you amend the PR title as suggested above? From the changelog perspective, "pressed"/"press" isn't clear on its own, so tokens context is needed. Here are the steps to amend the conventional commit entry (see example). |
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.