@slotted/angular 0.1.0-beta.27 → 0.1.0-beta.29

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 (101) hide show
  1. package/docs/command-palette.json +1 -0
  2. package/docs/command-palette.md +1 -1
  3. package/docs/date-picker.json +11 -0
  4. package/docs/date-picker.md +2 -1
  5. package/docs/date-range-picker.json +11 -0
  6. package/docs/date-range-picker.md +2 -1
  7. package/docs/datetime-picker.json +11 -0
  8. package/docs/datetime-picker.md +2 -1
  9. package/docs/datetime-range-picker.json +11 -0
  10. package/docs/datetime-range-picker.md +2 -1
  11. package/docs/description-list.json +2 -1
  12. package/docs/description-list.md +2 -2
  13. package/docs/drawer.json +2 -0
  14. package/docs/drawer.md +1 -1
  15. package/docs/entity-picker.json +1 -0
  16. package/docs/entity-picker.md +1 -1
  17. package/docs/field-group.json +15 -0
  18. package/docs/field-group.md +3 -1
  19. package/docs/guidelines/forms.md +15 -3
  20. package/docs/guidelines/index.md +2 -1
  21. package/docs/guidelines/overviews.md +6 -6
  22. package/docs/index.md +1 -0
  23. package/docs/media-viewer.json +521 -0
  24. package/docs/media-viewer.md +188 -0
  25. package/docs/skills/theme-app/SKILL.md +8 -2
  26. package/docs/stat-card.json +16 -1
  27. package/docs/stat-card.md +3 -1
  28. package/docs/tag.json +1 -0
  29. package/docs/tag.md +1 -1
  30. package/docs/time-picker.json +11 -0
  31. package/docs/time-picker.md +2 -1
  32. package/docs/time-range-picker.json +11 -0
  33. package/docs/time-range-picker.md +2 -1
  34. package/fesm2022/slotted-angular-attachment.mjs +2 -2
  35. package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
  36. package/fesm2022/slotted-angular-cascader.mjs +2 -2
  37. package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
  38. package/fesm2022/slotted-angular-command-palette.mjs +2 -2
  39. package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
  40. package/fesm2022/slotted-angular-date-picker.mjs +25 -2
  41. package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
  42. package/fesm2022/slotted-angular-date-range-picker.mjs +25 -2
  43. package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
  44. package/fesm2022/slotted-angular-datetime-picker.mjs +25 -2
  45. package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
  46. package/fesm2022/slotted-angular-datetime-range-picker.mjs +25 -2
  47. package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
  48. package/fesm2022/slotted-angular-description-list.mjs +4 -4
  49. package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
  50. package/fesm2022/slotted-angular-dialog.mjs +4 -4
  51. package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
  52. package/fesm2022/slotted-angular-drawer.mjs +2 -2
  53. package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
  54. package/fesm2022/slotted-angular-entity-picker.mjs +2 -2
  55. package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
  56. package/fesm2022/slotted-angular-field-group.mjs +25 -11
  57. package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
  58. package/fesm2022/slotted-angular-field.mjs +16 -8
  59. package/fesm2022/slotted-angular-field.mjs.map +1 -1
  60. package/fesm2022/slotted-angular-media-viewer.mjs +962 -0
  61. package/fesm2022/slotted-angular-media-viewer.mjs.map +1 -0
  62. package/fesm2022/slotted-angular-message-scroller.mjs +2 -2
  63. package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
  64. package/fesm2022/slotted-angular-message.mjs +4 -4
  65. package/fesm2022/slotted-angular-message.mjs.map +1 -1
  66. package/fesm2022/slotted-angular-multi-select.mjs +2 -2
  67. package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
  68. package/fesm2022/slotted-angular-select.mjs +2 -2
  69. package/fesm2022/slotted-angular-select.mjs.map +1 -1
  70. package/fesm2022/slotted-angular-stat-card.mjs +13 -3
  71. package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
  72. package/fesm2022/slotted-angular-tag.mjs +2 -2
  73. package/fesm2022/slotted-angular-tag.mjs.map +1 -1
  74. package/fesm2022/slotted-angular-tags-input.mjs +2 -2
  75. package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
  76. package/fesm2022/slotted-angular-time-picker.mjs +25 -2
  77. package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
  78. package/fesm2022/slotted-angular-time-range-picker.mjs +25 -2
  79. package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
  80. package/fesm2022/slotted-angular-wizard.mjs +2 -2
  81. package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
  82. package/package.json +7 -3
  83. package/types/slotted-angular-date-picker.d.ts +1 -0
  84. package/types/slotted-angular-date-picker.d.ts.map +1 -1
  85. package/types/slotted-angular-date-range-picker.d.ts +1 -0
  86. package/types/slotted-angular-date-range-picker.d.ts.map +1 -1
  87. package/types/slotted-angular-datetime-picker.d.ts +1 -0
  88. package/types/slotted-angular-datetime-picker.d.ts.map +1 -1
  89. package/types/slotted-angular-datetime-range-picker.d.ts +1 -0
  90. package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -1
  91. package/types/slotted-angular-field-group.d.ts +10 -2
  92. package/types/slotted-angular-field-group.d.ts.map +1 -1
  93. package/types/slotted-angular-field.d.ts.map +1 -1
  94. package/types/slotted-angular-media-viewer.d.ts +140 -0
  95. package/types/slotted-angular-media-viewer.d.ts.map +1 -0
  96. package/types/slotted-angular-stat-card.d.ts +10 -2
  97. package/types/slotted-angular-stat-card.d.ts.map +1 -1
  98. package/types/slotted-angular-time-picker.d.ts +1 -0
  99. package/types/slotted-angular-time-picker.d.ts.map +1 -1
  100. package/types/slotted-angular-time-range-picker.d.ts +1 -0
  101. package/types/slotted-angular-time-range-picker.d.ts.map +1 -1
