@slotted/styles 0.1.0-beta.29 → 0.1.0-beta.30

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 (124) hide show
  1. package/package.json +11 -1
  2. package/src/accordion/accordion.css +1 -1
  3. package/src/action-bar/action-bar.css +2 -2
  4. package/src/action-sheet/action-sheet.css +3 -3
  5. package/src/alert/alert.css +31 -32
  6. package/src/app-shell/app-shell.css +20 -20
  7. package/src/attachment/attachment.css +14 -14
  8. package/src/avatar/avatar.css +25 -25
  9. package/src/avatar-group/avatar-group.css +1 -1
  10. package/src/badge/badge.css +9 -9
  11. package/src/breadcrumb/breadcrumb.css +15 -15
  12. package/src/button/button.css +20 -20
  13. package/src/button-group/button-group.css +4 -4
  14. package/src/calendar/calendar.css +7 -7
  15. package/src/card/card.css +4 -4
  16. package/src/carousel/carousel.css +8 -8
  17. package/src/cascader/cascader.css +4 -4
  18. package/src/chart/chart.css +16 -16
  19. package/src/checkbox/checkbox.css +24 -24
  20. package/src/code-block/code-block.css +4 -4
  21. package/src/collapsible/collapsible.css +5 -5
  22. package/src/color-picker/color-picker.css +23 -23
  23. package/src/column-manager/column-manager.css +5 -5
  24. package/src/combobox/combobox.css +6 -6
  25. package/src/command-palette/command-palette.css +12 -12
  26. package/src/container/container.css +3 -3
  27. package/src/context-menu/context-menu.css +1 -1
  28. package/src/currency-field/currency-field.css +13 -13
  29. package/src/dashboard-grid/dashboard-grid.css +1 -1
  30. package/src/data-grid/data-grid.css +15 -15
  31. package/src/data-list/data-list.css +1 -1
  32. package/src/date-field/date-field.css +5 -5
  33. package/src/date-picker/date-picker.css +2 -2
  34. package/src/date-range-picker/date-range-picker.css +9 -10
  35. package/src/datetime-field/datetime-field.css +10 -10
  36. package/src/datetime-picker/datetime-picker.css +5 -5
  37. package/src/datetime-range-picker/datetime-range-picker.css +8 -8
  38. package/src/description-list/description-list.css +5 -5
  39. package/src/detail-panel/detail-panel.css +1 -1
  40. package/src/dialog/dialog.css +15 -15
  41. package/src/divider/divider.css +2 -2
  42. package/src/drawer/drawer.css +20 -20
  43. package/src/entity-picker/entity-picker.css +15 -15
  44. package/src/event-calendar/event-calendar.css +14 -14
  45. package/src/field/field.css +14 -14
  46. package/src/field-group/field-group.css +1 -2
  47. package/src/filter-bar/filter-bar.css +7 -7
  48. package/src/form/form.css +1 -1
  49. package/src/fullscreen/fullscreen.css +2 -2
  50. package/src/grid/grid.css +1 -1
  51. package/src/highlight/highlight.css +5 -5
  52. package/src/hover-card/hover-card.css +3 -3
  53. package/src/icon/icon.css +5 -5
  54. package/src/image/image.css +3 -3
  55. package/src/import-export-center/import-export-center.css +9 -9
  56. package/src/inline/inline.css +1 -1
  57. package/src/inline-message/inline-message.css +15 -15
  58. package/src/kbd/kbd.css +14 -14
  59. package/src/link/link.css +18 -18
  60. package/src/list/list.css +3 -3
  61. package/src/list-item/list-item.css +9 -9
  62. package/src/listbox/listbox.css +10 -10
  63. package/src/loading-overlay/loading-overlay.css +11 -11
  64. package/src/markdown/markdown.css +3 -3
  65. package/src/media-viewer/media-viewer.css +8 -8
  66. package/src/menu/menu.css +7 -7
  67. package/src/menubar/menubar.css +3 -3
  68. package/src/message/message.css +13 -13
  69. package/src/message-scroller/message-scroller.css +1 -1
  70. package/src/multi-select/multi-select.css +11 -11
  71. package/src/navigation-menu/navigation-menu.css +2 -2
  72. package/src/notification-center/notification-center.css +13 -13
  73. package/src/number-field/number-field.css +10 -10
  74. package/src/otp-input/otp-input.css +7 -7
  75. package/src/page-header/page-header.css +3 -3
  76. package/src/pagination/pagination.css +7 -7
  77. package/src/popover/popover.css +3 -3
  78. package/src/progress-indicator/progress-indicator.css +23 -23
  79. package/src/prompt-composer/prompt-composer.css +10 -10
  80. package/src/prose/prose.css +6 -7
  81. package/src/radio-group/radio-group.css +9 -9
  82. package/src/rating/rating.css +10 -10
  83. package/src/result-state/result-state.css +20 -24
  84. package/src/runtime-properties.mjs +6 -6
  85. package/src/saved-views/saved-views.css +2 -2
  86. package/src/scroll-area/scroll-area.css +5 -5
  87. package/src/section/section.css +1 -1
  88. package/src/segmented-control/segmented-control.css +16 -16
  89. package/src/select/select.css +13 -13
  90. package/src/side-navigation/side-navigation.css +14 -14
  91. package/src/skeleton/skeleton.css +10 -10
  92. package/src/slider/slider.css +15 -15
  93. package/src/sparkline/sparkline.css +13 -13
  94. package/src/spinner/spinner.css +1 -1
  95. package/src/split-button/split-button.css +4 -4
  96. package/src/splitter/splitter.css +12 -13
  97. package/src/stack/stack.css +1 -1
  98. package/src/stat-card/stat-card.css +3 -3
  99. package/src/status-indicator/status-indicator.css +22 -23
  100. package/src/stepper/stepper.css +20 -20
  101. package/src/switch/switch.css +14 -14
  102. package/src/table/table.css +11 -11
  103. package/src/table-of-contents/table-of-contents.css +3 -3
  104. package/src/tabs/tabs.css +8 -8
  105. package/src/tag/tag.css +14 -14
  106. package/src/tags-input/tags-input.css +6 -6
  107. package/src/text-field/text-field.css +13 -13
  108. package/src/textarea/textarea.css +5 -5
  109. package/src/time-field/time-field.css +8 -8
  110. package/src/time-picker/time-picker.css +3 -3
  111. package/src/time-range-picker/time-range-picker.css +8 -8
  112. package/src/timeline/timeline.css +26 -26
  113. package/src/toast/toast.css +26 -26
  114. package/src/toggle/toggle.css +5 -5
  115. package/src/toggle-group/toggle-group.css +6 -6
  116. package/src/toolbar/toolbar.css +3 -3
  117. package/src/tooltip/tooltip.css +1 -1
  118. package/src/top-navigation/top-navigation.css +9 -9
  119. package/src/tour/tour.css +13 -13
  120. package/src/transfer/transfer.css +4 -4
  121. package/src/tree/tree.css +10 -10
  122. package/src/typography/typography.css +2 -2
  123. package/src/upload/upload.css +32 -33
  124. package/src/wizard/wizard.css +2 -2
