@ndla/primitives 0.0.8 → 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.
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
  }
@@ -736,24 +768,32 @@
736
768
  table-layout: fixed;
737
769
  }
738
770
 
739
- .p_xsmall {
740
- padding: var(--spacing-xsmall);
741
- }
742
-
743
771
  .overflow_auto {
744
772
  overflow: auto;
745
773
  }
746
774
 
747
- .ring_4px_solid {
748
- outline: 4px solid;
775
+ .white-space_nowrap {
776
+ white-space: nowrap;
749
777
  }
750
778
 
751
- .ring-offset_-4px {
752
- outline-offset: -4px;
779
+ .w_full {
780
+ width: full;
753
781
  }
754
782
 
755
- .white-space_nowrap {
756
- white-space: nowrap;
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;
757
797
  }
758
798
 
759
799
  .shadow_medium {
@@ -928,6 +968,15 @@
928
968
  transition-property: border-color, background, box-shadow, color;
929
969
  }
930
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
+
931
980
  .left_0 {
932
981
  left: 0;
933
982
  }
@@ -936,8 +985,13 @@
936
985
  top: 0;
937
986
  }
938
987
 
939
- .overflow-y_auto {
940
- 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;
941
995
  }
942
996
 
943
997
  .bg_surface\.default {
@@ -1049,21 +1103,34 @@
1049
1103
  overflow-x: auto;
1050
1104
  }
1051
1105
 
1106
+ .transition-prop_color\,_background\,_border-color {
1107
+ --transition-prop: color, background, border-color;
1108
+ transition-property: color, background, border-color;
1109
+ }
1110
+
1111
+ .border_transparent {
1112
+ border-color: transparent;
1113
+ }
1114
+
1052
1115
  .border-w_1px {
1053
1116
  border-width: 1px;
1054
1117
  }
1055
1118
 
1056
- .ring-color_stroke\.default {
1057
- outline-color: var(--colors-stroke-default);
1119
+ .ring-color_transparent {
1120
+ outline-color: transparent;
1058
1121
  }
1059
1122
 
1060
- .transition-prop_color\,_background\,_border-color {
1061
- --transition-prop: color, background, border-color;
1062
- transition-property: color, background, border-color;
1123
+ .bg_surface\.actionSubtle\.selected {
1124
+ background-color: var(--colors-surface-action-subtle-selected);
1063
1125
  }
1064
1126
 
1065
- .border_transparent {
1066
- border-color: transparent;
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);
1067
1134
  }
1068
1135
 
1069
1136
  .duration_slow {
@@ -1137,6 +1204,10 @@
1137
1204
  background: var(--colors-surface-disabled);
1138
1205
  }
1139
1206
 
1207
+ .disabled\:shadow-color_surface\.disabled:is(:disabled, [disabled], [data-disabled]) {
1208
+ --shadow-color: var(--colors-surface-disabled);
1209
+ }
1210
+
1140
1211
  .\[\&_svg\]\:mx_0 svg {
1141
1212
  margin-inline: 0;
1142
1213
  }
@@ -1181,6 +1252,38 @@
1181
1252
  color: var(--colors-stroke-disabled);
1182
1253
  }
1183
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
+
1184
1287
  .open\:animation_backdrop-in:is([open], [data-open], [data-state="open"]) {
1185
1288
  animation: var(--animations-backdrop-in);
1186
1289
  }
@@ -1245,14 +1348,6 @@
1245
1348
  color: var(--colors-text-subtle);
1246
1349
  }
1247
1350
 
1248
- .highlighted\:text-decor_underline[data-highlighted] {
1249
- text-decoration: underline;
1250
- }
1251
-
1252
- .highlighted\:bg_surface\.hover[data-highlighted] {
1253
- background: var(--colors-surface-hover);
1254
- }
1255
-
1256
1351
  .\[\&_svg\]\:text_icon\.error svg {
1257
1352
  color: icon.error;
1258
1353
  }
@@ -1265,14 +1360,6 @@
1265
1360
  background: var(--colors-surface-error-subtle-hover);
1266
1361
  }
1267
1362
 
