@ndla/primitives 0.0.3 → 0.0.5

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.
@@ -124,7 +124,8 @@
124
124
  "paddingBlock]___[value:3xsmall",
125
125
  "lineHeight]___[value:1",
126
126
  "minHeight]___[value:unset",
127
- "height]___[value:fit-content",
127
+ "height]___[value:xxlarge",
128
+ "width]___[value:xxlarge",
128
129
  "marginInline]___[value:0]___[cond:& svg",
129
130
  "marginBlock]___[value:0]___[cond:& svg",
130
131
  "width]___[value:medium]___[cond:& svg",
@@ -136,23 +137,65 @@
136
137
  "outlineOffset]___[value:4xsmall]___[cond:_focus",
137
138
  "outlineColor]___[value:stroke.default]___[cond:_focus",
138
139
  "borderRadius]___[value:xsmall]___[cond:_focus",
140
+ "color]___[value:text.default",
141
+ "gap]___[value:4xsmall",
142
+ "background]___[value:surface.actionSubtle",
143
+ "outlineColor]___[value:stroke.subtle",
144
+ "paddingBlock]___[value:4xsmall",
145
+ "borderRadius]___[value:large",
146
+ "minHeight]___[value:large",
147
+ "transitionProperty]___[value:border-color, background, box-shadow, color",
148
+ "borderColor]___[value:stroke.disabled]___[cond:_disabled",
149
+ "borderColor]___[value:stroke.disabled]___[cond:_disabled<___>_hover",
150
+ "color]___[value:text.disabled]___[cond:_disabled<___>_checked",
151
+ "borderColor]___[value:stroke.disabled]___[cond:_disabled<___>_checked",
152
+ "background]___[value:surface.disabled]___[cond:_disabled<___>_checked",
153
+ "color]___[value:text.disabled]___[cond:_disabled<___>_checked<___>_hover",
154
+ "borderColor]___[value:stroke.disabled]___[cond:_disabled<___>_checked<___>_hover",
155
+ "background]___[value:surface.disabled]___[cond:_disabled<___>_checked<___>_hover",
156
+ "borderColor]___[value:stroke.hover]___[cond:_hover",
157
+ "outlineColor]___[value:stroke.hover]___[cond:_hover",
158
+ "backgroundColor]___[value:surface.dangerSubtle]___[cond:_hover<___>_invalid",
159
+ "color]___[value:text.onAction]___[cond:_checked",
160
+ "background]___[value:surface.actionSubtle.selected]___[cond:_checked",
161
+ "borderColor]___[value:surface.actionSubtle.selected]___[cond:_checked",
162
+ "outlineColor]___[value:icon.onAction]___[cond:_checked",
163
+ "outlineOffset]___[value:-4px]___[cond:_checked<___>_focus",
164
+ "outlineOffset]___[value:-2px]___[cond:_checked<___>_hover",
165
+ "background]___[value:surface.actionSubtle.hover]___[cond:_checked<___>_hover",
166
+ "color]___[value:text.default]___[cond:_checked<___>_hover",
167
+ "borderColor]___[value:stroke.hover]___[cond:_checked<___>_hover",
168
+ "outlineColor]___[value:stroke.hover]___[cond:_checked<___>_hover",
169
+ "borderColor]___[value:stroke.error]___[cond:_invalid",
170
+ "outlineColor]___[value:stroke.error]___[cond:_invalid",
171
+ "background]___[value:surface.dangerSubtle]___[cond:_invalid",
172
+ "outlineOffset]___[value:-2px]___[cond:_invalid",
173
+ "color]___[value:text.default]___[cond:_invalid<___>_checked",
174
+ "borderColor]___[value:stroke.error]___[cond:_invalid<___>_checked",
175
+ "outlineColor]___[value:stroke.error]___[cond:_invalid<___>_checked",
176
+ "background]___[value:surface.dangerSubtle]___[cond:_invalid<___>_checked",
177
+ "outlineOffset]___[value:-2px]___[cond:_invalid<___>_checked",
178
+ "borderColor]___[value:stroke.hover]___[cond:_invalid<___>_checked<___>_hover",
179
+ "outlineColor]___[value:stroke.hover]___[cond:_invalid<___>_checked<___>_hover",
180
+ "outlineStyle]___[value:solid]___[cond:_focus",
181
+ "outlineWidth]___[value:2px]___[cond:_focus",
182
+ "outlineOffset]___[value:-2px]___[cond:_focus",
139
183
  "width]___[value:medium",