@@ -1,8 +1,7 @@
1
1
  @layer slotted.components {
2
2
  /**
3
3
  * A bar between two regions the consumer owns, and nothing else. The family
4
- * holds no panels — `docs/history/designs/2026-09-11-splitter-design.md`
5
- * section 1 — so this stylesheet paints one element and its two children and
4
+ * holds no panels, so this stylesheet paints one element and its two children and
6
5
  * writes no layout at all. A separator that sized the boxes beside it would
7
6
  * be deciding a layout it was only handed a position in.
8
7
  *
@@ -18,7 +17,7 @@
18
17
  [data-ui-splitter] {
19
18
  /**
20
19
  * The track is what the pointer sees and `--slotted-target-min` is what it
21
- * gets: `::before` below is a transparent box centred on the track, which
20
+ * gets: `::before` below is a transparent box centerd on the track, which
22
21
  * is the construction `drawer`'s resizer already uses to hold the WCAG 2.2
23
22
  * floor without widening the picture. One rem rather than the four pixels
24
23
  * `drawer` uses, because this bar carries a grip and four pixels cannot.
@@ -65,7 +64,7 @@
65
64
  --_dot: var(--slotted-space-2, 0.25rem);
66
65
 
67
66
  /**
68
- * Two steps, and the whole of the colour decision.
67
+ * Two steps, and the whole of the color decision.
69
68
  *
70
69
  * `--_rest` is the **strong** border step and not the subtle one, which is
71
70
  * a correction from the first capture: drawn in `--slotted-border-subtle`
@@ -74,11 +73,11 @@
74
73
  * subtle step is for a rule inside one surface; this is the boundary
75
74
  * between two, which is the step the foundation holds to 3:1.
76
75
  *
77
- * `--_active` is a step darker again. The colour is the smaller half of the
76
+ * `--_active` is a step darker again. The color is the smaller half of the
78
77
  * feedback: the larger half is the lines running the whole track, which is
79
78
  * what SAP changes and what a hand actually reads.
80
79
  *
81
- * The accent is deliberately absent from both. It is the one colour in the
80
+ * The accent is deliberately absent from both. It is the one color in the
82
81
  * library that means "the keyboard is here", and the rule below spends it
83
82
  * on `:focus-visible` alone. `drawer`'s resizer spends it on hover as well,
84
83
  * which is the defect this family was built to correct; SAP is the only one
@@ -139,7 +138,7 @@
139
138
  }
140
139
 
141
140
  /**
142
- * The reach. Transparent, centred on the track, and the reason a sixteen-pixel
141
+ * The reach. Transparent, centerd on the track, and the reason a sixteen-pixel
143
142
  * picture is a twenty-four-pixel target.
144
143
  */
145
144
  [data-ui-splitter]::before {
@@ -164,8 +163,8 @@
164
163
  * Each fades to transparent *away* from the grip, so the pair reads as one
165
164
  * mark with a middle rather than as two dashes. The gradient is the reason
166
165
  * these are elements and not pseudo-elements: `packages/styles/src/fallbacks.test.mjs`
167
- * forbids a system colour inside `::before` or `::after`, and the focus
168
- * colour's own last resort is `Highlight`.
166
+ * forbids a system color inside `::before` or `::after`, and the focus
167
+ * color's own last resort is `Highlight`.
169
168
  *
170
169
  * `flex-basis` carries both the resting length and the growth, because a
171
170
  * grow factor does not animate and the extension *is* the feedback.
@@ -238,7 +237,7 @@
238
237
  * The keyboard's own signal is the ring, and it is the only place the accent
239
238
  * appears. The lines take the same step they take under the hand.
240
239
  *
241
- * They were drawn in the focus colour too, until the capture showed what that
240
+ * They were drawn in the focus color too, until the capture showed what that
242
241
  * is: a two-pixel accent ring around a sixteen-pixel bar whose interior is
243
242
  * also accent, which reads as a solid blue block rather than as a ring around
244
243
  * a separator. The accent said the same thing twice in the same twelve
@@ -255,7 +254,7 @@
255
254
  * and sized from the same step, so a density that retunes the space scale
256
255
  * retunes the mark with it.
257
256
  *
258
- * `color` rather than a background colour on each dot: the dots and the lines
257
+ * `color` rather than a background color on each dot: the dots and the lines
259
258
  * are one mark and have to move together, and `currentColor` is the one place
260
259
  * that says so.
261
260
  */
@@ -296,8 +295,8 @@
296
295
  }
297
296
 
298
297
  /**
299
- * Forced colours. A gradient resolves to nothing there, so both lines take a
300
- * flat system colour and the growth is what is left of the feedback. The
298
+ * Forced colors. A gradient resolves to nothing there, so both lines take a
299
+ * flat system color and the growth is what is left of the feedback. The
301
300
  * grip's gradient is replaced for the same reason.
302
301
  */
303
302
  @media (forced-colors: active) {
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Stack arranges its children along the block axis and separates them by one
4
4
  * step of the space scale. It paints nothing at all: a layout that carried a
5
- * colour would be a surface, and a surface is another family's decision.
5
+ * color would be a surface, and a surface is another family's decision.
6
6
  *
7
7
  * The separation travels through a private property because Grid needs the
8
8
  * same value inside a track function, and the three layout families state the
@@ -430,7 +430,7 @@
430
430
  /* ── Header: the name, a status beside it, an action at the end ──────── */
431
431
 
432
432
  /**
433
- * On the baseline rather than centred: a label that wraps to two lines
433
+ * On the baseline rather than centerd: a label that wraps to two lines
434
434
  * keeps its status and its action on its first line, where the eye reads
435
435
  * them as part of the name, instead of floating them at the middle of the
436
436
  * block.
@@ -493,7 +493,7 @@
493
493
  }
494
494
 
495
495
  /* On a finger the card's one control is a full target among 44-pixel
496
- controls: a transparent `::before` centred on the link or button — the
496
+ controls: a transparent `::before` centerd on the link or button — the
497
497
  part itself when `render` made it one — reaches
498
498
  the comfortable size in both axes, and the header keeps its height. */
499
499
  @media (pointer: coarse) {
@@ -724,7 +724,7 @@
724
724
  * Beside the figure the trend is as tall as the figure — the value, the
725
725
  * delta and the comparison under them — so its last point is read level
726
726
  * with the number it ends at, and no gap opens above or below a line of a
727
- * fixed height centred on a taller column. The sparkline's own step is the
727
+ * fixed height centerd on a taller column. The sparkline's own step is the
728
728
  * floor, for a figure with no comparison.
729
729
  */
730
730
  @scope ([data-ui-stat-card]) to (:scope [data-ui] > *) {
@@ -12,7 +12,7 @@
12
12
  * the decision the whole box is built around. A status is often a sentence —
13
13
  * “Waiting for approval from the security team” — and this family lets it
14
14
  * wrap where `badge` clips its own label to one line. The mark is an inline
15
- * box before the label, centred on the capitals, and the label is an
15
+ * box before the label, centerd on the capitals, and the label is an
16
16
  * `inline-block` beside it: the words wrap inside that block, so every line
17
17
  * after the first starts under the first word rather than under the mark,
18
18
  * and the block lends its first baseline to whatever aligns the root — a
@@ -22,10 +22,10 @@
22
22
  * becomes an `inline-block`; a cell or a block keeps its own display and its
23
23
  * own padding.
24
24
  *
25
- * The words take the page's own colour. The tone is on the mark, which is
25
+ * The words take the page's own color. The tone is on the mark, which is
26
26
  * what keeps a column of statuses in a table as readable as the column
27
27
  * beside it — the answer Spectrum, Chakra and Ant Design all reached, and
28
- * the opposite of the coloured pill Primer and Atlassian draw.
28
+ * the opposite of the colored pill Primer and Atlassian draw.
29
29
  */
30
30
  [data-ui-status-indicator][data-part-root] {
31
31
  /**
@@ -49,8 +49,7 @@
49
49
  * fractional disc lands its edge across two device pixels at 1×. ReUI draws
50
50
  * the same light at 6 pixels beside 14-pixel type (0.43 em); 8 beside 13 is
51
51
  * 0.62 em, which keeps the tone legible in a table cell without
52
- * outweighing the word. Measured in
53
- * `docs/history/designs/2026-09-25-status-indicator-reui-dossier.md` § 3.
52
+ * outweighing the word.
54
53
  */
55
54
  --_dot-size: var(--slotted-space-4, 0.5rem);
56
55
  --_mark-size: var(--_dot-size);
@@ -63,13 +62,13 @@
63
62
  * Every tone's fill clears WCAG 2.2 1.4.11's 3:1 against the surface in
64
63
  * light and dark except `warning`, whose yellow is 1.53:1 on white; that
65
64
  * one status sets `--_edge` to the tone's border role. The rim was the
66
- * tone's text role on every status, and a second colour around the fill
65
+ * tone's text role on every status, and a second color around the fill
67
66
  * drew a bullseye: brown around yellow, near-black around grey, and a pale
68
67
  * ring around every tone in dark (dossier § 3).
69
68
  */
70
69
  --_rim: var(--slotted-status-indicator-mark-border-color, var(--_edge, var(--_solid)));
71
70
  /**
72
- * The halo: a band of the dot's own colour at a fifth of its strength,
71
+ * The halo: a band of the dot's own color at a fifth of its strength,
73
72
  * drawn outside the disc with `box-shadow` so it takes no room in the
74
73
  * line. It is what separates a status light from a bullet — the disc
75
74
  * reads as lit rather than printed — and it costs no contrast, because
@@ -81,7 +80,7 @@
81
80
  --_halo-width: calc(var(--slotted-space-1, 0.125rem) * 1.5);
82
81
 
83
82
  /**
84
- * The words keep the page's colour when `render` makes the root an `<a>`;
83
+ * The words keep the page's color when `render` makes the root an `<a>`;
85
84
  * without this the user agent paints the label in its link blue.
86
85
  */
87
86
  color: inherit;
@@ -92,7 +91,7 @@
92
91
  font-size: var(--_font-size);
93
92
  /**
94
93
  * The leading, rounded up to an even pixel: 13 × 1.5 is 19.5 and lands the
95
- * line, and the mark centred on it, across two device pixels.
94
+ * line, and the mark centerd on it, across two device pixels.
96
95
  */
97
96
  line-height: round(up, 1em * var(--slotted-line-height-md, 1.5), 2px);
98
97
  /**
@@ -126,12 +125,12 @@
126
125
  * Six values, and the map is `specs/components/status-indicator/contract.json`
127
126
  * rather than a decision taken here: the stylesheet, both bindings and the
128
127
  * contract test all read the same table. The glyph each status draws is in
129
- * the same contract, and the bindings render it; the sheet only colours it.
128
+ * the same contract, and the bindings render it; the sheet only colors it.
130
129
  *
131
130
  * `neutral` and `unknown` share `secondary` on purpose, so the difference
132
131
  * between “nothing is happening” and “nobody knows” is never carried by
133
- * colour. The filled disc and the dashed ring say it in `high-contrast` and
134
- * in greyscale as well as in `light`.
132
+ * color. The filled disc and the dashed ring say it in `high-contrast` and
133
+ * in grayscale as well as in `light`.
135
134
  */
136
135
 
137
136
  [data-ui-status-indicator][data-part-root][data-status='neutral'] {
@@ -139,7 +138,7 @@
139
138
  * The one neutral the theme calibrates against the surface rather than
140
139
  * against a control, and the only fill that makes this dot read as filled.
141
140
  *
142
- * `--slotted-tone-secondary-solid` is the surface's own colour in all
141
+ * `--slotted-tone-secondary-solid` is the surface's own color in all
143
142
  * three schemes, and its `solid-hover` step — which `badge` reaches for on
144
143
  * a chip the size of a word — is one shade off it. Read at 420 pixels on a
145
144
  * nine-pixel disc, that was a rim around nothing: `neutral` and `unknown`
@@ -166,7 +165,7 @@
166
165
  * The one fill that cannot hold its edge: `#facc15` is 1.53:1 on the light
167
166
  * surface. The tone's border role is the same hue a step darker, 2.94:1 in
168
167
  * light, the fill itself in dark and black in `high-contrast` — an edge that
169
- * reads as the dot's own rim rather than as a second colour around it.
168
+ * reads as the dot's own rim rather than as a second color around it.
170
169
  */
171
170
  [data-ui-status-indicator][data-part-root][data-status='warning'] {
172
171
  --_edge: var(--slotted-tone-warning-border);
@@ -218,8 +217,8 @@
218
217
 
219
218
  /* ── The mark ─────────────────────────────────────────────────────────
220
219
  *
221
- * One box, painted two ways, inside the first line. Its centre is the
222
- * centre of the capitals, `0.5cap` above the baseline — the axis
220
+ * One box, painted two ways, inside the first line. Its center is the
221
+ * center of the capitals, `0.5cap` above the baseline — the axis
223
222
  * `[data-ui-icon]` aligns every icon on — rounded to the device pixel: half
224
223
  * a pixel at 2×, a whole one below 1.5×. Layout containment makes the box's
225
224
  * own bottom edge its baseline, whatever it holds.
@@ -287,7 +286,7 @@
287
286
  * the disc is left to the mark that is a disc.
288
287
  *
289
288
  * The mark is the icon box's container: it hands the box its own size
290
- * through `--slotted-icon-size` and its colour through `color`, and the
289
+ * through `--slotted-icon-size` and its color through `color`, and the
291
290
  * binding puts the status's glyph inside, drawn on the grid of that size.
292
291
  */
293
292
  [data-ui-status-indicator][data-mark='icon'] [data-part-mark] {
@@ -339,7 +338,7 @@
339
338
  * The gap taken back when the label holds nothing a reader can see. A mark
340
339
  * with no visible words still carries its own word, clipped by
341
340
  * `visually-hidden`, and that word is out of flow — so the label box is
342
- * empty, and a gap after the mark puts a bare dot off the centre of the
341
+ * empty, and a gap after the mark puts a bare dot off the center of the
343
342
  * cell it was meant to sit in.
344
343
  */
345
344
  [data-ui-status-indicator]:has(> [data-part-label] > [data-part-announcement]:only-child)
@@ -422,9 +421,9 @@
422
421
  }
423
422
 
424
423
  /**
425
- * The wave is the dot's rim colour, defined for all six statuses —
424
+ * The wave is the dot's rim color, defined for all six statuses —
426
425
  * `unknown` has no fill, and its wave is the neutral edge. It starts at
427
- * 0.45 of that colour and ends at three times the dot, 24 pixels at `md`,
426
+ * 0.45 of that color and ends at three times the dot, 24 pixels at `md`,
428
427
  * inside the line above and below without reaching the next status in a
429
428
  * list (dossier § 5). The root isolates a
430
429
  * stacking context so the wave can sit under the mark (`z-index: -1`)
@@ -472,9 +471,9 @@
472
471
  }
473
472
 
474
473
  /**
475
- * ── Forced colours ─────────────────────────────────────────────────────
474
+ * ── Forced colors ─────────────────────────────────────────────────────
476
475
  *
477
- * The operating system replaces every author colour here, so the tone is
476
+ * The operating system replaces every author color here, so the tone is
478
477
  * gone whatever the family writes: the six statuses become one mark. What is
479
478
  * left to decide is whether that mark is visible, and a dot painted from a
480
479
  * forced `Canvas` background is not — the defect `link` found on its own
@@ -485,7 +484,7 @@
485
484
  * would bury it. It keeps its silhouette, which is the whole reason the icon
486
485
  * mark exists: a triangle and a circled cross are still different from each
487
486
  * other when neither of them is red. The pulse is withdrawn, because its wave
488
- * is painted from a tone the system replaces with a face colour, and a wave
487
+ * is painted from a tone the system replaces with a face color, and a wave
489
488
  * in `ButtonFace` on `Canvas` is an animation of nothing. The halo needs no
490
489
  * rule: the system sets `box-shadow` to `none`.
491
490
  */
@@ -70,7 +70,7 @@
70
70
  * "Review" a quarter of the space it gives "Shipping and billing address"
71
71
  * and the markers would stop lining up with anything.
72
72
  *
73
- * Vertical is a column, and the connector runs down the marker's own centre
73
+ * Vertical is a column, and the connector runs down the marker's own center
74
74
  * line rather than beside it.
75
75
  */
76
76
 
@@ -139,7 +139,7 @@
139
139
  /**
140
140
  * `end` puts the label beside the marker and `bottom` puts it under, which
141
141
  * is what a row of five steps needs once the labels are longer than a word.
142
- * The stack is centred so the marker sits over the middle of its own label
142
+ * The stack is centerd so the marker sits over the middle of its own label
143
143
  * rather than over the middle of the column.
144
144
  */
145
145
  [data-ui-stepper][data-label-placement='bottom'] [data-part-trigger] {
@@ -165,18 +165,18 @@
165
165
  *
166
166
  * A circle holding the step's number, and the one part that never wraps,
167
167
  * never shrinks and never moves. Its four appearances are the four statuses,
168
- * and each of them is a fill and an edge rather than a colour alone: a
168
+ * and each of them is a fill and an edge rather than a color alone: a
169
169
  * pending step is an outline, the current one is a filled ring, a complete
170
170
  * one is a solid disc with a check, and a step in error is a solid disc with
171
171
  * an alert. `docs/component-features.md` section 7 requires exactly this —
172
- * progress that does not depend on colour.
172
+ * progress that does not depend on color.
173
173
  */
174
174
 
175
175
  [data-ui-stepper] [data-part-marker] {
176
176
  /**
177
- * The colour of the glyph drawn over the number, held on the marker rather
177
+ * The color of the glyph drawn over the number, held on the marker rather
178
178
  * than stated on the glyph's box. Reading it through one custom property
179
- * keeps the family's system-colour last resort on the element where the
179
+ * keeps the family's system-color last resort on the element where the
180
180
  * theme's own tokens live, and lets the invalid step restate it once.
181
181
  */
182
182
  --_mark: var(
@@ -192,11 +192,11 @@
192
192
  border-radius: var(--slotted-radius-full, 9999px);
193
193
  /**
194
194
  * The marker measures `--_marker` including its ring, because every other
195
- * rule in this sheet is written as though it does: the connector's centre,
195
+ * rule in this sheet is written as though it does: the connector's center,
196
196
  * the panel's indent and the vertical track all read that one length. With
197
197
  * the ring outside it the circle stood four pixels wider than the number
198
198
  * the rest of the family was using, and the connector ran two pixels off
199
- * every marker centre it was supposed to be on — in both orientations and
199
+ * every marker center it was supposed to be on — in both orientations and
200
200
  * at all three densities (ST2).
201
201
  */
202
202
  box-sizing: border-box;
@@ -221,7 +221,7 @@
221
221
 
222
222
  /**
223
223
  * The step the reader is on. The ring thickens to the accent and the number
224
- * takes the accent's text colour: it is where they are, not where they have
224
+ * takes the accent's text color: it is where they are, not where they have
225
225
  * been, so it stays an outline and does not fill.
226
226
  */
227
227
  [data-ui-stepper] [data-current] [data-part-marker] {
@@ -279,7 +279,7 @@
279
279
  /**
280
280
  * The number gives way to the mark. Neither the complete rule nor the
281
281
  * invalid one paints the number any more, and that is the fix rather than
282
- * the tidying: both used to set a colour for it, both outranked this rule on
282
+ * the tidying: both used to set a color for it, both outranked this rule on
283
283
  * specificity, and a finished step drew its number and its check on top of
284
284
  * each other. The capture is what said so — the two marks overlap into a
285
285
  * shape that is neither.
@@ -293,11 +293,11 @@
293
293
 
294
294
  color: var(--_mark);
295
295
  /**
296
- * Centred by its own box rather than by the flex container's alignment.
296
+ * Centerd by its own box rather than by the flex container's alignment.
297
297
  * An absolutely positioned child takes a static position the engines do
298
298
  * not agree on inside a flex container, and the capture showed the result:
299
299
  * the check drawn from the marker's top corner, with half of it outside
300
- * the disc. `inset` plus automatic margins centres a fixed-size box in
300
+ * the disc. `inset` plus automatic margins centers a fixed-size box in
301
301
  * every engine.
302
302
  */
303
303
  inset: 0;
@@ -392,11 +392,11 @@
392
392
  * reader has reached, so the row reads as a filled track rather than as five
393
393
  * separate marks.
394
394
  *
395
- * Horizontally it runs across the marker's own centre line, which is half a
395
+ * Horizontally it runs across the marker's own center line, which is half a
396
396
  * marker below the top of the item; vertically it runs down the marker's
397
- * centre, which is half a marker in from the item's start edge. Both are
397
+ * center, which is half a marker in from the item's start edge. Both are
398
398
  * derived from the marker rather than stated, so the rule stays on the
399
- * centre at every density.
399
+ * center at every density.
400
400
  */
401
401
 
402
402
  [data-ui-stepper] [data-part-separator] {
@@ -444,7 +444,7 @@
444
444
 
445
445
  /**
446
446
  * With the label under the marker, the connector runs between two marker
447
- * centres. The columns are equal, so the next centre is exactly one column
447
+ * centers. The columns are equal, so the next center is exactly one column
448
448
  * away, and both ends are derived from the marker rather than stated.
449
449
  */
450
450
  [data-ui-stepper][data-orientation='horizontal'][data-label-placement='bottom']
@@ -457,7 +457,7 @@
457
457
  }
458
458
 
459
459
  /**
460
- * Down the marker's own centre line, from below this marker to above the
460
+ * Down the marker's own center line, from below this marker to above the
461
461
  * next one, with the same room at both ends. The bottom of the item is where
462
462
  * the next marker begins, so the end inset is that room and not zero: at
463
463
  * zero the rule stopped short of the marker above and ran into the marker
@@ -490,7 +490,7 @@
490
490
  /* ── Horizontal geometry ────────────────────────────────────────────────
491
491
  *
492
492
  * With the label under the marker the header fills its column, so the marker
493
- * centres over the column and the connector runs between two centres.
493
+ * centers over the column and the connector runs between two centers.
494
494
  */
495
495
 
496
496
  [data-ui-stepper][data-orientation='horizontal'][data-label-placement='bottom']
@@ -596,14 +596,14 @@
596
596
  }
597
597
  }
598
598
 
599
- /* ── Forced colours ─────────────────────────────────────────────────────
599
+ /* ── Forced colors ─────────────────────────────────────────────────────
600
600
  *
601
601
  * The system replaces every painted surface with the page's own background,
602
602
  * which would flatten the four statuses into one outline. Three things need
603
603
  * restating: the connector, which is a painted rule; the fill that separates
604
604
  * a finished step from a pending one; and the glyph inside it, which keeps
605
605
  * its paint through the marker's own `forced-color-adjust` rather than
606
- * through a system colour this family would have to choose.
606
+ * through a system color this family would have to choose.
607
607
  */
608
608
 
609
609
  @media (forced-colors: active) {
@@ -43,7 +43,7 @@
43
43
  --_line-height: var(--slotted-switch-line-height, var(--slotted-line-height-md, 1.5));
44
44
  /**
45
45
  * The height the label's line is missing before it is as tall as the pill,
46
- * split above and below its text, so the text reads centred on the pill
46
+ * split above and below its text, so the text reads centerd on the pill
47
47
  * rather than sitting at the top of a row the pill made.
48
48
  *
49
49
  * It was the height a one-line label was missing before it was a WCAG 2.2
@@ -136,7 +136,7 @@
136
136
  /**
137
137
  * The track. It carries the ground, the edge and the ring, and it is the
138
138
  * containing block the thumb travels inside. It is lifted onto the label's
139
- * first line rather than centred on the label, because `align-items: center`
139
+ * first line rather than centerd on the label, because `align-items: center`
140
140
  * on a label that wraps to three lines puts the pill beside the second one.
141
141
  */
142
142
  [data-ui-switch] > [data-part-track] {
@@ -170,7 +170,7 @@
170
170
  * rule at all — the axis is the writing direction's, not the screen's.
171
171
  */
172
172
  [data-ui-switch] > [data-part-track] > [data-part-thumb] {
173
- /* A flex box, so the mark's icon is centred in the knob as a box and not
173
+ /* A flex box, so the mark's icon is centerd in the knob as a box and not
174
174
  set on a line of text. */
175
175
  align-items: center;
176
176
  /**
@@ -184,8 +184,8 @@
184
184
  background-color: var(--slotted-switch-thumb-background, var(--slotted-tone-accent-on-solid));
185
185
  /**
186
186
  * The thumb keeps an edge in every state. A thumb separated from its track
187
- * by colour alone disappears in the `high-contrast` scheme, where the
188
- * unchecked track is white, and under forced colours, where it is Canvas.
187
+ * by color alone disappears in the `high-contrast` scheme, where the
188
+ * unchecked track is white, and under forced colors, where it is Canvas.
189
189
  */
190
190
  border: var(--_border) solid
191
191
  var(--slotted-switch-thumb-border-color, var(--slotted-control-border-color, ButtonBorder));
@@ -196,7 +196,7 @@
196
196
  * that is meant to look raised. It is barely visible on purpose: on a
197
197
  * light unchecked track the knob and the ground are two steps apart, and
198
198
  * without it the knob rests on its own hairline border alone. The theme
199
- * withdraws it in `high-contrast` and under forced colours, where the
199
+ * withdraws it in `high-contrast` and under forced colors, where the
200
200
  * border is doing the work instead.
201
201
  */
202
202
  box-shadow: var(--slotted-switch-thumb-shadow, var(--slotted-control-shadow, none));
@@ -218,7 +218,7 @@
218
218
 
219
219
  /**
220
220
  * The mark. `docs/component-features.md` asks for the state to be
221
- * perceptible beyond colour *and* beyond position, and this is what supplies
221
+ * perceptible beyond color *and* beyond position, and this is what supplies
222
222
  * it: the check the binding renders in the knob as the `Glyph` element,
223
223
  * never a character. `indicator="none"` is the binding rendering none.
224
224
  *
@@ -249,7 +249,7 @@
249
249
  * at the tighter densities, and what makes up the difference is the control
250
250
  * stretched over the pill, which is a transparent box with a minimum of its
251
251
  * own — the correction `docs/token-foundation.md` asks the family for. The
252
- * padding here is optical: it centres the words on the pill.
252
+ * padding here is optical: it centers the words on the pill.
253
253
  */
254
254
  [data-ui-switch] > [data-part-label] {
255
255
  cursor: pointer;
@@ -484,7 +484,7 @@
484
484
  /**
485
485
  * Read-only stays focusable, announced and submitted, and it must not be
486
486
  * mistakable for disabled. The pill goes hollow rather than grey: the state
487
- * keeps its own colour in the mark, and the ground stops saying "press me".
487
+ * keeps its own color in the mark, and the ground stops saying "press me".
488
488
  */
489
489
  [data-ui-switch][data-part-root][data-readonly] > [data-part-track] {
490
490
  background-color: var(--slotted-switch-readonly-background, var(--slotted-surface, Canvas));
@@ -535,7 +535,7 @@
535
535
  *
536
536
  * The ring is retargeted rather than repainted. Every rule that draws focus
537
537
  * reads `--slotted-focus-ring-color`, so pointing that one name at the
538
- * invalid colour on the root moves the ring without restating it — the rule
538
+ * invalid color on the root moves the ring without restating it — the rule
539
539
  * `text-field` wrote for this family to inherit.
540
540
  */
541
541
  [data-ui-switch][data-part-root][data-invalid] {
@@ -549,7 +549,7 @@
549
549
  [data-ui-switch][data-part-root][data-invalid] > [data-part-track] > [data-part-thumb] {
550
550
  border-color: var(--slotted-switch-invalid-border-color, var(--slotted-tone-danger-border));
551
551
  /*
552
- * Width as well as colour (WCAG 1.4.1), the edge `text-field` draws: in
552
+ * Width as well as color (WCAG 1.4.1), the edge `text-field` draws: in
553
553
  * `high-contrast` the danger border is the resting edge's black. An edge
554
554
  * inside the border of the track and of the thumb, so neither moves, in
555
555
  * place of the thumb's resting lift; the thumb carries it where a checked
@@ -587,7 +587,7 @@
587
587
  * the border already draws. `progress-indicator` is wave 2 and not built;
588
588
  * when it is, this is the first thing it should replace.
589
589
  *
590
- * Three quarters rather than one. A single coloured side read as a shape
590
+ * Three quarters rather than one. A single colored side read as a shape
591
591
  * rather than as a spinner in a still image, and a still image is what a
592
592
  * reader under `prefers-reduced-motion` is looking at.
593
593
  */
@@ -647,7 +647,7 @@
647
647
  }
648
648
 
649
649
  /**
650
- * Muted to the colour the theme measures rather than faded by opacity: a
650
+ * Muted to the color the theme measures rather than faded by opacity: a
651
651
  * setting nobody can read is a setting nobody can check, and a disabled form
652
652
  * still has to say what it holds.
653
653
  */
@@ -682,7 +682,7 @@
682
682
  }
683
683
 
684
684
  /*
685
- * Forced colours remove every box shadow, and the edge with them. The width
685
+ * Forced colors remove every box shadow, and the edge with them. The width
686
686
  * comes back as an outline inside the border, on the
687
687
  * track and on the thumb; the focus ring takes the track and the thumb keeps
688
688
  * its edge.
@@ -47,7 +47,7 @@
47
47
  );
48
48
  /* One line of the table's own text, which is what a mark beside a value is
49
49
  aligned against — the row is taller than one line whenever a value wraps,
50
- and a control centred in the cell would then float away from the line it
50
+ and a control centerd in the cell would then float away from the line it
51
51
  belongs to. */
52
52
  --_line: calc(var(--_font-size) * var(--slotted-line-height-md, 1.5));
53
53
  --_radius: var(--slotted-table-radius, var(--slotted-radius-md, 6px));
@@ -302,7 +302,7 @@
302
302
  *
303
303
  * The middle, because a row is as tall as its tallest cell: a one-line value
304
304
  * beside a three-line one reads as belonging to the same record when both are
305
- * centred, and reads as hanging from the ceiling when both are not. It is the
305
+ * centerd, and reads as hanging from the ceiling when both are not. It is the
306
306
  * answer Carbon, AG Grid and Material each arrive at, and the answer a table
307
307
  * of one-line rows cannot tell apart.
308
308
  *
@@ -446,7 +446,7 @@
446
446
  }
447
447
 
448
448
  /* A row header names the record, so it carries the weight one step above the
449
- values beside it and nothing else. It states no colour of its own: read
449
+ values beside it and nothing else. It states no color of its own: read
450
450
  against the row's ink, a selected record's name stayed the page's black
451
451
  while every value beside it turned accent, and a disabled row's name stayed
452
452
  at full strength — the two states the row paints and this cell refused. */
@@ -502,7 +502,7 @@
502
502
  *
503
503
  * The ink is what carries the state where the ground cannot: every tone
504
504
  * ground is the page's own white in `high-contrast`, and the checkbox's mark
505
- * is what survives forced colours, which is where WCAG 2.2 SC 1.4.1 puts the
505
+ * is what survives forced colors, which is where WCAG 2.2 SC 1.4.1 puts the
506
506
  * requirement anyway.
507
507
  */
508
508
  [data-ui-table] [data-part-body] > [data-part-row][data-selected] {
@@ -738,7 +738,7 @@
738
738
  }
739
739
 
740
740
  /* The ground the row is painted with, whatever state it is in, so a
741
- hovered, striped or selected row keeps one colour across the seam — over
741
+ hovered, striped or selected row keeps one color across the seam — over
742
742
  the page's own surface, so a row on a transparent table surface still
743
743
  covers what scrolls under it. `inherit` copied a transparent row as is.
744
744
  The layer under the row is the family's token, so a table drawn over a
@@ -921,7 +921,7 @@
921
921
  }
922
922
 
923
923
  [data-ui-table] [data-part-sort] {
924
- /* The mark is centred on the text rather than dropped at the top of the
924
+ /* The mark is centerd on the text rather than dropped at the top of the
925
925
  line: with the default `stretch` resolving to `flex-start` under a stated
926
926
  block size, the chevron sat two pixels above the capitals and read as a
927
927
  mark nobody had placed. */
@@ -954,7 +954,7 @@
954
954
  }
955
955
 
956
956
  /* An aligned column keeps its name over its values, and the mark follows the
957
- name rather than the cell: a centred column reads as a centred pair, and a
957
+ name rather than the cell: a centerd column reads as a centerd pair, and a
958
958
  numeric column's name and mark both stand at the edge its digits end on. */
959
959
  [data-ui-table] [data-align='center'] > [data-part-sort] {
960
960
  justify-content: center;
@@ -1040,7 +1040,7 @@
1040
1040
  * The cell is the family's and the control is not: `checkbox` owns the square,
1041
1041
  * the check and the indeterminate bar, and a chooser drawn here would be a
1042
1042
  * second answer to a question that family answers. The cell holds it to the
1043
- * width of the control and centres it on the row's first line.
1043
+ * width of the control and centers it on the row's first line.
1044
1044
  *
1045
1045
  * The width is **stated** rather than shrink-wrapped, and that is the whole
1046
1046
  * reason it is a token. A listing pins the chooser and the identifier beside
@@ -1055,7 +1055,7 @@
1055
1055
  padding-block: var(--_pad-block);
1056
1056
  padding-inline: var(--_pad-inline);
1057
1057
  text-align: center;
1058
- /* The chooser follows the table's own answer: a table that centres its
1058
+ /* The chooser follows the table's own answer: a table that centers its
1059
1059
  values and hangs its checkboxes from the top is two decisions where the
1060
1060
  reader sees one row. */
1061
1061
  vertical-align: var(--_cell-align);
@@ -1148,7 +1148,7 @@
1148
1148
  margin-block: calc((var(--_line) - var(--slotted-target-min, 24px)) / 2);
1149
1149
  padding: 0;
1150
1150
  /* Both axes, stated separately, because `place-content` is not the property
1151
- that centres a single item: `align-content` aligns lines and a single-line
1151
+ that centers a single item: `align-content` aligns lines and a single-line
1152
1152
  flex container has one, so the mark fell back to `align-items: stretch`,
1153
1153
  which a stated block size resolves to `flex-start`. Read on the capture,
1154
1154
  the chevron sat against the top edge of its own 24-pixel box. */
@@ -1161,7 +1161,7 @@
1161
1161
 
1162
1162
  /**
1163
1163
  * On a finger the target is the comfortable size in both axes and the box
1164
- * is the one a mouse sees: a transparent `::after` centred on the control
1164
+ * is the one a mouse sees: a transparent `::after` centerd on the control
1165
1165
  * reaches 44 pixels, and the ground and the ring stay square. A header's
1166
1166
  * trigger stands after the sort button and its mark, so it does not reach
1167
1167
  * back across them.