@cscfi/csc-ui 4.0.0-alpha.3 → 4.0.0-alpha.31

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 (115) hide show
  1. package/dist/csc-ui.js +14305 -8019
  2. package/dist/custom-elements.json +8952 -4605
  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-breadcrumb/usage.md +104 -0
  6. package/dist/docs/c-breadcrumb-item/usage.md +1 -0
  7. package/dist/docs/c-button-group/usage.md +14 -1
  8. package/dist/docs/c-checkbox/usage.md +53 -0
  9. package/dist/docs/c-date-picker/usage.md +224 -0
  10. package/dist/docs/c-main/usage.md +21 -1
  11. package/dist/docs/c-menu/usage.md +15 -0
  12. package/dist/docs/c-menu-item/usage.md +6 -0
  13. package/dist/docs/c-number-field/usage.md +112 -0
  14. package/dist/docs/c-option-value/usage.md +1 -0
  15. package/dist/docs/c-popover/usage.md +33 -0
  16. package/dist/docs/c-progress-bar/usage.md +23 -0
  17. package/dist/docs/c-progress-circle/usage.md +25 -0
  18. package/dist/docs/c-radio/usage.md +45 -0
  19. package/dist/docs/c-radio-group/usage.md +67 -0
  20. package/dist/docs/c-select/usage.md +127 -0
  21. package/dist/docs/c-side-navigation/usage.md +21 -0
  22. package/dist/docs/c-spinner/usage.md +21 -0
  23. package/dist/docs/c-switch/usage.md +36 -0
  24. package/dist/docs/c-tab-buttons/usage.md +7 -0
  25. package/dist/docs/c-table/usage.md +14 -0
  26. package/dist/docs/c-text-field/usage.md +106 -0
  27. package/dist/docs/c-time-picker/usage.md +170 -0
  28. package/dist/docs/c-toolbar/usage.md +17 -0
  29. package/dist/docs/c-tooltip/usage.md +30 -0
  30. package/dist/docs/c-tree-select/usage.md +156 -0
  31. package/dist/floating-ui.dom-DvzxEaDJ.js +1292 -0
  32. package/dist/styles/css/tailwind-theme.css +33 -0
  33. package/dist/styles/css/tokens.css +719 -197
  34. package/dist/vscode.css-custom-data.json +474 -20
  35. package/dist/vscode.html-custom-data.json +659 -57
  36. package/dist/web-types.json +2813 -697
  37. package/dist-types/components/c-alert/CAlert.vue.d.ts +18 -4
  38. package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +118 -21
  39. package/dist-types/components/c-breadcrumb/CBreadcrumb.vue.d.ts +35 -0
  40. package/dist-types/components/c-breadcrumb/fit.d.ts +29 -0
  41. package/dist-types/components/c-breadcrumb-item/CBreadcrumbItem.vue.d.ts +31 -0
  42. package/dist-types/components/c-button/CButton.vue.d.ts +4 -4
  43. package/dist-types/components/c-button-group/CButtonGroup.vue.d.ts +1 -1
  44. package/dist-types/components/c-checkbox/CCheckbox.vue.d.ts +3 -3
  45. package/dist-types/components/c-data-table/CDataTable.vue.d.ts +6 -2
  46. package/dist-types/components/c-date-picker/CDatePicker.vue.d.ts +282 -0
  47. package/dist-types/components/c-date-picker/dates.d.ts +119 -0
  48. package/dist-types/components/c-dropdown/CDropdown.vue.d.ts +50 -7
  49. package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +1 -1
  50. package/dist-types/components/c-input/CInput.vue.d.ts +6 -6
  51. package/dist-types/components/c-list-item/CListItem.vue.d.ts +1 -1
  52. package/dist-types/components/c-main/CMain.vue.d.ts +10 -2
  53. package/dist-types/components/c-menu/CMenu.vue.d.ts +13 -3
  54. package/dist-types/components/c-menu-item/CMenuItem.vue.d.ts +30 -3
  55. package/dist-types/components/c-number-field/CNumberField.vue.d.ts +174 -0
  56. package/dist-types/components/c-number-field/numbers.d.ts +58 -0
  57. package/dist-types/components/c-otp-input/COtpInput.vue.d.ts +1 -1
  58. package/dist-types/components/c-pagination/CPagination.vue.d.ts +1 -1
  59. package/dist-types/components/c-popover/CPopover.vue.d.ts +43 -0
  60. package/dist-types/components/c-progress-circle/CProgressCircle.vue.d.ts +32 -0
  61. package/dist-types/components/c-radio/CRadio.vue.d.ts +7 -11
  62. package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +10 -48
  63. package/dist-types/components/c-select/CSelect.vue.d.ts +115 -27
  64. package/dist-types/components/c-side-navigation/CSideNavigation.vue.d.ts +1 -1
  65. package/dist-types/components/c-side-navigation-item/CSideNavigationItem.vue.d.ts +1 -1
  66. package/dist-types/components/c-slider/CSlider.vue.d.ts +3 -3
  67. package/dist-types/components/c-sub-navigation-item/CSubNavigationItem.vue.d.ts +1 -1
  68. package/dist-types/components/c-tab-buttons/CTabButtons.vue.d.ts +1 -1
  69. package/dist-types/components/c-table/CTable.vue.d.ts +11 -1
  70. package/dist-types/components/c-table/injectTableStyles.d.ts +1 -0
  71. package/dist-types/components/c-tag/CTag.vue.d.ts +7 -0
  72. package/dist-types/components/c-tags/CTags.vue.d.ts +1 -1
  73. package/dist-types/components/c-text-field/CTextField.vue.d.ts +27 -10
  74. package/dist-types/components/c-time-picker/CTimePicker.vue.d.ts +210 -0
  75. package/dist-types/components/c-time-picker/times.d.ts +82 -0
  76. package/dist-types/components/c-toasts/CToasts.vue.d.ts +1 -1
  77. package/dist-types/components/c-toolbar/CToolbar.vue.d.ts +10 -1
  78. package/dist-types/components/c-tooltip/CTooltip.vue.d.ts +49 -0
  79. package/dist-types/components/c-tree-select/CTreeSelect.vue.d.ts +261 -0
  80. package/dist-types/index.d.ts +19 -2
  81. package/dist-types/shared/FieldMessage.vue.d.ts +21 -0
  82. package/dist-types/shared/PanelHeadingRow.vue.d.ts +13 -0
  83. package/dist-types/shared/SelectionIndicator.vue.d.ts +21 -0
  84. package/dist-types/shared/TypedField.vue.d.ts +46 -0
  85. package/dist-types/shared/appDefaults.d.ts +75 -0
  86. package/dist-types/shared/defineElement.d.ts +1 -0
  87. package/dist-types/shared/inputMask.d.ts +106 -0
  88. package/dist-types/shared/lightDismiss.d.ts +35 -0
  89. package/dist-types/shared/modalStack.d.ts +4 -3
  90. package/dist-types/shared/optionLabel.d.ts +18 -0
  91. package/dist-types/shared/pageLock.d.ts +26 -0
  92. package/dist-types/shared/peekCap.d.ts +35 -0
  93. package/dist-types/shared/popoverChain.d.ts +65 -0
  94. package/dist-types/shared/positionArea.d.ts +13 -0
  95. package/dist-types/shared/reducedMotion.d.ts +10 -0
  96. package/dist-types/shared/selectAll.d.ts +29 -0
  97. package/dist-types/shared/splitMatches.d.ts +18 -0
  98. package/dist-types/shared/useAnchoredPanel.d.ts +102 -0
  99. package/dist-types/shared/useDesignatedTrigger.d.ts +41 -0
  100. package/dist-types/shared/useFallbackPosition.d.ts +63 -0
  101. package/dist-types/shared/useHostStates.d.ts +25 -0
  102. package/dist-types/shared/useKeyboardModality.d.ts +7 -0
  103. package/dist-types/shared/useNarrowViewport.d.ts +19 -0
  104. package/dist-types/shared/useScrollStrip.d.ts +39 -0
  105. package/dist-types/shared/useStatusAnnouncer.d.ts +33 -0
  106. package/dist-types/shared/useTypedField.d.ts +103 -0
  107. package/dist-types/shared/visualViewport.d.ts +51 -0
  108. package/dist-types/tag-name-map.d.ts +769 -54
  109. package/dist-types/theme/chart-data.d.ts +51 -0
  110. package/dist-types/theme/ramp.d.ts +38 -0
  111. package/dist-types/theme/themeMode.d.ts +51 -0
  112. package/dist-types/types.d.ts +7 -0
  113. package/package.json +21 -9
  114. package/dist/css-anchor-positioning-fn-RTxo68pt.js +0 -6447
  115. package/dist-types/shared/anchorPolyfill.d.ts +0 -24