140
184
  "height]___[value:medium",
141
185
  "border]___[value:2px solid",
142
- "transitionProperty]___[value:border-color, background, box-shadow, color",
143
186
  "boxShadow]___[value:0 0 0 4px var(--shadow-color)]___[cond:_hover",
144
187
  "boxShadowColor]___[value:surface.actionSubtle.hover.strong]___[cond:_hover",
145
- "color]___[value:icon.onAction]___[cond:_checked",
146
188
  "backgroundColor]___[value:surface.action]___[cond:_checked",
147
189
  "borderColor]___[value:surface.action]___[cond:_checked",
148
- "borderColor]___[value:stroke.disabled]___[cond:_disabled",
149
- "borderColor]___[value:stroke.disabled]___[cond:_disabled<___>_hover",
190
+ "color]___[value:icon.onAction]___[cond:_checked",
150
191
  "boxShadow]___[value:none]___[cond:_disabled<___>_hover",
151
- "background]___[value:surface.disabled]___[cond:_disabled<___>_checked",
152
- "borderColor]___[value:stroke.error]___[cond:_invalid",
153
192
  "color]___[value:stroke.error]___[cond:_invalid<___>_checked",
154
- "borderColor]___[value:stroke.error]___[cond:_invalid<___>_checked",
155
193
  "backgroundColor]___[value:surface.default]___[cond:_invalid<___>_checked",
194
+ "display]___[value:none",
195
+ "display]___[value:flex]___[cond:_checked",
196
+ "color]___[value:stroke.hover]___[cond:_checked<___>_hover",
197
+ "color]___[value:stroke.disabled]___[cond:_disabled",
198
+ "color]___[value:stroke.disabled]___[cond:_disabled<___>_hover",
156
199
  "position]___[value:fixed",
157
200
  "height]___[value:100vh",
158
201
  "width]___[value:100vw",
@@ -238,7 +281,6 @@
238
281
  "width]___[value:large",
239
282
  "height]___[value:large",
240
283
  "outline]___[value:1px solid",
241
- "outlineColor]___[value:stroke.subtle",
242
284
  "background]___[value:background.default",
243
285
  "minHeight]___[value:xxlarge",
244
286
  "paddingBlock]___[value:0",
@@ -246,14 +288,12 @@
246
288
  "outlineColor]___[value:stroke.error]___[cond:_ariaInvalid<___>_hover",
247
289
  "outlineColor]___[value:stroke.error]___[cond:_ariaInvalid<___>_focusWithin",
248
290
  "outlineColor]___[value:stroke.error]___[cond:_ariaInvalid<___>_focusWithin<___>_hover",
249
- "outlineColor]___[value:stroke.hover]___[cond:_hover",
250
291
  "outlineWidth]___[value:2px]___[cond:_focusWithin",
251
292
  "outlineOffset]___[value:-1px]___[cond:_focusWithin",
252
293
  "outlineColor]___[value:stroke.default]___[cond:_focusWithin",
253
294
  "outlineColor]___[value:stroke.default]___[cond:_focusWithin<___>_hover",
254
295
  "outlineColor]___[value:stroke.subtle]___[cond:&:disabled, &:has(:disabled)",
255
296
  "outlineColor]___[value:stroke.subtle]___[cond:&:disabled, &:has(:disabled)<___>_hover",
256
- "color]___[value:text.default",
257
297
  "background]___[value:none",
258
298
  "border]___[value:0",
259
299
  "padding]___[value:xxsmall",
@@ -267,7 +307,6 @@
267
307
  "border]___[value:none",
268
308
  "padding]___[value:0",
269
309
  "margin]___[value:0",