@@ -0,0 +1,188 @@
1
+ <!-- index: ./index.md -->
2
+ # media-viewer
3
+
4
+ `data-ui="media-viewer"` · Full-screen viewer of files: fitted, zoomed, stepped.
5
+
6
+ ## Import
7
+
8
+ ```ts
9
+ import { provideMediaViewerDefaults, SlMediaViewer, SlMediaViewerAction } from '@slotted/angular/media-viewer';
10
+ ```
11
+
12
+ Selector: `sl-media-viewer, [slMediaViewerAction]` · exportAs: `slMediaViewer`
13
+
14
+ ## Minimal example
15
+
16
+ Excerpt — not a complete module
17
+
18
+ ```html
19
+ <button slAttachmentTrigger (click)="value.set(file.id); open.set(true)"></button>
20
+ <sl-media-viewer [items]="files" [(open)]="open" [(value)]="value" />
21
+ ```
22
+
23
+ ## Anatomy
24
+
25
+ | Part | Element | Required |
26
+ | --- | --- | --- |
27
+ | `root` | div | yes |
28
+ | `bar` | div | yes |
29
+ | `close` | button | yes |
30
+ | `heading` | div | yes |
31
+ | `title` | h2 | yes |
32
+ | `position` | p | no |
33
+ | `actions` | div | yes |
34
+ | `download` | a download | no |
35
+ | `stage` | div | yes |
36
+ | `frame` | div | no |
37
+ | `media` | img, iframe, video or audio | no |
38
+ | `unsupported` | div | no |
39
+ | `tile` | span | no |
40
+ | `text` | div | no |
41
+ | `retry` | button | no |
42
+ | `status` | div role="status" | no |
43
+ | `previous` | button | no |
44
+ | `next` | button | no |
45
+ | `zoom` | div role="group" | no |
46
+ | `zoom-out` | button | no |
47
+ | `zoom-level` | output | no |
48
+ | `zoom-in` | button | no |
49
+ | `fit` | button | no |
50
+ | `rotate` | button | no |
51
+ | `caption` | p | no |
52
+ | `thumbnails` | div role="group" | no |
53
+ | `thumbnail` | button | no |
54
+
55
+ ## Props
56
+
57
+ | Name | Type | Default | Applies to | Description |
58
+ | --- | --- | --- | --- | --- |
59
+ | `items` | `MediaViewerItem[]` | [] | sl-media-viewer | { id, src, name, type, caption?, downloadHref?, thumbnail?, width?, height? }; type is a MIME type |
60
+ | `open` | `model<boolean>` | false | sl-media-viewer | Whether the viewer is shown; [(open)] two-way |
61
+ | `value` | `model<string \| undefined>` | the first item | sl-media-viewer | The id of the item shown; [(value)] two-way |
62
+ | `zoom` | `model<number>` | 1 | sl-media-viewer | The level, a multiple of the fit; [(zoom)] two-way |
63
+ | `rotation` | `model<0 \| 90 \| 180 \| 270>` | 0 | sl-media-viewer | The turn; [(rotation)] two-way |
64
+ | `minZoom` | `number` | 1 | sl-media-viewer | The lowest level; 1 is the whole picture |
65
+ | `maxZoom` | `number` | 4 | sl-media-viewer | The highest level |
66
+ | `zoomStep` | `number` | 0.25 | sl-media-viewer | What a button, a key or 100 pixels of wheel add |
67
+ | `loop` | `boolean` | false | sl-media-viewer | Steps wrap at the ends instead of stopping |
68
+ | `thumbnails` | `boolean` | false | sl-media-viewer | Draws the strip of the set under the stage |
69
+ | `thumbnailsLabel` | `string` | — | sl-media-viewer | The strip’s accessible name |
70
+ | `fullscreenToggle` | `boolean` | false | sl-media-viewer | Passed to sl-dialog: asks the platform for the whole screen |
71
+ | `container` | `Element \| null` | the dialog’s own | sl-media-viewer | Where the layer is written |
72
+ | `messages` | `Partial<MediaViewerMessages>` | — | sl-media-viewer | Words laid over the language in force, key by key: close, previous, next, zoomIn, zoomOut, fit, rotate, download, position, zoomLevel, unsupportedTitle, unsupported, errorTitle, error, retry, truncated, loading, announce, label |
73
+ | `provideMediaViewerDefaults` | `{ minZoom, maxZoom, zoomStep, loop, messages }` | — | providers | Sets them once for every viewer under the injector; an input still wins |
74
+ | `slMediaViewerAction` | `directive` | — | a control of the consumer’s own | Projected into the bar beside the download |
75
+ | `exportAs` | `slMediaViewer` | — | sl-media-viewer | The instance: requestStep, requestZoom, requestRotation, requestOpen |
76
+
77
+ ## Events
78
+
79
+ | Name | Payload | When |
80
+ | --- | --- | --- |
81
+ | `openChangeRequest` | `ChangeRequest<boolean>: { value, previous, reason: 'pointer' \| 'keyboard' \| 'escape' \| 'outsidePress' \| 'back' \| 'programmatic', cancel() }` | The close button, Escape, the platform’s back, a click on the ground beside the picture, a pull down on a finger, or a set that became empty. cancel() keeps the viewer open. |
82
+ | `valueChangeRequest` | `ChangeRequest<string>: { value, previous, reason: 'pointer' \| 'keyboard' \| 'remove' \| 'programmatic', cancel() }` | A step by a button, a thumbnail, an arrow, Home, End or a swipe; remove when the shown item left the set and its neighbour takes its place. |
83
+ | `zoomChangeRequest` | `ChangeRequest<number>: { value, previous, reason: 'pointer' \| 'keyboard' \| 'select' \| 'programmatic', cancel() }` | The wheel, a pinch, a double-click, the pill or a key; select when a step puts the level back to the fit. |
84
+ | `rotationChangeRequest` | `ChangeRequest<0 \| 90 \| 180 \| 270>: { value, previous, reason: 'pointer' \| 'keyboard' \| 'select' \| 'programmatic', cancel() }` | The rotate button or R; select when a step puts the turn back to 0. |
85
+
86
+ ## Rules
87
+
88
+ - The layer is dialog’s: focus enters it, Tab stays inside, Escape and the platform’s back close it, and focus returns to the opener.
89
+ - The dialog is named by the file’s title and described by its position, so a reader hears “police-report.pdf, 3 of 5” when it opens; a step announces the new name and position politely.
90
+ - Focus lands on the stage rather than on the close button, because the content is the picture; the stage is named by the file and takes the arrows, plus, minus, zero and R.
91
+ - The family’s keys give way inside a video, an audio, a frame or a field, whose own keys win; Ctrl and Meta combinations stay the browser’s zoom. A text file keeps the arrows that scroll it.
92
+ - A text file is fetched and set as text, never executed, so an HTML file shows its source; the stage holding it scrolls under a finger as a document does.
93
+ - Every control is a real button with a name from the catalog, and the level is an output that is not live, so the zoom does not chatter at every wheel event.
94
+ - The viewer draws the dark scheme on its dark ground in light and dark, and keeps the high-contrast scheme when the reader chose it.
95
+
96
+ ## Tokens
97
+
98
+ `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-mono`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-media-viewer-control-radius`, `--slotted-media-viewer-ground`, `--slotted-media-viewer-step-surface`, `--slotted-media-viewer-text-measure`, `--slotted-media-viewer-text-surface`, `--slotted-media-viewer-thumbnail-size`, `--slotted-media-viewer-tile-glyph-size`, `--slotted-media-viewer-tile-size`, `--slotted-media-viewer-zoom-surface`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-surface`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
99
+
100
+ ## Examples
101
+
102
+ ### Zoom around a point
103
+
104
+ The wheel zooms around the point under the pointer by distance, so a trackpad’s many small events do not jump to the maximum. Drag to pan; double-click returns to the fit.
105
+
106
+ Excerpt — not a complete module
107
+
108
+ ```html
109
+ <sl-media-viewer [items]="files" [(open)]="open" [maxZoom]="8" [zoomStep]="0.5" />
110
+ ```
111
+
112
+ ### A photograph, a PDF, a JSON export and a spreadsheet
113
+
114
+ The PDF opens in the browser’s own reader; the JSON export is read as text, indented and never executed, as a log, a CSV or source would be. A spreadsheet the browser cannot draw gets its tile, a sentence and the download.
115
+
116
+ Excerpt — not a complete module
117
+
118
+ ```html
119
+ <sl-media-viewer [items]="claimFiles" [(open)]="open" />
120
+ ```
121
+
122
+ ### A picture that fails to load
123
+
124
+ The photograph’s address no longer answers: the stage says what happened and offers to try again or to download, and the zoom pill leaves because there is nothing to zoom.
125
+
126
+ Excerpt — not a complete module
127
+
128
+ ```html
129
+ <sl-media-viewer [items]="[front, wheelArch, rear]" [(open)]="open" />
130
+ ```
131
+
132
+ ### A long name and a set of one
133
+
134
+ A scanner’s name is cut in the middle so the extension stays; the whole name is in the tooltip and the accessible name. A single file draws no steps and no position.
135
+
136
+ Excerpt — not a complete module
137
+
138
+ ```html
139
+ <sl-media-viewer [items]="[scan]" [(open)]="open" />
140
+ ```
141
+
142
+ ### A strip of the set
143
+
144
+ Composed under the stage: the current photograph is framed and the others dimmed until the pointer reaches them. A press steps straight to that file.
145
+
146
+ Excerpt — not a complete module
147
+
148
+ ```html
149
+ <sl-media-viewer [items]="files" [(open)]="open" thumbnails thumbnailsLabel="Claim photographs" />
150
+ ```
151
+
152
+ ### Actions of the product, defaults of the application
153
+
154
+ The bar takes the product’s own controls beside the download. A provider sets the limits, the loop and the words once for every viewer under it.
155
+
156
+ Excerpt — not a complete module
157
+
158
+ ```html
159
+ <sl-media-viewer [items]="files" [(open)]="open">
160
+ <button slMediaViewerAction type="button" (click)="share()">Share with adjuster</button>
161
+ </sl-media-viewer>
162
+ ```
163
+
164
+ ### The application holds the file and the level
165
+
166
+ Every move is a request with a reason: the step says pointer, keyboard or remove, the level says pointer, keyboard or select. The log below the openers shows each one.
167
+
168
+ Excerpt — not a complete module
169
+
170
+ ```html
171
+ <sl-media-viewer
172
+ [items]="files"
173
+ [(open)]="open"
174
+ [(value)]="value"
175
+ [(zoom)]="zoom"
176
+ (zoomChangeRequest)="log('level by ' + $event.reason)"
177
+ />
178
+ ```
179
+
180
+ ### Every key of the viewer
181
+
182
+ Arrows step while the picture fits and pan once it is zoomed; plus, minus and zero zoom; R turns; Home and End reach the ends; Escape closes and focus returns to the opener.
183
+
184
+ Excerpt — not a complete module
185
+
186
+ ```html
187
+ <sl-media-viewer [items]="files" [(open)]="open" />
188
+ ```
@@ -19,6 +19,7 @@ Take the first row that reaches the change.
19
19
  | How tight controls and rows are | the density: `comfortable`, `compact`, `dense` | `data-slotted-density`, or the density of the `slThemeScope` directive from `@slotted/angular/theme` |
