@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
package/package.json CHANGED
@@ -1,6 +1,16 @@
1
1
  {
2
2
  "name": "@slotted/styles",
3
- "version": "0.1.0-beta.29",
3
+ "version": "0.1.0-beta.30",
4
+ "description": "Per-family stylesheets of Slotted, bundled by the React and Angular bindings.",
5
+ "keywords": [
6
+ "slotted",
7
+ "css",
8
+ "ui",
9
+ "design-system"
10
+ ],
11
+ "homepage": "https://github.com/andrelopes-code/slotted/tree/main/packages/styles#readme",
12
+ "bugs": "https://github.com/andrelopes-code/slotted/issues",
13
+ "author": "André Lopes",
4
14
  "license": "MIT",
5
15
  "repository": {
6
16
  "type": "git",
@@ -87,7 +87,7 @@
87
87
 
88
88
  /**
89
89
  * A set taken out of action. The attribute reaches every trigger as the
90
- * native one, which is what actually stops the press; this is the colour that
90
+ * native one, which is what actually stops the press; this is the color that
91
91
  * says so for the words the set draws itself, if a consumer puts any in it.
92
92
  */
93
93
  [data-ui-accordion][data-disabled] {
@@ -202,7 +202,7 @@
202
202
 
203
203
  /**
204
204
  * `align` places the run in the room left after the status, and it is the
205
- * axis the field disagrees about: Salesforce centres a docked footer's
205
+ * axis the field disagrees about: Salesforce centers a docked footer's
206
206
  * buttons, Polaris puts them at the end, Fluent at the start. The anchor is
207
207
  * what `end` is, so the other two are the ones that state a margin.
208
208
  */
@@ -441,7 +441,7 @@
441
441
  }
442
442
  }
443
443
 
444
- /* ── Forced colours ───────────────────────────────────────────────────── */
444
+ /* ── Forced colors ───────────────────────────────────────────────────── */
445
445
 
446
446
  /**
447
447
  * A rule painted with a background disappears when the system flattens every
@@ -17,7 +17,7 @@
17
17
  * root sits inside the panel. This stylesheet reaches only the root and its
18
18
  * children, and `drawer`'s reaches only the panel and its own parts, so the
19
19
  * two never style each other's boxes
20
- * (`docs/history/designs/2026-09-25-action-sheet-on-drawer-design.md`).
20
+ *.
21
21
  *
22
22
  * Every part is reached with a child combinator, except the rows of the
23
23
  * list, which a group may hold one level down.
@@ -70,7 +70,7 @@
70
70
  /**
71
71
  * The family's measure. The binding hands the same value to `drawer`'s
72
72
  * panel as `--slotted-drawer-sheet-inline-size`, so the panel and the root
73
- * are one width; the root is centred in the panel for the case where a
73
+ * are one width; the root is centerd in the panel for the case where a
74
74
  * theme gives the panel more.
75
75
  */
76
76
  justify-self: center;
@@ -441,7 +441,7 @@
441
441
  outline-offset: var(--slotted-focus-ring-offset, 2px);
442
442
  }
443
443
 
444
- /* ── Forced colours ───────────────────────────────────────────────────── */
444
+ /* ── Forced colors ───────────────────────────────────────────────────── */
445
445
 
446
446
  /**
447
447
  * The one thing the theme cannot reach: every tone surface becomes `Canvas`,
@@ -25,7 +25,7 @@
25
25
  * The tone's five roles, defaulted to `accent` so an alert with no stated
26
26
  * tone is an informational one. Each tone below restates the same five;
27
27
  * every one of them is a role the theme's contrast test measures, so the
28
- * family never invents a colour and never mixes a ground the theme holds
28
+ * family never invents a color and never mixes a ground the theme holds
29
29
  * with a foreground it does not.
30
30
  */
31
31
  --_solid: var(--slotted-tone-accent-solid);
@@ -46,18 +46,18 @@
46
46
  * against the tone's fill, and on `outline` the ground is not the family's