270
- "paddingBlock]___[value:4xsmall",
271
310
  "transitionProperty]___[value:background, color",
272
311
  "textDecoration]___[value:underline]___[cond:_hover",
273
312
  "textDecoration]___[value:underline]___[cond:_highlighted",
@@ -332,7 +371,6 @@
332
371
  "cursor]___[value:default",
333
372
  "pointerEvents]___[value:none",
334
373
  "visibility]___[value:hidden]___[cond:&::before, &::after, *",
335
- "gap]___[value:4xsmall",
336
374
  "background]___[value:surface.disabled",
337
375
  "flex]___[value:1",
338
376
  "width]___[value:4xsmall]___[cond:_vertical",
@@ -353,8 +391,6 @@
353
391
  "marginInline]___[value:auto",
354
392
  "borderWidth]___[value:4px",
355
393
  "borderWidth]___[value:8px",
356
- "height]___[value:xxlarge",
357
- "width]___[value:xxlarge",
358
394
  "background]___[value:surface.disabled.strong",
359
395
  "padding]___[value:1",
360
396
  "borderRadius]___[value:medium",
@@ -412,7 +448,6 @@
412
448
  "whiteSpace]___[value:nowrap",
413
449
  "color]___[value:text.strong]___[cond:_selected",
414
450
  "color]___[value:text.subtle]___[cond:_disabled<___>_hover",
415
- "borderColor]___[value:stroke.hover]___[cond:_hover",
416
451
  "borderColor]___[value:stroke.default]___[cond:_hover<___>_focusVisible",
417
452
  "borderBottom]___[value:1px solid]___[cond:_horizontal",
418
453
  "borderColor]___[value:stroke.default]___[cond:_disabled",
@@ -435,19 +470,6 @@
435
470
  "paddingInlineStart]___[value:xsmall]___[cond:_vertical",
436
471
  "boxShadow]___[value:0 0 0 3px var(--shadow-color)]___[cond:_focusVisible",
437
472
  "padding]___[value:xsmall",
438
- "outline]___[value:4px solid",
439
- "outlineColor]___[value:stroke.default",
440
- "outlineOffset]___[value:-4px",
441
- "height]___[value:var(--height)]___[cond:_peerFocusVisible",
442
- "width]___[value:var(--width)]___[cond:_peerFocusVisible",
443
- "borderTopRadius]___[value:xsmall]___[cond:_peerFocusVisible<___>_horizontal",
444
- "borderRightRadius]___[value:xsmall]___[cond:_peerFocusVisible<___>_vertical",
445
- "bottom]___[value:0]___[cond:_horizontal",
446
- "height]___[value:2]___[cond:_horizontal",
447
- "width]___[value:var(--width)]___[cond:_horizontal",
448
- "height]___[value:var(--height)]___[cond:_vertical",
449
- "left]___[value:0]___[cond:_vertical",
450
- "width]___[value:2]___[cond:_vertical",
451
473
  "textStyle]___[value:body.medium",
452
474
  "textStyle]___[value:heading.medium",
453
475
  "boxShadow]___[value:medium",
package/dist/styles.css CHANGED
@@ -263,8 +263,12 @@
263
263
  min-height: unset;
264
264
  }
265
265
 
266
- .h_fit-content {
267
- height: fit-content;
266
+ .h_xxlarge {
267
+ height: var(--sizes-xxlarge);
268
+ }
269
+
270
+ .w_xxlarge {
271
+ width: var(--sizes-xxlarge);
268
272
  }
269
273
 
270
274
  .select_none {
@@ -276,6 +280,30 @@
276
280
  gap: var(--spacing-xxsmall);
277
281
  }
278
282
 
283
+ .text_text\.default {
284
+ color: var(--colors-text-default);
285
+ }
286
+
287
+ .gap_4xsmall {
288
+ gap: var(--spacing-4xsmall);
289
+ }
290
+
291
+ .bg_surface\.actionSubtle {
292
+ background: var(--colors-surface-action-subtle);
293
+ }
294
+
295
+ .py_4xsmall {
296
+ padding-block: var(--spacing-4xsmall);
297
+ }
298
+
299
+ .rounded_large {
300
+ border-radius: var(--radii-large);
301
+ }
302
+
303
+ .min-h_large {
304
+ min-height: var(--sizes-large);
305
+ }
306
+
279
307
  .w_medium {
280
308
  width: var(--sizes-medium);
281
309
  }
@@ -288,6 +316,10 @@
288
316
  border: 2px solid;
289
317
  }