20
20
  | How round corners are, chosen by the reader | the corners: `square`, `soft`, `standard`, `round` | `data-slotted-corners`, or the corners of the `slThemeScope` directive from `@slotted/angular/theme`; the theme's `corners` holds each radius scale |
21
21
  | How deep a scheme's grounds sit, or how far each layer steps from the one below | the recipe: one derivation per token per scheme | the theme's `recipe`, spread from the base theme's, as below; `themeConformance` still checks every contrast |
22
+ | A recipe derivation chosen by the reader: an OLED black page, a stronger border | a variant: an axis, its values, a partial recipe per scheme | the theme's `variants`; `data-slotted-variant-<axis>` set to the value; `themeConformance` checks each value |
22
23
  | Spacing, corners, type, lines, shadows or motion | a token of a group in `../../tokens.md` | the theme's `base`; `schemes` for a value per scheme; `densities` per density |
23
24
  | One family's look | a token the family's page lists under Tokens | the theme's `components` |
24
25
  | What no token reaches | a theme rule | the theme's `rules` |
@@ -58,7 +59,9 @@ has.
58
59
  1. A scheme, a density or corners for a subtree: the `slThemeScope` directive from `@slotted/angular/theme`, which carries
59
60
  them to an overlay opened inside it, or the `data-slotted-scheme`,
