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

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 (114) hide show
  1. package/dist/csc-ui.js +14328 -8058
  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/useNarrowViewport.d.ts +19 -0
  103. package/dist-types/shared/useScrollStrip.d.ts +39 -0
  104. package/dist-types/shared/useStatusAnnouncer.d.ts +33 -0
  105. package/dist-types/shared/useTypedField.d.ts +103 -0
  106. package/dist-types/shared/visualViewport.d.ts +51 -0
  107. package/dist-types/tag-name-map.d.ts +769 -54
  108. package/dist-types/theme/chart-data.d.ts +51 -0
  109. package/dist-types/theme/ramp.d.ts +38 -0
  110. package/dist-types/theme/themeMode.d.ts +51 -0
  111. package/dist-types/types.d.ts +7 -0
  112. package/package.json +21 -9
  113. package/dist/css-anchor-positioning-fn-RTxo68pt.js +0 -6447
  114. package/dist-types/shared/anchorPolyfill.d.ts +0 -24
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@cscfi/csc-ui",
4
- "version": "4.0.0-alpha.3",
4
+ "version": "4.0.0-alpha.30",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -104,7 +104,7 @@
104
104
  },
105
105
  {
106
106
  "name": "c-accordion-item",
107
- "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",
107
+ "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",
108
108
  "doc-url": "",
109
109
  "attributes": [
110
110
  {
@@ -187,9 +187,19 @@
187
187
  },
188
188
  {
189
189
  "name": "c-alert",
190
- "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",
190
+ "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",
191
191
  "doc-url": "",
192
192
  "attributes": [
193
+ {
194
+ "name": "dismissible",
195
+ "description": "Show a dismiss button. The alert only emits `dismiss` — removing it from\nthe page stays the consumer's job.",
196
+ "value": { "type": "boolean", "default": "false" }
197
+ },
198
+ {
199
+ "name": "heading",
200
+ "description": "Heading rendered above the message. The `heading` slot overrides it for\nrich content.",
201
+ "value": { "type": "string" }
202
+ },
193
203
  {
194
204
  "name": "type",
195
205
  "description": "Type of the alert",
@@ -200,24 +210,49 @@
200
210
  }
201
211
  ],
202
212
  "slots": [
203
- { "name": "title", "description": "Title slot" },
213
+ {
214
+ "name": "heading",
215
+ "description": "Rich heading content; overrides the `heading` prop"
216
+ },
204
217
  { "name": "default", "description": "Default slot" }
205
218
  ],
206
- "events": [],
219
+ "events": [
220
+ {
221
+ "name": "dismiss",
222
+ "type": "CustomEvent<void>",
223
+ "description": "Fired when the dismiss button is pressed. The alert does not hide\nitself — the consumer owns removal."
224
+ }
225
+ ],
207
226
  "js": {
208
227
  "properties": [
228
+ {
229
+ "name": "dismissible",
230
+ "description": "Show a dismiss button. The alert only emits `dismiss` — removing it from\nthe page stays the consumer's job.",
231
+ "type": "boolean"
232
+ },
233
+ {
234
+ "name": "heading",
235
+ "description": "Heading rendered above the message. The `heading` slot overrides it for\nrich content.",
236
+ "type": "string"
237
+ },
209
238
  {
210
239
  "name": "type",
211
240
  "description": "Type of the alert",
212
241
  "type": "'default' | 'error' | 'info' | 'success' | 'warning'"
213
242
  }
214
243
  ],
215
- "events": []
244
+ "events": [
245
+ {
246
+ "name": "dismiss",
247
+ "type": "CustomEvent<void>",
248
+ "description": "Fired when the dismiss button is pressed. The alert does not hide\nitself — the consumer owns removal."
249
+ }
250
+ ]
216
251
  }
217
252
  },
218
253
  {
219
254
  "name": "c-autocomplete",
220
- "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",
255
+ "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",
221
256
  "doc-url": "",
222
257
  "attributes": [
223
258
  {
@@ -275,16 +310,21 @@
275
310
  "description": "Show loading state",
276
311
  "value": { "type": "boolean", "default": "false" }
277
312
  },
313
+ {
314
+ "name": "max-tags",
315
+ "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",
316
+ "value": { "type": "number" }
317
+ },
318
+ {
319
+ "name": "multiple",
320
+ "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",
321
+ "value": { "type": "boolean", "default": "false" }
322
+ },
278
323
  {
279
324
  "name": "name",
280
325
  "description": "Input field name",
281
326
  "value": { "type": "string", "default": "''" }
282
327
  },
283
- {
284
- "name": "no-results-text",
285
- "description": "Message shown when the query matches no options",
286
- "value": { "type": "string", "default": "'No matching data'" }
287
- },
288
328
  {
289
329
  "name": "placeholder",
290
330
  "description": "Placeholder for the in-panel search input",
@@ -300,6 +340,11 @@
300
340
  "description": "Return object instead of value",
301
341
  "value": { "type": "boolean", "default": "false" }
302
342
  },
343
+ {
344
+ "name": "select-all",
345
+ "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",
346
+ "value": { "type": "boolean", "default": "false" }
347
+ },
303
348
  {
304
349
  "name": "shadow",
305
350
  "description": "Shadow variant",
@@ -307,21 +352,13 @@
307
352
  },
308
353
  {
309
354
  "name": "size",
310
- "description": "Field height: the 44px default or the 36px `small` box",
355
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
311
356
  "value": { "type": "'default' | 'small'", "default": "'default'" }
312
357
  },
313
358
  {
314
359
  "name": "valid",
315
360
  "description": "Set the validity of the input",
316
361
  "value": { "type": "boolean", "default": "true" }
317
- },
318
- {
319
- "name": "value",
320
- "description": "Selected value (scalar, or object when return-object is set)",
321
- "value": {
322
- "type": "CAutocompleteItem | null | number | string",
323
- "default": "null"
324
- }
325
362
  }
326
363
  ],
327
364
  "slots": [
@@ -351,8 +388,8 @@
351
388
  },
352
389
  {
353
390
  "name": "changeValue",
354
- "type": "CustomEvent<CAutocompleteItem | null | number | string>",
355
- "description": "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."
391
+ "type": "CustomEvent<CAutocompleteValue>",
392
+ "description": "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."
356
393
  },
357
394
  {
358
395
  "name": "input",
@@ -361,7 +398,7 @@
361
398
  },
362
399
  {
363
400
  "name": "update:value",
364
- "type": "CustomEvent<CAutocompleteItem | null | number | string>",
401
+ "type": "CustomEvent<CAutocompleteValue>",
365
402
  "description": "Fired alongside `changeValue` with the same detail — the `v-model`\ncontract."
366
403
  }
367
404
  ],
@@ -433,13 +470,18 @@
433
470
  "type": "boolean"
434
471
  },
435
472
  {
436
- "name": "name",
437
- "description": "Input field name",
438
- "type": "string"
473
+ "name": "maxTags",
474
+ "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",
475
+ "type": "number"
476
+ },
477
+ {
478
+ "name": "multiple",
479
+ "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",
480
+ "type": "boolean"
439
481
  },
440
482
  {
441
- "name": "noResultsText",
442
- "description": "Message shown when the query matches no options",
483
+ "name": "name",
484
+ "description": "Input field name",
443
485
  "type": "string"
444
486
  },
445
487
  {
@@ -457,6 +499,11 @@
457
499
  "description": "Return object instead of value",
458
500
  "type": "boolean"
459
501
  },
502
+ {
503
+ "name": "selectAll",
504
+ "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",
505
+ "type": "boolean"
506
+ },
460
507
  {
461
508
  "name": "shadow",
462
509
  "description": "Shadow variant",
@@ -464,9 +511,14 @@
464
511
  },
465
512
  {
466
513
  "name": "size",
467
- "description": "Field height: the 44px default or the 36px `small` box",
514
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
468
515
  "type": "'default' | 'small'"
469
516
  },
517
+ {
518
+ "name": "texts",
519
+ "description": "UI text overrides (i18n), merged over the English defaults. Objects have\nno attribute form — bind as a DOM property (`:texts.prop` in Vue)",
520
+ "type": "CAutocompleteTexts"
521
+ },
470
522
  {
471
523
  "name": "valid",
472
524
  "description": "Set the validity of the input",
@@ -474,8 +526,8 @@
474
526
  },
475
527
  {
476
528
  "name": "value",
477
- "description": "Selected value (scalar, or object when return-object is set)",
478
- "type": "CAutocompleteItem | null | number | string"
529
+ "description": "Selected value: the option's value, or the whole item with\n`return-object`; an array of them in `multiple` mode",
530
+ "type": "CAutocompleteValue"
479
531
  }
480
532
  ],
481
533
  "events": [
@@ -491,8 +543,8 @@
491
543
  },
492
544
  {
493
545
  "name": "changeValue",
494
- "type": "CustomEvent<CAutocompleteItem | null | number | string>",
495
- "description": "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."
546
+ "type": "CustomEvent<CAutocompleteValue>",
547
+ "description": "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."
496
548
  },
497
549
  {
498
550
  "name": "input",
@@ -501,7 +553,7 @@
501
553
  },
502
554
  {
503
555
  "name": "update:value",
504
- "type": "CustomEvent<CAutocompleteItem | null | number | string>",
556
+ "type": "CustomEvent<CAutocompleteValue>",
505
557
  "description": "Fired alongside `changeValue` with the same detail — the `v-model`\ncontract."
506
558
  }
507
559
  ]
@@ -521,6 +573,77 @@
521
573
  "events": [],
522
574
  "js": { "properties": [], "events": [] }
523
575
  },
576
+ {
577
+ "name": "c-breadcrumb",
578
+ "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",
579
+ "doc-url": "",
580
+ "attributes": [],
581
+ "slots": [
582
+ {
583
+ "name": "default",
584
+ "description": "The crumbs (`c-breadcrumb-item`), from the top of the hierarchy down to the current page"
585
+ },
586
+ {
587
+ "name": "first",
588
+ "description": "Assigned by the breadcrumb to its first crumb; never set `slot` on a crumb"
589
+ },
590
+ {
591
+ "name": "folded",
592
+ "description": "Assigned by the breadcrumb to the crumbs it folds into the fold panel; never set `slot` on a crumb"
593
+ }
594
+ ],
595
+ "events": [],
596
+ "js": {
597
+ "properties": [
598
+ {
599
+ "name": "texts",
600
+ "description": "UI text overrides (i18n), merged over the English defaults. Objects have\nno attribute form — set it as a property",
601
+ "type": "CBreadcrumbTexts"
602
+ }
603
+ ],
604
+ "events": []
605
+ }
606
+ },
607
+ {
608
+ "name": "c-breadcrumb-item",
609
+ "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",
610
+ "doc-url": "",
611
+ "attributes": [
612
+ {
613
+ "name": "href",
614
+ "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",
615
+ "value": { "type": "string", "default": "''" }
616
+ },
617
+ {
618
+ "name": "target",
619
+ "description": "Browsing context the link opens in; the same tab when unset",
620
+ "value": { "type": "string", "default": "''" }
621
+ }
622
+ ],
623
+ "slots": [
624
+ { "name": "default", "description": "The crumb's label" },
625
+ {
626
+ "name": "icon",
627
+ "description": "An icon shown before the label (e.g. a `c-icon`); give an icon-only crumb an `aria-label`"
628
+ }
629
+ ],
630
+ "events": [],
631
+ "js": {
632
+ "properties": [
633
+ {
634
+ "name": "href",
635
+ "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",
636
+ "type": "string"
637
+ },
638
+ {
639
+ "name": "target",
640
+ "description": "Browsing context the link opens in; the same tab when unset",
641
+ "type": "string"
642
+ }
643
+ ],
644
+ "events": []
645
+ }
646
+ },
524
647
  {
525
648
  "name": "c-button",
526
649
  "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.",
@@ -723,7 +846,7 @@
723
846
  },