290
318
 
319
+ .d_none {
320
+ display: none;
321
+ }
322
+
291
323
  .pos_fixed {
292
324
  position: fixed;
293
325
  }
@@ -524,10 +556,6 @@
524
556
  padding-block: 0;
525
557
  }
526
558
 
527
- .text_text\.default {
528
- color: var(--colors-text-default);
529
- }
530
-
531
559
  .bg_none {
532
560
  background: none;
533
561
  }
@@ -564,10 +592,6 @@
564
592
  margin: 0;
565
593
  }
566
594
 
567
- .py_4xsmall {
568
- padding-block: var(--spacing-4xsmall);
569
- }
570
-
571
595
  .min-w_surface\.xxsmall {
572
596
  min-width: var(--sizes-surface-xxsmall);
573
597
  }
@@ -648,10 +672,6 @@
648
672
  pointer-events: none;
649
673
  }
650
674
 
651
- .gap_4xsmall {
652
- gap: var(--spacing-4xsmall);
653
- }
654
-
655
675
  .bg_surface\.disabled {
656
676
  background: var(--colors-surface-disabled);
657
677
  }
@@ -684,14 +704,6 @@
684
704
  margin-inline: auto;
685
705
  }
686
706
 
687
- .h_xxlarge {
688
- height: var(--sizes-xxlarge);
689
- }
690
-
691
- .w_xxlarge {
692
- width: var(--sizes-xxlarge);
693
- }
694
-
695
707
  .bg_surface\.disabled\.strong {
696
708
  background: var(--colors-surface-disabled-strong);
697
709
  }
@@ -736,14 +748,6 @@
736
748
  padding: var(--spacing-xsmall);
737
749
  }
738
750
 
739
- .ring_4px_solid {
740
- outline: 4px solid;
741
- }
742
-
743
- .ring-offset_-4px {
744
- outline-offset: -4px;
745
- }
746
-
747
751
  .shadow_medium {
748
752
  box-shadow: var(--shadows-medium);
749
753
  }
@@ -907,6 +911,10 @@
907
911
  line-height: 1;
908
912
  }
909
913
 
914
+ .ring-color_stroke\.subtle {
915
+ outline-color: var(--colors-stroke-subtle);
916
+ }
917
+
910
918
  .transition-prop_border-color\,_background\,_box-shadow\,_color {
911
919
  --transition-prop: border-color, background, box-shadow, color;
912
920
  transition-property: border-color, background, box-shadow, color;
@@ -940,10 +948,6 @@
940
948
  flex-shrink: 0;
941
949
  }
942
950
 
943
- .ring-color_stroke\.subtle {
944
- outline-color: var(--colors-stroke-subtle);
945
- }
946
-
947
951
  .overflow-y_hidden {
948
952
  overflow-y: hidden;
949
953
  }
@@ -1050,10 +1054,6 @@
1050
1054
  border-width: 1px;
1051
1055
  }
1052
1056
 
1053
- .ring-color_stroke\.default {
1054
- outline-color: var(--colors-stroke-default);
1055
- }
1056
-
1057
1057
  .duration_slow {
1058
1058
  --transition-duration: var(--durations-slow);
1059
1059
  transition-duration: var(--durations-slow);
@@ -1141,10 +1141,34 @@
1141
1141
  height: var(--sizes-medium);
1142
1142
  }
1143
1143
 
