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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/csc-ui.js +6848 -6757
  2. package/dist/custom-elements.json +651 -23
  3. package/dist/docs/c-button/usage.md +40 -2
  4. package/dist/docs/c-card/usage.md +2 -2
  5. package/dist/docs/c-checkbox/usage.md +1 -1
  6. package/dist/docs/c-icon-button/usage.md +19 -7
  7. package/dist/docs/c-link/usage.md +1 -1
  8. package/dist/docs/c-loader/usage.md +3 -2
  9. package/dist/docs/c-otp-input/usage.md +1 -1
  10. package/dist/docs/c-radio-group/usage.md +1 -1
  11. package/dist/docs/c-side-navigation/usage.md +6 -6
  12. package/dist/docs/c-side-navigation-item/usage.md +1 -1
  13. package/dist/docs/c-slider/usage.md +10 -3
  14. package/dist/docs/c-spinner/usage.md +2 -2
  15. package/dist/docs/c-sub-navigation-item/usage.md +1 -1
  16. package/dist/docs/c-toasts/usage.md +7 -3
  17. package/dist/styles/css/tokens.css +13 -9
  18. package/dist/vscode.css-custom-data.json +12 -12
  19. package/dist/vscode.html-custom-data.json +202 -46
  20. package/dist/web-types.json +2118 -496
  21. package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +9 -0
  22. package/dist-types/components/c-button/CButton.vue.d.ts +40 -6
  23. package/dist-types/components/c-card/CCard.vue.d.ts +8 -0
  24. package/dist-types/components/c-checkbox/CCheckbox.vue.d.ts +8 -0
  25. package/dist-types/components/c-color-picker/CColorPicker.vue.d.ts +9 -0
  26. package/dist-types/components/c-date-picker/CDatePicker.vue.d.ts +9 -0
  27. package/dist-types/components/c-file-upload/CFileUpload.vue.d.ts +9 -0
  28. package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +39 -4
  29. package/dist-types/components/c-list-item/CListItem.vue.d.ts +1 -1
  30. package/dist-types/components/c-loader/CLoader.vue.d.ts +7 -0
  31. package/dist-types/components/c-number-field/CNumberField.vue.d.ts +9 -0
  32. package/dist-types/components/c-otp-input/COtpInput.vue.d.ts +8 -0
  33. package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +8 -0
  34. package/dist-types/components/c-select/CSelect.vue.d.ts +9 -0
  35. package/dist-types/components/c-side-navigation-item/CSideNavigationItem.vue.d.ts +17 -1
  36. package/dist-types/components/c-slider/CSlider.vue.d.ts +8 -0
  37. package/dist-types/components/c-spinner/CSpinner.vue.d.ts +7 -0
  38. package/dist-types/components/c-step/CStep.vue.d.ts +1 -1
  39. package/dist-types/components/c-sub-navigation-item/CSubNavigationItem.vue.d.ts +10 -1
  40. package/dist-types/components/c-text-field/CTextField.vue.d.ts +9 -0
  41. package/dist-types/components/c-time-picker/CTimePicker.vue.d.ts +9 -0
  42. package/dist-types/components/c-toasts/CToasts.vue.d.ts +26 -0
  43. package/dist-types/components/c-tree-select/CTreeSelect.vue.d.ts +9 -0
  44. package/dist-types/index.d.ts +3 -3
  45. package/dist-types/shared/appDefaults.d.ts +15 -1
  46. package/dist-types/shared/buttonAppearance.d.ts +20 -0
  47. package/dist-types/shared/buttonVariant.d.ts +5 -0
  48. package/dist-types/tag-name-map.d.ts +299 -70
  49. package/package.json +1 -1
@@ -75,7 +75,7 @@
75
75
  },
