@ndla/primitives 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -87,6 +87,8 @@
87
87
  "boxShadowColor]___[value:stroke.default",
88
88
  "color]___[value:text.onAction]___[cond:_disabled",
89
89
  "background]___[value:surface.disabled]___[cond:_disabled",
90
+ "boxShadowColor]___[value:surface.disabled]___[cond:_disabled",
91
+ "color]___[value:text.onAction]___[cond:_disabled<___>& svg",
90
92
  "color]___[value:text.onAction]___[cond:_disabled<___>_hover",
91
93
  "background]___[value:surface.disabled]___[cond:_disabled<___>_hover",
92
94
  "boxShadow]___[value:inset 0 0 0 3px var(--shadow-color)]___[cond:_focusVisible",
@@ -196,6 +198,30 @@
196
198
  "color]___[value:stroke.hover]___[cond:_checked<___>_hover",
197
199
  "color]___[value:stroke.disabled]___[cond:_disabled",
198
200
  "color]___[value:stroke.disabled]___[cond:_disabled<___>_hover",
201
+ "zIndex]___[value:dropdown",
202
+ "boxShadow]___[value:large",
203
+ "padding]___[value:xsmall",
204
+ "overflowY]___[value:auto",
205
+ "maxHeight]___[value:surface.xsmall",
206
+ "animation]___[value:fade-shift-in 0.25s ease-out]___[cond:_open",
207
+ "animation]___[value:fade-shift-out 0.25s ease-out]___[cond:_closed",
208
+ "transitionProperty]___[value:background, color, border-color",
209
+ "background]___[value:surface.hover]___[cond:_hover",
210
+ "background]___[value:surface.hover]___[cond:_highlighted",
211
+ "background]___[value:surface.selected]___[cond:_checked",
212
+ "background]___[value:surface.hover]___[cond:_checked<___>_highlighted",
213
+ "background]___[value:surface.default]___[cond:_hover",
214
+ "borderColor]___[value:stroke.default]___[cond:_highlighted",
215
+ "borderColor]___[value:stroke.default]___[cond:_checked",
216
+ "color]___[value:icon.default]___[cond:& svg",
217
+ "transformOrigin]___[value:center]___[cond:& svg",
218
+ "transitionDuration]___[value:normal]___[cond:& svg",
219
+ "transitionProperty]___[value:transform]___[cond:& svg",
220
+ "transitionTimingFunction]___[value:default]___[cond:& svg",
221
+ "transform]___[value:rotate(180deg)]___[cond:_open<___>& svg",
222
+ "color]___[value:stroke.default",
223
+ "textDecoration]___[value:underline]___[cond:_checked",
224
+ "textDecoration]___[value:underline]___[cond:_highlighted",
199
225
  "position]___[value:fixed",
200
226
  "height]___[value:100vh",
201
227
  "width]___[value:100vw",
@@ -214,7 +240,6 @@
214
240
  "maxWidth]___[value:95%",
215
241
  "maxHeight]___[value:95%",
216
242
  "margin]___[value:auto",
217
- "overflowY]___[value:auto",
218
243
  "borderRadius]___[value:sharp",
219
244
  "borderRadius]___[value:small]___[cond:tablet",
220
245
  "paddingBlockStart]___[value:env(safe-area-inset-top)",
@@ -263,6 +288,22 @@
263
288
  "textStyle]___[value:label.large!]___[cond:& > *",
264
289
  "color]___[value:text.error",
265
290
  "whiteSpace]___[value:pre-line",
291
+ "transitionProperty]___[value:transform, width, height",
292
+ "width]___[value:50%]___[cond:tablet",
293
+ "width]___[value:65%]___[cond:desktop",
294
+ "width]___[value:35%]___[cond:tablet",
295
+ "width]___[value:50%]___[cond:desktop",
296
+ "width]___[value:25%]___[cond:tablet",
297
+ "width]___[value:35%]___[cond:desktop",
298
+ "float]___[value:left]___[cond:tablet",
299
+ "clear]___[value:left]___[cond:tablet",
300
+ "paddingInlineEnd]___[value:medium]___[cond:tablet",
301
+ "float]___[value:right]___[cond:tablet",
302
+ "clear]___[value:right]___[cond:tablet",
303
+ "paddingInlineStart]___[value:medium]___[cond:tablet",
304
+ "zIndex]___[value:base",
305
+ "left]___[value:auto",
306
+ "marginBlock]___[value:xsmall",
266
307
  "borderRadius]___[value:small",
