@cscfi/csc-ui 4.0.0-alpha.2 → 4.0.0-alpha.4

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 (34) hide show
  1. package/dist/csc-ui.js +6427 -6059
  2. package/dist/custom-elements.json +727 -160
  3. package/dist/docs/c-popover/usage.md +27 -0
  4. package/dist/docs/c-radio/usage.md +29 -0
  5. package/dist/docs/c-radio-group/usage.md +67 -0
  6. package/dist/docs/c-tooltip/usage.md +30 -0
  7. package/dist/styles/css/tailwind-theme.css +30 -0
  8. package/dist/styles/css/tokens.css +77 -1
  9. package/dist/vscode.css-custom-data.json +80 -12
  10. package/dist/vscode.html-custom-data.json +136 -22
  11. package/dist/web-types.json +398 -79
  12. package/dist-types/components/c-alert/CAlert.vue.d.ts +10 -3
  13. package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +4 -1
  14. package/dist-types/components/c-button/CButton.vue.d.ts +1 -1
  15. package/dist-types/components/c-icon/CIcon.vue.d.ts +1 -1
  16. package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +1 -1
  17. package/dist-types/components/c-input/CInput.vue.d.ts +4 -0
  18. package/dist-types/components/c-login-button/CLoginButton.vue.d.ts +4 -2
  19. package/dist-types/components/c-menu/CMenu.vue.d.ts +3 -3
  20. package/dist-types/components/c-menu-item/CMenuItem.vue.d.ts +29 -3
  21. package/dist-types/components/c-popover/CPopover.vue.d.ts +34 -0
  22. package/dist-types/components/c-radio/CRadio.vue.d.ts +0 -10
  23. package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +8 -46
  24. package/dist-types/components/c-select/CSelect.vue.d.ts +4 -1
  25. package/dist-types/components/c-spinner/CSpinner.vue.d.ts +1 -1
  26. package/dist-types/components/c-tag/CTag.vue.d.ts +1 -1
  27. package/dist-types/components/c-text-field/CTextField.vue.d.ts +4 -0
  28. package/dist-types/components/c-tooltip/CTooltip.vue.d.ts +39 -0
  29. package/dist-types/index.d.ts +3 -1
  30. package/dist-types/shared/FieldMessage.vue.d.ts +21 -0
  31. package/dist-types/shared/positionArea.d.ts +13 -0
  32. package/dist-types/tag-name-map.d.ts +142 -31
  33. package/dist-types/types.d.ts +13 -0
  34. package/package.json +1 -1