1144
+ .checked\:text_text\.onAction:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1145
+ color: var(--colors-text-on-action);
1146
+ }
1147
+
1148
+ .checked\:bg_surface\.actionSubtle\.selected:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1149
+ background: var(--colors-surface-action-subtle-selected);
1150
+ }
1151
+
1152
+ .invalid\:bg_surface\.dangerSubtle:is(:invalid, [data-invalid]) {
1153
+ background: var(--colors-surface-danger-subtle);
1154
+ }
1155
+
1156
+ .invalid\:ring-offset_-2px:is(:invalid, [data-invalid]) {
1157
+ outline-offset: -2px;
1158
+ }
1159
+
1144
1160
  .checked\:text_icon\.onAction:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1145
1161
  color: var(--colors-icon-on-action);
1146
1162
  }
1147
1163
 
1164
+ .checked\:d_flex:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1165
+ display: flex;
1166
+ }
1167
+
1168
+ .disabled\:text_stroke\.disabled:is(:disabled, [disabled], [data-disabled]) {
1169
+ color: var(--colors-stroke-disabled);
1170
+ }
1171
+
1148
1172
  .open\:animation_backdrop-in:is([open], [data-open], [data-state="open"]) {
1149
1173
  animation: var(--animations-backdrop-in);
1150
1174
  }
@@ -1382,22 +1406,6 @@
1382
1406
  padding-inline-start: var(--spacing-xsmall);
1383
1407
  }
1384
1408
 
1385
- .horizontal\:h_2[data-orientation=horizontal] {
1386
- height: var(--sizes-2);
1387
- }
1388
-
1389
- .horizontal\:w_var\(--width\)[data-orientation=horizontal] {
1390
- width: var(--width);
1391
- }
1392
-
1393
- .vertical\:h_var\(--height\)[data-orientation=vertical] {
1394
- height: var(--height);
1395
- }
1396
-
1397
- .vertical\:w_2[data-orientation=vertical] {
1398
- width: var(--sizes-2);
1399
- }
1400
-
1401
1409
  .closed\:transition-prop_background\,_border-color\,_border\,_border-radius:is([closed], [data-closed], [data-state="closed"]) {
1402
1410
  --transition-prop: background, border-color, border, border-radius;
1403
1411
  transition-property: background, border-color, border, border-radius;
@@ -1411,22 +1419,34 @@
1411
1419
  font-weight: var(--font-weights-bold);
1412
1420
  }
1413
1421
 
1414
- .checked\:bg_surface\.action:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1415
- background-color: var(--colors-surface-action);
1422
+ .disabled\:border_stroke\.disabled:is(:disabled, [disabled], [data-disabled]) {
1423
+ border-color: var(--colors-stroke-disabled);
1416
1424
  }
1417
1425
 
1418
- .checked\:border_surface\.action:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1419
- border-color: var(--colors-surface-action);
1426
+ .checked\:border_surface\.actionSubtle\.selected:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1427
+ border-color: var(--colors-surface-action-subtle-selected);
1420
1428
  }
1421
1429
 
1422
- .disabled\:border_stroke\.disabled:is(:disabled, [disabled], [data-disabled]) {
1423
- border-color: var(--colors-stroke-disabled);
1430
+ .checked\:ring-color_icon\.onAction:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1431
+ outline-color: var(--colors-icon-on-action);
1424
1432
  }
1425
1433
 
1426
1434
  .invalid\:border_stroke\.error:is(:invalid, [data-invalid]) {
1427
1435
  border-color: var(--colors-stroke-error);
1428
1436
  }
1429
1437
 
1438
+ .invalid\:ring-color_stroke\.error:is(:invalid, [data-invalid]) {
1439
+ outline-color: var(--colors-stroke-error);
1440
+ }
1441
+
1442
+ .checked\:bg_surface\.action:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1443
+ background-color: var(--colors-surface-action);
1444
+ }
1445
+
1446
+ .checked\:border_surface\.action:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1447
+ border-color: var(--colors-surface-action);
1448
+ }
1449
+
1430
1450
  .ariaInvalid\:ring-color_stroke\.error:has([aria-invalid='true']),.ariaInvalid\:ring-color_stroke\.error[aria-invalid='true'] {
1431
1451
  outline-color: var(--colors-stroke-error);
1432
1452
  }
@@ -1499,14 +1519,6 @@
1499
1519
  border-color: var(--colors-stroke-subtle);
