@slotted/styles 0.1.0-beta.3 → 0.1.0-beta.31

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 (205) hide show
  1. package/package.json +13 -1
  2. package/src/accordion/accordion.css +11 -11
  3. package/src/action-bar/action-bar.css +47 -44
  4. package/src/action-bar/action-bar.tokens.json +1 -0
  5. package/src/action-sheet/action-sheet.css +39 -39
  6. package/src/alert/alert.css +97 -97
  7. package/src/alert/alert.tokens.json +6 -1
  8. package/src/app-shell/app-shell.css +456 -329
  9. package/src/app-shell/app-shell.tokens.json +6 -3
  10. package/src/aspect-ratio/aspect-ratio.css +9 -9
  11. package/src/attachment/attachment.css +118 -114
  12. package/src/avatar/avatar.css +96 -66
  13. package/src/avatar/avatar.tokens.json +7 -0
  14. package/src/avatar-group/avatar-group.css +22 -23
  15. package/src/badge/badge.css +54 -46
  16. package/src/badge/badge.tokens.json +5 -0
  17. package/src/breadcrumb/breadcrumb.css +52 -52
  18. package/src/button/button.css +137 -89
  19. package/src/button/button.tokens.json +5 -0
  20. package/src/button-group/button-group.css +80 -79
  21. package/src/button-group/button-group.tokens.json +1 -0
  22. package/src/calendar/calendar.css +139 -109
  23. package/src/calendar/calendar.tokens.json +5 -1
  24. package/src/card/card.css +70 -67
  25. package/src/card/card.tokens.json +1 -0
  26. package/src/carousel/carousel.css +158 -169
  27. package/src/cascader/cascader.css +161 -159
  28. package/src/cascader/cascader.tokens.json +2 -0
  29. package/src/chart/chart.css +288 -267
  30. package/src/chart/chart.tokens.json +4 -0
  31. package/src/checkbox/checkbox.css +143 -148
  32. package/src/checkbox-group/checkbox-group.css +7 -7
  33. package/src/code-block/code-block.css +85 -89
  34. package/src/collapsible/collapsible.css +81 -80
  35. package/src/collapsible/collapsible.tokens.json +1 -0
  36. package/src/color-picker/color-picker.css +106 -114
  37. package/src/column-manager/column-manager.css +111 -119
  38. package/src/combobox/combobox.css +206 -132
  39. package/src/combobox/combobox.tokens.json +4 -0
  40. package/src/command-palette/command-palette.css +155 -102
  41. package/src/command-palette/command-palette.tokens.json +2 -0
  42. package/src/container/container.css +27 -27
  43. package/src/context-menu/context-menu.css +9 -9
  44. package/src/currency-field/currency-field.css +119 -119
  45. package/src/currency-field/currency-field.tokens.json +1 -0
  46. package/src/dashboard-grid/dashboard-grid.css +204 -115
  47. package/src/data-grid/data-grid.css +598 -496
  48. package/src/data-grid/data-grid.tokens.json +5 -1
  49. package/src/data-list/data-list.css +82 -71
  50. package/src/data-list/data-list.tokens.json +2 -1
  51. package/src/date-field/date-field.css +62 -57
  52. package/src/date-field/date-field.tokens.json +1 -0
  53. package/src/date-picker/date-picker.css +117 -58
  54. package/src/date-picker/date-picker.tokens.json +5 -0
  55. package/src/date-range-picker/date-range-picker.css +157 -127
  56. package/src/date-range-picker/date-range-picker.tokens.json +4 -0
  57. package/src/datetime-field/datetime-field.css +90 -90
  58. package/src/datetime-field/datetime-field.tokens.json +1 -0
  59. package/src/datetime-picker/datetime-picker.css +123 -70
  60. package/src/datetime-picker/datetime-picker.tokens.json +4 -1
  61. package/src/datetime-range-picker/datetime-range-picker.css +191 -163
  62. package/src/datetime-range-picker/datetime-range-picker.tokens.json +4 -0
  63. package/src/description-list/description-list.css +105 -75
  64. package/src/description-list/description-list.tokens.json +1 -0
  65. package/src/detail-panel/detail-panel.css +86 -71
  66. package/src/detail-panel/detail-panel.tokens.json +2 -0
  67. package/src/dialog/dialog.css +435 -199
  68. package/src/dialog/dialog.tokens.json +9 -0
  69. package/src/divider/divider.css +20 -20
  70. package/src/drawer/drawer.css +598 -237
  71. package/src/drawer/drawer.tokens.json +14 -0
  72. package/src/entity-picker/entity-picker.css +326 -272
  73. package/src/entity-picker/entity-picker.tokens.json +4 -0
  74. package/src/event-calendar/event-calendar.css +357 -399
  75. package/src/field/field.css +106 -93
  76. package/src/field/field.tokens.json +2 -0
  77. package/src/field-group/field-group.css +43 -33
  78. package/src/field-group/field-group.tokens.json +3 -0
  79. package/src/filter-bar/filter-bar.css +200 -216
  80. package/src/form/form.css +100 -26
  81. package/src/form/form.tokens.json +6 -1
  82. package/src/fullscreen/fullscreen.css +26 -27
  83. package/src/grid/grid.css +29 -29
  84. package/src/highlight/highlight.css +11 -11
  85. package/src/hover-card/hover-card.css +9 -9
  86. package/src/icon/icon.css +67 -20
  87. package/src/icon/icon.tokens.json +1 -0
  88. package/src/image/image.css +42 -42
  89. package/src/import-export-center/import-export-center.css +147 -168
  90. package/src/import-export-center/import-export-center.tokens.json +1 -0
  91. package/src/inline/inline.css +28 -28
  92. package/src/inline-message/inline-message.css +162 -86
  93. package/src/inline-message/inline-message.tokens.json +4 -0
  94. package/src/kbd/kbd.css +62 -50
  95. package/src/kbd/kbd.tokens.json +3 -0
  96. package/src/link/link.css +54 -33
  97. package/src/link/link.tokens.json +4 -0
  98. package/src/list/list.css +23 -23
  99. package/src/list-item/list-item.css +89 -75
  100. package/src/list-item/list-item.tokens.json +7 -0
  101. package/src/listbox/listbox.css +71 -70
  102. package/src/listbox/listbox.tokens.json +0 -1
  103. package/src/loading-overlay/loading-overlay.css +86 -103
  104. package/src/markdown/markdown.css +20 -20
  105. package/src/media-viewer/media-viewer.css +790 -0
  106. package/src/media-viewer/media-viewer.tokens.json +53 -0
  107. package/src/menu/menu.css +166 -83
  108. package/src/menu/menu.tokens.json +3 -1
  109. package/src/menubar/menubar.css +16 -16
  110. package/src/message/message.css +1253 -1246
  111. package/src/message/message.tokens.json +5 -0
  112. package/src/message-scroller/message-scroller.css +323 -320
  113. package/src/multi-select/multi-select.css +233 -174
  114. package/src/multi-select/multi-select.tokens.json +3 -0
  115. package/src/navigation-menu/navigation-menu.css +170 -191
  116. package/src/navigation-menu/navigation-menu.tokens.json +1 -0
  117. package/src/notification-center/notification-center.css +155 -163
  118. package/src/notification-center/notification-center.tokens.json +4 -0
  119. package/src/number-field/number-field.css +93 -93
  120. package/src/number-field/number-field.tokens.json +1 -0
  121. package/src/otp-input/otp-input.css +74 -64
  122. package/src/otp-input/otp-input.tokens.json +1 -0
  123. package/src/page/page.css +41 -27
  124. package/src/page/page.tokens.json +1 -0
  125. package/src/page-header/page-header.css +342 -287
  126. package/src/page-header/page-header.tokens.json +6 -1
  127. package/src/pagination/pagination.css +75 -79
  128. package/src/popover/popover.css +85 -65
  129. package/src/popover/popover.tokens.json +2 -0
  130. package/src/progress-indicator/progress-indicator.css +192 -136
  131. package/src/progress-indicator/progress-indicator.tokens.json +1 -0
  132. package/src/prompt-composer/prompt-composer.css +260 -113
  133. package/src/prompt-composer/prompt-composer.tokens.json +15 -0
  134. package/src/prose/prose.css +77 -82
  135. package/src/radio-group/radio-group.css +107 -112
  136. package/src/rating/rating.css +146 -142
  137. package/src/rating/rating.tokens.json +1 -0
  138. package/src/result-state/result-state.css +95 -102
  139. package/src/result-state/result-state.tokens.json +1 -0
  140. package/src/runtime-properties.mjs +19 -6
  141. package/src/saved-views/saved-views.css +43 -49
  142. package/src/scroll-area/scroll-area.css +50 -37
  143. package/src/section/section.css +179 -44
  144. package/src/section/section.tokens.json +9 -3
  145. package/src/segmented-control/segmented-control.css +210 -133
  146. package/src/segmented-control/segmented-control.tokens.json +7 -11
  147. package/src/select/select.css +213 -149
  148. package/src/select/select.tokens.json +4 -0
  149. package/src/side-navigation/side-navigation.css +201 -198
  150. package/src/side-navigation/side-navigation.tokens.json +1 -0
  151. package/src/skeleton/skeleton.css +57 -58
  152. package/src/slider/slider.css +101 -103
  153. package/src/sparkline/sparkline.css +75 -53
  154. package/src/sparkline/sparkline.tokens.json +2 -0
  155. package/src/spinner/spinner.css +83 -180
  156. package/src/spinner/spinner.tokens.json +0 -1
  157. package/src/split-button/split-button.css +34 -35
  158. package/src/split-button/split-button.tokens.json +1 -0
  159. package/src/splitter/splitter.css +47 -48
  160. package/src/stack/stack.css +25 -25
  161. package/src/stat-card/stat-card.css +415 -245
  162. package/src/stat-card/stat-card.tokens.json +8 -0
  163. package/src/status-indicator/status-indicator.css +124 -100
  164. package/src/status-indicator/status-indicator.tokens.json +0 -3
  165. package/src/stepper/stepper.css +78 -82
  166. package/src/switch/switch.css +100 -106
  167. package/src/table/table.css +270 -198
  168. package/src/table/table.tokens.json +2 -0
  169. package/src/table-of-contents/table-of-contents.css +60 -59
  170. package/src/table-of-contents/table-of-contents.tokens.json +1 -0
  171. package/src/tabs/tabs.css +327 -294
  172. package/src/tabs/tabs.tokens.json +7 -1
  173. package/src/tag/tag.css +109 -88
  174. package/src/tag/tag.tokens.json +10 -0
  175. package/src/tags-input/tags-input.css +152 -87
  176. package/src/tags-input/tags-input.tokens.json +7 -1
  177. package/src/text-field/text-field.css +146 -148
  178. package/src/text-field/text-field.tokens.json +1 -0
  179. package/src/textarea/textarea.css +38 -33
  180. package/src/textarea/textarea.tokens.json +1 -0
  181. package/src/time-field/time-field.css +82 -77
  182. package/src/time-field/time-field.tokens.json +1 -0
  183. package/src/time-picker/time-picker.css +116 -64
  184. package/src/time-picker/time-picker.tokens.json +4 -1
  185. package/src/time-range-picker/time-range-picker.css +168 -140
  186. package/src/time-range-picker/time-range-picker.tokens.json +4 -0
  187. package/src/timeline/timeline.css +280 -292
  188. package/src/timeline/timeline.tokens.json +5 -0
  189. package/src/toast/toast.css +139 -122
  190. package/src/toast/toast.tokens.json +7 -0
  191. package/src/toggle/toggle.css +34 -38
  192. package/src/toggle-group/toggle-group.css +73 -77
  193. package/src/toolbar/toolbar.css +33 -38
  194. package/src/tooltip/tooltip.css +65 -39
  195. package/src/tooltip/tooltip.tokens.json +1 -0
  196. package/src/top-navigation/top-navigation.css +252 -268
  197. package/src/tour/tour.css +68 -74
  198. package/src/tour/tour.tokens.json +1 -0
  199. package/src/transfer/transfer.css +164 -168
  200. package/src/tree/tree.css +113 -121
  201. package/src/typography/typography.css +42 -38
  202. package/src/typography/typography.tokens.json +1 -0
  203. package/src/upload/upload.css +256 -257
  204. package/src/visually-hidden/visually-hidden.css +1 -1
  205. package/src/wizard/wizard.css +187 -199