@@ -0,0 +1,27 @@
1
+ A click-opened, non-modal surface anchored to its trigger, floating in the top layer; its content may be interactive.
2
+
3
+ ## Usage
4
+
5
+ Put the element that opens the popover in the `trigger` slot and the content in the default slot. An optional `heading` prop renders a heading and doubles as the panel's accessible name (it is not called `title` — a `title` attribute would trigger the browser's native tooltip). The popover is deliberately minimal: compose footers, actions, or a close button from existing components (e.g. `c-button`) inside the body.
6
+
7
+ ## When to use
8
+
9
+ - Contextual, dismissable UI attached to a control: a small settings panel, a confirm-lite prompt, help content with links.
10
+ - Not for a plain text hint — use `c-tooltip`.
11
+ - Not for blocking flows the user must complete — the popover never traps focus or blocks the page; use `c-modal`.
12
+
13
+ ## Dismissal
14
+
15
+ Clicking outside the popover or pressing Escape closes it. Escape returns focus to the trigger when focus was inside the panel; light dismiss leaves focus where the user clicked. Focus is not moved into the panel on open — Tab reaches the content naturally from the trigger.
16
+
17
+ ## Accessibility
18
+
19
+ The panel is a non-modal `role="dialog"` and needs an accessible name: the `heading` prop provides one, or set `aria-label` on the `c-popover` element (`aria-labelledby` cannot reference slotted content across the shadow boundary). The component warns in the console when it opens unnamed. `aria-haspopup="dialog"` and `aria-expanded` are mirrored onto the slotted trigger.
20
+
21
+ ## Layering
22
+
23
+ The panel is a native popover in the top layer: it is never clipped by ancestor overflow and needs no z-index management, even when opened from inside a modal.
24
+
25
+ ## Customization
26
+
27
+ Structural styling via `::part(trigger)`, `::part(panel)` and `::part(heading)`. Colours come from the overlay-surface semantic tokens (`--c-surface-overlay`, `--c-on-surface`); override the tokens to re-theme.
@@ -0,0 +1,29 @@
1
+ A single radio option inside a `c-radio-group`: a native radio input whose
2
+ default slot is its clickable, announced label.
3
+
4
+ ## Usage
5
+
6
+ Author one `c-radio` per option, with a unique `value` and the option's
7
+ label content in the default slot. Selection state belongs to the group —
8
+ a radio has no checked prop; set the group's `value` (or `v-model`)
9
+ instead.
10
+
11
+ ```html
12
+ <c-radio value="paid">Paid</c-radio>
13
+ ```
14
+
15
+ Set `disabled` to exclude a single option while the rest of the group stays
16
+ operable.
17
+
18
+ ## Events
19
+
20
+ Selecting a radio fires a `change` event carrying its `value`. The event
21
+ bubbles (composed) so it can be heard on the radio, on the surrounding
22
+ `c-radio-group`, or further up — with the radio as the event target.
23
+
24
+ ## Standalone
25
+
26
+ Outside a group a radio still renders and operates — it can be selected but
27
+ never unselected, like a native radio without siblings. Grouping behavior
28
+ (exclusivity, arrow-key navigation, form value) requires the parent
29
+ `c-radio-group`.
@@ -0,0 +1,67 @@
1
+ A radio group is a set of mutually exclusive choices where exactly one can
2
+ be selected, authored as slotted `c-radio` children. Give the group a
3
+ `label` so the choice it represents is named for every user, and a `hint`
4
+ describing how to answer.
5
+
6
+ ## Authoring the options
7
+
8
+ Each option is a `<c-radio value="...">` whose default slot is its label —
9
+ keep the label text (or richer markup) inside the radio so it stays
10
+ clickable and is announced with the control:
11
+
12
+ ```html
13
+ <c-radio-group label="Subscription plan" value="free">
14
+ <c-radio value="free">Free</c-radio>
15
+ <c-radio value="paid">Paid</c-radio>
16
+ </c-radio-group>
17
+ ```
18
+
19
+ The radios may sit at any depth inside the default slot, so custom layouts
20
+ are plain markup — wrap each radio in whatever layout element the design
21
+ needs:
22
+
23
+ ```html
24
+ <c-radio-group label="Subscription plan" value="free">
25
+ <div class="card"><c-radio value="free">Free</c-radio></div>
26
+ <div class="card"><c-radio value="paid">Paid</c-radio></div>
27
+ </c-radio-group>
28
+ ```
29
+
30
+ Text placed *next to* a radio instead of inside it renders, but is not
31
+ click-associated or announced — put the label content in the radio's slot.
32
+
33
+ ## Value
34
+
35
+ The group's `value` is the selected radio's `value`, matched by strict
36
+ string equality; the group holds string values only. Selection is expressed
37
+ solely through the group — radios carry no checked state of their own.
38
+ Giving two radios the same `value` is a consumer error: every matching
39
+ radio will show as checked.
40
+
41
+ In Vue, bind with a plain `v-model`. The group also emits its radios'
42
+ bubbling `change` events onward, with the selected `c-radio` as the
43
+ event target.
44
+
45
+ ## Label
46
+
47
+ The `label` prop names the group; when richer label content is needed, use
48
+ the `label` slot instead (the prop wins when both are set). The default
49
+ slot is exclusively the radios' home — loose text there is not treated as a
50
+ label.
51
+
52
+ ## Validation
53
+
54
+ Validation is your job: set `valid` to `false` and supply an
55
+ `error-message` explaining why. While invalid without an `error-message`,
56
+ the `hint` keeps rendering as a hint. The message area reserves its height
57
+ (unless `hide-details`), so an error appearing at runtime doesn't shift the
58
+ layout.
59
+
60
+ ## Accessibility
61
+
62
+ The group is announced as a `radiogroup` named by its label. Keyboard
63
+ behavior follows the native pattern: Tab moves into the group (onto the
64
+ checked radio, or the first enabled one) and out of it in one stop; the
65
+ arrow keys move between radios, selecting as they go, wrapping at the ends
66
+ and skipping disabled radios; Space selects the focused radio. Enter is
67
+ left to the surrounding form.
@@ -0,0 +1,30 @@
1
+ A non-interactive text hint shown when its trigger is hovered or keyboard-focused, floating in the top layer on the inverted surface tier.
2
+
3
+ ## Usage
4
+
5
+ Put the element the tooltip describes in the `trigger` slot and the hint in the `text` prop. For formatted content, use the `content` slot instead — it overrides the prop but must stay non-interactive: a tooltip is never focusable and can hold no links or buttons. If the content needs to be clicked, use `c-popover`.
6
+
7
+ The tooltip shows after a short hover delay (configurable via the `delay` prop) and immediately on keyboard focus. The trigger must be focusable for keyboard and screen-reader users to reach the hint — a `c-icon-button` or `c-button` qualifies; a bare `<span>` does not.
8
+
9
+ ## When to use
10
+
11
+ - To name an icon-only control or clarify a truncated label.
12
+ - Never for content the user must interact with, or for information that is available nowhere else on the page for touch users — tooltips are unreliable on touch devices.
13
+
14
+ ## Dismissal
15
+
16
+ The tooltip hides when the pointer leaves the trigger and panel, when focus leaves the trigger, and on Escape (without moving focus). The pointer can travel from the trigger onto the tooltip without it vanishing.
17
+
18
+ ## Accessibility
19
+
20
+ The tooltip implements the WCAG 1.4.13 (Content on Hover or Focus) contract: dismissable, hoverable, persistent.
21
+
22
+ The tooltip content is mirrored onto the slotted trigger as `aria-description`, so screen readers announce it with the trigger even while the bubble is closed. `aria-describedby` is not used because ARIA ID references cannot cross the shadow boundary between the light-DOM trigger and the shadow-DOM panel (ADR-0033).
23
+
24
+ ## Layering
25
+
26
+ The panel is a native popover in the top layer: it is never clipped by ancestor overflow and paints above modals — correct for a tooltip triggered from inside one.
27
+
28
+ ## Customization
29
+
30
+ Structural styling via `::part(trigger)` and `::part(panel)`. Colours come from the inverted-surface semantic tokens (`--c-surface-inverted`, `--c-on-surface-inverted`); override the tokens to re-theme.
@@ -37,6 +37,16 @@
37
37
  --color-border-strong: var(--c-border-strong);
