@cscfi/csc-ui 4.0.0-alpha.1 → 4.0.0-alpha.11

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 (51) hide show
  1. package/dist/csc-ui.js +7689 -6829
  2. package/dist/custom-elements.json +1037 -144
  3. package/dist/docs/c-alert/usage.md +24 -0
  4. package/dist/docs/c-button-group/usage.md +6 -0
  5. package/dist/docs/c-checkbox/usage.md +53 -0
  6. package/dist/docs/c-popover/usage.md +33 -0
  7. package/dist/docs/c-progress-bar/usage.md +23 -0
  8. package/dist/docs/c-progress-circle/usage.md +25 -0
  9. package/dist/docs/c-radio/usage.md +45 -0
  10. package/dist/docs/c-radio-group/usage.md +67 -0
  11. package/dist/docs/c-spinner/usage.md +21 -0
  12. package/dist/docs/c-switch/usage.md +36 -0
  13. package/dist/docs/c-table/usage.md +14 -0
  14. package/dist/docs/c-tooltip/usage.md +30 -0
  15. package/dist/styles/css/tailwind-theme.css +31 -0
  16. package/dist/styles/css/tokens.css +282 -201
  17. package/dist/vscode.css-custom-data.json +104 -15
  18. package/dist/vscode.html-custom-data.json +182 -26
  19. package/dist/web-types.json +526 -89
  20. package/dist-types/components/c-alert/CAlert.vue.d.ts +18 -4
  21. package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +4 -1
  22. package/dist-types/components/c-button/CButton.vue.d.ts +1 -1
  23. package/dist-types/components/c-icon/CIcon.vue.d.ts +1 -1
  24. package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +1 -1
  25. package/dist-types/components/c-input/CInput.vue.d.ts +4 -0
  26. package/dist-types/components/c-login-button/CLoginButton.vue.d.ts +4 -2
  27. package/dist-types/components/c-menu/CMenu.vue.d.ts +13 -3
  28. package/dist-types/components/c-menu-item/CMenuItem.vue.d.ts +29 -3
  29. package/dist-types/components/c-popover/CPopover.vue.d.ts +43 -0
  30. package/dist-types/components/c-progress-circle/CProgressCircle.vue.d.ts +32 -0
  31. package/dist-types/components/c-radio/CRadio.vue.d.ts +7 -11
  32. package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +8 -46
  33. package/dist-types/components/c-select/CSelect.vue.d.ts +4 -1
  34. package/dist-types/components/c-spinner/CSpinner.vue.d.ts +1 -1
  35. package/dist-types/components/c-table/CTable.vue.d.ts +11 -1
  36. package/dist-types/components/c-table/injectTableStyles.d.ts +1 -0
  37. package/dist-types/components/c-tag/CTag.vue.d.ts +1 -1
  38. package/dist-types/components/c-text-field/CTextField.vue.d.ts +4 -0
  39. package/dist-types/components/c-tooltip/CTooltip.vue.d.ts +49 -0
  40. package/dist-types/index.d.ts +9 -1
  41. package/dist-types/shared/FieldMessage.vue.d.ts +21 -0
  42. package/dist-types/shared/popoverChain.d.ts +62 -0
  43. package/dist-types/shared/positionArea.d.ts +13 -0
  44. package/dist-types/shared/useDesignatedTrigger.d.ts +40 -0
  45. package/dist-types/shared/useHostStates.d.ts +25 -0
  46. package/dist-types/tag-name-map.d.ts +193 -32
  47. package/dist-types/theme/chart-data.d.ts +50 -0
  48. package/dist-types/theme/ramp.d.ts +38 -0
  49. package/dist-types/theme/themeMode.d.ts +13 -0
  50. package/dist-types/types.d.ts +13 -0
  51. package/package.json +8 -6
@@ -31,15 +31,20 @@
31
31
  },
32
32
  {
33
33
  "name": "::part(root)",
34
- "description": "The outer bordered box carrying the type's accent color"
34
+ "description": "The tinted box carrying the type's wash, hairline border and accent edge"
35
35
  },
36
+ { "name": "::part(icon)", "description": "The status icon svg" },
36
37
  {
37
- "name": "::part(icon)",
38
- "description": "The status icon svg shown for the error/info/success/warning types"
38
+ "name": "::part(content)",
39
+ "description": "The wrapper around the heading and message content"
39
40
  },
40
41
  {
41
- "name": "::part(content)",
42
- "description": "The wrapper around the slotted title and message content"
42
+ "name": "::part(heading)",
43
+ "description": "The heading paragraph rendered from the `heading` prop"
44
+ },
45
+ {
46
+ "name": "::part(dismiss)",
47
+ "description": "The dismiss button rendered when `dismissible` is set"
43
48
  },
44
49
  {
45
50
  "name": "::part(panel)",
@@ -76,7 +81,7 @@
76
81
  },
77
82
  {
78
83
  "name": "::part(root)",
79
- "description": "The segmented-control box that frames the buttons"
84
+ "description": "The track: the framed segmented-control box the buttons sit in"
80
85
  },
81
86
  {
82
87
  "name": "::part(label)",
@@ -84,7 +89,7 @@
84
89
  },
85
90
  {
86
91
  "name": "::part(root)",
87
- "description": "The card's visible surface, carries the background, radius, shadow and section spacing"
92
+ "description": "The card's visible surface, carries the background, border, radius, shadow and section spacing"
88
93
  },
89
94
  {
90
95
  "name": "::part(fullscreen-toggle)",
@@ -132,7 +137,11 @@
132
137
  },
133
138
  {
134
139
  "name": "::part(indicator)",
135
- "description": "The circular ripple surface holding the checkbox box and checkmark"
140
+ "description": "The checkbox box itself — the bordered square that fills when checked; border, fill and the keyboard focus ring (its `::before`) all draw with `currentColor`, so `color` recolours them together"
141
+ },
142
+ {
143
+ "name": "::part(mark)",
144
+ "description": "The SVG check / indeterminate glyph revealed inside the indicator; draws with `currentColor`, so `color` recolours it"
136
145
  },
