@slotted/styles 0.1.0-beta.4 → 0.1.0-beta.40

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 (221) hide show
  1. package/package.json +21 -1
  2. package/src/accordion/accordion.css +31 -13
  3. package/src/accordion/accordion.tokens.json +2 -0
  4. package/src/action-bar/action-bar.css +47 -44
  5. package/src/action-bar/action-bar.tokens.json +1 -0
  6. package/src/action-sheet/action-sheet.css +39 -39
  7. package/src/alert/alert.css +97 -97
  8. package/src/alert/alert.tokens.json +6 -1
  9. package/src/app-shell/app-shell.css +472 -342
  10. package/src/app-shell/app-shell.tokens.json +6 -3
  11. package/src/aspect-ratio/aspect-ratio.css +24 -23
  12. package/src/attachment/attachment.css +118 -114
  13. package/src/avatar/avatar.css +97 -67
  14. package/src/avatar/avatar.tokens.json +8 -0
  15. package/src/avatar-group/avatar-group.css +22 -23
  16. package/src/badge/badge.css +58 -47
  17. package/src/badge/badge.tokens.json +6 -0
  18. package/src/breadcrumb/breadcrumb.css +52 -52
  19. package/src/button/button.css +408 -93
  20. package/src/button/button.tokens.json +13 -0
  21. package/src/button-group/button-group.css +80 -79
  22. package/src/button-group/button-group.tokens.json +1 -0
  23. package/src/calendar/calendar.css +594 -267
  24. package/src/calendar/calendar.tokens.json +35 -3
  25. package/src/card/card.css +133 -70
  26. package/src/card/card.tokens.json +1 -0
  27. package/src/carousel/carousel.css +158 -169
  28. package/src/cascader/cascader.css +174 -159
  29. package/src/cascader/cascader.tokens.json +2 -0
  30. package/src/chart/chart.css +300 -271
  31. package/src/chart/chart.tokens.json +5 -0
  32. package/src/checkbox/checkbox.css +190 -148
  33. package/src/checkbox/checkbox.tokens.json +4 -0
  34. package/src/checkbox-group/checkbox-group.css +7 -7
  35. package/src/clock/clock.css +246 -0
  36. package/src/clock/clock.tokens.json +44 -0
  37. package/src/code-block/code-block.css +85 -89
  38. package/src/collapsible/collapsible.css +273 -85
  39. package/src/collapsible/collapsible.tokens.json +6 -0
  40. package/src/color-picker/color-picker.css +106 -114
  41. package/src/column-manager/column-manager.css +111 -119
  42. package/src/combobox/combobox.css +219 -132
  43. package/src/combobox/combobox.tokens.json +4 -0
  44. package/src/command-palette/command-palette.css +214 -102
  45. package/src/command-palette/command-palette.tokens.json +4 -0
  46. package/src/container/container.css +27 -27
  47. package/src/context-menu/context-menu.css +9 -9
  48. package/src/currency-field/currency-field.css +119 -119
  49. package/src/currency-field/currency-field.tokens.json +1 -0
  50. package/src/dashboard-grid/dashboard-grid.css +231 -115
  51. package/src/dashboard-grid/dashboard-grid.tokens.json +3 -1
  52. package/src/data-grid/data-grid.css +637 -496
  53. package/src/data-grid/data-grid.tokens.json +5 -1
  54. package/src/data-list/data-list.css +93 -76
  55. package/src/data-list/data-list.tokens.json +2 -1
  56. package/src/date-field/date-field.css +62 -57
  57. package/src/date-field/date-field.tokens.json +1 -0
  58. package/src/date-picker/date-picker.css +31 -269
  59. package/src/date-picker/date-picker.tokens.json +1 -21
  60. package/src/date-range-picker/date-range-picker.css +72 -528
  61. package/src/date-range-picker/date-range-picker.tokens.json +1 -37
  62. package/src/datetime-field/datetime-field.css +90 -90
  63. package/src/datetime-field/datetime-field.tokens.json +1 -0
  64. package/src/datetime-picker/datetime-picker.css +49 -711
  65. package/src/datetime-picker/datetime-picker.tokens.json +1 -50
  66. package/src/datetime-range-picker/datetime-range-picker.css +60 -985
  67. package/src/datetime-range-picker/datetime-range-picker.tokens.json +1 -67
  68. package/src/description-list/description-list.css +120 -76
  69. package/src/description-list/description-list.tokens.json +1 -0
  70. package/src/detail-panel/detail-panel.css +86 -71
  71. package/src/detail-panel/detail-panel.tokens.json +2 -0
  72. package/src/dialog/dialog.css +462 -199
  73. package/src/dialog/dialog.tokens.json +10 -0
  74. package/src/divider/divider.css +20 -20
  75. package/src/drawer/drawer.css +736 -237
  76. package/src/drawer/drawer.tokens.json +15 -0
  77. package/src/entity-picker/entity-picker.css +402 -272
  78. package/src/entity-picker/entity-picker.tokens.json +6 -0
  79. package/src/event-calendar/event-calendar.css +357 -399
  80. package/src/field/field.css +106 -93
  81. package/src/field/field.tokens.json +2 -0
  82. package/src/field-group/field-group.css +58 -38
  83. package/src/field-group/field-group.tokens.json +3 -0
  84. package/src/filter-bar/filter-bar.css +224 -216
  85. package/src/floating-panel/floating-panel.css +147 -0
  86. package/src/floating-panel/floating-panel.tokens.json +32 -0
  87. package/src/form/form.css +103 -26
  88. package/src/form/form.tokens.json +6 -1
  89. package/src/fullscreen/fullscreen.css +26 -27
  90. package/src/grid/grid.css +32 -31
  91. package/src/highlight/highlight.css +11 -11
  92. package/src/hover-card/hover-card.css +9 -9
  93. package/src/icon/icon.css +67 -20
  94. package/src/icon/icon.tokens.json +1 -0
  95. package/src/image/image.css +42 -42
  96. package/src/import-export-center/import-export-center.css +147 -168
  97. package/src/import-export-center/import-export-center.tokens.json +1 -0
  98. package/src/inline/inline.css +29 -29
  99. package/src/inline-message/inline-message.css +162 -86
  100. package/src/inline-message/inline-message.tokens.json +5 -0
  101. package/src/kbd/kbd.css +63 -51
  102. package/src/kbd/kbd.tokens.json +4 -0
  103. package/src/link/link.css +54 -33
  104. package/src/link/link.tokens.json +4 -0
  105. package/src/list/list.css +55 -24
  106. package/src/list/list.tokens.json +2 -0
  107. package/src/list-item/list-item.css +195 -80
  108. package/src/list-item/list-item.tokens.json +10 -0
  109. package/src/listbox/listbox.css +121 -72
  110. package/src/listbox/listbox.tokens.json +6 -1
  111. package/src/loading-overlay/loading-overlay.css +86 -103
  112. package/src/markdown/markdown.css +20 -20
  113. package/src/media-viewer/media-viewer.css +790 -0
  114. package/src/media-viewer/media-viewer.tokens.json +53 -0
  115. package/src/menu/menu.css +166 -83
  116. package/src/menu/menu.tokens.json +3 -1
  117. package/src/menubar/menubar.css +16 -16
  118. package/src/message/message.css +1296 -1243
  119. package/src/message/message.tokens.json +14 -0
  120. package/src/message-scroller/message-scroller.css +323 -320
  121. package/src/meter/meter.css +136 -0
  122. package/src/meter/meter.tokens.json +23 -0
  123. package/src/multi-select/multi-select.css +246 -174
  124. package/src/multi-select/multi-select.tokens.json +3 -0
  125. package/src/navigation-menu/navigation-menu.css +170 -191
  126. package/src/navigation-menu/navigation-menu.tokens.json +1 -0
  127. package/src/notification-center/notification-center.css +155 -163
  128. package/src/notification-center/notification-center.tokens.json +4 -0
  129. package/src/number-field/number-field.css +93 -93
  130. package/src/number-field/number-field.tokens.json +1 -0
  131. package/src/otp-input/otp-input.css +74 -64
  132. package/src/otp-input/otp-input.tokens.json +1 -0
  133. package/src/page/page.css +109 -31
  134. package/src/page/page.tokens.json +8 -0
  135. package/src/page-header/page-header.css +342 -287
  136. package/src/page-header/page-header.tokens.json +6 -1
  137. package/src/pagination/pagination.css +75 -79
  138. package/src/picker-panel/picker-panel.css +1074 -0
  139. package/src/picker-panel/picker-panel.tokens.json +77 -0
  140. package/src/popover/popover.css +85 -65
  141. package/src/popover/popover.tokens.json +2 -0
  142. package/src/progress-indicator/progress-indicator.css +194 -137
  143. package/src/progress-indicator/progress-indicator.tokens.json +1 -0
  144. package/src/prompt-composer/prompt-composer.css +274 -116
  145. package/src/prompt-composer/prompt-composer.tokens.json +15 -0
  146. package/src/prose/prose.css +77 -82
  147. package/src/radio-group/radio-group.css +107 -112
  148. package/src/rating/rating.css +147 -143
  149. package/src/rating/rating.tokens.json +2 -0
  150. package/src/result-state/result-state.css +95 -102
  151. package/src/result-state/result-state.tokens.json +1 -0
  152. package/src/runtime-properties.mjs +44 -6
  153. package/src/saved-views/saved-views.css +43 -49
  154. package/src/scroll-area/scroll-area.css +50 -37
  155. package/src/section/section.css +311 -46
  156. package/src/section/section.tokens.json +13 -1
  157. package/src/segmented-control/segmented-control.css +221 -133
  158. package/src/segmented-control/segmented-control.tokens.json +7 -11
  159. package/src/select/select.css +226 -149
  160. package/src/select/select.tokens.json +4 -0
  161. package/src/side-navigation/side-navigation.css +204 -201
  162. package/src/side-navigation/side-navigation.tokens.json +2 -0
  163. package/src/skeleton/skeleton.css +76 -58
  164. package/src/slider/slider.css +108 -104
  165. package/src/slider/slider.tokens.json +1 -0
  166. package/src/sparkline/sparkline.css +75 -53
  167. package/src/sparkline/sparkline.tokens.json +2 -0
  168. package/src/spinner/spinner.css +83 -180
  169. package/src/spinner/spinner.tokens.json +0 -1
  170. package/src/split-button/split-button.css +34 -35
  171. package/src/split-button/split-button.tokens.json +1 -0
  172. package/src/splitter/splitter.css +47 -48
  173. package/src/stack/stack.css +26 -26
  174. package/src/stat-card/stat-card.css +420 -245
  175. package/src/stat-card/stat-card.tokens.json +8 -0
  176. package/src/status-indicator/status-indicator.css +126 -101
  177. package/src/status-indicator/status-indicator.tokens.json +0 -3
  178. package/src/stepper/stepper.css +78 -82
  179. package/src/switch/switch.css +143 -125
  180. package/src/switch/switch.tokens.json +4 -0
  181. package/src/table/table.css +653 -222
  182. package/src/table/table.tokens.json +10 -0
  183. package/src/table-of-contents/table-of-contents.css +60 -59
  184. package/src/table-of-contents/table-of-contents.tokens.json +1 -0
  185. package/src/tabs/tabs.css +327 -294
  186. package/src/tabs/tabs.tokens.json +7 -1
  187. package/src/tag/tag.css +113 -89
  188. package/src/tag/tag.tokens.json +11 -0
  189. package/src/tags-input/tags-input.css +152 -87
  190. package/src/tags-input/tags-input.tokens.json +7 -1
  191. package/src/text-field/text-field.css +146 -148
  192. package/src/text-field/text-field.tokens.json +1 -0
  193. package/src/textarea/textarea.css +38 -33
  194. package/src/textarea/textarea.tokens.json +1 -0
  195. package/src/time-field/time-field.css +82 -77
  196. package/src/time-field/time-field.tokens.json +1 -0
  197. package/src/time-picker/time-picker.css +30 -519
  198. package/src/time-picker/time-picker.tokens.json +1 -38
  199. package/src/time-range-picker/time-range-picker.css +53 -895
  200. package/src/time-range-picker/time-range-picker.tokens.json +1 -66
  201. package/src/timeline/timeline.css +280 -292
  202. package/src/timeline/timeline.tokens.json +5 -0
  203. package/src/toast/toast.css +139 -122
  204. package/src/toast/toast.tokens.json +7 -0
  205. package/src/toggle/toggle.css +34 -38
  206. package/src/toggle-group/toggle-group.css +73 -77
  207. package/src/toolbar/toolbar.css +49 -40
  208. package/src/toolbar/toolbar.tokens.json +2 -1
  209. package/src/tooltip/tooltip.css +95 -39
  210. package/src/tooltip/tooltip.tokens.json +1 -0
  211. package/src/top-navigation/top-navigation.css +253 -269
  212. package/src/top-navigation/top-navigation.tokens.json +1 -0
  213. package/src/tour/tour.css +68 -74
  214. package/src/tour/tour.tokens.json +1 -0
  215. package/src/transfer/transfer.css +164 -168
  216. package/src/tree/tree.css +118 -122
  217. package/src/typography/typography.css +67 -38
  218. package/src/typography/typography.tokens.json +2 -0
  219. package/src/upload/upload.css +256 -257
  220. package/src/visually-hidden/visually-hidden.css +1 -1
  221. package/src/wizard/wizard.css +187 -199