724
847
  {
725
848
  "name": "c-button-group",
726
- "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",
849
+ "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",
727
850
  "doc-url": "",
728
851
  "attributes": [
729
852
  {
@@ -839,7 +962,7 @@
839
962
  },
840
963
  {
841
964
  "name": "c-card",
842
- "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",
965
+ "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",
843
966
  "doc-url": "",
844
967
  "attributes": [
845
968
  {
@@ -912,14 +1035,14 @@
912
1035
  },
913
1036
  {
914
1037
  "name": "c-card-title",
915
- "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",
1038
+ "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",
916
1039
  "doc-url": "",
917
1040
  "attributes": [],
918
1041
  "slots": [
919
1042
  { "name": "default", "description": "Card title text" },
920
1043
  {
921
1044
  "name": "actions",
922
- "description": "Action controls shown to the right of the title"
1045
+ "description": "Action controls shown to the right of the title, or under it when the two do not fit side by side"
923
1046
  }
924
1047
  ],
925
1048
  "events": [],
@@ -927,7 +1050,7 @@
927
1050
  },
928
1051
  {
929
1052
  "name": "c-checkbox",
930
- "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`)",
1053
+ "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`)",
931
1054
  "doc-url": "",
932
1055
  "attributes": [
933
1056
  {
@@ -1392,173 +1515,330 @@
1392
1515
  }
1393
1516
  },
1394
1517
  {
1395
- "name": "c-divider",
1396
- "description": "\n---\n\n\n### **CSS Parts:**\n - **root** - The separator line element itself",
1518
+ "name": "c-date-picker",
1519
+ "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",
1397
1520
  "doc-url": "",
1398
1521
  "attributes": [
1399
1522
  {
1400
- "name": "vertical",
1401
- "description": "Render a vertical separator instead of the default horizontal one.",
1523
+ "name": "clearable",
1524
+ "description": "Make the value clearable",
1402
1525
  "value": { "type": "boolean", "default": "false" }
1403
- }
1404
- ],
1405
- "slots": [],
1406
- "events": [],
1407
- "js": {
1408
- "properties": [
1409
- {
1410
- "name": "vertical",
1411
- "description": "Render a vertical separator instead of the default horizontal one.",
1412
- "type": "boolean"
1413
- }
1414
- ],
1415
- "events": []
1416
- }
1417
- },
1418
- {
1419
- "name": "c-dropdown",
1420
- "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",
1421
- "doc-url": "",
1422
- "attributes": [
1526
+ },
1423
1527
  {
1424
- "name": "dropdown-item-type",
1425
- "description": "Whether items are <c-option> elements or plain objects",
1426
- "value": { "type": "'item' | 'option'", "default": "'item'" }
1528
+ "name": "disabled",
1529
+ "description": "Disable the field",
1530
+ "value": { "type": "boolean", "default": "false" }
1531
+ },
1532
+ {
1533
+ "name": "error-message",
1534
+ "description": "Error message shown in place of the hint while the field is invalid",
1535
+ "value": { "type": "string", "default": "''" }
1536
+ },
1537
+ {
1538
+ "name": "first-day-of-week",
1539
+ "description": "First day of the week in the calendar, numbered like `Date.getDay()`:\n0 = Sunday, 1 = Monday … 6 = Saturday",
1540
+ "value": { "type": "0 | 1 | 2 | 3 | 4 | 5 | 6", "default": "1" }
1541
+ },
1542
+ {
1543
+ "name": "format",
1544
+ "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`",
1545
+ "value": { "type": "string", "default": "'dd.MM.yyyy'" }
1546
+ },
1547
+ {
1548
+ "name": "hide-details",
1549
+ "description": "Hide the hint and error messages",
1550
+ "value": { "type": "boolean", "default": "false" }
1551
+ },
1552
+ {
1553
+ "name": "hint",
1554
+ "description": "Hint text for the field",
1555
+ "value": { "type": "string", "default": "''" }
1427
1556
  },
1428
1557
  {
1429
1558
  "name": "host-id",
1430
- "description": "Id used to build option/announce element ids",
1559
+ "description": "Id of the element",
1431
1560
  "value": { "type": "string", "default": "''" }
1432
1561
  },
1433
1562
  {
1434
- "name": "index",
1435
- "description": "Current highlighted index",
1436
- "value": { "type": "null | number", "default": "null" }
1563
+ "name": "label",
1564
+ "description": "Element label",
1565
+ "value": { "type": "string", "default": "''" }
1437
1566
  },
1438
1567
  {
1439
- "name": "items",
1440
- "description": "Dropdown options: a NodeList of <c-option> or an array of items",
1441
- "value": {
1442
- "type": "ArrayLike<DropdownItem>",
1443
- "default": "() => []"
1444
- }
1568
+ "name": "label-on-top",
1569
+ "description": "Label on top of the field",
1570
+ "value": { "type": "boolean", "default": "false" }
1445
1571
  },
1446
1572
  {
1447
- "name": "items-per-page",
1448
- "description": "Items per page before adding scroll",
1449
- "value": { "type": "number", "default": "0" }
1573
+ "name": "max",
1574
+ "description": "The latest date that can be picked or typed, as an ISO date; also bounds\nthe calendar's navigation",
1575
+ "value": { "type": "string", "default": "''" }
1450
1576
  },
1451
1577
  {
1452
- "name": "parent",
1453
- "description": "Dropdown parent (the c-select / c-autocomplete host element)",
1454
- "value": { "type": "HTMLElement | null", "default": "null" }
1578
+ "name": "min",
1579
+ "description": "The earliest date that can be picked or typed, as an ISO date; also\nbounds the calendar's navigation",
1580
+ "value": { "type": "string", "default": "''" }
1455
1581
  },
1456
1582
  {
1457
- "name": "type",
1458
- "description": "Parent type — drives autocomplete-only behaviour (highlight, messages)",
1459
- "value": {
1460
- "type": "'autocomplete' | 'select'",
1461
- "default": "'select'"
1462
- }
1463
- }
1464
- ],
1465
- "slots": [
1583
+ "name": "name",
1584
+ "description": "Input field name",
1585
+ "value": { "type": "string", "default": "''" }
1586
+ },
1466
1587
  {
1467
- "name": "default",
1468
- "description": "The anchor c-input of the parent select / autocomplete, rendered inline while the menu is closed"
1588
+ "name": "placeholder",
1589
+ "description": "Placeholder of the input; the `format` pattern when empty",
1590
+ "value": { "type": "string", "default": "''" }
1469
1591
  },
1470
1592
  {
1471
- "name": "input-top",
1472
- "description": "Target the c-input is moved into when the menu opens below the field"
1593
+ "name": "range",
1594
+ "description": "Pick a range: the value becomes `{ start, end }` and the field holds two\ninputs",
1595
+ "value": { "type": "boolean", "default": "false" }
1473
1596
  },
1474
1597
  {
1475
- "name": "input-bottom",
1476
- "description": "Target the c-input is moved into when the menu opens above the field"
1598
+ "name": "required",
1599
+ "description": "Set the field as required",
1600
+ "value": { "type": "boolean", "default": "false" }
1601
+ },
1602
+ {
1603
+ "name": "shadow",
1604
+ "description": "Shadow variant",
1605
+ "value": { "type": "boolean", "default": "false" }
1606
+ },
1607
+ {
1608
+ "name": "show-today",
1609
+ "description": "Show a Today button under the calendar that picks today (\"This month\"\nunder `type=\"month\"`)",
1610
+ "value": { "type": "boolean", "default": "false" }
1611
+ },
1612
+ {
1613
+ "name": "show-week-numbers",
1614
+ "description": "Show ISO 8601 week numbers beside the calendar rows (meaningful with a\nMonday week start)",
1615
+ "value": { "type": "boolean", "default": "false" }
1616
+ },
1617
+ {
1618
+ "name": "size",
1619
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
1620
+ "value": { "type": "'default' | 'small'", "default": "'default'" }
1621
+ },
1622
+ {
1623
+ "name": "type",
1624
+ "description": "What the field picks: a calendar date, or a year and a month\n(`'YYYY-MM'`)",
1625
+ "value": { "type": "'date' | 'month'", "default": "'date'" }
1626
+ },
1627
+ {
1628
+ "name": "valid",
1629
+ "description": "Set the validity of the field",
1630
+ "value": { "type": "boolean", "default": "true" }
1631
+ },
1632
+ {
1633
+ "name": "value",
1634
+ "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",
1635
+ "value": { "type": "CDatePickerValue", "default": "null" }
1477
1636
  }
1478
1637
  ],
1638
+ "slots": [],
1479
1639
  "events": [
1480
1640
  {
1481
- "name": "dropdownStateChange",
1482
- "type": "CustomEvent<boolean>",
1483
- "description": "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."
1641
+ "name": "change",
1642
+ "type": "CustomEvent<CDatePickerValue>",
1643
+ "description": "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`."
1484
1644
  },
1485
1645
  {
1486
- "name": "selectOption",
1487
- "type": "CustomEvent<{ name: string; value: number | string }>",
1488
- "description": "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."
1489
- }
1490
- ],
1491
- "js": {
1492
- "properties": [
1493
- {
1494
- "name": "dropdownItemType",
1495
- "description": "Whether items are <c-option> elements or plain objects",
1496
- "type": "'item' | 'option'"
1497
- },
1498
- {
1646
+ "name": "change:month",
1647
+ "type": "CustomEvent<string>",
1648
+ "description": "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`."
1649
+ },
1650
+ {
1651
+ "name": "change:text",
1652
+ "type": "CustomEvent<CDatePickerText>",
1653
+ "description": "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."
1654
+ },
1655
+ {
1656
+ "name": "input",
1657
+ "type": "CustomEvent<void>",
1658
+ "description": "Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail."
1659
+ },
1660
+ {
1661
+ "name": "update:value",
1662
+ "type": "CustomEvent<CDatePickerValue>",
1663
+ "description": "Fired alongside `change` with the same detail — the `v-model` contract."
1664
+ }
1665
+ ],
1666
+ "js": {
1667
+ "properties": [
1668
+ {
1669
+ "name": "clearable",
1670
+ "description": "Make the value clearable",
1671
+ "type": "boolean"
1672
+ },
1673
+ {
1674
+ "name": "disabled",
1675
+ "description": "Disable the field",
1676
+ "type": "boolean"
1677
+ },
1678
+ {
1679
+ "name": "disabledDates",
1680
+ "description": "Dates that cannot be picked: ISO dates and inclusive `{ start, end }`\nspans. Arrays have no attribute form — bind as a DOM property",
1681
+ "type": "CDatePickerDisabledDate[]"
1682
+ },
1683
+ {
1684
+ "name": "errorMessage",
1685
+ "description": "Error message shown in place of the hint while the field is invalid",
1686
+ "type": "string"
1687
+ },
1688
+ {
1689
+ "name": "firstDayOfWeek",
1690
+ "description": "First day of the week in the calendar, numbered like `Date.getDay()`:\n0 = Sunday, 1 = Monday … 6 = Saturday",
1691
+ "type": "0 | 1 | 2 | 3 | 4 | 5 | 6"
1692
+ },
1693
+ {
1694
+ "name": "format",
1695
+ "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`",
1696
+ "type": "string"
1697
+ },
1698
+ {
1699
+ "name": "hideDetails",
1700
+ "description": "Hide the hint and error messages",
1701
+ "type": "boolean"
1702
+ },
1703
+ {
1704
+ "name": "hint",
1705
+ "description": "Hint text for the field",
1706
+ "type": "string"
1707
+ },
1708
+ {
1499
1709
  "name": "hostId",
1500
- "description": "Id used to build option/announce element ids",
1710
+ "description": "Id of the element",
1501
1711
  "type": "string"
1502
1712
  },
1503
1713
  {
1504
- "name": "index",
1505
- "description": "Current highlighted index",
1506
- "type": "null | number"
1714
+ "name": "isDateDisabled",
1715
+ "description": "Predicate for dates that cannot be picked (weekends, say); receives an\nISO date. Functions have no attribute form — bind as a DOM property",
1716
+ "type": "(iso: string) => boolean"
1507
1717
  },
1508
1718
  {
1509
- "name": "items",
1510
- "description": "Dropdown options: a NodeList of <c-option> or an array of items",
1511
- "type": "ArrayLike<DropdownItem>"
1719
+ "name": "label",
1720
+ "description": "Element label",
1721
+ "type": "string"
1512
1722
  },
1513
1723
  {
1514
- "name": "itemsPerPage",
1515
- "description": "Items per page before adding scroll",
1516
- "type": "number"
1724
+ "name": "labelOnTop",
1725
+ "description": "Label on top of the field",
1726
+ "type": "boolean"
1517
1727
  },
1518
1728
  {
1519
- "name": "parent",
1520
- "description": "Dropdown parent (the c-select / c-autocomplete host element)",
1521
- "type": "HTMLElement | null"
1729
+ "name": "max",
1730
+ "description": "The latest date that can be picked or typed, as an ISO date; also bounds\nthe calendar's navigation",
1731
+ "type": "string"
1732
+ },
1733
+ {
1734
+ "name": "min",
1735
+ "description": "The earliest date that can be picked or typed, as an ISO date; also\nbounds the calendar's navigation",
1736
+ "type": "string"
1737
+ },
1738
+ {
1739
+ "name": "name",
1740
+ "description": "Input field name",
1741
+ "type": "string"
1742
+ },
1743
+ {
1744
+ "name": "placeholder",
1745
+ "description": "Placeholder of the input; the `format` pattern when empty",
1746
+ "type": "string"
1747
+ },
1748
+ {
1749
+ "name": "range",
1750
+ "description": "Pick a range: the value becomes `{ start, end }` and the field holds two\ninputs",
1751
+ "type": "boolean"
1752
+ },
1753
+ {
1754
+ "name": "required",
1755
+ "description": "Set the field as required",
1756
+ "type": "boolean"
1757
+ },
1758
+ {
1759
+ "name": "shadow",
1760
+ "description": "Shadow variant",
1761
+ "type": "boolean"
1762
+ },
1763
+ {
1764
+ "name": "showToday",
1765
+ "description": "Show a Today button under the calendar that picks today (\"This month\"\nunder `type=\"month\"`)",
1766
+ "type": "boolean"
1767
+ },
1768
+ {
1769
+ "name": "showWeekNumbers",
1770
+ "description": "Show ISO 8601 week numbers beside the calendar rows (meaningful with a\nMonday week start)",
1771
+ "type": "boolean"
1772
+ },
1773
+ {
1774
+ "name": "size",
1775
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
1776
+ "type": "'default' | 'small'"
1777
+ },
1778
+ {
1779
+ "name": "texts",
1780
+ "description": "UI text overrides (i18n), merged over the names `Intl` gives for the\npage's `lang` and the English defaults. Objects have no attribute form —\nbind as a DOM property",
1781
+ "type": "CDatePickerTexts"
1522
1782
  },
1523
1783
  {
1524
1784
  "name": "type",
1525
- "description": "Parent type — drives autocomplete-only behaviour (highlight, messages)",
1526
- "type": "'autocomplete' | 'select'"
1785
+ "description": "What the field picks: a calendar date, or a year and a month\n(`'YYYY-MM'`)",
1786
+ "type": "'date' | 'month'"
1787
+ },
1788
+ {
1789
+ "name": "valid",
1790
+ "description": "Set the validity of the field",
1791
+ "type": "boolean"
1792
+ },
1793
+ {
1794
+ "name": "value",
1795
+ "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",
1796
+ "type": "CDatePickerValue"
1797
+ },
1798
+ {
1799
+ "name": "badInput",
1800
+ "description": "Whether the committed text names no date that can be picked — the value is then `null` (CONTEXT.md \"Bad input\").",
1801
+ "type": "boolean"
1527
1802
  }
1528
1803
  ],
1529
1804
  "events": [
1530
1805
  {
1531
- "name": "dropdownStateChange",
1532
- "type": "CustomEvent<boolean>",
1533
- "description": "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."
1806
+ "name": "change",
1807
+ "type": "CustomEvent<CDatePickerValue>",
1808
+ "description": "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`."
1534
1809
  },
1535
1810
  {
1536
- "name": "selectOption",
1537
- "type": "CustomEvent<{ name: string; value: number | string }>",
1538
- "description": "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."
1811
+ "name": "change:month",
1812
+ "type": "CustomEvent<string>",
1813
+ "description": "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`."
1814
+ },
1815
+ {
1816
+ "name": "change:text",
1817
+ "type": "CustomEvent<CDatePickerText>",
1818
+ "description": "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."
1819
+ },
1820
+ {
1821
+ "name": "input",
1822
+ "type": "CustomEvent<void>",
1823
+ "description": "Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail."
1824
+ },
1825
+ {
1826
+ "name": "update:value",
1827
+ "type": "CustomEvent<CDatePickerValue>",
1828
+ "description": "Fired alongside `change` with the same detail — the `v-model` contract."
1539
1829
  }
1540
1830
  ]
1541
1831
  }
1542
1832
  },
1543
1833
  {
1544
- "name": "c-icon",
1545
- "description": "\n---\n\n\n### **CSS Parts:**\n - **root** - The `<svg>` element rendering the icon",
1834
+ "name": "c-divider",
1835
+ "description": "\n---\n\n\n### **CSS Parts:**\n - **root** - The separator line element itself",
1546
1836
  "doc-url": "",
1547
1837
  "attributes": [
1548
1838
  {
1549
- "name": "color",
1550
- "description": "Fill color.",
1551
- "value": { "type": "string", "default": "'currentColor'" }
1552
- },
1553
- {
1554
- "name": "path",
1555
- "description": "Svg `path` `d` attribute value.",
1556
- "value": { "type": "string" }
1557
- },
1558
- {
1559
- "name": "size",
1560
- "description": "Icon size in pixels.",
1561
- "value": { "type": "number", "default": "24" }
1839
+ "name": "vertical",
1840
+ "description": "Render a vertical separator instead of the default horizontal one.",
1841
+ "value": { "type": "boolean", "default": "false" }
1562
1842
  }
1563
1843
  ],
1564
1844
  "slots": [],
@@ -1566,96 +1846,313 @@
1566
1846
  "js": {
1567
1847
  "properties": [
1568
1848
  {
1569
- "name": "color",
1570
- "description": "Fill color.",
1571
- "type": "string"
1572
- },
1573
- {
1574
- "name": "path",
1575
- "description": "Svg `path` `d` attribute value.",
1576
- "type": "string"
1577
- },
1578
- {
1579
- "name": "size",
1580
- "description": "Icon size in pixels.",
1581
- "type": "number"
1849
+ "name": "vertical",
1850
+ "description": "Render a vertical separator instead of the default horizontal one.",
1851
+ "type": "boolean"
1582
1852
  }
1583
1853
  ],
1584
1854
  "events": []
1585
1855
  }
1586
1856
  },
1587
1857
  {
1588
- "name": "c-icon-button",
1589
- "description": "\n---\n\n\n### **Slots:**\n - **default** - Default slot for the icon\n\n### **CSS Parts:**\n - **root** - The native `<button>` element carrying the visual styling\n- **content** - Inner wrapper around the slotted icon or loading spinner\n- **badge** - The badge bubble shown in the button's corner",
1858
+ "name": "c-dropdown",
1859
+ "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`",
1590
1860
  "doc-url": "",
1591
1861
  "attributes": [
1592
1862
  {
1593
- "name": "badge",
1594
- "description": "Show a badge on top of the icon",
1595
- "value": { "type": "null | number | string", "default": "null" }
1863
+ "name": "close-label",
1864
+ "description": "Accessible label of the fullscreen panel's close button (narrow viewports)",
1865
+ "value": { "type": "string", "default": "'Close'" }
1596
1866
  },
1597
1867
  {
1598
- "name": "danger",
1599
- "description": "Danger variant of the button",
1600
- "value": { "type": "boolean", "default": "false" }
1868
+ "name": "dropdown-item-type",
1869
+ "description": "Whether items are <c-option> elements or plain objects",
1870
+ "value": { "type": "'item' | 'option'", "default": "'item'" }
1601
1871
  },
1602
1872
  {
1603
- "name": "disabled",
1604
- "description": "Disable the button",
1605
- "value": { "type": "boolean", "default": "false" }
1873
+ "name": "host-id",
1874
+ "description": "Id used to build option/announce element ids",
1875
+ "value": { "type": "string", "default": "''" }
1606
1876
  },
1607
1877
  {
1608
- "name": "ghost",
1609
- "description": "Ghost variant of the button",
1610
- "value": { "type": "boolean", "default": "false" }
1878
+ "name": "index",
1879
+ "description": "Current highlighted index; `-1` (`SELECT_ALL_INDEX`) is the select-all row",
1880
+ "value": { "type": "null | number", "default": "null" }
1611
1881
  },
1612
1882
  {
1613
- "name": "inverted",
1614
- "description": "Inverted color for dark backgrounds",
1615
- "value": { "type": "boolean", "default": "false" }
1883
+ "name": "items",
1884
+ "description": "Dropdown options: a NodeList of <c-option> or an array of items",
1885
+ "value": {
1886
+ "type": "ArrayLike<DropdownItem>",
1887
+ "default": "() => []"
1888
+ }
1616
1889
  },
1617
1890
  {
1618
- "name": "loading",
1619
- "description": "Loading variant of the button",
1620
- "value": { "type": "boolean", "default": "false" }
1891
+ "name": "items-per-page",
1892
+ "description": "Items per page before adding scroll",
1893
+ "value": { "type": "number", "default": "0" }
1621
1894
  },
1622
1895
  {
1623
- "name": "outlined",
1624
- "description": "Outlined variant of the button",
1896
+ "name": "label",
1897
+ "description": "The parent field's label, shown as the fullscreen panel's heading (narrow viewports)",
1898
+ "value": { "type": "string", "default": "''" }
1899
+ },
1900
+ {
1901
+ "name": "multiple",
1902
+ "description": "Multi-select mode: rows toggle instead of committing, each carries a\ndecorative checkbox indicator, and the listbox is `aria-multiselectable`",
1625
1903
  "value": { "type": "boolean", "default": "false" }
1626
1904
  },
1627
1905
  {
1628
- "name": "path",
1629
- "description": "Path for the svg icon",
1630
- "value": { "type": "string", "default": "''" }
1906
+ "name": "parent",
1907
+ "description": "Dropdown parent (the c-select / c-autocomplete host element)",
1908
+ "value": { "type": "HTMLElement | null", "default": "null" }
1631
1909
  },
1632
1910
  {
1633
- "name": "size",
1634
- "description": "Size of the button",
1911
+ "name": "select-all-row",
1912
+ "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",
1635
1913
  "value": {
1636
- "type": "'default' | 'small' | 'x-small'",
1637
- "default": "'default'"
1914
+ "type": "CDropdownSelectAllRow | null",
1915
+ "default": "null"
1638
1916
  }
1639
1917
  },
1640
1918
  {
1641
- "name": "text",
1642
- "description": "Text variant of the button",
1643
- "value": { "type": "boolean", "default": "false" }
1919
+ "name": "type",
1920
+ "description": "Parent type — drives autocomplete-only behaviour (highlight, messages)",
1921
+ "value": {
1922
+ "type": "'autocomplete' | 'select'",
1923
+ "default": "'select'"
1924
+ }
1644
1925
  }
1645
1926
  ],
1646
1927
  "slots": [
1647
- { "name": "default", "description": "Default slot for the icon" }
1928
+ {
1929
+ "name": "default",
1930
+ "description": "The anchor c-input of the parent select / autocomplete, rendered inline while the menu is closed"
1931
+ },
1932
+ {
1933
+ "name": "input-top",
1934
+ "description": "Target the c-input is moved into when the menu opens below the field"
1935
+ },
1936
+ {
1937
+ "name": "input-bottom",
1938
+ "description": "Target the c-input is moved into when the menu opens above the field"
1939
+ }
1648
1940
  ],
1649
- "events": [],
1650
- "js": {
1651
- "properties": [
1652
- {
1653
- "name": "badge",
1654
- "description": "Show a badge on top of the icon",
1655
- "type": "null | number | string"
1656
- },
1657
- {
1658
- "name": "danger",
1941
+ "events": [
1942
+ {
1943
+ "name": "dropdownStateChange",
1944
+ "type": "CustomEvent<boolean>",
1945
+ "description": "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."
1946
+ },
1947
+ {
1948
+ "name": "selectall",
1949
+ "type": "CustomEvent<void>",
1950
+ "description": "Fired when the select-all row is activated; the parent (c-select) toggles\nevery listed enabled option."
1951
+ },
1952
+ {
1953
+ "name": "selectOption",
1954
+ "type": "CustomEvent<{ name: string; value: number | string }>",
1955
+ "description": "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."
1956
+ }
1957
+ ],
1958
+ "js": {
1959
+ "properties": [
1960
+ {
1961
+ "name": "closeLabel",
1962
+ "description": "Accessible label of the fullscreen panel's close button (narrow viewports)",
1963
+ "type": "string"
1964
+ },
1965
+ {
1966
+ "name": "dropdownItemType",
1967
+ "description": "Whether items are <c-option> elements or plain objects",
1968
+ "type": "'item' | 'option'"
1969
+ },
1970
+ {
1971
+ "name": "hostId",
1972
+ "description": "Id used to build option/announce element ids",
1973
+ "type": "string"
1974
+ },
1975
+ {
1976
+ "name": "index",
1977
+ "description": "Current highlighted index; `-1` (`SELECT_ALL_INDEX`) is the select-all row",
1978
+ "type": "null | number"
1979
+ },
1980
+ {
1981
+ "name": "items",
1982
+ "description": "Dropdown options: a NodeList of <c-option> or an array of items",
1983
+ "type": "ArrayLike<DropdownItem>"
1984
+ },
1985
+ {
1986
+ "name": "itemsPerPage",
1987
+ "description": "Items per page before adding scroll",
1988
+ "type": "number"
1989
+ },
1990
+ {
1991
+ "name": "label",
1992
+ "description": "The parent field's label, shown as the fullscreen panel's heading (narrow viewports)",
1993
+ "type": "string"
1994
+ },
1995
+ {
1996
+ "name": "multiple",
1997
+ "description": "Multi-select mode: rows toggle instead of committing, each carries a\ndecorative checkbox indicator, and the listbox is `aria-multiselectable`",
1998
+ "type": "boolean"
1999
+ },
2000
+ {
2001
+ "name": "parent",
2002
+ "description": "Dropdown parent (the c-select / c-autocomplete host element)",
2003
+ "type": "HTMLElement | null"
2004
+ },
2005
+ {
2006
+ "name": "selectAllRow",
2007
+ "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",
2008
+ "type": "CDropdownSelectAllRow | null"
2009
+ },
2010
+ {
2011
+ "name": "selected",
2012
+ "description": "Values of the currently selected items — the picked values in `multiple`\nmode, the single value otherwise; drives each row's `aria-selected`, its\nindicator and the single-mode selected-row check",
2013
+ "type": "(number | string)[]"
2014
+ },
2015
+ {
2016
+ "name": "type",
2017
+ "description": "Parent type — drives autocomplete-only behaviour (highlight, messages)",
2018
+ "type": "'autocomplete' | 'select'"
2019
+ }
2020
+ ],
2021
+ "events": [
2022
+ {
2023
+ "name": "dropdownStateChange",
2024
+ "type": "CustomEvent<boolean>",
2025
+ "description": "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."
2026
+ },
2027
+ {
2028
+ "name": "selectall",
2029
+ "type": "CustomEvent<void>",
2030
+ "description": "Fired when the select-all row is activated; the parent (c-select) toggles\nevery listed enabled option."
2031
+ },
2032
+ {
2033
+ "name": "selectOption",
2034
+ "type": "CustomEvent<{ name: string; value: number | string }>",
2035
+ "description": "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."
2036
+ }
2037
+ ]
2038
+ }
2039
+ },
2040
+ {
2041
+ "name": "c-icon",
2042
+ "description": "\n---\n\n\n### **CSS Parts:**\n - **root** - The `<svg>` element rendering the icon",
2043
+ "doc-url": "",
2044
+ "attributes": [
2045
+ {
2046
+ "name": "color",
2047
+ "description": "Fill color.",
2048
+ "value": { "type": "string", "default": "'currentColor'" }
2049
+ },
2050
+ {
2051
+ "name": "path",
2052
+ "description": "Svg `path` `d` attribute value.",
2053
+ "value": { "type": "string" }
2054
+ },
2055
+ {
2056
+ "name": "size",
2057
+ "description": "Icon size in pixels.",
2058
+ "value": { "type": "number", "default": "24" }
2059
+ }
2060
+ ],
2061
+ "slots": [],
2062
+ "events": [],
2063
+ "js": {
2064
+ "properties": [
2065
+ {
2066
+ "name": "color",
2067
+ "description": "Fill color.",
2068
+ "type": "string"
2069
+ },
2070
+ {
2071
+ "name": "path",
2072
+ "description": "Svg `path` `d` attribute value.",
2073
+ "type": "string"
2074
+ },
2075
+ {
2076
+ "name": "size",
2077
+ "description": "Icon size in pixels.",
2078
+ "type": "number"
2079
+ }
2080
+ ],
2081
+ "events": []
2082
+ }
2083
+ },
2084
+ {
2085
+ "name": "c-icon-button",
2086
+ "description": "\n---\n\n\n### **Slots:**\n - **default** - Default slot for the icon\n\n### **CSS Parts:**\n - **root** - The native `<button>` element carrying the visual styling\n- **content** - Inner wrapper around the slotted icon or loading spinner\n- **badge** - The badge bubble shown in the button's corner",
2087
+ "doc-url": "",
2088
+ "attributes": [
2089
+ {
2090
+ "name": "badge",
2091
+ "description": "Show a badge on top of the icon",
2092
+ "value": { "type": "null | number | string", "default": "null" }
2093
+ },
2094
+ {
2095
+ "name": "danger",
2096
+ "description": "Danger variant of the button",
2097
+ "value": { "type": "boolean", "default": "false" }
2098
+ },
2099
+ {
2100
+ "name": "disabled",
2101
+ "description": "Disable the button",
2102
+ "value": { "type": "boolean", "default": "false" }
2103
+ },
2104
+ {
2105
+ "name": "ghost",
2106
+ "description": "Ghost variant of the button",
2107
+ "value": { "type": "boolean", "default": "false" }
2108
+ },
2109
+ {
2110
+ "name": "inverted",
2111
+ "description": "Inverted color for dark backgrounds",
2112
+ "value": { "type": "boolean", "default": "false" }
2113
+ },
2114
+ {
2115
+ "name": "loading",
2116
+ "description": "Loading variant of the button",
2117
+ "value": { "type": "boolean", "default": "false" }
2118
+ },
2119
+ {
2120
+ "name": "outlined",
2121
+ "description": "Outlined variant of the button",
2122
+ "value": { "type": "boolean", "default": "false" }
2123
+ },
2124
+ {
2125
+ "name": "path",
2126
+ "description": "Path for the svg icon",
2127
+ "value": { "type": "string", "default": "''" }
2128
+ },
2129
+ {
2130
+ "name": "size",
2131
+ "description": "Size of the button",
2132
+ "value": {
2133
+ "type": "'default' | 'small' | 'x-small'",
2134
+ "default": "'default'"
2135
+ }
2136
+ },
2137
+ {
2138
+ "name": "text",
2139
+ "description": "Text variant of the button",
2140
+ "value": { "type": "boolean", "default": "false" }
2141
+ }
2142
+ ],
2143
+ "slots": [
2144
+ { "name": "default", "description": "Default slot for the icon" }
2145
+ ],
2146
+ "events": [],
2147
+ "js": {
2148
+ "properties": [
2149
+ {
2150
+ "name": "badge",
2151
+ "description": "Show a badge on top of the icon",
2152
+ "type": "null | number | string"
2153
+ },
2154
+ {
2155
+ "name": "danger",
1659
2156
  "description": "Danger variant of the button",
1660
2157
  "type": "boolean"
1661
2158
  },
@@ -1770,7 +2267,7 @@
1770
2267
  },
1771
2268
  {
1772
2269
  "name": "size",
1773
- "description": "Field height: the 44px default or the 36px `small` box",
2270
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
1774
2271
  "value": { "type": "'default' | 'small'", "default": "'default'" }
1775
2272
  },
1776
2273
  {
@@ -1858,7 +2355,7 @@
1858
2355
  },
1859
2356
  {
1860
2357
  "name": "size",
1861
- "description": "Field height: the 44px default or the 36px `small` box",
2358
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
1862
2359
  "type": "'default' | 'small'"
1863
2360
  },
1864
2361
  {
@@ -2346,7 +2843,7 @@
2346
2843
  },
2347
2844
  {
2348
2845
  "name": "c-main",
2349
- "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",
2846
+ "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",
2350
2847
  "doc-url": "",
2351
2848
  "attributes": [
2352
2849
  {
@@ -2356,7 +2853,14 @@
2356
2853
  }
2357
2854
  ],
2358
2855
  "slots": [
2359
- { "name": "default", "description": "Contents of the page" }
2856
+ {
2857
+ "name": "default",
2858
+ "description": "Contents of the page: the toolbar, side navigation and page"
2859
+ },
2860
+ {
2861
+ "name": "banner",
2862
+ "description": "A full-width message strip above the toolbar; it scrolls away with the page"
2863
+ }
2360
2864
  ],
2361
2865
  "events": [],
2362
2866
  "js": {
@@ -2372,7 +2876,7 @@
2372
2876
  },
2373
2877
  {
2374
2878
  "name": "c-menu",
2375
- "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",
2879
+ "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",
2376
2880
  "doc-url": "",
2377
2881
  "attributes": [
2378
2882
  {
@@ -2392,6 +2896,11 @@
2392
2896
  "type": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'",
2393
2897
  "default": "'bottom-start'"
2394
2898
  }
2899
+ },
2900
+ {
2901
+ "name": "trigger",
2902
+ "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.",
2903
+ "value": { "type": "HTMLElement | string" }
2395
2904
  }
2396
2905
  ],
2397
2906
  "slots": [
@@ -2432,6 +2941,11 @@
2432
2941
  "name": "position",
2433
2942
  "description": "Preferred placement of the panel relative to the trigger.",
2434
2943
  "type": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
2944
+ },
2945
+ {
2946
+ "name": "trigger",
2947
+ "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.",
2948
+ "type": "HTMLElement | string"
2435
2949
  }
2436
2950
  ],
2437
2951
  "events": [
@@ -2450,9 +2964,19 @@
2450
2964
  },
2451
2965
  {
2452
2966
  "name": "c-menu-item",
2453
- "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",
2967
+ "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",
2454
2968
  "doc-url": "",
2455
2969
  "attributes": [
2970
+ {
2971
+ "name": "active",
2972
+ "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).",
2973
+ "value": { "type": "boolean" }
2974
+ },
2975
+ {
2976
+ "name": "active-icon",
2977
+ "description": "SVG path for the trailing indicator shown while `active`; defaults to a\ncheck mark.",
2978
+ "value": { "type": "string", "default": "''" }
2979
+ },
2456
2980
  {
2457
2981
  "name": "danger",
2458
2982
  "description": "Marks the action as destructive (renders in the error colour).",
@@ -2463,6 +2987,11 @@
2463
2987
  "description": "Disables the item — it is skipped by keyboard nav and emits no select.",
2464
2988
  "value": { "type": "boolean", "default": "false" }
2465
2989
  },
2990
+ {
2991
+ "name": "icon",
2992
+ "description": "SVG path for a leading icon rendered before the item's content.",
2993
+ "value": { "type": "string", "default": "''" }
2994
+ },
2466
2995
  {
2467
2996
  "name": "value",
2468
2997
  "description": "Value reported in the menu's `select` event when this item is chosen.",
@@ -2482,6 +3011,16 @@
2482
3011
  "events": [],
2483
3012
  "js": {
2484
3013
  "properties": [
3014
+ {
3015
+ "name": "active",
3016
+ "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).",
3017
+ "type": "boolean"
3018
+ },
3019
+ {
3020
+ "name": "activeIcon",
3021
+ "description": "SVG path for the trailing indicator shown while `active`; defaults to a\ncheck mark.",
3022
+ "type": "string"
3023
+ },
2485
3024
  {
2486
3025
  "name": "danger",
2487
3026
  "description": "Marks the action as destructive (renders in the error colour).",
@@ -2492,6 +3031,11 @@
2492
3031
  "description": "Disables the item — it is skipped by keyboard nav and emits no select.",
2493
3032
  "type": "boolean"
2494
3033
  },
3034
+ {
3035
+ "name": "icon",
3036
+ "description": "SVG path for a leading icon rendered before the item's content.",
3037
+ "type": "string"
3038
+ },
2495
3039
  {
2496
3040
  "name": "value",
2497
3041
  "description": "Value reported in the menu's `select` event when this item is chosen.",
@@ -2670,35 +3214,320 @@
2670
3214
  "js": { "properties": [], "events": [] }
2671
3215
  },
2672
3216
  {
2673
- "name": "c-option",
2674
- "description": "\n---\n\n\n### **Slots:**\n - **default** - The option's visible label content, shown in the c-select dropdown list",
3217
+ "name": "c-number-field",
3218
+ "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",
2675
3219
  "doc-url": "",
2676
3220
  "attributes": [
3221
+ {
3222
+ "name": "decimals",
3223
+ "description": "The most fraction digits the field takes; `0` makes it an integer field",
3224
+ "value": { "type": "number", "default": "0" }
3225
+ },
3226
+ {
3227
+ "name": "decimal-separator",
3228
+ "description": "The decimal separator. Empty follows the page's `lang` (`,` for `fi`, `.` for `en`)",
3229
+ "value": { "type": "string", "default": "''" }
3230
+ },
2677
3231
  {
2678
3232
  "name": "disabled",
2679
- "description": "Set option as disabled",
3233
+ "description": "Disable the field",
2680
3234
  "value": { "type": "boolean", "default": "false" }
2681
3235
  },
2682
3236
  {
2683
- "name": "name",
2684
- "description": "Option name (display label fallback)",
2685
- "value": { "type": "string" }
3237
+ "name": "error-message",
3238
+ "description": "Error message shown in place of the hint while the field is invalid",
3239
+ "value": { "type": "string", "default": "''" }
2686
3240
  },
2687
3241
  {
2688
- "name": "selected",
2689
- "description": "Set option as selected",
3242
+ "name": "fixed-decimals",
3243
+ "description": "Pad the fraction to exactly `decimals` digits when the field is left (`12,5` → `12,50`)",
2690
3244
  "value": { "type": "boolean", "default": "false" }
2691
3245
  },
2692
3246
  {
2693
- "name": "value",
2694
- "description": "Option value",
2695
- "value": { "type": "number | string" }
2696
- }
2697
- ],
2698
- "slots": [
3247
+ "name": "group-separator",
3248
+ "description": "The thousands separator. Empty follows the page's `lang` (a space for `fi`, `,` for `en`)",
3249
+ "value": { "type": "string", "default": "''" }
3250
+ },
2699
3251
  {
2700
- "name": "default",
2701
- "description": "The option's visible label content, shown in the c-select dropdown list"
3252
+ "name": "hide-details",
3253
+ "description": "Hide the hint and error messages",
3254
+ "value": { "type": "boolean", "default": "false" }
3255
+ },
3256
+ {
3257
+ "name": "hint",
3258
+ "description": "Hint text for the field",
3259
+ "value": { "type": "string", "default": "''" }
3260
+ },
3261
+ {
3262
+ "name": "host-id",
3263
+ "description": "Id of the input",
3264
+ "value": { "type": "string", "default": "''" }
3265
+ },
3266
+ {
3267
+ "name": "label",
3268
+ "description": "Label of the field",
3269
+ "value": { "type": "string", "default": "''" }
3270
+ },
3271
+ {
3272
+ "name": "label-on-top",
3273
+ "description": "Label on top of the field",
3274
+ "value": { "type": "boolean", "default": "false" }
3275
+ },
3276
+ {
3277
+ "name": "max",
3278
+ "description": "The largest number in range; a larger one is kept and reported as out of range",
3279
+ "value": { "type": "null | number", "default": "null" }
3280
+ },
3281
+ {
3282
+ "name": "min",
3283
+ "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",
3284
+ "value": { "type": "null | number", "default": "null" }
3285
+ },
3286
+ {
3287
+ "name": "name",
3288
+ "description": "Name of the input",
3289
+ "value": { "type": "string", "default": "''" }
3290
+ },
3291
+ {
3292
+ "name": "placeholder",
3293
+ "description": "Placeholder of the input",
3294
+ "value": { "type": "string", "default": "''" }
3295
+ },
3296
+ {
3297
+ "name": "readonly",
3298
+ "description": "Mark as readonly",
3299
+ "value": { "type": "boolean", "default": "false" }
3300
+ },
3301
+ {
3302
+ "name": "required",
3303
+ "description": "Set the field as required",
3304
+ "value": { "type": "boolean", "default": "false" }
3305
+ },
3306
+ {
3307
+ "name": "shadow",
3308
+ "description": "Shadow variant of the field",
3309
+ "value": { "type": "boolean", "default": "false" }
3310
+ },
3311
+ {
3312
+ "name": "size",
3313
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
3314
+ "value": { "type": "'default' | 'small'", "default": "'default'" }
3315
+ },
3316
+ {
3317
+ "name": "step",
3318
+ "description": "The spacing of the grid the step buttons and arrow keys move along, counted from `min` (or `0`)",
3319
+ "value": { "type": "number", "default": "1" }
3320
+ },
3321
+ {
3322
+ "name": "valid",
3323
+ "description": "Set the validity of the field",
3324
+ "value": { "type": "boolean", "default": "true" }
3325
+ },
3326
+ {
3327
+ "name": "value",
3328
+ "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`",
3329
+ "value": { "type": "null | number | string", "default": "null" }
3330
+ }
3331
+ ],
3332
+ "slots": [
3333
+ {
3334
+ "name": "pre",
3335
+ "description": "Content before the number, such as a currency sign"
3336
+ },
3337
+ {
3338
+ "name": "post",
3339
+ "description": "Content after the number, such as a unit; the step buttons follow it"
3340
+ }
3341
+ ],
3342
+ "events": [
3343
+ {
3344
+ "name": "change",
3345
+ "type": "CustomEvent<null | number>",
3346
+ "description": "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."
3347
+ },
3348
+ {
3349
+ "name": "input",
3350
+ "type": "CustomEvent<void>",
3351
+ "description": "Native bubbling input event fired alongside every value change so a\nplain Vue `v-model` works. No detail."
3352
+ },
3353
+ {
3354
+ "name": "update:value",
3355
+ "type": "CustomEvent<null | number>",
3356
+ "description": "v-model contract event, fired with `change`."
3357
+ }
3358
+ ],
3359
+ "js": {
3360
+ "properties": [
3361
+ {
3362
+ "name": "decimals",
3363
+ "description": "The most fraction digits the field takes; `0` makes it an integer field",
3364
+ "type": "number"
3365
+ },
3366
+ {
3367
+ "name": "decimalSeparator",
3368
+ "description": "The decimal separator. Empty follows the page's `lang` (`,` for `fi`, `.` for `en`)",
3369
+ "type": "string"
3370
+ },
3371
+ {
3372
+ "name": "disabled",
3373
+ "description": "Disable the field",
3374
+ "type": "boolean"
3375
+ },
3376
+ {
3377
+ "name": "errorMessage",
3378
+ "description": "Error message shown in place of the hint while the field is invalid",
3379
+ "type": "string"
3380
+ },
3381
+ {
3382
+ "name": "fixedDecimals",
3383
+ "description": "Pad the fraction to exactly `decimals` digits when the field is left (`12,5` → `12,50`)",
3384
+ "type": "boolean"
3385
+ },
3386
+ {
3387
+ "name": "groupSeparator",
3388
+ "description": "The thousands separator. Empty follows the page's `lang` (a space for `fi`, `,` for `en`)",
3389
+ "type": "string"
3390
+ },
3391
+ {
3392
+ "name": "hideDetails",
3393
+ "description": "Hide the hint and error messages",
3394
+ "type": "boolean"
3395
+ },
3396
+ {
3397
+ "name": "hint",
3398
+ "description": "Hint text for the field",
3399
+ "type": "string"
3400
+ },
3401
+ {
3402
+ "name": "hostId",
3403
+ "description": "Id of the input",
3404
+ "type": "string"
3405
+ },
3406
+ {
3407
+ "name": "label",
3408
+ "description": "Label of the field",
3409
+ "type": "string"
3410
+ },
3411
+ {
3412
+ "name": "labelOnTop",
3413
+ "description": "Label on top of the field",
3414
+ "type": "boolean"
3415
+ },
3416
+ {
3417
+ "name": "max",
3418
+ "description": "The largest number in range; a larger one is kept and reported as out of range",
3419
+ "type": "null | number"
3420
+ },
3421
+ {
3422
+ "name": "min",
3423
+ "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",
3424
+ "type": "null | number"
3425
+ },
3426
+ {
3427
+ "name": "name",
3428
+ "description": "Name of the input",
3429
+ "type": "string"
3430
+ },
3431
+ {
3432
+ "name": "placeholder",
3433
+ "description": "Placeholder of the input",
3434
+ "type": "string"
3435
+ },
3436
+ {
3437
+ "name": "readonly",
3438
+ "description": "Mark as readonly",
3439
+ "type": "boolean"
3440
+ },
3441
+ {
3442
+ "name": "required",
3443
+ "description": "Set the field as required",
3444
+ "type": "boolean"
3445
+ },
3446
+ {
3447
+ "name": "shadow",
3448
+ "description": "Shadow variant of the field",
3449
+ "type": "boolean"
3450
+ },
3451
+ {
3452
+ "name": "size",
3453
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
3454
+ "type": "'default' | 'small'"
3455
+ },
3456
+ {
3457
+ "name": "step",
3458
+ "description": "The spacing of the grid the step buttons and arrow keys move along, counted from `min` (or `0`)",
3459
+ "type": "number"
3460
+ },
3461
+ {
3462
+ "name": "texts",
3463
+ "description": "UI text overrides (i18n), merged over the English defaults. Objects have no attribute form — bind as a DOM property",
3464
+ "type": "CNumberFieldTexts"
3465
+ },
3466
+ {
3467
+ "name": "valid",
3468
+ "description": "Set the validity of the field",
3469
+ "type": "boolean"
3470
+ },
3471
+ {
3472
+ "name": "value",
3473
+ "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`",
3474
+ "type": "null | number | string"
3475
+ },
3476
+ {
3477
+ "name": "outOfRange",
3478
+ "description": "Whether the number is below `min` or above `max` (CONTEXT.md \"Out of range\")",
3479
+ "type": "boolean"
3480
+ }
3481
+ ],
3482
+ "events": [
3483
+ {
3484
+ "name": "change",
3485
+ "type": "CustomEvent<null | number>",
3486
+ "description": "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."
3487
+ },
3488
+ {
3489
+ "name": "input",
3490
+ "type": "CustomEvent<void>",
3491
+ "description": "Native bubbling input event fired alongside every value change so a\nplain Vue `v-model` works. No detail."
3492
+ },
3493
+ {
3494
+ "name": "update:value",
3495
+ "type": "CustomEvent<null | number>",
3496
+ "description": "v-model contract event, fired with `change`."
3497
+ }
3498
+ ]
3499
+ }
3500
+ },
3501
+ {
3502
+ "name": "c-option",
3503
+ "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",
3504
+ "doc-url": "",
3505
+ "attributes": [
3506
+ {
3507
+ "name": "disabled",
3508
+ "description": "Set option as disabled",
3509
+ "value": { "type": "boolean", "default": "false" }
3510
+ },
3511
+ {
3512
+ "name": "name",
3513
+ "description": "Option name (display label fallback)",
3514
+ "value": { "type": "string" }
3515
+ },
3516
+ {
3517
+ "name": "selected",
3518
+ "description": "Set option as selected",
3519
+ "value": { "type": "boolean", "default": "false" }
3520
+ },
3521
+ {
3522
+ "name": "value",
3523
+ "description": "Option value",
3524
+ "value": { "type": "number | string" }
3525
+ }
3526
+ ],
3527
+ "slots": [
3528
+ {
3529
+ "name": "default",
3530
+ "description": "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"
2702
3531
  }
2703
3532
  ],
2704
3533
  "events": [],
@@ -2730,13 +3559,13 @@
2730
3559
  },
2731
3560
  {
2732
3561
  "name": "c-option-value",
2733
- "description": "\n---\n\n\n### **Slots:**\n - **default** - The displayed option text, targeted by c-dropdown when highlighting autocomplete matches",
3562
+ "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",
2734
3563
  "doc-url": "",
2735
3564
  "attributes": [],
2736
3565
  "slots": [
2737
3566
  {
2738
3567
  "name": "default",
2739
- "description": "The displayed option text, targeted by c-dropdown when highlighting autocomplete matches"
3568
+ "description": "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"
2740
3569
  }
2741
3570
  ],
2742
3571
  "events": [],
@@ -2905,7 +3734,7 @@
2905
3734
  },
2906
3735
  {
2907
3736
  "name": "c-page",
2908
- "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",
3737
+ "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",
2909
3738
  "doc-url": "",
2910
3739
  "attributes": [
2911
3740
  {
@@ -3022,40 +3851,128 @@
3022
3851
  }
3023
3852
  },
3024
3853
  {
3025
- "name": "c-progress-bar",
3026
- "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",
3854
+ "name": "c-popover",
3855
+ "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",
3027
3856
  "doc-url": "",
3028
3857
  "attributes": [
3029
3858
  {
3030
- "name": "hide-details",
3031
- "description": "Hide the percentage display",
3032
- "value": { "type": "boolean", "default": "false" }
3033
- },
3034
- {
3035
- "name": "indeterminate",
3036
- "description": "Indeterminate state of the progress bar",
3037
- "value": { "type": "boolean", "default": "false" }
3859
+ "name": "distance",
3860
+ "description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
3861
+ "value": { "type": "number | string", "default": "0" }
3038
3862
  },
3039
3863
  {
3040
- "name": "label",
3041
- "description": "Optional details message next to percentage display",
3864
+ "name": "heading",
3865
+ "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`.",
3042
3866
  "value": { "type": "string", "default": "''" }
3043
3867
  },
3044
3868
  {
3045
- "name": "single-line",
3046
- "description": "Place details next to progress bar",
3869
+ "name": "open",
3870
+ "description": "Whether the popover is open. Two-way: emits `change:open`.",
3047
3871
  "value": { "type": "boolean", "default": "false" }
3048
3872
  },
3049
3873
  {
3050
- "name": "value",
3051
- "description": "Progress bar value in percentage (0 to 100)",
3052
- "value": { "type": "number", "default": "0" }
3053
- }
3054
- ],
3055
- "slots": [],
3056
- "events": [],
3057
- "js": {
3058
- "properties": [
3874
+ "name": "position",
3875
+ "description": "Preferred placement of the panel relative to the trigger.",
3876
+ "value": {
3877
+ "type": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'",
3878
+ "default": "'bottom'"
3879
+ }
3880
+ },
3881
+ {
3882
+ "name": "trigger",
3883
+ "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.",
3884
+ "value": { "type": "HTMLElement | string" }
3885
+ }
3886
+ ],
3887
+ "slots": [
3888
+ {
3889
+ "name": "trigger",
3890
+ "description": "The element that opens the popover (e.g. a c-button)"
3891
+ },
3892
+ {
3893
+ "name": "default",
3894
+ "description": "The popover's content; may contain interactive elements"
3895
+ }
3896
+ ],
3897
+ "events": [
3898
+ {
3899
+ "name": "change:open",
3900
+ "type": "CustomEvent<boolean>",
3901
+ "description": "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."
3902
+ }
3903
+ ],
3904
+ "js": {
3905
+ "properties": [
3906
+ {
3907
+ "name": "distance",
3908
+ "description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
3909
+ "type": "number | string"
3910
+ },
3911
+ {
3912
+ "name": "heading",
3913
+ "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`.",
3914
+ "type": "string"
3915
+ },
3916
+ {
3917
+ "name": "open",
3918
+ "description": "Whether the popover is open. Two-way: emits `change:open`.",
3919
+ "type": "boolean"
3920
+ },
3921
+ {
3922
+ "name": "position",
3923
+ "description": "Preferred placement of the panel relative to the trigger.",
3924
+ "type": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
3925
+ },
3926
+ {
3927
+ "name": "trigger",
3928
+ "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.",
3929
+ "type": "HTMLElement | string"
3930
+ }
3931
+ ],
3932
+ "events": [
3933
+ {
3934
+ "name": "change:open",
3935
+ "type": "CustomEvent<boolean>",
3936
+ "description": "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."
3937
+ }
3938
+ ]
3939
+ }
3940
+ },
3941
+ {
3942
+ "name": "c-progress-bar",
3943
+ "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",
3944
+ "doc-url": "",
3945
+ "attributes": [
3946
+ {
3947
+ "name": "hide-details",
3948
+ "description": "Hide the percentage display",
3949
+ "value": { "type": "boolean", "default": "false" }
3950
+ },
3951
+ {
3952
+ "name": "indeterminate",
3953
+ "description": "Indeterminate state of the progress bar",
3954
+ "value": { "type": "boolean", "default": "false" }
3955
+ },
3956
+ {
3957
+ "name": "label",
3958
+ "description": "Optional details message next to percentage display",
3959
+ "value": { "type": "string", "default": "''" }
3960
+ },
3961
+ {
3962
+ "name": "single-line",
3963
+ "description": "Place details next to progress bar",
3964
+ "value": { "type": "boolean", "default": "false" }
3965
+ },
3966
+ {
3967
+ "name": "value",
3968
+ "description": "Progress bar value in percentage (0 to 100)",
3969
+ "value": { "type": "number", "default": "0" }
3970
+ }
3971
+ ],
3972
+ "slots": [],
3973
+ "events": [],
3974
+ "js": {
3975
+ "properties": [
3059
3976
  {
3060
3977
  "name": "hideDetails",
3061
3978
  "description": "Hide the percentage display",
@@ -3086,15 +4003,59 @@
3086
4003
  }
3087
4004
  },
3088
4005
  {
3089
- "name": "c-radio",
3090
- "description": "\n---\n\n\n### **Slots:**\n - **default** - The radio button's label text, read by the parent c-radio-group",
4006
+ "name": "c-progress-circle",
4007
+ "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",
3091
4008
  "doc-url": "",
3092
4009
  "attributes": [
3093
4010
  {
3094
- "name": "checked",
3095
- "description": "Set option as checked",
3096
- "value": { "type": "boolean", "default": "false" }
4011
+ "name": "size",
4012
+ "description": "Diameter of the circle in pixels",
4013
+ "value": { "type": "number", "default": "32" }
4014
+ },
4015
+ {
4016
+ "name": "value",
4017
+ "description": "Progress value in percentage (0 to 100)",
4018
+ "value": { "type": "number", "default": "0" }
3097
4019
  },
4020
+ {
4021
+ "name": "width",
4022
+ "description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
4023
+ "value": { "type": "number", "default": "6" }
4024
+ }
4025
+ ],
4026
+ "slots": [
4027
+ {
4028
+ "name": "default",
4029
+ "description": "Optional content centered inside the circle, e.g. '57%' or an icon"
4030
+ }
4031
+ ],
4032
+ "events": [],
4033
+ "js": {
4034
+ "properties": [
4035
+ {
4036
+ "name": "size",
4037
+ "description": "Diameter of the circle in pixels",
4038
+ "type": "number"
4039
+ },
4040
+ {
4041
+ "name": "value",
4042
+ "description": "Progress value in percentage (0 to 100)",
4043
+ "type": "number"
4044
+ },
4045
+ {
4046
+ "name": "width",
4047
+ "description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
4048
+ "type": "number"
4049
+ }
4050
+ ],
4051
+ "events": []
4052
+ }
4053
+ },
4054
+ {
4055
+ "name": "c-radio",
4056
+ "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",
4057
+ "doc-url": "",
4058
+ "attributes": [
3098
4059
  {
3099
4060
  "name": "disabled",
3100
4061
  "description": "Disable the radio button",
@@ -3109,17 +4070,18 @@
3109
4070
  "slots": [
3110
4071
  {
3111
4072
  "name": "default",
3112
- "description": "The radio button's label text, read by the parent c-radio-group"
4073
+ "description": "The radio's label content, rendered inside the shadow `<label>` so it stays click-associated and announced"
4074
+ }
4075
+ ],
4076
+ "events": [
4077
+ {
4078
+ "name": "change",
4079
+ "type": "CustomEvent<string>",
4080
+ "description": "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`."
3113
4081
  }
3114
4082
  ],
3115
- "events": [],
3116
4083
  "js": {
3117
4084
  "properties": [
3118
- {
3119
- "name": "checked",
3120
- "description": "Set option as checked",
3121
- "type": "boolean"
3122
- },
3123
4085
  {
3124
4086
  "name": "disabled",
3125
4087
  "description": "Disable the radio button",
@@ -3131,12 +4093,18 @@
3131
4093
  "type": "string"
3132
4094
  }
3133
4095
  ],
3134
- "events": []
4096
+ "events": [
4097
+ {
4098
+ "name": "change",
4099
+ "type": "CustomEvent<string>",
4100
+ "description": "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`."
4101
+ }
4102
+ ]
3135
4103
  }
3136
4104
  },
3137
4105
  {
3138
4106
  "name": "c-radio-group",
3139
- "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",
4107
+ "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`)",
3140
4108
  "doc-url": "",
3141
4109
  "attributes": [
3142
4110
  {
@@ -3159,11 +4127,6 @@
3159
4127
  "description": "Hint text for the input",
3160
4128
  "value": { "type": "string", "default": "''" }
3161
4129
  },
3162
- {
3163
- "name": "host-id",
3164
- "description": "Id of the element",
3165
- "value": { "type": "string", "default": "''" }
3166
- },
3167
4130
  {
3168
4131
  "name": "inline",
3169
4132
  "description": "Display radio buttons inline",
@@ -3179,11 +4142,6 @@
3179
4142
  "description": "Set as required",
3180
4143
  "value": { "type": "boolean", "default": "false" }
3181
4144
  },
3182
- {
3183
- "name": "return-object",
3184
- "description": "Return the whole item object",
3185
- "value": { "type": "boolean", "default": "false" }
3186
- },
3187
4145
  {
3188
4146
  "name": "valid",
3189
4147
  "description": "Set the validity of the input",
@@ -3191,21 +4149,25 @@
3191
4149
  },
3192
4150
  {
3193
4151
  "name": "value",
3194
- "description": "Value of the radio group",
3195
- "value": {
3196
- "type": "null | number | RadioItem | string",
3197
- "default": "null"
3198
- }
4152
+ "description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
4153
+ "value": { "type": "null | string", "default": "null" }
3199
4154
  }
3200
4155
  ],
3201
4156
  "slots": [
3202
- { "name": "default", "description": "Default slot for the label" }
4157
+ {
4158
+ "name": "default",
4159
+ "description": "The radios' home: `<c-radio>` children, wrappable in arbitrary layout elements at any depth"
4160
+ },
4161
+ {
4162
+ "name": "label",
4163
+ "description": "Group label content, used when the `label` prop is not set"
4164
+ }
3203
4165
  ],
3204
4166
  "events": [
3205
4167
  {
3206
4168
  "name": "changeValue",
3207
- "type": "CustomEvent<number | RadioItem | string>",
3208
- "description": "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."
4169
+ "type": "CustomEvent<string>",
4170
+ "description": "Fired when a radio is selected, carrying the selected radio's value. Also dispatched as `change-value` — bind that name in Vue templates."
3209
4171
  },
3210
4172
  {
3211
4173
  "name": "input",
@@ -3214,8 +4176,8 @@
3214
4176
  },
3215
4177
  {
3216
4178
  "name": "update:value",
3217
- "type": "CustomEvent<number | RadioItem | string>",
3218
- "description": "v-model contract event fired on selection, carrying the selected item's\nvalue — or the whole item object when `return-object` is set."
4179
+ "type": "CustomEvent<string>",
4180
+ "description": "v-model contract event fired on selection, carrying the selected radio's\nvalue."
3219
4181
  }
3220
4182
  ],
3221
4183
  "js": {
@@ -3240,21 +4202,11 @@
3240
4202
  "description": "Hint text for the input",
3241
4203
  "type": "string"
3242
4204
  },
3243
- {
3244
- "name": "hostId",
3245
- "description": "Id of the element",
3246
- "type": "string"
3247
- },
3248
4205
  {
3249
4206
  "name": "inline",
3250
4207
  "description": "Display radio buttons inline",
3251
4208
  "type": "boolean"
3252
4209
  },
3253
- {
3254
- "name": "items",
3255
- "description": "Radio group items",
3256
- "type": "RadioItem[]"
3257
- },
3258
4210
  {
3259
4211
  "name": "label",
3260
4212
  "description": "Label of the radio group",
@@ -3265,11 +4217,6 @@
3265
4217
  "description": "Set as required",
3266
4218
  "type": "boolean"
3267
4219
  },
3268
- {
3269
- "name": "returnObject",
3270
- "description": "Return the whole item object",
3271
- "type": "boolean"
3272
- },
3273
4220
  {
3274
4221
  "name": "valid",
3275
4222
  "description": "Set the validity of the input",
@@ -3277,15 +4224,15 @@
3277
4224
  },
3278
4225
  {
3279
4226
  "name": "value",
3280
- "description": "Value of the radio group",
3281
- "type": "null | number | RadioItem | string"
4227
+ "description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
4228
+ "type": "null | string"
3282
4229
  }
3283
4230
  ],
3284
4231
  "events": [
3285
4232
  {
3286
4233
  "name": "changeValue",
3287
- "type": "CustomEvent<number | RadioItem | string>",
3288
- "description": "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."
4234
+ "type": "CustomEvent<string>",
4235
+ "description": "Fired when a radio is selected, carrying the selected radio's value. Also dispatched as `change-value` — bind that name in Vue templates."
3289
4236
  },
3290
4237
  {
3291
4238
  "name": "input",
@@ -3294,15 +4241,15 @@
3294
4241
  },
3295
4242
  {
3296
4243
  "name": "update:value",
3297
- "type": "CustomEvent<number | RadioItem | string>",
3298
- "description": "v-model contract event fired on selection, carrying the selected item's\nvalue — or the whole item object when `return-object` is set."
4244
+ "type": "CustomEvent<string>",
4245
+ "description": "v-model contract event fired on selection, carrying the selected radio's\nvalue."
3299
4246
  }
3300
4247
  ]
3301
4248
  }
3302
4249
  },
3303
4250
  {
3304
4251
  "name": "c-select",
3305
- "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",
4252
+ "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",
3306
4253
  "doc-url": "",
3307
4254
  "attributes": [
3308
4255
  {
@@ -3355,6 +4302,16 @@
3355
4302
  "description": "Show loading state",
3356
4303
  "value": { "type": "boolean", "default": "false" }
3357
4304
  },
4305
+ {
4306
+ "name": "max-tags",
4307
+ "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",
4308
+ "value": { "type": "number" }
4309
+ },
4310
+ {
4311
+ "name": "multiple",
4312
+ "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",
4313
+ "value": { "type": "boolean", "default": "false" }
4314
+ },
3358
4315
  {
3359
4316
  "name": "name",
3360
4317
  "description": "Input field name",
@@ -3380,6 +4337,11 @@
3380
4337
  "description": "Return object instead of value",
3381
4338
  "value": { "type": "boolean", "default": "false" }
3382
4339
  },
4340
+ {
4341
+ "name": "select-all",
4342
+ "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",
4343
+ "value": { "type": "boolean", "default": "false" }
4344
+ },
3383
4345
  {
3384
4346
  "name": "shadow",
3385
4347
  "description": "Shadow variant",
@@ -3387,21 +4349,13 @@
3387
4349
  },
3388
4350
  {
3389
4351
  "name": "size",
3390
- "description": "Field height: the 44px default or the 36px `small` box",
4352
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
3391
4353
  "value": { "type": "'default' | 'small'", "default": "'default'" }
3392
4354
  },
3393
4355
  {
3394
4356
  "name": "valid",
3395
4357
  "description": "Set the validity of the input",
3396
4358
  "value": { "type": "boolean", "default": "true" }
3397
- },
3398
- {
3399
- "name": "value",
3400
- "description": "Selected value (scalar, or object when return-object is set)",
3401
- "value": {
3402
- "type": "CSelectItem | null | number | string",
3403
- "default": "null"
3404
- }
3405
4359
  }
3406
4360
  ],
3407
4361
  "slots": [
@@ -3418,8 +4372,8 @@
3418
4372
  "events": [
3419
4373
  {
3420
4374
  "name": "changeValue",
3421
- "type": "CustomEvent<CSelectItem | null | number | string>",
3422
- "description": "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."
4375
+ "type": "CustomEvent<CSelectValue>",
4376
+ "description": "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."
3423
4377
  },
3424
4378
  {
3425
4379
  "name": "input",
@@ -3428,7 +4382,7 @@
3428
4382
  },
3429
4383
  {
3430
4384
  "name": "update:value",
3431
- "type": "CustomEvent<CSelectItem | null | number | string>",
4385
+ "type": "CustomEvent<CSelectValue>",
3432
4386
  "description": "Fired alongside `changeValue` with the same detail — the `v-model`\ncontract."
3433
4387
  }
3434
4388
  ],
@@ -3489,6 +4443,16 @@
3489
4443
  "description": "Show loading state",
3490
4444
  "type": "boolean"
3491
4445
  },
4446
+ {
4447
+ "name": "maxTags",
4448
+ "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",
4449
+ "type": "number"
4450
+ },
4451
+ {
4452
+ "name": "multiple",
4453
+ "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",
4454
+ "type": "boolean"
4455
+ },
3492
4456
  {
3493
4457
  "name": "name",
3494
4458
  "description": "Input field name",
@@ -3514,6 +4478,11 @@
3514
4478
  "description": "Return object instead of value",
3515
4479
  "type": "boolean"
3516
4480
  },
4481
+ {
4482
+ "name": "selectAll",
4483
+ "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",
4484
+ "type": "boolean"
4485
+ },
3517
4486
  {
3518
4487
  "name": "shadow",
3519
4488
  "description": "Shadow variant",
@@ -3521,9 +4490,14 @@
3521
4490
  },
3522
4491
  {
3523
4492
  "name": "size",
3524
- "description": "Field height: the 44px default or the 36px `small` box",
4493
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
3525
4494
  "type": "'default' | 'small'"
3526
4495
  },
4496
+ {
4497
+ "name": "texts",
4498
+ "description": "UI text overrides (i18n), merged over the English defaults. Objects have\nno attribute form — bind as a DOM property (`:texts.prop` in Vue)",
4499
+ "type": "CSelectTexts"
4500
+ },
3527
4501
  {
3528
4502
  "name": "valid",
3529
4503
  "description": "Set the validity of the input",
@@ -3531,15 +4505,15 @@
3531
4505
  },
3532
4506
  {
3533
4507
  "name": "value",
3534
- "description": "Selected value (scalar, or object when return-object is set)",
3535
- "type": "CSelectItem | null | number | string"
4508
+ "description": "Selected value: the option's value, or the whole item with\n`return-object`; an array of them in `multiple` mode",
4509
+ "type": "CSelectValue"
3536
4510
  }
3537
4511
  ],
3538
4512
  "events": [
3539
4513
  {
3540
4514
  "name": "changeValue",
3541
- "type": "CustomEvent<CSelectItem | null | number | string>",
3542
- "description": "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."
4515
+ "type": "CustomEvent<CSelectValue>",
4516
+ "description": "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."
3543
4517
  },
3544
4518
  {
3545
4519
  "name": "input",
@@ -3548,7 +4522,7 @@
3548
4522
  },
3549
4523
  {
3550
4524
  "name": "update:value",
3551
- "type": "CustomEvent<CSelectItem | null | number | string>",
4525
+ "type": "CustomEvent<CSelectValue>",
3552
4526
  "description": "Fired alongside `changeValue` with the same detail — the `v-model`\ncontract."
3553
4527
  }
3554
4528
  ]
@@ -3556,7 +4530,7 @@
3556
4530
  },
3557
4531
  {
3558
4532
  "name": "c-side-navigation",
3559
- "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",
4533
+ "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",
3560
4534
  "doc-url": "",
3561
4535
  "attributes": [
3562
4536
  {
@@ -3571,8 +4545,14 @@
3571
4545
  }
3572
4546
  ],
3573
4547
  "slots": [
3574
- { "name": "default", "description": "Default slot" },
3575
- { "name": "bottom", "description": "Place items at the bottom" }
4548
+ {
4549
+ "name": "default",
4550
+ "description": "The navigation items: titles, items and their sub-items"
4551
+ },
4552
+ {
4553
+ "name": "bottom",
4554
+ "description": "Trailing content below the items, such as a sign-out button; it stays at the drawer's bottom edge while the items scroll"
4555
+ }
3576
4556
  ],
3577
4557
  "events": [
3578
4558
  {
@@ -3891,7 +4871,7 @@
3891
4871
  },
3892
4872
  {
3893
4873
  "name": "c-spinner",
3894
- "description": "\n---\n\n\n### **CSS Parts:**\n - **root** - The `<svg>` element that draws the spinning circle",
4874
+ "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",
3895
4875
  "doc-url": "",
3896
4876
  "attributes": [
3897
4877
  {
@@ -4084,7 +5064,7 @@
4084
5064
  },
4085
5065
  {
4086
5066
  "name": "c-switch",
4087
- "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",
5067
+ "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",
4088
5068
  "doc-url": "",
4089
5069
  "attributes": [
4090
5070
  {
@@ -4340,7 +5320,7 @@
4340
5320
  },
4341
5321
  {
4342
5322
  "name": "c-tab-buttons",
4343
- "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",
5323
+ "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",
4344
5324
  "doc-url": "",
4345
5325
  "attributes": [
4346
5326
  {
@@ -4477,7 +5457,7 @@
4477
5457
  },
4478
5458
  {
4479
5459
  "name": "c-table",
4480
- "description": "\n---\n",
5460
+ "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",
4481
5461
  "doc-url": "",
4482
5462
  "attributes": [
4483
5463
  {
@@ -4491,7 +5471,12 @@
4491
5471
  "value": { "type": "boolean", "default": "false" }
4492
5472
  }
4493
5473
  ],
4494
- "slots": [],
5474
+ "slots": [
5475
+ {
5476
+ "name": "default",
5477
+ "description": "The consumer-authored `<table>` element"
5478
+ }
5479
+ ],
4495
5480
  "events": [],
4496
5481
  "js": {
4497
5482
  "properties": [
@@ -4511,7 +5496,7 @@
4511
5496
  },
4512
5497
  {
4513
5498
  "name": "c-tabs",
4514
- "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",
5499
+ "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",
4515
5500
  "doc-url": "",
4516
5501
  "attributes": [
4517
5502
  {
@@ -4607,178 +5592,996 @@
4607
5592
  ],
4608
5593
  "events": [
4609
5594
  {
4610
- "name": "changeValue",
4611
- "type": "CustomEvent<number | string>",
4612
- "description": "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."
4613
- },
4614
- {
4615
- "name": "input",
4616
- "type": "CustomEvent<void>",
4617
- "description": "Native bubbling input event dispatched for plain `v-model` support; carries no detail."
4618
- },
4619
- {
4620
- "name": "update:value",
4621
- "type": "CustomEvent<number | string>",
4622
- "description": "Fired alongside `changeValue` with the newly selected tab value; fulfills\nthe `v-model`/`v-control` contract."
5595
+ "name": "changeValue",
5596
+ "type": "CustomEvent<number | string>",
5597
+ "description": "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."
5598
+ },
5599
+ {
5600
+ "name": "input",
5601
+ "type": "CustomEvent<void>",
5602
+ "description": "Native bubbling input event dispatched for plain `v-model` support; carries no detail."
5603
+ },
5604
+ {
5605
+ "name": "update:value",
5606
+ "type": "CustomEvent<number | string>",
5607
+ "description": "Fired alongside `changeValue` with the newly selected tab value; fulfills\nthe `v-model`/`v-control` contract."
5608
+ }
5609
+ ]
5610
+ }
5611
+ },
5612
+ {
5613
+ "name": "c-tag",
5614
+ "description": "\n---\n\n\n### **Events:**\n - **close** - Fired when the tag's close button is activated.\n\n### **Slots:**\n - **default** - Default slot\n\n### **CSS Parts:**\n - **root** - The tag's visible pill-shaped box",
5615
+ "doc-url": "",
5616
+ "attributes": [
5617
+ {
5618
+ "name": "active",
5619
+ "description": "Mark tag as active",
5620
+ "value": { "type": "boolean", "default": "false" }
5621
+ },
5622
+ {
5623
+ "name": "badge",
5624
+ "description": "Display an optional badge at the start of the tag",
5625
+ "value": { "type": "null | number | string", "default": "null" }
5626
+ },
5627
+ {
5628
+ "name": "closeable",
5629
+ "description": "Mark tag as closeable",
5630
+ "value": { "type": "boolean", "default": "false" }
5631
+ },
5632
+ {
5633
+ "name": "close-label",
5634
+ "description": "Accessible name of the close button rendered when `closeable`",
5635
+ "value": { "type": "string", "default": "'Remove'" }
5636
+ },
5637
+ {
5638
+ "name": "flat",
5639
+ "description": "Remove the hover effect",
5640
+ "value": { "type": "boolean", "default": "false" }
5641
+ },
5642
+ {
5643
+ "name": "size",
5644
+ "description": "Size of the tag",
5645
+ "value": { "type": "'default' | 'small'", "default": "'default'" }
5646
+ }
5647
+ ],
5648
+ "slots": [{ "name": "default", "description": "Default slot" }],
5649
+ "events": [
5650
+ {
5651
+ "name": "close",
5652
+ "type": "CustomEvent<void>",
5653
+ "description": "Fired when the tag's close button is activated."
5654
+ }
5655
+ ],
5656
+ "js": {
5657
+ "properties": [
5658
+ {
5659
+ "name": "active",
5660
+ "description": "Mark tag as active",
5661
+ "type": "boolean"
5662
+ },
5663
+ {
5664
+ "name": "badge",
5665
+ "description": "Display an optional badge at the start of the tag",
5666
+ "type": "null | number | string"
5667
+ },
5668
+ {
5669
+ "name": "closeable",
5670
+ "description": "Mark tag as closeable",
5671
+ "type": "boolean"
5672
+ },
5673
+ {
5674
+ "name": "closeLabel",
5675
+ "description": "Accessible name of the close button rendered when `closeable`",
5676
+ "type": "string"
5677
+ },
5678
+ {
5679
+ "name": "flat",
5680
+ "description": "Remove the hover effect",
5681
+ "type": "boolean"
5682
+ },
5683
+ {
5684
+ "name": "size",
5685
+ "description": "Size of the tag",
5686
+ "type": "'default' | 'small'"
5687
+ }
5688
+ ],
5689
+ "events": [
5690
+ {
5691
+ "name": "close",
5692
+ "type": "CustomEvent<void>",
5693
+ "description": "Fired when the tag's close button is activated."
5694
+ }
5695
+ ]
5696
+ }
5697
+ },
5698
+ {
5699
+ "name": "c-tags",
5700
+ "description": "\n---\n\n\n### **Slots:**\n - **default** - Default slot for the c-tag elements\n\n### **CSS Parts:**\n - **root** - The wrapper stacking the group label above the tags\n- **label** - The group label rendered above the tags\n- **items** - The wrapping row that lays out the slotted tags",
5701
+ "doc-url": "",
5702
+ "attributes": [
5703
+ {
5704
+ "name": "label",
5705
+ "description": "Label of the tag group, shown above the tags",
5706
+ "value": { "type": "string", "default": "''" }
5707
+ },
5708
+ {
5709
+ "name": "required",
5710
+ "description": "Set as required — shows the required marker on the label",
5711
+ "value": { "type": "boolean", "default": "false" }
5712
+ },
5713
+ {
5714
+ "name": "size",
5715
+ "description": "Size of the tags",
5716
+ "value": { "type": "'default' | 'small'", "default": "'default'" }
5717
+ }
5718
+ ],
5719
+ "slots": [
5720
+ {
5721
+ "name": "default",
5722
+ "description": "Default slot for the c-tag elements"
5723
+ }
5724
+ ],
5725
+ "events": [],
5726
+ "js": {
5727
+ "properties": [
5728
+ {
5729
+ "name": "label",
5730
+ "description": "Label of the tag group, shown above the tags",
5731
+ "type": "string"
5732
+ },
5733
+ {
5734
+ "name": "required",
5735
+ "description": "Set as required — shows the required marker on the label",
5736
+ "type": "boolean"
5737
+ },
5738
+ {
5739
+ "name": "size",
5740
+ "description": "Size of the tags",
5741
+ "type": "'default' | 'small'"
5742
+ }
5743
+ ],
5744
+ "events": []
5745
+ }
5746
+ },
5747
+ {
5748
+ "name": "c-text-field",
5749
+ "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",
5750
+ "doc-url": "",
5751
+ "attributes": [
5752
+ {
5753
+ "name": "autocomplete",
5754
+ "description": "HTML input autocomplete",
5755
+ "value": { "type": "string", "default": "''" }
5756
+ },
5757
+ {
5758
+ "name": "autocorrect",
5759
+ "description": "Enable native input autocorrection (Safari). Maps to the input's\n`autocorrect=\"on\"`/`\"off\"` attribute; left unset (browser default per\ninput type) when not specified. Mirrors the platform\n`HTMLElement.autocorrect` boolean.",
5760
+ "value": { "type": "boolean" }
5761
+ },
5762
+ {
5763
+ "name": "automatic-capitalize",
5764
+ "description": "HTML input autocapitalize",
5765
+ "value": {
5766
+ "type": "'characters' | 'none' | 'off' | 'on' | 'sentences' | 'words'"
5767
+ }
5768
+ },
5769
+ {
5770
+ "name": "disabled",
5771
+ "description": "Disable the input",
5772
+ "value": { "type": "boolean", "default": "false" }
5773
+ },
5774
+ {
5775
+ "name": "error-message",
5776
+ "description": "Error message shown in place of the hint while the input is invalid",
5777
+ "value": { "type": "string", "default": "''" }
5778
+ },
5779
+ {
5780
+ "name": "hide-details",
5781
+ "description": "Hide the hint and error messages",
5782
+ "value": { "type": "boolean", "default": "false" }
5783
+ },
5784
+ {
5785
+ "name": "hint",
5786
+ "description": "Hint text for the input",
5787
+ "value": { "type": "string", "default": "''" }
5788
+ },
5789
+ {
5790
+ "name": "host-id",
5791
+ "description": "Id of the input",
5792
+ "value": { "type": "string", "default": "''" }
5793
+ },
5794
+ {
5795
+ "name": "label",
5796
+ "description": "Label of the input",
5797
+ "value": { "type": "string", "default": "''" }
5798
+ },
5799
+ {
5800
+ "name": "label-on-top",
5801
+ "description": "Label on top of the input",
5802
+ "value": { "type": "boolean", "default": "false" }
5803
+ },
5804
+ {
5805
+ "name": "mask",
5806
+ "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",
5807
+ "value": { "type": "string", "default": "''" }
5808
+ },
5809
+ {
5810
+ "name": "max",
5811
+ "description": "Maximum value on a numeric input",
5812
+ "value": { "type": "null | number", "default": "null" }
5813
+ },
5814
+ {
5815
+ "name": "min",
5816
+ "description": "Minimum value on a numeric input",
5817
+ "value": { "type": "null | number", "default": "null" }
5818
+ },
5819
+ {
5820
+ "name": "name",
5821
+ "description": "Name of the input",
5822
+ "value": { "type": "string", "default": "''" }
5823
+ },
5824
+ {
5825
+ "name": "placeholder",
5826
+ "description": "Placeholder of the input",
5827
+ "value": { "type": "string", "default": "''" }
5828
+ },
5829
+ {
5830
+ "name": "readonly",
5831
+ "description": "Mark as readonly",
5832
+ "value": { "type": "boolean", "default": "false" }
5833
+ },
5834
+ {
5835
+ "name": "required",
5836
+ "description": "Set the input as required",
5837
+ "value": { "type": "boolean", "default": "false" }
5838
+ },
5839
+ {
5840
+ "name": "rows",
5841
+ "description": "Rows on the input",
5842
+ "value": { "type": "number", "default": "1" }
5843
+ },
5844
+ {
5845
+ "name": "shadow",
5846
+ "description": "Shadow variant of the input",
5847
+ "value": { "type": "boolean", "default": "false" }
5848
+ },
5849
+ {
5850
+ "name": "size",
5851
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box (single-line fields)",
5852
+ "value": { "type": "'default' | 'small'", "default": "'default'" }
5853
+ },
5854
+ {
5855
+ "name": "step",
5856
+ "description": "Step size on a numeric input",
5857
+ "value": { "type": "null | number", "default": "null" }
5858
+ },
5859
+ {
5860
+ "name": "trim-whitespace",
5861
+ "description": "Trim whitespace from the return value",
5862
+ "value": { "type": "boolean", "default": "false" }
5863
+ },
5864
+ {
5865
+ "name": "type",
5866
+ "description": "Type of the input",
5867
+ "value": {
5868
+ "type": "'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'",
5869
+ "default": "'text'"
5870
+ }
5871
+ },
5872
+ {
5873
+ "name": "valid",
5874
+ "description": "Set the validity of the input",
5875
+ "value": { "type": "boolean", "default": "true" }
5876
+ },
5877
+ {
5878
+ "name": "value",
5879
+ "description": "Value of the input",
5880
+ "value": { "type": "string", "default": "''" }
5881
+ }
5882
+ ],
5883
+ "slots": [
5884
+ { "name": "pre", "description": "Content added before the input" },
5885
+ { "name": "post", "description": "Content added after the input" }
5886
+ ],
5887
+ "events": [
5888
+ {
5889
+ "name": "change",
5890
+ "type": "CustomEvent<void>",
5891
+ "description": "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."
5892
+ },
5893
+ {
5894
+ "name": "changeValue",
5895
+ "type": "CustomEvent<string>",
5896
+ "description": "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."
5897
+ },
5898
+ {
5899
+ "name": "input",
5900
+ "type": "CustomEvent<void>",
5901
+ "description": "Native bubbling input event fired alongside every value change so a\nplain Vue `v-model` works without the `v-control` directive. No detail."
5902
+ },
5903
+ {
5904
+ "name": "update:value",
5905
+ "type": "CustomEvent<string>",
5906
+ "description": "v-model contract event fired on every keystroke (and on native change),\ncarrying the current text — trimmed when `trim-whitespace` is set."
5907
+ }
5908
+ ],
5909
+ "js": {
5910
+ "properties": [
5911
+ {
5912
+ "name": "autocomplete",
5913
+ "description": "HTML input autocomplete",
5914
+ "type": "string"
5915
+ },
5916
+ {
5917
+ "name": "autocorrect",
5918
+ "description": "Enable native input autocorrection (Safari). Maps to the input's\n`autocorrect=\"on\"`/`\"off\"` attribute; left unset (browser default per\ninput type) when not specified. Mirrors the platform\n`HTMLElement.autocorrect` boolean.",
5919
+ "type": "boolean"
5920
+ },
5921
+ {
5922
+ "name": "automaticCapitalize",
5923
+ "description": "HTML input autocapitalize",
5924
+ "type": "'characters' | 'none' | 'off' | 'on' | 'sentences' | 'words'"
5925
+ },
5926
+ {
5927
+ "name": "disabled",
5928
+ "description": "Disable the input",
5929
+ "type": "boolean"
5930
+ },
5931
+ {
5932
+ "name": "errorMessage",
5933
+ "description": "Error message shown in place of the hint while the input is invalid",
5934
+ "type": "string"
5935
+ },
5936
+ {
5937
+ "name": "hideDetails",
5938
+ "description": "Hide the hint and error messages",
5939
+ "type": "boolean"
5940
+ },
5941
+ {
5942
+ "name": "hint",
5943
+ "description": "Hint text for the input",
5944
+ "type": "string"
5945
+ },
5946
+ {
5947
+ "name": "hostId",
5948
+ "description": "Id of the input",
5949
+ "type": "string"
5950
+ },
5951
+ {
5952
+ "name": "label",
5953
+ "description": "Label of the input",
5954
+ "type": "string"
5955
+ },
5956
+ {
5957
+ "name": "labelOnTop",
5958
+ "description": "Label on top of the input",
5959
+ "type": "boolean"
5960
+ },
5961
+ {
5962
+ "name": "mask",
5963
+ "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",
5964
+ "type": "string"
5965
+ },
5966
+ {
5967
+ "name": "max",
5968
+ "description": "Maximum value on a numeric input",
5969
+ "type": "null | number"
5970
+ },
5971
+ {
5972
+ "name": "min",
5973
+ "description": "Minimum value on a numeric input",
5974
+ "type": "null | number"
5975
+ },
5976
+ {
5977
+ "name": "name",
5978
+ "description": "Name of the input",
5979
+ "type": "string"
5980
+ },
5981
+ {
5982
+ "name": "placeholder",
5983
+ "description": "Placeholder of the input",
5984
+ "type": "string"
5985
+ },
5986
+ {
5987
+ "name": "readonly",
5988
+ "description": "Mark as readonly",
5989
+ "type": "boolean"
5990
+ },
5991
+ {
5992
+ "name": "required",
5993
+ "description": "Set the input as required",
5994
+ "type": "boolean"
5995
+ },
5996
+ {
5997
+ "name": "rows",
5998
+ "description": "Rows on the input",
5999
+ "type": "number"
6000
+ },
6001
+ {
6002
+ "name": "shadow",
6003
+ "description": "Shadow variant of the input",
6004
+ "type": "boolean"
6005
+ },
6006
+ {
6007
+ "name": "size",
6008
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box (single-line fields)",
6009
+ "type": "'default' | 'small'"
6010
+ },
6011
+ {
6012
+ "name": "step",
6013
+ "description": "Step size on a numeric input",
6014
+ "type": "null | number"
6015
+ },
6016
+ {
6017
+ "name": "trimWhitespace",
6018
+ "description": "Trim whitespace from the return value",
6019
+ "type": "boolean"
6020
+ },
6021
+ {
6022
+ "name": "type",
6023
+ "description": "Type of the input",
6024
+ "type": "'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'"
6025
+ },
6026
+ {
6027
+ "name": "valid",
6028
+ "description": "Set the validity of the input",
6029
+ "type": "boolean"
6030
+ },
6031
+ {
6032
+ "name": "value",
6033
+ "description": "Value of the input",
6034
+ "type": "string"
6035
+ },
6036
+ {
6037
+ "name": "maskComplete",
6038
+ "description": "Whether a masked field has every mask token filled (always `true` without a mask)",
6039
+ "type": "boolean"
6040
+ },
6041
+ {
6042
+ "name": "unmaskedValue",
6043
+ "description": "The text without the mask's literals: only the characters filling its tokens (the text as is without a mask)",
6044
+ "type": "string"
6045
+ }
6046
+ ],
6047
+ "events": [
6048
+ {
6049
+ "name": "change",
6050
+ "type": "CustomEvent<void>",
6051
+ "description": "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."
6052
+ },
6053
+ {
6054
+ "name": "changeValue",
6055
+ "type": "CustomEvent<string>",
6056
+ "description": "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."
6057
+ },
6058
+ {
6059
+ "name": "input",
6060
+ "type": "CustomEvent<void>",
6061
+ "description": "Native bubbling input event fired alongside every value change so a\nplain Vue `v-model` works without the `v-control` directive. No detail."
6062
+ },
6063
+ {
6064
+ "name": "update:value",
6065
+ "type": "CustomEvent<string>",
6066
+ "description": "v-model contract event fired on every keystroke (and on native change),\ncarrying the current text — trimmed when `trim-whitespace` is set."
6067
+ }
6068
+ ]
6069
+ }
6070
+ },
6071
+ {
6072
+ "name": "c-time-picker",
6073
+ "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",
6074
+ "doc-url": "",
6075
+ "attributes": [
6076
+ {
6077
+ "name": "clearable",
6078
+ "description": "Make the value clearable",
6079
+ "value": { "type": "boolean", "default": "false" }
6080
+ },
6081
+ {
6082
+ "name": "disabled",
6083
+ "description": "Disable the field",
6084
+ "value": { "type": "boolean", "default": "false" }
6085
+ },
6086
+ {
6087
+ "name": "error-message",
6088
+ "description": "Error message shown in place of the hint while the field is invalid",
6089
+ "value": { "type": "string", "default": "''" }
6090
+ },
6091
+ {
6092
+ "name": "format",
6093
+ "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`",
6094
+ "value": { "type": "string", "default": "'HH.mm'" }
6095
+ },
6096
+ {
6097
+ "name": "hide-details",
6098
+ "description": "Hide the hint and error messages",
6099
+ "value": { "type": "boolean", "default": "false" }
6100
+ },
6101
+ {
6102
+ "name": "hint",
6103
+ "description": "Hint text for the field",
6104
+ "value": { "type": "string", "default": "''" }
6105
+ },
6106
+ {
6107
+ "name": "host-id",
6108
+ "description": "Id of the element",
6109
+ "value": { "type": "string", "default": "''" }
6110
+ },
6111
+ {
6112
+ "name": "label",
6113
+ "description": "Element label",
6114
+ "value": { "type": "string", "default": "''" }
6115
+ },
6116
+ {
6117
+ "name": "label-on-top",
6118
+ "description": "Label on top of the field",
6119
+ "value": { "type": "boolean", "default": "false" }
6120
+ },
6121
+ {
6122
+ "name": "max",
6123
+ "description": "The latest time that can be picked or typed, as an ISO `HH:mm` time",
6124
+ "value": { "type": "string", "default": "''" }
6125
+ },
6126
+ {
6127
+ "name": "min",
6128
+ "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",
6129
+ "value": { "type": "string", "default": "''" }
6130
+ },
6131
+ {
6132
+ "name": "minute-step",
6133
+ "description": "Minutes between the minute column's rows; typed times need not fall on\nthe step",
6134
+ "value": { "type": "number", "default": "1" }
6135
+ },
6136
+ {
6137
+ "name": "name",
6138
+ "description": "Input field name",
6139
+ "value": { "type": "string", "default": "''" }
6140
+ },
6141
+ {
6142
+ "name": "placeholder",
6143
+ "description": "Placeholder of the input; the `format` pattern when empty",
6144
+ "value": { "type": "string", "default": "''" }
6145
+ },
6146
+ {
6147
+ "name": "range",
6148
+ "description": "Pick a range: the value becomes `{ start, end }` and the field holds two\ninputs",
6149
+ "value": { "type": "boolean", "default": "false" }
6150
+ },
6151
+ {
6152
+ "name": "required",
6153
+ "description": "Set the field as required",
6154
+ "value": { "type": "boolean", "default": "false" }
6155
+ },
6156
+ {
6157
+ "name": "shadow",
6158
+ "description": "Shadow variant",
6159
+ "value": { "type": "boolean", "default": "false" }
6160
+ },
6161
+ {
6162
+ "name": "show-now",
6163
+ "description": "Show a Now button under the columns that commits the current time",
6164
+ "value": { "type": "boolean", "default": "false" }
6165
+ },
6166
+ {
6167
+ "name": "size",
6168
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
6169
+ "value": { "type": "'default' | 'small'", "default": "'default'" }
6170
+ },
6171
+ {
6172
+ "name": "valid",
6173
+ "description": "Set the validity of the field",
6174
+ "value": { "type": "boolean", "default": "true" }
6175
+ },
6176
+ {
6177
+ "name": "value",
6178
+ "description": "The time as an ISO `HH:mm` string on a 24-hour clock, or `{ start, end }`\nunder `range`; `null` when empty",
6179
+ "value": { "type": "CTimePickerValue", "default": "null" }
6180
+ }
6181
+ ],
6182
+ "slots": [],
6183
+ "events": [
6184
+ {
6185
+ "name": "change",
6186
+ "type": "CustomEvent<CTimePickerValue>",
6187
+ "description": "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`."
6188
+ },
6189
+ {
6190
+ "name": "change:text",
6191
+ "type": "CustomEvent<CTimePickerText>",
6192
+ "description": "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."
6193
+ },
6194
+ {
6195
+ "name": "input",
6196
+ "type": "CustomEvent<void>",
6197
+ "description": "Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail."
6198
+ },
6199
+ {
6200
+ "name": "update:value",
6201
+ "type": "CustomEvent<CTimePickerValue>",
6202
+ "description": "Fired alongside `change` with the same detail — the `v-model` contract."
6203
+ }
6204
+ ],
6205
+ "js": {
6206
+ "properties": [
6207
+ {
6208
+ "name": "clearable",
6209
+ "description": "Make the value clearable",
6210
+ "type": "boolean"
6211
+ },
6212
+ {
6213
+ "name": "disabled",
6214
+ "description": "Disable the field",
6215
+ "type": "boolean"
6216
+ },
6217
+ {
6218
+ "name": "errorMessage",
6219
+ "description": "Error message shown in place of the hint while the field is invalid",
6220
+ "type": "string"
6221
+ },
6222
+ {
6223
+ "name": "format",
6224
+ "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`",
6225
+ "type": "string"
6226
+ },
6227
+ {
6228
+ "name": "hideDetails",
6229
+ "description": "Hide the hint and error messages",
6230
+ "type": "boolean"
6231
+ },
6232
+ {
6233
+ "name": "hint",
6234
+ "description": "Hint text for the field",
6235
+ "type": "string"
6236
+ },
6237
+ {
6238
+ "name": "hostId",
6239
+ "description": "Id of the element",
6240
+ "type": "string"
6241
+ },
6242
+ {
6243
+ "name": "label",
6244
+ "description": "Element label",
6245
+ "type": "string"
6246
+ },
6247
+ {
6248
+ "name": "labelOnTop",
6249
+ "description": "Label on top of the field",
6250
+ "type": "boolean"
6251
+ },
6252
+ {
6253
+ "name": "max",
6254
+ "description": "The latest time that can be picked or typed, as an ISO `HH:mm` time",
6255
+ "type": "string"
6256
+ },
6257
+ {
6258
+ "name": "min",
6259
+ "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",
6260
+ "type": "string"
6261
+ },
6262
+ {
6263
+ "name": "minuteStep",
6264
+ "description": "Minutes between the minute column's rows; typed times need not fall on\nthe step",
6265
+ "type": "number"
6266
+ },
6267
+ {
6268
+ "name": "name",
6269
+ "description": "Input field name",
6270
+ "type": "string"
6271
+ },
6272
+ {
6273
+ "name": "placeholder",
6274
+ "description": "Placeholder of the input; the `format` pattern when empty",
6275
+ "type": "string"
6276
+ },
6277
+ {
6278
+ "name": "range",
6279
+ "description": "Pick a range: the value becomes `{ start, end }` and the field holds two\ninputs",
6280
+ "type": "boolean"
6281
+ },
6282
+ {
6283
+ "name": "required",
6284
+ "description": "Set the field as required",
6285
+ "type": "boolean"
6286
+ },
6287
+ {
6288
+ "name": "shadow",
6289
+ "description": "Shadow variant",
6290
+ "type": "boolean"
6291
+ },
6292
+ {
6293
+ "name": "showNow",
6294
+ "description": "Show a Now button under the columns that commits the current time",
6295
+ "type": "boolean"
6296
+ },
6297
+ {
6298
+ "name": "size",
6299
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
6300
+ "type": "'default' | 'small'"
6301
+ },
6302
+ {
6303
+ "name": "texts",
6304
+ "description": "UI text overrides (i18n), merged over the AM/PM texts `Intl` gives for\nthe page's `lang` and the English defaults. Objects have no attribute\nform — bind as a DOM property",
6305
+ "type": "CTimePickerTexts"
6306
+ },
6307
+ {
6308
+ "name": "valid",
6309
+ "description": "Set the validity of the field",
6310
+ "type": "boolean"
6311
+ },
6312
+ {
6313
+ "name": "value",
6314
+ "description": "The time as an ISO `HH:mm` string on a 24-hour clock, or `{ start, end }`\nunder `range`; `null` when empty",
6315
+ "type": "CTimePickerValue"
6316
+ },
6317
+ {
6318
+ "name": "badInput",
6319
+ "description": "Whether the committed text names no time that can be picked — the value is then `null` (CONTEXT.md \"Bad input\").",
6320
+ "type": "boolean"
6321
+ }
6322
+ ],
6323
+ "events": [
6324
+ {
6325
+ "name": "change",
6326
+ "type": "CustomEvent<CTimePickerValue>",
6327
+ "description": "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`."
6328
+ },
6329
+ {
6330
+ "name": "change:text",
6331
+ "type": "CustomEvent<CTimePickerText>",
6332
+ "description": "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."
6333
+ },
6334
+ {
6335
+ "name": "input",
6336
+ "type": "CustomEvent<void>",
6337
+ "description": "Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail."
6338
+ },
6339
+ {
6340
+ "name": "update:value",
6341
+ "type": "CustomEvent<CTimePickerValue>",
6342
+ "description": "Fired alongside `change` with the same detail — the `v-model` contract."
6343
+ }
6344
+ ]
6345
+ }
6346
+ },
6347
+ {
6348
+ "name": "c-toast",
6349
+ "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",
6350
+ "doc-url": "",
6351
+ "attributes": [
6352
+ {
6353
+ "name": "message",
6354
+ "description": "Messages",
6355
+ "value": { "type": "CToastMessage | null", "default": "null" }
6356
+ }
6357
+ ],
6358
+ "slots": [
6359
+ {
6360
+ "name": "default",
6361
+ "description": "Custom toast content, shown when the message is flagged `custom`"
6362
+ }
6363
+ ],
6364
+ "events": [
6365
+ {
6366
+ "name": "close",
6367
+ "type": "CustomEvent<CToastMessage | null>",
6368
+ "description": "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."
6369
+ }
6370
+ ],
6371
+ "js": {
6372
+ "properties": [
6373
+ {
6374
+ "name": "message",
6375
+ "description": "Messages",
6376
+ "type": "CToastMessage | null"
6377
+ }
6378
+ ],
6379
+ "events": [
6380
+ {
6381
+ "name": "close",
6382
+ "type": "CustomEvent<CToastMessage | null>",
6383
+ "description": "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."
4623
6384
  }
4624
6385
  ]
4625
6386
  }
4626
6387
  },
4627
6388
  {
4628
- "name": "c-tag",
4629
- "description": "\n---\n\n\n### **Events:**\n - **close** - Fired when the tag's close button is activated.\n\n### **Slots:**\n - **default** - Default slot\n\n### **CSS Parts:**\n - **root** - The tag's visible pill-shaped box",
6389
+ "name": "c-toasts",
6390
+ "description": "Toasts are passive, transient notifications — operation results, background progress — stacked and managed by a single `c-toasts` container via its `addToast` / `removeToast` methods.\n---\n\n\n### **Methods:**\n - **addToast()** - Add a new message\n- **removeToast()** - Remove a message by id (id should be specified in the addToast params)\n\n### **Slots:**\n - **default** - Content of a custom toast message, projected into the single `custom`-flagged c-toast\n\n### **CSS Parts:**\n - **root** - The grid container the toast items stack in",
4630
6391
  "doc-url": "",
4631
6392
  "attributes": [
4632
6393
  {
4633
- "name": "active",
4634
- "description": "Mark tag as active",
4635
- "value": { "type": "boolean", "default": "false" }
4636
- },
4637
- {
4638
- "name": "badge",
4639
- "description": "Display an optional badge at the start of the tag",
4640
- "value": { "type": "null | number | string", "default": "null" }
4641
- },
4642
- {
4643
- "name": "closeable",
4644
- "description": "Mark tag as closeable",
6394
+ "name": "absolute",
6395
+ "description": "Use absolute positioning",
4645
6396
  "value": { "type": "boolean", "default": "false" }
4646
6397
  },
4647
6398
  {
4648
- "name": "flat",
4649
- "description": "Remove the hover effect",
4650
- "value": { "type": "boolean", "default": "false" }
6399
+ "name": "horizontal",
6400
+ "description": "Horizontal position",
6401
+ "value": {
6402
+ "type": "'center' | 'left' | 'right'",
6403
+ "default": "'center'"
6404
+ }
4651
6405
  },
4652
6406
  {
4653
- "name": "size",
4654
- "description": "Size of the tag",
4655
- "value": { "type": "'default' | 'small'", "default": "'default'" }
6407
+ "name": "vertical",
6408
+ "description": "Vertical position",
6409
+ "value": { "type": "'bottom' | 'top'", "default": "'bottom'" }
4656
6410
  }
4657
6411
  ],
4658
- "slots": [{ "name": "default", "description": "Default slot" }],
4659
- "events": [
6412
+ "slots": [
4660
6413
  {
4661
- "name": "close",
4662
- "type": "CustomEvent<void>",
4663
- "description": "Fired when the tag's close button is activated."
6414
+ "name": "default",
6415
+ "description": "Content of a custom toast message, projected into the single `custom`-flagged c-toast"
4664
6416
  }
4665
6417
  ],
6418
+ "events": [],
4666
6419
  "js": {
4667
6420
  "properties": [
4668
6421
  {
4669
- "name": "active",
4670
- "description": "Mark tag as active",
4671
- "type": "boolean"
4672
- },
4673
- {
4674
- "name": "badge",
4675
- "description": "Display an optional badge at the start of the tag",
4676
- "type": "null | number | string"
4677
- },
4678
- {
4679
- "name": "closeable",
4680
- "description": "Mark tag as closeable",
6422
+ "name": "absolute",
6423
+ "description": "Use absolute positioning",
4681
6424
  "type": "boolean"
4682
6425
  },
4683
6426
  {
4684
- "name": "flat",
4685
- "description": "Remove the hover effect",
4686
- "type": "boolean"
6427
+ "name": "horizontal",
6428
+ "description": "Horizontal position",
6429
+ "type": "'center' | 'left' | 'right'"
4687
6430
  },
4688
6431
  {
4689
- "name": "size",
4690
- "description": "Size of the tag",
4691
- "type": "'default' | 'small'"
6432
+ "name": "vertical",
6433
+ "description": "Vertical position",
6434
+ "type": "'bottom' | 'top'"
4692
6435
  }
4693
6436
  ],
4694
- "events": [
6437
+ "events": []
6438
+ }
6439
+ },
6440
+ {
6441
+ "name": "c-toolbar",
6442
+ "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`",
6443
+ "doc-url": "",
6444
+ "attributes": [
6445
+ {
6446
+ "name": "static",
6447
+ "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",
6448
+ "value": { "type": "boolean", "default": "false" }
6449
+ }
6450
+ ],
6451
+ "slots": [{ "name": "default", "description": "Content of toolbar" }],
6452
+ "events": [],
6453
+ "js": {
6454
+ "properties": [
4695
6455
  {
4696
- "name": "close",
4697
- "type": "CustomEvent<void>",
4698
- "description": "Fired when the tag's close button is activated."
6456
+ "name": "static",
6457
+ "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",
6458
+ "type": "boolean"
4699
6459
  }
4700
- ]
6460
+ ],
6461
+ "events": []
4701
6462
  }
4702
6463
  },
4703
6464
  {
4704
- "name": "c-tags",
4705
- "description": "\n---\n\n\n### **Slots:**\n - **default** - Default slot for the c-tag elements\n\n### **CSS Parts:**\n - **root** - The wrapper stacking the group label above the tags\n- **label** - The group label rendered above the tags\n- **items** - The wrapping row that lays out the slotted tags",
6465
+ "name": "c-tooltip",
6466
+ "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",
4706
6467
  "doc-url": "",
4707
6468
  "attributes": [
4708
6469
  {
4709
- "name": "label",
4710
- "description": "Label of the tag group, shown above the tags",
4711
- "value": { "type": "string", "default": "''" }
6470
+ "name": "delay",
6471
+ "description": "Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\nshows the tooltip immediately, regardless of this value. Defaults to\n`400`.",
6472
+ "value": { "type": "number | string", "default": "400" }
4712
6473
  },
4713
6474
  {
4714
- "name": "required",
4715
- "description": "Set as required — shows the required marker on the label",
6475
+ "name": "distance",
6476
+ "description": "Distance from the trigger to the tooltip, in pixels. Defaults to `4`.",
6477
+ "value": { "type": "number | string", "default": "4" }
6478
+ },
6479
+ {
6480
+ "name": "open",
6481
+ "description": "Whether the tooltip is open. Two-way: emits `change:open`.",
4716
6482
  "value": { "type": "boolean", "default": "false" }
4717
6483
  },
4718
6484
  {
4719
- "name": "size",
4720
- "description": "Size of the tags",
4721
- "value": { "type": "'default' | 'small'", "default": "'default'" }
6485
+ "name": "position",
6486
+ "description": "Preferred placement of the tooltip relative to the trigger.",
6487
+ "value": {
6488
+ "type": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'",
6489
+ "default": "'top'"
6490
+ }
6491
+ },
6492
+ {
6493
+ "name": "text",
6494
+ "description": "The tooltip text. Overridden by the `content` slot when that is\npopulated.",
6495
+ "value": { "type": "string", "default": "''" }
6496
+ },
6497
+ {
6498
+ "name": "trigger",
6499
+ "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.",
6500
+ "value": { "type": "HTMLElement | string" }
4722
6501
  }
4723
6502
  ],
4724
6503
  "slots": [
4725
6504
  {
4726
- "name": "default",
4727
- "description": "Default slot for the c-tag elements"
6505
+ "name": "trigger",
6506
+ "description": "The element the tooltip describes (e.g. a c-icon-button)"
6507
+ },
6508
+ {
6509
+ "name": "content",
6510
+ "description": "Formatted tooltip content, overriding the `text` prop; must stay non-interactive (ADR-0033)"
6511
+ }
6512
+ ],
6513
+ "events": [
6514
+ {
6515
+ "name": "change:open",
6516
+ "type": "CustomEvent<boolean>",
6517
+ "description": "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."
4728
6518
  }
4729
6519
  ],
4730
- "events": [],
4731
6520
  "js": {
4732
6521
  "properties": [
4733
6522
  {
4734
- "name": "label",
4735
- "description": "Label of the tag group, shown above the tags",
4736
- "type": "string"
6523
+ "name": "delay",
6524
+ "description": "Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\nshows the tooltip immediately, regardless of this value. Defaults to\n`400`.",
6525
+ "type": "number | string"
4737
6526
  },
4738
6527
  {
4739
- "name": "required",
4740
- "description": "Set as required — shows the required marker on the label",
6528
+ "name": "distance",
6529
+ "description": "Distance from the trigger to the tooltip, in pixels. Defaults to `4`.",
6530
+ "type": "number | string"
6531
+ },
6532
+ {
6533
+ "name": "open",
6534
+ "description": "Whether the tooltip is open. Two-way: emits `change:open`.",
4741
6535
  "type": "boolean"
4742
6536
  },
4743
6537
  {
4744
- "name": "size",
4745
- "description": "Size of the tags",
4746
- "type": "'default' | 'small'"
6538
+ "name": "position",
6539
+ "description": "Preferred placement of the tooltip relative to the trigger.",
6540
+ "type": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
6541
+ },
6542
+ {
6543
+ "name": "text",
6544
+ "description": "The tooltip text. Overridden by the `content` slot when that is\npopulated.",
6545
+ "type": "string"
6546
+ },
6547
+ {
6548
+ "name": "trigger",
6549
+ "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.",
6550
+ "type": "HTMLElement | string"
4747
6551
  }
4748
6552
  ],
4749
- "events": []
6553
+ "events": [
6554
+ {
6555
+ "name": "change:open",
6556
+ "type": "CustomEvent<boolean>",
6557
+ "description": "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."
6558
+ }
6559
+ ]
4750
6560
  }
4751
6561
  },
4752
6562
  {
4753
- "name": "c-text-field",
4754
- "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",
6563
+ "name": "c-tree-select",
6564
+ "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",
4755
6565
  "doc-url": "",
4756
6566
  "attributes": [
4757
6567
  {
4758
- "name": "autocomplete",
4759
- "description": "HTML input autocomplete",
4760
- "value": { "type": "string", "default": "''" }
4761
- },
4762
- {
4763
- "name": "autocorrect",
4764
- "description": "Enable native input autocorrection (Safari). Maps to the input's\n`autocorrect=\"on\"`/`\"off\"` attribute; left unset (browser default per\ninput type) when not specified. Mirrors the platform\n`HTMLElement.autocorrect` boolean.",
4765
- "value": { "type": "boolean" }
6568
+ "name": "allow-branch",
6569
+ "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",
6570
+ "value": { "type": "boolean", "default": "false" }
4766
6571
  },
4767
6572
  {
4768
- "name": "automatic-capitalize",
4769
- "description": "HTML input autocapitalize",
4770
- "value": {
4771
- "type": "'characters' | 'none' | 'off' | 'on' | 'sentences' | 'words'"
4772
- }
6573
+ "name": "clearable",
6574
+ "description": "Make the selected value clearable",
6575
+ "value": { "type": "boolean", "default": "false" }
4773
6576
  },
4774
6577
  {
4775
6578
  "name": "disabled",
4776
- "description": "Disable the input",
6579
+ "description": "Disable the field",
4777
6580
  "value": { "type": "boolean", "default": "false" }
4778
6581
  },
4779
6582
  {
4780
6583
  "name": "error-message",
4781
- "description": "Error message shown in place of the hint while the input is invalid",
6584
+ "description": "Error message shown in place of the hint while the field is invalid",
4782
6585
  "value": { "type": "string", "default": "''" }
4783
6586
  },
4784
6587
  {
@@ -4788,151 +6591,120 @@
4788
6591
  },
4789
6592
  {
4790
6593
  "name": "hint",
4791
- "description": "Hint text for the input",
6594
+ "description": "Hint text for the field",
4792
6595
  "value": { "type": "string", "default": "''" }
4793
6596
  },
4794
6597
  {
4795
6598
  "name": "host-id",
4796
- "description": "Id of the input",
6599
+ "description": "Id of the element",
4797
6600
  "value": { "type": "string", "default": "''" }
4798
6601
  },
6602
+ {
6603
+ "name": "items-per-page",
6604
+ "description": "Items per page before the list scrolls",
6605
+ "value": { "type": "number", "default": "6" }
6606
+ },
4799
6607
  {
4800
6608
  "name": "label",
4801
- "description": "Label of the input",
6609
+ "description": "Element label",
4802
6610
  "value": { "type": "string", "default": "''" }
4803
6611
  },
4804
6612
  {
4805
6613
  "name": "label-on-top",
4806
- "description": "Label on top of the input",
6614
+ "description": "Label on top of the field",
4807
6615
  "value": { "type": "boolean", "default": "false" }
4808
6616
  },
4809
- {
4810
- "name": "max",
4811
- "description": "Maximum value on a numeric input",
4812
- "value": { "type": "null | number", "default": "null" }
4813
- },
4814
- {
4815
- "name": "min",
4816
- "description": "Minimum value on a numeric input",
4817
- "value": { "type": "null | number", "default": "null" }
4818
- },
4819
6617
  {
4820
6618
  "name": "name",
4821
- "description": "Name of the input",
6619
+ "description": "Input field name",
4822
6620
  "value": { "type": "string", "default": "''" }
4823
6621
  },
4824
6622
  {
4825
6623
  "name": "placeholder",
4826
- "description": "Placeholder of the input",
6624
+ "description": "Placeholder for the search input inside the panel",
4827
6625
  "value": { "type": "string", "default": "''" }
4828
6626
  },
4829
- {
4830
- "name": "readonly",
4831
- "description": "Mark as readonly",
4832
- "value": { "type": "boolean", "default": "false" }
4833
- },
4834
6627
  {
4835
6628
  "name": "required",
4836
- "description": "Set the input as required",
6629
+ "description": "Set the field as required",
4837
6630
  "value": { "type": "boolean", "default": "false" }
4838
6631
  },
4839
6632
  {
4840
- "name": "rows",
4841
- "description": "Rows on the input",
4842
- "value": { "type": "number", "default": "1" }
6633
+ "name": "return-object",
6634
+ "description": "Emit the committed item with its path as a `CTreeSelectSelection` instead\nof its value",
6635
+ "value": { "type": "boolean", "default": "false" }
4843
6636
  },
4844
6637
  {
4845
6638
  "name": "shadow",
4846
- "description": "Shadow variant of the input",
6639
+ "description": "Shadow variant",
4847
6640
  "value": { "type": "boolean", "default": "false" }
4848
6641
  },
4849
6642
  {
4850
6643
  "name": "size",
4851
- "description": "Field height: the 44px default or the 36px `small` box (single-line fields)",
6644
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
4852
6645
  "value": { "type": "'default' | 'small'", "default": "'default'" }
4853
6646
  },
4854
- {
4855
- "name": "step",
4856
- "description": "Step size on a numeric input",
4857
- "value": { "type": "null | number", "default": "null" }
4858
- },
4859
- {
4860
- "name": "trim-whitespace",
4861
- "description": "Trim whitespace from the return value",
4862
- "value": { "type": "boolean", "default": "false" }
4863
- },
4864
- {
4865
- "name": "type",
4866
- "description": "Type of the input",
4867
- "value": {
4868
- "type": "'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'",
4869
- "default": "'text'"
4870
- }
4871
- },
4872
6647
  {
4873
6648
  "name": "valid",
4874
- "description": "Set the validity of the input",
6649
+ "description": "Set the validity of the field",
4875
6650
  "value": { "type": "boolean", "default": "true" }
4876
6651
  },
4877
6652
  {
4878
6653
  "name": "value",
4879
- "description": "Value of the input",
4880
- "value": { "type": "string", "default": "''" }
6654
+ "description": "Selected value: the committed item's value, or the `CTreeSelectSelection`\nwith `return-object`; `null` when nothing is selected",
6655
+ "value": { "type": "CTreeSelectValue", "default": "null" }
4881
6656
  }
4882
6657
  ],
4883
- "slots": [
4884
- { "name": "pre", "description": "Content added before the input" },
4885
- { "name": "post", "description": "Content added after the input" }
4886
- ],
6658
+ "slots": [],
4887
6659
  "events": [
4888
6660
  {
4889
6661
  "name": "change",
4890
- "type": "CustomEvent<void>",
4891
- "description": "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."
6662
+ "type": "CustomEvent<CTreeSelectValue>",
6663
+ "description": "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."
4892
6664
  },
4893
6665
  {
4894
- "name": "changeValue",
6666
+ "name": "change:query",
4895
6667
  "type": "CustomEvent<string>",
4896
- "description": "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."
6668
+ "description": "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."
4897
6669
  },
4898
6670
  {
4899
6671
  "name": "input",
4900
6672
  "type": "CustomEvent<void>",
4901
- "description": "Native bubbling input event fired alongside every value change so a\nplain Vue `v-model` works without the `v-control` directive. No detail."
6673
+ "description": "Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail."
4902
6674
  },
4903
6675
  {
4904
6676
  "name": "update:value",
4905
- "type": "CustomEvent<string>",
4906
- "description": "v-model contract event fired on every keystroke (and on native change),\ncarrying the current text — trimmed when `trim-whitespace` is set."
6677
+ "type": "CustomEvent<CTreeSelectValue>",
6678
+ "description": "Fired alongside `change` with the same detail — the `v-model` contract."
4907
6679
  }
4908
6680
  ],
4909
6681
  "js": {
4910
6682
  "properties": [
4911
6683
  {
4912
- "name": "autocomplete",
4913
- "description": "HTML input autocomplete",
4914
- "type": "string"
4915
- },
4916
- {
4917
- "name": "autocorrect",
4918
- "description": "Enable native input autocorrection (Safari). Maps to the input's\n`autocorrect=\"on\"`/`\"off\"` attribute; left unset (browser default per\ninput type) when not specified. Mirrors the platform\n`HTMLElement.autocorrect` boolean.",
6684
+ "name": "allowBranch",
6685
+ "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",
4919
6686
  "type": "boolean"
4920
6687
  },
4921
6688
  {
4922
- "name": "automaticCapitalize",
4923
- "description": "HTML input autocapitalize",
4924
- "type": "'characters' | 'none' | 'off' | 'on' | 'sentences' | 'words'"
6689
+ "name": "clearable",
6690
+ "description": "Make the selected value clearable",
6691
+ "type": "boolean"
4925
6692
  },
4926
6693
  {
4927
6694
  "name": "disabled",
4928
- "description": "Disable the input",
6695
+ "description": "Disable the field",
4929
6696
  "type": "boolean"
4930
6697
  },
4931
6698
  {
4932
6699
  "name": "errorMessage",
4933
- "description": "Error message shown in place of the hint while the input is invalid",
6700
+ "description": "Error message shown in place of the hint while the field is invalid",
4934
6701
  "type": "string"
4935
6702
  },
6703
+ {
6704
+ "name": "filter",
6705
+ "description": "Custom search predicate; receives the item, the query and the item's\nancestors. Functions have no attribute form — bind as a DOM property",
6706
+ "type": "CTreeSelectFilter"
6707
+ },
4936
6708
  {
4937
6709
  "name": "hideDetails",
4938
6710
  "description": "Hide the hint and error messages",
@@ -4940,220 +6712,108 @@
4940
6712
  },
4941
6713
  {
4942
6714
  "name": "hint",
4943
- "description": "Hint text for the input",
6715
+ "description": "Hint text for the field",
4944
6716
  "type": "string"
4945
6717
  },
4946
6718
  {
4947
6719
  "name": "hostId",
4948
- "description": "Id of the input",
6720
+ "description": "Id of the element",
4949
6721
  "type": "string"
4950
6722
  },
6723
+ {
6724
+ "name": "items",
6725
+ "description": "The tree to pick from. Arrays have no attribute form — bind as a DOM\nproperty (`:items.prop` in Vue)",
6726
+ "type": "CTreeSelectItem[]"
6727
+ },
6728
+ {
6729
+ "name": "itemsPerPage",
6730
+ "description": "Items per page before the list scrolls",
6731
+ "type": "number"
6732
+ },
4951
6733
  {
4952
6734
  "name": "label",
4953
- "description": "Label of the input",
6735
+ "description": "Element label",
4954
6736
  "type": "string"
4955
6737
  },
4956
6738
  {
4957
6739
  "name": "labelOnTop",
4958
- "description": "Label on top of the input",
6740
+ "description": "Label on top of the field",
4959
6741
  "type": "boolean"
4960
6742
  },
4961
6743
  {
4962
- "name": "max",
4963
- "description": "Maximum value on a numeric input",
4964
- "type": "null | number"
4965
- },
4966
- {
4967
- "name": "min",
4968
- "description": "Minimum value on a numeric input",
4969
- "type": "null | number"
6744
+ "name": "levelLabels",
6745
+ "description": "Names of the levels, top level first, shown in the panel header; a\nmissing entry falls back to `texts.level(n)`. Arrays have no attribute\nform — bind as a DOM property",
6746
+ "type": "string[]"
4970
6747
  },
4971
6748
  {
4972
6749
  "name": "name",
4973
- "description": "Name of the input",
6750
+ "description": "Input field name",
4974
6751
  "type": "string"
4975
6752
  },
4976
6753
  {
4977
6754
  "name": "placeholder",
4978
- "description": "Placeholder of the input",
6755
+ "description": "Placeholder for the search input inside the panel",
4979
6756
  "type": "string"
4980
6757
  },
4981
- {
4982
- "name": "readonly",
4983
- "description": "Mark as readonly",
4984
- "type": "boolean"
4985
- },
4986
6758
  {
4987
6759
  "name": "required",
4988
- "description": "Set the input as required",
6760
+ "description": "Set the field as required",
4989
6761
  "type": "boolean"
4990
6762
  },
4991
6763
  {
4992
- "name": "rows",
4993
- "description": "Rows on the input",
4994
- "type": "number"
6764
+ "name": "returnObject",
6765
+ "description": "Emit the committed item with its path as a `CTreeSelectSelection` instead\nof its value",
6766
+ "type": "boolean"
4995
6767
  },
4996
6768
  {
4997
6769
  "name": "shadow",
4998
- "description": "Shadow variant of the input",
6770
+ "description": "Shadow variant",
4999
6771
  "type": "boolean"
5000
6772
  },
5001
6773
  {
5002
6774
  "name": "size",
5003
- "description": "Field height: the 44px default or the 36px `small` box (single-line fields)",
6775
+ "description": "Field height: the 52px default (the shared control height) or the 36px `small` box",
5004
6776
  "type": "'default' | 'small'"
5005
6777
  },
5006
6778
  {
5007
- "name": "step",
5008
- "description": "Step size on a numeric input",
5009
- "type": "null | number"
5010
- },
5011
- {
5012
- "name": "trimWhitespace",
5013
- "description": "Trim whitespace from the return value",
5014
- "type": "boolean"
5015
- },
5016
- {
5017
- "name": "type",
5018
- "description": "Type of the input",
5019
- "type": "'date' | 'email' | 'number' | 'password' | 'search' | 'tel' | 'text' | 'url'"
6779
+ "name": "texts",
6780
+ "description": "UI text overrides (i18n), merged over the English defaults. Objects have\nno attribute form — bind as a DOM property (`:texts.prop` in Vue)",
6781
+ "type": "CTreeSelectTexts"
5020
6782
  },
5021
6783
  {
5022
6784
  "name": "valid",
5023
- "description": "Set the validity of the input",
6785
+ "description": "Set the validity of the field",
5024
6786
  "type": "boolean"
5025
6787
  },
5026
6788
  {
5027
6789
  "name": "value",
5028
- "description": "Value of the input",
5029
- "type": "string"
6790
+ "description": "Selected value: the committed item's value, or the `CTreeSelectSelection`\nwith `return-object`; `null` when nothing is selected",
6791
+ "type": "CTreeSelectValue"
5030
6792
  }
5031
6793
  ],
5032
6794
  "events": [
5033
6795
  {
5034
6796
  "name": "change",
5035
- "type": "CustomEvent<void>",
5036
- "description": "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."
6797
+ "type": "CustomEvent<CTreeSelectValue>",
6798
+ "description": "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."
5037
6799
  },
5038
6800
  {
5039
- "name": "changeValue",
6801
+ "name": "change:query",
5040
6802
  "type": "CustomEvent<string>",
5041
- "description": "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."
6803
+ "description": "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."
5042
6804
  },
5043
6805
  {
5044
6806
  "name": "input",
5045
6807
  "type": "CustomEvent<void>",
5046
- "description": "Native bubbling input event fired alongside every value change so a\nplain Vue `v-model` works without the `v-control` directive. No detail."
6808
+ "description": "Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail."
5047
6809
  },
5048
6810
  {
5049
6811
  "name": "update:value",
5050
- "type": "CustomEvent<string>",
5051
- "description": "v-model contract event fired on every keystroke (and on native change),\ncarrying the current text — trimmed when `trim-whitespace` is set."
5052
- }
5053
- ]
5054
- }
5055
- },
5056
- {
5057
- "name": "c-toast",
5058
- "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",
5059
- "doc-url": "",
5060
- "attributes": [
5061
- {
5062
- "name": "message",
5063
- "description": "Messages",
5064
- "value": { "type": "CToastMessage | null", "default": "null" }
5065
- }
5066
- ],
5067
- "slots": [
5068
- {
5069
- "name": "default",
5070
- "description": "Custom toast content, shown when the message is flagged `custom`"
5071
- }
5072
- ],
5073
- "events": [
5074
- {
5075
- "name": "close",
5076
- "type": "CustomEvent<CToastMessage | null>",
5077
- "description": "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."
5078
- }
5079
- ],
5080
- "js": {
5081
- "properties": [
5082
- {
5083
- "name": "message",
5084
- "description": "Messages",
5085
- "type": "CToastMessage | null"
5086
- }
5087
- ],
5088
- "events": [
5089
- {
5090
- "name": "close",
5091
- "type": "CustomEvent<CToastMessage | null>",
5092
- "description": "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."
6812
+ "type": "CustomEvent<CTreeSelectValue>",
6813
+ "description": "Fired alongside `change` with the same detail — the `v-model` contract."
5093
6814
  }
5094
6815
  ]
5095
6816
  }
5096
- },
5097
- {
5098
- "name": "c-toasts",
5099
- "description": "Toasts are passive, transient notifications — operation results, background progress — stacked and managed by a single `c-toasts` container via its `addToast` / `removeToast` methods.\n---\n\n\n### **Methods:**\n - **addToast()** - Add a new message\n- **removeToast()** - Remove a message by id (id should be specified in the addToast params)\n\n### **Slots:**\n - **default** - Content of a custom toast message, projected into the single `custom`-flagged c-toast\n\n### **CSS Parts:**\n - **root** - The grid container the toast items stack in",
5100
- "doc-url": "",
5101
- "attributes": [
5102
- {
5103
- "name": "absolute",
5104
- "description": "Use absolute positioning",
5105
- "value": { "type": "boolean", "default": "false" }
5106
- },
5107
- {
5108
- "name": "horizontal",
5109
- "description": "Horizontal position",
5110
- "value": {
5111
- "type": "'center' | 'left' | 'right'",
5112
- "default": "'center'"
5113
- }
5114
- },
5115
- {
5116
- "name": "vertical",
5117
- "description": "Vertical position",
5118
- "value": { "type": "'bottom' | 'top'", "default": "'bottom'" }
5119
- }
5120
- ],
5121
- "slots": [
5122
- {
5123
- "name": "default",
5124
- "description": "Content of a custom toast message, projected into the single `custom`-flagged c-toast"
5125
- }
5126
- ],
5127
- "events": [],
5128
- "js": {
5129
- "properties": [
5130
- {
5131
- "name": "absolute",
5132
- "description": "Use absolute positioning",
5133
- "type": "boolean"
5134
- },
5135
- {
5136
- "name": "horizontal",
5137
- "description": "Horizontal position",
5138
- "type": "'center' | 'left' | 'right'"
5139
- },
5140
- {
5141
- "name": "vertical",
5142
- "description": "Vertical position",
5143
- "type": "'bottom' | 'top'"
5144
- }
5145
- ],
5146
- "events": []
5147
- }
5148
- },
5149
- {
5150
- "name": "c-toolbar",
5151
- "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",
5152
- "doc-url": "",
5153
- "attributes": [],
5154
- "slots": [{ "name": "default", "description": "Content of toolbar" }],
5155
- "events": [],
5156
- "js": { "properties": [], "events": [] }
5157
6817
  }
5158
6818
  ]
5159
6819
  },
@@ -5162,64 +6822,151 @@
5162
6822
  {
5163
6823
  "name": "--c-font-family",
5164
6824
  "description": "Font stack applied to the label (native buttons do not inherit it)."
6825
+ },
6826
+ {
6827
+ "name": "--c-main-viewport-height",
6828
+ "description": "Height of the scroll viewport the layout pins against (default `100dvh`); a bounded shell with its own scrollbar sets it to its box height"
5165
6829
  }
5166
6830
  ],
5167
6831
  "pseudo-elements": [
5168
6832
  {
5169
- "name": "part(root)",
5170
- "description": "The outer wrapper stacking the accordion items vertically"
6833
+ "name": "part(root)",
6834
+ "description": "The outer wrapper stacking the accordion items vertically"
6835
+ },
6836
+ {
6837
+ "name": "part(root)",
6838
+ "description": "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"
6839
+ },
6840
+ {
6841
+ "name": "part(header)",
6842
+ "description": "The toggle button row containing the icon, heading and indicator"
6843
+ },
6844
+ {
6845
+ "name": "part(indicator)",
6846
+ "description": "The rotating chevron at the end of the header"
6847
+ },
6848
+ {
6849
+ "name": "part(content)",
6850
+ "description": "The padded card around the slotted content inside the collapsing region"
6851
+ },
6852
+ {
6853
+ "name": "part(root)",
6854
+ "description": "The tinted box carrying the type's wash, hairline border and accent edge"
6855
+ },
6856
+ { "name": "part(icon)", "description": "The status icon svg" },
6857
+ {
6858
+ "name": "part(content)",
6859
+ "description": "The wrapper around the heading and message content"
6860
+ },
6861
+ {
6862
+ "name": "part(heading)",
6863
+ "description": "The heading paragraph rendered from the `heading` prop"
6864
+ },
6865
+ {
6866
+ "name": "part(dismiss)",
6867
+ "description": "The dismiss button rendered when `dismissible` is set"
6868
+ },
6869
+ {
6870
+ "name": "part(panel)",
6871
+ "description": "The top-layer popover container anchored below the field"
6872
+ },
6873
+ {
6874
+ "name": "part(card)",
6875
+ "description": "The elevated surface inside the panel holding the search row and the list"
6876
+ },
6877
+ {
6878
+ "name": "part(heading-row)",
6879
+ "description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
6880
+ },
6881
+ {
6882
+ "name": "part(heading)",
6883
+ "description": "The field label naming the fullscreen panel"
6884
+ },
6885
+ {
6886
+ "name": "part(close)",
6887
+ "description": "The close button of the fullscreen panel"
6888
+ },
6889
+ {
6890
+ "name": "part(search)",
6891
+ "description": "The search-input row at the top of the panel"
6892
+ },
6893
+ {
6894
+ "name": "part(list)",
6895
+ "description": "The scrollable options listbox"
6896
+ },
6897
+ { "name": "part(item)", "description": "One option row in the list" },
6898
+ {
6899
+ "name": "part(select-all)",
6900
+ "description": "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"
6901
+ },
6902
+ {
6903
+ "name": "part(indicator)",
6904
+ "description": "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)"
6905
+ },
6906
+ {
6907
+ "name": "part(mark)",
6908
+ "description": "The check glyph inside a row indicator; draws with `currentColor`"
5171
6909
  },
5172
6910
  {
5173
- "name": "part(root)",
5174
- "description": "The outer wrapper of the item, carries the rounding and the outline when outlined"
6911
+ "name": "part(match)",
6912
+ "description": "A run of an option's label equal to the query, in the row; underlined in the primary colour, text inherits the row"
5175
6913
  },
5176
6914
  {
5177
- "name": "part(header)",
5178
- "description": "The toggle button row containing the icon, heading and indicator"
6915
+ "name": "part(info)",
6916
+ "description": "The info row: loading while `loading` with an empty list, otherwise no-results when the query matches no options"
5179
6917
  },
5180
6918
  {
5181
- "name": "part(indicator)",
5182
- "description": "The rotating chevron at the end of the header"
6919
+ "name": "part(tags)",
6920
+ "description": "The row of selected-value tags inside the field (`multiple` mode)"
5183
6921
  },
5184
6922
  {
5185
- "name": "part(content)",
5186
- "description": "The padded wrapper around the slotted content inside the collapsing region"
6923
+ "name": "part(tag)",
6924
+ "description": "One selected-value tag: the `c-tag` host, including the overflow tag"
6925
+ },
6926
+ {
6927
+ "name": "part(tag-root)",
6928
+ "description": "The pill box inside each tag (the `c-tag` `root` part), for colours and borders"
5187
6929
  },
5188
6930
  {
5189
6931
  "name": "part(root)",
5190
- "description": "The outer bordered box carrying the type's accent color"
6932
+ "description": "The badge pill itself, absolutely positioned at the top right corner of its parent"
5191
6933
  },
5192
6934
  {
5193
- "name": "part(icon)",
5194
- "description": "The status icon svg shown for the error/info/success/warning types"
6935
+ "name": "part(root)",
6936
+ "description": "The `<nav>` landmark; it takes the full width it is given and folds the crumbs to fit it"
5195
6937
  },
6938
+ { "name": "part(list)", "description": "The one-line list of crumbs" },
5196
6939
  {
5197
- "name": "part(content)",
5198
- "description": "The wrapper around the slotted title and message content"
6940
+ "name": "part(separator)",
6941
+ "description": "The chevron before the fold button"
6942
+ },
6943
+ {
6944
+ "name": "part(fold-button)",
6945
+ "description": "The \"…\" button standing in for the folded crumbs"
5199
6946
  },
5200
6947
  {
5201
6948
  "name": "part(panel)",
5202
- "description": "The top-layer popover container anchored below the field"
6949
+ "description": "The top-layer popover holding the fold panel, anchored below the fold button"
5203
6950
  },
5204
6951
  {
5205
- "name": "part(card)",
5206
- "description": "The elevated surface inside the panel holding the search row and the list"
6952
+ "name": "part(panel-list)",
6953
+ "description": "The fold panel's list surface holding the folded crumbs"
5207
6954
  },
5208
6955
  {
5209
- "name": "part(search)",
5210
- "description": "The search-input row at the top of the panel"
6956
+ "name": "part(root)",
6957
+ "description": "The list item holding the separator and the crumb; in the fold panel, the row"
5211
6958
  },
5212
6959
  {
5213
- "name": "part(list)",
5214
- "description": "The scrollable options listbox"
6960
+ "name": "part(separator)",
6961
+ "description": "The chevron before every crumb but the first, hidden in the fold panel"
5215
6962
  },
5216
6963
  {
5217
- "name": "part(info)",
5218
- "description": "The info row: loading while `loading` with an empty list, otherwise no-results when the query matches no options"
6964
+ "name": "part(content)",
6965
+ "description": "The link (or, without `href` and on the current crumb, the text) holding the icon and label"
5219
6966
  },
5220
6967
  {
5221
- "name": "part(root)",
5222
- "description": "The badge pill itself, absolutely positioned at the top right corner of its parent"
6968
+ "name": "part(label)",
6969
+ "description": "The label text, truncated with an ellipsis when the breadcrumb runs out of room"
5223
6970
  },
5224
6971
  {
5225
6972
  "name": "part(root)",
@@ -5235,7 +6982,7 @@
5235
6982
  },
5236
6983
  {
5237
6984
  "name": "part(root)",
5238
- "description": "The segmented-control box that frames the buttons"
6985
+ "description": "The track: the framed segmented-control box the buttons sit in"
5239
6986
  },
5240
6987
  {
5241
6988
  "name": "part(label)",
@@ -5243,7 +6990,7 @@
5243
6990
  },
5244
6991
  {
5245
6992
  "name": "part(root)",
5246
- "description": "The card's visible surface, carries the background, border, radius, shadow and section spacing"
6993
+ "description": "The card's visible surface, carries the background and its ink, border, radius, shadow and section spacing"
5247
6994
  },
5248
6995
  {
5249
6996
  "name": "part(fullscreen-toggle)",
@@ -5291,7 +7038,11 @@
5291
7038
  },
5292
7039
  {
5293
7040
  "name": "part(indicator)",
5294
- "description": "The circular ripple surface holding the checkbox box and checkmark"
7041
+ "description": "The checkbox box itself — the bordered square that fills when checked; border, fill and the keyboard focus ring (its `::before`) all draw with `currentColor`, so `color` recolours them together"
7042
+ },
7043
+ {
7044
+ "name": "part(mark)",
7045
+ "description": "The SVG check / indeterminate glyph revealed inside the indicator; draws with `currentColor`, so `color` recolours it"
5295
7046
  },
5296
7047
  {
5297
7048
  "name": "part(content)",
@@ -5343,6 +7094,111 @@
5343
7094
  "name": "part(pagination)",
5344
7095
  "description": "The pagination bar below the table"
5345
7096
  },
7097
+ {
7098
+ "name": "part(input)",
7099
+ "description": "The text input; under `range` both the start and the end input"
7100
+ },
7101
+ {
7102
+ "name": "part(separator)",
7103
+ "description": "The dash between the start and end inputs under `range`"
7104
+ },
7105
+ {
7106
+ "name": "part(panel)",
7107
+ "description": "The top-layer popover container anchored below the field"
7108
+ },
7109
+ {
7110
+ "name": "part(card)",
7111
+ "description": "The dialog surface inside the panel holding the header and the calendar body"
7112
+ },
7113
+ {
7114
+ "name": "part(heading-row)",
7115
+ "description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
7116
+ },
7117
+ {
7118
+ "name": "part(heading)",
7119
+ "description": "The field label naming the fullscreen panel"
7120
+ },
7121
+ {
7122
+ "name": "part(close)",
7123
+ "description": "The close button of the fullscreen panel"
7124
+ },
7125
+ {
7126
+ "name": "part(header)",
7127
+ "description": "The row of month and year controls above the calendar body"
7128
+ },
7129
+ {
7130
+ "name": "part(previous-month)",
7131
+ "description": "The arrow to the previous month"
7132
+ },
7133
+ {
7134
+ "name": "part(next-month)",
7135
+ "description": "The arrow to the next month"
7136
+ },
7137
+ {
7138
+ "name": "part(month-button)",
7139
+ "description": "The button showing the displayed month that opens the month list"
7140
+ },
7141
+ {
7142
+ "name": "part(previous-year)",
7143
+ "description": "The arrow to the same month a year earlier"
7144
+ },
7145
+ {
7146
+ "name": "part(next-year)",
7147
+ "description": "The arrow to the same month a year later"
7148
+ },
7149
+ {
7150
+ "name": "part(year-button)",
7151
+ "description": "The button showing the displayed year that opens the year list"
7152
+ },
7153
+ {
7154
+ "name": "part(grid)",
7155
+ "description": "The day grid of the displayed month"
7156
+ },
7157
+ {
7158
+ "name": "part(weekday)",
7159
+ "description": "A weekday column head in the grid"
7160
+ },
7161
+ {
7162
+ "name": "part(week-number)",
7163
+ "description": "An ISO week number beside a grid row (`show-week-numbers`)"
7164
+ },
7165
+ { "name": "part(cell)", "description": "One day's cell in the grid" },
7166
+ {
7167
+ "name": "part(day)",
7168
+ "description": "The circle showing a day's number inside its cell"
7169
+ },
7170
+ {
7171
+ "name": "part(range-band)",
7172
+ "description": "The strip joining a range's days behind their circles"
7173
+ },
7174
+ {
7175
+ "name": "part(list)",
7176
+ "description": "The month or year list swapped in for the grid"
7177
+ },
7178
+ {
7179
+ "name": "part(option)",
7180
+ "description": "One month or year in the list"
7181
+ },
7182
+ {
7183
+ "name": "part(step-label)",
7184
+ "description": "The label above the current list under `type=\"month\"`: month or year, and under `range` start or end"
7185
+ },
7186
+ {
7187
+ "name": "part(step-summary)",
7188
+ "description": "A finished step under `type=\"month\"`, its label and pick; pressing it returns to that step"
7189
+ },
7190
+ {
7191
+ "name": "part(actions)",
7192
+ "description": "The row under the calendar body holding the Today button (`show-today`) and, in the fullscreen panel, the Done button"
7193
+ },
7194
+ {
7195
+ "name": "part(today)",
7196
+ "description": "The Today button: picks today, or the current month under `type=\"month\"`"
7197
+ },
7198
+ {
7199
+ "name": "part(done)",
7200
+ "description": "The Done button of the fullscreen panel (narrow viewports): commits what the panel holds and closes"
7201
+ },
5346
7202
  {
5347
7203
  "name": "part(root)",
5348
7204
  "description": "The separator line element itself"
@@ -5351,8 +7207,32 @@
5351
7207
  "name": "part(menu)",
5352
7208
  "description": "The positioned dialog surface holding the field and the list"
5353
7209
  },
7210
+ {
7211
+ "name": "part(heading-row)",
7212
+ "description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
7213
+ },
7214
+ {
7215
+ "name": "part(heading)",
7216
+ "description": "The field label naming the fullscreen panel"
7217
+ },
7218
+ {
7219
+ "name": "part(close)",
7220
+ "description": "The close button of the fullscreen panel"
7221
+ },
5354
7222
  { "name": "part(list)", "description": "The scrolling listbox" },
5355
7223
  { "name": "part(item)", "description": "One option row" },
7224
+ {
7225
+ "name": "part(select-all)",
7226
+ "description": "The pinned select-all row at the top of the list in `multiple` mode; carries the same indicator / mark parts as an option row"
7227
+ },
7228
+ {
7229
+ "name": "part(indicator)",
7230
+ "description": "The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together"
7231
+ },
7232
+ {
7233
+ "name": "part(mark)",
7234
+ "description": "The check glyph inside a row indicator; draws with `currentColor`"
7235
+ },
5356
7236
  {
5357
7237
  "name": "part(root)",
5358
7238
  "description": "The `<svg>` element rendering the icon"
@@ -5460,7 +7340,7 @@
5460
7340
  },
5461
7341
  {
5462
7342
  "name": "part(root)",
5463
- "description": "The main element carrying the page background and dashboard grid layout"
7343
+ "description": "The shell box: it paints the page canvas and is at least a viewport tall; the dashboard grid is laid out inside it"
5464
7344
  },
5465
7345
  {
5466
7346
  "name": "part(trigger)",
@@ -5482,6 +7362,14 @@
5482
7362
  "name": "part(content)",
5483
7363
  "description": "The flex wrapper around the default-slot content"
5484
7364
  },
7365
+ {
7366
+ "name": "part(icon)",
7367
+ "description": "The leading icon rendered from the `icon` prop"
7368
+ },
7369
+ {
7370
+ "name": "part(check)",
7371
+ "description": "The trailing indicator icon shown while the item is active"
7372
+ },
5485
7373
  {
5486
7374
  "name": "part(submenu-panel)",
5487
7375
  "description": "The floating popover holding the submenu"
@@ -5510,6 +7398,15 @@
5510
7398
  "name": "part(root)",
5511
7399
  "description": "The inner c-icon-button carrying the menu icon"
5512
7400
  },
7401
+ { "name": "part(input)", "description": "The text input" },
7402
+ {
7403
+ "name": "part(step-up)",
7404
+ "description": "The button that steps the number up"
7405
+ },
7406
+ {
7407
+ "name": "part(step-down)",
7408
+ "description": "The button that steps the number down"
7409
+ },
5513
7410
  {
5514
7411
  "name": "part(root)",
5515
7412
  "description": "The wrapper laying out the label, the digit inputs and the message"
@@ -5528,7 +7425,7 @@
5528
7425
  },
5529
7426
  {
5530
7427
  "name": "part(scroll-indicator)",
5531
- "description": "The fixed progress bar at the top of the viewport tracking scroll position"
7428
+ "description": "The fixed progress bar at the top of the viewport tracking how far the document is scrolled"
5532
7429
  },
5533
7430
  {
5534
7431
  "name": "part(container)",
@@ -5550,6 +7447,18 @@
5550
7447
  "name": "part(pages)",
5551
7448
  "description": "The `<ul>` list of page buttons and the prev/next controls"
5552
7449
  },
7450
+ {
7451
+ "name": "part(trigger)",
7452
+ "description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
7453
+ },
7454
+ {
7455
+ "name": "part(panel)",
7456
+ "description": "The floating popover surface positioned against the trigger"
7457
+ },
7458
+ {
7459
+ "name": "part(heading)",
7460
+ "description": "The heading rendered from the `heading` prop"
7461
+ },
5553
7462
  {
5554
7463
  "name": "part(root)",
5555
7464
  "description": "The outer flex wrapper around the bar and the details line"
@@ -5564,7 +7473,32 @@
5564
7473
  },
5565
7474
  {
5566
7475
  "name": "part(root)",
5567
- "description": "The radiogroup wrapper element carrying the disabled/error states"
7476
+ "description": "The wrapper around the ring and the centered content"
7477
+ },
7478
+ {
7479
+ "name": "part(track)",
7480
+ "description": "The background ring (SVG circle)"
7481
+ },
7482
+ { "name": "part(bar)", "description": "The value arc (SVG circle)" },
7483
+ {
7484
+ "name": "part(content)",
7485
+ "description": "The centered slot-content wrapper"
7486
+ },
7487
+ {
7488
+ "name": "part(root)",
7489
+ "description": "The `<label>` row wrapping the input, indicator and label content"
7490
+ },
7491
+ {
7492
+ "name": "part(indicator)",
7493
+ "description": "The radio ring itself; the selection dot is its `::after` and the keyboard focus ring its `::before` — all three follow `currentColor`, so `color` recolours the whole indicator, focus ring included"
7494
+ },
7495
+ {
7496
+ "name": "part(content)",
7497
+ "description": "Wrapper around the slotted label content"
7498
+ },
7499
+ {
7500
+ "name": "part(root)",
7501
+ "description": "The radiogroup wrapper element"
5568
7502
  },
5569
7503
  {
5570
7504
  "name": "part(label)",
@@ -5572,16 +7506,28 @@
5572
7506
  },
5573
7507
  {
5574
7508
  "name": "part(items)",
5575
- "description": "The wrapper around the rendered radio button rows"
7509
+ "description": "The container the radios are slotted into"
5576
7510
  },
5577
7511
  {
5578
7512
  "name": "part(message)",
5579
- "description": "The hint/error message line below the radios"
7513
+ "description": "The hint/error message area below the radios (always reserved unless `hide-details`)"
5580
7514
  },
5581
7515
  {
5582
7516
  "name": "part(menu)",
5583
7517
  "description": "The dropdown surface (the positioned dialog) holding the field and the list"
5584
7518
  },
7519
+ {
7520
+ "name": "part(heading-row)",
7521
+ "description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
7522
+ },
7523
+ {
7524
+ "name": "part(heading)",
7525
+ "description": "The field label naming the fullscreen panel"
7526
+ },
7527
+ {
7528
+ "name": "part(close)",
7529
+ "description": "The close button of the fullscreen panel"
7530
+ },
5585
7531
  {
5586
7532
  "name": "part(list)",
5587
7533
  "description": "The scrolling listbox of options"
@@ -5590,7 +7536,34 @@
5590
7536
  "name": "part(item)",
5591
7537
  "description": "One option row in the list. Any `part` attribute set on content inside a slotted `<c-option>` is exported too, so `c-select::part(<name>)` reaches the consumer's own option markup"
5592
7538
  },
5593
- { "name": "part(root)", "description": "The outer drawer container" },
7539
+ {
7540
+ "name": "part(select-all)",
7541
+ "description": "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"
7542
+ },
7543
+ {
7544
+ "name": "part(indicator)",
7545
+ "description": "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)"
7546
+ },
7547
+ {
7548
+ "name": "part(mark)",
7549
+ "description": "The check glyph inside a row indicator; draws with `currentColor`"
7550
+ },
7551
+ {
7552
+ "name": "part(tags)",
7553
+ "description": "The row of selected-value tags inside the field (`multiple` mode)"
7554
+ },
7555
+ {
7556
+ "name": "part(tag)",
7557
+ "description": "One selected-value tag: the `c-tag` host, including the overflow tag"
7558
+ },
7559
+ {
7560
+ "name": "part(tag-root)",
7561
+ "description": "The pill box inside each tag (the `c-tag` `root` part), for colours and borders"
7562
+ },
7563
+ {
7564
+ "name": "part(root)",
7565
+ "description": "The outer drawer container: the item list above the bottom slot's region"
7566
+ },
5594
7567
  {
5595
7568
  "name": "part(nav)",
5596
7569
  "description": "The scrollable `<nav>` element holding the navigation items"
@@ -5699,6 +7672,14 @@
5699
7672
  "name": "part(indicator)",
5700
7673
  "description": "The sliding fill highlighting the active tab"
5701
7674
  },
7675
+ {
7676
+ "name": "part(scroll-back)",
7677
+ "description": "The edge arrow that scrolls an overflowing strip back"
7678
+ },
7679
+ {
7680
+ "name": "part(scroll-forward)",
7681
+ "description": "The edge arrow that scrolls an overflowing strip forward"
7682
+ },
5702
7683
  {
5703
7684
  "name": "part(root)",
5704
7685
  "description": "The panel's padded content wrapper"
@@ -5713,7 +7694,7 @@
5713
7694
  },
5714
7695
  {
5715
7696
  "name": "part(tabs)",
5716
- "description": "The clipping viewport the tab list scrolls inside"
7697
+ "description": "The clipping viewport the tab list scrolls inside, with a margin so a tab's focus ring and a slotted corner badge still paint"
5717
7698
  },
5718
7699
  {
5719
7700
  "name": "part(content)",
@@ -5735,9 +7716,67 @@
5735
7716
  "name": "part(items)",
5736
7717
  "description": "The wrapping row that lays out the slotted tags"
5737
7718
  },
7719
+ {
7720
+ "name": "part(mask-guide)",
7721
+ "description": "The faint rest of the input mask, shown behind the typed text"
7722
+ },
7723
+ {
7724
+ "name": "part(input)",
7725
+ "description": "The text input; under `range` both the start and the end input"
7726
+ },
7727
+ {
7728
+ "name": "part(separator)",
7729
+ "description": "The dash between the start and end inputs under `range`"
7730
+ },
7731
+ {
7732
+ "name": "part(panel)",
7733
+ "description": "The top-layer popover container anchored below the field"
7734
+ },
7735
+ {
7736
+ "name": "part(card)",
7737
+ "description": "The dialog surface inside the panel holding the columns"
7738
+ },
7739
+ {
7740
+ "name": "part(heading-row)",
7741
+ "description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
7742
+ },
7743
+ {
7744
+ "name": "part(heading)",
7745
+ "description": "The field label naming the fullscreen panel"
7746
+ },
7747
+ {
7748
+ "name": "part(close)",
7749
+ "description": "The close button of the fullscreen panel"
7750
+ },
7751
+ {
7752
+ "name": "part(end-switch)",
7753
+ "description": "The Start | End switch above the columns under `range`"
7754
+ },
7755
+ {
7756
+ "name": "part(end-tab)",
7757
+ "description": "One end's button in the end switch"
7758
+ },
7759
+ { "name": "part(columns)", "description": "The row of time columns" },
7760
+ {
7761
+ "name": "part(column)",
7762
+ "description": "One time column: hours, minutes or AM/PM"
7763
+ },
7764
+ { "name": "part(option)", "description": "One row of a time column" },
7765
+ {
7766
+ "name": "part(actions)",
7767
+ "description": "The row under the columns holding the Now button (`show-now`) and, in the fullscreen panel, the Done button"
7768
+ },
7769
+ {
7770
+ "name": "part(now)",
7771
+ "description": "The Now button: commits the current time"
7772
+ },
7773
+ {
7774
+ "name": "part(done)",
7775
+ "description": "The Done button of the fullscreen panel (narrow viewports): commits what the panel holds and closes"
7776
+ },
5738
7777
  {
5739
7778
  "name": "part(root)",
5740
- "description": "The toast's outer box carrying the accent border and shadow"
7779
+ "description": "The toast's outer box: the inverted-surface pill carrying the shadow"
5741
7780
  },
5742
7781
  {
5743
7782
  "name": "part(custom)",
@@ -5749,7 +7788,15 @@
5749
7788
  },
5750
7789
  {
5751
7790
  "name": "part(item)",
5752
- "description": "Row layout of a standard toast: type icon, message body and close button"
7791
+ "description": "Row layout of a standard toast: status badge, message body and dismiss button"
7792
+ },
7793
+ {
7794
+ "name": "part(badge)",
7795
+ "description": "The circular tinted badge holding the status icon"
7796
+ },
7797
+ {
7798
+ "name": "part(dismiss)",
7799
+ "description": "The dismiss button (icon-only, or labelled when the message sets `closeText`)"
5753
7800
  },
5754
7801
  {
5755
7802
  "name": "part(progress)",
@@ -5761,7 +7808,76 @@
5761
7808
  },
5762
7809
  {
5763
7810
  "name": "part(root)",
5764
- "description": "The toolbar bar itself, fixed to the top of the viewport"
7811
+ "description": "The toolbar bar itself: pinned to the top of its scroll container by default, in flow when `static`"
7812
+ },
7813
+ {
7814
+ "name": "part(trigger)",
7815
+ "description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
7816
+ },
7817
+ {
7818
+ "name": "part(panel)",
7819
+ "description": "The floating tooltip bubble positioned against the trigger"
7820
+ },
7821
+ {
7822
+ "name": "part(panel)",
7823
+ "description": "The top-layer popover container anchored below the field"
7824
+ },
7825
+ {
7826
+ "name": "part(card)",
7827
+ "description": "The elevated surface inside the panel holding the search row, the breadcrumb, the header and the list"
7828
+ },
7829
+ {
7830
+ "name": "part(heading-row)",
7831
+ "description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
7832
+ },
7833
+ {
7834
+ "name": "part(heading)",
7835
+ "description": "The field label naming the fullscreen panel"
7836
+ },
7837
+ {
7838
+ "name": "part(close)",
7839
+ "description": "The close button of the fullscreen panel"
7840
+ },
7841
+ {
7842
+ "name": "part(search)",
7843
+ "description": "The search-input row at the top of the panel"
7844
+ },
7845
+ {
7846
+ "name": "part(breadcrumb)",
7847
+ "description": "The breadcrumb navigation naming the browsed level's path"
7848
+ },
7849
+ {
7850
+ "name": "part(crumb)",
7851
+ "description": "One crumb in the breadcrumb: the root crumb, an ancestor, or the collapsed \"…\" crumb"
7852
+ },
7853
+ {
7854
+ "name": "part(header)",
7855
+ "description": "The header line under the breadcrumb: the level to choose and its step counter, or the match count and the \"Browse instead\" control"
7856
+ },
7857
+ {
7858
+ "name": "part(list)",
7859
+ "description": "The scrollable listbox: the level list while browsing, the results while searching"
7860
+ },
7861
+ { "name": "part(item)", "description": "One item row in the list" },
7862
+ {
7863
+ "name": "part(select-branch)",
7864
+ "description": "The pinned select-branch row at the top of a level list inside a branch (`allow-branch`)"
7865
+ },
7866
+ {
7867
+ "name": "part(code)",
7868
+ "description": "An item's code column, in a row and in the closed field"
7869
+ },
7870
+ {
7871
+ "name": "part(path)",
7872
+ "description": "The ancestor path line under a search result's label"
7873
+ },
7874
+ {
7875
+ "name": "part(match)",
7876
+ "description": "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"
7877
+ },
7878
+ {
7879
+ "name": "part(info)",
7880
+ "description": "The no-results row shown when nothing is listed"
5765
7881
  }
5766
7882
  ]
5767
7883
  }