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
Copy file name to clipboardexpand all lines: .changeset/giant-windows-smoke.md
+10-3
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,22 @@
6
6
7
7
This change migrates the colorwheel component to S2. It adds the `--spectrum-colorwheel-border-color-rgb` and `--spectrum-colorwheel-border-opacity` custom properties. It updates `--spectrum-colorwheel-border-color` to leverage these tokens in an `rgba(...)` function.
8
8
9
-
This removes the `spectrum-ColorWheel-border` and associated template DOM node as the outside/underlying border are no longer present in the S2 designs.
9
+
This removes the `spectrum-ColorWheel-border` and associated template DOM node as the outside/underlying border are no longer present in the S2 designs. `::before` and `::after` pseudo elements are now used to draw the exterior and interior borders that overlay the exterior and interior edges of the color wheel.
10
+
11
+
Support is provided for the `240px` and `192px` sizes outlined in the design requirements.
12
+
13
+
The `forced-colors` media query has been moved to the bottom of the file consistent with with our other component implementations.
14
+
15
+
Stories, tests and documentation have been updated to be consistent with these changes.
10
16
11
17
The following mods have been removed:
12
18
13
19
```css
14
20
--mod-colorwheel-height
15
-
--mod-colorwheel-path-borders
16
-
--mod-colorwheel-track-width
17
21
--mod-colorwheel-width
22
+
--mod-colorwheel-min-width
23
+
--mod-colorwheel-path-borders
24
+
--mod-colorwheel-colorarea-margin
18
25
```
19
26
20
27
The mod `--mod-colorwheel-track-width` has been added.
0 commit comments