47
47
  * to know.
48
48
  *
49
- * A state layer answers all three: the control's own text colour, at a low
49
+ * A state layer answers all three: the control's own text color, at a low
50
50
  * strength, over whatever ground it already has. `currentcolor` is legible
51
- * on that ground by construction — it is the colour the words are read in —
51
+ * on that ground by construction — it is the color the words are read in —
52
52
  * so a wash of it is always perceptible and never depends on a pair the
53
53
  * theme does not measure. The cost is that a theme retunes it by strength
54
- * rather than by colour, which is what the two component tokens are for.
54
+ * rather than by color, which is what the two component tokens are for.
55
55
  *
56
56
  * Ten and sixteen per cent, not eight and fourteen: white at eight per cent
57
57
  * over the `danger` fill moved OKLab lightness by 0.019 in the light and
58
58
  * dark schemes, under the 0.02 a surface step has to reach. Ten moves it by
59
59
  * 0.025 there and by at least 0.044 on every soft and outline ground
60
- * (`docs/history/designs/2026-09-25-alert-reui-dossier.md` § 4).
60
+ *.
61
61
  */
62
62
  --_state-hover: color-mix(
63
63
  in oklab,
@@ -75,8 +75,7 @@
75
75
  * the theme restates per density, so an alert inside a dense table shrinks
76
76
  * with the rows around it. The box's inset comes from the space scale,
77
77
  * which does not vary by density — the cost `card` accepted for the same
78
- * reason, and recorded in
79
- * `docs/history/designs/2026-09-02-alert-family-design.md`: at `dense`
78
+ * reason: at `dense`
80
79
  * the box keeps its inset while the type inside it shrinks.
81
80
  *
82
81
  * `--_font-size` is the *title's* size and the root's own, and the
@@ -85,7 +84,7 @@
85
84
  * number saying how.
86
85
  *
87
86
  * The status mark is a filled disc a step above the title's `1em`, rounded
88
- * to an even number of pixels so its centre falls on a whole pixel: 16 at
87
+ * to an even number of pixels so its center falls on a whole pixel: 16 at
89
88
  * 13-pixel type, 14 at 12, 16 at 14. A filled mark carries more weight per
90
89
  * pixel than an outline, so it stays within a few pixels of the capitals
91
90
  * and still reads as the loudest thing on the line.
@@ -183,8 +182,8 @@
183
182
  /**
184
183
  * The line box is rounded to an even number of pixels. At 13-pixel type
185
184
  * the scale's 1.5 gave 19.5, so a message of one line was 45.5 pixels
186
- * tall and every control centred on the line landed on a half pixel. An
187
- * even line also centres the 24- and 26-pixel dismiss control and the
185
+ * tall and every control centerd on the line landed on a half pixel. An
186
+ * even line also centers the 24- and 26-pixel dismiss control and the
188
187
  * 30-pixel actions on whole pixels: 20 at 13, 22 at 14, 18 at 12.
189
188
  */
190
189
  line-height: round(nearest, calc(var(--_line-height) * 1em), 2px);
@@ -241,17 +240,17 @@
241
240
  }
242
241
  }
243
242
 
244
- /* ── Tone: the colour, and the mark that says the same thing ───────────
243
+ /* ── Tone: the color, and the mark that says the same thing ───────────
245
244
  *
246
245
  * Five tones and five marks, and the map is
247
246
  * `specs/components/alert/contract.json` rather than a decision taken here:
248
247
  * both bindings draw the glyph from it and the contract test reads it, and
249
- * this sheet paints only the colour. It is
248
+ * this sheet paints only the color. It is
250
249
  * the map `status-indicator` declares, so a status light and an alert about
251
250
  * the same thing draw the same silhouette.
252
251
  *
253
- * The mark is what satisfies WCAG 2.2 1.4.1. Under forced colours every tone
254
- * ground becomes one system colour and the five boxes are identical; the
252
+ * The mark is what satisfies WCAG 2.2 1.4.1. Under forced colors every tone
253
+ * ground becomes one system color and the five boxes are identical; the
255
254
  * circle, the diamond and the symbols cut out of them are what is left.
256
255
  */