60
61
  `data-slotted-density` and `data-slotted-corners` attributes on the
61
- subtree's root.
62
+ subtree's root. A variant of the theme is the
63
+ `data-slotted-variant-<axis>` attribute on the subtree's root or on an
64
+ ancestor of the scheme's root.
62
65
  2. A seed for a subtree: the seed property on an element that also carries
63
66
  `data-slotted-seeds`, or the seeds of the `slThemeScope` directive from `@slotted/angular/theme`. Every colour under it
64
67
  derives again from that seed.
@@ -81,7 +84,10 @@ has.
81
84
  `--slotted-detail-panel-footer-background` with
82
85
  `--slotted-detail-panel-footer-backdrop-filter`, and a drawer's footer
83
86
  `--slotted-drawer-footer-surface` with
84
- `--slotted-drawer-footer-backdrop-filter`, and a dialog's panel
87
+ `--slotted-drawer-footer-backdrop-filter`, and a bottom sheet's sticky
88
+ header and resizer, once content scrolls under them,
89
+ `--slotted-drawer-header-surface` with
90
+ `--slotted-drawer-header-backdrop-filter`, and a dialog's panel
85
91
  `--slotted-dialog-surface` with `--slotted-dialog-backdrop-filter`. The
86
92
  chart's tooltip, menu and help read one filter,
87
93
  `--slotted-chart-overlay-backdrop-filter`. A chart's table view takes
@@ -45,6 +45,10 @@
45
45
  "up",
46
46
  "down",
47
47
  "flat"
48
+ ],
49
+ "attention": [
50
+ "warning",
51
+ "danger"
48
52
  ]
49
53
  },
50
54
  "members": {
@@ -100,7 +104,7 @@
100
104
  "part": "root",
101
105
  "element": "div",
102
106
  "required": true,
103
- "purpose": "The frame and the query container: role=\"group\" named by the label, carrying size, fill, layout, status, goodWhen, the derived tone and the loading state. Floored at ten rem; under that it overflows its column rather than shrinking."
107
+ "purpose": "The frame and the query container: role=\"group\" named by the label, carrying size, fill, layout, status, goodWhen, the derived tone, attention and the loading state. Floored at ten rem; under that it overflows its column rather than shrinking."
104
108
  },
105
109
  {
106
110
  "part": "body",
@@ -244,6 +248,13 @@
244
248
  "appliesTo": "slStatCard, slStatCardDelta",
245
249
  "description": "An explicit tone, which wins over the derived one. On the root it is what the trend hands its sparkline"
246
250
  },
251
+ {
252
+ "name": "attention",
253
+ "type": "'warning' | 'danger'",
254
+ "defaultValue": "—",
255
+ "appliesTo": "slStatCard",
256
+ "description": "The figure is past a threshold the product states: the value and the edge take the tone, the delta keeps its own. Ready values only; the comparison line names the threshold"
257
+ },
247
258
  {
248
259
  "name": "locale",
249
260
  "type": "string",
@@ -389,6 +400,8 @@
389
400
  "--slotted-sparkline-block-size",
390
401
  "--slotted-sparkline-block-size-lg",
391
402
  "--slotted-sparkline-block-size-sm",
403
+ "--slotted-stat-card-attention-border-color",
404
+ "--slotted-stat-card-attention-ink",
392
405
  "--slotted-stat-card-background",
393
406
  "--slotted-stat-card-background-subtle",
394
407
  "--slotted-stat-card-border-color",
@@ -444,10 +457,12 @@
444
457
  "--slotted-text",
445
458
  "--slotted-text-muted",
446
459
  "--slotted-tone-accent-text",
460
+ "--slotted-tone-danger-border",
447
461
  "--slotted-tone-danger-text",
448
462
  "--slotted-tone-info-text",
449
463
  "--slotted-tone-secondary-text",
450
464
  "--slotted-tone-success-text",
465
+ "--slotted-tone-warning-border",
451
466
  "--slotted-tone-warning-text"
452
467
  ],
