@slotted/styles 0.1.0-beta.0 → 0.1.0-beta.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.
Files changed (176) hide show
  1. package/package.json +1 -1
  2. package/src/accordion/accordion.css +10 -10
  3. package/src/action-bar/action-bar.css +31 -32
  4. package/src/action-sheet/action-sheet.css +36 -36
  5. package/src/alert/alert.css +43 -35
  6. package/src/alert/alert.tokens.json +5 -0
  7. package/src/app-shell/app-shell.css +356 -301
  8. package/src/aspect-ratio/aspect-ratio.css +9 -9
  9. package/src/attachment/attachment.css +91 -99
  10. package/src/avatar/avatar.css +71 -41
  11. package/src/avatar/avatar.tokens.json +7 -0
  12. package/src/avatar-group/avatar-group.css +21 -22
  13. package/src/badge/badge.css +45 -37
  14. package/src/badge/badge.tokens.json +5 -0
  15. package/src/breadcrumb/breadcrumb.css +37 -37
  16. package/src/button/button.css +139 -64
  17. package/src/button/button.tokens.json +10 -0
  18. package/src/button-group/button-group.css +76 -72
  19. package/src/button-group/button-group.tokens.json +2 -0
  20. package/src/calendar/calendar.css +93 -103
  21. package/src/card/card.css +54 -61
  22. package/src/carousel/carousel.css +150 -161
  23. package/src/cascader/cascader.css +152 -153
  24. package/src/cascader/cascader.tokens.json +1 -0
  25. package/src/chart/chart.css +242 -239
  26. package/src/chart/chart.tokens.json +1 -0
  27. package/src/checkbox/checkbox.css +119 -124
  28. package/src/checkbox-group/checkbox-group.css +7 -7
  29. package/src/code-block/code-block.css +81 -85
  30. package/src/collapsible/collapsible.css +69 -76
  31. package/src/color-picker/color-picker.css +83 -91
  32. package/src/column-manager/column-manager.css +106 -114
  33. package/src/combobox/combobox.css +132 -107
  34. package/src/combobox/combobox.tokens.json +1 -0
  35. package/src/command-palette/command-palette.css +84 -90
  36. package/src/container/container.css +24 -24
  37. package/src/context-menu/context-menu.css +8 -8
  38. package/src/currency-field/currency-field.css +210 -88
  39. package/src/currency-field/currency-field.tokens.json +13 -0
  40. package/src/dashboard-grid/dashboard-grid.css +148 -116
  41. package/src/data-grid/data-grid.css +504 -469
  42. package/src/data-grid/data-grid.tokens.json +2 -0
  43. package/src/data-list/data-list.css +81 -70
  44. package/src/data-list/data-list.tokens.json +2 -1
  45. package/src/date-field/date-field.css +55 -52
  46. package/src/date-field/date-field.tokens.json +1 -0
  47. package/src/date-picker/date-picker.css +40 -42
  48. package/src/date-range-picker/date-range-picker.css +114 -118
  49. package/src/datetime-field/datetime-field.css +78 -80
  50. package/src/datetime-field/datetime-field.tokens.json +1 -0
  51. package/src/datetime-picker/datetime-picker.css +61 -63
  52. package/src/datetime-range-picker/datetime-range-picker.css +149 -156
  53. package/src/description-list/description-list.css +61 -64
  54. package/src/detail-panel/detail-panel.css +70 -70
  55. package/src/dialog/dialog.css +334 -153
  56. package/src/dialog/dialog.tokens.json +5 -0
  57. package/src/divider/divider.css +18 -18
  58. package/src/drawer/drawer.css +186 -209
  59. package/src/entity-picker/entity-picker.css +238 -241
  60. package/src/entity-picker/entity-picker.tokens.json +1 -0
  61. package/src/event-calendar/event-calendar.css +343 -385
  62. package/src/field/field.css +74 -78
  63. package/src/field-group/field-group.css +22 -25
  64. package/src/filter-bar/filter-bar.css +193 -209
  65. package/src/form/form.css +34 -24
  66. package/src/form/form.tokens.json +1 -0
  67. package/src/fullscreen/fullscreen.css +24 -25
  68. package/src/grid/grid.css +28 -28
  69. package/src/highlight/highlight.css +6 -6
  70. package/src/hover-card/hover-card.css +6 -6
  71. package/src/icon/icon.css +19 -15
  72. package/src/icon/icon.tokens.json +1 -0
  73. package/src/image/image.css +39 -39
  74. package/src/import-export-center/import-export-center.css +135 -156
  75. package/src/inline/inline.css +27 -27
  76. package/src/inline-message/inline-message.css +52 -28
  77. package/src/inline-message/inline-message.tokens.json +4 -0
  78. package/src/kbd/kbd.css +30 -26
  79. package/src/link/link.css +15 -15
  80. package/src/list/list.css +44 -17
  81. package/src/list/list.tokens.json +4 -0
  82. package/src/list-item/list-item.css +80 -66
  83. package/src/list-item/list-item.tokens.json +7 -0
  84. package/src/listbox/listbox.css +56 -59
  85. package/src/loading-overlay/loading-overlay.css +75 -92
  86. package/src/markdown/markdown.css +17 -17
  87. package/src/menu/menu.css +83 -63
  88. package/src/menubar/menubar.css +13 -13
  89. package/src/message/message.css +182 -202
  90. package/src/message/message.tokens.json +5 -0
  91. package/src/message-scroller/message-scroller.css +41 -42
  92. package/src/multi-select/multi-select.css +152 -145
  93. package/src/multi-select/multi-select.tokens.json +1 -0
  94. package/src/navigation-menu/navigation-menu.css +167 -188
  95. package/src/notification-center/notification-center.css +140 -148
  96. package/src/notification-center/notification-center.tokens.json +3 -0
  97. package/src/number-field/number-field.css +84 -83
  98. package/src/number-field/number-field.tokens.json +1 -0
  99. package/src/otp-input/otp-input.css +67 -57
  100. package/src/otp-input/otp-input.tokens.json +1 -0
  101. package/src/page/page.css +23 -23
  102. package/src/page-header/page-header.css +268 -281
  103. package/src/page-header/page-header.tokens.json +1 -0
  104. package/src/pagination/pagination.css +68 -72
  105. package/src/popover/popover.css +40 -49
  106. package/src/progress-indicator/progress-indicator.css +177 -120
  107. package/src/progress-indicator/progress-indicator.tokens.json +1 -1
  108. package/src/prompt-composer/prompt-composer.css +221 -102
  109. package/src/prompt-composer/prompt-composer.tokens.json +15 -0
  110. package/src/prose/prose.css +71 -75
  111. package/src/radio-group/radio-group.css +98 -103
  112. package/src/rating/rating.css +136 -132
  113. package/src/rating/rating.tokens.json +1 -0
  114. package/src/result-state/result-state.css +74 -77
  115. package/src/runtime-properties.mjs +2 -0
  116. package/src/saved-views/saved-views.css +41 -47
  117. package/src/scroll-area/scroll-area.css +39 -32
  118. package/src/section/section.css +161 -41
  119. package/src/section/section.tokens.json +7 -2
  120. package/src/segmented-control/segmented-control.css +254 -97
  121. package/src/segmented-control/segmented-control.tokens.json +15 -11
  122. package/src/select/select.css +118 -117
  123. package/src/select/select.tokens.json +1 -0
  124. package/src/side-navigation/side-navigation.css +179 -182
  125. package/src/side-navigation/side-navigation.tokens.json +1 -0
  126. package/src/skeleton/skeleton.css +47 -48
  127. package/src/slider/slider.css +86 -88
  128. package/src/sparkline/sparkline.css +62 -40
  129. package/src/sparkline/sparkline.tokens.json +2 -0
  130. package/src/spinner/spinner.css +39 -182
  131. package/src/spinner/spinner.tokens.json +0 -2
  132. package/src/split-button/split-button.css +30 -31
  133. package/src/split-button/split-button.tokens.json +1 -0
  134. package/src/splitter/splitter.css +35 -35
  135. package/src/stack/stack.css +24 -24
  136. package/src/stat-card/stat-card.css +341 -224
  137. package/src/stat-card/stat-card.tokens.json +3 -0
  138. package/src/status-indicator/status-indicator.css +28 -28
  139. package/src/stepper/stepper.css +58 -62
  140. package/src/switch/switch.css +86 -92
  141. package/src/table/table.css +310 -165
  142. package/src/table/table.tokens.json +6 -0
  143. package/src/table-of-contents/table-of-contents.css +51 -54
  144. package/src/tabs/tabs.css +330 -302
  145. package/src/tabs/tabs.tokens.json +8 -5
  146. package/src/tag/tag.css +79 -71
  147. package/src/tag/tag.tokens.json +9 -0
  148. package/src/tags-input/tags-input.css +145 -82
  149. package/src/tags-input/tags-input.tokens.json +7 -1
  150. package/src/text-field/text-field.css +132 -136
  151. package/src/text-field/text-field.tokens.json +1 -0
  152. package/src/textarea/textarea.css +31 -28
  153. package/src/textarea/textarea.tokens.json +1 -0
  154. package/src/time-field/time-field.css +72 -69
  155. package/src/time-field/time-field.tokens.json +1 -0
  156. package/src/time-picker/time-picker.css +56 -58
  157. package/src/time-range-picker/time-range-picker.css +126 -133
  158. package/src/timeline/timeline.css +254 -266
  159. package/src/timeline/timeline.tokens.json +5 -0
  160. package/src/toast/toast.css +89 -90
  161. package/src/toast/toast.tokens.json +5 -0
  162. package/src/toggle/toggle.css +62 -25
  163. package/src/toggle/toggle.tokens.json +8 -0
  164. package/src/toggle-group/toggle-group.css +106 -60
  165. package/src/toggle-group/toggle-group.tokens.json +10 -0
  166. package/src/toolbar/toolbar.css +30 -35
  167. package/src/tooltip/tooltip.css +26 -26
  168. package/src/top-navigation/top-navigation.css +243 -259
  169. package/src/tour/tour.css +51 -60
  170. package/src/transfer/transfer.css +160 -164
  171. package/src/tree/tree.css +103 -111
  172. package/src/typography/typography.css +40 -36
  173. package/src/typography/typography.tokens.json +1 -0
  174. package/src/upload/upload.css +224 -224
  175. package/src/visually-hidden/visually-hidden.css +1 -1
  176. package/src/wizard/wizard.css +185 -197
