@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
@@ -11,7 +11,7 @@
11
11
  * The side is asked once, on the row. The bubble, its reactions and the
12
12
  * header follow `data-align`; the surveyed shadcn examples pass `align` to
13
13
  * both `Message` and `Bubble`, and two answers to one question can disagree
14
- * (`docs/history/designs/2026-09-30-message-design.md` §2.2).
14
+ *.
15
15
  *
16
16
  * Every rule is scoped to the family and stops at the parts of any other
17
17
  * family nested in a message: a card or an alert in the body keeps its own
@@ -184,7 +184,7 @@
184
184
  * taught. Outside a bubble — an unframed reply, a thread — the receipt is a
185
185
  * word in the footer, set in the meta type, with no mark: a glyph beside a
186
186
  * word of twelve pixels is two voices saying one thing, and the two never
187
- * shared a centre line.
187
+ * shared a center line.
188
188
  */
189
189
  :scope[data-part-root] [data-part-footer] > [data-part-receipt] {
190
190
  white-space: nowrap;
@@ -473,7 +473,7 @@
473
473
  * The five tones, read into the roles a painting needs. `soft` writes in
474
474
  * the page's ink on the accent and secondary grounds — a paragraph set in
475
475
  * blue is a link — and in the tone's own ink on the three status tones,
476
- * where the colour of the words is the point.
476
+ * where the color of the words is the point.
477
477
  */
478
478
  --_solid: var(--slotted-tone-secondary-solid);
479
479
  --_on-solid: var(--slotted-tone-secondary-on-solid);
@@ -715,7 +715,7 @@
715
715
  * caption under itself for a fact this small.
716
716
  *
717
717
  * The box is the height of the words' line and its contents stand on that
718
- * line's centre, a pixel down, where the twelve-pixel digits share the
718
+ * line's center, a pixel down, where the twelve-pixel digits share the
719
719
  * fourteen-pixel words' baseline to within a pixel and the mark sits on the
720
720
  * same axis as the digits. WhatsApp hangs its meta below the baseline; set
721
721
  * beside a line of text, the hanging meta read as misaligned. Read is the one state that changes the ink: full strength on a
@@ -735,7 +735,7 @@
735
735
  float: inline-end;
736
736
  align-items: center;
737
737
  gap: var(--slotted-space-1, 0.125rem);
738
- /* The line rounded down to an even length, so a fourteen-pixel mark and a fourteen-pixel line of digits centre on whole pixels. */
738
+ /* The line rounded down to an even length, so a fourteen-pixel mark and a fourteen-pixel line of digits center on whole pixels. */
739
739
  block-size: round(down, var(--_leading), 2px);
740
740
  margin-inline-start: var(--slotted-space-4, 0.5rem);
741
741
  color: var(--_meta-ink);
@@ -758,7 +758,7 @@
758
758
 
759
759
  /**
760
760
  * The mark is the small control glyph, the height of the digits' line, so
761
- * the two share one box and one centre; two ticks at twelve pixels were two
761
+ * the two share one box and one center; two ticks at twelve pixels were two
762
762
  * scratches.
763
763
  */
764
764
  :scope[data-part-bubble] [data-part-meta] [data-part-receipt] > [data-ui-icon] {
@@ -924,7 +924,7 @@
924
924
  * the ink and the edge arrive together: a word that is opaque while still
925
925
  * blurred reads as a smudge, and five of them in a row as a smeared line.
926
926
  *
927
- * The caret is a dot after the last word, centred on the middle of the
927
+ * The caret is a dot after the last word, centerd on the middle of the
928
928
  * x-height, breathing between full and 72 % while the reply is open. A bar
929
929
  * blinking in two steps read as a text field waiting for input; the reply is
930
930
  * not waiting for the reader, it is still being written. While words are
@@ -1066,7 +1066,7 @@
1066
1066
  * ── Retry ──────────────────────────────────────────────────────────────
1067
1067
  *
1068
1068
  * A message that did not go carries a round control beside its surface, on
1069
- * the side away from the sender, in the danger tone, centred on the last
1069
+ * the side away from the sender, in the danger tone, centerd on the last
1070
1070
  * line. It is the way to send it again, and its arrow turns a little under
1071
1071
  * the pointer toward the way it will go.
1072
1072
  */
@@ -1173,7 +1173,7 @@
1173
1173
  * below itself, so the pill never lands on the next message. ReUI hangs
1174
1174
  * the row three quarters out and its example needs a 32-pixel gap to clear
1175
1175
  * it (`c-bubble-4`). The pill draws its own edge and lift rather than a
1176
- * ring in the colour of a card it assumes it is on.
1176
+ * ring in the color of a card it assumes it is on.
1177
1177
  */
1178
1178
  :scope[data-part-bubble]:has(> [data-part-reactions]) {
1179
1179
  padding-block-end: calc(var(--_reactions-size) - var(--_pad-block, 8px) / 2);
@@ -1276,7 +1276,7 @@
1276
1276
  /**
1277
1277
  * The reader's own reaction: the accent's tinted ground inside the accent's
1278
1278
  * edge, and the count in the accent's ink. The pair carries the ratio the
1279
- * ground alone cannot (`docs/token-foundation.md` › Semantic colour).
1279
+ * ground alone cannot (`docs/token-foundation.md` › Semantic color).
1280
1280
  */
1281
1281
  :scope[data-part-bubble] [data-part-reaction][data-pressed] {
1282
1282
  --_reaction-ground: var(--slotted-tone-accent-surface);
@@ -1298,11 +1298,11 @@
1298
1298
  outline-offset: var(--slotted-focus-ring-offset, 2px);
1299
1299
  }
1300
1300
 
1301
- /* ── Forced colours ─────────────────────────────────────────────────────
1301
+ /* ── Forced colors ─────────────────────────────────────────────────────
1302
1302
  *
1303
1303
  * The system owns the palette: every bubble is a framed box of text, the
1304
1304
  * reader's own reaction is `Highlight`, and the tints of the quote and the
1305
- * pointer go, because `color-mix` over system colours is not a colour the
1305
+ * pointer go, because `color-mix` over system colors is not a color the
1306
1306
  * reader chose.
1307
1307
  */
1308
1308
  @media (forced-colors: active) {
@@ -1310,7 +1310,7 @@
1310
1310
  border-color: CanvasText;
1311
1311
  }
1312
1312
 
1313
- /* A background is the system's to repaint; the dot is ink, so it keeps the text's colour. */
1313
+ /* A background is the system's to repaint; the dot is ink, so it keeps the text's color. */
1314
1314
  :scope[data-part-bubble] [data-part-caret] {
1315
1315
  forced-color-adjust: none;
1316
1316
  background-color: CanvasText;
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * The frame fills a parent whose height is bounded, the viewport scrolls
6
6
  * inside it, and the jump control stands over the viewport as a sibling so
7
- * it does not scroll away with the rows. The behaviour is
7
+ * it does not scroll away with the rows. The behavior is
8
8
  * `@slotted/core/message-scroller`; this sheet reads what it writes —
9
9
  * `data-scrollable`, `data-following`, `data-pending` and
10
10
  * `--slotted-message-scroller-room` — and draws nothing the engine decides.
@@ -184,12 +184,12 @@
184
184
  */
185
185
  [data-ui-multi-select] [data-part-chips] {
186
186
  /**
187
- * `safe`, because this box scrolls. Centring a scroll container's content
187
+ * `safe`, because this box scrolls. Centering a scroll container's content
188
188
  * pushes the first line above the scrollport when there is more than fits,
189
189
  * and the browser gives no way to scroll back to it: the ninth chip was on
190
190
  * screen and the first three were unreachable at 240 pixels. `safe` falls
191
191
  * back to `start` exactly when the content overflows, which is the one case
192
- * where centring is wrong.
192
+ * where centering is wrong.
193
193
  */
194
194
  align-content: safe center;
195
195
  align-items: center;
@@ -218,7 +218,7 @@
218
218
  * Three rows, then it scrolls. Three *whole* rows: a chip drawn to half its
219
219
  * height is not an affordance, it is a chip that looks broken. Every chip
220
220
  * stays in the DOM either way, which is what the feature guide asks of an
221
- * overflow — the set is summarised, never hidden.
221
+ * overflow — the set is summarized, never hidden.
222
222
  */
223
223
  max-block-size: calc(3 * var(--_row-size) + 2 * var(--_row-gap) + 2 * var(--_row-air));
224
224
  overflow-y: auto;
@@ -353,7 +353,7 @@
353
353
  * inset shadow is the only way to reach it. The signal is kept rather than
354
354
  * erased, in the accent surface the theme owns, and it is the whole
355
355
  * control's: the frame takes the tint under its border and inside its
356
- * corner, and the input repaints the browser's ground in the same colour.
356
+ * corner, and the input repaints the browser's ground in the same color.
357
357
  * Painted on the input alone, the tint left the frame's padding, the slots
358
358
  * and the buttons bare.
359
359
  */
@@ -383,7 +383,7 @@
383
383
  * pixels past the chip; a ring two pixels further out lost its outer half on
384
384
  * every side, at every density. One width inside is `listbox`'s answer for an
385
385
  * option in a scrolling list: the ring covers the chip's own edge and reads
386
- * as the chip's edge turned to the ring colour, whole, with the text clear
386
+ * as the chip's edge turned to the ring color, whole, with the text clear
387
387
  * of it even at `dense`, where the chip has no inset to spare. `tag` draws
388
388
  * its own inner ring two widths in to keep a sliver of ground outside it;
389
389
  * here that sliver would cost the text its leading.
@@ -708,7 +708,7 @@
708
708
  var(--slotted-tone-danger-border)
709
709
  );
710
710
  /*
711
- * Width as well as colour (WCAG 1.4.1), the edge `text-field` draws: in
711
+ * Width as well as color (WCAG 1.4.1), the edge `text-field` draws: in
712
712
  * `high-contrast` the danger border is the resting edge's black. The line
713
713
  * is a shadow inside the border, so neither box nor text moves, and it
714
714
  * takes the resting lift's place.
@@ -743,7 +743,7 @@
743
743
  }
744
744
 
745
745
  /*
746
- * Forced colours remove every box shadow, and the edge with them. The
746
+ * Forced colors remove every box shadow, and the edge with them. The
747
747
  * width comes back as an outline inside the border, and a focused invalid
748
748
  * control draws its ring double, which a valid ring is not.
749
749
  */
@@ -1086,7 +1086,7 @@
1086
1086
  /**
1087
1087
  * Every chosen value, whatever the row in the control did with them. It is
1088
1088
  * what makes `overflow='collapse'` legal against the feature guide: the `+N`
1089
- * chip in the control summarises, and this band is where the whole set stays
1089
+ * chip in the control summarizes, and this band is where the whole set stays
1090
1090
  * reachable. It is drawn only while something is chosen.
1091
1091
  *
1092
1092
  * Its chips carry no remove control, and the reason is keyboard reach rather
@@ -1292,7 +1292,7 @@
1292
1292
  }
1293
1293
 
1294
1294
  /* Column one holds content and paints none: a `Glyph` in an `Icon` box, or
1295
- artwork of the consumer's own, centred and sized from the column. */
1295
+ artwork of the consumer's own, centerd and sized from the column. */
1296
1296
  [data-ui-multi-select] [data-part-item] > [data-part-icon] {
1297
1297
  --slotted-icon-size: var(--_content-icon-size);
1298
1298
 
@@ -1407,7 +1407,7 @@
1407
1407
  * width as nothing while the browser is computing that width, so the `min()`
1408
1408
  * collapsed to zero, the surface sized itself to the widest thing left — the
1409
1409
  * three waiting bars — and the message then took its twelve rems inside a
1410
- * box narrower than that and hung out of both sides of it, centred. Stating
1410
+ * box narrower than that and hung out of both sides of it, centerd. Stating
1411
1411
  * the floor and the ceiling separately means the floor is counted while the
1412
1412
  * surface is being measured and the ceiling is applied once it has a width.
1413
1413
  *
@@ -1468,7 +1468,7 @@
1468
1468
  cursor: progress;
1469
1469
  }
1470
1470
 
1471
- /* ── Forced colours ───────────────────────────────────────────────────── */
1471
+ /* ── Forced colors ───────────────────────────────────────────────────── */
1472
1472
 
1473
1473
  @media (forced-colors: active) {
1474
1474
  [data-ui-multi-select] [data-part-item][data-current] {
@@ -714,7 +714,7 @@
714
714
  color var(--_duration) var(--_easing);
715
715
  }
716
716
 
717
- /** A link of plain words is a row at the control's height, its text centred in it. */
717
+ /** A link of plain words is a row at the control's height, its text centerd in it. */
718
718
  [data-ui-navigation-menu] [data-part-content] [data-part-link]:not(:has([data-part-label])) {
719
719
  align-content: center;
720
720
  display: grid;
@@ -757,7 +757,7 @@
757
757
  /**
758
758
  * The mark is one line of the title tall, and its artwork stands on the
759
759
  * title's baseline at the midpoint of the capitals' and the lowercase
760
- * letters' centres — the briefing's rule for a mark beside a line of text.
760
+ * letters' centers — the briefing's rule for a mark beside a line of text.
761
761
  */
762
762
  [data-ui-navigation-menu] [data-part-link] > [data-part-icon] {
763
763
  --slotted-icon-size: var(--_icon-size);
@@ -7,7 +7,7 @@
7
7
  * ├──────────────────────────────────────────────────────┤
8
8
  * │ views ▸ tabs (list only) │
9
9
  * ├──────────────────────────────────────────────────────┤
10
- * │ fresh ▸ "3 novas notificações" │
10
+ * │ fresh ▸ "3 new notifications" │
11
11
  * │ feed ▸ (group ▸ group-label ·) item … │
12
12
  * │ item ▸ unread · visual · content ▸ title │
13
13
  * │ description │
@@ -34,7 +34,7 @@
34
34
  --_hover: var(--slotted-tone-secondary-subtle-hover, ButtonFace);
35
35
  --_active: var(--slotted-tone-secondary-subtle-active, ButtonFace);
36
36
  /**
37
- * The item's tone: the colour of the family's own visual, and the tint
37
+ * The item's tone: the color of the family's own visual, and the tint
38
38
  * an unread item stands on. Accent unless the item says otherwise. The
39
39
  * glyph the visual draws is the binding's, from the contract's `toneGlyph`.
40
40
  */
@@ -103,7 +103,7 @@
103
103
  /**
104
104
  * The feed's bar, where a host bounds the feed: the thumb at the strong
105
105
  * border step, as `scroll-area` and `app-shell` draw it; the track the
106
- * centre's own ground, so a groove does not stand beside the rows.
106
+ * center's own ground, so a groove does not stand beside the rows.
107
107
  */
108
108
  --_scrollbar-thumb: var(
109
109
  --slotted-notification-center-scrollbar-thumb-color,
@@ -395,7 +395,7 @@
395
395
  /**
396
396
  * One row: the visual, the content, the two controls at the end. A rule under each, so a list of forty reads as
397
397
  * rows and not as a column of cards. The visual, the title's first line
398
- * and the controls are centred on one axis.
398
+ * and the controls are centerd on one axis.
399
399
  */
400
400
  [data-ui-notification-center] > [data-part-feed] [data-part-item] {
401
401
  align-items: flex-start;
@@ -488,8 +488,8 @@
488
488
  * construction. What stood here before was a disc with an edge of its own
489
489
  * and a smaller ringed glyph on top — a circle drawn inside a circle —
490
490
  * and at a zoom or a density where the two rounded to different pixels
491
- * the inner one sat visibly off centre. A bare glyph, tried in between,
492
- * read as a coloured mark left loose in the column.
491
+ * the inner one sat visibly off center. A bare glyph, tried in between,
492
+ * read as a colored mark left loose in the column.
493
493
  *
494
494
  * The glyph is the size the avatar beside it is, less the step the icon
495
495
  * grid keeps clear, so the filled ring is the avatar's own diameter. The
@@ -499,8 +499,8 @@
499
499
  *
500
500
  * The binding renders the tone's glyph in an icon box marked
501
501
  * `data-tone-glyph`, which is what tells the family's visual from an icon
502
- * the consumer put there. The disc is the wrapper's own background, centred
503
- * on the box the glyph is centred in, so the two stay concentric.
502
+ * the consumer put there. The disc is the wrapper's own background, centerd
503
+ * on the box the glyph is centerd in, so the two stay concentric.
504
504
  */
505
505
  [data-ui-notification-center]
506
506
  > [data-part-feed]
@@ -536,7 +536,7 @@
536
536
 
537
537
  /**
538
538
  * The content's type is the title's, so `1lh` here is the title's first
539
- * line and the offset centres that line on the visual — a visual taller
539
+ * line and the offset centers that line on the visual — a visual taller
540
540
  * than the line pushes the words down, never the other way.
541
541
  */
542
542
  [data-ui-notification-center] > [data-part-feed] [data-part-item] > [data-part-content] {
@@ -657,7 +657,7 @@
657
657
  display: flex;
658
658
  gap: var(--slotted-space-1, 0.125rem);
659
659
  grid-column: 3;
660
- /* Centred on the same axis as the visual. */
660
+ /* Centerd on the same axis as the visual. */
661
661
  margin-block-start: max(0px, calc((var(--_visual) - var(--_control)) / 2));
662
662
  position: relative;
663
663
  z-index: 1;
@@ -703,7 +703,7 @@
703
703
  [data-part-item]
704
704
  > [data-part-controls]
705
705
  > button::before {
706
- /* The halo: the target minimum, centred on the box, taking the press and drawing nothing. */
706
+ /* The halo: the target minimum, centerd on the box, taking the press and drawing nothing. */
707
707
  block-size: max(var(--_control), var(--slotted-target-min, 24px));
708
708
  content: '';
709
709
  inline-size: max(var(--_control), var(--slotted-target-min, 24px));
@@ -817,7 +817,7 @@
817
817
  * under a coarse pointer, and these are the family's own, so the family
818
818
  * raises them. The box grows rather than the halo, so two controls side by
819
819
  * side keep their distance instead of sharing one press; the glyph stays
820
- * its size. A box taller than the visual is centred on the visual's axis,
820
+ * its size. A box taller than the visual is centerd on the visual's axis,
821
821
  * which puts its top above the row's inset — the box is transparent, and
822
822
  * the halo already reached there.
823
823
  */
@@ -829,7 +829,7 @@
829
829
  }
830
830
  }
831
831
 
832
- /* ── Forced colours ──────────────────────────────────────────────────── */
832
+ /* ── Forced colors ──────────────────────────────────────────────────── */
833
833
 
834
834
  /**
835
835
  * The glyphs are `Glyph` elements drawn in their box's ink, which the
@@ -54,7 +54,7 @@
54
54
  * The split buttons are the inner controls `text-field` draws: the glyph
55
55
  * plus a step of air, capped at the inner size, inset concentrically — the
56
56
  * air beside a button equals the air above and below it, and its corner is
57
- * the frame's less that air (docs/history/designs/2026-10-01-number-field-reui-dossier.md § 3).
57
+ * the frame's less that air.
58
58
  */
59
59
  --_action-size: var(
60
60
  --slotted-number-field-action-size,
@@ -250,7 +250,7 @@
250
250
 
251
251
  /**
252
252
  * The one rule the theme cannot write for the family. A transparent border
253
- * has no system colour to be remapped to, so the `plain` control would lose
253
+ * has no system color to be remapped to, so the `plain` control would lose
254
254
  * its only edge exactly where an edge matters most.
255
255
  */
256
256
  @media (forced-colors: active) {
@@ -466,7 +466,7 @@
466
466
  *
467
467
  * The quantity picker's arrangement. Each button is a square inner control
468
468
  * inset concentrically, and the frame's padding is that inset on both
469
- * sides; the value takes the gap as its own inset and sits centred between
469
+ * sides; the value takes the gap as its own inset and sits centerd between
470
470
  * the two buttons, which is where a quantity belongs. No rule divides a
471
471
  * button from the value: the ground it paints is its edge.
472
472
  */
@@ -571,7 +571,7 @@
571
571
  [data-ui-number-field] [data-part-increment]:disabled {
572
572
  /**
573
573
  * The ground as well as the ink. The disabled foreground and the resting
574
- * stepper colour are two steps of one neutral and differ by about a shade,
574
+ * stepper color are two steps of one neutral and differ by about a shade,
575
575
  * so a stepper at its bound painted only in ink read as available — the
576
576
  * capture of the `stepper` scene showed a decrement at nought that nothing
577
577
  * distinguished from the one above it. The switched-off segment says it in
@@ -630,8 +630,8 @@
630
630
  * a Tab, which is right for a control whose caret is the thing that moved.
631
631
  */
632
632
  [data-ui-number-field][data-part-root]:has(> [data-part-input]:focus-visible) {
633
- /* The resting shadow, recoloured: the lift under the control and the ring
634
- around it are one colour, and the state decides which colour that is. */
633
+ /* The resting shadow, recolored: the lift under the control and the ring
634
+ around it are one color, and the state decides which color that is. */
635
635
  box-shadow: var(--slotted-control-shadow-focus-geometry, 0 1px 4px -1px)
636
636
  var(--slotted-focus-ring-color, Highlight);
637
637
  outline: var(--slotted-focus-ring-width, 2px) solid var(--slotted-focus-ring-color, Highlight);
@@ -656,7 +656,7 @@
656
656
  * Invalid outranks hover and is written after it for that reason. The ring is
657
657
  * retargeted rather than repainted: every rule that draws focus reads
658
658
  * `--slotted-focus-ring-color`, so pointing that one name at the invalid
659
- * colour on the element moves the outline, the shadow and both steppers'
659
+ * color on the element moves the outline, the shadow and both steppers'
660
660
  * rings at once.
661
661
  */
662
662
  [data-ui-number-field][data-part-root][data-invalid] {
@@ -679,7 +679,7 @@
679
679
  var(--slotted-tone-danger-border)
680
680
  );
681
681
  /*
682
- * Width as well as colour (WCAG 1.4.1), the edge `text-field` draws: in
682
+ * Width as well as color (WCAG 1.4.1), the edge `text-field` draws: in
683
683
  * `high-contrast` the danger border is the resting edge's black. The line
684
684
  * is a shadow inside the border, so neither box nor text moves, and it
685
685
  * takes the resting lift's place.
@@ -708,7 +708,7 @@
708
708
  }
709
709
 
710
710
  /*
711
- * Forced colours remove every box shadow, and the edge with them. The
711
+ * Forced colors remove every box shadow, and the edge with them. The
712
712
  * width comes back as an outline inside the border, and a focused invalid
713
713
  * control draws its ring double, which a valid ring is not.
714
714
  */
@@ -787,7 +787,7 @@
787
787
  }
788
788
 
789
789
  /**
790
- * Muted to the colour the theme measures rather than faded by opacity: a
790
+ * Muted to the color the theme measures rather than faded by opacity: a
791
791
  * value nobody can read is a field nobody can check.
792
792
  */
793
793
  [data-ui-number-field][data-part-root][data-disabled] > [data-part-start],
@@ -402,9 +402,9 @@
402
402
  [data-ui-otp-input][data-part-root]:has(> [data-part-input]:focus-visible)
403
403
  [data-part-slot][data-current] {
404
404
  /**
405
- * The resting shadow, recoloured. The geometry is the foundation's and the
405
+ * The resting shadow, recolored. The geometry is the foundation's and the
406
406
  * ink is the focus ring's, so the lift under the box and the ring around
407
- * it are one colour and the state decides which colour that is.
407
+ * it are one color and the state decides which color that is.
408
408
  */
409
409
  box-shadow: var(--slotted-control-shadow-focus-geometry, 0 1px 4px -1px)
410
410
  var(--slotted-focus-ring-color, Highlight);
@@ -416,7 +416,7 @@
416
416
  * Invalid outranks hover and is written after it for that reason. The ring
417
417
  * is retargeted rather than repainted: every rule that draws focus reads
418
418
  * `--slotted-focus-ring-color`, so pointing that one name at the invalid
419
- * colour on the root moves all of them at once — the rule `text-field`
419
+ * color on the root moves all of them at once — the rule `text-field`
420
420
  * wrote and every field family inherits.
421
421
  */
422
422
  [data-ui-otp-input][data-part-root][data-invalid] {
@@ -439,7 +439,7 @@
439
439
 
440
440
  border-color: var(--slotted-otp-input-invalid-border-color, var(--slotted-tone-danger-border));
441
441
  /*
442
- * Width as well as colour (WCAG 1.4.1), the edge `text-field` draws: in
442
+ * Width as well as color (WCAG 1.4.1), the edge `text-field` draws: in
443
443
  * `high-contrast` the danger border is the resting edge's black. The line
444
444
  * is a shadow inside the border, so neither box nor text moves, and it
445
445
  * takes the resting lift's place.
@@ -456,7 +456,7 @@
456
456
  }
457
457
 
458
458
  /*
459
- * Forced colours remove every box shadow, and the edge with them. The
459
+ * Forced colors remove every box shadow, and the edge with them. The
460
460
  * width comes back as an outline inside the border, and a focused invalid
461
461
  * control draws its ring double, which a valid ring is not.
462
462
  */
@@ -521,10 +521,10 @@
521
521
  }
522
522
 
523
523
  /**
524
- * The one rule the theme cannot write for the family. Forced colours give
524
+ * The one rule the theme cannot write for the family. Forced colors give
525
525
  * every text its system ink, and the transparent text laid over the boxes
526
526
  * would come back as a second copy of the code. The input keeps its own
527
- * colours — all of them transparent — and the boxes read the tokens the
527
+ * colors — all of them transparent — and the boxes read the tokens the
528
528
  * theme already remaps.
529
529
  */
530
530
  @media (forced-colors: active) {
@@ -289,7 +289,7 @@
289
289
 
290
290
  /**
291
291
  * A reader who asked for less transparency gets none of the effect, and under
292
- * forced colours the ground is the system's and the blur has nothing to add.
292
+ * forced colors the ground is the system's and the blur has nothing to add.
293
293
  */
294
294
  @media (prefers-reduced-transparency: reduce), (forced-colors: active) {
295
295
  [data-ui-page-header][data-stuck] {
@@ -426,7 +426,7 @@
426
426
 
427
427
  [data-ui-page-header] > * > [data-part-title-area] > [data-part-title-row] > [data-part-visual] {
428
428
  align-items: center;
429
- /* On the title's first line, as Primer's LeadingVisual: centred on the
429
+ /* On the title's first line, as Primer's LeadingVisual: centerd on the
430
430
  whole column it sank beside the second line of a wrapped title. */
431
431
  align-self: flex-start;
432
432
  display: inline-flex;
@@ -1002,7 +1002,7 @@
1002
1002
  * The attribute is written twice, beside `data-part`, on purpose: the
1003
1003
  * deepest part rule sets `display` with six attribute selectors, and this
1004
1004
  * one has to outweigh it for any part at any depth, so it carries six as
1005
- * well and comes later. It is honoured on parts, which is where a consumer
1005
+ * well and comes later. It is honored on parts, which is where a consumer
1006
1006
  * writes it.
1007
1007
  */
1008
1008
  [data-ui-page-header][data-expanded]
@@ -143,7 +143,7 @@
143
143
  /**
144
144
  * The page the reader is on. It is a solid fill rather than a heavier weight
145
145
  * or a border, for the reason the breadcrumb gives its last crumb the
146
- * 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
147
147
  * is the only difference visible at a glance. `aria-current="page"` is what
148
148
  * paints it — the value the ARIA specification names for a link inside a set
149
149
  * of pagination links — so what a screen reader announces and what the eye
@@ -262,9 +262,9 @@
262
262
  line-height: 1;
263
263
  min-inline-size: var(--_target);
264
264
  /**
265
- * 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
266
266
  * the baseline below the middle of the box. Half a cap height is the
267
- * distance from the baseline to the optical centre of Latin text.
267
+ * distance from the baseline to the optical center of Latin text.
268
268
  */
269
269
  translate: 0 calc(-1 * var(--slotted-pagination-ellipsis-lift, 0.5cap));
270
270
  }
@@ -274,7 +274,7 @@
274
274
  * One chevron for a step and two for an end: the `chevron-right` and
275
275
  * `chevrons-right` Glyph elements the bindings render in each trigger, both
276
276
  * stroked with `currentColor` so each follows the state its button is in —
277
- * 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
278
278
  * needs a rule of its own.
279
279
  *
280
280
  * Mirroring is stated twice rather than once, because there are two facts:
@@ -341,7 +341,7 @@
341
341
  * control its accessible name from the platform and gives the bindings
342
342
  * somewhere to put the chevron: the `chevron-down` Glyph element after the
343
343
  * select, laid over its end. A `select` takes no children of its own, and a
344
- * 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
345
345
  * family that has three schemes.
346
346
  */
347
347
 
@@ -464,14 +464,14 @@
464
464
  }
465
465
  }
466
466
 
467
- /* ── Forced colours ─────────────────────────────────────────────────────
467
+ /* ── Forced colors ─────────────────────────────────────────────────────
468
468
  *
469
469
  * The system replaces every painted surface with the page's own background,
470
470
  * which would take two things with it: the fill that is the only mark on
471
471
  * the current page, and the fill that answers the pointer.
472
472
  *
473
473
  * The chevrons need nothing: they are stroked with `currentColor`, the
474
- * 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
475
475
  * value — including the grey a disabled trigger takes.
476
476
  */
477
477
 
@@ -285,7 +285,7 @@
285
285
  /**
286
286
  * The three rows are the header's, the body's and the footer's, and the
287
287
  * body's alone is bounded. A consumer's own composition — the notification
288
- * centre under a bell, an inline command palette — stands as the panel's
288
+ * center under a bell, an inline command palette — stands as the panel's
289
289
  * one child, and as an auto row it grew past the room the positioner
290
290
  * reported: clipped at the panel's edge, its own footer out of sight. The
291
291
  * one child takes the body's row instead, and the family inside it scrolls
@@ -307,7 +307,7 @@
307
307
 
308
308
  /**
309
309
  * Title and description in the first column, the close control in the second,
310
- * on the first row so it stays level with the title rather than centring
310
+ * on the first row so it stays level with the title rather than centering
311
311
  * itself against a description the title may not have.
312
312
  */
313
313
  [data-ui-popover] > [data-part-content] > [data-part-header] {
@@ -432,7 +432,7 @@
432
432
  * only while there is something past it, and a body that fits shows
433
433
  * neither.
434
434
  *
435
- * The ink is the panel's own text colour at eight per cent rather than a
435
+ * The ink is the panel's own text color at eight per cent rather than a
436
436
  * literal, so it follows every scheme without a rule of its own.
437
437
  */
438
438
  background: