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

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 (88) hide show
  1. package/dist/csc-ui.js +10192 -7248
  2. package/dist/custom-elements.json +2278 -257
  3. package/dist/docs/c-alert/usage.md +24 -0
  4. package/dist/docs/c-autocomplete/usage.md +152 -0
  5. package/dist/docs/c-button-group/usage.md +14 -1
  6. package/dist/docs/c-checkbox/usage.md +53 -0
  7. package/dist/docs/c-main/usage.md +21 -1
  8. package/dist/docs/c-menu/usage.md +15 -0
  9. package/dist/docs/c-menu-item/usage.md +6 -0
  10. package/dist/docs/c-option-value/usage.md +1 -0
  11. package/dist/docs/c-popover/usage.md +33 -0
  12. package/dist/docs/c-progress-bar/usage.md +23 -0
  13. package/dist/docs/c-progress-circle/usage.md +25 -0
  14. package/dist/docs/c-radio/usage.md +45 -0
  15. package/dist/docs/c-radio-group/usage.md +67 -0
  16. package/dist/docs/c-select/usage.md +127 -0
  17. package/dist/docs/c-side-navigation/usage.md +21 -0
  18. package/dist/docs/c-spinner/usage.md +21 -0
  19. package/dist/docs/c-switch/usage.md +36 -0
  20. package/dist/docs/c-tab-buttons/usage.md +7 -0
  21. package/dist/docs/c-table/usage.md +14 -0
  22. package/dist/docs/c-toolbar/usage.md +17 -0
  23. package/dist/docs/c-tooltip/usage.md +30 -0
  24. package/dist/docs/c-tree-select/usage.md +156 -0
  25. package/dist/styles/css/tailwind-theme.css +32 -0
  26. package/dist/styles/css/tokens.css +707 -197
  27. package/dist/vscode.css-custom-data.json +286 -19
  28. package/dist/vscode.html-custom-data.json +334 -51
  29. package/dist/web-types.json +1200 -190
  30. package/dist-types/components/c-alert/CAlert.vue.d.ts +18 -4
  31. package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +118 -18
  32. package/dist-types/components/c-button/CButton.vue.d.ts +1 -1
  33. package/dist-types/components/c-button-group/CButtonGroup.vue.d.ts +1 -1
  34. package/dist-types/components/c-checkbox/CCheckbox.vue.d.ts +3 -3
  35. package/dist-types/components/c-data-table/CDataTable.vue.d.ts +6 -2
  36. package/dist-types/components/c-dropdown/CDropdown.vue.d.ts +48 -5
  37. package/dist-types/components/c-icon/CIcon.vue.d.ts +1 -1
  38. package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +1 -1
  39. package/dist-types/components/c-input/CInput.vue.d.ts +6 -2
  40. package/dist-types/components/c-login-button/CLoginButton.vue.d.ts +4 -2
  41. package/dist-types/components/c-main/CMain.vue.d.ts +9 -2
  42. package/dist-types/components/c-menu/CMenu.vue.d.ts +14 -4
  43. package/dist-types/components/c-menu-item/CMenuItem.vue.d.ts +30 -3
  44. package/dist-types/components/c-otp-input/COtpInput.vue.d.ts +1 -1
  45. package/dist-types/components/c-pagination/CPagination.vue.d.ts +1 -1
  46. package/dist-types/components/c-popover/CPopover.vue.d.ts +43 -0
  47. package/dist-types/components/c-progress-circle/CProgressCircle.vue.d.ts +32 -0
  48. package/dist-types/components/c-radio/CRadio.vue.d.ts +7 -11
  49. package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +9 -47
  50. package/dist-types/components/c-select/CSelect.vue.d.ts +115 -24
  51. package/dist-types/components/c-side-navigation/CSideNavigation.vue.d.ts +1 -1
  52. package/dist-types/components/c-spinner/CSpinner.vue.d.ts +1 -1
  53. package/dist-types/components/c-switch/CSwitch.vue.d.ts +1 -1
  54. package/dist-types/components/c-table/CTable.vue.d.ts +11 -1
  55. package/dist-types/components/c-table/injectTableStyles.d.ts +1 -0
  56. package/dist-types/components/c-tag/CTag.vue.d.ts +8 -1
  57. package/dist-types/components/c-text-field/CTextField.vue.d.ts +15 -4
  58. package/dist-types/components/c-toolbar/CToolbar.vue.d.ts +10 -1
  59. package/dist-types/components/c-tooltip/CTooltip.vue.d.ts +49 -0
  60. package/dist-types/components/c-tree-select/CTreeSelect.vue.d.ts +261 -0
  61. package/dist-types/index.d.ts +14 -2
  62. package/dist-types/shared/FieldMessage.vue.d.ts +21 -0
  63. package/dist-types/shared/PanelHeadingRow.vue.d.ts +13 -0
  64. package/dist-types/shared/SelectionIndicator.vue.d.ts +21 -0
  65. package/dist-types/shared/appDefaults.d.ts +75 -0
  66. package/dist-types/shared/defineElement.d.ts +1 -0
  67. package/dist-types/shared/lightDismiss.d.ts +35 -0
  68. package/dist-types/shared/modalStack.d.ts +4 -3
  69. package/dist-types/shared/optionLabel.d.ts +18 -0
  70. package/dist-types/shared/pageLock.d.ts +26 -0
  71. package/dist-types/shared/peekCap.d.ts +35 -0
  72. package/dist-types/shared/popoverChain.d.ts +65 -0
  73. package/dist-types/shared/positionArea.d.ts +13 -0
  74. package/dist-types/shared/selectAll.d.ts +29 -0
  75. package/dist-types/shared/splitMatches.d.ts +18 -0
  76. package/dist-types/shared/useAnchoredPanel.d.ts +98 -0
  77. package/dist-types/shared/useDesignatedTrigger.d.ts +40 -0
  78. package/dist-types/shared/useHostStates.d.ts +25 -0
  79. package/dist-types/shared/useNarrowViewport.d.ts +19 -0
  80. package/dist-types/shared/useScrollStrip.d.ts +39 -0
  81. package/dist-types/shared/useStatusAnnouncer.d.ts +33 -0
  82. package/dist-types/shared/visualViewport.d.ts +51 -0
  83. package/dist-types/tag-name-map.d.ts +440 -51
  84. package/dist-types/theme/chart-data.d.ts +51 -0
  85. package/dist-types/theme/ramp.d.ts +38 -0
  86. package/dist-types/theme/themeMode.d.ts +51 -0
  87. package/dist-types/types.d.ts +13 -0
  88. package/package.json +19 -8