267
308
  "boxShadow]___[value:4px 4px 0px 0px var(--shadow-color)",
268
309
  "backgroundColor]___[value:surface.default",
@@ -309,13 +350,10 @@
309
350
  "margin]___[value:0",
310
351
  "transitionProperty]___[value:background, color",
311
352
  "textDecoration]___[value:underline]___[cond:_hover",
312
- "textDecoration]___[value:underline]___[cond:_highlighted",
313
353
  "color]___[value:stroke.disabled]___[cond:_disabled<___>& svg",
314
354
  "textDecoration]___[value:none]___[cond:_disabled<___>_hover",
315
355
  "background]___[value:surface.default]___[cond:_disabled<___>_hover",
316
356
  "color]___[value:stroke.disabled]___[cond:_disabled<___>_hover<___>& svg",
317
- "background]___[value:surface.hover]___[cond:_hover",
318
- "background]___[value:surface.hover]___[cond:_highlighted",
319
357
  "background]___[value:surface.active]___[cond:_active",
320
358
  "color]___[value:icon.error]___[cond:& svg",
321
359
  "color]___[value:text.default]___[cond:_hover",
@@ -328,9 +366,6 @@
328
366
  "minWidth]___[value:surface.xxsmall",
329
367
  "padding]___[value:3xsmall",
330
368
  "boxShadow]___[value:xsmall",
331
- "zIndex]___[value:dropdown",
332
- "animation]___[value:fade-shift-in 0.25s ease-out]___[cond:_open",
333
- "animation]___[value:fade-shift-out 0.25s ease-out]___[cond:_closed",
334
369
  "alignItems]___[value:flex-start",
335
370
  "gap]___[value:small",
336
371
  "background]___[value:surface.infoSubtle",
@@ -359,11 +394,22 @@
359
394
  "outlineColor]___[value:surface.default",
360
395
  "transitionProperty]___[value:background, border-color, box-shadow",
361
396
  "background]___[value:stroke.default]___[cond:_checked",
362
- "borderColor]___[value:stroke.default]___[cond:_checked",
363
397
  "outline]___[value:2px solid]___[cond:&:has(input:focus-visible)",
364
398
  "outlineOffset]___[value:4xsmall]___[cond:&:has(input:focus-visible)",
365
399
  "outlineColor]___[value:stroke.default]___[cond:&:has(input:focus-visible)",
366
400
  "borderRadius]___[value:xsmall]___[cond:&:has(input:focus-visible)",
401
+ "outlineOffset]___[value:-1]___[cond:_focusVisible",
402
+ "background]___[value:surface.selected]___[cond:_selected",
403
+ "background]___[value:surface.hover]___[cond:_selected<___>_hover",
404
+ "background]___[value:surface.hover]___[cond:_selected<___>_highlighted",
405
+ "background]___[value:surface.hover]___[cond:_highlighted<___>_hover",
406
+ "color]___[value:text.disabled]___[cond:_disabled<___>_highlighted",
407
+ "background]___[value:surface.disabled]___[cond:_disabled<___>_highlighted",
408
+ "color]___[value:text.disabled]___[cond:_disabled<___>_selected",
409
+ "background]___[value:surface.disabled]___[cond:_disabled<___>_selected",
410
+ "color]___[value:icon.default",
411
+ "width]___[value:surface.small",
412
+ "boxShadowColor]___[value:stroke.error]___[cond:_ariaInvalid",
367
413
  "animation]___[value:skeleton-pulse",
368
414
  "backgroundColor]___[value:surface.disabled",
369
415
  "backgroundClip]___[value:padding-box",
@@ -469,7 +515,23 @@
469
515
  "paddingBlockStart]___[value:xsmall]___[cond:_horizontal",
470
516
  "paddingInlineStart]___[value:xsmall]___[cond:_vertical",
471
517
  "boxShadow]___[value:0 0 0 3px var(--shadow-color)]___[cond:_focusVisible",