453
468
  "examples": [
package/docs/stat-card.md CHANGED
@@ -74,6 +74,7 @@ Excerpt — not a complete module
74
74
  | `goodWhen` | `'up' \| 'down' \| 'none'` | up | slStatCard, slStatCardDelta | Which way is good for this metric. The tone of a change is derived from it, never from the sign |
75
75
  | `delta` | `number` | — | slStatCard | The change, as the first delta reads it: a fraction for a percentage. Stated on the root so the card knows its tone before its delta renders |
76
76
  | `tone` | `'neutral' \| 'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | — | slStatCard, slStatCardDelta | An explicit tone, which wins over the derived one. On the root it is what the trend hands its sparkline |
77
+ | `attention` | `'warning' \| 'danger'` | — | slStatCard | The figure is past a threshold the product states: the value and the edge take the tone, the delta keeps its own. Ready values only; the comparison line names the threshold |
77
78
  | `locale` | `string` | — | slStatCard | BCP 47, for every number the card formats; the language in force when absent |
78
79
  | `formatOptions` | `Intl.NumberFormatOptions` | — | slStatCard, slStatCardValue, slStatCardDelta | How a number is written. On the root, the default for the value and the delta |
79
80
  | `emphasis` | `'none' \| 'whole'` | 'none' | slStatCardValue | whole draws the symbol, the decimals and the suffix of a numeric value in the unit part, so the whole units carry the figure; the text is the formatter’s either way |
@@ -99,6 +100,7 @@ Excerpt — not a complete module
99
100
  | `goodWhen` | `up`, `down`, `none` | `up` |
100
101
  | `tone` | `neutral`, `accent`, `secondary`, `info`, `success`, `warning`, `danger` | — |
101
102
  | `trend` | `up`, `down`, `flat` | — |
103
+ | `attention` | `warning`, `danger` | — |
102
104
 
103
105
  ## Rules
104
106
 
@@ -111,7 +113,7 @@ Excerpt — not a complete module
111
113
 
112
114
  ## Tokens
113
115
 
114
- `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-font-family-sans`, `--slotted-font-size-2xl`, `--slotted-font-size-3xl`, `--slotted-font-size-4xl`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-letter-spacing-tighter`, `--slotted-line-height-2xl`, `--slotted-line-height-3xl`, `--slotted-line-height-4xl`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xl`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-sparkline-block-size`, `--slotted-sparkline-block-size-lg`, `--slotted-sparkline-block-size-sm`, `--slotted-stat-card-background`, `--slotted-stat-card-background-subtle`, `--slotted-stat-card-border-color`, `--slotted-stat-card-border-width`, `--slotted-stat-card-color`, `--slotted-stat-card-color-muted`, `--slotted-stat-card-delta-font-size`, `--slotted-stat-card-delta-font-size-lg`, `--slotted-stat-card-delta-font-size-sm`, `--slotted-stat-card-indicator-size`, `--slotted-stat-card-indicator-size-lg`, `--slotted-stat-card-label-font-size`, `--slotted-stat-card-label-font-size-lg`, `--slotted-stat-card-label-font-size-sm`, `--slotted-stat-card-label-line-height`, `--slotted-stat-card-label-line-height-lg`, `--slotted-stat-card-label-line-height-sm`, `--slotted-stat-card-min-inline-size`, `--slotted-stat-card-padding-block`, `--slotted-stat-card-padding-block-lg`, `--slotted-stat-card-padding-block-sm`, `--slotted-stat-card-padding-inline`, `--slotted-stat-card-padding-inline-lg`, `--slotted-stat-card-padding-inline-sm`, `--slotted-stat-card-prose-font-size`, `--slotted-stat-card-prose-font-size-lg`, `--slotted-stat-card-prose-line-height`, `--slotted-stat-card-prose-line-height-lg`, `--slotted-stat-card-radius`, `--slotted-stat-card-region-gap`, `--slotted-stat-card-region-gap-lg`, `--slotted-stat-card-region-gap-sm`, `--slotted-stat-card-shadow`, `--slotted-stat-card-shadow-elevated`, `--slotted-stat-card-trend-block-size`, `--slotted-stat-card-trend-block-size-lg`, `--slotted-stat-card-trend-block-size-sm`, `--slotted-stat-card-trend-gap`, `--slotted-stat-card-trend-gap-lg`, `--slotted-stat-card-trend-gap-sm`, `--slotted-stat-card-trend-inline-size`, `--slotted-stat-card-trend-inline-size-lg`, `--slotted-stat-card-trend-inline-size-sm`, `--slotted-stat-card-value-font-size`, `--slotted-stat-card-value-font-size-lg`, `--slotted-stat-card-value-font-size-sm`, `--slotted-stat-card-value-line-height`, `--slotted-stat-card-value-line-height-lg`, `--slotted-stat-card-value-line-height-sm`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-text`
116
+ `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-font-family-sans`, `--slotted-font-size-2xl`, `--slotted-font-size-3xl`, `--slotted-font-size-4xl`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-letter-spacing-tighter`, `--slotted-line-height-2xl`, `--slotted-line-height-3xl`, `--slotted-line-height-4xl`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xl`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-sparkline-block-size`, `--slotted-sparkline-block-size-lg`, `--slotted-sparkline-block-size-sm`, `--slotted-stat-card-attention-border-color`, `--slotted-stat-card-attention-ink`, `--slotted-stat-card-background`, `--slotted-stat-card-background-subtle`, `--slotted-stat-card-border-color`, `--slotted-stat-card-border-width`, `--slotted-stat-card-color`, `--slotted-stat-card-color-muted`, `--slotted-stat-card-delta-font-size`, `--slotted-stat-card-delta-font-size-lg`, `--slotted-stat-card-delta-font-size-sm`, `--slotted-stat-card-indicator-size`, `--slotted-stat-card-indicator-size-lg`, `--slotted-stat-card-label-font-size`, `--slotted-stat-card-label-font-size-lg`, `--slotted-stat-card-label-font-size-sm`, `--slotted-stat-card-label-line-height`, `--slotted-stat-card-label-line-height-lg`, `--slotted-stat-card-label-line-height-sm`, `--slotted-stat-card-min-inline-size`, `--slotted-stat-card-padding-block`, `--slotted-stat-card-padding-block-lg`, `--slotted-stat-card-padding-block-sm`, `--slotted-stat-card-padding-inline`, `--slotted-stat-card-padding-inline-lg`, `--slotted-stat-card-padding-inline-sm`, `--slotted-stat-card-prose-font-size`, `--slotted-stat-card-prose-font-size-lg`, `--slotted-stat-card-prose-line-height`, `--slotted-stat-card-prose-line-height-lg`, `--slotted-stat-card-radius`, `--slotted-stat-card-region-gap`, `--slotted-stat-card-region-gap-lg`, `--slotted-stat-card-region-gap-sm`, `--slotted-stat-card-shadow`, `--slotted-stat-card-shadow-elevated`, `--slotted-stat-card-trend-block-size`, `--slotted-stat-card-trend-block-size-lg`, `--slotted-stat-card-trend-block-size-sm`, `--slotted-stat-card-trend-gap`, `--slotted-stat-card-trend-gap-lg`, `--slotted-stat-card-trend-gap-sm`, `--slotted-stat-card-trend-inline-size`, `--slotted-stat-card-trend-inline-size-lg`, `--slotted-stat-card-trend-inline-size-sm`, `--slotted-stat-card-value-font-size`, `--slotted-stat-card-value-font-size-lg`, `--slotted-stat-card-value-font-size-sm`, `--slotted-stat-card-value-line-height`, `--slotted-stat-card-value-line-height-lg`, `--slotted-stat-card-value-line-height-sm`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-text`
115
117
 
116
118
  ## Examples
117
119
 
package/docs/tag.json CHANGED
@@ -681,6 +681,7 @@
681
681
  "--slotted-tag-font-weight",
682
682
  "--slotted-tag-group-gap",
683
683
  "--slotted-tag-inset-block",
684
+ "--slotted-tag-inset-inline",
684
685
  "--slotted-tag-state-layer-active",
685
686
  "--slotted-tag-state-layer-hover",
686
687
  "--slotted-target-comfortable",
package/docs/tag.md CHANGED
@@ -121,7 +121,7 @@ Excerpt — not a complete module
121
121
 
122
122
  ## Tokens
123
123
 
124
- `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-tag-border-color`, `--slotted-tag-border-width`, `--slotted-tag-font-family`, `--slotted-tag-font-weight`, `--slotted-tag-group-gap`, `--slotted-tag-inset-block`, `--slotted-tag-state-layer-active`, `--slotted-tag-state-layer-hover`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-solid-active`, `--slotted-tone-danger-solid-hover`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-subtle-hover`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-info-border`, `--slotted-tone-info-on-solid`, `--slotted-tone-info-solid`, `--slotted-tone-info-solid-active`, `--slotted-tone-info-solid-hover`, `--slotted-tone-info-subtle-active`, `--slotted-tone-info-subtle-hover`, `--slotted-tone-info-surface`, `--slotted-tone-info-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid-active`, `--slotted-tone-secondary-solid-hover`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-border`, `--slotted-tone-success-on-solid`, `--slotted-tone-success-solid`, `--slotted-tone-success-solid-active`, `--slotted-tone-success-solid-hover`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-subtle-hover`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-solid-active`, `--slotted-tone-warning-solid-hover`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-subtle-hover`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
124
+ `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-weight-medium`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-radius-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-tag-border-color`, `--slotted-tag-border-width`, `--slotted-tag-font-family`, `--slotted-tag-font-weight`, `--slotted-tag-group-gap`, `--slotted-tag-inset-block`, `--slotted-tag-inset-inline`, `--slotted-tag-state-layer-active`, `--slotted-tag-state-layer-hover`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-solid-active`, `--slotted-tone-danger-solid-hover`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-subtle-hover`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-info-border`, `--slotted-tone-info-on-solid`, `--slotted-tone-info-solid`, `--slotted-tone-info-solid-active`, `--slotted-tone-info-solid-hover`, `--slotted-tone-info-subtle-active`, `--slotted-tone-info-subtle-hover`, `--slotted-tone-info-surface`, `--slotted-tone-info-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid-active`, `--slotted-tone-secondary-solid-hover`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-border`, `--slotted-tone-success-on-solid`, `--slotted-tone-success-solid`, `--slotted-tone-success-solid-active`, `--slotted-tone-success-solid-hover`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-subtle-hover`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-solid-active`, `--slotted-tone-warning-solid-hover`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-subtle-hover`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
125
125
 
126
126
  ## Examples
127
127
 
@@ -91,6 +91,7 @@
91
91
  "trigger",
92
92
  "positioner",
93
93
  "content",
94
+ "grip",
94
95
  "head",
95
96
  "now",
96
97
  "presets",
@@ -139,6 +140,12 @@
139
140
  "required": false,
140
141
  "purpose": "The panel: one role=\"listbox\", at every step and every granularity. A column per unit was drawn and withdrawn, so there is no second role to get wrong."
141
142
  },