@@ -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",
@@ -76,7 +86,7 @@
76
86
  },
77
87
  {
78
88
  "name": "c-autocomplete",
79
- "description": "A filterable value-selection component: a readonly value field that opens a popover panel with a search input above the matching options.\n---\n\n\n### **Events:**\n - **change** - Native change event (no detail) dispatched whenever a selection is\ncommitted or cleared; bubbles through the shadow boundary for\nform-style listeners.\n- **change:query** - Fired whenever the query changes — on every keystroke in the search\ninput, and with an empty string when the panel opens. Carries the query\nstring. With `external`, drive your data source from this (debounce on\nyour side) and feed the results back via `items`.\n- **changeValue** - Fired when the selected value changes (an option is committed or the\nselection is cleared), carrying the new value — the option's value, or\nthe whole `{ name, value }` item when `return-object` is set; `null`\nwhen 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 autocomplete state\n\n### **Slots:**\n - **pre** - Content placed before the value field inside the input row\n- **default** - The c-option elements used as the data source (never rendered in place)\n- **post** - Content placed after the value field inside the input row\n\n### **CSS Parts:**\n - **panel** - The top-layer popover container anchored below the field\n- **card** - The elevated surface inside the panel holding the search row and the list\n- **search** - The search-input row at the top of the panel\n- **list** - The scrollable options listbox\n- **info** - The info row: loading while `loading` with an empty list, otherwise no-results when the query matches no options",
89
+ "description": "A filterable value-selection component: a readonly value field that opens a popover panel with a search input above the matching options.\n---\n\n\n### **Events:**\n - **change** - Native change event (no detail) dispatched whenever a selection is\ncommitted or cleared; bubbles through the shadow boundary for\nform-style listeners.\n- **change:query** - Fired whenever the query changes — on every keystroke in the search\ninput, and with an empty string when the panel opens. Carries the query\nstring. With `external`, drive your data source from this (debounce on\nyour side) and feed the results back via `items`.\n- **changeValue** - Fired when the selected value changes (an option is committed or the\nselection is cleared), carrying the new value — the option's value, or\nthe whole `{ name, value }` item when `return-object` is set; `null`\nwhen cleared. In `multiple` mode the whole array of picked values, in\npick order (`[]` 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 autocomplete state\n\n### **Slots:**\n - **pre** - Content placed before the value field inside the input row\n- **default** - The c-option elements used as the data source (never rendered in place)\n- **post** - Content placed after the value field inside the input row\n\n### **CSS Parts:**\n - **panel** - The top-layer popover container anchored below the field\n- **card** - The elevated surface inside the panel holding the search row and the list\n- **heading-row** - The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button\n- **heading** - The field label naming the fullscreen panel\n- **close** - The close button of the fullscreen panel\n- **search** - The search-input row at the top of the panel\n- **list** - The scrollable options listbox\n- **item** - One option row in the list\n- **select-all** - The pinned select-all row at the top of the list (`multiple` mode with `select-all`); carries the same indicator / mark parts as an option row\n- **indicator** - The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together (the c-checkbox recipe)\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`\n- **match** - A run of an option's label equal to the query, in the row; underlined in the primary colour, text inherits the row\n- **info** - The info row: loading while `loading` with an empty list, otherwise no-results when the query matches no options\n- **tags** - The row of selected-value tags inside the field (`multiple` mode)\n- **tag** - One selected-value tag: the `c-tag` host, including the overflow tag\n- **tag-root** - The pill box inside each tag (the `c-tag` `root` part), for colours and borders",
80
90
  "attributes": [
81
91
  {
82
92
  "name": "clearable",
@@ -125,12 +135,17 @@
125
135
  "description": "Show loading state",
126
136
  "values": []
127
137
  },
128
- { "name": "name", "description": "Input field name", "values": [] },
129
138
  {
130
- "name": "no-results-text",
131
- "description": "Message shown when the query matches no options",
139
+ "name": "max-tags",
140
+ "description": "In `multiple` mode, show at most this many selected-value tags and fold\nthe rest into one \"+N more\" tag; `0` shows no tags and reads \"N selected\"\ninstead; unset shows every tag",
132
141
  "values": []
133
142
  },
143
+ {
144
+ "name": "multiple",
145
+ "description": "Allow selecting several options: rows toggle, the panel stays open and\nkeeps its query, `value` becomes an array of the selected values (items\nwith `return-object`) in the order they were picked, and the picks show\nas tags inside the field. Arrays have no attribute form — bind `value` as\na DOM property",
146
+ "values": []
147
+ },
148
+ { "name": "name", "description": "Input field name", "values": [] },
134
149
  {
135
150
  "name": "placeholder",
136
151
  "description": "Placeholder for the in-panel search input",
@@ -146,16 +161,21 @@
146
161
  "description": "Return object instead of value",
147
162
  "values": []
148
163
  },
164
+ {
165
+ "name": "select-all",
166
+ "description": "In `multiple` mode, pin a select-all row at the top of the list. Its\ncheckbox shows whether none, some or all enabled options currently listed\n— the matches while a query is typed, the given `items` with `external` —\nare selected; activating it selects them all, or, when all are selected,\nunselects them. Ignored in single mode",
167
+ "values": []
168
+ },
149
169
  { "name": "shadow", "description": "Shadow variant", "values": [] },
170
+ {
171
+ "name": "size",
172
+ "description": "Field height: the 44px default or the 36px `small` box",
173
+ "values": [{ "name": "default" }, { "name": "small" }]
174
+ },
150
175
  {
151
176
  "name": "valid",
152
177
  "description": "Set the validity of the input",
153
178
  "values": []
154
- },
155
- {
156
- "name": "value",
157
- "description": "Selected value (scalar, or object when return-object is set)",
158
- "values": [{ "name": "CAutocompleteItem" }]
159
179
  }
160
180
  ],
161
181
  "references": []
@@ -256,7 +276,7 @@
256
276
  },