472
- "padding]___[value:xsmall",
518
+ "width]___[value:full",
519
+ "gap]___[value:1",
520
+ "paddingInlineEnd]___[value:3xsmall",
521
+ "paddingInlineStart]___[value:xsmall",
522
+ "cursor]___[value:initial",
523
+ "outlineColor]___[value:transparent",
524
+ "backgroundColor]___[value:surface.actionSubtle.selected",
525
+ "transitionProperty]___[value:background, outline-color, color",
526
+ "backgroundColor]___[value:surface.actionSubtle.hover]___[cond:_hover",
527
+ "color]___[value:stroke.hover]___[cond:_hover<___>& svg",
528
+ "backgroundColor]___[value:surface.actionSubtle.hover]___[cond:_highlighted",
529
+ "outlineWidth]___[value:3px]___[cond:_highlighted",
530
+ "outlineOffset]___[value:-1px]___[cond:_highlighted",
531
+ "outlineColor]___[value:stroke.hover]___[cond:_highlighted",
532
+ "color]___[value:stroke.hover]___[cond:_highlighted<___>& svg",
533
+ "paddingBottom]___[value:1",
534
+ "display]___[value:inline-block]___[cond:& span",
473
535
  "textStyle]___[value:body.medium",
474
536
  "textStyle]___[value:heading.medium",
475
537
  "boxShadow]___[value:medium",
package/dist/styles.css CHANGED
@@ -320,6 +320,26 @@
320
320
  display: none;
321
321
  }
322
322
 
323
+ .z_dropdown {
324
+ z-index: var(--z-index-dropdown);
325
+ }
326
+
327
+ .shadow_large {
328
+ box-shadow: var(--shadows-large);
329
+ }
330
+
331
+ .p_xsmall {
332
+ padding: var(--spacing-xsmall);
333
+ }
334
+
335
+ .max-h_surface\.xsmall {
336
+ max-height: var(--sizes-surface-xsmall);
337
+ }
338
+
339
+ .text_stroke\.default {
340
+ color: var(--colors-stroke-default);
341
+ }
342
+
323
343
  .pos_fixed {
324
344
  position: fixed;
325
345
  }
@@ -488,6 +508,14 @@
488
508
  white-space: pre-line;
489
509
  }
490
510
 
511
+ .z_base {
512
+ z-index: var(--z-index-base);
513
+ }
514
+
515
+ .my_xsmall {
516
+ margin-block: var(--spacing-xsmall);
517
+ }
518
+
491
519
  .rounded_small {
492
520
  border-radius: var(--radii-small);
493
521
  }
@@ -604,10 +632,6 @@
604
632
  box-shadow: var(--shadows-xsmall);
605
633
  }
606
634
 
607
- .z_dropdown {
608
- z-index: var(--z-index-dropdown);
609
- }
610
-
611
635
  .gap_small {
612
636
  gap: var(--spacing-small);
613
637
  }
@@ -656,6 +680,14 @@
656
680
  outline-offset: -6px;
657
681
  }
658
682
 
683
+ .text_icon\.default {
684
+ color: var(--colors-icon-default);
685
+ }
686
+
687
+ .w_surface\.small {
688
+ width: var(--sizes-surface-small);
689
+ }
690
+
659
691
  .animation_skeleton-pulse {
660
692
  animation: var(--animations-skeleton-pulse);
661
693
  }
@@ -744,8 +776,24 @@
744
776
  white-space: nowrap;
745
777
  }
746
778
 
747
- .p_xsmall {
748
- padding: var(--spacing-xsmall);
779
+ .w_full {
780
+ width: full;
781
+ }
782
+
783
+ .gap_1 {
784
+ gap: var(--spacing-1);
785
+ }
786
+
787
+ .pe_3xsmall {
788
+ padding-inline-end: var(--spacing-3xsmall);
789
+ }
790
+
791
+ .ps_xsmall {
792
+ padding-inline-start: var(--spacing-xsmall);
793
+ }
794
+
795
+ .cursor_initial {
796
+ cursor: initial;
749
797
  }
750
798
 
751
799
  .shadow_medium {
@@ -920,6 +968,15 @@
920
968
  transition-property: border-color, background, box-shadow, color;
921
969
  }
922
970
 
971
+ .overflow-y_auto {
972
+ overflow-y: auto;
973
+ }
974
+
975
+ .transition-prop_background\,_color\,_border-color {
976
+ --transition-prop: background, color, border-color;
977
+ transition-property: background, color, border-color;
978
+ }
979
+
923
980
  .left_0 {
924
981
  left: 0;
925
982
  }
@@ -928,8 +985,13 @@
928
985
  top: 0;
929
986
  }
930
987
 