137
146
  {
138
147
  "name": "::part(content)",
@@ -140,7 +149,7 @@
140
149
  },
141
150
  {
142
151
  "name": "::part(message)",
143
- "description": "The hint / error message line below the checkbox"
152
+ "description": "The hint / error message area below the checkbox (always reserved unless `hide-details`)"
144
153
  },
145
154
  {
146
155
  "name": "::part(root)",
@@ -182,6 +191,12 @@
182
191
  "name": "::part(root)",
183
192
  "description": "The separator line element itself"
184
193
  },
194
+ {
195
+ "name": "::part(menu)",
196
+ "description": "The positioned dialog surface holding the field and the list"
197
+ },
198
+ { "name": "::part(list)", "description": "The scrolling listbox" },
199
+ { "name": "::part(item)", "description": "One option row" },
185
200
  {
186
201
  "name": "::part(root)",
187
202
  "description": "The `<svg>` element rendering the icon"
@@ -246,9 +261,13 @@
246
261
  "name": "::part(root)",
247
262
  "description": "The anchor element forming the whole clickable card"
248
263
  },
264
+ {
265
+ "name": "::part(image-wrap)",
266
+ "description": "The area above the title bar that centers the logo (default image or slotted content)"
267
+ },
249
268
  {
250
269
  "name": "::part(image)",
251
- "description": "The provider logo image centered in the card"
270
+ "description": "The default provider logo `<img>` (absent when the `image` slot is used)"
252
271
  },
253
272
  {
254
273
  "name": "::part(title)",
@@ -307,6 +326,14 @@
307
326
  "name": "::part(content)",
308
327
  "description": "The flex wrapper around the default-slot content"
309
328
  },
329
+ {
330
+ "name": "::part(icon)",
331
+ "description": "The leading icon rendered from the `icon` prop"
332
+ },
333
+ {
334
+ "name": "::part(check)",
335
+ "description": "The trailing indicator icon shown while the item is active"
336
+ },
310
337
  {
311
338
  "name": "::part(submenu-panel)",
312
339
  "description": "The floating popover holding the submenu"
@@ -375,6 +402,18 @@
375
402
  "name": "::part(pages)",
376
403
  "description": "The `<ul>` list of page buttons and the prev/next controls"
377
404
  },
405
+ {
406
+ "name": "::part(trigger)",
407
+ "description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
408
+ },
409
+ {
410
+ "name": "::part(panel)",
411
+ "description": "The floating popover surface positioned against the trigger"
412
+ },
413
+ {
414
+ "name": "::part(heading)",
415
+ "description": "The heading rendered from the `heading` prop"
416
+ },
378
417
  {
379
418
  "name": "::part(root)",
380
419
  "description": "The outer flex wrapper around the bar and the details line"
@@ -389,19 +428,53 @@
389
428
  },
390
429
  {
391
430
  "name": "::part(root)",
392
- "description": "The radiogroup wrapper element carrying the disabled/error states"
431
+ "description": "The wrapper around the ring and the centered content"
393
432
  },
433
+ {
434
+ "name": "::part(track)",
435
+ "description": "The background ring (SVG circle)"
436
+ },
437
+ { "name": "::part(bar)", "description": "The value arc (SVG circle)" },
438
+ {
439
+ "name": "::part(content)",
440
+ "description": "The centered slot-content wrapper"
441
+ },
442
+ {
443
+ "name": "::part(root)",
444
+ "description": "The `<label>` row wrapping the input, indicator and label content"
445
+ },
446
+ {
447
+ "name": "::part(indicator)",
448
+ "description": "The radio ring itself; the selection dot is its `::after` and the keyboard focus ring its `::before` — all three follow `currentColor`, so `color` recolours the whole indicator, focus ring included"
449
+ },
450
+ {
451
+ "name": "::part(content)",
452
+ "description": "Wrapper around the slotted label content"
453
+ },
454
+ { "name": "::part(root)", "description": "The radiogroup wrapper element" },
394
455
  {
395
456
  "name": "::part(label)",
396
457
  "description": "The group label above the radio buttons"
397
458
  },
398
459
  {
399
460
  "name": "::part(items)",
400
- "description": "The wrapper around the rendered radio button rows"
461
+ "description": "The container the radios are slotted into"
401
462
  },
402
463
  {
403
464
  "name": "::part(message)",
404
- "description": "The hint/error message line below the radios"
465
+ "description": "The hint/error message area below the radios (always reserved unless `hide-details`)"
466
+ },
467
+ {
468
+ "name": "::part(menu)",
469
+ "description": "The dropdown surface (the positioned dialog) holding the field and the list"
470
+ },
471
+ {
472
+ "name": "::part(list)",
473
+ "description": "The scrolling listbox of options"
474
+ },
475
+ {
476
+ "name": "::part(item)",
477
+ "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
478
  },
406
479
  { "name": "::part(root)", "description": "The outer drawer container" },
407
480
  {
@@ -550,7 +623,7 @@
550
623
  },
551
624
  {
552
625
  "name": "::part(root)",
553
- "description": "The toast's outer box carrying the accent border and shadow"
626
+ "description": "The toast's outer box: the inverted-surface pill carrying the shadow"
554
627
  },
555
628
  {
556
629
  "name": "::part(custom)",
@@ -562,7 +635,15 @@
562
635
  },
563
636
  {
564
637
  "name": "::part(item)",
565
- "description": "Row layout of a standard toast: type icon, message body and close button"
638
+ "description": "Row layout of a standard toast: status badge, message body and dismiss button"
639
+ },
640
+ {
641
+ "name": "::part(badge)",
642
+ "description": "The circular tinted badge holding the status icon"
643
+ },
644
+ {
645
+ "name": "::part(dismiss)",
646
+ "description": "The dismiss button (icon-only, or labelled when the message sets `closeText`)"
566
647
  },
