@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
@@ -1,6 +1,7 @@
1
1
  [
2
2
  "--slotted-border-subtle",
3
3
  "--slotted-border-width-thin",
4
+ "--slotted-button-widest-start",
4
5
  "--slotted-control-border-color",
5
6
  "--slotted-control-border-width",
6
7
  "--slotted-control-font-family",
@@ -34,10 +35,16 @@
34
35
  "--slotted-focus-ring-color",
35
36
  "--slotted-focus-ring-offset",
36
37
  "--slotted-focus-ring-width",
38
+ "--slotted-font-size-lg",
39
+ "--slotted-font-size-md",
40
+ "--slotted-font-size-sm",
37
41
  "--slotted-line-height-sm",
38
42
  "--slotted-radius-full",
43
+ "--slotted-radius-sm",
39
44
  "--slotted-space-2",
40
45
  "--slotted-target-min",
46
+ "--slotted-text",
47
+ "--slotted-text-box-edge",
41
48
  "--slotted-text-muted",
42
49
  "--slotted-tone-accent-border",
43
50
  "--slotted-tone-accent-on-solid",
@@ -47,11 +54,17 @@
47
54
  "--slotted-tone-accent-subtle-active",
48
55
  "--slotted-tone-accent-subtle-hover",
49
56
  "--slotted-tone-accent-text",
57
+ "--slotted-tone-danger-border",
50
58
  "--slotted-tone-danger-on-solid",
51
59
  "--slotted-tone-danger-solid",
52
60
  "--slotted-tone-danger-solid-active",
53
61
  "--slotted-tone-danger-solid-hover",
54
62
  "--slotted-tone-danger-text",
63
+ "--slotted-tone-info-on-solid",
64
+ "--slotted-tone-info-solid",
65
+ "--slotted-tone-info-solid-active",
66
+ "--slotted-tone-info-solid-hover",
67
+ "--slotted-tone-info-text",
55
68
  "--slotted-tone-neutral-on-solid",
56
69
  "--slotted-tone-neutral-solid",
57
70
  "--slotted-tone-neutral-solid-active",
@@ -15,8 +15,9 @@
15
15
  * the ends of the bar and nowhere else — and states no distance between its
16
16
  * controls. A joined bar does not wrap and does not stack: its shape is the
17
17
  * whole point of it, and no surveyed implementation flips that shape at a
18
- * width the consumer cannot see coming. A label that outgrows the bar wraps
19
- * inside its own control, which is `button`'s rule and not this family's.
18
+ * width the consumer cannot see coming. A label that outgrows the bar ends
19
+ * in an ellipsis inside its own control, which is `button`'s rule and not
20
+ * this family's.
20
21
  *
21
22
  * The children are the consumer's own elements, selected as direct children.
22
23
  * Primer wraps each child in a div of its own and pays for it twice: its
@@ -27,7 +28,7 @@
27
28
  * The group paints one thing and only one: the seam between two joined solid
28
29
  * controls. That rule is documented where it is written.
29
30
  */
30
- [data-ui='button-group'] {
31
+ [data-ui-button-group] {
31
32
  --_radius: var(--slotted-control-radius, 4px);
32
33
  --_overlap: calc(-1 * var(--slotted-control-border-width, 1px));
33
34
  /**
@@ -71,13 +72,13 @@
71
72
  * that holds it, so the toolbar beside it drifts by half a centimetre for a
72
73
  * reason nobody can see in the markup.
73
74
  */
74
- [data-ui='button-group']:empty {
75
+ [data-ui-button-group]:empty {
75
76
  display: none;
76
77
  }
77
78
 
78
79
  /* ── Orientation ──────────────────────────────────────────────────────── */
79
80
 
80
- [data-ui='button-group'][data-orientation='vertical'] {
81
+ [data-ui-button-group][data-orientation='vertical'] {
81
82
  --_join-main: 0;
82
83
  --_join-cross: var(--_radius);
83
84
  --_overlap-inline: 0;
@@ -88,19 +89,19 @@
88
89
 
89
90
  /* ── Across the flow ──────────────────────────────────────────────────── */
90
91
 
91
- [data-ui='button-group'][data-align='start'] {
92
+ [data-ui-button-group][data-align='start'] {
92
93
  align-items: start;
93
94
  }
94
95
 
95
- [data-ui='button-group'][data-align='center'] {
96
+ [data-ui-button-group][data-align='center'] {
96
97
  align-items: center;
97
98
  }
98
99
 
99
- [data-ui='button-group'][data-align='end'] {
100
+ [data-ui-button-group][data-align='end'] {
100
101
  align-items: end;
101
102
  }
102
103
 
103
- [data-ui='button-group'][data-align='stretch'] {
104
+ [data-ui-button-group][data-align='stretch'] {
104
105
  align-items: stretch;
105
106
  }
106
107
 
@@ -112,30 +113,30 @@
112
113
  * shrinks to its content, which is what a pair of actions beside a sentence
113
114
  * needs and what every surveyed implementation defaults to.
114
115
  */
115
- [data-ui='button-group'][data-justify] {
116
+ [data-ui-button-group][data-justify] {
116
117
  display: flex;
117
118
  inline-size: 100%;
118
119
  }
119
120
 
120
- [data-ui='button-group'][data-justify='start'] {
121
+ [data-ui-button-group][data-justify='start'] {
121
122
  justify-content: start;
122
123
  }
123
124
 
124
- [data-ui='button-group'][data-justify='center'] {
125
+ [data-ui-button-group][data-justify='center'] {
125
126
  justify-content: center;
126
127
  }
127
128
 
128
- [data-ui='button-group'][data-justify='end'] {
129
+ [data-ui-button-group][data-justify='end'] {
129
130
  justify-content: end;
130
131
  }
131
132
 
132
- [data-ui='button-group'][data-justify='between'] {
133
+ [data-ui-button-group][data-justify='between'] {
133
134
  justify-content: space-between;
134
135
  }
135
136
 
136
137
  /* ── Full width ───────────────────────────────────────────────────────── */
137
138
 
138
- [data-ui='button-group'][data-full-width] {
139
+ [data-ui-button-group][data-full-width] {
139
140
  display: flex;
140
141
  inline-size: 100%;
141
142
  }
@@ -149,8 +150,8 @@
149
150
  * along the flow would distribute height instead, which is not what anyone
150
151
  * asking for a full-width group meant.
151
152
  */
152
- [data-ui='button-group'][data-full-width]:not([data-orientation='vertical'])
153
- > :not([data-part='separator']) {
153
+ [data-ui-button-group][data-full-width]:not([data-orientation='vertical'])
154
+ > :not([data-part-separator]) {
154
155
  flex: 1 1 0;
155
156
  min-inline-size: 0;
156
157
  }
@@ -166,15 +167,15 @@
166
167
  * square from the control height, and shrinking it would take it below the
167
168
  * target size its own family guarantees.
168
169
  */
169
- [data-ui='button-group'] > :not([data-part='separator']):not([data-shape]) {
170
+ [data-ui-button-group] > :not([data-part-separator]):not([data-shape]) {
170
171
  min-inline-size: 0;
171
172
  }
172
173
 
173
- [data-ui='button-group'] > [data-shape] {
174
+ [data-ui-button-group] > [data-shape] {
174
175
  flex: none;
175
176
  }
176
177
 
177
- [data-ui='button-group'] > :not([data-ui='button-group']) {
178
+ [data-ui-button-group] > :not([data-ui-button-group]) {
178
179
  border-radius: 0;
179
180
  }
180
181
 
@@ -183,18 +184,18 @@
183
184
  * bar takes no column of its own, so the control after it shares an edge
184
185
  * with the control before it exactly like every other neighbour pair.
185
186
  */
186
- [data-ui='button-group'] > :not(:first-child):not([data-part='separator']) {
187
+ [data-ui-button-group] > :not(:first-child):not([data-part-separator]) {
187
188
  margin-block-start: var(--_overlap-block);
188
189
  margin-inline-start: var(--_overlap-inline);
189
190
  }
190
191
 
191
- [data-ui='button-group'] > :first-child {
192
+ [data-ui-button-group] > :first-child {
192
193
  border-end-start-radius: var(--_join-main);
193
194
  border-start-end-radius: var(--_join-cross);
194
195
  border-start-start-radius: var(--_radius);
195
196
  }
196
197
 
197
- [data-ui='button-group'] > :last-child {
198
+ [data-ui-button-group] > :last-child {
198
199
  border-end-end-radius: var(--_radius);
199
200
  border-end-start-radius: var(--_join-cross);
200
201
  border-start-end-radius: var(--_join-main);
@@ -206,7 +207,7 @@
206
207
  * came out with one square corner. Measured on the harness before this rule
207
208
  * existed: 4/4/4/0. A lone control keeps all four.
208
209
  */
209
- [data-ui='button-group'] > :only-child {
210
+ [data-ui-button-group] > :only-child {
210
211
  border-radius: var(--_radius);
211
212
  }
212
213
 
@@ -220,17 +221,17 @@
220
221
  * bar, so inside another group every corner of a run is squared and only
221
222
  * the two on the ends of the outer bar are put back.
222
223
  */
223
- [data-ui='button-group'] [data-ui='button-group'] > :not([data-part='separator']) {
224
+ [data-ui-button-group] [data-ui-button-group] > :not([data-part-separator]) {
224
225
  border-radius: 0;
225
226
  }
226
227
 
227
- [data-ui='button-group'] > [data-ui='button-group']:first-child > :first-child {
228
+ [data-ui-button-group] > [data-ui-button-group]:first-child > :first-child {
228
229
  border-end-start-radius: var(--_join-main);
229
230
  border-start-end-radius: var(--_join-cross);
230
231
  border-start-start-radius: var(--_radius);
231
232
  }
232
233
 
233
- [data-ui='button-group'] > [data-ui='button-group']:last-child > :last-child {
234
+ [data-ui-button-group] > [data-ui-button-group]:last-child > :last-child {
234
235
  border-end-end-radius: var(--_radius);
235
236
  border-end-start-radius: var(--_join-cross);
236
237
  border-start-end-radius: var(--_join-main);
@@ -258,19 +259,15 @@
258
259
  * fifth, and it is a name the contract declares rather than a selector
259
260
  * repeated for weight.
260
261
  */
261
- [data-ui='button-group'][data-part='root']
262
- > [data-ui='button'][data-variant='outline'][data-pressed],
263
- [data-ui='button-group'][data-part='root']
264
- > [data-ui='button'][data-variant='outline'][data-disabled],
265
- [data-ui='button-group'][data-part='root'] > [data-ui='button'][data-variant='outline']:disabled {
262
+ [data-ui-button-group][data-part-root] > [data-ui-button][data-variant='outline'][data-pressed],
263
+ [data-ui-button-group][data-part-root] > [data-ui-button][data-variant='outline'][data-disabled],
264
+ [data-ui-button-group][data-part-root] > [data-ui-button][data-variant='outline']:disabled {
266
265
  border-color: var(--slotted-control-border-color, ButtonBorder);
267
266
  }
268
267
 
269
- [data-ui='button-group'][data-part='root']
270
- > [data-ui='button'][data-variant='ghost'][data-pressed],
271
- [data-ui='button-group'][data-part='root']
272
- > [data-ui='button'][data-variant='ghost'][data-disabled],
273
- [data-ui='button-group'][data-part='root'] > [data-ui='button'][data-variant='ghost']:disabled {
268
+ [data-ui-button-group][data-part-root] > [data-ui-button][data-variant='ghost'][data-pressed],
269
+ [data-ui-button-group][data-part-root] > [data-ui-button][data-variant='ghost'][data-disabled],
270
+ [data-ui-button-group][data-part-root] > [data-ui-button][data-variant='ghost']:disabled {
274
271
  border-color: transparent;
275
272
  }
276
273
 
@@ -278,7 +275,7 @@
278
275
  * ── One border in each shared column ──────────────────────────────────
279
276
  *
280
277
  * The overlap puts two borders in the same one-pixel column. They are the
281
- * same colour and the same width, so on paper they are one line — and they
278
+ * same color and the same width, so on paper they are one line — and they
282
279
  * are, until the page is zoomed. The browser snaps each border box to device
283
280
  * pixels on its own, so at 110%, 150% and 175% one boundary lands on a single
284
281
  * column and the next lands across two, and a bar of equal dividers renders
@@ -297,19 +294,19 @@
297
294
  * not the last run gives it up too: the next run's first control follows it
298
295
  * in the same column.
299
296
  */
300
- [data-ui='button-group'][data-part='root']:not([data-orientation='vertical'])
301
- > [data-ui='button']:not(:last-child),
302
- [data-ui='button-group'][data-part='root']:not([data-orientation='vertical'])
303
- > [data-ui='button-group']:not(:last-child)
304
- > [data-ui='button']:last-child {
297
+ [data-ui-button-group][data-part-root]:not([data-orientation='vertical'])
298
+ > [data-ui-button]:not(:last-child),
299
+ [data-ui-button-group][data-part-root]:not([data-orientation='vertical'])
300
+ > [data-ui-button-group]:not(:last-child)
301
+ > [data-ui-button]:last-child {
305
302
  border-inline-end-color: transparent;
306
303
  }
307
304
 
308
- [data-ui='button-group'][data-part='root'][data-orientation='vertical']
309
- > [data-ui='button']:not(:last-child),
310
- [data-ui='button-group'][data-part='root'][data-orientation='vertical']
311
- > [data-ui='button-group']:not(:last-child)
312
- > [data-ui='button']:last-child {
305
+ [data-ui-button-group][data-part-root][data-orientation='vertical']
306
+ > [data-ui-button]:not(:last-child),
307
+ [data-ui-button-group][data-part-root][data-orientation='vertical']
308
+ > [data-ui-button-group]:not(:last-child)
309
+ > [data-ui-button]:last-child {
313
310
  border-block-end-color: transparent;
314
311
  }
315
312
 
@@ -333,37 +330,41 @@
333
330
  * `data-tone`, which `button` declares in public, so this is composition
334
331
  * against a contract rather than against internal DOM.
335
332
  */
336
- [data-ui='button-group'] > [data-tone='accent'] {
333
+ [data-ui-button-group] > [data-tone='accent'] {
337
334
  --_seam: var(--slotted-tone-accent-solid-active);
338
335
  }
339
336
 
340
- [data-ui='button-group'] > [data-tone='secondary'] {
337
+ [data-ui-button-group] > [data-tone='secondary'] {
341
338
  --_seam: var(--slotted-tone-secondary-solid-active);
342
339
  }
343
340
 
344
- [data-ui='button-group'] > [data-tone='neutral'] {
341
+ [data-ui-button-group] > [data-tone='neutral'] {
345
342
  --_seam: var(--slotted-tone-neutral-solid-active);
346
343
  }
347
344
 
348
- [data-ui='button-group'] > [data-tone='success'] {
345
+ [data-ui-button-group] > [data-tone='success'] {
349
346
  --_seam: var(--slotted-tone-success-solid-active);
350
347
  }
351
348
 
352
- [data-ui='button-group'] > [data-tone='warning'] {
349
+ [data-ui-button-group] > [data-tone='info'] {
350
+ --_seam: var(--slotted-tone-info-solid-active);
351
+ }
352
+
353
+ [data-ui-button-group] > [data-tone='warning'] {
353
354
  --_seam: var(--slotted-tone-warning-solid-active);
354
355
  }
355
356
 
356
- [data-ui='button-group'] > [data-tone='danger'] {
357
+ [data-ui-button-group] > [data-tone='danger'] {
357
358
  --_seam: var(--slotted-tone-danger-solid-active);
358
359
  }
359
360
 
360
- [data-ui='button-group'][data-part='root']:not([data-orientation='vertical'])
361
- > [data-ui='button'][data-variant='solid']:not(:first-child) {
361
+ [data-ui-button-group][data-part-root]:not([data-orientation='vertical'])
362
+ > [data-ui-button][data-variant='solid']:not(:first-child) {
362
363
  border-inline-start-color: var(--_seam, ButtonBorder);
363
364
  }
364
365
 
365
- [data-ui='button-group'][data-part='root'][data-orientation='vertical']
366
- > [data-ui='button'][data-variant='solid']:not(:first-child) {
366
+ [data-ui-button-group][data-part-root][data-orientation='vertical']
367
+ > [data-ui-button][data-variant='solid']:not(:first-child) {
367
368
  border-block-start-color: var(--_seam, ButtonBorder);
368
369
  }
369
370
 
@@ -374,18 +375,18 @@
374
375
  * in those libraries a touched control repaints its own edge; here the edge
375
376
  * is the group's, so nothing about it changes and there is nothing to lift.
376
377
  */
377
- [data-ui='button-group'] > *:focus-visible,
378
- [data-ui='button-group'] > *:has(:focus-visible) {
378
+ [data-ui-button-group] > *:focus-visible,
379
+ [data-ui-button-group] > *:has(:focus-visible) {
379
380
  z-index: 1;
380
381
  }
381
382
 
382
383
  /**
383
- * Under forced colours the theme flattens every fill, so a segment that is
384
+ * Under forced colors the theme flattens every fill, so a segment that is
384
385
  * on has only its edge left to say so. `button` makes that edge `Highlight`;
385
386
  * the rule above would have taken it away, and this puts it back.
386
387
  */
387
388
  @media (forced-colors: active) {
388
- [data-ui='button-group'][data-part='root'] > [data-ui='button'][data-pressed] {
389
+ [data-ui-button-group][data-part-root] > [data-ui-button][data-pressed] {
389
390
  border-color: Highlight;
390
391
  }
391
392
  }
@@ -400,7 +401,7 @@
400
401
  * family's DOM a private API of another, which is the coupling
401
402
  * `identity.test.mjs` exists to refuse.
402
403
  *
403
- * A joined bar is one shape, and a rule is not licence to cut it. So the
404
+ * A joined bar is one shape, and a rule is not license to cut it. So the
404
405
  * rule is not a box at all: it takes no width, no height and no margin, and
405
406
  * what it marks is painted on the leading edge of the control that follows
406
407
  * it — the one edge the overlap already leaves in the shared column.
@@ -413,7 +414,7 @@
413
414
  * than as a boundary. Nothing about the bar's shape changes now — the
414
415
  * corners, the height and the overlap are what they are without the rule.
415
416
  */
416
- [data-ui='button-group'] > [data-part='separator'] {
417
+ [data-ui-button-group] > [data-part-separator] {
417
418
  background: none;
418
419
  block-size: 0;
419
420
  border: 0;
@@ -424,7 +425,7 @@
424
425
 
425
426
  /**
426
427
  * One step stronger than the seams around it, because a boundary painted in
427
- * the seam's own colour is a seam. `--slotted-text-muted` is the quietest
428
+ * the seam's own color is a seam. `--slotted-text-muted` is the quietest
428
429
  * tone in the foundation that still reads darker than `--slotted-border-
429
430
  * strong`, and it carries the difference the eye needs without the weight a
430
431
  * thicker line would add. In a frameless bar it is the only line there is,
@@ -437,23 +438,23 @@
437
438
  * a rule inside a filled run is the seam, drawn where the consumer asked
438
439
  * for it.
439
440
  */
440
- [data-ui='button-group'][data-part='root']:not([data-orientation='vertical'])
441
- > [data-part='separator']
442
- + [data-ui='button']:not([data-variant='solid']),
443
- [data-ui='button-group'][data-part='root']:not([data-orientation='vertical'])
444
- > [data-part='separator']
445
- + [data-ui='button-group']
446
- > [data-ui='button']:first-child:not([data-variant='solid']) {
441
+ [data-ui-button-group][data-part-root]:not([data-orientation='vertical'])
442
+ > [data-part-separator]
443
+ + [data-ui-button]:not([data-variant='solid']),
444
+ [data-ui-button-group][data-part-root]:not([data-orientation='vertical'])
445
+ > [data-part-separator]
446
+ + [data-ui-button-group]
447
+ > [data-ui-button]:first-child:not([data-variant='solid']) {
447
448
  border-inline-start-color: var(--slotted-text-muted, ButtonBorder);
448
449
  }
449
450
 
450
- [data-ui='button-group'][data-part='root'][data-orientation='vertical']
451
- > [data-part='separator']
452
- + [data-ui='button']:not([data-variant='solid']),
453
- [data-ui='button-group'][data-part='root'][data-orientation='vertical']
454
- > [data-part='separator']
455
- + [data-ui='button-group']
456
- > [data-ui='button']:first-child:not([data-variant='solid']) {
451
+ [data-ui-button-group][data-part-root][data-orientation='vertical']
452
+ > [data-part-separator]
453
+ + [data-ui-button]:not([data-variant='solid']),
454
+ [data-ui-button-group][data-part-root][data-orientation='vertical']
455
+ > [data-part-separator]
456
+ + [data-ui-button-group]
457
+ > [data-ui-button]:first-child:not([data-variant='solid']) {
457
458
  border-block-start-color: var(--slotted-text-muted, ButtonBorder);
458
459
  }
459
460
  }
@@ -5,6 +5,7 @@
5
5
  "--slotted-text-muted",
6
6
  "--slotted-tone-accent-solid-active",
7
7
  "--slotted-tone-danger-solid-active",
8
+ "--slotted-tone-info-solid-active",
8
9
  "--slotted-tone-neutral-solid-active",
9
10
  "--slotted-tone-secondary-solid-active",
10
11
  "--slotted-tone-success-solid-active",