@@ -26,7 +26,7 @@
26
26
  },
27
27
  {
28
28
  "name": "c-accordion-item",
29
- "description": "\n---\n\n\n### **Events:**\n - **item-change** - Fired when the header is toggled, carrying the requested expansion state\nand the item's `value`; bubbles so the parent `<c-accordion>` can update\nits model.\n\n### **Slots:**\n - **header** - Custom header slot\n- **icon** - Icon shown in the header before the heading\n- **default** - Default slot\n\n### **CSS Parts:**\n - **root** - The outer wrapper of the item, carries the rounding and the outline when outlined\n- **header** - The toggle button row containing the icon, heading and indicator\n- **indicator** - The rotating chevron at the end of the header\n- **content** - The padded wrapper around the slotted content inside the collapsing region",
29
+ "description": "\n---\n\n\n### **Events:**\n - **item-change** - Fired when the header is toggled, carrying the requested expansion state\nand the item's `value`; bubbles so the parent `<c-accordion>` can update\nits model.\n\n### **Slots:**\n - **header** - Custom header slot\n- **icon** - Icon shown in the header before the heading\n- **default** - Default slot\n\n### **CSS Parts:**\n - **root** - The outer wrapper of the item: its share of the accordion frame, the lifted outline and wash when expanded, and a 2px outline on expanded items when outlined\n- **header** - The toggle button row containing the icon, heading and indicator\n- **indicator** - The rotating chevron at the end of the header\n- **content** - The padded card around the slotted content inside the collapsing region",
30
30
  "attributes": [
31
31
  {
32
32
  "name": "collapsable",
@@ -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,21 +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": [] },
150
170
  {
151
171
  "name": "size",
152
- "description": "Field height: the 44px default or the 36px `small` box",
172
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
153
173
  "values": [{ "name": "default" }, { "name": "small" }]
154
174
  },
155
175
  {
156
176
  "name": "valid",
157
177
  "description": "Set the validity of the input",
158
178
  "values": []
159
- },
160
- {
161
- "name": "value",
162
- "description": "Selected value (scalar, or object when return-object is set)",
163
- "values": [{ "name": "CAutocompleteItem" }]
164
179
  }
165
180
  ],
166
181
  "references": []
@@ -171,6 +186,29 @@
171
186
  "attributes": [],
172
187
  "references": []
173
188
  },
189
+ {
190
+ "name": "c-breadcrumb",
191
+ "description": "A navigation aid naming where the current page sits in a site's hierarchy: one line of crumbs from the top of the hierarchy down to the current page, the middle ones folding behind a \"…\" button when the line runs out of room.\n---\n\n\n### **Slots:**\n - **default** - The crumbs (`c-breadcrumb-item`), from the top of the hierarchy down to the current page\n- **first** - Assigned by the breadcrumb to its first crumb; never set `slot` on a crumb\n- **folded** - Assigned by the breadcrumb to the crumbs it folds into the fold panel; never set `slot` on a crumb\n\n### **CSS Parts:**\n - **root** - The `<nav>` landmark; it takes the full width it is given and folds the crumbs to fit it\n- **list** - The one-line list of crumbs\n- **separator** - The chevron before the fold button\n- **fold-button** - The \"…\" button standing in for the folded crumbs\n- **panel** - The top-layer popover holding the fold panel, anchored below the fold button\n- **panel-list** - The fold panel's list surface holding the folded crumbs",
192
+ "attributes": [],
193
+ "references": []
194
+ },
195
+ {
196
+ "name": "c-breadcrumb-item",
197
+ "description": "One crumb in a `c-breadcrumb`: a link to a level of the hierarchy, or, as the last crumb, the current page.\n---\n\n\n### **Slots:**\n - **default** - The crumb's label\n- **icon** - An icon shown before the label (e.g. a `c-icon`); give an icon-only crumb an `aria-label`\n\n### **CSS Parts:**\n - **root** - The list item holding the separator and the crumb; in the fold panel, the row\n- **separator** - The chevron before every crumb but the first, hidden in the fold panel\n- **content** - The link (or, without `href` and on the current crumb, the text) holding the icon and label\n- **label** - The label text, truncated with an ellipsis when the breadcrumb runs out of room",
198
+ "attributes": [
199
+ {
200
+ "name": "href",
201
+ "description": "URL of the page the crumb leads to. Ignored on the current crumb (the\nlast one); a crumb without it names a level that has no page and renders\nas plain text",
202
+ "values": []
203
+ },
204
+ {
205
+ "name": "target",
206
+ "description": "Browsing context the link opens in; the same tab when unset",
207
+ "values": []
208
+ }
209
+ ],
210
+ "references": []
211
+ },
174
212
  {
175
213
  "name": "c-button",
176
214
  "description": "Buttons trigger actions — submitting a form, opening a modal, confirming a choice. Use one primary (default appearance) button per view; secondary actions use the `outlined`, `ghost` or `text` appearances.\n---\n\n\n### **Slots:**\n - **default** - Button label content.\n- **icon** - Leading icon, vertically centered before the label.\n- **description** - Secondary text rendered below the label.\n\n### **CSS Properties:**\n - **--c-font-family** - Font stack applied to the label (native buttons do not inherit it). _(default: undefined)_\n\n### **CSS Parts:**\n - **root** - The native `<button>` / `<a>` element carrying the visual styling.\n- **content** - Layout wrapper for the label, icon and description.\n- **description** - Wrapper of the `description` slot.",
@@ -261,7 +299,7 @@
261
299
  },
262
300
  {
263
301
  "name": "c-button-group",
264
- "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",
302
+ "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",
265
303
  "attributes": [
266
304
  {
267
305
  "name": "disabled",
@@ -298,7 +336,7 @@
298
336
  },
299
337
  {
300
338
  "name": "c-card",
301
- "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",
339
+ "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",
302
340
  "attributes": [
303
341
  {
304
342
  "name": "fullscreen",
@@ -344,13 +382,13 @@
344
382
  },
345
383
  {
346
384
  "name": "c-card-title",
347
- "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",
385
+ "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",
348
386
  "attributes": [],
349
387
  "references": []
350
388
  },
351
389
  {
352
390
  "name": "c-checkbox",
353
- "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 area below the checkbox (always reserved unless `hide-details`)",
391
+ "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`)",
354
392
  "attributes": [
355
393
  {
356
394
  "name": "checked",
@@ -488,6 +526,120 @@
488
526
  ],
489
527
  "references": []
490
528
  },
529
+ {
530
+ "name": "c-date-picker",
531
+ "description": "A date field that takes a typed date, or opens a calendar panel for picking one, or a start and end date under `range`.\n---\n\n\n### **Events:**\n - **change** - Fired when the value changes — a day or range is picked, typed text is\ncommitted, or the field is cleared — carrying the new value: an ISO\ndate, `{ start, end }` under `range`, or `null`.\n- **change:month** - Fired with the displayed month as `YYYY-MM` whenever it changes, and\nwhen the panel opens — the signal to load that month's `disabled-dates`.\n- **change:text** - Fired on every commit of typed text (Enter or leaving the input) with the\ntext as typed — `{ start, end }` under `range`. Read `badInput` to tell\nwhether it named a date that can be picked.\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 - **input** - The text input; under `range` both the start and the end input\n- **separator** - The dash between the start and end inputs under `range`\n- **panel** - The top-layer popover container anchored below the field\n- **card** - The dialog surface inside the panel holding the header and the calendar body\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- **header** - The row of month and year controls above the calendar body\n- **previous-month** - The arrow to the previous month\n- **next-month** - The arrow to the next month\n- **month-button** - The button showing the displayed month that opens the month list\n- **previous-year** - The arrow to the same month a year earlier\n- **next-year** - The arrow to the same month a year later\n- **year-button** - The button showing the displayed year that opens the year list\n- **grid** - The day grid of the displayed month\n- **weekday** - A weekday column head in the grid\n- **week-number** - An ISO week number beside a grid row (`show-week-numbers`)\n- **cell** - One day's cell in the grid\n- **day** - The circle showing a day's number inside its cell\n- **range-band** - The strip joining a range's days behind their circles\n- **list** - The month or year list swapped in for the grid\n- **option** - One month or year in the list\n- **step-label** - The label above the current list under `type=\"month\"`: month or year, and under `range` start or end\n- **step-summary** - A finished step under `type=\"month\"`, its label and pick; pressing it returns to that step\n- **actions** - The row under the calendar body holding the Today button (`show-today`) and, in the fullscreen panel, the Done button\n- **today** - The Today button: picks today, or the current month under `type=\"month\"`\n- **done** - The Done button of the fullscreen panel (narrow viewports): commits what the panel holds and closes",
532
+ "attributes": [
533
+ {
534
+ "name": "clearable",
535
+ "description": "Make the value clearable",
536
+ "values": []
537
+ },
538
+ {
539
+ "name": "disabled",
540
+ "description": "Disable the field",
541
+ "values": []
542
+ },
543
+ {
544
+ "name": "error-message",
545
+ "description": "Error message shown in place of the hint while the field is invalid",
546
+ "values": []
547
+ },
548
+ {
549
+ "name": "first-day-of-week",
550
+ "description": "First day of the week in the calendar, numbered like `Date.getDay()`:\n0 = Sunday, 1 = Monday … 6 = Saturday",
551
+ "values": [
552
+ { "name": "0" },
553
+ { "name": "1" },
554
+ { "name": "2" },
555
+ { "name": "3" },
556
+ { "name": "4" },
557
+ { "name": "5" },
558
+ { "name": "6" }
559
+ ]
560
+ },
561
+ {
562
+ "name": "format",
563
+ "description": "How dates are shown and read from typing: a pattern of the tokens `d`,\n`dd`, `M`, `MM` and `yyyy` with any separators, e.g. `yyyy-MM-dd`",
564
+ "values": []
565
+ },
566
+ {
567
+ "name": "hide-details",
568
+ "description": "Hide the hint and error messages",
569
+ "values": []
570
+ },
571
+ {
572
+ "name": "hint",
573
+ "description": "Hint text for the field",
574
+ "values": []
575
+ },
576
+ { "name": "host-id", "description": "Id of the element", "values": [] },
577
+ { "name": "label", "description": "Element label", "values": [] },
578
+ {
579
+ "name": "label-on-top",
580
+ "description": "Label on top of the field",
581
+ "values": []
582
+ },
583
+ {
584
+ "name": "max",
585
+ "description": "The latest date that can be picked or typed, as an ISO date; also bounds\nthe calendar's navigation",
586
+ "values": []
587
+ },
588
+ {
589
+ "name": "min",
590
+ "description": "The earliest date that can be picked or typed, as an ISO date; also\nbounds the calendar's navigation",
591
+ "values": []
592
+ },
593
+ { "name": "name", "description": "Input field name", "values": [] },
594
+ {
595
+ "name": "placeholder",
596
+ "description": "Placeholder of the input; the `format` pattern when empty",
597
+ "values": []
598
+ },
599
+ {
600
+ "name": "range",
601
+ "description": "Pick a range: the value becomes `{ start, end }` and the field holds two\ninputs",
602
+ "values": []
603
+ },
604
+ {
605
+ "name": "required",
606
+ "description": "Set the field as required",
607
+ "values": []
608
+ },
609
+ { "name": "shadow", "description": "Shadow variant", "values": [] },
610
+ {
611
+ "name": "show-today",
612
+ "description": "Show a Today button under the calendar that picks today (\"This month\"\nunder `type=\"month\"`)",
613
+ "values": []
614
+ },
615
+ {
616
+ "name": "show-week-numbers",
617
+ "description": "Show ISO 8601 week numbers beside the calendar rows (meaningful with a\nMonday week start)",
618
+ "values": []
619
+ },
620
+ {
621
+ "name": "size",
622
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
623
+ "values": [{ "name": "default" }, { "name": "small" }]
624
+ },
625
+ {
626
+ "name": "type",
627
+ "description": "What the field picks: a calendar date, or a year and a month\n(`'YYYY-MM'`)",
628
+ "values": [{ "name": "date" }, { "name": "month" }]
629
+ },
630
+ {
631
+ "name": "valid",
632
+ "description": "Set the validity of the field",
633
+ "values": []
634
+ },
635
+ {
636
+ "name": "value",
637
+ "description": "The date as an ISO `YYYY-MM-DD` string (an ISO `YYYY-MM` month under\n`type=\"month\"`), or `{ start, end }` under `range`; `null` when empty",
638
+ "values": [{ "name": "CDatePickerValue" }]
639
+ }
640
+ ],
641
+ "references": []
642
+ },
491
643
  {
492
644
  "name": "c-divider",
493
645
  "description": "\n---\n\n\n### **CSS Parts:**\n - **root** - The separator line element itself",
@@ -502,8 +654,13 @@
502
654
  },
503
655
  {
504
656
  "name": "c-dropdown",
505
- "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",
657
+ "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`",
506
658
  "attributes": [
659
+ {
660
+ "name": "close-label",
661
+ "description": "Accessible label of the fullscreen panel's close button (narrow viewports)",
662
+ "values": []
663
+ },
507
664
  {
508
665
  "name": "dropdown-item-type",
509
666
  "description": "Whether items are <c-option> elements or plain objects",
@@ -516,7 +673,7 @@
516
673
  },
517
674
  {
518
675
  "name": "index",
519
- "description": "Current highlighted index",
676
+ "description": "Current highlighted index; `-1` (`SELECT_ALL_INDEX`) is the select-all row",
520
677
  "values": []
521
678
  },
522
679
  {
@@ -529,11 +686,26 @@
529
686
  "description": "Items per page before adding scroll",
530
687
  "values": []
531
688
  },
689
+ {
690
+ "name": "label",
691
+ "description": "The parent field's label, shown as the fullscreen panel's heading (narrow viewports)",
692
+ "values": []
693
+ },
694
+ {
695
+ "name": "multiple",
696
+ "description": "Multi-select mode: rows toggle instead of committing, each carries a\ndecorative checkbox indicator, and the listbox is `aria-multiselectable`",
697
+ "values": []
698
+ },
532
699
  {
533
700
  "name": "parent",
534
701
  "description": "Dropdown parent (the c-select / c-autocomplete host element)",
535
702
  "values": [{ "name": "HTMLElement" }]
536
703
  },
704
+ {
705
+ "name": "select-all-row",
706
+ "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",
707
+ "values": [{ "name": "CDropdownSelectAllRow" }]
708
+ },
537
709
  {
538
710
  "name": "type",
539
711
  "description": "Parent type — drives autocomplete-only behaviour (highlight, messages)",
@@ -679,7 +851,7 @@
679
851
  },
680
852
  {
681
853
  "name": "size",
682
- "description": "Field height: the 44px default or the 36px `small` box",
854
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
683
855
  "values": [{ "name": "default" }, { "name": "small" }]
684
856
  },
685
857
  {
@@ -902,7 +1074,7 @@
902
1074
  },
903
1075
  {
904
1076
  "name": "c-main",
905
- "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",
1077
+ "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 shell box: it paints the page canvas and is at least a viewport tall; the dashboard grid is laid out inside it",
906
1078
  "attributes": [
907
1079
  {
908
1080
  "name": "disable-layout",
@@ -914,7 +1086,7 @@
914
1086
  },
915
1087
  {
916
1088
  "name": "c-menu",
917
- "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",
1089
+ "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",
918
1090
  "attributes": [
919
1091
  {
920
1092
  "name": "distance",
@@ -943,14 +1115,29 @@
943
1115
  { "name": "top-start" },
944
1116
  { "name": "top" }
945
1117
  ]
1118
+ },
1119
+ {
1120
+ "name": "trigger",
1121
+ "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.",
1122
+ "values": [{ "name": "HTMLElement" }]
946
1123
  }
947
1124
  ],
948
1125
  "references": []
949
1126
  },
950
1127
  {
951
1128
  "name": "c-menu-item",
952
- "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",
1129
+ "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",
953
1130
  "attributes": [
1131
+ {
1132
+ "name": "active",
1133
+ "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).",
1134
+ "values": []
1135
+ },
1136
+ {
1137
+ "name": "active-icon",
1138
+ "description": "SVG path for the trailing indicator shown while `active`; defaults to a\ncheck mark.",
1139
+ "values": []
1140
+ },
954
1141
  {
955
1142
  "name": "danger",
956
1143
  "description": "Marks the action as destructive (renders in the error colour).",
@@ -961,6 +1148,11 @@
961
1148
  "description": "Disables the item — it is skipped by keyboard nav and emits no select.",
962
1149
  "values": []
963
1150
  },
1151
+ {
1152
+ "name": "icon",
1153
+ "description": "SVG path for a leading icon rendered before the item's content.",
1154
+ "values": []
1155
+ },
964
1156
  {
965
1157
  "name": "value",
966
1158
  "description": "Value reported in the menu's `select` event when this item is chosen.",
@@ -1031,9 +1223,110 @@
1031
1223
  "attributes": [],
1032
1224
  "references": []
1033
1225
  },
1226
+ {
1227
+ "name": "c-number-field",
1228
+ "description": "A field for a number — an integer, or one with decimals — shown with thousands separators as it is typed.\n---\n\n\n### **Events:**\n - **change** - Fired whenever typing or a step changes the number, carrying it — `null`\nonce the field holds no digit. Not fired when only the text changes (a group\nseparator, a trailing decimal separator) or when `value` is set.\n- **input** - Native bubbling input event fired alongside every value change so a\nplain Vue `v-model` works. No detail.\n- **update:value** - v-model contract event, fired with `change`.\n\n### **Slots:**\n - **pre** - Content before the number, such as a currency sign\n- **post** - Content after the number, such as a unit; the step buttons follow it\n\n### **CSS Parts:**\n - **input** - The text input\n- **step-up** - The button that steps the number up\n- **step-down** - The button that steps the number down",
1229
+ "attributes": [
1230
+ {
1231
+ "name": "decimals",
1232
+ "description": "The most fraction digits the field takes; `0` makes it an integer field",
1233
+ "values": []
1234
+ },
1235
+ {
1236
+ "name": "decimal-separator",
1237
+ "description": "The decimal separator. Empty follows the page's `lang` (`,` for `fi`, `.` for `en`)",
1238
+ "values": []
1239
+ },
1240
+ {
1241
+ "name": "disabled",
1242
+ "description": "Disable the field",
1243
+ "values": []
1244
+ },
1245
+ {
1246
+ "name": "error-message",
1247
+ "description": "Error message shown in place of the hint while the field is invalid",
1248
+ "values": []
1249
+ },
1250
+ {
1251
+ "name": "fixed-decimals",
1252
+ "description": "Pad the fraction to exactly `decimals` digits when the field is left (`12,5` → `12,50`)",
1253
+ "values": []
1254
+ },
1255
+ {
1256
+ "name": "group-separator",
1257
+ "description": "The thousands separator. Empty follows the page's `lang` (a space for `fi`, `,` for `en`)",
1258
+ "values": []
1259
+ },
1260
+ {
1261
+ "name": "hide-details",
1262
+ "description": "Hide the hint and error messages",
1263
+ "values": []
1264
+ },
1265
+ {
1266
+ "name": "hint",
1267
+ "description": "Hint text for the field",
1268
+ "values": []
1269
+ },
1270
+ { "name": "host-id", "description": "Id of the input", "values": [] },
1271
+ { "name": "label", "description": "Label of the field", "values": [] },
1272
+ {
1273
+ "name": "label-on-top",
1274
+ "description": "Label on top of the field",
1275
+ "values": []
1276
+ },
1277
+ {
1278
+ "name": "max",
1279
+ "description": "The largest number in range; a larger one is kept and reported as out of range",
1280
+ "values": []
1281
+ },
1282
+ {
1283
+ "name": "min",
1284
+ "description": "The smallest number in range; a smaller one is kept and reported as out of range. At `0` or above, the minus key is ignored",
1285
+ "values": []
1286
+ },
1287
+ { "name": "name", "description": "Name of the input", "values": [] },
1288
+ {
1289
+ "name": "placeholder",
1290
+ "description": "Placeholder of the input",
1291
+ "values": []
1292
+ },
1293
+ { "name": "readonly", "description": "Mark as readonly", "values": [] },
1294
+ {
1295
+ "name": "required",
1296
+ "description": "Set the field as required",
1297
+ "values": []
1298
+ },
1299
+ {
1300
+ "name": "shadow",
1301
+ "description": "Shadow variant of the field",
1302
+ "values": []
1303
+ },
1304
+ {
1305
+ "name": "size",
1306
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
1307
+ "values": [{ "name": "default" }, { "name": "small" }]
1308
+ },
1309
+ {
1310
+ "name": "step",
1311
+ "description": "The spacing of the grid the step buttons and arrow keys move along, counted from `min` (or `0`)",
1312
+ "values": []
1313
+ },
1314
+ {
1315
+ "name": "valid",
1316
+ "description": "Set the validity of the field",
1317
+ "values": []
1318
+ },
1319
+ {
1320
+ "name": "value",
1321
+ "description": "The number, or `null` when the field is empty. A string is read as the number it spells, and `''` as empty — what an attribute, or a plain `v-model` holding `null`, writes; the field always emits a number or `null`",
1322
+ "values": []
1323
+ }
1324
+ ],
1325
+ "references": []
1326
+ },
1034
1327
  {
1035
1328
  "name": "c-option",
1036
- "description": "\n---\n\n\n### **Slots:**\n - **default** - The option's visible label content, shown in the c-select dropdown list",
1329
+ "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",
1037
1330
  "attributes": [
1038
1331
  {
1039
1332
  "name": "disabled",
@@ -1056,7 +1349,7 @@
1056
1349
  },
1057
1350
  {
1058
1351
  "name": "c-option-value",
1059
- "description": "\n---\n\n\n### **Slots:**\n - **default** - The displayed option text, targeted by c-dropdown when highlighting autocomplete matches",
1352
+ "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",
1060
1353
  "attributes": [],
1061
1354
  "references": []
1062
1355
  },
@@ -1111,7 +1404,7 @@
1111
1404
  },
1112
1405
  {
1113
1406
  "name": "c-page",
1114
- "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",
1407
+ "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",
1115
1408
  "attributes": [
1116
1409
  {
1117
1410
  "name": "scroll-indicator",
@@ -1148,9 +1441,54 @@
1148
1441
  ],
1149
1442
  "references": []
1150
1443
  },
1444
+ {
1445
+ "name": "c-popover",
1446
+ "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",
1447
+ "attributes": [
1448
+ {
1449
+ "name": "distance",
1450
+ "description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
1451
+ "values": []
1452
+ },
1453
+ {
1454
+ "name": "heading",
1455
+ "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`.",
1456
+ "values": []
1457
+ },
1458
+ {
1459
+ "name": "open",
1460
+ "description": "Whether the popover is open. Two-way: emits `change:open`.",
1461
+ "values": []
1462
+ },
1463
+ {
1464
+ "name": "position",
1465
+ "description": "Preferred placement of the panel relative to the trigger.",
1466
+ "values": [
1467
+ { "name": "bottom-end" },
1468
+ { "name": "bottom-start" },
1469
+ { "name": "bottom" },
1470
+ { "name": "left-end" },
1471
+ { "name": "left-start" },
1472
+ { "name": "left" },
1473
+ { "name": "right-end" },
1474
+ { "name": "right-start" },
1475
+ { "name": "right" },
1476
+ { "name": "top-end" },
1477
+ { "name": "top-start" },
1478
+ { "name": "top" }
1479
+ ]
1480
+ },
1481
+ {
1482
+ "name": "trigger",
1483
+ "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.",
1484
+ "values": [{ "name": "HTMLElement" }]
1485
+ }
1486
+ ],
1487
+ "references": []
1488
+ },
1151
1489
  {
1152
1490
  "name": "c-progress-bar",
1153
- "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",
1491
+ "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",
1154
1492
  "attributes": [
1155
1493
  {
1156
1494
  "name": "hide-details",
@@ -1181,14 +1519,31 @@
1181
1519
  "references": []
1182
1520
  },
1183
1521
  {
1184
- "name": "c-radio",
1185
- "description": "\n---\n\n\n### **Slots:**\n - **default** - The radio button's label text, read by the parent c-radio-group",
1522
+ "name": "c-progress-circle",
1523
+ "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",
1186
1524
  "attributes": [
1187
1525
  {
1188
- "name": "checked",
1189
- "description": "Set option as checked",
1526
+ "name": "size",
1527
+ "description": "Diameter of the circle in pixels",
1528
+ "values": []
1529
+ },
1530
+ {
1531
+ "name": "value",
1532
+ "description": "Progress value in percentage (0 to 100)",
1190
1533
  "values": []
1191
1534
  },
1535
+ {
1536
+ "name": "width",
1537
+ "description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
1538
+ "values": []
1539
+ }
1540
+ ],
1541
+ "references": []
1542
+ },
1543
+ {
1544
+ "name": "c-radio",
1545
+ "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",
1546
+ "attributes": [
1192
1547
  {
1193
1548
  "name": "disabled",
1194
1549
  "description": "Disable the radio button",
@@ -1200,7 +1555,7 @@
1200
1555
  },
1201
1556
  {
1202
1557
  "name": "c-radio-group",
1203
- "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",
1558
+ "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`)",
1204
1559
  "attributes": [
1205
1560
  {
1206
1561
  "name": "disabled",
@@ -1222,7 +1577,6 @@
1222
1577
  "description": "Hint text for the input",
1223
1578
  "values": []
1224
1579
  },
1225
- { "name": "host-id", "description": "Id of the element", "values": [] },
1226
1580
  {
1227
1581
  "name": "inline",
1228
1582
  "description": "Display radio buttons inline",
@@ -1234,11 +1588,6 @@
1234
1588
  "values": []
1235
1589
  },
1236
1590
  { "name": "required", "description": "Set as required", "values": [] },
1237
- {
1238
- "name": "return-object",
1239
- "description": "Return the whole item object",
1240
- "values": []
1241
- },
1242
1591
  {
1243
1592
  "name": "valid",
1244
1593
  "description": "Set the validity of the input",
@@ -1246,15 +1595,15 @@
1246
1595
  },
1247
1596
  {
1248
1597
  "name": "value",
1249
- "description": "Value of the radio group",
1250
- "values": [{ "name": "RadioItem" }]
1598
+ "description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
1599
+ "values": []
1251
1600
  }
1252
1601
  ],
1253
1602
  "references": []
1254
1603
  },
1255
1604
  {
1256
1605
  "name": "c-select",
1257
- "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",
1606
+ "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",
1258
1607
  "attributes": [
1259
1608
  {
1260
1609
  "name": "clearable",
@@ -1298,6 +1647,16 @@
1298
1647
  "description": "Show loading state",
1299
1648
  "values": []
1300
1649
  },
1650
+ {
1651
+ "name": "max-tags",
1652
+ "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",
1653
+ "values": []
1654
+ },
1655
+ {
1656
+ "name": "multiple",
1657
+ "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",
1658
+ "values": []
1659
+ },
1301
1660
  { "name": "name", "description": "Input field name", "values": [] },
1302
1661
  {
1303
1662
  "name": "option-as-selection",
@@ -1319,28 +1678,28 @@
1319
1678
  "description": "Return object instead of value",
1320
1679
  "values": []
1321
1680
  },
1681
+ {
1682
+ "name": "select-all",
1683
+ "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",
1684
+ "values": []
1685
+ },
1322
1686
  { "name": "shadow", "description": "Shadow variant", "values": [] },
1323
1687
  {
1324
1688
  "name": "size",
1325
- "description": "Field height: the 44px default or the 36px `small` box",
1689
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
1326
1690
  "values": [{ "name": "default" }, { "name": "small" }]
1327
1691
  },
1328
1692
  {
1329
1693
  "name": "valid",
1330
1694
  "description": "Set the validity of the input",
1331
1695
  "values": []
1332
- },
1333
- {
1334
- "name": "value",
1335
- "description": "Selected value (scalar, or object when return-object is set)",
1336
- "values": [{ "name": "CSelectItem" }]
1337
1696
  }
1338
1697
  ],
1339
1698
  "references": []
1340
1699
  },
1341
1700
  {
1342
1701
  "name": "c-side-navigation",
1343
- "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",
1702
+ "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",
1344
1703
  "attributes": [
1345
1704
  {
1346
1705
  "name": "menu-visible",
@@ -1416,7 +1775,7 @@
1416
1775
  },
1417
1776
  {
1418
1777
  "name": "c-spinner",
1419
- "description": "\n---\n\n\n### **CSS Parts:**\n - **root** - The `<svg>` element that draws the spinning circle",
1778
+ "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",
1420
1779
  "attributes": [
1421
1780
  {
1422
1781
  "name": "color",
@@ -1492,7 +1851,7 @@
1492
1851
  },
1493
1852
  {
1494
1853
  "name": "c-switch",
1495
- "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",
1854
+ "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",
1496
1855
  "attributes": [
1497
1856
  {
1498
1857
  "name": "checked",
@@ -1561,7 +1920,7 @@
1561
1920
  },
1562
1921
  {
1563
1922
  "name": "c-tab-buttons",
1564
- "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",
1923
+ "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",
1565
1924
  "attributes": [
1566
1925
  {
1567
1926
  "name": "disabled",
@@ -1605,7 +1964,7 @@
1605
1964
  },
1606
1965
  {
1607
1966
  "name": "c-table",
1608
- "description": "\n---\n",
1967
+ "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",
1609
1968
  "attributes": [
1610
1969
  {
1611
1970
  "name": "mobile-breakpoint",
@@ -1622,7 +1981,7 @@
1622
1981
  },
1623
1982
  {
1624
1983
  "name": "c-tabs",
1625
- "description": "\n---\n\n\n### **Events:**\n - **changeValue** - Fired when the user activates a tab (click, or Enter/Space on a focused\ntab), carrying the newly selected tab value. Legacy value-change event. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event dispatched for plain `v-model` support; carries no detail.\n- **update:value** - Fired alongside `changeValue` with the newly selected tab value; fulfills\nthe `v-model`/`v-control` contract.\n\n### **Slots:**\n - **default** - Default slot\n- **items** - The c-tab-items container holding the tab content panels\n\n### **CSS Parts:**\n - **container** - The header row wrapping the tab list and the overflow scroll buttons\n- **tabs** - The clipping viewport the tab list scrolls inside\n- **content** - Wrapper around the slotted tab content panels",
1984
+ "description": "\n---\n\n\n### **Events:**\n - **changeValue** - Fired when the user activates a tab (click, or Enter/Space on a focused\ntab), carrying the newly selected tab value. Legacy value-change event. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event dispatched for plain `v-model` support; carries no detail.\n- **update:value** - Fired alongside `changeValue` with the newly selected tab value; fulfills\nthe `v-model`/`v-control` contract.\n\n### **Slots:**\n - **default** - Default slot\n- **items** - The c-tab-items container holding the tab content panels\n\n### **CSS Parts:**\n - **container** - The header row wrapping the tab list and the overflow scroll buttons\n- **tabs** - The clipping viewport the tab list scrolls inside, with a margin so a tab's focus ring and a slotted corner badge still paint\n- **content** - Wrapper around the slotted tab content panels",
1626
1985
  "attributes": [
1627
1986
  {
1628
1987
  "name": "borderless",
@@ -1673,6 +2032,11 @@
1673
2032
  "description": "Mark tag as closeable",
1674
2033
  "values": []
1675
2034
  },
2035
+ {
2036
+ "name": "close-label",
2037
+ "description": "Accessible name of the close button rendered when `closeable`",
2038
+ "values": []
2039
+ },
1676
2040
  {
1677
2041
  "name": "flat",
1678
2042
  "description": "Remove the hover effect",
@@ -1710,7 +2074,7 @@
1710
2074
  },
1711
2075
  {
1712
2076
  "name": "c-text-field",
1713
- "description": "\n---\n\n\n### **Events:**\n - **change** - Standard bubbling DOM change event, re-dispatched from the host when the\ninner input/textarea fires its native change (which does not cross the\nshadow boundary). No detail; read the current text from the host's\n`value` property.\n- **changeValue** - Fired on every keystroke (and on native change), carrying the current\ntext — trimmed when `trim-whitespace` is set. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event fired alongside every value change so a\nplain Vue `v-model` works without the `v-control` directive. No detail.\n- **update:value** - v-model contract event fired on every keystroke (and on native change),\ncarrying the current text — trimmed when `trim-whitespace` is set.\n\n### **Slots:**\n - **pre** - Content added before the input\n- **post** - Content added after the input",
2077
+ "description": "A text field for a single line of text, or several lines under `rows`, with a label, a hint and an error message.\n---\n\n\n### **Events:**\n - **change** - Standard bubbling DOM change event, re-dispatched from the host when the\ninner input/textarea fires its native change (which does not cross the\nshadow boundary). No detail; read the current text from the host's\n`value` property.\n- **changeValue** - Fired on every keystroke (and on native change), carrying the current\ntext — trimmed when `trim-whitespace` is set. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event fired alongside every value change so a\nplain Vue `v-model` works without the `v-control` directive. No detail.\n- **update:value** - v-model contract event fired on every keystroke (and on native change),\ncarrying the current text — trimmed when `trim-whitespace` is set.\n\n### **Slots:**\n - **pre** - Content added before the input\n- **post** - Content added after the input\n\n### **CSS Parts:**\n - **mask-guide** - The faint rest of the input mask, shown behind the typed text",
1714
2078
  "attributes": [
1715
2079
  {
1716
2080
  "name": "autocomplete",
@@ -1761,6 +2125,11 @@
1761
2125
  "description": "Label on top of the input",
1762
2126
  "values": []
1763
2127
  },
2128
+ {
2129
+ "name": "mask",
2130
+ "description": "Input mask the typed text follows: `#` a digit, `A` a letter, `*` a letter or a digit, `\\` escapes the next character, `[…]` wraps a trailing optional section, anything else is a literal. Applies to a single-line `text`, `tel` or `search` field",
2131
+ "values": []
2132
+ },
1764
2133
  {
1765
2134
  "name": "max",
1766
2135
  "description": "Maximum value on a numeric input",
@@ -1791,7 +2160,7 @@
1791
2160
  },
1792
2161
  {
1793
2162
  "name": "size",
1794
- "description": "Field height: the 44px default or the 36px `small` box (single-line fields)",
2163
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box (single-line fields)",
1795
2164
  "values": [{ "name": "default" }, { "name": "small" }]
1796
2165
  },
1797
2166
  {
@@ -1827,9 +2196,105 @@
1827
2196
  ],
1828
2197
  "references": []
1829
2198
  },
2199
+ {
2200
+ "name": "c-time-picker",
2201
+ "description": "A time field that takes a typed time, or opens hour and minute columns for picking one, or a start and end time under `range`.\n---\n\n\n### **Events:**\n - **change** - Fired when the value changes — a row is picked or moved to in a column,\ntyped text is committed, or the field is cleared — carrying the new\nvalue: an ISO `HH:mm` time, `{ start, end }` under `range`, or `null`.\n- **change:text** - Fired on every commit of typed text (Enter or leaving the input) with the\ntext as typed — `{ start, end }` under `range`. Read `badInput` to tell\nwhether it named a time that can be picked.\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 - **input** - The text input; under `range` both the start and the end input\n- **separator** - The dash between the start and end inputs under `range`\n- **panel** - The top-layer popover container anchored below the field\n- **card** - The dialog surface inside the panel holding the columns\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- **end-switch** - The Start | End switch above the columns under `range`\n- **end-tab** - One end's button in the end switch\n- **columns** - The row of time columns\n- **column** - One time column: hours, minutes or AM/PM\n- **option** - One row of a time column\n- **actions** - The row under the columns holding the Now button (`show-now`) and, in the fullscreen panel, the Done button\n- **now** - The Now button: commits the current time\n- **done** - The Done button of the fullscreen panel (narrow viewports): commits what the panel holds and closes",
2202
+ "attributes": [
2203
+ {
2204
+ "name": "clearable",
2205
+ "description": "Make the value clearable",
2206
+ "values": []
2207
+ },
2208
+ {
2209
+ "name": "disabled",
2210
+ "description": "Disable the field",
2211
+ "values": []
2212
+ },
2213
+ {
2214
+ "name": "error-message",
2215
+ "description": "Error message shown in place of the hint while the field is invalid",
2216
+ "values": []
2217
+ },
2218
+ {
2219
+ "name": "format",
2220
+ "description": "How times are shown and read from typing: a pattern of the tokens `H`,\n`HH` (24-hour), `h`, `hh` (12-hour, with the period `a`) and `mm` with\nany separators, e.g. `HH:mm` or `h:mm a`",
2221
+ "values": []
2222
+ },
2223
+ {
2224
+ "name": "hide-details",
2225
+ "description": "Hide the hint and error messages",
2226
+ "values": []
2227
+ },
2228
+ {
2229
+ "name": "hint",
2230
+ "description": "Hint text for the field",
2231
+ "values": []
2232
+ },
2233
+ { "name": "host-id", "description": "Id of the element", "values": [] },
2234
+ { "name": "label", "description": "Element label", "values": [] },
2235
+ {
2236
+ "name": "label-on-top",
2237
+ "description": "Label on top of the field",
2238
+ "values": []
2239
+ },
2240
+ {
2241
+ "name": "max",
2242
+ "description": "The latest time that can be picked or typed, as an ISO `HH:mm` time",
2243
+ "values": []
2244
+ },
2245
+ {
2246
+ "name": "min",
2247
+ "description": "The earliest time that can be picked or typed, as an ISO `HH:mm` time;\na `min` after `max` is invalid and both are ignored",
2248
+ "values": []
2249
+ },
2250
+ {
2251
+ "name": "minute-step",
2252
+ "description": "Minutes between the minute column's rows; typed times need not fall on\nthe step",
2253
+ "values": []
2254
+ },
2255
+ { "name": "name", "description": "Input field name", "values": [] },
2256
+ {
2257
+ "name": "placeholder",
2258
+ "description": "Placeholder of the input; the `format` pattern when empty",
2259
+ "values": []
2260
+ },
2261
+ {
2262
+ "name": "range",
2263
+ "description": "Pick a range: the value becomes `{ start, end }` and the field holds two\ninputs",
2264
+ "values": []
2265
+ },
2266
+ {
2267
+ "name": "required",
2268
+ "description": "Set the field as required",
2269
+ "values": []
2270
+ },
2271
+ { "name": "shadow", "description": "Shadow variant", "values": [] },
2272
+ {
2273
+ "name": "show-now",
2274
+ "description": "Show a Now button under the columns that commits the current time",
2275
+ "values": []
2276
+ },
2277
+ {
2278
+ "name": "size",
2279
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
2280
+ "values": [{ "name": "default" }, { "name": "small" }]
2281
+ },
2282
+ {
2283
+ "name": "valid",
2284
+ "description": "Set the validity of the field",
2285
+ "values": []
2286
+ },
2287
+ {
2288
+ "name": "value",
2289
+ "description": "The time as an ISO `HH:mm` string on a 24-hour clock, or `{ start, end }`\nunder `range`; `null` when empty",
2290
+ "values": [{ "name": "CTimePickerValue" }]
2291
+ }
2292
+ ],
2293
+ "references": []
2294
+ },
1830
2295
  {
1831
2296
  "name": "c-toast",
1832
- "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",
2297
+ "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",
1833
2298
  "attributes": [
1834
2299
  {
1835
2300
  "name": "message",
@@ -1867,8 +2332,145 @@
1867
2332
  },
1868
2333
  {
1869
2334
  "name": "c-toolbar",
1870
- "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",
1871
- "attributes": [],
2335
+ "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`",
2336
+ "attributes": [
2337
+ {
2338
+ "name": "static",
2339
+ "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",
2340
+ "values": []
2341
+ }
2342
+ ],
2343
+ "references": []
2344
+ },
2345
+ {
2346
+ "name": "c-tooltip",
2347
+ "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",
2348
+ "attributes": [
2349
+ {
2350
+ "name": "delay",
2351
+ "description": "Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\nshows the tooltip immediately, regardless of this value. Defaults to\n`400`.",
2352
+ "values": []
2353
+ },
2354
+ {
2355
+ "name": "distance",
2356
+ "description": "Distance from the trigger to the tooltip, in pixels. Defaults to `4`.",
2357
+ "values": []
2358
+ },
2359
+ {
2360
+ "name": "open",
2361
+ "description": "Whether the tooltip is open. Two-way: emits `change:open`.",
2362
+ "values": []
2363
+ },
2364
+ {
2365
+ "name": "position",
2366
+ "description": "Preferred placement of the tooltip relative to the trigger.",
2367
+ "values": [
2368
+ { "name": "bottom-end" },
2369
+ { "name": "bottom-start" },
2370
+ { "name": "bottom" },
2371
+ { "name": "left-end" },
2372
+ { "name": "left-start" },
2373
+ { "name": "left" },
2374
+ { "name": "right-end" },
2375
+ { "name": "right-start" },
2376
+ { "name": "right" },
2377
+ { "name": "top-end" },
2378
+ { "name": "top-start" },
2379
+ { "name": "top" }
2380
+ ]
2381
+ },
2382
+ {
2383
+ "name": "text",
2384
+ "description": "The tooltip text. Overridden by the `content` slot when that is\npopulated.",
2385
+ "values": []
2386
+ },
2387
+ {
2388
+ "name": "trigger",
2389
+ "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.",
2390
+ "values": [{ "name": "HTMLElement" }]
2391
+ }
2392
+ ],
2393
+ "references": []
2394
+ },
2395
+ {
2396
+ "name": "c-tree-select",
2397
+ "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",
2398
+ "attributes": [
2399
+ {
2400
+ "name": "allow-branch",
2401
+ "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",
2402
+ "values": []
2403
+ },
2404
+ {
2405
+ "name": "clearable",
2406
+ "description": "Make the selected value clearable",
2407
+ "values": []
2408
+ },
2409
+ {
2410
+ "name": "disabled",
2411
+ "description": "Disable the field",
2412
+ "values": []
2413
+ },
2414
+ {
2415
+ "name": "error-message",
2416
+ "description": "Error message shown in place of the hint while the field is invalid",
2417
+ "values": []
2418
+ },
2419
+ {
2420
+ "name": "hide-details",
2421
+ "description": "Hide the hint and error messages",
2422
+ "values": []
2423
+ },
2424
+ {
2425
+ "name": "hint",
2426
+ "description": "Hint text for the field",
2427
+ "values": []
2428
+ },
2429
+ { "name": "host-id", "description": "Id of the element", "values": [] },
2430
+ {
2431
+ "name": "items-per-page",
2432
+ "description": "Items per page before the list scrolls",
2433
+ "values": []
2434
+ },
2435
+ { "name": "label", "description": "Element label", "values": [] },
2436
+ {
2437
+ "name": "label-on-top",
2438
+ "description": "Label on top of the field",
2439
+ "values": []
2440
+ },
2441
+ { "name": "name", "description": "Input field name", "values": [] },
2442
+ {
2443
+ "name": "placeholder",
2444
+ "description": "Placeholder for the search input inside the panel",
2445
+ "values": []
2446
+ },
2447
+ {
2448
+ "name": "required",
2449
+ "description": "Set the field as required",
2450
+ "values": []
2451
+ },
2452
+ {
2453
+ "name": "return-object",
2454
+ "description": "Emit the committed item with its path as a `CTreeSelectSelection` instead\nof its value",
2455
+ "values": []
2456
+ },
2457
+ { "name": "shadow", "description": "Shadow variant", "values": [] },
2458
+ {
2459
+ "name": "size",
2460
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
2461
+ "values": [{ "name": "default" }, { "name": "small" }]
2462
+ },
2463
+ {
2464
+ "name": "valid",
2465
+ "description": "Set the validity of the field",
2466
+ "values": []
2467
+ },
2468
+ {
2469
+ "name": "value",
2470
+ "description": "Selected value: the committed item's value, or the `CTreeSelectSelection`\nwith `return-object`; `null` when nothing is selected",
2471
+ "values": [{ "name": "CTreeSelectValue" }]
2472
+ }
2473
+ ],
1872
2474
  "references": []
1873
2475
  }
1874
2476
  ]