567
648
  {
568
649
  "name": "::part(progress)",
@@ -575,6 +656,14 @@
575
656
  {
576
657
  "name": "::part(root)",
577
658
  "description": "The toolbar bar itself, fixed to the top of the viewport"
659
+ },
660
+ {
661
+ "name": "::part(trigger)",
662
+ "description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
663
+ },
664
+ {
665
+ "name": "::part(panel)",
666
+ "description": "The floating tooltip bubble positioned against the trigger"
578
667
  }
579
668
  ]
580
669
  }
@@ -58,8 +58,18 @@
58
58
  },
59
59
  {
60
60
  "name": "c-alert",
61
- "description": "\n---\n\n\n### **Slots:**\n - **title** - Title slot\n- **default** - Default slot\n\n### **CSS Parts:**\n - **root** - The outer bordered box carrying the type's accent color\n- **icon** - The status icon svg shown for the error/info/success/warning types\n- **content** - The wrapper around the slotted title and message content",
61
+ "description": "A persistent, in-flow status message: a tinted box whose type carries a status family's colours through the icon, heading and accent edge, while the body copy stays neutral.\n---\n\n\n### **Events:**\n - **dismiss** - Fired when the dismiss button is pressed. The alert does not hide\nitself — the consumer owns removal.\n\n### **Slots:**\n - **heading** - Rich heading content; overrides the `heading` prop\n- **default** - Default slot\n\n### **CSS Parts:**\n - **root** - The tinted box carrying the type's wash, hairline border and accent edge\n- **icon** - The status icon svg\n- **content** - The wrapper around the heading and message content\n- **heading** - The heading paragraph rendered from the `heading` prop\n- **dismiss** - The dismiss button rendered when `dismissible` is set",
62
62
  "attributes": [
63
+ {
64
+ "name": "dismissible",
65
+ "description": "Show a dismiss button. The alert only emits `dismiss` — removing it from\nthe page stays the consumer's job.",
66
+ "values": []
67
+ },
68
+ {
69
+ "name": "heading",
70
+ "description": "Heading rendered above the message. The `heading` slot overrides it for\nrich content.",
71
+ "values": []
72
+ },
63
73
  {
64
74
  "name": "type",
65
75
  "description": "Type of the alert",
@@ -147,6 +157,11 @@
147
157
  "values": []
148
158
  },
149
159
  { "name": "shadow", "description": "Shadow variant", "values": [] },
160
+ {
161
+ "name": "size",
162
+ "description": "Field height: the 44px default or the 36px `small` box",
163
+ "values": [{ "name": "default" }, { "name": "small" }]
164
+ },
150
165
  {
151
166
  "name": "valid",
152
167
  "description": "Set the validity of the input",
@@ -256,7 +271,7 @@
256
271
  },
257
272
  {
258
273
  "name": "c-button-group",
259
- "description": "A button group is a segmented control: a compact group of choices rendered as plain `c-button` children, where activating a button takes effect immediately (switching a view, picking a billing period). Selection is exclusive by default; set `multiple` to let several buttons be active at once. Give the group a `label` when it acts as a form field so the choice it represents is named for every user.\n---\n\n\n### **Events:**\n - **change** - Fired when the user changes the selection, carrying the new value:\nthe activated button's value (or index), `null` when the active button\nis toggled off, or the array of active values in `multiple` mode.\n- **input** - Native bubbling input event dispatched for plain `v-model` support; carries no detail.\n- **update:value** - Fired alongside `change` with the new selection; fulfills the `v-model`\ncontract.\n\n### **Slots:**\n - **default** - Default slot for the c-button elements\n\n### **CSS Parts:**\n - **root** - The segmented-control box that frames the buttons\n- **label** - The group label rendered above the buttons",
274
+ "description": "A button group is a segmented control: a compact group of choices rendered as plain `c-button` children, where activating a button takes effect immediately (switching a view, picking a billing period). Selection is exclusive by default; set `multiple` to let several buttons be active at once. Give the group a `label` when it acts as a form field so the choice it represents is named for every user.\n---\n\n\n### **Events:**\n - **change** - Fired when the user changes the selection, carrying the new value:\nthe activated button's value (or index), `null` when the active button\nis toggled off, or the array of active values in `multiple` mode.\n- **input** - Native bubbling input event dispatched for plain `v-model` support; carries no detail.\n- **update:value** - Fired alongside `change` with the new selection; fulfills the `v-model`\ncontract.\n\n### **Slots:**\n - **default** - Default slot for the c-button elements\n\n### **CSS Parts:**\n - **root** - The track: the framed segmented-control box the buttons sit in\n- **label** - The group label rendered above the buttons",
260
275
  "attributes": [
261
276
  {
262
277
  "name": "disabled",
@@ -293,7 +308,7 @@
293
308
  },
294
309
  {
295
310
  "name": "c-card",
296
- "description": "\n---\n\n\n### **Methods:**\n - **enterFullscreen()** - Enter fullscreen from the outside\n- **exitFullscreen()** - Exit fullscreen from the outside\n\n### **Slots:**\n - **default** - Card components\n\n### **CSS Parts:**\n - **root** - The card's visible surface, carries the background, radius, shadow and section spacing\n- **fullscreen-toggle** - The circular fullscreen toggle button shown when the fullscreen prop is set",
311
+ "description": "\n---\n\n\n### **Methods:**\n - **enterFullscreen()** - Enter fullscreen from the outside\n- **exitFullscreen()** - Exit fullscreen from the outside\n\n### **Slots:**\n - **default** - Card components\n\n### **CSS Parts:**\n - **root** - The card's visible surface, carries the background, border, radius, shadow and section spacing\n- **fullscreen-toggle** - The circular fullscreen toggle button shown when the fullscreen prop is set",
297
312
  "attributes": [
298
313
  {
299
314
  "name": "fullscreen",
@@ -345,7 +360,7 @@
345
360
  },
346
361
  {
347
362
  "name": "c-checkbox",
348
- "description": "\n---\n\n\n### **Events:**\n - **change** - Standard bubbling DOM change event, re-dispatched from the host when the\ncheckbox is toggled (the inner input's change does not cross the shadow\nboundary). No detail; read the new value from the host's `value` property.\n- **changeValue** - Fired when the checkbox is toggled, carrying the new value —\n`trueValue` when checked, `falseValue` when unchecked. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event fired on toggle so a plain Vue `v-model`\nworks without the `v-control` directive. No detail.\n- **update:value** - v-model contract event fired on toggle, carrying the new value —\n`trueValue` when checked, `falseValue` when unchecked.\n\n### **Slots:**\n - **default** - Default slot for the label\n\n### **CSS Parts:**\n - **root** - The outer wrapper containing the checkbox, label and message\n- **label** - The `<label>` element wrapping the indicator and the label content\n- **indicator** - The circular ripple surface holding the checkbox box and checkmark\n- **content** - Wrapper around the label text or slotted label content\n- **message** - The hint / error message line below the checkbox",
363
+ "description": "A form control for a single on/off choice: a native checkbox with a label, an optional hint, and validation messaging.\n---\n\n\n### **Events:**\n - **change** - Standard bubbling DOM change event, re-dispatched from the host when the\ncheckbox is toggled (the inner input's change does not cross the shadow\nboundary). No detail; read the new value from the host's `value` property.\n- **changeValue** - Fired when the checkbox is toggled, carrying the new value —\n`trueValue` when checked, `falseValue` when unchecked. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event fired on toggle so a plain Vue `v-model`\nworks without the `v-control` directive. No detail.\n- **update:value** - v-model contract event fired on toggle, carrying the new value —\n`trueValue` when checked, `falseValue` when unchecked.\n\n### **Slots:**\n - **default** - Default slot for the label\n\n### **CSS Parts:**\n - **root** - The outer wrapper containing the checkbox, label and message\n- **label** - The `<label>` element wrapping the indicator and the label content\n- **indicator** - The checkbox box itself — the bordered square that fills when checked; border, fill and the keyboard focus ring (its `::before`) all draw with `currentColor`, so `color` recolours them together\n- **mark** - The SVG check / indeterminate glyph revealed inside the indicator; draws with `currentColor`, so `color` recolours it\n- **content** - Wrapper around the label text or slotted label content\n- **message** - The hint / error message area below the checkbox (always reserved unless `hide-details`)",
349
364
  "attributes": [
350
365
  {
351
366
  "name": "checked",
@@ -497,7 +512,7 @@
497
512
  },
498
513
  {
499
514
  "name": "c-dropdown",
500
- "description": "\n---\n\n\n### **Events:**\n - **dropdownStateChange** - Fired when the dropdown menu opens or closes; the detail is the new open\nstate. Also dispatched as `dropdown-state-change` — bind that name in Vue templates.\n- **selectOption** - Fired when the user selects an option row, carrying the option's name\nand value for the parent (c-select) to commit. Also dispatched as `select-option` — bind that name in Vue templates.\n\n### **Methods:**\n - **close()** - Close dropdown\n- **open()** - Open dropdown\n- **selectItem()** - Select item\n- **updateList()** - Update list items\n\n### **Slots:**\n - **default** - The anchor c-input of the parent select / autocomplete, rendered inline while the menu is closed\n- **input-top** - Target the c-input is moved into when the menu opens below the field\n- **input-bottom** - Target the c-input is moved into when the menu opens above the field",
515
+ "description": "\n---\n\n\n### **Events:**\n - **dropdownStateChange** - Fired when the dropdown menu opens or closes; the detail is the new open\nstate. Also dispatched as `dropdown-state-change` — bind that name in Vue templates.\n- **selectOption** - Fired when the user selects an option row, carrying the option's name\nand value for the parent (c-select) to commit. Also dispatched as `select-option` — bind that name in Vue templates.\n\n### **Methods:**\n - **close()** - Close dropdown\n- **open()** - Open dropdown\n- **selectItem()** - Select item\n- **updateList()** - Update list items\n\n### **Slots:**\n - **default** - The anchor c-input of the parent select / autocomplete, rendered inline while the menu is closed\n- **input-top** - Target the c-input is moved into when the menu opens below the field\n- **input-bottom** - Target the c-input is moved into when the menu opens above the field\n\n### **CSS Parts:**\n - **menu** - The positioned dialog surface holding the field and the list\n- **list** - The scrolling listbox\n- **item** - One option row",
501
516
  "attributes": [
502
517
  {
503
518
  "name": "dropdown-item-type",
@@ -672,6 +687,11 @@
672
687
  "description": "Shadow variant of the input",
673
688
  "values": []
674
689
  },
690
+ {
691
+ "name": "size",
692
+ "description": "Field height: the 44px default or the 36px `small` box",
693
+ "values": [{ "name": "default" }, { "name": "small" }]
694
+ },
675
695
  {
676
696
  "name": "valid",
677
697
  "description": "Set the validíty of the input",
@@ -779,7 +799,7 @@
779
799
  },
780
800
  {
781
801
  "name": "c-login-button",
782
- "description": "\n---\n\n\n### **Slots:**\n - **default** - Default slot\n\n### **CSS Parts:**\n - **root** - The anchor element forming the whole clickable card\n- **image** - The provider logo image centered in the card\n- **title** - The bottom title bar wrapping the slotted label",
802
+ "description": "\n---\n\n\n### **Slots:**\n - **default** - The title shown in the bottom bar\n- **image** - Custom provider logo markup (an inline `<svg>`, a `<picture>`, …) replacing the default `<img>` rendered from `src`\n\n### **CSS Parts:**\n - **root** - The anchor element forming the whole clickable card\n- **image-wrap** - The area above the title bar that centers the logo (default image or slotted content)\n- **image** - The default provider logo `<img>` (absent when the `image` slot is used)\n- **title** - The bottom title bar wrapping the slotted label",
783
803
  "attributes": [
784
804
  {
785
805
  "name": "alt",
@@ -933,14 +953,29 @@
933
953
  { "name": "top-start" },
934
954
  { "name": "top" }
935
955
  ]
956
+ },
957
+ {
958
+ "name": "trigger",
959
+ "description": "Designated trigger: an element elsewhere in the document that opens the\nmenu — its document ID, or the element itself. The same trigger concept\nas the `trigger` slot, supplied by reference: the menu wires\nclick-to-toggle, arrow-key opening, ARIA and focus return onto it and\nanchors the panel to it. When both routes are supplied, this prop wins\nover the slot.",
960
+ "values": [{ "name": "HTMLElement" }]
936
961
  }
937
962
  ],
938
963
  "references": []
939
964
  },
940
965
  {
941
966
  "name": "c-menu-item",
942
- "description": "A single command in a `c-menu`.\n---\n\n\n### **Slots:**\n - **default** - The item's content: label text plus optional icons or shortcut hint\n- **submenu** - c-menu-item components for the nested submenu\n\n### **CSS Parts:**\n - **root** - The item row containing the content and the submenu chevron\n- **content** - The flex wrapper around the default-slot content\n- **submenu-panel** - The floating popover holding the submenu\n- **submenu** - The submenu list surface inside the popover",
967
+ "description": "A single command in a `c-menu`.\n---\n\n\n### **Slots:**\n - **default** - The item's content: label text plus optional icons or shortcut hint\n- **submenu** - c-menu-item components for the nested submenu\n\n### **CSS Parts:**\n - **root** - The item row containing the content and the submenu chevron\n- **content** - The flex wrapper around the default-slot content\n- **icon** - The leading icon rendered from the `icon` prop\n- **check** - The trailing indicator icon shown while the item is active\n- **submenu-panel** - The floating popover holding the submenu\n- **submenu** - The submenu list surface inside the popover",
943
968
  "attributes": [
969
+ {
970
+ "name": "active",
971
+ "description": "Marks the item as the currently selected choice: renders the trailing\nindicator icon and stamps `role=\"menuitemradio\"` + `aria-checked`. Leave\nunset for regular command items — only a true/false value marks the item\nas a selectable choice. The state is consumer-owned: the menu emits\n`select` as usual and never toggles this itself. Distinct from the\nkeyboard highlight (the `data-active` attribute the controlling menu\nmoves between rows).",
972
+ "values": []
973
+ },
974
+ {
975
+ "name": "active-icon",
976
+ "description": "SVG path for the trailing indicator shown while `active`; defaults to a\ncheck mark.",
977
+ "values": []
978
+ },
944
979
  {
945
980
  "name": "danger",
946
981
  "description": "Marks the action as destructive (renders in the error colour).",
@@ -951,6 +986,11 @@
951
986
  "description": "Disables the item — it is skipped by keyboard nav and emits no select.",
952
987
  "values": []
953
988
  },
989
+ {
990
+ "name": "icon",
991
+ "description": "SVG path for a leading icon rendered before the item's content.",
992
+ "values": []
993
+ },
954
994
  {
955
995
  "name": "value",
956
996
  "description": "Value reported in the menu's `select` event when this item is chosen.",
@@ -1138,9 +1178,54 @@
1138
1178
  ],
1139
1179
  "references": []
1140
1180
  },
1181
+ {
1182
+ "name": "c-popover",
1183
+ "description": "A click-opened, non-modal surface anchored to its trigger, floating in the top layer; its content may be interactive.\n---\n\n\n### **Events:**\n - **change:open** - Fired whenever the popover opens or closes, carrying the new open state.\nNamed `change:open`, not `update:open`: Vue's runtime silently drops\n`onUpdate:*` listeners on custom elements (`isModelListener`), so a\ntemplate `@update:open` would never be attached.\n\n### **Slots:**\n - **trigger** - The element that opens the popover (e.g. a c-button)\n- **default** - The popover's content; may contain interactive elements\n\n### **CSS Parts:**\n - **trigger** - The inline wrapper around the slotted trigger, serving as the panel's anchor\n- **panel** - The floating popover surface positioned against the trigger\n- **heading** - The heading rendered from the `heading` prop",
1184
+ "attributes": [
1185
+ {
1186
+ "name": "distance",
1187
+ "description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
1188
+ "values": []
1189
+ },
1190
+ {
1191
+ "name": "heading",
1192
+ "description": "Heading rendered at the top of the panel, doubling as its accessible\nname. Without it, set `aria-label` on the host. Named `heading`, not\n`title`: a `title` attribute on the host would trigger the browser's\nnative tooltip and collides with `HTMLElement.title`.",
1193
+ "values": []
1194
+ },
1195
+ {
1196
+ "name": "open",
1197
+ "description": "Whether the popover is open. Two-way: emits `change:open`.",
1198
+ "values": []
1199
+ },
1200
+ {
1201
+ "name": "position",
1202
+ "description": "Preferred placement of the panel relative to the trigger.",
1203
+ "values": [
1204
+ { "name": "bottom-end" },
1205
+ { "name": "bottom-start" },
1206
+ { "name": "bottom" },
1207
+ { "name": "left-end" },
1208
+ { "name": "left-start" },
1209
+ { "name": "left" },
1210
+ { "name": "right-end" },
1211
+ { "name": "right-start" },
1212
+ { "name": "right" },
1213
+ { "name": "top-end" },
1214
+ { "name": "top-start" },
1215
+ { "name": "top" }
1216
+ ]
1217
+ },
1218
+ {
1219
+ "name": "trigger",
1220
+ "description": "Designated trigger: an element elsewhere in the document that opens the\npopover — its document ID, or the element itself. The same trigger\nconcept as the `trigger` slot, supplied by reference: the popover wires\nclick-to-toggle, ARIA and focus return onto it and anchors the panel to\nit. When both routes are supplied, this prop wins over the slot.",
1221
+ "values": [{ "name": "HTMLElement" }]
1222
+ }
1223
+ ],
1224
+ "references": []
1225
+ },
1141
1226
  {
1142
1227
  "name": "c-progress-bar",
1143
- "description": "\n---\n\n\n### **CSS Parts:**\n - **root** - The outer flex wrapper around the bar and the details line\n- **bar** - The visible track of the progress bar, wrapping the native `<progress>` element\n- **details** - The percentage and label text line",
1228
+ "description": "A horizontal progress bar that fills a track to a known completion percentage, with an optional details line showing the value and a label.\n---\n\n\n### **CSS Parts:**\n - **root** - The outer flex wrapper around the bar and the details line\n- **bar** - The visible track of the progress bar, wrapping the native `<progress>` element\n- **details** - The percentage and label text line",
1144
1229
  "attributes": [
1145
1230
  {
1146
1231
  "name": "hide-details",
@@ -1171,14 +1256,31 @@
1171
1256
  "references": []
1172
1257
  },
1173
1258
  {
1174
- "name": "c-radio",
1175
- "description": "\n---\n\n\n### **Slots:**\n - **default** - The radio button's label text, read by the parent c-radio-group",
1259
+ "name": "c-progress-circle",
1260
+ "description": "A circular progress indicator that draws a known completion percentage as an arc around a track — the circular counterpart of `c-progress-bar`.\n---\n\n\n### **Slots:**\n - **default** - Optional content centered inside the circle, e.g. '57%' or an icon\n\n### **CSS Parts:**\n - **root** - The wrapper around the ring and the centered content\n- **track** - The background ring (SVG circle)\n- **bar** - The value arc (SVG circle)\n- **content** - The centered slot-content wrapper",
1176
1261
  "attributes": [
1177
1262
  {
1178
- "name": "checked",
1179
- "description": "Set option as checked",
1263
+ "name": "size",
1264
+ "description": "Diameter of the circle in pixels",
1265
+ "values": []
1266
+ },
1267
+ {
1268
+ "name": "value",
1269
+ "description": "Progress value in percentage (0 to 100)",
1180
1270
  "values": []
1181
1271
  },
1272
+ {
1273
+ "name": "width",
1274
+ "description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
1275
+ "values": []
1276
+ }
1277
+ ],
1278
+ "references": []
1279
+ },
1280
+ {
1281
+ "name": "c-radio",
1282
+ "description": "A single radio option inside a `c-radio-group`: a native radio input whose default slot is its clickable, announced label.\n---\n\n\n### **Events:**\n - **change** - Fired when the radio is selected by the user, carrying its `value`.\nBubbles composed so the parent `<c-radio-group>` — whose shadow root a\nlight-DOM event never enters — catches it on its host; a consumer\nlistening on the group hears it too, with the radio as `target`.\n\n### **Slots:**\n - **default** - The radio's label content, rendered inside the shadow `<label>` so it stays click-associated and announced\n\n### **CSS Parts:**\n - **root** - The `<label>` row wrapping the input, indicator and label content\n- **indicator** - The radio ring itself; the selection dot is its `::after` and the keyboard focus ring its `::before` — all three follow `currentColor`, so `color` recolours the whole indicator, focus ring included\n- **content** - Wrapper around the slotted label content",
1283
+ "attributes": [
1182
1284
  {
1183
1285
  "name": "disabled",
1184
1286
  "description": "Disable the radio button",
@@ -1190,7 +1292,7 @@
1190
1292
  },
1191
1293
  {
1192
1294
  "name": "c-radio-group",
1193
- "description": "\n---\n\n\n### **Events:**\n - **changeValue** - Fired when a radio option is selected, carrying the selected item's\nvalue — or the whole item object when `return-object` is set. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event fired on selection so a plain Vue `v-model`\nworks without the `v-control` directive. No detail.\n- **update:value** - v-model contract event fired on selection, carrying the selected item's\nvalue — or the whole item object when `return-object` is set.\n\n### **Slots:**\n - **default** - Default slot for the label\n\n### **CSS Parts:**\n - **root** - The radiogroup wrapper element carrying the disabled/error states\n- **label** - The group label above the radio buttons\n- **items** - The wrapper around the rendered radio button rows\n- **message** - The hint/error message line below the radios",
1295
+ "description": "A radio group is a set of mutually exclusive choices where exactly one can be selected, authored as slotted `c-radio` children. Give the group a `label` so the choice it represents is named for every user, and a `hint` describing how to answer.\n---\n\n\n### **Events:**\n - **changeValue** - Fired when a radio is selected, carrying the selected radio's value. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event fired on selection so a plain Vue `v-model`\nworks without the `v-control` directive. No detail.\n- **update:value** - v-model contract event fired on selection, carrying the selected radio's\nvalue.\n\n### **Slots:**\n - **default** - The radios' home: `<c-radio>` children, wrappable in arbitrary layout elements at any depth\n- **label** - Group label content, used when the `label` prop is not set\n\n### **CSS Parts:**\n - **root** - The radiogroup wrapper element\n- **label** - The group label above the radio buttons\n- **items** - The container the radios are slotted into\n- **message** - The hint/error message area below the radios (always reserved unless `hide-details`)",
1194
1296
  "attributes": [
1195
1297
  {
1196
1298
  "name": "disabled",
@@ -1212,7 +1314,6 @@
1212
1314
  "description": "Hint text for the input",
1213
1315
  "values": []
1214
1316
  },
1215
- { "name": "host-id", "description": "Id of the element", "values": [] },
1216
1317
  {
1217
1318
  "name": "inline",
1218
1319
  "description": "Display radio buttons inline",
@@ -1224,11 +1325,6 @@
1224
1325
  "values": []
1225
1326
  },
1226
1327
  { "name": "required", "description": "Set as required", "values": [] },
1227
- {
1228
- "name": "return-object",
1229
- "description": "Return the whole item object",
1230
- "values": []
1231
- },
1232
1328
  {
1233
1329
  "name": "valid",
1234
1330
  "description": "Set the validity of the input",
@@ -1236,15 +1332,15 @@
1236
1332
  },
1237
1333
  {
1238
1334
  "name": "value",
1239
- "description": "Value of the radio group",
1240
- "values": [{ "name": "RadioItem" }]
1335
+ "description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
1336
+ "values": []
1241
1337
  }
1242
1338
  ],
1243
1339
  "references": []
1244
1340
  },
1245
1341
  {
1246
1342
  "name": "c-select",
1247
- "description": "\n---\n\n\n### **Events:**\n - **changeValue** - Fired when the selection changes (an option is picked or the value is\ncleared), carrying the new value — the option's value, or the whole\n`{ name, value }` item when `return-object` is set; `null` when cleared. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail.\n- **update:value** - Fired alongside `changeValue` with the same detail — the `v-model`\ncontract.\n\n### **Methods:**\n - **reset()** - Reset select state\n\n### **Slots:**\n - **default** - Use c-option elements only\n- **pre** - Leading content forwarded to the inner c-input, rendered before the select's value\n- **post** - Trailing content forwarded to the inner c-input, rendered after the select's controls",
1343
+ "description": "\n---\n\n\n### **Events:**\n - **changeValue** - Fired when the selection changes (an option is picked or the value is\ncleared), carrying the new value — the option's value, or the whole\n`{ name, value }` item when `return-object` is set; `null` when cleared. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail.\n- **update:value** - Fired alongside `changeValue` with the same detail — the `v-model`\ncontract.\n\n### **Methods:**\n - **reset()** - Reset select state\n\n### **Slots:**\n - **default** - Use c-option elements only\n- **pre** - Leading content forwarded to the inner c-input, rendered before the select's value\n- **post** - Trailing content forwarded to the inner c-input, rendered after the select's controls\n\n### **CSS Parts:**\n - **menu** - The dropdown surface (the positioned dialog) holding the field and the list\n- **list** - The scrolling listbox of options\n- **item** - 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",
1248
1344
  "attributes": [
1249
1345
  {
1250
1346
  "name": "clearable",
@@ -1310,6 +1406,11 @@
1310
1406
  "values": []
1311
1407
  },
1312
1408
  { "name": "shadow", "description": "Shadow variant", "values": [] },
1409
+ {
1410
+ "name": "size",
1411
+ "description": "Field height: the 44px default or the 36px `small` box",
1412
+ "values": [{ "name": "default" }, { "name": "small" }]
1413
+ },
1313
1414
  {
1314
1415
  "name": "valid",
1315
1416
  "description": "Set the validity of the input",
@@ -1401,7 +1502,7 @@
1401
1502
  },
1402
1503
  {
1403
1504
  "name": "c-spinner",
1404
- "description": "\n---\n\n\n### **CSS Parts:**\n - **root** - The `<svg>` element that draws the spinning circle",
1505
+ "description": "A circular indeterminate activity indicator — pure motion with no value, for waits of unknown duration.\n---\n\n\n### **CSS Parts:**\n - **root** - The `<svg>` element that draws the spinning circle",
1405
1506
  "attributes": [
1406
1507
  {
1407
1508
  "name": "color",
@@ -1477,7 +1578,7 @@
1477
1578
  },
1478
1579
  {
1479
1580
  "name": "c-switch",
1480
- "description": "\n---\n\n\n### **Events:**\n - **change** - Standard bubbling DOM change event, re-dispatched from the host when the\nswitch is toggled (the inner input's change does not cross the shadow\nboundary). No detail; read the new value from the host's `value` property.\n- **changeValue** - Fired when the switch is toggled, carrying the new value —\n`trueValue` when on, `falseValue` when off. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event fired on toggle so a plain Vue `v-model`\nworks without the `v-control` directive. No detail.\n- **update:value** - v-model contract event fired on toggle, carrying the new value —\n`trueValue` when on, `falseValue` when off.\n\n### **Slots:**\n - **default** - The visible label of the switch (fallback when the `label` prop is not set)\n\n### **CSS Parts:**\n - **root** - The `<label>` element wrapping the toggle and the label text\n- **slider** - The toggle track (its `::before` pseudo-element is the handle)\n- **label** - Wrapper around the label text or slotted label content",
1581
+ "description": "A toggle for a binary setting that takes effect immediately: a native switch control with a label, an optional hint, and validation messaging.\n---\n\n\n### **Events:**\n - **change** - Standard bubbling DOM change event, re-dispatched from the host when the\nswitch is toggled (the inner input's change does not cross the shadow\nboundary). No detail; read the new value from the host's `value` property.\n- **changeValue** - Fired when the switch is toggled, carrying the new value —\n`trueValue` when on, `falseValue` when off. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event fired on toggle so a plain Vue `v-model`\nworks without the `v-control` directive. No detail.\n- **update:value** - v-model contract event fired on toggle, carrying the new value —\n`trueValue` when on, `falseValue` when off.\n\n### **Slots:**\n - **default** - The visible label of the switch (fallback when the `label` prop is not set)\n\n### **CSS Parts:**\n - **root** - The `<label>` element wrapping the toggle and the label text\n- **slider** - The toggle track (its `::before` pseudo-element is the handle)\n- **label** - Wrapper around the label text or slotted label content",
1481
1582
  "attributes": [
1482
1583
  {
1483
1584
  "name": "checked",
@@ -1590,7 +1691,7 @@
1590
1691
  },
1591
1692
  {
1592
1693
  "name": "c-table",
1593
- "description": "\n---\n",
1694
+ "description": "A styled wrapper for a table you author yourself: slot in a plain `<table>` and c-table gives it the CSC look plus an optional responsive card layout on narrow screens. The table stays in your own DOM — your stylesheets, your framework's rendering, and `::part()` selectors on components nested in cells (a `c-tag` status chip, a `c-pagination` footer) all keep working.\n---\n\n\n### **Slots:**\n - **default** - The consumer-authored `<table>` element",
1594
1695
  "attributes": [
1595
1696
  {
1596
1697
  "name": "mobile-breakpoint",
@@ -1774,6 +1875,11 @@
1774
1875
  "description": "Shadow variant of the input",
1775
1876
  "values": []
1776
1877
  },
1878
+ {
1879
+ "name": "size",
1880
+ "description": "Field height: the 44px default or the 36px `small` box (single-line fields)",
1881
+ "values": [{ "name": "default" }, { "name": "small" }]
1882
+ },
1777
1883
  {
1778
1884
  "name": "step",
1779
1885
  "description": "Step size on a numeric input",
@@ -1809,7 +1915,7 @@
1809
1915
  },
1810
1916
  {
1811
1917
  "name": "c-toast",
1812
- "description": "A single toast notification, rendered and managed by c-toasts\n---\n\n\n### **Events:**\n - **close** - Fired once the toast's leave transition has finished (after a manual\ndismiss or the auto-close timer), carrying the dismissed toast's message\nobject.\n\n### **Slots:**\n - **default** - Custom toast content, shown when the message is flagged `custom`\n\n### **CSS Parts:**\n - **root** - The toast's outer box carrying the accent border and shadow\n- **custom** - Wrapper shown for custom messages in place of the standard item layout\n- **content** - The message body holding the title and text, or the slotted custom content\n- **item** - Row layout of a standard toast: type icon, message body and close button\n- **progress** - The track of the auto-close progress bar",
1918
+ "description": "A single toast notification, rendered and managed by c-toasts\n---\n\n\n### **Events:**\n - **close** - Fired once the toast's leave transition has finished (after a manual\ndismiss or the auto-close timer), carrying the dismissed toast's message\nobject.\n\n### **Slots:**\n - **default** - Custom toast content, shown when the message is flagged `custom`\n\n### **CSS Parts:**\n - **root** - The toast's outer box: the inverted-surface pill carrying the shadow\n- **custom** - Wrapper shown for custom messages in place of the standard item layout\n- **content** - The message body holding the title and text, or the slotted custom content\n- **item** - Row layout of a standard toast: status badge, message body and dismiss button\n- **badge** - The circular tinted badge holding the status icon\n- **dismiss** - The dismiss button (icon-only, or labelled when the message sets `closeText`)\n- **progress** - The track of the auto-close progress bar",
1813
1919
  "attributes": [
1814
1920
  {
1815
1921
  "name": "message",
@@ -1850,6 +1956,56 @@
1850
1956
  "description": "\n---\n\n\n### **Slots:**\n - **default** - Content of toolbar\n\n### **CSS Parts:**\n - **root** - The toolbar bar itself, fixed to the top of the viewport",
1851
1957
  "attributes": [],
1852
1958
  "references": []
1959
+ },
1960
+ {
1961
+ "name": "c-tooltip",
1962
+ "description": "A non-interactive text hint shown when its trigger is hovered or keyboard-focused, floating in the top layer on the inverted surface tier.\n---\n\n\n### **Events:**\n - **change:open** - Fired whenever the tooltip shows or hides, carrying the new open state.\nNamed `change:open`, not `update:open`: Vue's runtime silently drops\n`onUpdate:*` listeners on custom elements (`isModelListener`), so a\ntemplate `@update:open` would never be attached.\n\n### **Slots:**\n - **trigger** - The element the tooltip describes (e.g. a c-icon-button)\n- **content** - Formatted tooltip content, overriding the `text` prop; must stay non-interactive (ADR-0033)\n\n### **CSS Parts:**\n - **trigger** - The inline wrapper around the slotted trigger, serving as the panel's anchor\n- **panel** - The floating tooltip bubble positioned against the trigger",
1963
+ "attributes": [
1964
+ {
1965
+ "name": "delay",
1966
+ "description": "Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\nshows the tooltip immediately, regardless of this value. Defaults to\n`400`.",
1967
+ "values": []
1968
+ },
1969
+ {
1970
+ "name": "distance",
1971
+ "description": "Distance from the trigger to the tooltip, in pixels. Defaults to `4`.",
1972
+ "values": []
1973
+ },
1974
+ {
1975
+ "name": "open",
1976
+ "description": "Whether the tooltip is open. Two-way: emits `change:open`.",
1977
+ "values": []
1978
+ },
1979
+ {
1980
+ "name": "position",
1981
+ "description": "Preferred placement of the tooltip relative to the trigger.",
1982
+ "values": [
1983
+ { "name": "bottom-end" },
1984
+ { "name": "bottom-start" },
1985
+ { "name": "bottom" },
1986
+ { "name": "left-end" },
1987
+ { "name": "left-start" },
1988
+ { "name": "left" },
1989
+ { "name": "right-end" },
1990
+ { "name": "right-start" },
1991
+ { "name": "right" },
1992
+ { "name": "top-end" },
1993
+ { "name": "top-start" },
1994
+ { "name": "top" }
1995
+ ]
1996
+ },
1997
+ {
1998
+ "name": "text",
1999
+ "description": "The tooltip text. Overridden by the `content` slot when that is\npopulated.",
2000
+ "values": []
2001
+ },
2002
+ {
2003
+ "name": "trigger",
2004
+ "description": "Designated trigger: an element elsewhere in the document that the\ntooltip describes — its document ID, or the element itself. The same\ntrigger concept as the `trigger` slot, supplied by reference: the\ntooltip wires hover/focus, mirrors `aria-description` onto it and\nanchors the bubble to it. When both routes are supplied, this prop wins\nover the slot.",
2005
+ "values": [{ "name": "HTMLElement" }]
2006
+ }
2007
+ ],
2008
+ "references": []
1853
2009
  }
1854
2010
  ]
1855
2011
  }