38
38
  --color-ring: var(--c-ring);
39
39
 
40
+ /* Inverted-surface tier (ADR-0032): mode-aware contrast flip — not the
41
+ * mode-invariant inverse-* family below. */
42
+ --color-surface-inverted: var(--c-surface-inverted);
43
+ --color-on-surface-inverted: var(--c-on-surface-inverted);
44
+ --color-on-surface-inverted-muted: var(--c-on-surface-inverted-muted);
45
+ --color-success-inverted: var(--c-success-inverted);
46
+ --color-info-inverted: var(--c-info-inverted);
47
+ --color-warning-inverted: var(--c-warning-inverted);
48
+ --color-error-inverted: var(--c-error-inverted);
49
+
40
50
  --color-primary: var(--c-primary);
41
51
  --color-primary-hover: var(--c-primary-hover);
42
52
  --color-on-primary: var(--c-on-primary);
@@ -107,6 +117,26 @@
107
117
  --color-logo-teal: var(--c-logo-teal);
108
118
  --color-logo-magenta: var(--c-logo-magenta);
109
119
 
120
+ /* Chart tokens (ADR-0030): 12 frozen categorical series slots — assign in
121
+ * slot order, never cycle — plus the chart anatomy roles (plot background,
122
+ * gridlines, axis labels). Validated as a set per mode; see the docs
123
+ * data-visualization guide for the folding and relief rules. */
124
+ --color-chart-1: var(--c-chart-1);
125
+ --color-chart-2: var(--c-chart-2);
126
+ --color-chart-3: var(--c-chart-3);
127
+ --color-chart-4: var(--c-chart-4);
128
+ --color-chart-5: var(--c-chart-5);
129
+ --color-chart-6: var(--c-chart-6);
130
+ --color-chart-7: var(--c-chart-7);
131
+ --color-chart-8: var(--c-chart-8);
132
+ --color-chart-9: var(--c-chart-9);
133
+ --color-chart-10: var(--c-chart-10);
134
+ --color-chart-11: var(--c-chart-11);
135
+ --color-chart-12: var(--c-chart-12);
136
+ --color-chart-surface: var(--c-chart-surface);
137
+ --color-chart-grid: var(--c-chart-grid);
138
+ --color-chart-axis: var(--c-chart-axis);
139
+
110
140
  /* Mode-invariant inverse family (content on a fixed brand/dark backdrop). */