package/package.json CHANGED
@@ -1,6 +1,16 @@
1
1
  {
2
2
  "name": "@slotted/styles",
3
- "version": "0.1.0-beta.4",
3
+ "version": "0.1.0-beta.40",
4
+ "description": "Per-family stylesheets of Slotted, bundled by the React and Angular bindings.",
5
+ "keywords": [
6
+ "slotted",
7
+ "css",
8
+ "ui",
9
+ "design-system"
10
+ ],
11
+ "homepage": "https://github.com/andrelopes-code/slotted/tree/main/packages/styles#readme",
12
+ "bugs": "https://github.com/andrelopes-code/slotted/issues",
13
+ "author": "André Lopes",
4
14
  "license": "MIT",
5
15
  "repository": {
6
16
  "type": "git",
@@ -61,6 +71,8 @@
61
71
  "./carousel/tokens.json": "./src/carousel/carousel.tokens.json",
62
72
  "./checkbox/checkbox.css": "./src/checkbox/checkbox.css",
63
73
  "./checkbox/tokens.json": "./src/checkbox/checkbox.tokens.json",
74
+ "./clock/clock.css": "./src/clock/clock.css",
75
+ "./clock/tokens.json": "./src/clock/clock.tokens.json",
64
76
  "./code-block/code-block.css": "./src/code-block/code-block.css",
65
77
  "./code-block/tokens.json": "./src/code-block/code-block.tokens.json",
66
78
  "./collapsible/collapsible.css": "./src/collapsible/collapsible.css",
@@ -149,10 +161,16 @@
149
161
  "./loading-overlay/tokens.json": "./src/loading-overlay/loading-overlay.tokens.json",
150
162
  "./markdown/markdown.css": "./src/markdown/markdown.css",
151
163
  "./markdown/tokens.json": "./src/markdown/markdown.tokens.json",
164
+ "./media-viewer/media-viewer.css": "./src/media-viewer/media-viewer.css",
165
+ "./media-viewer/tokens.json": "./src/media-viewer/media-viewer.tokens.json",
152
166
  "./menu/menu.css": "./src/menu/menu.css",
153
167
  "./menu/tokens.json": "./src/menu/menu.tokens.json",
154
168
  "./menubar/menubar.css": "./src/menubar/menubar.css",
155
169
  "./menubar/tokens.json": "./src/menubar/menubar.tokens.json",
170
+ "./floating-panel/floating-panel.css": "./src/floating-panel/floating-panel.css",
171
+ "./floating-panel/tokens.json": "./src/floating-panel/floating-panel.tokens.json",
172
+ "./meter/meter.css": "./src/meter/meter.css",
173
+ "./meter/tokens.json": "./src/meter/meter.tokens.json",
156
174
  "./multi-select/multi-select.css": "./src/multi-select/multi-select.css",
157
175
  "./multi-select/tokens.json": "./src/multi-select/multi-select.tokens.json",
158
176
  "./navigation-menu/navigation-menu.css": "./src/navigation-menu/navigation-menu.css",
@@ -169,6 +187,8 @@
169
187
  "./page-header/tokens.json": "./src/page-header/page-header.tokens.json",
170
188
  "./pagination/pagination.css": "./src/pagination/pagination.css",
171
189
  "./pagination/tokens.json": "./src/pagination/pagination.tokens.json",
190
+ "./picker-panel/picker-panel.css": "./src/picker-panel/picker-panel.css",
191
+ "./picker-panel/tokens.json": "./src/picker-panel/picker-panel.tokens.json",
172
192
  "./popover/popover.css": "./src/popover/popover.css",
173
193
  "./popover/tokens.json": "./src/popover/popover.tokens.json",
174
194
  "./progress-indicator/progress-indicator.css": "./src/progress-indicator/progress-indicator.css",
@@ -3,7 +3,7 @@
3
3
  * A set of disclosures that share a value.
4
4
  *
5
5
  * Nothing here selects into `collapsible`. A rule reaching
6
- * `[data-ui='collapsible']` from this stylesheet would make one family's DOM
6
+ * `[data-ui-collapsible]` from this stylesheet would make one family's DOM
7
7
  * part of another's contract, so moving an item inside a wrapper would change
8
8
  * its appearance with no test to notice — the rule `checkbox-group` set for
9
9
  * every group family in the library. The group arranges its items and draws
@@ -13,7 +13,7 @@
13
13
  * The set is a single column. A horizontally stacked set of sections of which
14
14
  * one is open is a tab list, and `tabs` owns it.
15
15
  */
16
- [data-ui='accordion'] {
16
+ [data-ui-accordion] {
17
17
  --_rule-size: var(--slotted-border-width-thin, 1px);
18
18
  /**
19
19
  * The distance between two cards under `separated`. Every other variant
@@ -28,11 +28,11 @@
28
28
  min-inline-size: 0;
29
29
  }
30
30
 
31
- [data-ui='accordion'][data-size='sm'] {
31
+ [data-ui-accordion][data-size='sm'] {
32
32
  --_gap: var(--slotted-space-3, 0.375rem);
33
33
  }
34
34
 
35
- [data-ui='accordion'][data-size='lg'] {
35
+ [data-ui-accordion][data-size='lg'] {
36
36
  --_gap: var(--slotted-space-5, 0.75rem);
37
37
  }
38
38
 
@@ -43,7 +43,7 @@
43
43
  * one list and what keeps an item from having to know whether it is the last
44
44
  * one. The bottom of the stack is the set's own edge, so the set draws it.
45
45
  */
46
- [data-ui='accordion'][data-variant='ruled'] {
46
+ [data-ui-accordion][data-variant='ruled'] {
47
47
  border-block-end: var(--_rule-size) solid
48
48
  var(--slotted-accordion-rule-color, var(--slotted-border-subtle, ButtonBorder));
49
49
  }
@@ -53,12 +53,30 @@
53
53
  * own edge is the rule above the first item and below the last, and `clip` is
54
54
  * what makes the corner an item's hover fill meets the corner the frame drew.
55
55
  */
56
- [data-ui='accordion'][data-variant='framed'] {
56
+ [data-ui-accordion][data-variant='framed'] {
57
57
  background-color: var(--slotted-accordion-surface, var(--slotted-surface-raised, Canvas));
58
- border: var(--_rule-size) solid
59
- var(--slotted-accordion-rule-color, var(--slotted-border-subtle, ButtonBorder));
60
58
  border-radius: var(--slotted-accordion-radius, var(--slotted-radius-md, 6px));
59
+ --_frame-edge: var(
60
+ --slotted-accordion-border-color,
61
+ var(--slotted-accordion-rule-color, var(--slotted-border-subtle, ButtonBorder))
62
+ );
63
+
64
+ box-shadow: var(--slotted-accordion-shadow, none);
61
65
  overflow: clip;
66
+ /* The containing block of the edge. */
67
+ position: relative;
68
+ }
69
+
70
+ /* The edge, drawn as a card's is (collapsible records why), in a color of
71
+ its own rather than the inner rules'. */
72
+ [data-ui-accordion][data-variant='framed']::before {
73
+ border: var(--_rule-size) solid var(--_frame-edge);
74
+ border-radius: inherit;
75
+ content: '';
76
+ inset: 0;
77
+ pointer-events: none;
78
+ position: absolute;
79
+ z-index: 1;
62
80
  }
63
81
 
64
82
  /**
@@ -70,9 +88,9 @@
70
88
  * The child is reached structurally rather than by its identity. Which
71
89
  * element is first is the group's own layout fact; what that element is
72
90
  * inside remains the item family's, which is why nothing here names
73
- * `[data-ui='collapsible']` or one of its parts.
91
+ * `[data-ui-collapsible]` or one of its parts.
74
92
  */
75
- [data-ui='accordion'][data-variant='framed'] > :first-child {
93
+ [data-ui-accordion][data-variant='framed'] > :first-child {
76
94
  border-block-start-color: transparent;
77
95
  }
78
96
 
@@ -81,16 +99,16 @@
81
99
  * border and radius, and the only thing left for the set is the air between
82
100
  * them.
83
101
  */
84
- [data-ui='accordion'][data-variant='separated'] {
102
+ [data-ui-accordion][data-variant='separated'] {
85
103
  row-gap: var(--slotted-accordion-gap, var(--_gap));
86
104
  }
87
105
 
88
106
  /**
89
107
  * A set taken out of action. The attribute reaches every trigger as the
90
- * native one, which is what actually stops the press; this is the colour that
108
+ * native one, which is what actually stops the press; this is the color that
91
109
  * says so for the words the set draws itself, if a consumer puts any in it.
92
110
  */
93
- [data-ui='accordion'][data-disabled] {
111
+ [data-ui-accordion][data-disabled] {
94
112
  color: var(--slotted-disabled-foreground, GrayText);
95
113
  }
96
114
  }
@@ -1,7 +1,9 @@
1
1
  [
2
+ "--slotted-accordion-border-color",
2
3
  "--slotted-accordion-gap",
3
4
  "--slotted-accordion-radius",
4
5
  "--slotted-accordion-rule-color",
6
+ "--slotted-accordion-shadow",
5
7
  "--slotted-accordion-surface",
6
8
  "--slotted-border-subtle",
7
9
  "--slotted-border-width-thin",
@@ -18,7 +18,7 @@
18
18
  * overflow trigger. Everything else a reader sees belongs to the control the
19
19
  * consumer placed.
20
20
  */
21
- [data-ui='action-bar'] {
21
+ [data-ui-action-bar] {
22
22
  /**
23
23
  * The bar's own rhythm, from the control scales, so the three densities
24
24
  * move it without a rule of their own.
@@ -56,7 +56,7 @@
56
56
  padding-inline: var(--slotted-action-bar-inset-inline, var(--_inset-inline));
57
57
  }
58
58
 
59
- [data-ui='action-bar'][data-size='sm'] {
59
+ [data-ui-action-bar][data-size='sm'] {
60
60
  --_gap: var(--slotted-control-gap-sm, 0.375rem);
61
61
  --_inset-block: var(--slotted-space-3, 0.375rem);
62
62
  --_inset-inline: var(--slotted-space-4, 0.5rem);
@@ -66,7 +66,7 @@
66
66
  --_separator-inset: var(--slotted-space-1, 0.125rem);
67
67
  }
68
68
 
69
- [data-ui='action-bar'][data-size='lg'] {
69
+ [data-ui-action-bar][data-size='lg'] {
70
70
  --_gap: var(--slotted-control-gap-lg, 0.5rem);
71
71
  --_inset-block: var(--slotted-space-5, 0.75rem);
72
72
  --_inset-inline: var(--slotted-space-6, 1rem);
@@ -82,8 +82,8 @@
82
82
  * still consumes the gap of the column that holds it — and, under `raised`,
83
83
  * draws a rule straight across the screen with nothing under it.
84
84
  */
85
- [data-ui='action-bar']:not(:has([data-part='actions'] > *:not([hidden]))):not(
86
- :has([data-part='status'])
85
+ [data-ui-action-bar]:not(:has([data-part-actions] > *:not([hidden]))):not(
86
+ :has([data-part-status])
87
87
  ) {
88
88
  display: none;
89
89
  }
@@ -99,10 +99,20 @@
99
99
  * or above a table. It takes the surface and one hairline at the top, which
100
100
  * is the whole of the separation a bar at the end of a region needs.
101
101
  */
102
- [data-ui='action-bar'][data-variant='raised'] {
102
+ [data-ui-action-bar][data-variant='raised'] {
103
103
  background-color: var(--slotted-action-bar-background, var(--slotted-surface, Canvas));
104
104
  border-block-start: var(--slotted-border-width-thin, 1px) solid
105
105
  var(--slotted-action-bar-border-color, var(--slotted-border-subtle, ButtonBorder));
106
+ /* A theme that paints this surface as a translucent material blurs what moves behind it. */
107
+ -webkit-backdrop-filter: var(--slotted-action-bar-backdrop-filter, none);
108
+ backdrop-filter: var(--slotted-action-bar-backdrop-filter, none);
109
+ }
110
+
111
+ @media (prefers-reduced-transparency: reduce), (forced-colors: active) {
112
+ [data-ui-action-bar][data-variant='raised'] {
113
+ -webkit-backdrop-filter: none;
114
+ backdrop-filter: none;
115
+ }
106
116
  }
107
117
 
108
118
  /* ── Sticky ───────────────────────────────────────────────────────────── */
@@ -120,7 +130,7 @@
120
130
  * of the surveyed implementations composes with the page's own chrome; each
121
131
  * of them fixes the bar and then compensates.
122
132
  */
123
- [data-ui='action-bar'][data-sticky] {
133
+ [data-ui-action-bar][data-sticky] {
124
134
  inset-block-end: var(--slotted-page-sticky-bottom, 0px);
125
135
  position: sticky;
126
136
  z-index: var(--slotted-z-index-sticky, 100);
@@ -133,13 +143,13 @@
133
143
  * existence under the reader's hands is the jump
134
144
  * `docs/component-features.md` §11 forbids by name.
135
145
  */
136
- [data-ui='action-bar'][data-status] {
146
+ [data-ui-action-bar][data-status] {
137
147
  transition:
138
148
  translate var(--_duration) var(--_easing),
139
149
  opacity var(--_duration) var(--_easing);
140
150
  }
141
151
 
142
- [data-ui='action-bar']:is([data-status='entering'], [data-status='exiting']) {
152
+ [data-ui-action-bar]:is([data-status='entering'], [data-status='exiting']) {
143
153
  opacity: 0;
144
154
  translate: 0 100%;
145
155
  }
@@ -151,7 +161,7 @@
151
161
  * what is selected. It takes what is left over and gives way first, so a long
152
162
  * message shortens itself rather than pushing the actions off the bar.
153
163
  */
154
- [data-ui='action-bar'] [data-part='status'] {
164
+ [data-ui-action-bar] [data-part-status] {
155
165
  align-items: center;
156
166
  color: var(--slotted-action-bar-status-color, var(--slotted-text-muted, GrayText));
157
167
  display: flex;
@@ -171,7 +181,7 @@
171
181
  * action and never the last action itself. The property is logical, so the
172
182
  * anchor mirrors with the bar in a right-to-left document.
173
183
  */
174
- [data-ui='action-bar'] [data-part='actions'] {
184
+ [data-ui-action-bar] [data-part-actions] {
175
185
  align-items: center;
176
186
  display: flex;
177
187
  flex: 0 0 auto;
@@ -192,16 +202,16 @@
192
202
 
193
203
  /**
194
204
  * `align` places the run in the room left after the status, and it is the
195
- * axis the field disagrees about: Salesforce centres a docked footer's
205
+ * axis the field disagrees about: Salesforce centers a docked footer's
196
206
  * buttons, Polaris puts them at the end, Fluent at the start. The anchor is
197
207
  * what `end` is, so the other two are the ones that state a margin.
198
208
  */
199
- [data-ui='action-bar'][data-align='start'] [data-part='actions'] {
209
+ [data-ui-action-bar][data-align='start'] [data-part-actions] {
200
210
  justify-content: flex-start;
201
211
  margin-inline: 0 auto;
202
212
  }
203
213
 
204
- [data-ui='action-bar'][data-align='center'] [data-part='actions'] {
214
+ [data-ui-action-bar][data-align='center'] [data-part-actions] {
205
215
  justify-content: center;
206
216
  margin-inline: auto;
207
217
  }
@@ -210,8 +220,7 @@
210
220
  * A bar with no status region at all still puts its run where `align` says,
211
221
  * which without this is where the first `auto` margin happens to leave it.
212
222
  */
213
- [data-ui='action-bar'][data-align='center']:not(:has([data-part='status']))
214
- [data-part='actions'] {
223
+ [data-ui-action-bar][data-align='center']:not(:has([data-part-status])) [data-part-actions] {
215
224
  margin-inline: auto;
216
225
  }
217
226
 
@@ -225,7 +234,7 @@
225
234
  * It paints nothing: everything a reader sees inside it belongs to the
226
235
  * control the consumer placed.
227
236
  */
228
- [data-ui='action-bar'] [data-part='action'] {
237
+ [data-ui-action-bar] [data-part-action] {
229
238
  align-items: center;
230
239
  display: inline-flex;
231
240
  flex: none;
@@ -239,8 +248,8 @@
239
248
  * and without this every collapsed unit stays on the bar and the collapse
240
249
  * does nothing at all.
241
250
  */
242
- [data-ui='action-bar']
243
- :is([data-part='action'], [data-part='separator'], [data-part='overflow'])[hidden] {
251
+ [data-ui-action-bar]
252
+ :is([data-part-action], [data-part-separator], [data-part-overflow])[hidden] {
244
253
  display: none;
245
254
  }
246
255
 
@@ -257,7 +266,7 @@
257
266
  * It is a part of this family rather than the `divider` family because its
258
267
  * geometry belongs to the bar: it is measured against the controls beside it.
259
268
  */
260
- [data-ui='action-bar'] [data-part='separator'] {
269
+ [data-ui-action-bar] [data-part-separator] {
261
270
  align-self: stretch;
262
271
  background-color: var(
263
272
  --slotted-action-bar-separator-color,
@@ -283,7 +292,7 @@
283
292
  * Its accessible name carries the count, so what a reader hears is a number
284
293
  * rather than three dots.
285
294
  */
286
- [data-ui='action-bar'] [data-part='overflow'] {
295
+ [data-ui-action-bar] [data-part-overflow] {
287
296
  align-items: center;
288
297
  appearance: none;
289
298
  background-color: transparent;
@@ -321,7 +330,7 @@
321
330
  }
322
331
 
323
332
  /* The ground moves under the pointer and nothing else does. */
324
- [data-ui='action-bar'] [data-part='overflow']:not(:disabled):hover {
333
+ [data-ui-action-bar] [data-part-overflow]:not(:disabled):hover {
325
334
  background-color: var(
326
335
  --slotted-action-bar-overflow-hover-background,
327
336
  var(--slotted-tone-secondary-subtle-hover)
@@ -329,7 +338,7 @@
329
338
  color: var(--slotted-action-bar-overflow-hover-color, var(--slotted-text, CanvasText));
330
339
  }
331
340
 
332
- [data-ui='action-bar'] [data-part='overflow']:not(:disabled):active {
341
+ [data-ui-action-bar] [data-part-overflow]:not(:disabled):active {
333
342
  background-color: var(
334
343
  --slotted-action-bar-overflow-active-background,
335
344
  var(--slotted-tone-secondary-subtle-active)
@@ -341,7 +350,7 @@
341
350
  * reader who moved the pointer off the trigger loses every sign of which
342
351
  * control the layer belongs to.
343
352
  */
344
- [data-ui='action-bar'] [data-part='overflow'][data-open] {
353
+ [data-ui-action-bar] [data-part-overflow][data-open] {
345
354
  background-color: var(
346
355
  --slotted-action-bar-overflow-open-background,
347
356
  var(--slotted-tone-secondary-subtle-active)
@@ -355,12 +364,12 @@
355
364
  * looking operable, and it answers neither hover nor press, which is the
356
365
  * precedence `docs/state-and-events.md` fixes.
357
366
  */
358
- [data-ui='action-bar'] [data-part='overflow']:disabled {
367
+ [data-ui-action-bar] [data-part-overflow]:disabled {
359
368
  color: var(--slotted-disabled-foreground, GrayText);
360
369
  cursor: default;
361
370
  }
362
371
 
363
- [data-ui='action-bar'] [data-part='overflow']:focus-visible {
372
+ [data-ui-action-bar] [data-part-overflow]:focus-visible {
364
373
  outline: var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);
365
374
  outline-offset: var(--slotted-focus-ring-offset, 2px);
366
375
  }
@@ -381,6 +390,11 @@
381
390
  * breakpoint is. While it is raised the collapse does not run: a column has
382
391
  * room for every action, and a surface holding what did not fit would be a
383
392
  * menu for nothing.
393
+ *
394
+ * A bar that holds an overflow control does not stack: it keeps one row, the
395
+ * actions without a counterpart stay and the rest fold into the menu. It
396
+ * stacked once, hid its control, and three actions with counterparts stood
397
+ * in a bar 164 pixels tall on a 358 pixel phone.
384
398
  */
385
399
  @container slotted-action-bar (width < 24rem) {
386
400
  /**
@@ -389,7 +403,7 @@
389
403
  * the order a form is read in, and only the paint is reversed. `stretch`
390
404
  * fills the column, because a column of natural widths is a ragged edge.
391
405
  */
392
- [data-ui='action-bar'] [data-part='actions'] {
406
+ [data-ui-action-bar]:not(:has([data-part-overflow])) [data-part-actions] {
393
407
  --_stacked: 1;
394
408
 
395
409
  align-items: stretch;
@@ -398,26 +412,15 @@
398
412
  margin-inline: 0;
399
413
  }
400
414
 
401
- [data-ui='action-bar'] [data-part='action'] > * {
415
+ [data-ui-action-bar]:not(:has([data-part-overflow])) [data-part-action] > * {
402
416
  inline-size: 100%;
403
417
  }
404
418
 
405
- /**
406
- * While the bar is a column there is no overflow, because a column has room
407
- * for every action — the binding stops measuring, and the rule says the same
408
- * thing on the side a reader is looking at. Without it the trigger is
409
- * painted at the top of the column by the reversal, which is where the
410
- * action that confirms belongs.
411
- */
412
- [data-ui='action-bar'] [data-part='overflow'] {
413
- display: none;
414
- }
415
-
416
419
  /**
417
420
  * A rule that divided two controls in a row divides two rows here, so it
418
421
  * turns with them.
419
422
  */
420
- [data-ui='action-bar'] [data-part='separator'] {
423
+ [data-ui-action-bar]:not(:has([data-part-overflow])) [data-part-separator] {
421
424
  block-size: var(--slotted-border-width-thin, 1px);
422
425
  inline-size: auto;
423
426
  margin-block: calc(var(--_gap) / 2);
@@ -425,20 +428,20 @@
425
428
  min-block-size: 0;
426
429
  }
427
430
 
428
- [data-ui='action-bar'] [data-part='status'] {
431
+ [data-ui-action-bar]:not(:has([data-part-overflow])) [data-part-status] {
429
432
  flex: 1 1 100%;
430
433
  }
431
434
 
432
435
  /* What the consumer put in the status, addressed as the part's child and
433
436
  never by a class of its own: while the bar is a column the status fills
434
437
  the row, as an action does two rules above. */
435
- [data-ui='action-bar'] [data-part='status'] > * {
438
+ [data-ui-action-bar]:not(:has([data-part-overflow])) [data-part-status] > * {
436
439
  align-content: space-between;
437
440
  inline-size: 100%;
438
441
  }
439
442
  }
440
443
 
441
- /* ── Forced colours ───────────────────────────────────────────────────── */
444
+ /* ── Forced colors ───────────────────────────────────────────────────── */
442
445
 
443
446
  /**
444
447
  * A rule painted with a background disappears when the system flattens every
@@ -447,7 +450,7 @@
447
450
  * destructive action and a frequent one is still there to read.
448
451
  */
449
452
  @media (forced-colors: active) {
450
- [data-ui='action-bar'] [data-part='separator'] {
453
+ [data-ui-action-bar] [data-part-separator] {
451
454
  background-color: CanvasText;
452
455
  forced-color-adjust: none;
453
456
  }
@@ -1,4 +1,5 @@
1
1
  [
2
+ "--slotted-action-bar-backdrop-filter",
2
3
  "--slotted-action-bar-background",
3
4
  "--slotted-action-bar-border-color",
4
5
  "--slotted-action-bar-gap",