931
- .overflow-y_auto {
932
- overflow-y: auto;
988
+ .transition-prop_transform\,_width\,_height {
989
+ --transition-prop: transform, width, height;
990
+ transition-property: transform, width, height;
991
+ }
992
+
993
+ .left_auto {
994
+ left: auto;
933
995
  }
934
996
 
935
997
  .bg_surface\.default {
@@ -1054,6 +1116,23 @@
1054
1116
  border-width: 1px;
1055
1117
  }
1056
1118
 
1119
+ .ring-color_transparent {
1120
+ outline-color: transparent;
1121
+ }
1122
+
1123
+ .bg_surface\.actionSubtle\.selected {
1124
+ background-color: var(--colors-surface-action-subtle-selected);
1125
+ }
1126
+
1127
+ .transition-prop_background\,_outline-color\,_color {
1128
+ --transition-prop: background, outline-color, color;
1129
+ transition-property: background, outline-color, color;
1130
+ }
1131
+
1132
+ .pb_1 {
1133
+ padding-bottom: var(--spacing-1);
1134
+ }
1135
+
1057
1136
  .duration_slow {
1058
1137
  --transition-duration: var(--durations-slow);
1059
1138
  transition-duration: var(--durations-slow);
@@ -1125,6 +1204,10 @@
1125
1204
  background: var(--colors-surface-disabled);
1126
1205
  }
1127
1206
 
1207
+ .disabled\:shadow-color_surface\.disabled:is(:disabled, [disabled], [data-disabled]) {
1208
+ --shadow-color: var(--colors-surface-disabled);
1209
+ }
1210
+
1128
1211
  .\[\&_svg\]\:mx_0 svg {
1129
1212
  margin-inline: 0;
1130
1213
  }
@@ -1169,6 +1252,38 @@
1169
1252
  color: var(--colors-stroke-disabled);
1170
1253
  }
1171
1254
 
1255
+ .open\:animation_fade-shift-in_0\.25s_ease-out:is([open], [data-open], [data-state="open"]) {
1256
+ animation: fade-shift-in 0.25s ease-out;
1257
+ }
1258
+
1259
+ .closed\:animation_fade-shift-out_0\.25s_ease-out:is([closed], [data-closed], [data-state="closed"]) {
1260
+ animation: fade-shift-out 0.25s ease-out;
1261
+ }
1262
+
1263
+ .highlighted\:bg_surface\.hover[data-highlighted] {
1264
+ background: var(--colors-surface-hover);
1265
+ }
1266
+
1267
+ .checked\:bg_surface\.selected:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1268
+ background: var(--colors-surface-selected);
1269
+ }
1270
+
1271
+ .\[\&_svg\]\:text_icon\.default svg {
1272
+ color: var(--colors-icon-default);
1273
+ }
1274
+
1275
+ .\[\&_svg\]\:origin_center svg {
1276
+ transform-origin: center;
1277
+ }
1278
+
1279
+ .checked\:text-decor_underline:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1280
+ text-decoration: underline;
1281
+ }
1282
+
1283
+ .highlighted\:text-decor_underline[data-highlighted] {
1284
+ text-decoration: underline;
1285
+ }
1286
+
1172
1287
  .open\:animation_backdrop-in:is([open], [data-open], [data-state="open"]) {
1173
1288
  animation: var(--animations-backdrop-in);
1174
1289
  }
@@ -1233,14 +1348,6 @@
1233
1348
  color: var(--colors-text-subtle);
1234
1349
  }
1235
1350
 
1236
- .highlighted\:text-decor_underline[data-highlighted] {
1237
- text-decoration: underline;
1238
- }
1239
-
1240
- .highlighted\:bg_surface\.hover[data-highlighted] {
1241
- background: var(--colors-surface-hover);
1242
- }
1243
-
1244
1351
  .\[\&_svg\]\:text_icon\.error svg {
1245
1352
  color: icon.error;
1246
1353
  }
@@ -1253,14 +1360,6 @@
1253
1360
  background: var(--colors-surface-error-subtle-hover);
1254
1361
  }
1255
1362
 