111
141
  --color-inverse-surface: var(--c-inverse-surface);
112
142
  --color-inverse-on: var(--c-inverse-on);
@@ -159,6 +159,13 @@
159
159
  --c-border: var(--c-tertiary-200);
160
160
  --c-border-strong: var(--c-tertiary-600);
161
161
  --c-ring: var(--c-primary-500);
162
+ --c-surface-inverted: var(--c-slate-950);
163
+ --c-on-surface-inverted: var(--c-white);
164
+ --c-on-surface-inverted-muted: var(--c-slate-300);
165
+ --c-success-inverted: var(--c-success-400);
166
+ --c-info-inverted: var(--c-info-400);
167
+ --c-warning-inverted: var(--c-warning-400);
168
+ --c-error-inverted: var(--c-error-400);
162
169
  --c-primary: var(--c-primary-500);
163
170
  --c-primary-hover: var(--c-primary-300);
164
171
  --c-on-primary: var(--c-white);
@@ -212,6 +219,21 @@
212
219
  --c-on-nav: var(--c-white);
213
220
  --c-nav-active: var(--c-primary-100);
214
221
  --c-on-nav-active: var(--c-primary-700);
222
+ --c-chart-1: #006b9bff;
223
+ --c-chart-2: #a63a71ff;
224
+ --c-chart-3: #866c02ff;
225
+ --c-chart-4: #62488cff;
226
+ --c-chart-5: #00a190ff;
227
+ --c-chart-6: #8b3b3bff;
228
+ --c-chart-7: #04a3beff;
229
+ --c-chart-8: #c06a68ff;
230
+ --c-chart-9: #3f9bd1ff;
231
+ --c-chart-10: #c56793ff;
232
+ --c-chart-11: #af8f15ff;
233
+ --c-chart-12: #9076beff;
234
+ --c-chart-surface: var(--c-white);
235
+ --c-chart-grid: var(--c-tertiary-200);
236
+ --c-chart-axis: var(--c-tertiary-500);
215
237
  --c-logo-wordmark: var(--c-tertiary-600);
216
238
  --c-logo-teal: #006778ff;
217
239
  --c-logo-magenta: #830051ff;
@@ -231,6 +253,13 @@
231
253
  --c-border: var(--c-slate-700);
232
254
  --c-border-strong: var(--c-slate-400);
233
255
  --c-ring: var(--c-accent-400);