143
+ {
144
+ "part": "grip",
145
+ "element": "span, aria-hidden",
146
+ "required": false,
147
+ "purpose": "The pill at the top of the sheet, drawn only while data-presentation is sheet, in the drawer grip’s geometry and line colour. A pull down past half the sheet, or a flick down, closes it with the reason pointer; Escape and the press outside stay the accessible ways out."
148
+ },
142
149
  {
143
150
  "part": "head",
144
151
  "element": "div",
@@ -465,6 +472,7 @@
465
472
  }
466
473
  },
467
474
  "tokens": [
475
+ "--slotted-border-strong",
468
476
  "--slotted-border-subtle",
469
477
  "--slotted-border-width-thin",
470
478
  "--slotted-control-border-width",
@@ -478,6 +486,7 @@
478
486
  "--slotted-control-transition-duration",
479
487
  "--slotted-control-transition-easing",
480
488
  "--slotted-disabled-foreground",
489
+ "--slotted-drawer-resizer-line-color",
481
490
  "--slotted-duration-medium",
482
491
  "--slotted-duration-short",
483
492
  "--slotted-easing-enter",
@@ -486,9 +495,11 @@
486
495
  "--slotted-focus-ring-color-invalid",
487
496
  "--slotted-focus-ring-offset",
488
497
  "--slotted-focus-ring-width",
498
+ "--slotted-radius-full",
489
499
  "--slotted-radius-lg",
490
500
  "--slotted-shadow-md",
491
501
  "--slotted-space-1",
502
+ "--slotted-space-11",
492
503
  "--slotted-space-2",
493
504
  "--slotted-space-3",
494
505
  "--slotted-space-4",
@@ -31,6 +31,7 @@ Excerpt — not a complete module
31
31
  | `trigger` | button | yes |
32
32
  | `positioner` | div | no |
33
33
  | `content` | div | no |
34
+ | `grip` | span, aria-hidden | no |
34
35
  | `head` | div | no |
35
36
  | `now` | button | no |
36
37
  | `presets` | div | no |
@@ -110,7 +111,7 @@ Excerpt — not a complete module
110
111
 
111
112
  ## Tokens
112
113
 
113
- `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-width`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-radius-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-time-picker-content-border-color`, `--slotted-time-picker-content-color`, `--slotted-time-picker-content-min-inline-size`, `--slotted-time-picker-content-padding`, `--slotted-time-picker-content-radius`, `--slotted-time-picker-content-shadow`, `--slotted-time-picker-invalid-focus-ring-color`, `--slotted-time-picker-label-color`, `--slotted-time-picker-list-block-size`, `--slotted-time-picker-now-color`, `--slotted-time-picker-option-current-background`, `--slotted-time-picker-option-hover-background`, `--slotted-time-picker-option-radius`, `--slotted-time-picker-option-selected-background`, `--slotted-time-picker-option-selected-color`, `--slotted-time-picker-option-selected-hover-background`, `--slotted-time-picker-radius`, `--slotted-time-picker-sheet-inline-size`, `--slotted-time-picker-surface`, `--slotted-time-picker-trigger-active-background`, `--slotted-time-picker-trigger-color`, `--slotted-time-picker-trigger-hover-background`, `--slotted-time-picker-trigger-size`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
114
+ `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-width`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-drawer-resizer-line-color`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-time-picker-content-border-color`, `--slotted-time-picker-content-color`, `--slotted-time-picker-content-min-inline-size`, `--slotted-time-picker-content-padding`, `--slotted-time-picker-content-radius`, `--slotted-time-picker-content-shadow`, `--slotted-time-picker-invalid-focus-ring-color`, `--slotted-time-picker-label-color`, `--slotted-time-picker-list-block-size`, `--slotted-time-picker-now-color`, `--slotted-time-picker-option-current-background`, `--slotted-time-picker-option-hover-background`, `--slotted-time-picker-option-radius`, `--slotted-time-picker-option-selected-background`, `--slotted-time-picker-option-selected-color`, `--slotted-time-picker-option-selected-hover-background`, `--slotted-time-picker-radius`, `--slotted-time-picker-sheet-inline-size`, `--slotted-time-picker-surface`, `--slotted-time-picker-trigger-active-background`, `--slotted-time-picker-trigger-color`, `--slotted-time-picker-trigger-hover-background`, `--slotted-time-picker-trigger-size`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
114
115
 
115
116
  ## Examples
116
117
 
@@ -99,6 +99,7 @@
99
99
  "hidden-input",
100
100
  "positioner",
101
101
  "content",
102
+ "grip",
102
103
  "head",
103
104
  "tabs",
104
105
  "tab",
@@ -177,6 +178,12 @@
177
178
  "required": false,
178
179
  "purpose": "The painted surface, carrying role=\"dialog\" and the same name as the trigger. The anchor’s width, between sixteen and twenty-two rems, so a column is never too tight to read a time and its duration in."
179
180
  },
181
+ {
182
+ "part": "grip",
183
+ "element": "span, aria-hidden",
184
+ "required": false,
185
+ "purpose": "The pill at the top of the sheet, drawn only while data-presentation is sheet, in the drawer grip’s geometry and line colour. A pull down past half the sheet, or a flick down, closes it with the reason pointer; Escape and the press outside stay the accessible ways out."
186
+ },
180
187
  {
181
188
  "part": "head",
182
189
  "element": "div",
@@ -658,6 +665,7 @@
658
665
  }
659
666
  },
660
667
  "tokens": [
668
+ "--slotted-border-strong",
661
669
  "--slotted-border-subtle",
662
670
  "--slotted-border-width-thin",
663
671
  "--slotted-control-border-color",
@@ -688,6 +696,7 @@
688
696
  "--slotted-disabled-background",
689
697
  "--slotted-disabled-border",
690
698
  "--slotted-disabled-foreground",
699
+ "--slotted-drawer-resizer-line-color",
691
700
  "--slotted-duration-medium",
692
701
  "--slotted-duration-short",
693
702
  "--slotted-easing-enter",
@@ -703,6 +712,7 @@
703
712
  "--slotted-font-weight-semibold",
704
713
  "--slotted-letter-spacing-wide",
705
714
  "--slotted-line-height-sm",
715
+ "--slotted-radius-full",
706
716
  "--slotted-radius-lg",
707
717
  "--slotted-radius-none",
708
718
  "--slotted-radius-pill",
@@ -710,6 +720,7 @@
710
720
  "--slotted-radius-xs",
711
721
  "--slotted-shadow-md",
712
722
  "--slotted-space-1",
723
+ "--slotted-space-11",
713
724
  "--slotted-space-2",
714
725
  "--slotted-space-3",
715
726
  "--slotted-space-4",
@@ -40,6 +40,7 @@ Excerpt — not a complete module
40
40
  | `hidden-input` | input | yes |
41
41
  | `positioner` | div | no |
42
42
  | `content` | div | no |
43
+ | `grip` | span, aria-hidden | no |
43
44
  | `head` | div | no |
44
45
  | `tabs` | div | no |
45
46
  | `tab` | button | no |
@@ -145,7 +146,7 @@ Excerpt — not a complete module
145
146
 
146
147
  ## Tokens
147
148
 
148
- `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-letter-spacing-wide`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-radius-pill`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-time-range-picker-action-active-background`, `--slotted-time-range-picker-action-color`, `--slotted-time-range-picker-action-hover-background`, `--slotted-time-range-picker-action-size`, `--slotted-time-range-picker-background`, `--slotted-time-range-picker-border-color`, `--slotted-time-range-picker-color`, `--slotted-time-range-picker-content-border-color`, `--slotted-time-range-picker-content-color`, `--slotted-time-range-picker-content-min-inline-size`, `--slotted-time-range-picker-content-padding`, `--slotted-time-range-picker-content-radius`, `--slotted-time-range-picker-content-shadow`, `--slotted-time-range-picker-current-color`, `--slotted-time-range-picker-current-size`, `--slotted-time-range-picker-disabled-background`, `--slotted-time-range-picker-disabled-border-color`, `--slotted-time-range-picker-disabled-color`, `--slotted-time-range-picker-done-active-background`, `--slotted-time-range-picker-done-background`, `--slotted-time-range-picker-done-color`, `--slotted-time-range-picker-done-hover-background`, `--slotted-time-range-picker-hint-color`, `--slotted-time-range-picker-hover-border-color`, `--slotted-time-range-picker-invalid-border-color`, `--slotted-time-range-picker-invalid-color`, `--slotted-time-range-picker-invalid-edge-width`, `--slotted-time-range-picker-invalid-focus-ring-color`, `--slotted-time-range-picker-label-color`, `--slotted-time-range-picker-length-color`, `--slotted-time-range-picker-limit-color`, `--slotted-time-range-picker-list-block-size`, `--slotted-time-range-picker-now-color`, `--slotted-time-range-picker-option-current-background`, `--slotted-time-range-picker-option-hover-background`, `--slotted-time-range-picker-option-radius`, `--slotted-time-range-picker-option-selected-background`, `--slotted-time-range-picker-option-selected-color`, `--slotted-time-range-picker-option-selected-hover-background`, `--slotted-time-range-picker-placeholder-color`, `--slotted-time-range-picker-plain-hover-background`, `--slotted-time-range-picker-preset-active-background`, `--slotted-time-range-picker-preset-background`, `--slotted-time-range-picker-preset-hover-background`, `--slotted-time-range-picker-preset-radius`, `--slotted-time-range-picker-preset-selected-background`, `--slotted-time-range-picker-preset-selected-color`, `--slotted-time-range-picker-radius`, `--slotted-time-range-picker-readonly-background`, `--slotted-time-range-picker-shadow`, `--slotted-time-range-picker-sheet-inline-size`, `--slotted-time-range-picker-subtle-background`, `--slotted-time-range-picker-subtle-border-color`, `--slotted-time-range-picker-subtle-hover-background`, `--slotted-time-range-picker-surface`, `--slotted-time-range-picker-tab-block-size`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
149
+ `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-drawer-resizer-line-color`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-sm`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-letter-spacing-wide`, `--slotted-line-height-sm`, `--slotted-radius-full`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-radius-pill`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-time-range-picker-action-active-background`, `--slotted-time-range-picker-action-color`, `--slotted-time-range-picker-action-hover-background`, `--slotted-time-range-picker-action-size`, `--slotted-time-range-picker-background`, `--slotted-time-range-picker-border-color`, `--slotted-time-range-picker-color`, `--slotted-time-range-picker-content-border-color`, `--slotted-time-range-picker-content-color`, `--slotted-time-range-picker-content-min-inline-size`, `--slotted-time-range-picker-content-padding`, `--slotted-time-range-picker-content-radius`, `--slotted-time-range-picker-content-shadow`, `--slotted-time-range-picker-current-color`, `--slotted-time-range-picker-current-size`, `--slotted-time-range-picker-disabled-background`, `--slotted-time-range-picker-disabled-border-color`, `--slotted-time-range-picker-disabled-color`, `--slotted-time-range-picker-done-active-background`, `--slotted-time-range-picker-done-background`, `--slotted-time-range-picker-done-color`, `--slotted-time-range-picker-done-hover-background`, `--slotted-time-range-picker-hint-color`, `--slotted-time-range-picker-hover-border-color`, `--slotted-time-range-picker-invalid-border-color`, `--slotted-time-range-picker-invalid-color`, `--slotted-time-range-picker-invalid-edge-width`, `--slotted-time-range-picker-invalid-focus-ring-color`, `--slotted-time-range-picker-label-color`, `--slotted-time-range-picker-length-color`, `--slotted-time-range-picker-limit-color`, `--slotted-time-range-picker-list-block-size`, `--slotted-time-range-picker-now-color`, `--slotted-time-range-picker-option-current-background`, `--slotted-time-range-picker-option-hover-background`, `--slotted-time-range-picker-option-radius`, `--slotted-time-range-picker-option-selected-background`, `--slotted-time-range-picker-option-selected-color`, `--slotted-time-range-picker-option-selected-hover-background`, `--slotted-time-range-picker-placeholder-color`, `--slotted-time-range-picker-plain-hover-background`, `--slotted-time-range-picker-preset-active-background`, `--slotted-time-range-picker-preset-background`, `--slotted-time-range-picker-preset-hover-background`, `--slotted-time-range-picker-preset-radius`, `--slotted-time-range-picker-preset-selected-background`, `--slotted-time-range-picker-preset-selected-color`, `--slotted-time-range-picker-radius`, `--slotted-time-range-picker-readonly-background`, `--slotted-time-range-picker-shadow`, `--slotted-time-range-picker-sheet-inline-size`, `--slotted-time-range-picker-subtle-background`, `--slotted-time-range-picker-subtle-border-color`, `--slotted-time-range-picker-subtle-hover-background`, `--slotted-time-range-picker-surface`, `--slotted-time-range-picker-tab-block-size`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
149
150
 
150
151
  ## Examples
151
152