1256
- .open\:animation_fade-shift-in_0\.25s_ease-out:is([open], [data-open], [data-state="open"]) {
1257
- animation: fade-shift-in 0.25s ease-out;
1258
- }
1259
-
1260
- .closed\:animation_fade-shift-out_0\.25s_ease-out:is([closed], [data-closed], [data-state="closed"]) {
1261
- animation: fade-shift-out 0.25s ease-out;
1262
- }
1263
-
1264
1363
  .open\:animation_fade-shift-in_0\.2s_ease-out:is([open], [data-open], [data-state="open"]) {
1265
1364
  animation: fade-shift-in 0.2s ease-out;
1266
1365
  }
@@ -1273,6 +1372,14 @@
1273
1372
  background: var(--colors-stroke-default);
1274
1373
  }
1275
1374
 
1375
+ .selected\:bg_surface\.selected:is([aria-selected=true], [data-selected]) {
1376
+ background: var(--colors-surface-selected);
1377
+ }
1378
+
1379
+ .ariaInvalid\:shadow-color_stroke\.error:has([aria-invalid='true']),.ariaInvalid\:shadow-color_stroke\.error[aria-invalid='true'] {
1380
+ --shadow-color: var(--colors-stroke-error);
1381
+ }
1382
+
1276
1383
  .\[\&\:\:before\,_\&\:\:after\,_\*\]\:vis_hidden::before,.\[\&\:\:before\,_\&\:\:after\,_\*\]\:vis_hidden::after,.\[\&\:\:before\,_\&\:\:after\,_\*\]\:vis_hidden * {
1277
1384
  visibility: hidden;
1278
1385
  }
@@ -1406,6 +1513,14 @@
1406
1513
  padding-inline-start: var(--spacing-xsmall);
1407
1514
  }
1408
1515
 
1516
+ .highlighted\:ring-offset_-1px[data-highlighted] {
1517
+ outline-offset: -1px;
1518
+ }
1519
+
1520
+ .\[\&_span\]\:d_inline-block span {
1521
+ display: inline-block;
1522
+ }
1523
+
1409
1524
  .closed\:transition-prop_background\,_border-color\,_border\,_border-radius:is([closed], [data-closed], [data-state="closed"]) {
1410
1525
  --transition-prop: background, border-color, border, border-radius;
1411
1526
  transition-property: background, border-color, border, border-radius;
@@ -1447,6 +1562,29 @@
1447
1562
  border-color: var(--colors-surface-action);
1448
1563
  }
1449
1564
 
1565
+ .highlighted\:border_stroke\.default[data-highlighted] {
1566
+ border-color: var(--colors-stroke-default);
1567
+ }
1568
+
1569
+ .checked\:border_stroke\.default:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1570
+ border-color: var(--colors-stroke-default);
1571
+ }
1572
+
1573
+ .\[\&_svg\]\:duration_normal svg {
1574
+ --transition-duration: var(--durations-normal);
1575
+ transition-duration: var(--durations-normal);
1576
+ }
1577
+
1578
+ .\[\&_svg\]\:transition-prop_transform svg {
1579
+ --transition-prop: transform;
1580
+ transition-property: transform;
1581
+ }
1582
+
1583
+ .\[\&_svg\]\:ease_default svg {
1584
+ --transition-easing: var(--easings-default);
1585
+ transition-timing-function: var(--easings-default);
1586
+ }
1587
+
1450
1588
  .ariaInvalid\:ring-color_stroke\.error:has([aria-invalid='true']),.ariaInvalid\:ring-color_stroke\.error[aria-invalid='true'] {
1451
1589
  outline-color: var(--colors-stroke-error);
1452
1590
  }
@@ -1463,10 +1601,6 @@
1463
1601
  flex-direction: row;
1464
1602
  }
1465
1603
 
1466
- .checked\:border_stroke\.default:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1467
- border-color: var(--colors-stroke-default);
1468
- }
1469
-
1470
1604
  .\[\&_\>_caption\]\:fw_bold > caption,.\[\&_thead_tr_th\]\:fw_bold thead tr th {
1471
1605
  font-weight: var(--font-weights-bold);
1472
1606
  }
@@ -1519,6 +1653,18 @@
1519
1653
  border-color: var(--colors-stroke-subtle);
1520
1654
  }
1521
1655
 
1656
+ .highlighted\:bg_surface\.actionSubtle\.hover[data-highlighted] {
1657
+ background-color: var(--colors-surface-action-subtle-hover);
1658
+ }
1659
+
1660
+ .highlighted\:ring-width_3px[data-highlighted] {
1661
+ outline-width: 3px;
1662
+ }
1663
+
1664
+ .highlighted\:ring-color_stroke\.hover[data-highlighted] {
1665
+ outline-color: var(--colors-stroke-hover);
1666
+ }
1667
+
1522
1668
  .focusWithin\:ring-offset_-1px:focus-within {
1523
1669
  outline-offset: -1px;
1524
1670
  }