@@ -1,7 +1,7 @@
1
1
  [
2
+ "--slotted-action-gap",
2
3
  "--slotted-border-subtle",
3
4
  "--slotted-border-width-thin",
4
- "--slotted-control-gap-md",
5
5
  "--slotted-control-gap-sm",
6
6
  "--slotted-control-height-md",
7
7
  "--slotted-control-height-sm",
@@ -31,11 +31,15 @@
31
31
  "--slotted-line-height-md",
32
32
  "--slotted-line-height-sm",
33
33
  "--slotted-line-height-xl",
34
+ "--slotted-material-backdrop",
35
+ "--slotted-page-header-backdrop-filter",
34
36
  "--slotted-page-header-background",
35
37
  "--slotted-page-header-border",
36
38
  "--slotted-page-header-control-size",
37
39
  "--slotted-page-header-description-measure",
38
40
  "--slotted-page-header-gap",
41
+ "--slotted-page-header-ground-duration",
42
+ "--slotted-page-header-ground-easing",
39
43
  "--slotted-page-header-heading-size-lg",
40
44
  "--slotted-page-header-heading-size-md",
41
45
  "--slotted-page-header-heading-size-sm",
@@ -57,6 +61,7 @@
57
61
  "--slotted-space-5",
58
62
  "--slotted-space-6",
59
63
  "--slotted-surface",
64
+ "--slotted-surface-material",
60
65
  "--slotted-target-comfortable",
61
66
  "--slotted-target-min",
62
67
  "--slotted-text",
@@ -11,7 +11,7 @@
11
11
  * its own `container-name`, so a paginator nested inside another family's
12
12
  * container answers its own inline size and not that one's.
13
13
  */
14
- [data-ui='pagination'] {
14
+ [data-ui-pagination] {
15
15
  --_target: var(--slotted-pagination-target, var(--slotted-control-height-md, 34px));
16
16
  --_radius: var(--slotted-pagination-radius, var(--slotted-control-radius, 4px));
17
17
  --_muted: var(--slotted-pagination-color-muted, var(--slotted-text-muted, GrayText));
@@ -54,7 +54,7 @@
54
54
  * figures are tabular.
55
55
  */
56
56
 
57
- [data-ui='pagination'] [data-part='list'] {
57
+ [data-ui-pagination] [data-part-list] {
58
58
  align-items: center;
59
59
  column-gap: var(--slotted-pagination-item-gap, var(--slotted-space-1, 0.125rem));
60
60
  display: flex;
@@ -63,42 +63,41 @@
63
63
  padding: 0;
64
64
  }
65
65
 
66
- [data-ui='pagination'] [data-part='item'] {
66
+ [data-ui-pagination] [data-part-item] {
67
67
  display: flex;
68
68
  }
69
69
 
70
- [data-ui='pagination']
71
- :is([data-part='status'], [data-part='summary'], [data-part='page-size-label']) {
70
+ [data-ui-pagination] :is([data-part-status], [data-part-summary], [data-part-page-size-label]) {
72
71
  margin-inline: var(--slotted-pagination-text-gap, var(--slotted-space-4, 0.5rem));
73
72
  }
74
73
 
75
74
  /* The air belongs between things, never against the family's own edge. */
76
- [data-ui='pagination']
77
- :is([data-part='status'], [data-part='summary'], [data-part='page-size-label']):first-child {
75
+ [data-ui-pagination]
76
+ :is([data-part-status], [data-part-summary], [data-part-page-size-label]):first-child {
78
77
  margin-inline-start: 0;
79
78
  }
80
79
 
81
- [data-ui='pagination']
82
- :is([data-part='status'], [data-part='summary'], [data-part='page-size-label']):last-child {
80
+ [data-ui-pagination]
81
+ :is([data-part-status], [data-part-summary], [data-part-page-size-label]):last-child {
83
82
  margin-inline-end: 0;
84
83
  }
85
84
 
86
85
  /* Two sentences side by side share one step of air, not two: the page
87
86
  size's label and the range read eighteen pixels apart while the range
88
87
  and the trigger read ten. */
89
- [data-ui='pagination']
90
- :is([data-part='status'], [data-part='summary'], [data-part='page-size-label'])
91
- + :is([data-part='status'], [data-part='summary'], [data-part='page-size-label']) {
88
+ [data-ui-pagination]
89
+ :is([data-part-status], [data-part-summary], [data-part-page-size-label])
90
+ + :is([data-part-status], [data-part-summary], [data-part-page-size-label]) {
92
91
  margin-inline-start: 0;
93
92
  }
94
93
 
95
- [data-ui='pagination']
94
+ [data-ui-pagination]
96
95
  :is(
97
- [data-part='page'],
98
- [data-part='first'],
99
- [data-part='previous'],
100
- [data-part='next'],
101
- [data-part='last']
96
+ [data-part-page],
97
+ [data-part-first],
98
+ [data-part-previous],
99
+ [data-part-next],
100
+ [data-part-last]
102
101
  ) {
103
102
  align-items: center;
104
103
  appearance: none;
@@ -137,20 +136,20 @@
137
136
  * as unavailable, which is the difference this family needs to keep for the
138
137
  * trigger that actually is.
139
138
  */
140
- [data-ui='pagination'] [data-part='page']:not([aria-current]:not([aria-current='false'])) {
139
+ [data-ui-pagination] [data-part-page]:not([aria-current]:not([aria-current='false'])) {
141
140
  color: var(--_muted);
142
141
  }
143
142
 
144
143
  /**
145
144
  * The page the reader is on. It is a solid fill rather than a heavier weight
146
145
  * or a border, for the reason the breadcrumb gives its last crumb the
147
- * strongest colour: a row of numbers is scanned rather than read, and a fill
146
+ * strongest color: a row of numbers is scanned rather than read, and a fill
148
147
  * is the only difference visible at a glance. `aria-current="page"` is what
149
148
  * paints it — the value the ARIA specification names for a link inside a set
150
149
  * of pagination links — so what a screen reader announces and what the eye
151
150
  * sees are one fact rather than two.
152
151
  */
153
- [data-ui='pagination'] [data-part='page'][aria-current]:not([aria-current='false']) {
152
+ [data-ui-pagination] [data-part-page][aria-current]:not([aria-current='false']) {
154
153
  background-color: var(
155
154
  --slotted-pagination-current-surface,
156
155
  var(--slotted-tone-accent-solid, Highlight)
@@ -171,38 +170,38 @@
171
170
  * different page.
172
171
  */
173
172
 
174
- [data-ui='pagination']
173
+ [data-ui-pagination]
175
174
  :is(
176
- [data-part='page'],
177
- [data-part='first'],
178
- [data-part='previous'],
179
- [data-part='next'],
180
- [data-part='last']
175
+ [data-part-page],
176
+ [data-part-first],
177
+ [data-part-previous],
178
+ [data-part-next],
179
+ [data-part-last]
181
180
  ):not([data-disabled], [data-loading], [aria-current]:not([aria-current='false'])):hover {
182
181
  background-color: var(--_hover-surface);
183
182
  color: var(--_strong);
184
183
  }
185
184
 
186
- [data-ui='pagination']
185
+ [data-ui-pagination]
187
186
  :is(
188
- [data-part='page'],
189
- [data-part='first'],
190
- [data-part='previous'],
191
- [data-part='next'],
192
- [data-part='last']
187
+ [data-part-page],
188
+ [data-part-first],
189
+ [data-part-previous],
190
+ [data-part-next],
191
+ [data-part-last]
193
192
  ):not([data-disabled], [data-loading], [aria-current]:not([aria-current='false'])):active {
194
193
  background-color: var(--_active-surface);
195
194
  color: var(--_strong);
196
195
  }
197
196
 
198
- [data-ui='pagination']
197
+ [data-ui-pagination]
199
198
  :is(
200
- [data-part='page'],
201
- [data-part='first'],
202
- [data-part='previous'],
203
- [data-part='next'],
204
- [data-part='last'],
205
- [data-part='page-size']
199
+ [data-part-page],
200
+ [data-part-first],
201
+ [data-part-previous],
202
+ [data-part-next],
203
+ [data-part-last],
204
+ [data-part-page-size]
206
205
  ):focus-visible {
207
206
  outline: var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);
208
207
  outline-offset: var(--slotted-focus-ring-offset, 2px);
@@ -215,11 +214,11 @@
215
214
  * destination the binding did not render, which is the shape `link` already
216
215
  * ships and the only one that stops a middle click as well as a left one.
217
216
  */
218
- [data-ui='pagination'] :is([data-disabled], [data-loading]) {
217
+ [data-ui-pagination] :is([data-disabled], [data-loading]) {
219
218
  color: var(--slotted-pagination-color-disabled, var(--slotted-disabled-foreground, GrayText));
220
219
  }
221
220
 
222
- [data-ui='pagination'] [data-disabled] {
221
+ [data-ui-pagination] [data-disabled] {
223
222
  cursor: not-allowed;
224
223
  }
225
224
 
@@ -230,11 +229,8 @@
230
229
  * `STATE_PRECEDENCE` — a saturated chip inside a grey row reads as the one
231
230
  * thing still operable, which is exactly backwards.
232
231
  */
233
- [data-ui='pagination']
234
- [data-part='page'][aria-current]:not([aria-current='false']):is(
235
- [data-disabled],
236
- [data-loading]
237
- ) {
232
+ [data-ui-pagination]
233
+ [data-part-page][aria-current]:not([aria-current='false']):is([data-disabled], [data-loading]) {
238
234
  background-color: var(--slotted-disabled-background, Canvas);
239
235
  color: var(--slotted-disabled-foreground, GrayText);
240
236
  }
@@ -244,7 +240,7 @@
244
240
  * paginator that emptied itself while loading would move the control the
245
241
  * reader is about to press again.
246
242
  */
247
- [data-ui='pagination'] [data-loading] {
243
+ [data-ui-pagination] [data-loading] {
248
244
  cursor: progress;
249
245
  }
250
246
 
@@ -256,7 +252,7 @@
256
252
  * content, and omitted content is exactly what it holds. It is announced to
257
253
  * nobody, which is what Zag, MUI and Primer all ship.
258
254
  */
259
- [data-ui='pagination'] [data-part='ellipsis'] {
255
+ [data-ui-pagination] [data-part-ellipsis] {
260
256
  align-items: center;
261
257
  block-size: var(--_target);
262
258
  color: var(--_muted);
@@ -266,9 +262,9 @@
266
262
  line-height: 1;
267
263
  min-inline-size: var(--_target);
268
264
  /**
269
- * The ink of an ellipsis sits on the baseline, and a centred line box puts
265
+ * The ink of an ellipsis sits on the baseline, and a centerd line box puts
270
266
  * the baseline below the middle of the box. Half a cap height is the
271
- * distance from the baseline to the optical centre of Latin text.
267
+ * distance from the baseline to the optical center of Latin text.
272
268
  */
273
269
  translate: 0 calc(-1 * var(--slotted-pagination-ellipsis-lift, 0.5cap));
274
270
  }
@@ -278,7 +274,7 @@
278
274
  * One chevron for a step and two for an end: the `chevron-right` and
279
275
  * `chevrons-right` Glyph elements the bindings render in each trigger, both
280
276
  * stroked with `currentColor` so each follows the state its button is in —
281
- * including the muted colour a disabled trigger takes, which is why neither
277
+ * including the muted color a disabled trigger takes, which is why neither
282
278
  * needs a rule of its own.
283
279
  *
284
280
  * Mirroring is stated twice rather than once, because there are two facts:
@@ -289,12 +285,12 @@
289
285
  * compose, and a chevron turned half a turn is the chevron flipped.
290
286
  */
291
287
 
292
- [data-ui='pagination']
293
- :is([data-part='first'], [data-part='previous'], [data-part='next'], [data-part='last']) {
288
+ [data-ui-pagination]
289
+ :is([data-part-first], [data-part-previous], [data-part-next], [data-part-last]) {
294
290
  --slotted-icon-size: var(--_glyph);
295
291
  }
296
292
 
297
- [data-ui='pagination'] :is([data-part='first'], [data-part='previous']) > [data-ui='icon'] {
293
+ [data-ui-pagination] :is([data-part-first], [data-part-previous]) > [data-ui-icon] {
298
294
  rotate: 0.5turn;
299
295
  }
300
296
 
@@ -307,7 +303,7 @@
307
303
  * the breakpoint.
308
304
  */
309
305
 
310
- [data-ui='pagination'] :is([data-part='status'], [data-part='summary']) {
306
+ [data-ui-pagination] :is([data-part-status], [data-part-summary]) {
311
307
  color: var(--_muted);
312
308
  font-variant-numeric: tabular-nums;
313
309
  /* Only the paragraph's own block margin: the inline air between the
@@ -322,11 +318,11 @@
322
318
  * consumer wrote, and forbidding it to wrap pushed the trigger after it onto
323
319
  * a line of its own at 240 pixels.
324
320
  */
325
- [data-ui='pagination'] [data-part='summary'] {
321
+ [data-ui-pagination] [data-part-summary] {
326
322
  white-space: nowrap;
327
323
  }
328
324
 
329
- [data-ui='pagination'] [data-part='summary'] {
325
+ [data-ui-pagination] [data-part-summary] {
330
326
  align-items: center;
331
327
  block-size: var(--_target);
332
328
  display: none;
@@ -345,11 +341,11 @@
345
341
  * control its accessible name from the platform and gives the bindings
346
342
  * somewhere to put the chevron: the `chevron-down` Glyph element after the
347
343
  * select, laid over its end. A `select` takes no children of its own, and a
348
- * chevron drawn as a `background-image` would be one fixed colour in a
344
+ * chevron drawn as a `background-image` would be one fixed color in a
349
345
  * family that has three schemes.
350
346
  */
351
347
 
352
- [data-ui='pagination'] [data-part='page-size-label'] {
348
+ [data-ui-pagination] [data-part-page-size-label] {
353
349
  align-items: center;
354
350
  color: var(--_muted);
355
351
  column-gap: var(--slotted-pagination-page-size-gap, var(--slotted-space-3, 0.375rem));
@@ -358,7 +354,7 @@
358
354
  white-space: nowrap;
359
355
  }
360
356
 
361
- [data-ui='pagination'] [data-part='page-size-label'] > [data-ui='icon'] {
357
+ [data-ui-pagination] [data-part-page-size-label] > [data-ui-icon] {
362
358
  --slotted-icon-size: var(--_glyph);
363
359
 
364
360
  inset-block-start: 50%;
@@ -369,7 +365,7 @@
369
365
  translate: 0 -50%;
370
366
  }
371
367
 
372
- [data-ui='pagination'] [data-part='page-size'] {
368
+ [data-ui-pagination] [data-part-page-size] {
373
369
  appearance: none;
374
370
  background-color: var(
375
371
  --slotted-pagination-page-size-surface,
@@ -390,11 +386,11 @@
390
386
  var(--slotted-control-transition-easing);
391
387
  }
392
388
 
393
- [data-ui='pagination'] [data-part='page-size']:not(:disabled):hover {
389
+ [data-ui-pagination] [data-part-page-size]:not(:disabled):hover {
394
390
  border-color: var(--slotted-border-strong, ButtonBorder);
395
391
  }
396
392
 
397
- [data-ui='pagination'] [data-part='page-size']:disabled {
393
+ [data-ui-pagination] [data-part-page-size]:disabled {
398
394
  background-color: var(--slotted-disabled-background, Canvas);
399
395
  border-color: var(--slotted-disabled-border, GrayText);
400
396
  color: var(--slotted-disabled-foreground, GrayText);
@@ -415,11 +411,11 @@
415
411
  */
416
412
 
417
413
  @container slotted-pagination (max-width: 22rem) {
418
- [data-ui='pagination'] [data-part='list'] {
414
+ [data-ui-pagination] [data-part-list] {
419
415
  display: none;
420
416
  }
421
417
 
422
- [data-ui='pagination'] [data-part='summary'] {
418
+ [data-ui-pagination] [data-part-summary] {
423
419
  display: flex;
424
420
  }
425
421
 
@@ -433,7 +429,7 @@
433
429
  * no summary, and hiding its range left two chevrons and no sentence at
434
430
  * all — which the 240-pixel capture showed and no test could have.
435
431
  */
436
- [data-ui='pagination']:has([data-part='summary']) [data-part='status'] {
432
+ [data-ui-pagination]:has([data-part-summary]) [data-part-status] {
437
433
  display: none;
438
434
  }
439
435
 
@@ -442,7 +438,7 @@
442
438
  * split across two. At this width the label and its select are most of the
443
439
  * row, and the trigger that did not fit landed alone underneath.
444
440
  */
445
- [data-ui='pagination'] [data-part='page-size-label'] {
441
+ [data-ui-pagination] [data-part-page-size-label] {
446
442
  flex-basis: 100%;
447
443
  margin-inline: 0;
448
444
  }
@@ -453,7 +449,7 @@
453
449
  * select still sized to its content left the mark floating in the gap
454
450
  * between the two.
455
451
  */
456
- [data-ui='pagination'] [data-part='page-size'] {
452
+ [data-ui-pagination] [data-part-page-size] {
457
453
  flex: 1;
458
454
  }
459
455
 
@@ -463,36 +459,36 @@
463
459
  * of its own. Basing it at nought lets the row keep every control on one
464
460
  * line and gives the sentence whatever is left.
465
461
  */
466
- [data-ui='pagination'] [data-part='status'] {
462
+ [data-ui-pagination] [data-part-status] {
467
463
  flex: 1 1 0;
468
464
  }
469
465
  }
470
466
 
471
- /* ── Forced colours ─────────────────────────────────────────────────────
467
+ /* ── Forced colors ─────────────────────────────────────────────────────
472
468
  *
473
469
  * The system replaces every painted surface with the page's own background,
474
470
  * which would take two things with it: the fill that is the only mark on
475
471
  * the current page, and the fill that answers the pointer.
476
472
  *
477
473
  * The chevrons need nothing: they are stroked with `currentColor`, the
478
- * button's own colour, which the system has already forced to the right
474
+ * button's own color, which the system has already forced to the right
479
475
  * value — including the grey a disabled trigger takes.
480
476
  */
481
477
 
482
478
  @media (forced-colors: active) {
483
- [data-ui='pagination'] [data-part='page'][aria-current]:not([aria-current='false']) {
479
+ [data-ui-pagination] [data-part-page][aria-current]:not([aria-current='false']) {
484
480
  background-color: Highlight;
485
481
  color: HighlightText;
486
482
  forced-color-adjust: none;
487
483
  }
488
484
 
489
- [data-ui='pagination']
485
+ [data-ui-pagination]
490
486
  :is(
491
- [data-part='page'],
492
- [data-part='first'],
493
- [data-part='previous'],
494
- [data-part='next'],
495
- [data-part='last']
487
+ [data-part-page],
488
+ [data-part-first],
489
+ [data-part-previous],
490
+ [data-part-next],
491
+ [data-part-last]
496
492
  ):not([data-disabled], [data-loading], [aria-current]:not([aria-current='false'])):hover {
497
493
  border-color: ButtonBorder;
498
494
  }