File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
`@spectrum-css/swatchgroup` : major
3
3
`@spectrum-css/swatch` : major
4
+ `@spectrum-css/tokens` : minor
4
5
---
5
6
6
7
#### S2 migration for Swatch group
Original file line number Diff line number Diff line change 25
25
gap : var (--mod-swatchgroup-spacing , var (--spectrum-swatchgroup-spacing ));
26
26
}
27
27
28
- /* Small */
29
28
.spectrum-SwatchGroup--compact {
30
29
--spectrum-swatchgroup-spacing : var (--spectrum-spacing-50 );
31
30
}
32
31
33
- /* Large */
34
32
.spectrum-SwatchGroup--spacious : has (.spectrum-Swatch--sizeXS , .spectrum-Swatch--sizeS ) {
35
33
--spectrum-swatchgroup-spacing : var (--spectrum-swatch-group-spacing-spacious );
36
34
}
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ export const SwatchgroupGroup = Variants({
11
11
testHeading : "Compact density" ,
12
12
density : "compact" ,
13
13
} ,
14
+ {
15
+ testHeading : "Spacious density" ,
16
+ density : "spacious" ,
17
+ } ,
14
18
{
15
19
testHeading : "Full rounding (regular density)" ,
16
20
rounding : "full" ,
You can’t perform that action at this time.
0 commit comments