@@ -1593,6 +1739,10 @@
1593
1739
  border-radius: var(--radii-xsmall);
1594
1740
  }
1595
1741
 
1742
+ .focusVisible\:ring-offset_-1:is(:focus-visible, [data-focus-visible]) {
1743
+ outline-offset: calc(var(--spacing-1) * -1);
1744
+ }
1745
+
1596
1746
  .focusVisible\:border_2px_solid:is(:focus-visible, [data-focus-visible]) {
1597
1747
  border: 2px solid;
1598
1748
  }
@@ -1697,14 +1847,18 @@
1697
1847
  --shadow-color: var(--colors-surface-action-subtle-hover-strong);
1698
1848
  }
1699
1849
 
1700
- .hover\:text-decor_underline:is(:hover, [data-hover]) {
1701
- text-decoration: underline;
1702
- }
1703
-
1704
1850
  .hover\:bg_surface\.hover:is(:hover, [data-hover]) {
1705
1851
  background: var(--colors-surface-hover);
1706
1852
  }
1707
1853
 
1854
+ .hover\:bg_surface\.default:is(:hover, [data-hover]) {
1855
+ background: var(--colors-surface-default);
1856
+ }
1857
+
1858
+ .hover\:text-decor_underline:is(:hover, [data-hover]) {
1859
+ text-decoration: underline;
1860
+ }
1861
+
1708
1862
  .hover\:text_text\.default:is(:hover, [data-hover]) {
1709
1863
  color: var(--colors-text-default);
1710
1864
  }
@@ -1725,6 +1879,10 @@
1725
1879
  outline-color: var(--colors-stroke-hover);
1726
1880
  }
1727
1881
 
1882
+ .hover\:bg_surface\.actionSubtle\.hover:is(:hover, [data-hover]) {
1883
+ background-color: var(--colors-surface-action-subtle-hover);
1884
+ }
1885
+
1728
1886
  .active\:text_text\.onAction:is(:active, [data-active]) {
1729
1887
  color: var(--colors-text-on-action);
1730
1888
  }
@@ -1773,6 +1931,10 @@
1773
1931
  color: var(--colors-icon-strong);
1774
1932
  }
1775
1933
 
1934
+ .disabled\:\[\&_svg\]\:text_text\.onAction:is(:disabled, [disabled], [data-disabled]) svg {
1935
+ color: var(--colors-text-on-action);
1936
+ }
1937
+
1776
1938
  .disabled\:hover\:text_text\.onAction:is(:disabled, [disabled], [data-disabled]):is(:hover, [data-hover]) {
1777
1939
  color: var(--colors-text-on-action);
1778
1940
  }
@@ -1833,6 +1995,14 @@
1833
1995
  color: var(--colors-stroke-disabled);
1834
1996
  }
1835
1997
 
1998
+ .checked\:highlighted\:bg_surface\.hover:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"])[data-highlighted] {
1999
+ background: var(--colors-surface-hover);
2000
+ }
2001
+
2002
+ .open\:\[\&_svg\]\:transform_rotate\(180deg\):is([open], [data-open], [data-state="open"]) svg {
2003
+ transform: rotate(180deg);
2004
+ }
2005
+
1836
2006
  .open\:\[\&_summary\]\:mb_-xxsmall:is([open], [data-open], [data-state="open"]) summary {
1837
2007
  margin-block-end: calc(var(--spacing-xxsmall) * -1);
1838
2008
  }
@@ -1853,6 +2023,34 @@
1853
2023
  color: var(--colors-icon-default);
1854
2024
  }
1855
2025
 