256
+ --c-surface-inverted: var(--c-white);
257
+ --c-on-surface-inverted: var(--c-slate-900);
258
+ --c-on-surface-inverted-muted: var(--c-tertiary-600);
259
+ --c-success-inverted: var(--c-success-600);
260
+ --c-info-inverted: var(--c-info-600);
261
+ --c-warning-inverted: var(--c-warning-600);
262
+ --c-error-inverted: var(--c-error-600);
234
263
  --c-primary: var(--c-accent-500);
235
264
  --c-primary-hover: var(--c-accent-400);
236
265
  --c-on-primary: var(--c-primary-950);
@@ -284,6 +313,21 @@
284
313
  --c-on-nav: var(--c-primary-100);
285
314
  --c-nav-active: var(--c-primary-600);
286
315
  --c-on-nav-active: var(--c-white);
316
+ --c-chart-1: #0082bbff;
317
+ --c-chart-2: #a63a71ff;
318
+ --c-chart-3: #896f09ff;
319
+ --c-chart-4: #7555a8ff;
320
+ --c-chart-5: #00a190ff;
321
+ --c-chart-6: #a74546ff;
322
+ --c-chart-7: #0999b2ff;
323
+ --c-chart-8: #b96462ff;
324
+ --c-chart-9: #3f9bd1ff;
325
+ --c-chart-10: #c56793ff;
326
+ --c-chart-11: #af8f15ff;
327
+ --c-chart-12: #8a70b8ff;
328
+ --c-chart-surface: var(--c-slate-800);
329
+ --c-chart-grid: var(--c-slate-700);
330
+ --c-chart-axis: var(--c-slate-300);
287
331
  --c-logo-wordmark: var(--c-slate-100);
288
332
  --c-logo-teal: var(--c-slate-100);
289
333
  --c-logo-magenta: #c2447cff;
@@ -304,6 +348,13 @@
304
348
  --c-border: var(--c-slate-700);
305
349
  --c-border-strong: var(--c-slate-400);
306
350
  --c-ring: var(--c-accent-400);
351
+ --c-surface-inverted: var(--c-white);
352
+ --c-on-surface-inverted: var(--c-slate-900);
353
+ --c-on-surface-inverted-muted: var(--c-tertiary-600);
354
+ --c-success-inverted: var(--c-success-600);
355
+ --c-info-inverted: var(--c-info-600);
356
+ --c-warning-inverted: var(--c-warning-600);
357
+ --c-error-inverted: var(--c-error-600);
307
358
  --c-primary: var(--c-accent-500);
308
359
  --c-primary-hover: var(--c-accent-400);
309
360
  --c-on-primary: var(--c-primary-950);
@@ -357,6 +408,21 @@
357
408
  --c-on-nav: var(--c-primary-100);
358
409
  --c-nav-active: var(--c-primary-600);
359
410
  --c-on-nav-active: var(--c-white);
411
+ --c-chart-1: #0082bbff;
412
+ --c-chart-2: #a63a71ff;
413
+ --c-chart-3: #896f09ff;
414
+ --c-chart-4: #7555a8ff;
415
+ --c-chart-5: #00a190ff;
416
+ --c-chart-6: #a74546ff;
417
+ --c-chart-7: #0999b2ff;
418
+ --c-chart-8: #b96462ff;
419
+ --c-chart-9: #3f9bd1ff;
420
+ --c-chart-10: #c56793ff;
421
+ --c-chart-11: #af8f15ff;
422
+ --c-chart-12: #8a70b8ff;
423
+ --c-chart-surface: var(--c-slate-800);
424
+ --c-chart-grid: var(--c-slate-700);
425
+ --c-chart-axis: var(--c-slate-300);
360
426
  --c-logo-wordmark: var(--c-slate-100);
361
427
  --c-logo-teal: var(--c-slate-100);
362
428
  --c-logo-magenta: #c2447cff;
@@ -408,6 +474,7 @@ c-option-value:not(:defined),
408
474
  c-otp-input:not(:defined),
409
475
  c-page:not(:defined),
410
476
  c-pagination:not(:defined),
477
+ c-popover:not(:defined),
411
478
  c-progress-bar:not(:defined),