@@ -20,7 +20,7 @@
20
20
  * actions stacks and stretches when the box is narrow, and a page banner
21
21
  * puts its actions back on the message's own line when the box is wide.
22
22
  */
23
- [data-ui='alert'][data-part='root'] {
23
+ [data-ui-alert][data-part-root] {
24
24
  /**
25
25
  * The tone's five roles, defaulted to `accent` so an alert with no stated
26
26
  * tone is an informational one. Each tone below restates the same five;
@@ -216,7 +216,7 @@
216
216
  * holds its place until the fade is over rather than snapping out from
217
217
  * under the content below.
218
218
  */
219
- [data-ui='alert'][data-part='root'][hidden] {
219
+ [data-ui-alert][data-part-root][hidden] {
220
220
  display: none;
221
221
  opacity: 0;
222
222
  transition:
@@ -235,7 +235,7 @@
235
235
  * marks the moment it does. It travels the path the exit takes, in reverse.
236
236
  */
237
237
  @starting-style {
238
- [data-ui='alert'][data-part='root']:is([data-live='polite'], [data-live='assertive']) {
238
+ [data-ui-alert][data-part-root]:is([data-live='polite'], [data-live='assertive']) {
239
239
  opacity: 0;
240
240
  translate: 0 calc(-1 * var(--slotted-space-2, 0.25rem));
241
241
  }
@@ -255,7 +255,7 @@
255
255
  * circle, the triangle and the crossed circle are what is left.
256
256
  */
257
257
 
258
- [data-ui='alert'][data-part='root'][data-tone='accent'] {
258
+ [data-ui-alert][data-part-root][data-tone='accent'] {
259
259
  --_solid: var(--slotted-tone-accent-solid);
260
260
  --_on-solid: var(--slotted-tone-accent-on-solid);
261
261
  --_surface: var(--slotted-tone-accent-surface);
@@ -263,7 +263,7 @@
263
263
  --_text: var(--slotted-tone-accent-text);
264
264
  }
265
265
 
266
- [data-ui='alert'][data-part='root'][data-tone='secondary'] {
266
+ [data-ui-alert][data-part-root][data-tone='secondary'] {
267
267
  --_solid: var(--slotted-tone-secondary-solid);
268
268
  --_on-solid: var(--slotted-tone-secondary-on-solid);
269
269
  --_surface: var(--slotted-tone-secondary-surface);
@@ -271,7 +271,7 @@
271
271
  --_text: var(--slotted-tone-secondary-text);
272
272
  }
273
273
 
274
- [data-ui='alert'][data-part='root'][data-tone='success'] {
274
+ [data-ui-alert][data-part-root][data-tone='success'] {
275
275
  --_solid: var(--slotted-tone-success-solid);
276
276
  --_on-solid: var(--slotted-tone-success-on-solid);
277
277
  --_surface: var(--slotted-tone-success-surface);
@@ -279,7 +279,15 @@
279
279
  --_text: var(--slotted-tone-success-text);
280
280
  }
281
281
 
282
- [data-ui='alert'][data-part='root'][data-tone='warning'] {
282
+ [data-ui-alert][data-part-root][data-tone='info'] {
283
+ --_solid: var(--slotted-tone-info-solid);
284
+ --_on-solid: var(--slotted-tone-info-on-solid);
285
+ --_surface: var(--slotted-tone-info-surface);
286
+ --_border: var(--slotted-tone-info-border);
287
+ --_text: var(--slotted-tone-info-text);
288
+ }
289
+
290
+ [data-ui-alert][data-part-root][data-tone='warning'] {
283
291
  --_solid: var(--slotted-tone-warning-solid);
284
292
  --_on-solid: var(--slotted-tone-warning-on-solid);
285
293
  --_surface: var(--slotted-tone-warning-surface);
@@ -287,7 +295,7 @@
287
295
  --_text: var(--slotted-tone-warning-text);
288
296
  }
289
297
 
290
- [data-ui='alert'][data-part='root'][data-tone='danger'] {
298
+ [data-ui-alert][data-part-root][data-tone='danger'] {
291
299
  --_solid: var(--slotted-tone-danger-solid);
292
300
  --_on-solid: var(--slotted-tone-danger-on-solid);
293
301
  --_surface: var(--slotted-tone-danger-surface);
@@ -313,7 +321,7 @@
313
321
  * is a run of coloured text with no box around it — the finding `kbd`
314
322
  * recorded about its own soft variant.
315
323
  */
316
- [data-ui='alert'][data-part='root'][data-variant='soft'] {
324
+ [data-ui-alert][data-part-root][data-variant='soft'] {
317
325
  background-color: var(--_surface);
318
326
  border-color: var(--_border);
319
327
  }
@@ -332,7 +340,7 @@
332
340
  * reads again. `soft` and `solid` survive the inverted surface only because
333
341
  * they repaint the ground before they write on it.
334
342
  */
335
- [data-ui='alert'][data-part='root'][data-variant='outline'] {
343
+ [data-ui-alert][data-part-root][data-variant='outline'] {
336
344
  background-color: transparent;
337
345
  border-color: var(--_border);
338
346
  }
@@ -343,7 +351,7 @@
343
351
  * `solid-active` in every scheme, so the whole box — words, mark and dismiss
344
352
  * control — takes it.
345
353
  */
346
- [data-ui='alert'][data-part='root'][data-variant='solid'] {
354
+ [data-ui-alert][data-part-root][data-variant='solid'] {
347
355
  background-color: var(--_solid);
348
356
  border-color: var(--_solid);
349
357
  color: var(--_on-solid);
@@ -357,7 +365,7 @@
357
365
  */
358
366
 
359
367
  /** Beside the thing it is about — a field group, a table row, a card. */
360
- [data-ui='alert'][data-part='root'][data-reach='inline'] {
368
+ [data-ui-alert][data-part-root][data-reach='inline'] {
361
369
  --_font-size: var(--slotted-control-font-size-sm, 12px);
362
370
  --_description-font-size: var(--slotted-control-font-size-sm, 12px);
363
371
  --_glyph-size: var(--slotted-control-icon-size-sm, 14px);
@@ -377,7 +385,7 @@
377
385
  * The title steps up while the description stays where it was, which is the
378
386
  * one place in the family where the two type sizes differ.
379
387
  */
380
- [data-ui='alert'][data-part='root'][data-reach='page'] {
388
+ [data-ui-alert][data-part-root][data-reach='page'] {
381
389
  --_font-size: var(--slotted-control-font-size-lg, 14px);
382
390
  --_glyph-size: var(--slotted-control-icon-size-lg, 18px);
383
391
  --_inner-size: var(--slotted-control-inner-size-lg, 28px);
@@ -396,7 +404,7 @@
396
404
  }
397
405
 
398
406
  /** A solid page banner has no edge to lose, so it keeps all four. */
399
- [data-ui='alert'][data-part='root'][data-reach='page'][data-variant='solid'] {
407
+ [data-ui-alert][data-part-root][data-reach='page'][data-variant='solid'] {
400
408
  border-block-start-width: var(--_border-width);
401
409
  border-inline-width: var(--_border-width);
402
410
  }
@@ -437,7 +445,7 @@
437
445
  * A mark the page supplies instead of the tone's takes the same box and its
438
446
  * place on the first line, centred in it.
439
447
  */
440
- [data-ui='alert'] > [data-part='icon'] {
448
+ [data-ui-alert] > [data-part-icon] {
441
449
  --slotted-icon-size: calc(var(--_mark-size) * 12 / 11);
442
450
 
443
451
  align-items: center;
@@ -464,7 +472,7 @@
464
472
  * to be clamped too, or an unbreakable word in the title sizes the track to
465
473
  * itself and the words run past the box that holds them.
466
474
  */
467
- [data-ui='alert'] > [data-part='content'] {
475
+ [data-ui-alert] > [data-part-content] {
468
476
  /* The other half of the mark's baseline group: see the mark above. */
469
477
  align-self: baseline;
470
478
  display: grid;
@@ -490,7 +498,7 @@
490
498
  * in a column narrower than the word, which at this type size is a column
491
499
  * too narrow for the message anyway.
492
500
  */
493
- [data-ui='alert'] [data-part='title'] {
501
+ [data-ui-alert] [data-part-title] {
494
502
  /* A title rendered as a heading keeps the root's type rather than the
495
503
  user agent's `1.17em`: the mark is `1em` of the root, and a 15-pixel
496
504
  title beside a 13-pixel mark put the mark a pixel above its capitals. */
@@ -509,7 +517,7 @@
509
517
  overflow-wrap: anywhere;
510
518
  }
511
519
 
512
- [data-ui='alert'] [data-part='description'] {
520
+ [data-ui-alert] [data-part-description] {
513
521
  font-size: var(--_description-font-size);
514
522
  /* Its own line, rounded against its own size: a page banner's description
515
523
  is set a step below its title, and inheriting the title's 22 pixels
@@ -528,7 +536,7 @@
528
536
  * they are outside the live region: a reader hearing the message is not read
529
537
  * the labels of two buttons in the middle of it.
530
538
  */
531
- [data-ui='alert'] > [data-part='actions'] {
539
+ [data-ui-alert] > [data-part-actions] {
532
540
  align-items: center;
533
541
  display: flex;
534
542
  flex-wrap: wrap;
@@ -557,7 +565,7 @@
557
565
  * under it than over it. With both margins the control's margin box is
558
566
  * exactly one line, and the inset above the message equals the inset below.
559
567
  */
560
- [data-ui='alert'] > [data-part='dismiss'] {
568
+ [data-ui-alert] > [data-part-dismiss] {
561
569
  /* The cross is the binding's `Glyph` in an `icon` box at the glyph size
562
570
  the formula for this box reads. */
563
571
  --slotted-icon-size: var(--_glyph-size);
@@ -597,15 +605,15 @@
597
605
  * the reason it exists: a control the browser has already refused must not
598
606
  * answer a pointer.
599
607
  */
600
- [data-ui='alert'] > [data-part='dismiss']:enabled:hover {
608
+ [data-ui-alert] > [data-part-dismiss]:enabled:hover {
601
609
  background-color: var(--_state-hover);
602
610
  }
603
611
 
604
- [data-ui='alert'] > [data-part='dismiss']:enabled:active {
612
+ [data-ui-alert] > [data-part-dismiss]:enabled:active {
605
613
  background-color: var(--_state-active);
606
614
  }
607
615
 
608
- [data-ui='alert'] > [data-part='dismiss']:disabled {
616
+ [data-ui-alert] > [data-part-dismiss]:disabled {
609
617
  color: var(--slotted-disabled-foreground);
610
618
  cursor: default;
611
619
  }
@@ -614,11 +622,11 @@
614
622
  is the one a mouse sees: a transparent box centred on the control reaches
615
623
  44 pixels, and the ground and the ring stay square. */
616
624
  @media (pointer: coarse) {
617
- [data-ui='alert'] > [data-part='dismiss'] {
625
+ [data-ui-alert] > [data-part-dismiss] {
618
626
  position: relative;
619
627
  }
620
628
 
621
- [data-ui='alert'] > [data-part='dismiss']::after {
629
+ [data-ui-alert] > [data-part-dismiss]::after {
622
630
  content: '';
623
631
  inset: min(0px, calc((100% - var(--slotted-target-comfortable, 44px)) / 2));
624
632
  position: absolute;
@@ -635,7 +643,7 @@
635
643
  * keyboard focus — but a page that deliberately sends focus to a message
636
644
  * must not send it somewhere invisible.
637
645
  */
638
- [data-ui='alert'] > [data-part='dismiss']:focus-visible {
646
+ [data-ui-alert] > [data-part-dismiss]:focus-visible {
639
647
  outline: var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);
640
648
  outline-offset: calc(-1 * var(--slotted-focus-ring-width, 2px));
641
649
  }
@@ -649,11 +657,11 @@
649
657
  * ring-width wide just inside it, in the ink its own words are written in,
650
658
  * so the ring is read against that halo rather than against the fill.
651
659
  */
652
- [data-ui='alert'][data-variant='solid'] > [data-part='dismiss']:focus-visible {
660
+ [data-ui-alert][data-variant='solid'] > [data-part-dismiss]:focus-visible {
653
661
  box-shadow: inset 0 0 0 calc(2 * var(--slotted-focus-ring-width, 2px)) var(--_on-solid);
654
662
  }
655
663
 
656
- [data-ui='alert'][data-part='root']:focus-visible {
664
+ [data-ui-alert][data-part-root]:focus-visible {
657
665
  outline: var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);
658
666
  outline-offset: var(--slotted-focus-ring-offset, 2px);
659
667
  }
@@ -673,7 +681,7 @@
673
681
  * exists to check.
674
682
  */
675
683
  @container slotted-alert (max-width: 22rem) {
676
- [data-ui='alert'] > [data-part='actions'] {
684
+ [data-ui-alert] > [data-part-actions] {
677
685
  /**
678
686
  * Stacked, and each control still its own width. Stretching them is what
679
687
  * the mobile banners in the field do, and it takes a decision that is not
@@ -694,7 +702,7 @@
694
702
  * however wide the window is.
695
703
  */
696
704
  @container slotted-alert (min-width: 40rem) {
697
- [data-ui='alert'][data-reach='page'] > [data-part='actions'] {
705
+ [data-ui-alert][data-reach='page'] > [data-part-actions] {
698
706
  align-self: center;
699
707
  grid-column: 3;
700
708
  grid-row: 1;
@@ -711,7 +719,7 @@
711
719
  * box, and the negative bottom margin left behind pulled the control's
712
720
  * centre below the action's by half its overhang.
713
721
  */
714
- [data-ui='alert'][data-reach='page'] > [data-part='dismiss'] {
722
+ [data-ui-alert][data-reach='page'] > [data-part-dismiss] {
715
723
  align-self: center;
716
724
  grid-column: 4;
717
725
  margin-block: 0;
@@ -741,7 +749,7 @@
741
749
  * danger fill, not a system colour, was forced to `Canvas` and took its
742
750
  * edge with it.
743
751
  */
744
- [data-ui='alert'][data-part='root'][data-variant] {
752
+ [data-ui-alert][data-part-root][data-variant] {
745
753
  background-color: Canvas;
746
754
  border-color: CanvasText;
747
755
  color: CanvasText;
@@ -751,12 +759,12 @@
751
759
  * The control's glyph is stroked in `currentcolor`, so giving the control a
752
760
  * system colour repaints the mark with it.
753
761
  */
754
- [data-ui='alert'] > [data-part='dismiss'] {
762
+ [data-ui-alert] > [data-part-dismiss] {
755
763
  color: CanvasText;
756
764
  }
757
765
 
758
- [data-ui='alert'] > [data-part='dismiss']:enabled:hover,
759
- [data-ui='alert'] > [data-part='dismiss']:enabled:active {
766
+ [data-ui-alert] > [data-part-dismiss]:enabled:hover,
767
+ [data-ui-alert] > [data-part-dismiss]:enabled:active {
760
768
  background-color: Highlight;
761
769
  color: HighlightText;
762
770
  }
@@ -59,6 +59,11 @@
59
59
  "--slotted-tone-danger-solid",
60
60
  "--slotted-tone-danger-surface",
61
61
  "--slotted-tone-danger-text",
62
+ "--slotted-tone-info-border",
63
+ "--slotted-tone-info-on-solid",
64
+ "--slotted-tone-info-solid",
65
+ "--slotted-tone-info-surface",
66
+ "--slotted-tone-info-text",
62
67
  "--slotted-tone-secondary-border",
63
68
  "--slotted-tone-secondary-on-solid",
64
69
  "--slotted-tone-secondary-solid",