1500
1520
  }
1501
1521
 
1502
- .horizontal\:bottom_0[data-orientation=horizontal] {
1503
- bottom: 0;
1504
- }
1505
-
1506
- .vertical\:left_0[data-orientation=vertical] {
1507
- left: 0;
1508
- }
1509
-
1510
1522
  .focusWithin\:ring-offset_-1px:focus-within {
1511
1523
  outline-offset: -1px;
1512
1524
  }
@@ -1560,6 +1572,10 @@
1560
1572
  border-radius: var(--radii-xsmall);
1561
1573
  }
1562
1574
 
1575
+ .focus\:ring-offset_-2px:is(:focus, [data-focus]) {
1576
+ outline-offset: -2px;
1577
+ }
1578
+
1563
1579
  .focus\:appearance_none:is(:focus, [data-focus]) {
1564
1580
  appearance: none;
1565
1581
  -webkit-appearance: none;
@@ -1601,16 +1617,16 @@
1601
1617
  box-shadow: 0 0 0 3px var(--shadow-color);
1602
1618
  }
1603
1619
 
1604
- .peer:is(:focus-visible, [data-focus-visible]) ~ .peerFocusVisible\:h_var\(--height\) {
1605
- height: var(--height);
1620
+ .focus\:ring-color_stroke\.default:is(:focus, [data-focus]) {
1621
+ outline-color: var(--colors-stroke-default);
1606
1622
  }
1607
1623
 
1608
- .peer:is(:focus-visible, [data-focus-visible]) ~ .peerFocusVisible\:w_var\(--width\) {
1609
- width: var(--width);
1624
+ .focus\:outline-style_solid:is(:focus, [data-focus]) {
1625
+ outline-style: solid;
1610
1626
  }
1611
1627
 
1612
- .focus\:ring-color_stroke\.default:is(:focus, [data-focus]) {
1613
- outline-color: var(--colors-stroke-default);
1628
+ .focus\:ring-width_2px:is(:focus, [data-focus]) {
1629
+ outline-width: 2px;
1614
1630
  }
1615
1631
 
1616
1632
  .\[\&\:has\(input\:focus-visible\)\]\:ring-color_stroke\.default:has(input:focus-visible) {
@@ -1701,14 +1717,14 @@
1701
1717
  transform: translateX(20%);
1702
1718
  }
1703
1719
 
1704
- .hover\:ring-color_stroke\.hover:is(:hover, [data-hover]) {
1705
- outline-color: var(--colors-stroke-hover);
1706
- }
1707
-
1708
1720
  .hover\:border_stroke\.hover:is(:hover, [data-hover]) {
1709
1721
  border-color: var(--colors-stroke-hover);
1710
1722
  }
1711
1723
 
1724
+ .hover\:ring-color_stroke\.hover:is(:hover, [data-hover]) {
1725
+ outline-color: var(--colors-stroke-hover);
1726
+ }
1727
+
1712
1728
  .active\:text_text\.onAction:is(:active, [data-active]) {
1713
1729
  color: var(--colors-text-on-action);
1714
1730
  }
@@ -1765,18 +1781,58 @@
1765
1781
  background: var(--colors-surface-disabled);
1766
1782
  }
1767
1783
 
1768
- .disabled\:hover\:shadow_none:is(:disabled, [disabled], [data-disabled]):is(:hover, [data-hover]) {
1769
- box-shadow: none;
1784
+ .disabled\:checked\:text_text\.disabled:is(:disabled, [disabled], [data-disabled]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1785
+ color: var(--colors-text-disabled);
1770
1786
  }
1771
1787
 
1772
1788
  .disabled\:checked\:bg_surface\.disabled:is(:disabled, [disabled], [data-disabled]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1773
1789
  background: var(--colors-surface-disabled);
1774
1790
  }
1775
1791
 
1792
+ .checked\:focus\:ring-offset_-4px:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:focus, [data-focus]) {
1793
+ outline-offset: -4px;
1794
+ }
1795
+
1796
+ .checked\:hover\:ring-offset_-2px:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:hover, [data-hover]) {
1797
+ outline-offset: -2px;
1798
+ }
1799
+
1800
+ .checked\:hover\:bg_surface\.actionSubtle\.hover:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:hover, [data-hover]) {
1801
+ background: var(--colors-surface-action-subtle-hover);
1802
+ }
1803
+
1804
+ .checked\:hover\:text_text\.default:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:hover, [data-hover]) {
1805
+ color: var(--colors-text-default);
1806
+ }
1807
+
1808
+ .invalid\:checked\:text_text\.default:is(:invalid, [data-invalid]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1809
+ color: var(--colors-text-default);
1810
+ }
1811
+
1812
+ .invalid\:checked\:bg_surface\.dangerSubtle:is(:invalid, [data-invalid]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1813
+ background: var(--colors-surface-danger-subtle);
1814
+ }
1815
+
1816
+ .invalid\:checked\:ring-offset_-2px:is(:invalid, [data-invalid]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1817
+ outline-offset: -2px;
1818
+ }
1819
+
1820
+ .disabled\:hover\:shadow_none:is(:disabled, [disabled], [data-disabled]):is(:hover, [data-hover]) {
1821
+ box-shadow: none;
1822
+ }
1823
+
1776
1824
  .invalid\:checked\:text_stroke\.error:is(:invalid, [data-invalid]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1777
1825
  color: var(--colors-stroke-error);
1778
1826
  }