412
479
  c-radio:not(:defined),
413
480
  c-radio-group:not(:defined),
@@ -433,7 +500,8 @@ c-tags:not(:defined),
433
500
  c-text-field:not(:defined),
434
501
  c-toast:not(:defined),
435
502
  c-toasts:not(:defined),
436
- c-toolbar:not(:defined) {
503
+ c-toolbar:not(:defined),
504
+ c-tooltip:not(:defined) {
437
505
  visibility: hidden;
438
506
  animation-name: c-pre-upgrade-reveal;
439
507
  animation-duration: 0s;
@@ -463,3 +531,11 @@ c-select[hide-details]:not(:defined),
463
531
  c-text-field[hide-details]:not(:defined) {
464
532
  min-height: 44px;
465
533
  }
534
+
535
+ /* Each radio row has a fixed resting height (the 42px indicator), so the
536
+ reservation is exact per row; the group itself stays generic (its height
537
+ depends on item count/label/hint). */
538
+ c-radio:not(:defined) {
539
+ display: block;
540
+ min-height: 42px;
541
+ }
@@ -31,16 +31,17 @@
31
31
  },
32
32
  {
33
33
  "name": "::part(root)",
34
- "description": "The outer bordered box carrying the type's accent color"
35
- },
36
- {
37
- "name": "::part(icon)",
38
- "description": "The status icon svg shown for the error/info/success/warning types"
34
+ "description": "The tinted box carrying the type's wash, hairline border and accent edge"
39
35
  },
36
+ { "name": "::part(icon)", "description": "The status icon svg" },
40
37
  {
41
38
  "name": "::part(content)",
42
39
  "description": "The wrapper around the slotted title and message content"
43
40
  },
41
+ {
42
+ "name": "::part(dismiss)",
43
+ "description": "The dismiss button rendered when `dismissible` is set"
44
+ },
44
45
  {
45
46
  "name": "::part(panel)",
46
47
  "description": "The top-layer popover container anchored below the field"
@@ -140,7 +141,7 @@
140
141
  },
141
142
  {
142
143
  "name": "::part(message)",
143
- "description": "The hint / error message line below the checkbox"
144
+ "description": "The hint / error message area below the checkbox (always reserved unless `hide-details`)"
144
145
  },
145
146
  {
146
147
  "name": "::part(root)",
@@ -182,6 +183,12 @@
182
183
  "name": "::part(root)",
183
184
  "description": "The separator line element itself"
184
185
  },
186
+ {
187
+ "name": "::part(menu)",
188
+ "description": "The positioned dialog surface holding the field and the list"
189
+ },
190
+ { "name": "::part(list)", "description": "The scrolling listbox" },
191
+ { "name": "::part(item)", "description": "One option row" },
185
192
  {
186
193
  "name": "::part(root)",
187
194
  "description": "The `<svg>` element rendering the icon"
@@ -246,9 +253,13 @@
246
253
  "name": "::part(root)",
247
254
  "description": "The anchor element forming the whole clickable card"
248
255
  },
256
+ {
257
+ "name": "::part(image-wrap)",
258
+ "description": "The area above the title bar that centers the logo (default image or slotted content)"
259
+ },
249
260
  {
250
261
  "name": "::part(image)",
251
- "description": "The provider logo image centered in the card"
262
+ "description": "The default provider logo `<img>` (absent when the `image` slot is used)"
252
263
  },
253
264
  {
254
265
  "name": "::part(title)",
@@ -307,6 +318,14 @@
307
318
  "name": "::part(content)",
308
319
  "description": "The flex wrapper around the default-slot content"
309
320
  },
321
+ {
322
+ "name": "::part(icon)",
323
+ "description": "The leading icon rendered from the `icon` prop"
324
+ },
325
+ {
326
+ "name": "::part(check)",
327
+ "description": "The trailing indicator icon shown while the item is active"
328
+ },
310
329
  {
311
330
  "name": "::part(submenu-panel)",
312
331
  "description": "The floating popover holding the submenu"
@@ -375,6 +394,18 @@
375
394
  "name": "::part(pages)",
376
395
  "description": "The `<ul>` list of page buttons and the prev/next controls"
377
396
  },
397
+ {
398
+ "name": "::part(trigger)",
399
+ "description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
400
+ },
401
+ {
402
+ "name": "::part(panel)",
403
+ "description": "The floating popover surface positioned against the trigger"
404
+ },
405
+ {
406
+ "name": "::part(heading)",
407
+ "description": "The heading rendered from the `heading` prop"
408
+ },
378
409
  {
379
410
  "name": "::part(root)",
380
411
  "description": "The outer flex wrapper around the bar and the details line"
@@ -389,19 +420,40 @@
389
420
  },
390
421
  {
391
422
  "name": "::part(root)",
392
- "description": "The radiogroup wrapper element carrying the disabled/error states"
423
+ "description": "The `<label>` row wrapping the input, indicator and label content"
424
+ },
425
+ {
426
+ "name": "::part(indicator)",
427
+ "description": "The circular ripple surface holding the radio ring and dot"
393
428
  },
429
+ {
430
+ "name": "::part(content)",
431
+ "description": "Wrapper around the slotted label content"
432
+ },
433
+ { "name": "::part(root)", "description": "The radiogroup wrapper element" },
394
434
  {
395
435
  "name": "::part(label)",
396
436
  "description": "The group label above the radio buttons"
397
437
  },
398
438
  {
399
439
  "name": "::part(items)",
400
- "description": "The wrapper around the rendered radio button rows"
440
+ "description": "The container the radios are slotted into"
401
441
  },
402
442
  {
403
443
  "name": "::part(message)",
404
- "description": "The hint/error message line below the radios"
444
+ "description": "The hint/error message area below the radios (always reserved unless `hide-details`)"
445
+ },
446
+ {
447
+ "name": "::part(menu)",
448
+ "description": "The dropdown surface (the positioned dialog) holding the field and the list"
449
+ },
450
+ {
451
+ "name": "::part(list)",
452
+ "description": "The scrolling listbox of options"
453
+ },
454
+ {
455
+ "name": "::part(item)",
456
+ "description": "One option row in the list. Any `part` attribute set on content inside a slotted `<c-option>` is exported too, so `c-select::part(<name>)` reaches the consumer's own option markup"
405
457
  },
406
458
  { "name": "::part(root)", "description": "The outer drawer container" },
407
459
  {
@@ -550,7 +602,7 @@
550
602
  },
551
603
  {
552
604
  "name": "::part(root)",
553
- "description": "The toast's outer box carrying the accent border and shadow"
605
+ "description": "The toast's outer box: the inverted-surface pill carrying the shadow"
554
606
  },
555
607
  {
556
608
  "name": "::part(custom)",
@@ -562,7 +614,15 @@
562
614
  },
563
615
  {
564
616
  "name": "::part(item)",
565
- "description": "Row layout of a standard toast: type icon, message body and close button"
617
+ "description": "Row layout of a standard toast: status badge, message body and dismiss button"
618
+ },
619
+ {
620
+ "name": "::part(badge)",
621
+ "description": "The circular tinted badge holding the status icon"
622
+ },
623
+ {
624
+ "name": "::part(dismiss)",
625
+ "description": "The dismiss button (icon-only, or labelled when the message sets `closeText`)"
566
626
  },
567
627
  {
568
628
  "name": "::part(progress)",
@@ -575,6 +635,14 @@
575
635
  {
576
636
  "name": "::part(root)",
577
637
  "description": "The toolbar bar itself, fixed to the top of the viewport"
638
+ },
639
+ {
640
+ "name": "::part(trigger)",
641
+ "description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
642
+ },
643
+ {
644
+ "name": "::part(panel)",
645
+ "description": "The floating tooltip bubble positioned against the trigger"
578
646
  }
579
647
  ]
580
648
  }