1268
- .open\:animation_fade-shift-in_0\.25s_ease-out:is([open], [data-open], [data-state="open"]) {
1269
- animation: fade-shift-in 0.25s ease-out;
1270
- }
1271
-
1272
- .closed\:animation_fade-shift-out_0\.25s_ease-out:is([closed], [data-closed], [data-state="closed"]) {
1273
- animation: fade-shift-out 0.25s ease-out;
1274
- }
1275
-
1276
1363
  .open\:animation_fade-shift-in_0\.2s_ease-out:is([open], [data-open], [data-state="open"]) {
1277
1364
  animation: fade-shift-in 0.2s ease-out;
1278
1365
  }
@@ -1285,6 +1372,14 @@
1285
1372
  background: var(--colors-stroke-default);
1286
1373
  }
1287
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
+
1288
1383
  .\[\&\:\:before\,_\&\:\:after\,_\*\]\:vis_hidden::before,.\[\&\:\:before\,_\&\:\:after\,_\*\]\:vis_hidden::after,.\[\&\:\:before\,_\&\:\:after\,_\*\]\:vis_hidden * {
1289
1384
  visibility: hidden;
1290
1385
  }
@@ -1381,14 +1476,6 @@
1381
1476
  padding-block: var(--spacing-3xsmall);
1382
1477
  }
1383
1478
 
1384
- .horizontal\:pt_xsmall[data-orientation=horizontal] {
1385
- padding-block-start: var(--spacing-xsmall);
1386
- }
1387
-
1388
- .vertical\:ps_xsmall[data-orientation=vertical] {
1389
- padding-inline-start: var(--spacing-xsmall);
1390
- }
1391
-
1392
1479
  .horizontal\:mb_-1px[data-orientation=horizontal] {
1393
1480
  margin-block-end: -1px;
1394
1481
  }
@@ -1397,22 +1484,6 @@
1397
1484
  margin-inline-end: -1px;
1398
1485
  }
1399
1486
 
1400
- .horizontal\:h_2[data-orientation=horizontal] {
1401
- height: var(--sizes-2);
1402
- }
1403
-
1404
- .horizontal\:w_var\(--width\)[data-orientation=horizontal] {
1405
- width: var(--width);
1406
- }
1407
-
1408
- .vertical\:h_var\(--height\)[data-orientation=vertical] {
1409
- height: var(--height);
1410
- }
1411
-
1412
- .vertical\:w_2[data-orientation=vertical] {
1413
- width: var(--sizes-2);
1414
- }
1415
-
1416
1487
  .selected\:text_text\.strong:is([aria-selected=true], [data-selected]) {
1417
1488
  color: var(--colors-text-strong);
1418
1489
  }
@@ -1434,6 +1505,22 @@
1434
1505
  background: var(--colors-surface-default);
1435
1506
  }
1436
1507
 
1508
+ .horizontal\:pt_xsmall[data-orientation=horizontal] {
1509
+ padding-block-start: var(--spacing-xsmall);
1510
+ }
1511
+
1512
+ .vertical\:ps_xsmall[data-orientation=vertical] {
1513
+ padding-inline-start: var(--spacing-xsmall);
1514
+ }
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
+
1437
1524
  .closed\:transition-prop_background\,_border-color\,_border\,_border-radius:is([closed], [data-closed], [data-state="closed"]) {
1438
1525
  --transition-prop: background, border-color, border, border-radius;
1439
1526
  transition-property: background, border-color, border, border-radius;
@@ -1475,6 +1562,29 @@
1475
1562
  border-color: var(--colors-surface-action);
1476
1563
  }
1477
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
+
1478
1588
  .ariaInvalid\:ring-color_stroke\.error:has([aria-invalid='true']),.ariaInvalid\:ring-color_stroke\.error[aria-invalid='true'] {
1479
1589
  outline-color: var(--colors-stroke-error);
1480
1590
  }
@@ -1491,10 +1601,6 @@
1491
1601
  flex-direction: row;
1492
1602
  }
1493
1603
 
1494
- .checked\:border_stroke\.default:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1495
- border-color: var(--colors-stroke-default);
1496
- }
1497
-
1498
1604
  .\[\&_\>_caption\]\:fw_bold > caption,.\[\&_thead_tr_th\]\:fw_bold thead tr th {
1499
1605
  font-weight: var(--font-weights-bold);
1500
1606
  }
@@ -1527,14 +1633,6 @@
1527
1633
  flex-direction: row;
1528
1634
  }
1529
1635
 