2026
+ .selected\:hover\:bg_surface\.hover:is([aria-selected=true], [data-selected]):is(:hover, [data-hover]) {
2027
+ background: var(--colors-surface-hover);
2028
+ }
2029
+
2030
+ .selected\:highlighted\:bg_surface\.hover:is([aria-selected=true], [data-selected])[data-highlighted] {
2031
+ background: var(--colors-surface-hover);
2032
+ }
2033
+
2034
+ .highlighted\:hover\:bg_surface\.hover[data-highlighted]:is(:hover, [data-hover]) {
2035
+ background: var(--colors-surface-hover);
2036
+ }
2037
+
2038
+ .disabled\:highlighted\:text_text\.disabled:is(:disabled, [disabled], [data-disabled])[data-highlighted] {
2039
+ color: var(--colors-text-disabled);
2040
+ }
2041
+
2042
+ .disabled\:highlighted\:bg_surface\.disabled:is(:disabled, [disabled], [data-disabled])[data-highlighted] {
2043
+ background: var(--colors-surface-disabled);
2044
+ }
2045
+
2046
+ .disabled\:selected\:text_text\.disabled:is(:disabled, [disabled], [data-disabled]):is([aria-selected=true], [data-selected]) {
2047
+ color: var(--colors-text-disabled);
2048
+ }
2049
+
2050
+ .disabled\:selected\:bg_surface\.disabled:is(:disabled, [disabled], [data-disabled]):is([aria-selected=true], [data-selected]) {
2051
+ background: var(--colors-surface-disabled);
2052
+ }
2053
+
1856
2054
  .checked\:hover\:transform_translateX\(100\%\):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:hover, [data-hover]) {
1857
2055
  transform: translateX(100%);
1858
2056
  }
@@ -1873,6 +2071,10 @@
1873
2071
  color: var(--colors-text-subtle);
1874
2072
  }
1875
2073
 
2074
+ .highlighted\:\[\&_svg\]\:text_stroke\.hover[data-highlighted] svg {
2075
+ color: var(--colors-stroke-hover);
2076
+ }
2077
+
1876
2078
  .\[\&_\>_li\]\:marker\:content_counters\(list-item\,_\'\.\'\)_\'\._\' > li::marker {
1877
2079
  content: counters(list-item, '.') '. ';
1878
2080
  }
@@ -1957,6 +2159,10 @@
1957
2159
  transform: translateX(0);
1958
2160
  }
1959
2161
 
2162
+ .hover\:\[\&_svg\]\:text_stroke\.hover:is(:hover, [data-hover]) svg {
2163
+ color: var(--colors-stroke-hover);
2164
+ }
2165
+
1960
2166
  .hover\:invalid\:bg_surface\.dangerSubtle:is(:hover, [data-hover]):is(:invalid, [data-invalid]) {
1961
2167
  background-color: var(--colors-surface-danger-subtle);
1962
2168
  }
@@ -2011,6 +2217,45 @@
2011
2217
  }
2012
2218
  .tablet\:rounded_sharp {
2013
2219
  border-radius: var(--radii-sharp);
2220
+ }
2221
+ .tablet\:w_50\% {
2222
+ width: 50%;
2223
+ }
2224
+ .tablet\:w_35\% {
2225
+ width: 35%;
2226
+ }
2227
+ .tablet\:w_25\% {
2228
+ width: 25%;
2229
+ }
2230
+ .tablet\:float_left {
2231
+ float: left;
2232
+ }
2233
+ .tablet\:clear_left {
2234
+ clear: left;
2235
+ }
2236
+ .tablet\:pe_medium {
2237
+ padding-inline-end: var(--spacing-medium);
2238
+ }
2239
+ .tablet\:float_right {
2240
+ float: right;
2241
+ }
2242
+ .tablet\:clear_right {
2243
+ clear: right;
2244
+ }
2245
+ .tablet\:ps_medium {
2246
+ padding-inline-start: var(--spacing-medium);
2247
+ }
2248
+ }
2249
+
2250
+ @media screen and (min-width: 61.3125rem) {
2251
+ .desktop\:w_65\% {
2252
+ width: 65%;
2253
+ }
2254
+ .desktop\:w_50\% {
2255
+ width: 50%;
2256
+ }
2257
+ .desktop\:w_35\% {
2258
+ width: 35%;
2014
2259
  }
2015
2260
  }
2016
2261
 
package/es/Button.js CHANGED
@@ -32,6 +32,10 @@ export const buttonBaseRecipe = cva({
32
32
  cursor: "not-allowed",
33
33
  color: "text.onAction",
34
34
  background: "surface.disabled",
35
+ boxShadowColor: "surface.disabled",
36
+ "& svg": {
37
+ color: "text.onAction"
38
+ },
35
39
  _hover: {
36
40
  color: "text.onAction",
37
41
  background: "surface.disabled"