257
256
 
@@ -318,7 +317,7 @@
318
317
  * The default, and the shape seven of the ten surveyed implementations draw.
319
318
  * It carries the tone's border as well as its surface: in `high-contrast`
320
319
  * the tone surfaces are the page's own white, so a soft alert with no edge
321
- * is a run of coloured text with no box around it — the finding `kbd`
320
+ * is a run of colored text with no box around it — the finding `kbd`
322
321
  * recorded about its own soft variant.
323
322
  */
324
323
  [data-ui-alert][data-part-root][data-variant='soft'] {
@@ -333,7 +332,7 @@
333
332
  * a second rectangle around the message.
334
333
  *
335
334
  * It is not the variant for an unknown ground, and the harness fragment shows
336
- * why: read on `--slotted-surface-inverse`, the tone's text is a colour the
335
+ * why: read on `--slotted-surface-inverse`, the tone's text is a color the
337
336
  * theme never measured against that ground and the words go quiet. A dark
338
337
  * region is a scheme rather than a surface — an application states
339
338
  * `data-slotted-scheme` on it, every tone role is restated, and `outline`
@@ -415,9 +414,9 @@
415
414
  * out of it: the binding's `Glyph` drawing a hand-drawn status mark, the
416
415
  * symbol cut out of the fill with an SVG mask, so the ground shows through
417
416
  * the symbol on every variant. Every silhouette — the circle, the warning's
418
- * diamond — is symmetric on both axes, so every mark has the same centre;
419
- * the symbol inside is what tells the five apart when colour is gone. A
420
- * triangle was the one mark whose visual centre is not its box's centre,
417
+ * diamond — is symmetric on both axes, so every mark has the same center;
418
+ * the symbol inside is what tells the five apart when color is gone. A
419
+ * triangle was the one mark whose visual center is not its box's center,
421
420
  * and it did not sit on the line the way the circles did.
422
421
  *
423
422
  * The silhouette fills its box edge to edge, so the box is the mark.
@@ -429,7 +428,7 @@
429
428
  * The mark hangs from the first line's baseline, not from the top of the
430
429
  * row. Grid baseline alignment puts the mark's bottom edge on the words'
431
430
  * baseline, and a relative offset lowers it by half of what the mark exceeds
432
- * the capitals by, so its centre is the centre of the capitals in whatever
431
+ * the capitals by, so its center is the center of the capitals in whatever
433
432
  * face the title is set in. A margin cannot do this: a box with no baseline
434
433
  * of its own is aligned by its border edge, so a margin moves nothing. The
435
434
  * offset is rounded to a whole pixel, and the mark is a whole number of
@@ -441,7 +440,7 @@
441
440
  * baseline out of the box's, so the box is aligned by its border edge.
442
441
  *
443
442
  * A mark the page supplies instead of the tone's takes the same box and its
444
- * place on the first line, centred in it.
443
+ * place on the first line, centerd in it.
445
444
  */
446
445
  [data-ui-alert] > [data-part-icon] {
447
446
  --slotted-icon-size: var(--_mark-size);
@@ -551,7 +550,7 @@
551
550
  *
552
551
  * The negative margins are optical rather than decorative. The button's box
553
552
  * is taller than the line it sits beside, so aligning the two boxes puts the
554
- * glyph below the title's centre; pulling the box up by half the difference
553
+ * glyph below the title's center; pulling the box up by half the difference
555
554
  * puts the glyph on the title's own line. The same distance is taken off the
556
555
  * inline end, so the glyph — rather than the invisible hit area around it —
557
556
  * sits at the inset the rest of the box uses.
@@ -617,7 +616,7 @@
617
616
  }
618
617
 
619
618
  /* On a finger the target is the comfortable size in both axes and the box
620
- is the one a mouse sees: a transparent box centred on the control reaches
619
+ is the one a mouse sees: a transparent box centerd on the control reaches
621
620
  44 pixels, and the ground and the ring stay square. */
622
621
  @media (pointer: coarse) {
623
622
  [data-ui-alert] > [data-part-dismiss] {
@@ -651,7 +650,7 @@
651
650
  * against `--slotted-tone-accent-solid` in the light scheme, 1.03 against
652
651
  * `success` and 1.07 against `danger`. The ring the theme calibrated against
653
652
  * the page's surface disappears on the tone's own fill. The ring keeps the
654
- * theme's colour in every scheme (R3); what a solid alert adds is a halo one
653
+ * theme's color in every scheme (R3); what a solid alert adds is a halo one
655
654
  * ring-width wide just inside it, in the ink its own words are written in,
656
655
  * so the ring is read against that halo rather than against the fill.
657
656
  */
@@ -704,7 +703,7 @@
704
703
  @container slotted-alert (min-width: 40rem) {
705
704
  /* In the mark's and the words' baseline group: the labels of the actions
706
705
  stand on the first line of the message, and a one-line message is
707
- centred on the controls beside it. */
706
+ centerd on the controls beside it. */
708
707
  [data-ui-alert][data-actions-placement='end'] > [data-part-actions] {
709
708
  align-self: baseline;
710
709
  grid-column: 3;
@@ -719,27 +718,27 @@
719
718
  }
720
719
  }
721
720
 
722
- /* ── Forced colours ───────────────────────────────────────────────────
721
+ /* ── Forced colors ───────────────────────────────────────────────────
723
722
  *
724
- * The operating system replaces every author colour, so all five tones
723
+ * The operating system replaces every author color, so all five tones
725
724
  * become one box and all three variants become one painting. What is left to
726
725
  * decide is whether the box still has an edge, and the theme cannot answer
727
726
  * it: `solid` draws its border in its own fill, and a transparent border is
728
- * not a colour the system remaps.
727
+ * not a color the system remaps.
729
728
  *
730
729
  * The mark needs no rule: its glyph fills with `currentcolor`, which the
731
730
  * system has already forced, and it keeps its silhouette, which is the whole
732
731
  * reason a glyph is drawn per tone — a diamond and a circle are still
733
- * different from each other when neither of them is coloured.
732
+ * different from each other when neither of them is colored.
734
733
  */
735
734
  @media (forced-colors: active) {
736
735
  /**
737
736
  * Stated per variant, because each variant's own rule outranks a rule on
738
737
  * the root alone. The theme maps the accent fill to `Highlight` and its ink
739
- * to `HighlightText`, and a system colour is one the browser keeps: the
738
+ * to `HighlightText`, and a system color is one the browser keeps: the
740
739
  * solid box stayed `Highlight` while the backplate the browser draws
741
740
  * behind text stayed `Canvas`, and the words were white on white. The
742
- * danger fill, not a system colour, was forced to `Canvas` and took its
741
+ * danger fill, not a system color, was forced to `Canvas` and took its
743
742
  * edge with it.
744
743
  */
745
744
  [data-ui-alert][data-part-root][data-variant] {
@@ -750,7 +749,7 @@
750
749
 
751
750
  /**
752
751
  * The control's glyph is stroked in `currentcolor`, so giving the control a
753
- * system colour repaints the mark with it.
752
+ * system color repaints the mark with it.
754
753
  */
755
754
  [data-ui-alert] > [data-part-dismiss] {
756
755
  color: CanvasText;
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * div[data-ui-app-shell]
7
7
  * ├─ skip ▸ a · a · a
8
- * ├─ banner ▸ brand ▸ nav-toggle · … | centre ▸ … | actions ▸ …
8
+ * ├─ banner ▸ brand ▸ nav-toggle · … | center ▸ … | actions ▸ …
9
9
  * ├─ nav ▸ nav-header · nav-body · nav-footer
10
10
  * ├─ scrim
11
11
  * ├─ main ▸ page ▸ …
@@ -132,7 +132,7 @@
132
132
  --_aside-size: var(--slotted-app-shell-aside-size-md, 20rem);
133
133
  /**
134
134
  * A rail is one mark column with a row's inset on each side, so a closed
135
- * region is exactly as wide as the marks it holds and reads as a centred
135
+ * region is exactly as wide as the marks it holds and reads as a centerd
136
136
  * strip rather than as a column with its air on one side.
137
137
  */
138
138
  --_rail-size: var(
@@ -155,7 +155,7 @@
155
155
  * strip a reader sees; each other plane gives the region an edge — the
156
156
  * screen's, a card's, a seam — and a row whose ground meets an edge reads
157
157
  * as a column with no padding. The inset is on both sides, so the closed
158
- * strip stays centred in itself, and the closed width is written once,
158
+ * strip stays centerd in itself, and the closed width is written once,
159
159
  * from both, for every plane.
160
160
  */
161
161
  --_nav-inset: 0px;
@@ -211,7 +211,7 @@
211
211
  --_elevation: var(--slotted-app-shell-elevation, var(--slotted-shadow-xs));
212
212
  /**
213
213
  * The line a seam draws, stated once. `separation="tone"` sets it to
214
- * `none` and the forced-colours block below sets it back, so every seam
214
+ * `none` and the forced-colors block below sets it back, so every seam
215
215
  * rule is written once and reads the axis through this property.
216
216
  */
217
217
  --_seam: var(--_rule-width) solid var(--_rule);
@@ -229,7 +229,7 @@
229
229
  background-color: var(--_frame);
230
230
  /**
231
231
  * A wash or a photograph behind the frame is a theme's decision, not a
232
- * prop: one layer over the frame's colour, sized to cover the frame and
232
+ * prop: one layer over the frame's color, sized to cover the frame and
233
233
  * nothing when the token is unset.
234
234
  */
235
235
  background-image: var(--slotted-app-shell-frame-image, none);
@@ -424,7 +424,7 @@
424
424
  * A control keeps its width. Left to shrink with the cluster, a button in a
425
425
  * bar too narrow for it broke its own label one letter per line, which is a
426
426
  * defect of a different kind from a bar that has run out of room. What runs
427
- * out of room is the middle, which is what `centre` is for.
427
+ * out of room is the middle, which is what `center` is for.
428
428
  */
429
429
  [data-ui-app-shell] > [data-part-banner] > [data-part-actions] > * {
430
430
  flex-shrink: 0;
@@ -438,7 +438,7 @@
438
438
  * is the consumer's; that it may be narrower than what it holds is the
439
439
  * shell's, for the reason `actions` carries `min-inline-size: 0`.
440
440
  */
441
- [data-ui-app-shell] > [data-part-banner] > [data-part-centre] {
441
+ [data-ui-app-shell] > [data-part-banner] > [data-part-center] {
442
442
  align-items: center;
443
443
  display: flex;
444
444
  flex: 1 1 auto;
@@ -541,7 +541,7 @@
541
541
  * list overflows, so a destination added at the bottom moves no row
542
542
  * sideways. `scrollbar-width: thin` is still the platform's bar — the trough
543
543
  * click and the context menu survive — and it is what makes the bar the
544
- * family's to colour: an overlay bar drawn by the platform over the rows sat
544
+ * family's to color: an overlay bar drawn by the platform over the rows sat
545
545
  * on the chevron of every parent, because a row ends one inset from the
546
546
  * column's edge and the platform's bar is wider than that inset. A thin
547
547
  * classic bar stands in the gutter instead, beside the rows.
@@ -840,7 +840,7 @@
840
840
  * The application's own footer, and the one region a product most often does
841
841
  * not have: a bar across the bottom of every route costs a row of the screen
842
842
  * for a version string. It exists because `contentinfo` has to be reachable
843
- * where a product does have one — a licence, a status, an environment — and
843
+ * where a product does have one — a license, a status, an environment — and
844
844
  * it takes only the height of its own line.
845
845
  */
846
846
  [data-ui-app-shell] > [data-part-footer] {
@@ -874,7 +874,7 @@
874
874
  /**
875
875
  * Everything the frame holds is a box inset from it by the gutter, and the
876
876
  * gutter is a *margin* rather than padding on purpose: the navigation's own
877
- * box is then the strip a reader sees, so a rail is centred in itself rather
877
+ * box is then the strip a reader sees, so a rail is centerd in itself rather
878
878
  * than being a column with its air on one side. That was the reviewer's
879
879
  * finding — the closed strip had twelve pixels to its right, where the
880
880
  * content card begins, and nothing to its left.
@@ -978,7 +978,7 @@
978
978
  /**
979
979
  * Block air, the gutter; inline air, the row inset on both sides, from
980
980
  * `--_nav-inset`. A padding on one side alone is what put the closed strip
981
- * off-centre on this plane once; none at all put every row's ground against
981
+ * off-center on this plane once; none at all put every row's ground against
982
982
  * the screen's edge and against the seam.
983
983
  */
984
984
  [data-ui-app-shell][data-canvas='flush'] > [data-part-nav] {
@@ -1303,8 +1303,8 @@
1303
1303
  /**
1304
1304
  * The seam re-read in each region's scope. `--_seam` declared on the root
1305
1305
  * holds the root's `--slotted-app-shell-border-color`, so the property written
1306
- * on a region recoloured nothing. Declared again on every region, the chain
1307
- * resolves where the region stands: a colour written there recolours the
1306
+ * on a region recolored nothing. Declared again on every region, the chain
1307
+ * resolves where the region stands: a color written there recolors the
1308
1308
  * seams the region and its parts draw, and `transparent` removes them. The
1309
1309
  * tone rules below state the same two declarations at a higher specificity.
1310
1310
  */
@@ -1417,7 +1417,7 @@
1417
1417
  * the strip: the column is cut by the region's own overflow while the width
1418
1418
  * moves, and leaves the tab order and the accessibility tree at the end of
1419
1419
  * the move — `visibility` steps at the end on the way out and at the start
1420
- * on the way in. `:has()` recognises the part, so no script writes an
1420
+ * on the way in. `:has()` recognizes the part, so no script writes an
1421
1421
  * attribute and a server render has the grid on its first paint.
1422
1422
  */
1423
1423
  [data-ui-app-shell] > [data-part-nav]:has(> [data-part-nav-rail]) {
@@ -1479,13 +1479,13 @@
1479
1479
  border-inline-end: none;
1480
1480
  }
1481
1481
 
1482
- /* ── Forced colours ──────────────────────────────────────────────────── */
1482
+ /* ── Forced colors ──────────────────────────────────────────────────── */
1483
1483
 
1484
1484
  /**
1485
1485
  * Every ground is `Canvas` here, so a tone separates nothing: the seams are
1486
1486
  * drawn whatever `separation` says. The theme cannot reach a boundary the
1487
1487
  * family draws with a ground, which is the case the briefing allows a family
1488
- * a forced-colours rule of its own for.
1488
+ * a forced-colors rule of its own for.
1489
1489
  */
1490
1490
  @media (forced-colors: active) {
1491
1491
  [data-ui-app-shell][data-separation='tone'],
@@ -1493,7 +1493,7 @@
1493
1493
  --_seam: var(--_rule-width) solid CanvasText;
1494
1494
  --_seam-width: var(--_rule-width);
1495
1495
  }
1496
- /* A gradient resolves to nothing here, so the edge's mark takes flat system colours. */
1496
+ /* A gradient resolves to nothing here, so the edge's mark takes flat system colors. */
1497
1497
  [data-ui-app-shell] > [data-part-aside] > [data-part-aside-resizer] > [data-part-line] {
1498
1498
  background: ButtonBorder;
1499
1499
  forced-color-adjust: none;
@@ -1605,7 +1605,7 @@
1605
1605
  inline-size: var(--_nav-size);
1606
1606
  }
1607
1607
  /**
1608
- * The rail centres its marks, all three rows together: a head centred over a
1608
+ * The rail centers its marks, all three rows together: a head centerd over a
1609
1609
  * body that is not reads as two columns in one strip.
1610
1610
  */
1611
1611
  [data-ui-app-shell][data-nav-mode='inline']:not([data-open])
@@ -1724,7 +1724,7 @@
1724
1724
 
1725
1725
  /* A layer over the content is opaque or it is unreadable, so the plane's
1726
1726
  transparent default does not reach it — the product's own choice still
1727
- does, which is why this is the property and not the colour. */
1727
+ does, which is why this is the property and not the color. */
1728
1728
  background-color: var(
1729
1729
  --slotted-app-shell-nav-surface,
1730
1730
  var(--slotted-app-shell-canvas, var(--slotted-surface, Canvas))
@@ -1920,7 +1920,7 @@
1920
1920
  margin-inline: var(--_gutter) 0;
1921
1921
  }
1922
1922
  /* The strip lies on the line between the pane and the content: the seam
1923
- where they meet, the gutter's centre where the gutter separates them.
1923
+ where they meet, the gutter's center where the gutter separates them.
1924
1924
  The pane then does not scroll itself — its body does — so it does not
1925
1925
  clip the half of the strip that stands outside it. */
1926
1926
  [data-ui-app-shell][data-scroll='content']:not([data-aside-mode='overlay'])
@@ -9,7 +9,7 @@
9
9
  * transfers files; this family does neither. The two share the file
10
10
  * vocabulary of `@slotted/core/upload` and the kind scale
11
11
  * `--slotted-upload-kind-*`, and nothing else
12
- * (`docs/history/designs/2026-09-30-attachment-design.md` §1).
12
+ *.
13
13
  *
14
14
  * **The whole attachment is the target, and the actions stay beside it.**
15
15
  * The trigger is a real `a` or `button` holding the file name, and a
@@ -104,7 +104,7 @@
104
104
  /* ── One attachment ────────────────────────────────────────────────────
105
105
  *
106
106
  * Laid out as a grid rather than a flex line, for the reason `upload` gives
107
- * its row: the tile and the actions are centred on the name and its detail,
107
+ * its row: the tile and the actions are centerd on the name and its detail,
108
108
  * and a sentence under them — the message — grows the attachment downwards
109
109
  * without moving either. The message starts under the name, not under the
110
110
  * tile, so its first letter lines up with the name's.
@@ -228,8 +228,8 @@
228
228
 
229
229
  /* ── The tile ──────────────────────────────────────────────────────────
230
230
  *
231
- * A solid tile in the file's own colour with the mark knocked out of it, or
232
- * the picture when the page has one. The colour argument and its
231
+ * A solid tile in the file's own color with the mark knocked out of it, or
232
+ * the picture when the page has one. The color argument and its
233
233
  * measurements are under **File kind** in `docs/token-foundation.md`; the
234
234
  * scale is `upload`'s and is read here under its own name.
235
235
  */
@@ -497,7 +497,7 @@
497
497
  * placement — it ran under the tile, and on a failed attachment the danger
498
498
  * bar sat against the danger edge and its inset second line: three red
499
499
  * lines at the bottom, read as the edge doubled wherever the bar reached.
500
- * Centred in the inset, the bar clears the edge by the same distance it
500
+ * Centerd in the inset, the bar clears the edge by the same distance it
501
501
  * clears the detail line above it.
502
502
  */
503
503
  [data-ui-attachment] [data-part-progress] {
@@ -622,7 +622,7 @@
622
622
 
623
623
  /**
624
624
  * On a finger the target is the comfortable size and the box is the one a
625
- * mouse sees: a transparent `::after` centred on each control reaches 44
625
+ * mouse sees: a transparent `::after` centerd on each control reaches 44
626
626
  * pixels in both axes, and the ground and the ring stay square. The rule is
627
627
  * `upload`'s.
628
628
  */
@@ -641,7 +641,7 @@
641
641
  /* ── States of the file ────────────────────────────────────────────────
642
642
  *
643
643
  * A file that failed: its ground, its edge and its sentence turn, and the
644
- * tile keeps the kind's colour. `upload` measured why — a refused archive
644
+ * tile keeps the kind's color. `upload` measured why — a refused archive
645
645
  * that turned red stopped saying it was an archive, on the one row whose
646
646
  * message was about archives — and every kind clears 4.03 : 1 against the
647
647
  * failed ground in `light` (`default-theme.test.mjs`).
@@ -654,7 +654,7 @@
654
654
  /*
655
655
  * The edge doubles inward. Every tone surface is the page's own white in
656
656
  * `high-contrast`, so the failed attachment's tint vanished there and the
657
- * sentence's colour was the one signal left — colour alone, which WCAG 2.2
657
+ * sentence's color was the one signal left — color alone, which WCAG 2.2
658
658
  * SC 1.4.1 refuses. A second pixel of edge says it in line, in every
659
659
  * scheme, and moves nothing: an inset shadow takes no room.
660
660
  */
@@ -665,7 +665,7 @@
665
665
 
666
666
  /**
667
667
  * An unavailable file. The words take the disabled ink the foundation holds
668
- * at its contrast, and the tile gives up the kind's colour, because a file
668
+ * at its contrast, and the tile gives up the kind's color, because a file
669
669
  * that cannot be opened should not still be the brightest thing in the row.
670
670
  */
671
671
  [data-ui-attachment][data-part-root][data-disabled] {
@@ -683,7 +683,7 @@
683
683
  }
684
684
 
685
685
  /*
686
- * A picture has no ground to give up, so it gives up its colour: the
686
+ * A picture has no ground to give up, so it gives up its color: the
687
687
  * whole-strength grey is the one value that says unavailable without
688
688
  * dimming the thumbnail below legibility.
689
689
  */
@@ -696,7 +696,7 @@
696
696
  * The same attachment stood on end: the picture takes the card and the name
697
697
  * sits under it. The actions move onto the picture's corner, over the thing
698
698
  * the reader is pointing at, on a plate of their own — the consumer's
699
- * photograph is any colour, and a dark mark on a mid-blue sky was what
699
+ * photograph is any color, and a dark mark on a mid-blue sky was what
700
700
  * `upload`'s first grid capture showed.
701
701
  */
702
702
  [data-ui-attachment][data-part-root][data-orientation='vertical'] {
@@ -763,7 +763,7 @@
763
763
 
764
764
  /*
765
765
  * On a card three glyphs wide the plate stands over the kind's mark: at 120
766
- * pixels the mark is centred at 51 and the plate reaches 36 from the top
766
+ * pixels the mark is centerd at 51 and the plate reaches 36 from the top
767
767
  * across the inline end, so a PDF card showed half its page under the
768
768
  * controls. Where there is a pointer that can hover, the plate appears with
769
769
  * the pointer or with focus anywhere in the card — the keyboard reaches the
@@ -859,7 +859,7 @@
859
859
  inline-size: var(--slotted-attachment-strip-item-size, 15rem);
860
860
  }
861
861
 
862
- /* ── Forced colours ────────────────────────────────────────────────────
862
+ /* ── Forced colors ────────────────────────────────────────────────────
863
863
  *
864
864
  * The theme remaps every token this sheet reads. What it cannot reach is a
865
865
  * state said by a mix into a ground the system flattens to `Canvas`: the
@@ -872,7 +872,7 @@
872
872
  --_edge: CanvasText;
873
873
  }
874
874
 
875
- /* The doubled edge is a shadow, which forced colours remove: it comes back
875
+ /* The doubled edge is a shadow, which forced colors remove: it comes back
876
876
  as an outline inside the border, and a focused failed attachment draws
877
877
  its ring double. */
878
878
  [data-ui-attachment][data-part-root][data-invalid] {