1530
- .horizontal\:bottom_0[data-orientation=horizontal] {
1531
- bottom: 0;
1532
- }
1533
-
1534
- .vertical\:left_0[data-orientation=vertical] {
1535
- left: 0;
1536
- }
1537
-
1538
1636
  .disabled\:border_stroke\.default:is(:disabled, [disabled], [data-disabled]) {
1539
1637
  border-color: var(--colors-stroke-default);
1540
1638
  }
@@ -1555,6 +1653,18 @@
1555
1653
  border-color: var(--colors-stroke-subtle);
1556
1654
  }
1557
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
+
1558
1668
  .focusWithin\:ring-offset_-1px:focus-within {
1559
1669
  outline-offset: -1px;
1560
1670
  }
@@ -1629,6 +1739,10 @@
1629
1739
  border-radius: var(--radii-xsmall);
1630
1740
  }
1631
1741
 
1742
+ .focusVisible\:ring-offset_-1:is(:focus-visible, [data-focus-visible]) {
1743
+ outline-offset: calc(var(--spacing-1) * -1);
1744
+ }
1745
+
1632
1746
  .focusVisible\:border_2px_solid:is(:focus-visible, [data-focus-visible]) {
1633
1747
  border: 2px solid;
1634
1748
  }
@@ -1641,24 +1755,16 @@
1641
1755
  outline-offset: 0px;
1642
1756
  }
1643
1757
 
1644
- .focusVisible\:shadow_0_0_0_3px_var\(--shadow-color\):is(:focus-visible, [data-focus-visible]) {
1645
- box-shadow: 0 0 0 3px var(--shadow-color);
1758
+ .focusVisible\:rounded_unset:is(:focus-visible, [data-focus-visible]) {
1759
+ border-radius: unset;
1646
1760
  }
1647
1761
 
1648
1762
  .focusVisible\:ring-offset_-3px:is(:focus-visible, [data-focus-visible]) {
1649
1763
  outline-offset: -3px;
1650
1764
  }
1651
1765
 
1652
- .peer:is(:focus-visible, [data-focus-visible]) ~ .peerFocusVisible\:h_var\(--height\) {
1653
- height: var(--height);
1654
- }
1655
-
1656
- .peer:is(:focus-visible, [data-focus-visible]) ~ .peerFocusVisible\:w_var\(--width\) {
1657
- width: var(--width);
1658
- }
1659
-
1660
- .focusVisible\:rounded_unset:is(:focus-visible, [data-focus-visible]) {
1661
- border-radius: unset;
1766
+ .focusVisible\:shadow_0_0_0_3px_var\(--shadow-color\):is(:focus-visible, [data-focus-visible]) {
1767
+ box-shadow: 0 0 0 3px var(--shadow-color);
1662
1768
  }
1663
1769
 
1664
1770
  .focus\:ring-color_stroke\.default:is(:focus, [data-focus]) {
@@ -1741,14 +1847,18 @@
1741
1847
  --shadow-color: var(--colors-surface-action-subtle-hover-strong);
1742
1848
  }
1743
1849
 
1744
- .hover\:text-decor_underline:is(:hover, [data-hover]) {
1745
- text-decoration: underline;
1746
- }
1747
-
1748
1850
  .hover\:bg_surface\.hover:is(:hover, [data-hover]) {
1749
1851
  background: var(--colors-surface-hover);
1750
1852
  }
1751
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
+
1752
1862
  .hover\:text_text\.default:is(:hover, [data-hover]) {
1753
1863
  color: var(--colors-text-default);
1754
1864
  }
@@ -1769,6 +1879,10 @@
1769
1879
  outline-color: var(--colors-stroke-hover);
1770
1880
  }
1771
1881
 
1882
+ .hover\:bg_surface\.actionSubtle\.hover:is(:hover, [data-hover]) {
1883
+ background-color: var(--colors-surface-action-subtle-hover);
1884
+ }
1885
+
1772
1886
  .active\:text_text\.onAction:is(:active, [data-active]) {
1773
1887
  color: var(--colors-text-on-action);
1774
1888
  }
@@ -1817,6 +1931,10 @@
1817
1931
  color: var(--colors-icon-strong);
1818
1932
  }
1819
1933
 
