You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(rating): enhance component's interactivity states (#11469)
**Related Issue:**
[#10015](#10015)
## Summary
- Update star icon to `fill` on `:hover`.
- Update star icon color to `--calcite-color-brand-hover` on `:hover`.
- Update star icon color to `--calcite-color-brand-press` on `:active`.
- Add `--calcite-rating-color-press` css token.
Copy file name to clipboardExpand all lines: packages/calcite-components/src/components/rating/rating.scss
+9-2
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,8 @@
5
5
*
6
6
* @prop --calcite-rating-spacing-unit: [Deprecated] Use `--calcite-rating-spacing`. Specifies the amount of left and right margin spacing between each item.
7
7
* @prop --calcite-rating-spacing: Specifies the amount of left and right margin spacing between each item.
8
-
* @prop --calcite-rating-color-hover: Specifies the component's item color when hovered or selected.
8
+
* @prop --calcite-rating-color-hover: Specifies the component's item color when hovered.
9
+
* @prop --calcite-rating-color-press: Specifies the component's item color when active.
9
10
* @prop --calcite-rating-color: Specifies the component's item color.
10
11
* @prop --calcite-rating-average-color: Specifies the component's item color when average is set.
11
12
* @prop --calcite-rating-average-text-color: Specifies the component's average text color.
0 commit comments