257
277
  {
258
278
  "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",
279
+ "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
280
  "attributes": [
261
281
  {
262
282
  "name": "disabled",
@@ -293,7 +313,7 @@
293
313
  },
294
314
  {
295
315
  "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, border, radius, shadow and section spacing\n- **fullscreen-toggle** - The circular fullscreen toggle button shown when the fullscreen prop is set",
316
+ "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 and its ink, border, radius, shadow and section spacing\n- **fullscreen-toggle** - The circular fullscreen toggle button shown when the fullscreen prop is set",
297
317
  "attributes": [
298
318
  {
299
319
  "name": "fullscreen",
@@ -339,13 +359,13 @@
339
359
  },
340
360
  {
341
361
  "name": "c-card-title",
342
- "description": "\n---\n\n\n### **Slots:**\n - **default** - Card title text\n- **actions** - Action controls shown to the right of the title\n\n### **CSS Parts:**\n - **root** - The outer header element carrying the title typography and padding\n- **header** - The wrapper around the heading and its underline\n- **heading** - The paragraph holding the slotted title text\n- **underline** - The decorative accent bar under the heading\n- **actions** - The wrapper around the slotted action controls",
362
+ "description": "\n---\n\n\n### **Slots:**\n - **default** - Card title text\n- **actions** - Action controls shown to the right of the title, or under it when the two do not fit side by side\n\n### **CSS Parts:**\n - **root** - The outer header element carrying the title typography and padding\n- **header** - The wrapper around the heading and its underline\n- **heading** - The paragraph holding the slotted title text\n- **underline** - The decorative accent bar under the heading\n- **actions** - The wrapper around the slotted action controls",
343
363
  "attributes": [],
344
364
  "references": []
345
365
  },
346
366
  {
347
367
  "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",
368
+ "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
369
  "attributes": [
350
370
  {
351
371
  "name": "checked",
@@ -497,8 +517,13 @@
497
517
  },
498
518
  {
499
519
  "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",
520
+ "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- **selectall** - Fired when the select-all row is activated; the parent (c-select) toggles\nevery listed enabled option.\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- **heading-row** - The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button\n- **heading** - The field label naming the fullscreen panel\n- **close** - The close button of the fullscreen panel\n- **list** - The scrolling listbox\n- **item** - One option row\n- **select-all** - The pinned select-all row at the top of the list in `multiple` mode; carries the same indicator / mark parts as an option row\n- **indicator** - The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`",
501
521
  "attributes": [
522
+ {
523
+ "name": "close-label",
524
+ "description": "Accessible label of the fullscreen panel's close button (narrow viewports)",
525
+ "values": []
526
+ },
502
527
  {
503
528
  "name": "dropdown-item-type",
504
529
  "description": "Whether items are <c-option> elements or plain objects",
@@ -511,7 +536,7 @@
511
536
  },
512
537
  {
513
538
  "name": "index",
514
- "description": "Current highlighted index",
539
+ "description": "Current highlighted index; `-1` (`SELECT_ALL_INDEX`) is the select-all row",
515
540
  "values": []
516
541
  },
517
542
  {
@@ -524,11 +549,26 @@
524
549
  "description": "Items per page before adding scroll",
525
550
  "values": []
526
551
  },
552
+ {
553
+ "name": "label",
554
+ "description": "The parent field's label, shown as the fullscreen panel's heading (narrow viewports)",
555
+ "values": []
556
+ },
557
+ {
558
+ "name": "multiple",
559
+ "description": "Multi-select mode: rows toggle instead of committing, each carries a\ndecorative checkbox indicator, and the listbox is `aria-multiselectable`",
560
+ "values": []
561
+ },
527
562
  {
528
563
  "name": "parent",
529
564
  "description": "Dropdown parent (the c-select / c-autocomplete host element)",
530
565
  "values": [{ "name": "HTMLElement" }]
531
566
  },
567
+ {
568
+ "name": "select-all-row",
569
+ "description": "The select-all row in `multiple` mode, as the parent computes it (label,\ntri-state, counts for the live region); `null` renders no row",
570
+ "values": [{ "name": "CDropdownSelectAllRow" }]
571
+ },
532
572
  {
533
573
  "name": "type",
534
574
  "description": "Parent type — drives autocomplete-only behaviour (highlight, messages)",
@@ -672,6 +712,11 @@
672
712
  "description": "Shadow variant of the input",
673
713
  "values": []
674
714
  },
715
+ {
716
+ "name": "size",
717
+ "description": "Field height: the 44px default or the 36px `small` box",
718
+ "values": [{ "name": "default" }, { "name": "small" }]
719
+ },
675
720
  {
676
721
  "name": "valid",
677
722
  "description": "Set the validíty of the input",
@@ -779,7 +824,7 @@
779
824
  },
780
825
  {
781
826
  "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",
827
+ "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
828
  "attributes": [
784
829
  {
785
830
  "name": "alt",
@@ -892,7 +937,7 @@
892
937
  },
893
938
  {
894
939
  "name": "c-main",
895
- "description": "Wrapper component for the whole page\n---\n\n\n### **Slots:**\n - **default** - Contents of the page\n\n### **CSS Parts:**\n - **root** - The main element carrying the page background and dashboard grid layout",
940
+ "description": "The page shell of an application: it paints the page canvas and lays out the toolbar, the side navigation and the page in the dashboard layout. It is at least a viewport tall and grows with its content, so the document — not a component — is what scrolls.\n---\n\n\n### **Slots:**\n - **default** - Contents of the page: the toolbar, side navigation and page\n- **banner** - A full-width message strip above the toolbar; it scrolls away with the page\n\n### **CSS Properties:**\n - **--c-main-viewport-height** - Height of the scroll viewport the layout pins against (default `100dvh`); a bounded shell with its own scrollbar sets it to its box height _(default: undefined)_\n\n### **CSS Parts:**\n - **root** - The main element carrying the page canvas and the dashboard grid layout",
896
941
  "attributes": [
897
942
  {
898
943
  "name": "disable-layout",
@@ -904,7 +949,7 @@
904
949
  },
905
950
  {
906
951
  "name": "c-menu",
907
- "description": "\n---\n\n\n### **Events:**\n - **change:open** - Fired whenever the menu 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- **select** - Fired when a leaf menu item is selected, carrying the item's `value`;\nbubbles out of the menu so a single listener can handle the whole tree.\n\n### **Slots:**\n - **default** - Menu title / activator element (simple variant)\n- **trigger** - The element that opens the menu (e.g. a c-button)\n\n### **CSS Parts:**\n - **trigger** - The inline wrapper around the slotted trigger, serving as the panel's anchor\n- **panel** - The floating popover positioned against the trigger\n- **list** - The menu list surface inside the panel",
952
+ "description": "A command menu: a transient panel of actions or navigation choices opened from a trigger (the WAI-ARIA menu-button pattern), authored declaratively with slotted `c-menu-item`, `c-menu-label` and `c-divider` elements. Activating an item fires a one-off `select` event and closes the menu; the menu holds no selected value — that is `c-select`'s job.\n---\n\n\n### **Events:**\n - **change:open** - Fired whenever the menu 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- **select** - Fired when a leaf menu item is selected, carrying the item's `value`;\nbubbles out of the menu so a single listener can handle the whole tree.\n\n### **Slots:**\n - **default** - Menu title / activator element (simple variant)\n- **trigger** - The element that opens the menu (e.g. a c-button)\n\n### **CSS Parts:**\n - **trigger** - The inline wrapper around the slotted trigger, serving as the panel's anchor\n- **panel** - The floating popover positioned against the trigger\n- **list** - The menu list surface inside the panel",
908
953
  "attributes": [
909
954
  {
910
955
  "name": "distance",
@@ -933,14 +978,29 @@
933
978
  { "name": "top-start" },
934
979
  { "name": "top" }
935
980
  ]
981
+ },
982
+ {
983
+ "name": "trigger",
984
+ "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.",
985
+ "values": [{ "name": "HTMLElement" }]
936
986
  }
937
987
  ],
938
988
  "references": []
939
989
  },
940
990
  {
941
991
  "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",
992
+ "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
993
  "attributes": [
994
+ {
995
+ "name": "active",
996
+ "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).",
997
+ "values": []
998
+ },
999
+ {
1000
+ "name": "active-icon",
1001
+ "description": "SVG path for the trailing indicator shown while `active`; defaults to a\ncheck mark.",
1002
+ "values": []
1003
+ },
944
1004
  {
945
1005
  "name": "danger",
946
1006
  "description": "Marks the action as destructive (renders in the error colour).",
@@ -951,6 +1011,11 @@
951
1011
  "description": "Disables the item — it is skipped by keyboard nav and emits no select.",
952
1012
  "values": []
953
1013
  },
1014
+ {
1015
+ "name": "icon",
1016
+ "description": "SVG path for a leading icon rendered before the item's content.",
1017
+ "values": []
1018
+ },
954
1019
  {
955
1020
  "name": "value",
956
1021
  "description": "Value reported in the menu's `select` event when this item is chosen.",
@@ -1023,7 +1088,7 @@
1023
1088
  },
1024
1089
  {
1025
1090
  "name": "c-option",
1026
- "description": "\n---\n\n\n### **Slots:**\n - **default** - The option's visible label content, shown in the c-select dropdown list",
1091
+ "description": "\n---\n\n\n### **Slots:**\n - **default** - The option's content, rendered in the list row; wrap the label text in c-option-value when the option carries more than its label",
1027
1092
  "attributes": [
1028
1093
  {
1029
1094
  "name": "disabled",
@@ -1046,7 +1111,7 @@
1046
1111
  },
1047
1112
  {
1048
1113
  "name": "c-option-value",
1049
- "description": "\n---\n\n\n### **Slots:**\n - **default** - The displayed option text, targeted by c-dropdown when highlighting autocomplete matches",
1114
+ "description": "The label region of a `c-option`: wraps the text that c-select and c-autocomplete use as the option's label — in the closed field, its tag and the autocomplete filter — so the option can carry a description or an icon beside its label, and the region in which c-autocomplete marks the runs equal to the query (`::part(match)`).\n---\n\n\n### **Slots:**\n - **default** - The option's label: the text c-select and c-autocomplete use for the option in the closed field, its tag and the filter, and the region c-autocomplete marks query matches in",
1050
1115
  "attributes": [],
1051
1116
  "references": []
1052
1117
  },
@@ -1101,7 +1166,7 @@
1101
1166
  },
1102
1167
  {
1103
1168
  "name": "c-page",
1104
- "description": "\n---\n\n\n### **Slots:**\n - **default** - Default slot\n- **footer** - Footer slot\n\n### **CSS Parts:**\n - **scroll-indicator** - The fixed progress bar at the top of the viewport tracking scroll position\n- **container** - The max-width content wrapper around the default slot",
1169
+ "description": "\n---\n\n\n### **Slots:**\n - **default** - Default slot\n- **footer** - Footer slot\n\n### **CSS Parts:**\n - **scroll-indicator** - The fixed progress bar at the top of the viewport tracking how far the document is scrolled\n- **container** - The max-width content wrapper around the default slot",
1105
1170
  "attributes": [
1106
1171
  {
1107
1172
  "name": "scroll-indicator",
@@ -1138,9 +1203,54 @@
1138
1203
  ],
1139
1204
  "references": []
1140
1205
  },
1206
+ {
1207
+ "name": "c-popover",
1208
+ "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",
1209
+ "attributes": [
1210
+ {
1211
+ "name": "distance",
1212
+ "description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
1213
+ "values": []
1214
+ },
1215
+ {
1216
+ "name": "heading",
1217
+ "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`.",
1218
+ "values": []
1219
+ },
1220
+ {
1221
+ "name": "open",
1222
+ "description": "Whether the popover is open. Two-way: emits `change:open`.",
1223
+ "values": []
1224
+ },
1225
+ {
1226
+ "name": "position",
1227
+ "description": "Preferred placement of the panel relative to the trigger.",
1228
+ "values": [
1229
+ { "name": "bottom-end" },
1230
+ { "name": "bottom-start" },
1231
+ { "name": "bottom" },
1232
+ { "name": "left-end" },
1233
+ { "name": "left-start" },
1234
+ { "name": "left" },
1235
+ { "name": "right-end" },
1236
+ { "name": "right-start" },
1237
+ { "name": "right" },
1238
+ { "name": "top-end" },
1239
+ { "name": "top-start" },
1240
+ { "name": "top" }
1241
+ ]
1242
+ },
1243
+ {
1244
+ "name": "trigger",
1245
+ "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.",
1246
+ "values": [{ "name": "HTMLElement" }]
1247
+ }
1248
+ ],
1249
+ "references": []
1250
+ },
1141
1251
  {
1142
1252
  "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",
1253
+ "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
1254
  "attributes": [
1145
1255
  {
1146
1256
  "name": "hide-details",
@@ -1171,14 +1281,31 @@
1171
1281
  "references": []
1172
1282
  },
1173
1283
  {
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",
1284
+ "name": "c-progress-circle",
1285
+ "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
1286
  "attributes": [
1177
1287
  {
1178
- "name": "checked",
1179
- "description": "Set option as checked",
1288
+ "name": "size",
1289
+ "description": "Diameter of the circle in pixels",
1180
1290
  "values": []
1181
1291
  },
1292
+ {
1293
+ "name": "value",
1294
+ "description": "Progress value in percentage (0 to 100)",
1295
+ "values": []
1296
+ },
1297
+ {
1298
+ "name": "width",
1299
+ "description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
1300
+ "values": []
1301
+ }
1302
+ ],
1303
+ "references": []
1304
+ },
1305
+ {
1306
+ "name": "c-radio",
1307
+ "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",
1308
+ "attributes": [
1182
1309
  {
1183
1310
  "name": "disabled",
1184
1311
  "description": "Disable the radio button",
@@ -1190,7 +1317,7 @@
1190
1317
  },
1191
1318
  {
1192
1319
  "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",
1320
+ "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
1321
  "attributes": [
1195
1322
  {
1196
1323
  "name": "disabled",
@@ -1212,7 +1339,6 @@
1212
1339
  "description": "Hint text for the input",
1213
1340
  "values": []
1214
1341
  },
1215
- { "name": "host-id", "description": "Id of the element", "values": [] },
1216
1342
  {
1217
1343
  "name": "inline",
1218
1344
  "description": "Display radio buttons inline",
@@ -1224,11 +1350,6 @@
1224
1350
  "values": []
1225
1351
  },
1226
1352
  { "name": "required", "description": "Set as required", "values": [] },
1227
- {
1228
- "name": "return-object",
1229
- "description": "Return the whole item object",
1230
- "values": []
1231
- },
1232
1353
  {
1233
1354
  "name": "valid",
1234
1355
  "description": "Set the validity of the input",
@@ -1236,15 +1357,15 @@
1236
1357
  },
1237
1358
  {
1238
1359
  "name": "value",
1239
- "description": "Value of the radio group",
1240
- "values": [{ "name": "RadioItem" }]
1360
+ "description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
1361
+ "values": []
1241
1362
  }
1242
1363
  ],
1243
1364
  "references": []
1244
1365
  },
1245
1366
  {
1246
1367
  "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",
1368
+ "description": "A value-selection field: a readonly field that opens a listbox of options — slotted `c-option` elements or an `items` array — and holds the picked value, emitting the value events that back `v-model`.\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.\nIn `multiple` mode the whole array of picked values, in pick order\n(`[]` 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- **heading-row** - The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button\n- **heading** - The field label naming the fullscreen panel\n- **close** - The close button of the fullscreen panel\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\n- **select-all** - The pinned select-all row at the top of the list (`multiple` mode with `select-all`); carries the same indicator / mark parts as an option row\n- **indicator** - The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together (the c-checkbox recipe)\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`\n- **tags** - The row of selected-value tags inside the field (`multiple` mode)\n- **tag** - One selected-value tag: the `c-tag` host, including the overflow tag\n- **tag-root** - The pill box inside each tag (the `c-tag` `root` part), for colours and borders",
1248
1369
  "attributes": [
1249
1370
  {
1250
1371
  "name": "clearable",
@@ -1288,6 +1409,16 @@
1288
1409
  "description": "Show loading state",
1289
1410
  "values": []
1290
1411
  },
1412
+ {
1413
+ "name": "max-tags",
1414
+ "description": "In `multiple` mode, show at most this many selected-value tags and fold\nthe rest into one \"+N more\" tag; `0` shows no tags and reads \"N selected\"\ninstead; unset shows every tag",
1415
+ "values": []
1416
+ },
1417
+ {
1418
+ "name": "multiple",
1419
+ "description": "Allow selecting several options: rows toggle and the list stays open,\n`value` becomes an array of the selected values (items with\n`return-object`) in the order they were picked, and the picks show as\ntags inside the field. `option-as-selection` is ignored in this mode.\nArrays have no attribute form — bind `value` as a DOM property",
1420
+ "values": []
1421
+ },
1291
1422
  { "name": "name", "description": "Input field name", "values": [] },
1292
1423
  {
1293
1424
  "name": "option-as-selection",
@@ -1309,23 +1440,28 @@
1309
1440
  "description": "Return object instead of value",
1310
1441
  "values": []
1311
1442
  },
1443
+ {
1444
+ "name": "select-all",
1445
+ "description": "In `multiple` mode, pin a select-all row at the top of the list. Its\ncheckbox shows whether none, some or all enabled options are selected;\nactivating it selects every enabled option — or, when all are selected,\nunselects them. Ignored in single mode",
1446
+ "values": []
1447
+ },
1312
1448
  { "name": "shadow", "description": "Shadow variant", "values": [] },
1449
+ {
1450
+ "name": "size",
1451
+ "description": "Field height: the 44px default or the 36px `small` box",
1452
+ "values": [{ "name": "default" }, { "name": "small" }]
1453
+ },
1313
1454
  {
1314
1455
  "name": "valid",
1315
1456
  "description": "Set the validity of the input",
1316
1457
  "values": []
1317
- },
1318
- {
1319
- "name": "value",
1320
- "description": "Selected value (scalar, or object when return-object is set)",
1321
- "values": [{ "name": "CSelectItem" }]
1322
1458
  }
1323
1459
  ],
1324
1460
  "references": []
1325
1461
  },
1326
1462
  {
1327
1463
  "name": "c-side-navigation",
1328
- "description": "\n---\n\n\n### **Events:**\n - **change:menu-visible** - Fired when the drawer is closed from within (the mobile close button or\nthe backdrop overlay), carrying the new visibility (`false`).\nNamed `change:menu-visible`, not `update:menuVisible`: Vue's runtime\nsilently drops `onUpdate:*` listeners on custom elements\n(`isModelListener`), so a template `@update:menu-visible` would never be\nattached.\n\n### **Slots:**\n - **default** - Default slot\n- **bottom** - Place items at the bottom\n\n### **CSS Parts:**\n - **root** - The outer drawer container\n- **nav** - The scrollable `<nav>` element holding the navigation items",
1464
+ "description": "The dashboard layout's left-hand menu: section titles, navigation items and their sub-items in a drawer that is pinned beside the page on desktop and slides in over it on mobile.\n---\n\n\n### **Events:**\n - **change:menu-visible** - Fired when the drawer is closed from within (the mobile close button or\nthe backdrop overlay), carrying the new visibility (`false`).\nNamed `change:menu-visible`, not `update:menuVisible`: Vue's runtime\nsilently drops `onUpdate:*` listeners on custom elements\n(`isModelListener`), so a template `@update:menu-visible` would never be\nattached.\n\n### **Slots:**\n - **default** - The navigation items: titles, items and their sub-items\n- **bottom** - Trailing content below the items, such as a sign-out button; it stays at the drawer's bottom edge while the items scroll\n\n### **CSS Parts:**\n - **root** - The outer drawer container: the item list above the bottom slot's region\n- **nav** - The scrollable `<nav>` element holding the navigation items",
1329
1465
  "attributes": [
1330
1466
  {
1331
1467
  "name": "menu-visible",
@@ -1401,7 +1537,7 @@
1401
1537
  },
1402
1538
  {
1403
1539
  "name": "c-spinner",
1404
- "description": "\n---\n\n\n### **CSS Parts:**\n - **root** - The `<svg>` element that draws the spinning circle",
1540
+ "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
1541
  "attributes": [
1406
1542
  {
1407
1543
  "name": "color",
@@ -1477,7 +1613,7 @@
1477
1613
  },
1478
1614
  {
1479
1615
  "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",
1616
+ "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
1617
  "attributes": [
1482
1618
  {
1483
1619
  "name": "checked",
@@ -1546,7 +1682,7 @@
1546
1682
  },
1547
1683
  {
1548
1684
  "name": "c-tab-buttons",
1549
- "description": "Tab buttons present a `c-tabs` tab list as a segmented control instead of the underlined tab row. Author it only inside `<c-tabs>`, with plain `<c-button>` children whose `value`s match the `c-tab-item` panels; `c-tabs` owns the active value and pushes it down.\n---\n\n\n### **Events:**\n - **tabChange** - Fired when the user activates a tab button, carrying the newly selected\nvalue. The parent `<c-tabs>` listens for it and pushes the accepted value\nback down; consumers should listen to `c-tabs` instead. Also dispatched as `tab-change` — bind that name in Vue templates.\n\n### **Slots:**\n - **default** - Default slot for the c-button elements\n\n### **CSS Parts:**\n - **root** - The segmented-control box framing the buttons\n- **indicator** - The sliding fill highlighting the active tab",
1685
+ "description": "Tab buttons present a `c-tabs` tab list as a segmented control instead of the underlined tab row. Author it only inside `<c-tabs>`, with plain `<c-button>` children whose `value`s match the `c-tab-item` panels; `c-tabs` owns the active value and pushes it down.\n---\n\n\n### **Events:**\n - **tabChange** - Fired when the user activates a tab button, carrying the newly selected\nvalue. The parent `<c-tabs>` listens for it and pushes the accepted value\nback down; consumers should listen to `c-tabs` instead. Also dispatched as `tab-change` — bind that name in Vue templates.\n\n### **Slots:**\n - **default** - Default slot for the c-button elements\n\n### **CSS Parts:**\n - **root** - The segmented-control box framing the buttons\n- **indicator** - The sliding fill highlighting the active tab\n- **scroll-back** - The edge arrow that scrolls an overflowing strip back\n- **scroll-forward** - The edge arrow that scrolls an overflowing strip forward",
1550
1686
  "attributes": [
1551
1687
  {
1552
1688
  "name": "disabled",
@@ -1590,7 +1726,7 @@
1590
1726
  },
1591
1727
  {
1592
1728
  "name": "c-table",
1593
- "description": "\n---\n",
1729
+ "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
1730
  "attributes": [
1595
1731
  {
1596
1732
  "name": "mobile-breakpoint",
@@ -1658,6 +1794,11 @@
1658
1794
  "description": "Mark tag as closeable",
1659
1795
  "values": []
1660
1796
  },
1797
+ {
1798
+ "name": "close-label",
1799
+ "description": "Accessible name of the close button rendered when `closeable`",
1800
+ "values": []
1801
+ },
1661
1802
  {
1662
1803
  "name": "flat",
1663
1804
  "description": "Remove the hover effect",
@@ -1774,6 +1915,11 @@
1774
1915
  "description": "Shadow variant of the input",
1775
1916
  "values": []
1776
1917
  },
1918
+ {
1919
+ "name": "size",
1920
+ "description": "Field height: the 44px default or the 36px `small` box (single-line fields)",
1921
+ "values": [{ "name": "default" }, { "name": "small" }]
1922
+ },
1777
1923
  {
1778
1924
  "name": "step",
1779
1925
  "description": "Step size on a numeric input",
@@ -1809,7 +1955,7 @@
1809
1955
  },
1810
1956
  {
1811
1957
  "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",
1958
+ "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
1959
  "attributes": [
1814
1960
  {
1815
1961
  "name": "message",
@@ -1847,8 +1993,145 @@
1847
1993
  },
1848
1994
  {
1849
1995
  "name": "c-toolbar",
1850
- "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
- "attributes": [],
1996
+ "description": "The app-wide bar at the top of the dashboard layout: the logo, the service name and global actions such as the user menu or log out. It is pinned to the top of the viewport by default and stays there while the page scrolls; `static` keeps it in the page flow so it scrolls away with the content.\n---\n\n\n### **Slots:**\n - **default** - Content of toolbar\n\n### **CSS Parts:**\n - **root** - The toolbar bar itself: pinned to the top of its scroll container by default, in flow when `static`",
1997
+ "attributes": [
1998
+ {
1999
+ "name": "static",
2000
+ "description": "Keep the toolbar in the page flow so it scrolls away with the content\ninstead of staying pinned to the top of its scroll container",
2001
+ "values": []
2002
+ }
2003
+ ],
2004
+ "references": []
2005
+ },
2006
+ {
2007
+ "name": "c-tooltip",
2008
+ "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",
2009
+ "attributes": [
2010
+ {
2011
+ "name": "delay",
2012
+ "description": "Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\nshows the tooltip immediately, regardless of this value. Defaults to\n`400`.",
2013
+ "values": []
2014
+ },
2015
+ {
2016
+ "name": "distance",
2017
+ "description": "Distance from the trigger to the tooltip, in pixels. Defaults to `4`.",
2018
+ "values": []
2019
+ },
2020
+ {
2021
+ "name": "open",
2022
+ "description": "Whether the tooltip is open. Two-way: emits `change:open`.",
2023
+ "values": []
2024
+ },
2025
+ {
2026
+ "name": "position",
2027
+ "description": "Preferred placement of the tooltip relative to the trigger.",
2028
+ "values": [
2029
+ { "name": "bottom-end" },
2030
+ { "name": "bottom-start" },
2031
+ { "name": "bottom" },
2032
+ { "name": "left-end" },
2033
+ { "name": "left-start" },
2034
+ { "name": "left" },
2035
+ { "name": "right-end" },
2036
+ { "name": "right-start" },
2037
+ { "name": "right" },
2038
+ { "name": "top-end" },
2039
+ { "name": "top-start" },
2040
+ { "name": "top" }
2041
+ ]
2042
+ },
2043
+ {
2044
+ "name": "text",
2045
+ "description": "The tooltip text. Overridden by the `content` slot when that is\npopulated.",
2046
+ "values": []
2047
+ },
2048
+ {
2049
+ "name": "trigger",
2050
+ "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.",
2051
+ "values": [{ "name": "HTMLElement" }]
2052
+ }
2053
+ ],
2054
+ "references": []
2055
+ },
2056
+ {
2057
+ "name": "c-tree-select",
2058
+ "description": "A hierarchical value-selection component: a readonly value field that opens a panel for browsing a tree one level at a time, or searching it as a whole, to commit one item.\n---\n\n\n### **Events:**\n - **change** - Fired when the selection changes — an item is committed or the selection\nis cleared — carrying the new value: the item's value, the\n`CTreeSelectSelection` with `return-object`, or `null` when cleared.\n- **change:query** - Fired whenever the query changes — on every keystroke in the search\ninput, and with an empty string when the panel opens. Carries the query\nstring.\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 `change` with the same detail — the `v-model` contract.\n\n### **CSS Parts:**\n - **panel** - The top-layer popover container anchored below the field\n- **card** - The elevated surface inside the panel holding the search row, the breadcrumb, the header and the list\n- **heading-row** - The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button\n- **heading** - The field label naming the fullscreen panel\n- **close** - The close button of the fullscreen panel\n- **search** - The search-input row at the top of the panel\n- **breadcrumb** - The breadcrumb navigation naming the browsed level's path\n- **crumb** - One crumb in the breadcrumb: the root crumb, an ancestor, or the collapsed \"…\" crumb\n- **header** - The header line under the breadcrumb: the level to choose and its step counter, or the match count and the \"Browse instead\" control\n- **list** - The scrollable listbox: the level list while browsing, the results while searching\n- **item** - One item row in the list\n- **select-branch** - The pinned select-branch row at the top of a level list inside a branch (`allow-branch`)\n- **code** - An item's code column, in a row and in the closed field\n- **path** - The ancestor path line under a search result's label\n- **match** - A run of an item's code, label or path equal to the query, in a row; underlined in the primary colour, text inherits the row\n- **info** - The no-results row shown when nothing is listed",
2059
+ "attributes": [
2060
+ {
2061
+ "name": "allow-branch",
2062
+ "description": "Let a branch be committed as the value: a pinned select-branch row heads\nevery level below the root, and matching branches are listed as search\nresults",
2063
+ "values": []
2064
+ },
2065
+ {
2066
+ "name": "clearable",
2067
+ "description": "Make the selected value clearable",
2068
+ "values": []
2069
+ },
2070
+ {
2071
+ "name": "disabled",
2072
+ "description": "Disable the field",
2073
+ "values": []
2074
+ },
2075
+ {
2076
+ "name": "error-message",
2077
+ "description": "Error message shown in place of the hint while the field is invalid",
2078
+ "values": []
2079
+ },
2080
+ {
2081
+ "name": "hide-details",
2082
+ "description": "Hide the hint and error messages",
2083
+ "values": []
2084
+ },
2085
+ {
2086
+ "name": "hint",
2087
+ "description": "Hint text for the field",
2088
+ "values": []
2089
+ },
2090
+ { "name": "host-id", "description": "Id of the element", "values": [] },
2091
+ {
2092
+ "name": "items-per-page",
2093
+ "description": "Items per page before the list scrolls",
2094
+ "values": []
2095
+ },
2096
+ { "name": "label", "description": "Element label", "values": [] },
2097
+ {
2098
+ "name": "label-on-top",
2099
+ "description": "Label on top of the field",
2100
+ "values": []
2101
+ },
2102
+ { "name": "name", "description": "Input field name", "values": [] },
2103
+ {
2104
+ "name": "placeholder",
2105
+ "description": "Placeholder for the search input inside the panel",
2106
+ "values": []
2107
+ },
2108
+ {
2109
+ "name": "required",
2110
+ "description": "Set the field as required",
2111
+ "values": []
2112
+ },
2113
+ {
2114
+ "name": "return-object",
2115
+ "description": "Emit the committed item with its path as a `CTreeSelectSelection` instead\nof its value",
2116
+ "values": []
2117
+ },
2118
+ { "name": "shadow", "description": "Shadow variant", "values": [] },
2119
+ {
2120
+ "name": "size",
2121
+ "description": "Field height: the 44px default or the 36px `small` box",
2122
+ "values": [{ "name": "default" }, { "name": "small" }]
2123
+ },
2124
+ {
2125
+ "name": "valid",
2126
+ "description": "Set the validity of the field",
2127
+ "values": []
2128
+ },
2129
+ {
2130
+ "name": "value",
2131
+ "description": "Selected value: the committed item's value, or the `CTreeSelectSelection`\nwith `return-object`; `null` when nothing is selected",
2132
+ "values": [{ "name": "CTreeSelectValue" }]
2133
+ }
2134
+ ],
1852
2135
  "references": []
1853
2136
  }
1854
2137
  ]