1934
+ .disabled\:\[\&_svg\]\:text_text\.onAction:is(:disabled, [disabled], [data-disabled]) svg {
1935
+ color: var(--colors-text-on-action);
1936
+ }
1937
+
1820
1938
  .disabled\:hover\:text_text\.onAction:is(:disabled, [disabled], [data-disabled]):is(:hover, [data-hover]) {
1821
1939
  color: var(--colors-text-on-action);
1822
1940
  }
@@ -1877,6 +1995,14 @@
1877
1995
  color: var(--colors-stroke-disabled);
1878
1996
  }
1879
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
+
1880
2006
  .open\:\[\&_summary\]\:mb_-xxsmall:is([open], [data-open], [data-state="open"]) summary {
1881
2007
  margin-block-end: calc(var(--spacing-xxsmall) * -1);
1882
2008
  }
@@ -1897,6 +2023,34 @@
1897
2023
  color: var(--colors-icon-default);
1898
2024
  }
1899
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
+
1900
2054
  .checked\:hover\:transform_translateX\(100\%\):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:hover, [data-hover]) {
1901
2055
  transform: translateX(100%);
1902
2056
  }
@@ -1913,20 +2067,14 @@
1913
2067
  text-align: right;
1914
2068
  }
1915
2069
 
1916
- .peer:is(:focus-visible, [data-focus-visible]) ~ .peerFocusVisible\:horizontal\:rounded-t_xsmall[data-orientation=horizontal] {
1917
- border-top-left-radius: var(--radii-xsmall);
1918
- border-top-right-radius: var(--radii-xsmall);
1919
- }
1920
-
1921
- .peer:is(:focus-visible, [data-focus-visible]) ~ .peerFocusVisible\:vertical\:rounded-r_xsmall[data-orientation=vertical] {
1922
- border-top-right-radius: var(--radii-xsmall);
1923
- border-bottom-right-radius: var(--radii-xsmall);
1924
- }
1925
-
1926
2070
  .disabled\:hover\:text_text\.subtle:is(:disabled, [disabled], [data-disabled]):is(:hover, [data-hover]) {
1927
2071
  color: var(--colors-text-subtle);
1928
2072
  }
1929
2073
 
2074
+ .highlighted\:\[\&_svg\]\:text_stroke\.hover[data-highlighted] svg {
2075
+ color: var(--colors-stroke-hover);
2076
+ }
2077
+
1930
2078
  .\[\&_\>_li\]\:marker\:content_counters\(list-item\,_\'\.\'\)_\'\._\' > li::marker {
1931
2079
  content: counters(list-item, '.') '. ';
1932
2080
  }
@@ -2011,6 +2159,10 @@
2011
2159
  transform: translateX(0);
2012
2160
  }
2013
2161
 
2162
+ .hover\:\[\&_svg\]\:text_stroke\.hover:is(:hover, [data-hover]) svg {
2163
+ color: var(--colors-stroke-hover);
2164
+ }
2165
+
2014
2166
  .hover\:invalid\:bg_surface\.dangerSubtle:is(:hover, [data-hover]):is(:invalid, [data-invalid]) {
2015
2167
  background-color: var(--colors-surface-danger-subtle);
2016
2168
  }
@@ -2065,6 +2217,45 @@
2065
2217
  }
2066
2218
  .tablet\:rounded_sharp {
2067
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%;
2068
2259
  }
2069
2260
  }
2070
2261
 
package/es/Accordion.js CHANGED
@@ -6,8 +6,7 @@
6
6
  *
7
7
  */
8
8
 
9
- import { accordionAnatomy } from "@ark-ui/anatomy";
10
- import { Accordion } from "@ark-ui/react";
9
+ import { Accordion, accordionAnatomy } from "@ark-ui/react";
11
10
  import { sva } from "@ndla/styled-system/css";
12
11
  import { createStyleContext } from "./createStyleContext";
13
12
  const accordionRecipe = sva({
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"
package/es/Checkbox.js CHANGED
@@ -6,8 +6,7 @@
6
6
  *
7
7
  */
8
8
 
9
- import { checkboxAnatomy } from "@ark-ui/anatomy";
10
- import { Checkbox } from "@ark-ui/react";
9
+ import { Checkbox, checkboxAnatomy } from "@ark-ui/react";
11
10
  import { sva } from "@ndla/styled-system/css";
12
11
  import { createStyleContext } from "./createStyleContext";
13
12
  import { Text } from "./Text";