1779
1827
 
1828
+ .checked\:hover\:text_stroke\.hover:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:hover, [data-hover]) {
1829
+ color: var(--colors-stroke-hover);
1830
+ }
1831
+
1832
+ .disabled\:hover\:text_stroke\.disabled:is(:disabled, [disabled], [data-disabled]):is(:hover, [data-hover]) {
1833
+ color: var(--colors-stroke-disabled);
1834
+ }
1835
+
1780
1836
  .open\:\[\&_summary\]\:mb_-xxsmall:is([open], [data-open], [data-state="open"]) summary {
1781
1837
  margin-block-end: calc(var(--spacing-xxsmall) * -1);
1782
1838
  }
@@ -1817,16 +1873,6 @@
1817
1873
  color: var(--colors-text-subtle);
1818
1874
  }
1819
1875
 
1820
- .peer:is(:focus-visible, [data-focus-visible]) ~ .peerFocusVisible\:horizontal\:rounded-t_xsmall[data-orientation=horizontal] {
1821
- border-top-left-radius: var(--radii-xsmall);
1822
- border-top-right-radius: var(--radii-xsmall);
1823
- }
1824
-
1825
- .peer:is(:focus-visible, [data-focus-visible]) ~ .peerFocusVisible\:vertical\:rounded-r_xsmall[data-orientation=vertical] {
1826
- border-top-right-radius: var(--radii-xsmall);
1827
- border-bottom-right-radius: var(--radii-xsmall);
1828
- }
1829
-
1830
1876
  .\[\&_\>_li\]\:marker\:content_counters\(list-item\,_\'\.\'\)_\'\._\' > li::marker {
1831
1877
  content: counters(list-item, '.') '. ';
1832
1878
  }
@@ -1843,10 +1889,26 @@
1843
1889
  border-color: var(--colors-stroke-disabled);
1844
1890
  }
1845
1891
 
1892
+ .disabled\:checked\:border_stroke\.disabled:is(:disabled, [disabled], [data-disabled]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1893
+ border-color: var(--colors-stroke-disabled);
1894
+ }
1895
+
1896
+ .checked\:hover\:border_stroke\.hover:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:hover, [data-hover]) {
1897
+ border-color: var(--colors-stroke-hover);
1898
+ }
1899
+
1900
+ .checked\:hover\:ring-color_stroke\.hover:is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:hover, [data-hover]) {
1901
+ outline-color: var(--colors-stroke-hover);
1902
+ }
1903
+
1846
1904
  .invalid\:checked\:border_stroke\.error:is(:invalid, [data-invalid]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1847
1905
  border-color: var(--colors-stroke-error);
1848
1906
  }