76
76
  {
77
77
  "name": "c-autocomplete",
78
- "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** - 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).\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- **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### **Methods:**\n - **focus()** - Focus its combobox, as `focus()` does on a native control: the element renders\nno box of its own to take it.\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- **option** - 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\n- **message** - The hint / error message area below the field (always reserved unless `hide-details`)",
78
+ "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** - 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).\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- **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### **Methods:**\n - **focus()** - Focus its combobox, as `focus()` does on a native control: the element renders\nno box of its own to take it.\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- **option** - 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\n- **message** - The hint / error message area below the field (always reserved unless `hide-message`)",
79
79
  "attributes": [
80
80
  {
81
81
  "name": "clearable",
@@ -99,7 +99,12 @@
99
99
  },
100
100
  {
101
101
  "name": "hide-details",
102
- "description": "Hide the hint and error messages",
102
+ "description": "@deprecated Use `hide-message`.\n\nHide the hint and error messages",
103
+ "values": []
104
+ },
105
+ {
106
+ "name": "hide-message",
107
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
103
108
  "values": []
104
109
  },
105
110
  {
@@ -204,16 +209,26 @@
204
209
  },
205
210
  {
206
211
  "name": "c-button",
207
- "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 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.",
212
+ "description": "Buttons trigger actions — submitting a form, opening a modal, confirming a choice. Use one filled button (the default `appearance`) per view for its main action; other actions use `appearance=\"outlined\"`, `\"ghost\"` or `\"text\"`.\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 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.",
208
213
  "attributes": [
209
214
  {
210
215
  "name": "active",
211
216
  "description": "Pressed (toggle) state — renders the selected look and sets\n`aria-pressed`. Leave unset for regular action buttons: only a\ntrue/false value marks the button as a toggle. Driven by\n`c-button-group` on its slotted buttons.",
212
217
  "values": []
213
218
  },
219
+ {
220
+ "name": "appearance",
221
+ "description": "The button's look: `filled` (unless set) for the main action of a view;\n`outlined` (a primary outline, no fill), `ghost` (a light primary tint)\nor `text` (no fill or outline) for lower emphasis.",
222
+ "values": [
223
+ { "name": "filled" },
224
+ { "name": "ghost" },
225
+ { "name": "outlined" },
226
+ { "name": "text" }
227
+ ]
228
+ },
214
229
  {
215
230
  "name": "danger",
216
- "description": "Danger appearance for a destructive action: the filled button in the error\ncolour; no effect on `outlined`, `ghost` or `text`.",
231
+ "description": "@deprecated Use `variant=\"danger\"`.\n\nDanger look for a destructive action: the error colour.",
217
232
  "values": []
218
233
  },
219
234
  {
@@ -228,7 +243,7 @@
228
243
  },
229
244
  {
230
245
  "name": "ghost",
231
- "description": "Ghost appearance: primary text on a light primary tint, for lower emphasis.",
246
+ "description": "@deprecated Use `appearance=\"ghost\"`.\n\nGhost appearance: primary text on a light primary tint, for lower emphasis.",
232
247
  "values": []
233
248
  },
234
249
  {
@@ -238,7 +253,7 @@
238
253
  },
239
254
  {
240
255
  "name": "inverted",
241
- "description": "Inverted colours for a fixed dark or brand-coloured backdrop: the\n`inverse-*` family, the same in both theme modes. Combines with the other\nappearances.",
256
+ "description": "Inverted colours for a fixed dark or brand-coloured backdrop: the\n`inverse-*` family, the same in both theme modes. Combines with every\nappearance.",
242
257
  "values": []
243
258
  },
244
259
  {
@@ -253,7 +268,7 @@
253
268
  },
254
269
  {
255
270
  "name": "outlined",
256
- "description": "Outlined appearance: a primary outline and text with no fill, for lower\nemphasis.",
271
+ "description": "@deprecated Use `appearance=\"outlined\"`.\n\nOutlined appearance: a primary outline and text with no fill, for lower\nemphasis.",
257
272
  "values": []
258
273
  },
259
274
  {
@@ -272,7 +287,7 @@
272
287
  },
273
288
  {
274
289
  "name": "text",
275
- "description": "Text appearance: primary text with no fill or outline, the lightest look.",
290
+ "description": "@deprecated Use `appearance=\"text\"`.\n\nText appearance: primary text with no fill or outline, the lightest look.",
276
291
  "values": []
277
292
  },
278
293
  {
@@ -288,6 +303,18 @@
288
303
  "name": "value",
289
304
  "description": "The button's value in a `c-button-group`; in `c-tab-buttons`, the `value`\nof the `c-tab-item` panel it shows.",
290
305
  "values": []
306
+ },
307
+ {
308
+ "name": "variant",
309
+ "description": "The button's colour, in every appearance: `primary` unless set (or\nchanged app-wide), `secondary`, `success`, `info`, `warning`, or `danger`\nfor a destructive action.",
310
+ "values": [
311
+ { "name": "danger" },
312
+ { "name": "info" },
313
+ { "name": "primary" },
314
+ { "name": "secondary" },
315
+ { "name": "success" },
316
+ { "name": "warning" }
317
+ ]
291
318
  }
292
319
  ],
293
320
  "references": []
@@ -336,11 +363,16 @@
336
363
  },
337
364
  {
338
365
  "name": "c-card",
339
- "description": "A raised, bordered surface that groups one piece of content — its heading, body and actions — into a single box on the page.\n---\n\n\n### **Methods:**\n - **enterFullscreen()** - Shows the card in the browser's fullscreen mode; does nothing while any\nelement is already fullscreen. Browsers grant it only in response to a\nuser action, so call it from a click handler.\n- **exitFullscreen()** - Returns the card from fullscreen to the page. Ends only the card's own\nfullscreen, never another element's.\n\n### **Slots:**\n - **default** - The card's sections: `c-card-title`, `c-card-content` and `c-card-actions`, in that order\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 round fullscreen toggle button, shown when `fullscreen` is set",
366
+ "description": "A raised, bordered surface that groups one piece of content — its heading, body and actions — into a single box on the page.\n---\n\n\n### **Methods:**\n - **enterFullscreen()** - Shows the card in the browser's fullscreen mode; does nothing while any\nelement is already fullscreen. Browsers grant it only in response to a\nuser action, so call it from a click handler.\n- **exitFullscreen()** - Returns the card from fullscreen to the page. Ends only the card's own\nfullscreen, never another element's.\n\n### **Slots:**\n - **default** - The card's sections: `c-card-title`, `c-card-content` and `c-card-actions`, in that order\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 round fullscreen toggle button, shown when `show-fullscreen` is set",
340
367
  "attributes": [
341
368
  {
342
369
  "name": "fullscreen",
343
- "description": "Shows a toggle button in the card's top-right corner that puts the card\nin the browser's fullscreen mode and back.",
370
+ "description": "@deprecated Use `show-fullscreen`.\n\nShows a toggle button in the card's top-right corner that puts the card\nin the browser's fullscreen mode and back.",
371
+ "values": []
372
+ },
373
+ {
374
+ "name": "show-fullscreen",
375
+ "description": "Show a toggle button in the card's top-right corner that puts the card\nin the browser's fullscreen mode and back.",
344
376
  "values": []
345
377
  }
346
378
  ],
@@ -401,7 +433,7 @@
401
433
  },
402
434
  {
403
435
  "name": "c-checkbox",
404
- "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** - Fired when the user toggles the checkbox, carrying the new value —\n`trueValue` when checked, `falseValue` when unchecked.\n- **input** - Native bubbling input event fired on toggle so a plain Vue `v-model`\nstays in sync. No detail.\n- **update:value** - Fired alongside `change` with the same detail — the `v-model` contract.\n\n### **Methods:**\n - **focus()** - Focus its checkbox, as `focus()` does on a native control: the element renders\nno box of its own to take it.\n\n### **Slots:**\n - **default** - The visible label of the checkbox (fallback when the `label` prop is not set)\n\n### **CSS Parts:**\n - **root** - The outer wrapper containing the checkbox, label and message\n- **label** - The label text or slotted label content beside the box\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- **message** - The hint / error message area below the checkbox (always reserved unless `hide-details`)",
436
+ "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** - Fired when the user toggles the checkbox, carrying the new value —\n`trueValue` when checked, `falseValue` when unchecked.\n- **input** - Native bubbling input event fired on toggle so a plain Vue `v-model`\nstays in sync. No detail.\n- **update:value** - Fired alongside `change` with the same detail — the `v-model` contract.\n\n### **Methods:**\n - **focus()** - Focus its checkbox, as `focus()` does on a native control: the element renders\nno box of its own to take it.\n\n### **Slots:**\n - **default** - The visible label of the checkbox (fallback when the `label` prop is not set)\n\n### **CSS Parts:**\n - **root** - The outer wrapper containing the checkbox, label and message\n- **label** - The label text or slotted label content beside the box\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- **message** - The hint / error message area below the checkbox (always reserved unless `hide-message`)",
405
437
  "attributes": [
406
438
  {
407
439
  "name": "checked",
@@ -425,7 +457,12 @@
425
457
  },
426
458
  {
427
459
  "name": "hide-details",
428
- "description": "Hide the hint and error messages",
460
+ "description": "@deprecated Use `hide-message`.\n\nHide the hint and error messages",
461
+ "values": []
462
+ },
463
+ {
464
+ "name": "hide-message",
465
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
429
466
  "values": []
430
467
  },
431
468
  {
@@ -473,7 +510,7 @@
473
510
  },
474
511
  {
475
512
  "name": "c-color-picker",
476
- "description": "A colour field that takes any typed CSS colour, or opens a panel for picking one: a colour area, hue and alpha sliders, per-channel inputs and swatches — or swatches alone under `swatches-only`.\n---\n\n\n### **Events:**\n - **change** - Fired when the value changes — a pick in the panel, typed text\ncommitted, the field cleared — carrying the colour in the `format`\nnotation, or `null`. A drag on the area or a slider fires it once, on\nrelease.\n- **change:text** - Fired on every commit of typed text (Enter or leaving the input) with the\ntext as typed. Read `badInput` to tell whether it named a colour.\n- **input** - Native bubbling input event dispatched alongside every value change —\neach move of a drag included — so a plain `v-model` stays in sync.\nCarries no detail.\n- **update:value** - Fired with every value change, each move of a drag included — the\n`v-model` contract.\n\n### **Methods:**\n - **focus()** - Focus its input (the readonly combobox under `swatches-only`), as `focus()` does on a native control: the element renders\nno box of its own to take it.\n\n### **CSS Parts:**\n - **input** - The text input; under `swatches-only` the readonly field\n- **value-color** - The value's colour, painted in the colour button or before the swatch-only field's text; pairs with `original-color` and `new-color`\n- **panel** - The top-layer popover container anchored below the field\n- **card** - The dialog surface inside the panel\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- **area** - The saturation × brightness square at the current hue\n- **area-thumb** - The marker of the colour in the area\n- **hue-slider** - The hue slider\n- **alpha-slider** - The alpha slider (`alpha`)\n- **comparison** - The strip of the original colour beside the new one, when the panel opened on a colour\n- **original-color** - The colour the panel opened on; a click restores it\n- **new-color** - The colour the panel holds now\n- **notation-switch** - The HEX | RGB | OKLCH row choosing the channel editor\n- **notation** - One button of the notation switch\n- **channels** - The channel editor: the inputs of one notation\n- **channel** - One channel input\n- **swatches** - The list of swatches\n- **swatch** - One swatch\n- **actions** - The row under the panel body in the fullscreen panel (narrow viewports)\n- **done** - The Done button of the fullscreen panel (narrow viewports): commits what the panel holds and closes\n- **message** - The hint / error message area below the field (always reserved unless `hide-details`)",
513
+ "description": "A colour field that takes any typed CSS colour, or opens a panel for picking one: a colour area, hue and alpha sliders, per-channel inputs and swatches — or swatches alone under `swatches-only`.\n---\n\n\n### **Events:**\n - **change** - Fired when the value changes — a pick in the panel, typed text\ncommitted, the field cleared — carrying the colour in the `format`\nnotation, or `null`. A drag on the area or a slider fires it once, on\nrelease.\n- **change:text** - Fired on every commit of typed text (Enter or leaving the input) with the\ntext as typed. Read `badInput` to tell whether it named a colour.\n- **input** - Native bubbling input event dispatched alongside every value change —\neach move of a drag included — so a plain `v-model` stays in sync.\nCarries no detail.\n- **update:value** - Fired with every value change, each move of a drag included — the\n`v-model` contract.\n\n### **Methods:**\n - **focus()** - Focus its input (the readonly combobox under `swatches-only`), as `focus()` does on a native control: the element renders\nno box of its own to take it.\n\n### **CSS Parts:**\n - **input** - The text input; under `swatches-only` the readonly field\n- **value-color** - The value's colour, painted in the colour button or before the swatch-only field's text; pairs with `original-color` and `new-color`\n- **panel** - The top-layer popover container anchored below the field\n- **card** - The dialog surface inside the panel\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- **area** - The saturation × brightness square at the current hue\n- **area-thumb** - The marker of the colour in the area\n- **hue-slider** - The hue slider\n- **alpha-slider** - The alpha slider (`alpha`)\n- **comparison** - The strip of the original colour beside the new one, when the panel opened on a colour\n- **original-color** - The colour the panel opened on; a click restores it\n- **new-color** - The colour the panel holds now\n- **notation-switch** - The HEX | RGB | OKLCH row choosing the channel editor\n- **notation** - One button of the notation switch\n- **channels** - The channel editor: the inputs of one notation\n- **channel** - One channel input\n- **swatches** - The list of swatches\n- **swatch** - One swatch\n- **actions** - The row under the panel body in the fullscreen panel (narrow viewports)\n- **done** - The Done button of the fullscreen panel (narrow viewports): commits what the panel holds and closes\n- **message** - The hint / error message area below the field (always reserved unless `hide-message`)",
477
514
  "attributes": [
478
515
  {
479
516
  "name": "alpha",
@@ -502,7 +539,12 @@
502
539
  },
503
540
  {
504
541
  "name": "hide-details",
505
- "description": "Hide the hint and error messages",
542
+ "description": "@deprecated Use `hide-message`.\n\nHide the hint and error messages",
543
+ "values": []
544
+ },
545
+ {
546
+ "name": "hide-message",
547
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
506
548
  "values": []
507
549
  },
508
550
  {
@@ -627,7 +669,7 @@
627
669
  },
628
670
  {
629
671
  "name": "c-date-picker",
630
- "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### **Methods:**\n - **focus()** - Focus its input (the start input under `range`), as `focus()` does on a native control: the element renders\nno box of its own to take it.\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\n- **message** - The hint / error message area below the field (always reserved unless `hide-details`)",
672
+ "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### **Methods:**\n - **focus()** - Focus its input (the start input under `range`), as `focus()` does on a native control: the element renders\nno box of its own to take it.\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\n- **message** - The hint / error message area below the field (always reserved unless `hide-message`)",
631
673
  "attributes": [
632
674
  {
633
675
  "name": "clearable",
@@ -664,7 +706,12 @@
664
706
  },
665
707
  {
666
708
  "name": "hide-details",
667
- "description": "Hide the hint and error messages",
709
+ "description": "@deprecated Use `hide-message`.\n\nHide the hint and error messages",
710
+ "values": []
711
+ },
712
+ {
713
+ "name": "hide-message",
714
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
668
715
  "values": []
669
716
  },
670
717
  {
@@ -752,7 +799,7 @@
752
799
  },
753
800
  {
754
801
  "name": "c-file-upload",
755
- "description": "A field the user adds files to by dropping them on it or choosing them from a file dialog — and, given an upload function, the place each file's upload shows its progress.\n---\n\n\n### **Events:**\n - **change** - Fired with the new list of file entries.\n- **input** - Native bubbling input event fired with every value change so a plain Vue\n`v-model` works. No detail.\n- **reject** - Fired after an add that refused files, listing each with its reason —\na type outside `accept`, a file over `max-size`, a file already held,\none beyond `max-files`, or a folder. The refused files never join the\nvalue.\n- **update:value** - v-model contract event, fired with `change`.\n\n### **Methods:**\n - **focus()** - Focus its drop zone's button, as `focus()` does on a native control: the element renders\nno box of its own to take it.\n- **startUploads()** - Queue every `local` file entry for the upload function — how a `manual`\nfield starts; files added after the call wait for the next one. Fires the\nvalue events once when it starts any. Does nothing without an upload function\n\n### **CSS Parts:**\n - **root** - The field: label, drop zone, message line and file list. The whole of it takes a drop\n- **label** - The label above the drop zone\n- **drop-zone** - The dashed drop zone — the large button, or the `compact` row\n- **message** - The hint/error message area under the drop zone (always reserved unless `hide-details`)\n- **list** - The list of file entries and rejected files\n- **entry** - One file entry's row\n- **rejected** - One rejected file's row\n- **progress** - The progress bar along an uploading row's bottom edge",
802
+ "description": "A field the user adds files to by dropping them on it or choosing them from a file dialog — and, given an upload function, the place each file's upload shows its progress.\n---\n\n\n### **Events:**\n - **change** - Fired with the new list of file entries.\n- **input** - Native bubbling input event fired with every value change so a plain Vue\n`v-model` works. No detail.\n- **reject** - Fired after an add that refused files, listing each with its reason —\na type outside `accept`, a file over `max-size`, a file already held,\none beyond `max-files`, or a folder. The refused files never join the\nvalue.\n- **update:value** - v-model contract event, fired with `change`.\n\n### **Methods:**\n - **focus()** - Focus its drop zone's button, as `focus()` does on a native control: the element renders\nno box of its own to take it.\n- **startUploads()** - Queue every `local` file entry for the upload function — how a `manual`\nfield starts; files added after the call wait for the next one. Fires the\nvalue events once when it starts any. Does nothing without an upload function\n\n### **CSS Parts:**\n - **root** - The field: label, drop zone, message line and file list. The whole of it takes a drop\n- **label** - The label above the drop zone\n- **drop-zone** - The dashed drop zone — the large button, or the `compact` row\n- **message** - The hint/error message area under the drop zone (always reserved unless `hide-message`)\n- **list** - The list of file entries and rejected files\n- **entry** - One file entry's row\n- **rejected** - One rejected file's row\n- **progress** - The progress bar along an uploading row's bottom edge",
756
803
  "attributes": [
757
804
  {
758
805
  "name": "accept",
@@ -776,7 +823,12 @@
776
823
  },
777
824
  {
778
825
  "name": "hide-details",
779
- "description": "Hide the hint and error messages",
826
+ "description": "@deprecated Use `hide-message`.\n\nHide the hint and error messages",
827
+ "values": []
828
+ },
829
+ {
830
+ "name": "hide-message",
831
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
780
832
  "values": []
781
833
  },
782
834
  {
@@ -841,6 +893,16 @@
841
893
  "name": "c-icon-button",
842
894
  "description": "An icon-only button: a round native button that shows a single icon and takes its accessible name from an `aria-label` on the element.\n---\n\n\n### **Slots:**\n - **default** - The icon: a `c-icon` or an `<svg>`; it wins over `path`\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 count bubble at the button's top-right corner, shown by `badge`",
843
895
  "attributes": [
896
+ {
897
+ "name": "appearance",
898
+ "description": "The button's look: `filled` (unless set) for the main action; `outlined`\n(a primary outline, no fill), `ghost` (a light primary tint) or `text`\n(no fill or outline) for lower emphasis.",
899
+ "values": [
900
+ { "name": "filled" },
901
+ { "name": "ghost" },
902
+ { "name": "outlined" },
903
+ { "name": "text" }
904
+ ]
905
+ },
844
906
  {
845
907
  "name": "badge",
846
908
  "description": "Count shown in a bubble at the button's top-right corner; hidden while\n`null` or empty, so `0` still shows.",
@@ -848,7 +910,7 @@
848
910
  },
849
911
  {
850
912
  "name": "danger",
851
- "description": "Danger appearance for a destructive action: the filled button in the error\ncolour; no effect on `outlined`, `ghost` or `text`.",
913
+ "description": "@deprecated Use `variant=\"danger\"`.\n\nDanger look for a destructive action: the error colour.",
852
914
  "values": []
853
915
  },
854
916
  {
@@ -858,12 +920,12 @@
858
920
  },
859
921
  {
860
922
  "name": "ghost",
861
- "description": "Ghost appearance: a light primary tint, for lower emphasis.",
923
+ "description": "@deprecated Use `appearance=\"ghost\"`.\n\nGhost appearance: a light primary tint, for lower emphasis.",
862
924
  "values": []
863
925
  },
864
926
  {
865
927
  "name": "inverted",
866
- "description": "Inverted colours for a fixed dark or brand-coloured backdrop: the\n`inverse-*` family, the same in both theme modes. Combines with the other\nappearances.",
928
+ "description": "Inverted colours for a fixed dark or brand-coloured backdrop: the\n`inverse-*` family, the same in both theme modes. Combines with every\nappearance.",
867
929
  "values": []
868
930
  },
869
931
  {
@@ -873,7 +935,7 @@
873
935
  },
874
936
  {
875
937
  "name": "outlined",
876
- "description": "Outlined appearance: a primary outline with no fill, for lower emphasis.",
938
+ "description": "@deprecated Use `appearance=\"outlined\"`.\n\nOutlined appearance: a primary outline with no fill, for lower emphasis.",
877
939
  "values": []
878
940
  },
879
941
  {
@@ -892,8 +954,20 @@
892
954
  },
893
955
  {
894
956
  "name": "text",
895
- "description": "Text appearance: no fill or outline, the lightest look.",
957
+ "description": "@deprecated Use `appearance=\"text\"`.\n\nText appearance: no fill or outline, the lightest look.",
896
958
  "values": []
959
+ },
960
+ {
961
+ "name": "variant",
962
+ "description": "The button's colour, in every appearance: `primary` unless set (or\nchanged app-wide), `secondary`, `success`, `info`, `warning`, or `danger`\nfor a destructive action.",
963
+ "values": [
964
+ { "name": "danger" },
965
+ { "name": "info" },
966
+ { "name": "primary" },
967
+ { "name": "secondary" },
968
+ { "name": "success" },
969
+ { "name": "warning" }
970
+ ]
897
971
  }
898
972
  ],
899
973
  "references": []
@@ -999,9 +1073,14 @@
999
1073
  "description": "The spinner's diameter in pixels.",
1000
1074
  "values": []
1001
1075
  },
1076
+ {
1077
+ "name": "thickness",
1078
+ "description": "The spinner's stroke thickness in pixels: 4 unless set.",
1079
+ "values": []
1080
+ },
1002
1081
  {
1003
1082
  "name": "width",
1004
- "description": "The spinner's stroke width in pixels.",
1083
+ "description": "@deprecated Use `thickness`.\n\nThe spinner's stroke width in pixels.",
1005
1084
  "values": []
1006
1085
  }
1007
1086
  ],
@@ -1284,7 +1363,7 @@
1284
1363
  },
1285
1364
  {
1286
1365
  "name": "c-number-field",
1287
- "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 when the number is committed, carrying it — `null` once the field\nholds no digit: Enter or leaving the field after typing, each arrow-key\nor step-button step, and the release that ends a held step button. Not\nfired when nothing changed since the last commit.\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 whenever typing or a step changes the\nnumber. Not fired when only the text changes (a group separator, a\ntrailing decimal separator) or when `value` is set.\n\n### **Methods:**\n - **focus()** - Focus its input, as `focus()` does on a native control: the element renders\nno box of its own to take it.\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\n- **message** - The hint / error message area below the field (always reserved unless `hide-details`)",
1366
+ "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 when the number is committed, carrying it — `null` once the field\nholds no digit: Enter or leaving the field after typing, each arrow-key\nor step-button step, and the release that ends a held step button. Not\nfired when nothing changed since the last commit.\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 whenever typing or a step changes the\nnumber. Not fired when only the text changes (a group separator, a\ntrailing decimal separator) or when `value` is set.\n\n### **Methods:**\n - **focus()** - Focus its input, as `focus()` does on a native control: the element renders\nno box of its own to take it.\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\n- **message** - The hint / error message area below the field (always reserved unless `hide-message`)",
1288
1367
  "attributes": [
1289
1368
  {
1290
1369
  "name": "decimals",
@@ -1318,7 +1397,12 @@
1318
1397
  },
1319
1398
  {
1320
1399
  "name": "hide-details",
1321
- "description": "Hide the hint and error messages",
1400
+ "description": "@deprecated Use `hide-message`.\n\nHide the hint and error messages",
1401
+ "values": []
1402
+ },
1403
+ {
1404
+ "name": "hide-message",
1405
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
1322
1406
  "values": []
1323
1407
  },
1324
1408
  {
@@ -1427,7 +1511,12 @@
1427
1511
  },
1428
1512
  {
1429
1513
  "name": "hide-details",
1430
- "description": "Hide the hint and error messages",
1514
+ "description": "@deprecated Use `hide-message`.\n\nHide the hint and error messages",
1515
+ "values": []
1516
+ },
1517
+ {
1518
+ "name": "hide-message",
1519
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
1431
1520
  "values": []
1432
1521
  },
1433
1522
  {
@@ -1616,7 +1705,7 @@
1616
1705
  },
1617
1706
  {
1618
1707
  "name": "c-radio-group",
1619
- "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 - **change** - Fired when the user selects a radio, carrying the selected radio's value.\n- **input** - Native bubbling input event fired on selection so a plain Vue `v-model`\nstays in sync. No detail.\n- **update:value** - Fired alongside `change` with the same detail — the `v-model` contract.\n\n### **Methods:**\n - **focus()** - Focus its tab stop: the checked radio, else the first enabled one, as `focus()` does on a native control: the element renders\nno box of its own to take it.\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`)",
1708
+ "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 - **change** - Fired when the user selects a radio, carrying the selected radio's value.\n- **input** - Native bubbling input event fired on selection so a plain Vue `v-model`\nstays in sync. No detail.\n- **update:value** - Fired alongside `change` with the same detail — the `v-model` contract.\n\n### **Methods:**\n - **focus()** - Focus its tab stop: the checked radio, else the first enabled one, as `focus()` does on a native control: the element renders\nno box of its own to take it.\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-message`)",
1620
1709
  "attributes": [
1621
1710
  {
1622
1711
  "name": "disabled",
@@ -1630,7 +1719,12 @@
1630
1719
  },
1631
1720
  {
1632
1721
  "name": "hide-details",
1633
- "description": "Hide the hint and error messages",
1722
+ "description": "@deprecated Use `hide-message`.\n\nHide the hint and error messages",
1723
+ "values": []
1724
+ },
1725
+ {
1726
+ "name": "hide-message",
1727
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
1634
1728
  "values": []
1635
1729
  },
1636
1730
  {
@@ -1664,7 +1758,7 @@
1664
1758
  },
1665
1759
  {
1666
1760
  "name": "c-select",
1667
- "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 - **change** - 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).\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### **Methods:**\n - **focus()** - Focus its combobox, as `focus()` does on a native control: the element renders\nno box of its own to take it.\n\n### **Slots:**\n - **default** - The `c-option` elements the list is built from, as an alternative to `items` (never rendered in place)\n- **pre** - Content inside the field, before the value, such as an icon\n- **post** - Content inside the field, after its own controls (the chevron, clear button or loading spinner)\n\n### **CSS Parts:**\n - **panel** - The positioned dialog holding the field and the list, as on the other value fields\n- **card** - The same dialog as the painted surface: background, radius and shadow, as on the other value fields\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- **option** - 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\n- **message** - The hint / error message area below the field (always reserved unless `hide-details`)",
1761
+ "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 - **change** - 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).\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### **Methods:**\n - **focus()** - Focus its combobox, as `focus()` does on a native control: the element renders\nno box of its own to take it.\n\n### **Slots:**\n - **default** - The `c-option` elements the list is built from, as an alternative to `items` (never rendered in place)\n- **pre** - Content inside the field, before the value, such as an icon\n- **post** - Content inside the field, after its own controls (the chevron, clear button or loading spinner)\n\n### **CSS Parts:**\n - **panel** - The positioned dialog holding the field and the list, as on the other value fields\n- **card** - The same dialog as the painted surface: background, radius and shadow, as on the other value fields\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- **option** - 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\n- **message** - The hint / error message area below the field (always reserved unless `hide-message`)",
1668
1762
  "attributes": [
1669
1763
  {
1670
1764
  "name": "clearable",
@@ -1683,7 +1777,12 @@
1683
1777
  },
1684
1778
  {
1685
1779
  "name": "hide-details",
1686
- "description": "Hide the hint and error messages",
1780
+ "description": "@deprecated Use `hide-message`.\n\nHide the hint and error messages",
1781
+ "values": []
1782
+ },
1783
+ {
1784
+ "name": "hide-message",
1785
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
1687
1786
  "values": []
1688
1787
  },
1689
1788
  {
@@ -1781,11 +1880,21 @@
1781
1880
  },
1782
1881
  {
1783
1882
  "name": "c-side-navigation-item",
1784
- "description": "One entry of a `c-side-navigation`: its label text, after an optional leading `c-icon`, goes in the default slot, and activating it fires `select` with its `value`; with `href` it is a real link, opened in `target`, and without one a button. Write `c-sub-navigation-item` children inside it to make it an expandable parent, whose `active` then means expanded rather than the current page.\n---\n\n\n### **Events:**\n - **select** - Fired when the item is activated (click or Enter), carrying its `value`;\nbubbles out of the navigation, as `c-menu`'s does, so one listener on\n`c-side-navigation` can handle every item.\n\n### **Slots:**\n - **default** - The item's label content (text and an optional c-icon)\n\n### **CSS Parts:**\n - **root** - The outer box wrapping the header and sub-navigation, carrying the background and state styling\n- **header** - The clickable header row (an `<a>` when `href` is set) holding the chevron and label\n- **sub-nav** - The collapsible group holding the sub-items",
1883
+ "description": "One entry of a `c-side-navigation`: its label text, after an optional leading `c-icon`, goes in the default slot, and activating it fires `select` with its `value`; with `href` it is a real link, opened in `target`, and without one a button. Write `c-sub-navigation-item` children inside it to make it an expandable parent, shown open while `expanded`; an item without sub-items marks the page shown with `current`.\n---\n\n\n### **Events:**\n - **select** - Fired when the item is activated (click or Enter), carrying its `value`;\nbubbles out of the navigation, as `c-menu`'s does, so one listener on\n`c-side-navigation` can handle every item.\n\n### **Slots:**\n - **default** - The item's label content (text and an optional c-icon)\n\n### **CSS Parts:**\n - **root** - The outer box wrapping the header and sub-navigation, carrying the background and state styling\n- **header** - The clickable header row (an `<a>` when `href` is set) holding the chevron and label\n- **sub-nav** - The collapsible group holding the sub-items",
1785
1884
  "attributes": [
1786
1885
  {
1787
1886
  "name": "active",
1788
- "description": "On an item without sub-items, mark the current page\n(`aria-current=\"page\"`); on a parent, expand its sub-items.",
1887
+ "description": "@deprecated Use `current` on an item without sub-items and `expanded` on a parent.\n\nOn an item without sub-items, mark the current page\n(`aria-current=\"page\"`); on a parent, expand its sub-items.",
1888
+ "values": []
1889
+ },
1890
+ {
1891
+ "name": "current",
1892
+ "description": "Mark the item as the page shown (`aria-current=\"page\"`), on an item\nwithout sub-items. Bind it from the page your router or the URL shows:\nthe navigation never sets it.",
1893
+ "values": []
1894
+ },
1895
+ {
1896
+ "name": "expanded",
1897
+ "description": "Show a parent item's sub-items. The navigation sets it as parents open\nand close, collapsing the other top-level parents; set it to open one\ninitially.",
1789
1898
  "values": []
1790
1899
  },
1791
1900
  {
@@ -1834,7 +1943,7 @@
1834
1943
  { "name": "label", "description": "Label of the slider", "values": [] },
1835
1944
  {
1836
1945
  "name": "labels",
1837
- "description": "Write a number under the track at each tick mark position, `segments`\napart, formatted like the value bubble's; shown with or without `ticks`",
1946
+ "description": "@deprecated Use `tick-labels`.\n\nWrite a number under the track at each tick mark position, `segments`\napart, formatted like the value bubble's; shown with or without `ticks`",
1838
1947
  "values": []
1839
1948
  },
1840
1949
  { "name": "max", "description": "The largest value.", "values": [] },
@@ -1850,6 +1959,11 @@
1850
1959
  "values": []
1851
1960
  },
1852
1961
  { "name": "step", "description": "Step between values.", "values": [] },
1962
+ {
1963
+ "name": "tick-labels",
1964
+ "description": "Write a number under the track at each tick mark position, `segments`\napart, formatted like the value bubble's; shown with or without `ticks`",
1965
+ "values": []
1966
+ },
1853
1967
  {
1854
1968
  "name": "ticks",
1855
1969
  "description": "Draw tick marks along the track, `segments` apart.",
@@ -1878,9 +1992,14 @@
1878
1992
  "values": []
1879
1993
  },
1880
1994
  { "name": "size", "description": "Diameter in pixels.", "values": [] },
1995
+ {
1996
+ "name": "thickness",
1997
+ "description": "Stroke thickness in pixels: 2 unless set.",
1998
+ "values": []
1999
+ },
1881
2000
  {
1882
2001
  "name": "width",
1883
- "description": "Stroke width in pixels.",
2002
+ "description": "@deprecated Use `thickness`.\n\nStroke width in pixels.",
1884
2003
  "values": []
1885
2004
  }
1886
2005
  ],
@@ -1923,11 +2042,16 @@
1923
2042
  },
1924
2043
  {
1925
2044
  "name": "c-sub-navigation-item",
1926
- "description": "A second-level entry of a `c-side-navigation`, written inside the `c-side-navigation-item` it belongs to (no `slot` attribute needed) and shown while that parent is `active`. Activating it fires `select` with its `value` and closes the mobile drawer. It does not mark itself as the current page: set `active` on the sub-item of the page shown, and on its parent so the parent is expanded.\n---\n\n\n### **Events:**\n - **select** - Fired when the item is activated (click or Enter), carrying its `value`;\nbubbles out of the navigation, as `c-side-navigation-item`'s does.\n\n### **Slots:**\n - **default** - The visible content of the navigation item\n\n### **CSS Parts:**\n - **root** - The focusable menu-item row carrying the hover/active styling and the leading indicator\n- **content** - Wrapper around the slotted content inside the row",
2045
+ "description": "A second-level entry of a `c-side-navigation`, written inside the `c-side-navigation-item` it belongs to (no `slot` attribute needed) and shown while that parent is `expanded`. Activating it fires `select` with its `value` and closes the mobile drawer. It does not mark itself as the current page: set `current` on the sub-item of the page shown, and `expanded` on its parent.\n---\n\n\n### **Events:**\n - **select** - Fired when the item is activated (click or Enter), carrying its `value`;\nbubbles out of the navigation, as `c-side-navigation-item`'s does.\n\n### **Slots:**\n - **default** - The visible content of the navigation item\n\n### **CSS Parts:**\n - **root** - The focusable menu-item row carrying the hover/active styling and the leading indicator\n- **content** - Wrapper around the slotted content inside the row",
1927
2046
  "attributes": [
1928
2047
  {
1929
2048
  "name": "active",
1930
- "description": "Mark the sub-item as the current page (`aria-current=\"page\"`); set `active`\non its parent item too, so the parent is expanded.",
2049
+ "description": "@deprecated Use `current`.\n\nMark the sub-item as the current page (`aria-current=\"page\"`); set `active`\non its parent item too, so the parent is expanded.",
2050
+ "values": []
2051
+ },
2052
+ {
2053
+ "name": "current",
2054
+ "description": "Mark the sub-item as the page shown (`aria-current=\"page\"`), and set\n`expanded` on its parent item so the parent is open. Bind it from the\npage your router or the URL shows: the navigation never sets it.",
1931
2055
  "values": []
1932
2056
  },
1933
2057
  {
@@ -2172,7 +2296,7 @@
2172
2296
  },
2173
2297
  {
2174
2298
  "name": "c-text-field",
2175
- "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** - Fired when typed text is committed — Enter, or leaving the field after\nediting it — carrying the text, trimmed when `trim-whitespace` is set.\n- **input** - Native bubbling input event fired alongside every value change so a\nplain Vue `v-model` stays in sync. No detail.\n- **update:value** - v-model contract event fired on every keystroke, carrying the current\ntext — trimmed when `trim-whitespace` is set.\n\n### **Methods:**\n - **focus()** - Focus its input, as `focus()` does on a native control: the element renders\nno box of its own to take it.\n\n### **Slots:**\n - **pre** - Content inside the field, before the input, such as an icon\n- **post** - Content inside the field, after the input and its password or date button\n\n### **CSS Parts:**\n - **mask-guide** - The faint rest of the input mask, shown behind the typed text\n- **message** - The hint / error message area below the field (always reserved unless `hide-details`)",
2299
+ "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** - Fired when typed text is committed — Enter, or leaving the field after\nediting it — carrying the text, trimmed when `trim-whitespace` is set.\n- **input** - Native bubbling input event fired alongside every value change so a\nplain Vue `v-model` stays in sync. No detail.\n- **update:value** - v-model contract event fired on every keystroke, carrying the current\ntext — trimmed when `trim-whitespace` is set.\n\n### **Methods:**\n - **focus()** - Focus its input, as `focus()` does on a native control: the element renders\nno box of its own to take it.\n\n### **Slots:**\n - **pre** - Content inside the field, before the input, such as an icon\n- **post** - Content inside the field, after the input and its password or date button\n\n### **CSS Parts:**\n - **mask-guide** - The faint rest of the input mask, shown behind the typed text\n- **message** - The hint / error message area below the field (always reserved unless `hide-message`)",
2176
2300
  "attributes": [
2177
2301
  {
2178
2302
  "name": "autocapitalize",
@@ -2213,7 +2337,12 @@
2213
2337
  },
2214
2338
  {
2215
2339
  "name": "hide-details",
2216
- "description": "Hide the hint and error messages",
2340
+ "description": "@deprecated Use `hide-message`.\n\nHide the hint and error messages",
2341
+ "values": []
2342
+ },
2343
+ {
2344
+ "name": "hide-message",
2345
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
2217
2346
  "values": []
2218
2347
  },
2219
2348
  {
@@ -2316,7 +2445,7 @@
2316
2445
  },
2317
2446
  {
2318
2447
  "name": "c-time-picker",
2319
- "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### **Methods:**\n - **focus()** - Focus its input (the start input under `range`), as `focus()` does on a native control: the element renders\nno box of its own to take it.\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** - 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\n- **message** - The hint / error message area below the field (always reserved unless `hide-details`)",
2448
+ "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### **Methods:**\n - **focus()** - Focus its input (the start input under `range`), as `focus()` does on a native control: the element renders\nno box of its own to take it.\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** - 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\n- **message** - The hint / error message area below the field (always reserved unless `hide-message`)",
2320
2449
  "attributes": [
2321
2450
  {
2322
2451
  "name": "clearable",
@@ -2340,7 +2469,12 @@
2340
2469
  },
2341
2470
  {
2342
2471
  "name": "hide-details",
2343
- "description": "Hide the hint and error messages",
2472
+ "description": "@deprecated Use `hide-message`.\n\nHide the hint and error messages",
2473
+ "values": []
2474
+ },
2475
+ {
2476
+ "name": "hide-message",
2477
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
2344
2478
  "values": []
2345
2479
  },
2346
2480
  {
@@ -2415,21 +2549,38 @@
2415
2549
  "attributes": [
2416
2550
  {
2417
2551
  "name": "absolute",
2418
- "description": "Places the stack in its nearest positioned ancestor instead of the\nviewport, for in-container notifications. Such a stack is not\nguaranteed to paint above an open modal.",
2552
+ "description": "@deprecated Use `contained`.\n\nPlaces the stack in its nearest positioned ancestor instead of the\nviewport, for in-container notifications. Such a stack is not\nguaranteed to paint above an open modal.",
2553
+ "values": []
2554
+ },
2555
+ {
2556
+ "name": "contained",
2557
+ "description": "Keep the stack inside its nearest positioned ancestor instead of the\nviewport, for in-container notifications. Such a stack is not\nguaranteed to paint above an open modal.",
2419
2558
  "values": []
2420
2559
  },
2421
2560
  {
2422
2561
  "name": "horizontal",
2423
- "description": "Where the stack sits across the viewport, or across its container\nunder `absolute`.",
2562
+ "description": "@deprecated Use `position`.\n\nWhere the stack sits across the viewport, or across its container\nunder `absolute`.",
2424
2563
  "values": [
2425
2564
  { "name": "center" },
2426
2565
  { "name": "left" },
2427
2566
  { "name": "right" }
2428
2567
  ]
2429
2568
  },
2569
+ {
2570
+ "name": "position",
2571
+ "description": "Where the stack sits in the viewport, or in its container when\n`contained`: `bottom` (unless set), `bottom-start`, `bottom-end`,\n`top`, `top-start` or `top-end`. Toasts slide in from the top or bottom\nedge.",
2572
+ "values": [
2573
+ { "name": "bottom-end" },
2574
+ { "name": "bottom-start" },
2575
+ { "name": "bottom" },
2576
+ { "name": "top-end" },
2577
+ { "name": "top-start" },
2578
+ { "name": "top" }
2579
+ ]
2580
+ },
2430
2581
  {
2431
2582
  "name": "vertical",
2432
- "description": "The edge the stack is anchored to; toasts slide in from it.",
2583
+ "description": "@deprecated Use `position`.\n\nThe edge the stack is anchored to; toasts slide in from it.",
2433
2584
  "values": [{ "name": "bottom" }, { "name": "top" }]
2434
2585
  }
2435
2586
  ],
@@ -2499,7 +2650,7 @@
2499
2650
  },
2500
2651
  {
2501
2652
  "name": "c-tree-select",
2502
- "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### **Methods:**\n - **focus()** - Focus its combobox, as `focus()` does on a native control: the element renders\nno box of its own to take it.\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- **option** - One 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\n- **message** - The hint / error message area below the field (always reserved unless `hide-details`)",
2653
+ "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### **Methods:**\n - **focus()** - Focus its combobox, as `focus()` does on a native control: the element renders\nno box of its own to take it.\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- **option** - One 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\n- **message** - The hint / error message area below the field (always reserved unless `hide-message`)",
2503
2654
  "attributes": [
2504
2655
  {
2505
2656
  "name": "allow-branch",
@@ -2523,7 +2674,12 @@
2523
2674
  },
2524
2675
  {
2525
2676
  "name": "hide-details",
2526
- "description": "Hide the hint and error messages",
2677
+ "description": "@deprecated Use `hide-message`.\n\nHide the hint and error messages",
2678
+ "values": []
2679
+ },
2680
+ {
2681
+ "name": "hide-message",
2682
+ "description": "Hide the message line — the hint and error messages under the field —\nand the room it keeps.",
2527
2683
  "values": []
2528
2684
  },
2529
2685
  {