Skip to content

Commit 16bbd31

Browse files
committed
chore(rating): update changelog
1 parent 0b86c16 commit 16bbd31

File tree

1 file changed

+46
-1
lines changed

1 file changed

+46
-1
lines changed

.changeset/eighty-terms-lead.md

+46-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,51 @@
22
"@spectrum-css/rating": major
33
---
44

5-
S2 migration rating
5+
# S2 migration rating
66

77
This migrates the `rating` component to S2. Custom properties have been remapped and added per the design specification.
8+
9+
The small component variation is now the default and a t-shirt size medium variation has been added.
10+
11+
New JavaScript logic has been added to better suppot hover interactivity in our Storybook example. Customers and consuming teams will need to implement the same (or comparable) logic.
12+
13+
## New mods
14+
15+
```css
16+
--mod-rating-icon-width
17+
```
18+
19+
## New custom properties
20+
21+
```css
22+
--spectrum-rating-width
23+
--spectrum-rating-width-medium
24+
--spectrum-rating-width-small
25+
--spectrum-corner-radius-medium-size-medium
26+
--spectrum-corner-radius-medium-size-small
27+
--spectrum-spacing-75
28+
--spectrum-workflow-icon-size-100
29+
--spectrum-workflow-icon-size-75
30+
```
31+
32+
## Removed mods
33+
34+
```css
35+
--mod-rating-focus-indicator-gap
36+
--mod-rating-icon-count
37+
--mod-rating-icon-spacing-vertical-top
38+
--mod-rating-icon-width
39+
--mod-rating-indicator-border-radius
40+
--mod-rating-indicator-height
41+
```
42+
43+
## Removed custom properties
44+
45+
```css
46+
--spectrum-rating-indicator-width
47+
--spectrum-corner-radius-100
48+
--spectrum-neutral-subdued-content-color-default
49+
--spectrum-neutral-subdued-content-color-down
50+
--spectrum-neutral-subdued-content-color-hover
51+
--spectrum-workflow-icon-size-100
52+
```

0 commit comments

Comments
 (0)