1849
1907
 
1908
+ .invalid\:checked\:ring-color_stroke\.error:is(:invalid, [data-invalid]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1909
+ outline-color: var(--colors-stroke-error);
1910
+ }
1911
+
1850
1912
  .invalid\:checked\:bg_surface\.default:is(:invalid, [data-invalid]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]) {
1851
1913
  background-color: var(--colors-surface-default);
1852
1914
  }
@@ -1895,10 +1957,22 @@
1895
1957
  transform: translateX(0);
1896
1958
  }
1897
1959
 
1960
+ .hover\:invalid\:bg_surface\.dangerSubtle:is(:hover, [data-hover]):is(:invalid, [data-invalid]) {
1961
+ background-color: var(--colors-surface-danger-subtle);
1962
+ }
1963
+
1898
1964
  .hover\:focusVisible\:border_stroke\.default:is(:hover, [data-hover]):is(:focus-visible, [data-focus-visible]) {
1899
1965
  border-color: var(--colors-stroke-default);
1900
1966
  }
1901
1967
 
1968
+ .disabled\:checked\:hover\:text_text\.disabled:is(:disabled, [disabled], [data-disabled]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:hover, [data-hover]) {
1969
+ color: var(--colors-text-disabled);
1970
+ }
1971
+
1972
+ .disabled\:checked\:hover\:bg_surface\.disabled:is(:disabled, [disabled], [data-disabled]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:hover, [data-hover]) {
1973
+ background: var(--colors-surface-disabled);
1974
+ }
1975
+
1902
1976
  .disabled\:hover\:\[\&_svg\]\:text_stroke\.disabled:is(:disabled, [disabled], [data-disabled]):is(:hover, [data-hover]) svg {
1903
1977
  color: var(--colors-stroke-disabled);
1904
1978
  }
@@ -1911,6 +1985,18 @@
1911
1985
  content: counter(list-item, lower-alpha) '. ';
1912
1986
  }
1913
1987
 
1988
+ .disabled\:checked\:hover\:border_stroke\.disabled:is(:disabled, [disabled], [data-disabled]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:hover, [data-hover]) {
1989
+ border-color: var(--colors-stroke-disabled);
1990
+ }
1991
+
1992
+ .invalid\:checked\:hover\:border_stroke\.hover:is(:invalid, [data-invalid]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:hover, [data-hover]) {
1993
+ border-color: var(--colors-stroke-hover);
1994
+ }
1995
+
1996
+ .invalid\:checked\:hover\:ring-color_stroke\.hover:is(:invalid, [data-invalid]):is(:checked, [data-checked], [aria-checked=true], [data-state="checked"]):is(:hover, [data-hover]) {
1997
+ outline-color: var(--colors-stroke-hover);
1998
+ }
1999
+
1914
2000
  .ariaInvalid\:focusWithin\:hover\:ring-color_stroke\.error:has([aria-invalid='true']):focus-within:is(:hover, [data-hover]),.ariaInvalid\:focusWithin\:hover\:ring-color_stroke\.error[aria-invalid='true']:focus-within:is(:hover, [data-hover]) {
1915
2001
  outline-color: var(--colors-stroke-error);
1916
2002
  }
package/es/BlockQuote.js CHANGED
@@ -17,8 +17,8 @@ const blockQuoteRecipe = cva({
17
17
  variants: {
18
18
  variant: {
19
19
  neutral: {
20
- borderColor: "stroke.subtle"
21
- // TODO: Figure out if this should have a background color.
20
+ borderColor: "stroke.subtle",
21
+ background: "surface.default"
22
22
  },
23
23
  brand1: {
24
24
  background: "surface.brand.1.subtle",
package/es/Button.js CHANGED
@@ -165,7 +165,8 @@ export const iconButtonRecipe = cva({
165
165
  base: {
166
166
  lineHeight: "1",
167
167
  minHeight: "unset",
168
- height: "fit-content",
168
+ height: "xxlarge",
169
+ width: "xxlarge",
169
170
  "& svg": {
170
171
  marginInline: "0",
171
172
  marginBlock: "0",