-
Notifications
You must be signed in to change notification settings - Fork 81
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(dropdown-item): enhance component's interactivity states #11821
feat(dropdown-item): enhance component's interactivity states #11821
Conversation
@@ -4,8 +4,7 @@ | |||
* These properties can be overridden using the component's tag as selector. | |||
* | |||
* @prop --calcite-dropdown-item-background-color-hover: Specifies the item's background color when hovered. | |||
* @prop --calcite-dropdown-item-background-color-press: Specifies the item's background color when selected or active. | |||
* @prop --calcite-dropdown-item-icon-color-hover: Specifies the item's icon selection color when hovered. |
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.
To avoid a breaking change, can we deprecate and remove at 4.0? The prop itself would be applied if set by developers, but we'd no longer have default styling for it. cc @ashetland
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 updated the PR with --calcite-dropdown-item-icon-color-hover
now being deprecated.
@ashetland @SkyeSeitz Can you please take a look? |
LGTM! |
…nent-interactivity-states
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.
Awesome! Before merging, can you add a deprecate
commit entry to the PR description (see example)?
@@ -5,7 +5,7 @@ | |||
* | |||
* @prop --calcite-dropdown-item-background-color-hover: Specifies the item's background color when hovered. | |||
* @prop --calcite-dropdown-item-background-color-press: Specifies the item's background color when selected or active. | |||
* @prop --calcite-dropdown-item-icon-color-hover: Specifies the item's icon selection color when hovered. | |||
* @prop --calcite-dropdown-item-icon-color-hover: [Deprecated] Specifies the item's icon selection color when hovered. |
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.
Very nitpicky, but there's an extra space at the end.
…activity-states' of github.com:Esri/calcite-design-system into aPreciado88/10019-dropdown-item-enhance-component-interactivity-states
Related Issue: #10019
Summary
deprecate(dropdown-item): remove
--calcite-dropdown-item-icon-color-hover
css token.