@cscfi/csc-ui 4.0.0-alpha.0 → 4.0.0-alpha.10
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.
- package/dist/csc-ui.js +7750 -6924
- package/dist/custom-elements.json +1047 -128
- package/dist/docs/c-alert/usage.md +24 -0
- package/dist/docs/c-autocomplete/usage.md +28 -2
- package/dist/docs/c-checkbox/usage.md +53 -0
- package/dist/docs/c-popover/usage.md +33 -0
- package/dist/docs/c-progress-bar/usage.md +23 -0
- package/dist/docs/c-progress-circle/usage.md +25 -0
- package/dist/docs/c-radio/usage.md +45 -0
- package/dist/docs/c-radio-group/usage.md +67 -0
- package/dist/docs/c-spinner/usage.md +21 -0
- package/dist/docs/c-switch/usage.md +36 -0
- package/dist/docs/c-table/usage.md +14 -0
- package/dist/docs/c-tooltip/usage.md +30 -0
- package/dist/styles/css/tailwind-theme.css +31 -0
- package/dist/styles/css/tokens.css +282 -201
- package/dist/vscode.css-custom-data.json +104 -15
- package/dist/vscode.html-custom-data.json +187 -26
- package/dist/web-types.json +547 -90
- package/dist-types/components/c-alert/CAlert.vue.d.ts +18 -4
- package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +12 -2
- package/dist-types/components/c-button/CButton.vue.d.ts +1 -1
- package/dist-types/components/c-data-table/CDataTable.vue.d.ts +1 -1
- package/dist-types/components/c-dropdown/CDropdown.vue.d.ts +0 -1
- package/dist-types/components/c-icon/CIcon.vue.d.ts +1 -1
- package/dist-types/components/c-icon-button/CIconButton.vue.d.ts +1 -1
- package/dist-types/components/c-input/CInput.vue.d.ts +4 -0
- package/dist-types/components/c-login-button/CLoginButton.vue.d.ts +4 -2
- package/dist-types/components/c-menu/CMenu.vue.d.ts +13 -3
- package/dist-types/components/c-menu-item/CMenuItem.vue.d.ts +29 -3
- package/dist-types/components/c-popover/CPopover.vue.d.ts +43 -0
- package/dist-types/components/c-progress-circle/CProgressCircle.vue.d.ts +32 -0
- package/dist-types/components/c-radio/CRadio.vue.d.ts +7 -11
- package/dist-types/components/c-radio-group/CRadioGroup.vue.d.ts +8 -46
- package/dist-types/components/c-select/CSelect.vue.d.ts +4 -1
- package/dist-types/components/c-spinner/CSpinner.vue.d.ts +1 -1
- package/dist-types/components/c-table/CTable.vue.d.ts +11 -1
- package/dist-types/components/c-table/injectTableStyles.d.ts +1 -0
- package/dist-types/components/c-tag/CTag.vue.d.ts +1 -1
- package/dist-types/components/c-text-field/CTextField.vue.d.ts +4 -0
- package/dist-types/components/c-tooltip/CTooltip.vue.d.ts +49 -0
- package/dist-types/index.d.ts +9 -1
- package/dist-types/shared/FieldMessage.vue.d.ts +21 -0
- package/dist-types/shared/popoverChain.d.ts +62 -0
- package/dist-types/shared/positionArea.d.ts +13 -0
- package/dist-types/shared/useDesignatedTrigger.d.ts +40 -0
- package/dist-types/shared/useHostStates.d.ts +25 -0
- package/dist-types/tag-name-map.d.ts +207 -34
- package/dist-types/theme/chart-data.d.ts +50 -0
- package/dist-types/theme/ramp.d.ts +38 -0
- package/dist-types/theme/themeMode.d.ts +13 -0
- package/dist-types/types.d.ts +13 -0
- package/package.json +8 -6
package/dist/web-types.json
CHANGED
|
@@ -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.
|
|
4
|
+
"version": "4.0.0-alpha.10",
|
|
5
5
|
"description-markup": "markdown",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
@@ -187,9 +187,19 @@
|
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
189
|
"name": "c-alert",
|
|
190
|
-
"description": "
|
|
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
|
-
{
|
|
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- **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 no-results
|
|
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. 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",
|
|
221
256
|
"doc-url": "",
|
|
222
257
|
"attributes": [
|
|
223
258
|
{
|
|
@@ -235,6 +270,11 @@
|
|
|
235
270
|
"description": "Error message shown in place of the hint while the autocomplete is invalid",
|
|
236
271
|
"value": { "type": "string", "default": "''" }
|
|
237
272
|
},
|
|
273
|
+
{
|
|
274
|
+
"name": "external",
|
|
275
|
+
"description": "The consumer owns filtering: the component renders its options verbatim\nand only emits `change:query` as the user types. Pair with `loading` and\nan async data source feeding `items`",
|
|
276
|
+
"value": { "type": "boolean", "default": "false" }
|
|
277
|
+
},
|
|
238
278
|
{
|
|
239
279
|
"name": "hide-details",
|
|
240
280
|
"description": "Hide the hint and error messages",
|
|
@@ -300,6 +340,11 @@
|
|
|
300
340
|
"description": "Shadow variant",
|
|
301
341
|
"value": { "type": "boolean", "default": "false" }
|
|
302
342
|
},
|
|
343
|
+
{
|
|
344
|
+
"name": "size",
|
|
345
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
346
|
+
"value": { "type": "'default' | 'small'", "default": "'default'" }
|
|
347
|
+
},
|
|
303
348
|
{
|
|
304
349
|
"name": "valid",
|
|
305
350
|
"description": "Set the validity of the input",
|
|
@@ -334,6 +379,11 @@
|
|
|
334
379
|
"type": "CustomEvent<void>",
|
|
335
380
|
"description": "Native change event (no detail) dispatched whenever a selection is\ncommitted or cleared; bubbles through the shadow boundary for\nform-style listeners."
|
|
336
381
|
},
|
|
382
|
+
{
|
|
383
|
+
"name": "change:query",
|
|
384
|
+
"type": "CustomEvent<string>",
|
|
385
|
+
"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. With `external`, drive your data source from this (debounce on\nyour side) and feed the results back via `items`."
|
|
386
|
+
},
|
|
337
387
|
{
|
|
338
388
|
"name": "changeValue",
|
|
339
389
|
"type": "CustomEvent<CAutocompleteItem | null | number | string>",
|
|
@@ -367,9 +417,14 @@
|
|
|
367
417
|
"description": "Error message shown in place of the hint while the autocomplete is invalid",
|
|
368
418
|
"type": "string"
|
|
369
419
|
},
|
|
420
|
+
{
|
|
421
|
+
"name": "external",
|
|
422
|
+
"description": "The consumer owns filtering: the component renders its options verbatim\nand only emits `change:query` as the user types. Pair with `loading` and\nan async data source feeding `items`",
|
|
423
|
+
"type": "boolean"
|
|
424
|
+
},
|
|
370
425
|
{
|
|
371
426
|
"name": "filter",
|
|
372
|
-
"description": "Custom filter predicate; receives a normalized option + the query",
|
|
427
|
+
"description": "Custom filter predicate; receives a normalized option + the query. Ignored when `external` is set",
|
|
373
428
|
"type": "CAutocompleteFilter"
|
|
374
429
|
},
|
|
375
430
|
{
|
|
@@ -442,6 +497,11 @@
|
|
|
442
497
|
"description": "Shadow variant",
|
|
443
498
|
"type": "boolean"
|
|
444
499
|
},
|
|
500
|
+
{
|
|
501
|
+
"name": "size",
|
|
502
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
503
|
+
"type": "'default' | 'small'"
|
|
504
|
+
},
|
|
445
505
|
{
|
|
446
506
|
"name": "valid",
|
|
447
507
|
"description": "Set the validity of the input",
|
|
@@ -459,6 +519,11 @@
|
|
|
459
519
|
"type": "CustomEvent<void>",
|
|
460
520
|
"description": "Native change event (no detail) dispatched whenever a selection is\ncommitted or cleared; bubbles through the shadow boundary for\nform-style listeners."
|
|
461
521
|
},
|
|
522
|
+
{
|
|
523
|
+
"name": "change:query",
|
|
524
|
+
"type": "CustomEvent<string>",
|
|
525
|
+
"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. With `external`, drive your data source from this (debounce on\nyour side) and feed the results back via `items`."
|
|
526
|
+
},
|
|
462
527
|
{
|
|
463
528
|
"name": "changeValue",
|
|
464
529
|
"type": "CustomEvent<CAutocompleteItem | null | number | string>",
|
|
@@ -809,7 +874,7 @@
|
|
|
809
874
|
},
|
|
810
875
|
{
|
|
811
876
|
"name": "c-card",
|
|
812
|
-
"description": "\n---\n\n\n### **Methods:**\n - **enterFullscreen()** - Enter fullscreen from the outside\n- **exitFullscreen()** - Exit fullscreen from the outside\n\n### **Slots:**\n - **default** - Card components\n\n### **CSS Parts:**\n - **root** - The card's visible surface, carries the background, radius, shadow and section spacing\n- **fullscreen-toggle** - The circular fullscreen toggle button shown when the fullscreen prop is set",
|
|
877
|
+
"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",
|
|
813
878
|
"doc-url": "",
|
|
814
879
|
"attributes": [
|
|
815
880
|
{
|
|
@@ -897,7 +962,7 @@
|
|
|
897
962
|
},
|
|
898
963
|
{
|
|
899
964
|
"name": "c-checkbox",
|
|
900
|
-
"description": "
|
|
965
|
+
"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`)",
|
|
901
966
|
"doc-url": "",
|
|
902
967
|
"attributes": [
|
|
903
968
|
{
|
|
@@ -1387,7 +1452,7 @@
|
|
|
1387
1452
|
},
|
|
1388
1453
|
{
|
|
1389
1454
|
"name": "c-dropdown",
|
|
1390
|
-
"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",
|
|
1455
|
+
"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",
|
|
1391
1456
|
"doc-url": "",
|
|
1392
1457
|
"attributes": [
|
|
1393
1458
|
{
|
|
@@ -1738,6 +1803,11 @@
|
|
|
1738
1803
|
"description": "Shadow variant of the input",
|
|
1739
1804
|
"value": { "type": "boolean", "default": "false" }
|
|
1740
1805
|
},
|
|
1806
|
+
{
|
|
1807
|
+
"name": "size",
|
|
1808
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
1809
|
+
"value": { "type": "'default' | 'small'", "default": "'default'" }
|
|
1810
|
+
},
|
|
1741
1811
|
{
|
|
1742
1812
|
"name": "valid",
|
|
1743
1813
|
"description": "Set the validíty of the input",
|
|
@@ -1821,6 +1891,11 @@
|
|
|
1821
1891
|
"description": "Shadow variant of the input",
|
|
1822
1892
|
"type": "boolean"
|
|
1823
1893
|
},
|
|
1894
|
+
{
|
|
1895
|
+
"name": "size",
|
|
1896
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
1897
|
+
"type": "'default' | 'small'"
|
|
1898
|
+
},
|
|
1824
1899
|
{
|
|
1825
1900
|
"name": "valid",
|
|
1826
1901
|
"description": "Set the validíty of the input",
|
|
@@ -2115,7 +2190,7 @@
|
|
|
2115
2190
|
},
|
|
2116
2191
|
{
|
|
2117
2192
|
"name": "c-login-button",
|
|
2118
|
-
"description": "\n---\n\n\n### **Slots:**\n - **default** -
|
|
2193
|
+
"description": "\n---\n\n\n### **Slots:**\n - **default** - The title shown in the bottom bar\n- **image** - Custom provider logo markup (an inline `<svg>`, a `<picture>`, …) replacing the default `<img>` rendered from `src`\n\n### **CSS Parts:**\n - **root** - The anchor element forming the whole clickable card\n- **image-wrap** - The area above the title bar that centers the logo (default image or slotted content)\n- **image** - The default provider logo `<img>` (absent when the `image` slot is used)\n- **title** - The bottom title bar wrapping the slotted label",
|
|
2119
2194
|
"doc-url": "",
|
|
2120
2195
|
"attributes": [
|
|
2121
2196
|
{
|
|
@@ -2134,7 +2209,16 @@
|
|
|
2134
2209
|
"value": { "type": "string", "default": "''" }
|
|
2135
2210
|
}
|
|
2136
2211
|
],
|
|
2137
|
-
"slots": [
|
|
2212
|
+
"slots": [
|
|
2213
|
+
{
|
|
2214
|
+
"name": "default",
|
|
2215
|
+
"description": "The title shown in the bottom bar"
|
|
2216
|
+
},
|
|
2217
|
+
{
|
|
2218
|
+
"name": "image",
|
|
2219
|
+
"description": "Custom provider logo markup (an inline `<svg>`, a `<picture>`, …) replacing the default `<img>` rendered from `src`"
|
|
2220
|
+
}
|
|
2221
|
+
],
|
|
2138
2222
|
"events": [],
|
|
2139
2223
|
"js": {
|
|
2140
2224
|
"properties": [
|
|
@@ -2343,6 +2427,11 @@
|
|
|
2343
2427
|
"type": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'",
|
|
2344
2428
|
"default": "'bottom-start'"
|
|
2345
2429
|
}
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
"name": "trigger",
|
|
2433
|
+
"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.",
|
|
2434
|
+
"value": { "type": "HTMLElement | string" }
|
|
2346
2435
|
}
|
|
2347
2436
|
],
|
|
2348
2437
|
"slots": [
|
|
@@ -2383,6 +2472,11 @@
|
|
|
2383
2472
|
"name": "position",
|
|
2384
2473
|
"description": "Preferred placement of the panel relative to the trigger.",
|
|
2385
2474
|
"type": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
"name": "trigger",
|
|
2478
|
+
"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.",
|
|
2479
|
+
"type": "HTMLElement | string"
|
|
2386
2480
|
}
|
|
2387
2481
|
],
|
|
2388
2482
|
"events": [
|
|
@@ -2401,9 +2495,19 @@
|
|
|
2401
2495
|
},
|
|
2402
2496
|
{
|
|
2403
2497
|
"name": "c-menu-item",
|
|
2404
|
-
"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",
|
|
2498
|
+
"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",
|
|
2405
2499
|
"doc-url": "",
|
|
2406
2500
|
"attributes": [
|
|
2501
|
+
{
|
|
2502
|
+
"name": "active",
|
|
2503
|
+
"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).",
|
|
2504
|
+
"value": { "type": "boolean" }
|
|
2505
|
+
},
|
|
2506
|
+
{
|
|
2507
|
+
"name": "active-icon",
|
|
2508
|
+
"description": "SVG path for the trailing indicator shown while `active`; defaults to a\ncheck mark.",
|
|
2509
|
+
"value": { "type": "string", "default": "''" }
|
|
2510
|
+
},
|
|
2407
2511
|
{
|
|
2408
2512
|
"name": "danger",
|
|
2409
2513
|
"description": "Marks the action as destructive (renders in the error colour).",
|
|
@@ -2414,6 +2518,11 @@
|
|
|
2414
2518
|
"description": "Disables the item — it is skipped by keyboard nav and emits no select.",
|
|
2415
2519
|
"value": { "type": "boolean", "default": "false" }
|
|
2416
2520
|
},
|
|
2521
|
+
{
|
|
2522
|
+
"name": "icon",
|
|
2523
|
+
"description": "SVG path for a leading icon rendered before the item's content.",
|
|
2524
|
+
"value": { "type": "string", "default": "''" }
|
|
2525
|
+
},
|
|
2417
2526
|
{
|
|
2418
2527
|
"name": "value",
|
|
2419
2528
|
"description": "Value reported in the menu's `select` event when this item is chosen.",
|
|
@@ -2433,6 +2542,16 @@
|
|
|
2433
2542
|
"events": [],
|
|
2434
2543
|
"js": {
|
|
2435
2544
|
"properties": [
|
|
2545
|
+
{
|
|
2546
|
+
"name": "active",
|
|
2547
|
+
"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).",
|
|
2548
|
+
"type": "boolean"
|
|
2549
|
+
},
|
|
2550
|
+
{
|
|
2551
|
+
"name": "activeIcon",
|
|
2552
|
+
"description": "SVG path for the trailing indicator shown while `active`; defaults to a\ncheck mark.",
|
|
2553
|
+
"type": "string"
|
|
2554
|
+
},
|
|
2436
2555
|
{
|
|
2437
2556
|
"name": "danger",
|
|
2438
2557
|
"description": "Marks the action as destructive (renders in the error colour).",
|
|
@@ -2443,6 +2562,11 @@
|
|
|
2443
2562
|
"description": "Disables the item — it is skipped by keyboard nav and emits no select.",
|
|
2444
2563
|
"type": "boolean"
|
|
2445
2564
|
},
|
|
2565
|
+
{
|
|
2566
|
+
"name": "icon",
|
|
2567
|
+
"description": "SVG path for a leading icon rendered before the item's content.",
|
|
2568
|
+
"type": "string"
|
|
2569
|
+
},
|
|
2446
2570
|
{
|
|
2447
2571
|
"name": "value",
|
|
2448
2572
|
"description": "Value reported in the menu's `select` event when this item is chosen.",
|
|
@@ -2972,9 +3096,97 @@
|
|
|
2972
3096
|
]
|
|
2973
3097
|
}
|
|
2974
3098
|
},
|
|
3099
|
+
{
|
|
3100
|
+
"name": "c-popover",
|
|
3101
|
+
"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",
|
|
3102
|
+
"doc-url": "",
|
|
3103
|
+
"attributes": [
|
|
3104
|
+
{
|
|
3105
|
+
"name": "distance",
|
|
3106
|
+
"description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
|
|
3107
|
+
"value": { "type": "number | string", "default": "0" }
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"name": "heading",
|
|
3111
|
+
"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`.",
|
|
3112
|
+
"value": { "type": "string", "default": "''" }
|
|
3113
|
+
},
|
|
3114
|
+
{
|
|
3115
|
+
"name": "open",
|
|
3116
|
+
"description": "Whether the popover is open. Two-way: emits `change:open`.",
|
|
3117
|
+
"value": { "type": "boolean", "default": "false" }
|
|
3118
|
+
},
|
|
3119
|
+
{
|
|
3120
|
+
"name": "position",
|
|
3121
|
+
"description": "Preferred placement of the panel relative to the trigger.",
|
|
3122
|
+
"value": {
|
|
3123
|
+
"type": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'",
|
|
3124
|
+
"default": "'bottom'"
|
|
3125
|
+
}
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"name": "trigger",
|
|
3129
|
+
"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.",
|
|
3130
|
+
"value": { "type": "HTMLElement | string" }
|
|
3131
|
+
}
|
|
3132
|
+
],
|
|
3133
|
+
"slots": [
|
|
3134
|
+
{
|
|
3135
|
+
"name": "trigger",
|
|
3136
|
+
"description": "The element that opens the popover (e.g. a c-button)"
|
|
3137
|
+
},
|
|
3138
|
+
{
|
|
3139
|
+
"name": "default",
|
|
3140
|
+
"description": "The popover's content; may contain interactive elements"
|
|
3141
|
+
}
|
|
3142
|
+
],
|
|
3143
|
+
"events": [
|
|
3144
|
+
{
|
|
3145
|
+
"name": "change:open",
|
|
3146
|
+
"type": "CustomEvent<boolean>",
|
|
3147
|
+
"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."
|
|
3148
|
+
}
|
|
3149
|
+
],
|
|
3150
|
+
"js": {
|
|
3151
|
+
"properties": [
|
|
3152
|
+
{
|
|
3153
|
+
"name": "distance",
|
|
3154
|
+
"description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
|
|
3155
|
+
"type": "number | string"
|
|
3156
|
+
},
|
|
3157
|
+
{
|
|
3158
|
+
"name": "heading",
|
|
3159
|
+
"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`.",
|
|
3160
|
+
"type": "string"
|
|
3161
|
+
},
|
|
3162
|
+
{
|
|
3163
|
+
"name": "open",
|
|
3164
|
+
"description": "Whether the popover is open. Two-way: emits `change:open`.",
|
|
3165
|
+
"type": "boolean"
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
"name": "position",
|
|
3169
|
+
"description": "Preferred placement of the panel relative to the trigger.",
|
|
3170
|
+
"type": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
3171
|
+
},
|
|
3172
|
+
{
|
|
3173
|
+
"name": "trigger",
|
|
3174
|
+
"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.",
|
|
3175
|
+
"type": "HTMLElement | string"
|
|
3176
|
+
}
|
|
3177
|
+
],
|
|
3178
|
+
"events": [
|
|
3179
|
+
{
|
|
3180
|
+
"name": "change:open",
|
|
3181
|
+
"type": "CustomEvent<boolean>",
|
|
3182
|
+
"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."
|
|
3183
|
+
}
|
|
3184
|
+
]
|
|
3185
|
+
}
|
|
3186
|
+
},
|
|
2975
3187
|
{
|
|
2976
3188
|
"name": "c-progress-bar",
|
|
2977
|
-
"description": "
|
|
3189
|
+
"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",
|
|
2978
3190
|
"doc-url": "",
|
|
2979
3191
|
"attributes": [
|
|
2980
3192
|
{
|
|
@@ -3037,15 +3249,59 @@
|
|
|
3037
3249
|
}
|
|
3038
3250
|
},
|
|
3039
3251
|
{
|
|
3040
|
-
"name": "c-
|
|
3041
|
-
"description": "
|
|
3252
|
+
"name": "c-progress-circle",
|
|
3253
|
+
"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",
|
|
3042
3254
|
"doc-url": "",
|
|
3043
3255
|
"attributes": [
|
|
3044
3256
|
{
|
|
3045
|
-
"name": "
|
|
3046
|
-
"description": "
|
|
3047
|
-
"value": { "type": "
|
|
3257
|
+
"name": "size",
|
|
3258
|
+
"description": "Diameter of the circle in pixels",
|
|
3259
|
+
"value": { "type": "number", "default": "32" }
|
|
3048
3260
|
},
|
|
3261
|
+
{
|
|
3262
|
+
"name": "value",
|
|
3263
|
+
"description": "Progress value in percentage (0 to 100)",
|
|
3264
|
+
"value": { "type": "number", "default": "0" }
|
|
3265
|
+
},
|
|
3266
|
+
{
|
|
3267
|
+
"name": "width",
|
|
3268
|
+
"description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
|
|
3269
|
+
"value": { "type": "number", "default": "6" }
|
|
3270
|
+
}
|
|
3271
|
+
],
|
|
3272
|
+
"slots": [
|
|
3273
|
+
{
|
|
3274
|
+
"name": "default",
|
|
3275
|
+
"description": "Optional content centered inside the circle, e.g. '57%' or an icon"
|
|
3276
|
+
}
|
|
3277
|
+
],
|
|
3278
|
+
"events": [],
|
|
3279
|
+
"js": {
|
|
3280
|
+
"properties": [
|
|
3281
|
+
{
|
|
3282
|
+
"name": "size",
|
|
3283
|
+
"description": "Diameter of the circle in pixels",
|
|
3284
|
+
"type": "number"
|
|
3285
|
+
},
|
|
3286
|
+
{
|
|
3287
|
+
"name": "value",
|
|
3288
|
+
"description": "Progress value in percentage (0 to 100)",
|
|
3289
|
+
"type": "number"
|
|
3290
|
+
},
|
|
3291
|
+
{
|
|
3292
|
+
"name": "width",
|
|
3293
|
+
"description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
|
|
3294
|
+
"type": "number"
|
|
3295
|
+
}
|
|
3296
|
+
],
|
|
3297
|
+
"events": []
|
|
3298
|
+
}
|
|
3299
|
+
},
|
|
3300
|
+
{
|
|
3301
|
+
"name": "c-radio",
|
|
3302
|
+
"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",
|
|
3303
|
+
"doc-url": "",
|
|
3304
|
+
"attributes": [
|
|
3049
3305
|
{
|
|
3050
3306
|
"name": "disabled",
|
|
3051
3307
|
"description": "Disable the radio button",
|
|
@@ -3060,17 +3316,18 @@
|
|
|
3060
3316
|
"slots": [
|
|
3061
3317
|
{
|
|
3062
3318
|
"name": "default",
|
|
3063
|
-
"description": "The radio
|
|
3319
|
+
"description": "The radio's label content, rendered inside the shadow `<label>` so it stays click-associated and announced"
|
|
3320
|
+
}
|
|
3321
|
+
],
|
|
3322
|
+
"events": [
|
|
3323
|
+
{
|
|
3324
|
+
"name": "change",
|
|
3325
|
+
"type": "CustomEvent<string>",
|
|
3326
|
+
"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`."
|
|
3064
3327
|
}
|
|
3065
3328
|
],
|
|
3066
|
-
"events": [],
|
|
3067
3329
|
"js": {
|
|
3068
3330
|
"properties": [
|
|
3069
|
-
{
|
|
3070
|
-
"name": "checked",
|
|
3071
|
-
"description": "Set option as checked",
|
|
3072
|
-
"type": "boolean"
|
|
3073
|
-
},
|
|
3074
3331
|
{
|
|
3075
3332
|
"name": "disabled",
|
|
3076
3333
|
"description": "Disable the radio button",
|
|
@@ -3082,12 +3339,18 @@
|
|
|
3082
3339
|
"type": "string"
|
|
3083
3340
|
}
|
|
3084
3341
|
],
|
|
3085
|
-
"events": [
|
|
3342
|
+
"events": [
|
|
3343
|
+
{
|
|
3344
|
+
"name": "change",
|
|
3345
|
+
"type": "CustomEvent<string>",
|
|
3346
|
+
"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`."
|
|
3347
|
+
}
|
|
3348
|
+
]
|
|
3086
3349
|
}
|
|
3087
3350
|
},
|
|
3088
3351
|
{
|
|
3089
3352
|
"name": "c-radio-group",
|
|
3090
|
-
"description": "
|
|
3353
|
+
"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`)",
|
|
3091
3354
|
"doc-url": "",
|
|
3092
3355
|
"attributes": [
|
|
3093
3356
|
{
|
|
@@ -3110,11 +3373,6 @@
|
|
|
3110
3373
|
"description": "Hint text for the input",
|
|
3111
3374
|
"value": { "type": "string", "default": "''" }
|
|
3112
3375
|
},
|
|
3113
|
-
{
|
|
3114
|
-
"name": "host-id",
|
|
3115
|
-
"description": "Id of the element",
|
|
3116
|
-
"value": { "type": "string", "default": "''" }
|
|
3117
|
-
},
|
|
3118
3376
|
{
|
|
3119
3377
|
"name": "inline",
|
|
3120
3378
|
"description": "Display radio buttons inline",
|
|
@@ -3130,11 +3388,6 @@
|
|
|
3130
3388
|
"description": "Set as required",
|
|
3131
3389
|
"value": { "type": "boolean", "default": "false" }
|
|
3132
3390
|
},
|
|
3133
|
-
{
|
|
3134
|
-
"name": "return-object",
|
|
3135
|
-
"description": "Return the whole item object",
|
|
3136
|
-
"value": { "type": "boolean", "default": "false" }
|
|
3137
|
-
},
|
|
3138
3391
|
{
|
|
3139
3392
|
"name": "valid",
|
|
3140
3393
|
"description": "Set the validity of the input",
|
|
@@ -3142,21 +3395,25 @@
|
|
|
3142
3395
|
},
|
|
3143
3396
|
{
|
|
3144
3397
|
"name": "value",
|
|
3145
|
-
"description": "Value of the radio group",
|
|
3146
|
-
"value": {
|
|
3147
|
-
"type": "null | number | RadioItem | string",
|
|
3148
|
-
"default": "null"
|
|
3149
|
-
}
|
|
3398
|
+
"description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
|
|
3399
|
+
"value": { "type": "null | string", "default": "null" }
|
|
3150
3400
|
}
|
|
3151
3401
|
],
|
|
3152
3402
|
"slots": [
|
|
3153
|
-
{
|
|
3403
|
+
{
|
|
3404
|
+
"name": "default",
|
|
3405
|
+
"description": "The radios' home: `<c-radio>` children, wrappable in arbitrary layout elements at any depth"
|
|
3406
|
+
},
|
|
3407
|
+
{
|
|
3408
|
+
"name": "label",
|
|
3409
|
+
"description": "Group label content, used when the `label` prop is not set"
|
|
3410
|
+
}
|
|
3154
3411
|
],
|
|
3155
3412
|
"events": [
|
|
3156
3413
|
{
|
|
3157
3414
|
"name": "changeValue",
|
|
3158
|
-
"type": "CustomEvent<
|
|
3159
|
-
"description": "Fired when a radio
|
|
3415
|
+
"type": "CustomEvent<string>",
|
|
3416
|
+
"description": "Fired when a radio is selected, carrying the selected radio's value. Also dispatched as `change-value` — bind that name in Vue templates."
|
|
3160
3417
|
},
|
|
3161
3418
|
{
|
|
3162
3419
|
"name": "input",
|
|
@@ -3165,8 +3422,8 @@
|
|
|
3165
3422
|
},
|
|
3166
3423
|
{
|
|
3167
3424
|
"name": "update:value",
|
|
3168
|
-
"type": "CustomEvent<
|
|
3169
|
-
"description": "v-model contract event fired on selection, carrying the selected
|
|
3425
|
+
"type": "CustomEvent<string>",
|
|
3426
|
+
"description": "v-model contract event fired on selection, carrying the selected radio's\nvalue."
|
|
3170
3427
|
}
|
|
3171
3428
|
],
|
|
3172
3429
|
"js": {
|
|
@@ -3191,21 +3448,11 @@
|
|
|
3191
3448
|
"description": "Hint text for the input",
|
|
3192
3449
|
"type": "string"
|
|
3193
3450
|
},
|
|
3194
|
-
{
|
|
3195
|
-
"name": "hostId",
|
|
3196
|
-
"description": "Id of the element",
|
|
3197
|
-
"type": "string"
|
|
3198
|
-
},
|
|
3199
3451
|
{
|
|
3200
3452
|
"name": "inline",
|
|
3201
3453
|
"description": "Display radio buttons inline",
|
|
3202
3454
|
"type": "boolean"
|
|
3203
3455
|
},
|
|
3204
|
-
{
|
|
3205
|
-
"name": "items",
|
|
3206
|
-
"description": "Radio group items",
|
|
3207
|
-
"type": "RadioItem[]"
|
|
3208
|
-
},
|
|
3209
3456
|
{
|
|
3210
3457
|
"name": "label",
|
|
3211
3458
|
"description": "Label of the radio group",
|
|
@@ -3216,11 +3463,6 @@
|
|
|
3216
3463
|
"description": "Set as required",
|
|
3217
3464
|
"type": "boolean"
|
|
3218
3465
|
},
|
|
3219
|
-
{
|
|
3220
|
-
"name": "returnObject",
|
|
3221
|
-
"description": "Return the whole item object",
|
|
3222
|
-
"type": "boolean"
|
|
3223
|
-
},
|
|
3224
3466
|
{
|
|
3225
3467
|
"name": "valid",
|
|
3226
3468
|
"description": "Set the validity of the input",
|
|
@@ -3228,15 +3470,15 @@
|
|
|
3228
3470
|
},
|
|
3229
3471
|
{
|
|
3230
3472
|
"name": "value",
|
|
3231
|
-
"description": "Value of the radio group",
|
|
3232
|
-
"type": "null |
|
|
3473
|
+
"description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
|
|
3474
|
+
"type": "null | string"
|
|
3233
3475
|
}
|
|
3234
3476
|
],
|
|
3235
3477
|
"events": [
|
|
3236
3478
|
{
|
|
3237
3479
|
"name": "changeValue",
|
|
3238
|
-
"type": "CustomEvent<
|
|
3239
|
-
"description": "Fired when a radio
|
|
3480
|
+
"type": "CustomEvent<string>",
|
|
3481
|
+
"description": "Fired when a radio is selected, carrying the selected radio's value. Also dispatched as `change-value` — bind that name in Vue templates."
|
|
3240
3482
|
},
|
|
3241
3483
|
{
|
|
3242
3484
|
"name": "input",
|
|
@@ -3245,15 +3487,15 @@
|
|
|
3245
3487
|
},
|
|
3246
3488
|
{
|
|
3247
3489
|
"name": "update:value",
|
|
3248
|
-
"type": "CustomEvent<
|
|
3249
|
-
"description": "v-model contract event fired on selection, carrying the selected
|
|
3490
|
+
"type": "CustomEvent<string>",
|
|
3491
|
+
"description": "v-model contract event fired on selection, carrying the selected radio's\nvalue."
|
|
3250
3492
|
}
|
|
3251
3493
|
]
|
|
3252
3494
|
}
|
|
3253
3495
|
},
|
|
3254
3496
|
{
|
|
3255
3497
|
"name": "c-select",
|
|
3256
|
-
"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",
|
|
3498
|
+
"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",
|
|
3257
3499
|
"doc-url": "",
|
|
3258
3500
|
"attributes": [
|
|
3259
3501
|
{
|
|
@@ -3336,6 +3578,11 @@
|
|
|
3336
3578
|
"description": "Shadow variant",
|
|
3337
3579
|
"value": { "type": "boolean", "default": "false" }
|
|
3338
3580
|
},
|
|
3581
|
+
{
|
|
3582
|
+
"name": "size",
|
|
3583
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
3584
|
+
"value": { "type": "'default' | 'small'", "default": "'default'" }
|
|
3585
|
+
},
|
|
3339
3586
|
{
|
|
3340
3587
|
"name": "valid",
|
|
3341
3588
|
"description": "Set the validity of the input",
|
|
@@ -3465,6 +3712,11 @@
|
|
|
3465
3712
|
"description": "Shadow variant",
|
|
3466
3713
|
"type": "boolean"
|
|
3467
3714
|
},
|
|
3715
|
+
{
|
|
3716
|
+
"name": "size",
|
|
3717
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
3718
|
+
"type": "'default' | 'small'"
|
|
3719
|
+
},
|
|
3468
3720
|
{
|
|
3469
3721
|
"name": "valid",
|
|
3470
3722
|
"description": "Set the validity of the input",
|
|
@@ -3832,7 +4084,7 @@
|
|
|
3832
4084
|
},
|
|
3833
4085
|
{
|
|
3834
4086
|
"name": "c-spinner",
|
|
3835
|
-
"description": "
|
|
4087
|
+
"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",
|
|
3836
4088
|
"doc-url": "",
|
|
3837
4089
|
"attributes": [
|
|
3838
4090
|
{
|
|
@@ -4025,7 +4277,7 @@
|
|
|
4025
4277
|
},
|
|
4026
4278
|
{
|
|
4027
4279
|
"name": "c-switch",
|
|
4028
|
-
"description": "
|
|
4280
|
+
"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",
|
|
4029
4281
|
"doc-url": "",
|
|
4030
4282
|
"attributes": [
|
|
4031
4283
|
{
|
|
@@ -4418,7 +4670,7 @@
|
|
|
4418
4670
|
},
|
|
4419
4671
|
{
|
|
4420
4672
|
"name": "c-table",
|
|
4421
|
-
"description": "
|
|
4673
|
+
"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",
|
|
4422
4674
|
"doc-url": "",
|
|
4423
4675
|
"attributes": [
|
|
4424
4676
|
{
|
|
@@ -4432,7 +4684,12 @@
|
|
|
4432
4684
|
"value": { "type": "boolean", "default": "false" }
|
|
4433
4685
|
}
|
|
4434
4686
|
],
|
|
4435
|
-
"slots": [
|
|
4687
|
+
"slots": [
|
|
4688
|
+
{
|
|
4689
|
+
"name": "default",
|
|
4690
|
+
"description": "The consumer-authored `<table>` element"
|
|
4691
|
+
}
|
|
4692
|
+
],
|
|
4436
4693
|
"events": [],
|
|
4437
4694
|
"js": {
|
|
4438
4695
|
"properties": [
|
|
@@ -4787,6 +5044,11 @@
|
|
|
4787
5044
|
"description": "Shadow variant of the input",
|
|
4788
5045
|
"value": { "type": "boolean", "default": "false" }
|
|
4789
5046
|
},
|
|
5047
|
+
{
|
|
5048
|
+
"name": "size",
|
|
5049
|
+
"description": "Field height: the 44px default or the 36px `small` box (single-line fields)",
|
|
5050
|
+
"value": { "type": "'default' | 'small'", "default": "'default'" }
|
|
5051
|
+
},
|
|
4790
5052
|
{
|
|
4791
5053
|
"name": "step",
|
|
4792
5054
|
"description": "Step size on a numeric input",
|
|
@@ -4934,6 +5196,11 @@
|
|
|
4934
5196
|
"description": "Shadow variant of the input",
|
|
4935
5197
|
"type": "boolean"
|
|
4936
5198
|
},
|
|
5199
|
+
{
|
|
5200
|
+
"name": "size",
|
|
5201
|
+
"description": "Field height: the 44px default or the 36px `small` box (single-line fields)",
|
|
5202
|
+
"type": "'default' | 'small'"
|
|
5203
|
+
},
|
|
4937
5204
|
{
|
|
4938
5205
|
"name": "step",
|
|
4939
5206
|
"description": "Step size on a numeric input",
|
|
@@ -4986,7 +5253,7 @@
|
|
|
4986
5253
|
},
|
|
4987
5254
|
{
|
|
4988
5255
|
"name": "c-toast",
|
|
4989
|
-
"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
|
|
5256
|
+
"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",
|
|
4990
5257
|
"doc-url": "",
|
|
4991
5258
|
"attributes": [
|
|
4992
5259
|
{
|
|
@@ -5085,6 +5352,104 @@
|
|
|
5085
5352
|
"slots": [{ "name": "default", "description": "Content of toolbar" }],
|
|
5086
5353
|
"events": [],
|
|
5087
5354
|
"js": { "properties": [], "events": [] }
|
|
5355
|
+
},
|
|
5356
|
+
{
|
|
5357
|
+
"name": "c-tooltip",
|
|
5358
|
+
"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",
|
|
5359
|
+
"doc-url": "",
|
|
5360
|
+
"attributes": [
|
|
5361
|
+
{
|
|
5362
|
+
"name": "delay",
|
|
5363
|
+
"description": "Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\nshows the tooltip immediately, regardless of this value. Defaults to\n`400`.",
|
|
5364
|
+
"value": { "type": "number | string", "default": "400" }
|
|
5365
|
+
},
|
|
5366
|
+
{
|
|
5367
|
+
"name": "distance",
|
|
5368
|
+
"description": "Distance from the trigger to the tooltip, in pixels. Defaults to `4`.",
|
|
5369
|
+
"value": { "type": "number | string", "default": "4" }
|
|
5370
|
+
},
|
|
5371
|
+
{
|
|
5372
|
+
"name": "open",
|
|
5373
|
+
"description": "Whether the tooltip is open. Two-way: emits `change:open`.",
|
|
5374
|
+
"value": { "type": "boolean", "default": "false" }
|
|
5375
|
+
},
|
|
5376
|
+
{
|
|
5377
|
+
"name": "position",
|
|
5378
|
+
"description": "Preferred placement of the tooltip relative to the trigger.",
|
|
5379
|
+
"value": {
|
|
5380
|
+
"type": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'",
|
|
5381
|
+
"default": "'top'"
|
|
5382
|
+
}
|
|
5383
|
+
},
|
|
5384
|
+
{
|
|
5385
|
+
"name": "text",
|
|
5386
|
+
"description": "The tooltip text. Overridden by the `content` slot when that is\npopulated.",
|
|
5387
|
+
"value": { "type": "string", "default": "''" }
|
|
5388
|
+
},
|
|
5389
|
+
{
|
|
5390
|
+
"name": "trigger",
|
|
5391
|
+
"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.",
|
|
5392
|
+
"value": { "type": "HTMLElement | string" }
|
|
5393
|
+
}
|
|
5394
|
+
],
|
|
5395
|
+
"slots": [
|
|
5396
|
+
{
|
|
5397
|
+
"name": "trigger",
|
|
5398
|
+
"description": "The element the tooltip describes (e.g. a c-icon-button)"
|
|
5399
|
+
},
|
|
5400
|
+
{
|
|
5401
|
+
"name": "content",
|
|
5402
|
+
"description": "Formatted tooltip content, overriding the `text` prop; must stay non-interactive (ADR-0033)"
|
|
5403
|
+
}
|
|
5404
|
+
],
|
|
5405
|
+
"events": [
|
|
5406
|
+
{
|
|
5407
|
+
"name": "change:open",
|
|
5408
|
+
"type": "CustomEvent<boolean>",
|
|
5409
|
+
"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."
|
|
5410
|
+
}
|
|
5411
|
+
],
|
|
5412
|
+
"js": {
|
|
5413
|
+
"properties": [
|
|
5414
|
+
{
|
|
5415
|
+
"name": "delay",
|
|
5416
|
+
"description": "Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\nshows the tooltip immediately, regardless of this value. Defaults to\n`400`.",
|
|
5417
|
+
"type": "number | string"
|
|
5418
|
+
},
|
|
5419
|
+
{
|
|
5420
|
+
"name": "distance",
|
|
5421
|
+
"description": "Distance from the trigger to the tooltip, in pixels. Defaults to `4`.",
|
|
5422
|
+
"type": "number | string"
|
|
5423
|
+
},
|
|
5424
|
+
{
|
|
5425
|
+
"name": "open",
|
|
5426
|
+
"description": "Whether the tooltip is open. Two-way: emits `change:open`.",
|
|
5427
|
+
"type": "boolean"
|
|
5428
|
+
},
|
|
5429
|
+
{
|
|
5430
|
+
"name": "position",
|
|
5431
|
+
"description": "Preferred placement of the tooltip relative to the trigger.",
|
|
5432
|
+
"type": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
5433
|
+
},
|
|
5434
|
+
{
|
|
5435
|
+
"name": "text",
|
|
5436
|
+
"description": "The tooltip text. Overridden by the `content` slot when that is\npopulated.",
|
|
5437
|
+
"type": "string"
|
|
5438
|
+
},
|
|
5439
|
+
{
|
|
5440
|
+
"name": "trigger",
|
|
5441
|
+
"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.",
|
|
5442
|
+
"type": "HTMLElement | string"
|
|
5443
|
+
}
|
|
5444
|
+
],
|
|
5445
|
+
"events": [
|
|
5446
|
+
{
|
|
5447
|
+
"name": "change:open",
|
|
5448
|
+
"type": "CustomEvent<boolean>",
|
|
5449
|
+
"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."
|
|
5450
|
+
}
|
|
5451
|
+
]
|
|
5452
|
+
}
|
|
5088
5453
|
}
|
|
5089
5454
|
]
|
|
5090
5455
|
},
|
|
@@ -5118,15 +5483,20 @@
|
|
|
5118
5483
|
},
|
|
5119
5484
|
{
|
|
5120
5485
|
"name": "part(root)",
|
|
5121
|
-
"description": "The
|
|
5486
|
+
"description": "The tinted box carrying the type's wash, hairline border and accent edge"
|
|
5122
5487
|
},
|
|
5488
|
+
{ "name": "part(icon)", "description": "The status icon svg" },
|
|
5123
5489
|
{
|
|
5124
|
-
"name": "part(
|
|
5125
|
-
"description": "The
|
|
5490
|
+
"name": "part(content)",
|
|
5491
|
+
"description": "The wrapper around the heading and message content"
|
|
5126
5492
|
},
|
|
5127
5493
|
{
|
|
5128
|
-
"name": "part(
|
|
5129
|
-
"description": "The
|
|
5494
|
+
"name": "part(heading)",
|
|
5495
|
+
"description": "The heading paragraph rendered from the `heading` prop"
|
|
5496
|
+
},
|
|
5497
|
+
{
|
|
5498
|
+
"name": "part(dismiss)",
|
|
5499
|
+
"description": "The dismiss button rendered when `dismissible` is set"
|
|
5130
5500
|
},
|
|
5131
5501
|
{
|
|
5132
5502
|
"name": "part(panel)",
|
|
@@ -5146,7 +5516,7 @@
|
|
|
5146
5516
|
},
|
|
5147
5517
|
{
|
|
5148
5518
|
"name": "part(info)",
|
|
5149
|
-
"description": "The no-results
|
|
5519
|
+
"description": "The info row: loading while `loading` with an empty list, otherwise no-results when the query matches no options"
|
|
5150
5520
|
},
|
|
5151
5521
|
{
|
|
5152
5522
|
"name": "part(root)",
|
|
@@ -5174,7 +5544,7 @@
|
|
|
5174
5544
|
},
|
|
5175
5545
|
{
|
|
5176
5546
|
"name": "part(root)",
|
|
5177
|
-
"description": "The card's visible surface, carries the background, radius, shadow and section spacing"
|
|
5547
|
+
"description": "The card's visible surface, carries the background, border, radius, shadow and section spacing"
|
|
5178
5548
|
},
|
|
5179
5549
|
{
|
|
5180
5550
|
"name": "part(fullscreen-toggle)",
|
|
@@ -5222,7 +5592,11 @@
|
|
|
5222
5592
|
},
|
|
5223
5593
|
{
|
|
5224
5594
|
"name": "part(indicator)",
|
|
5225
|
-
"description": "The
|
|
5595
|
+
"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"
|
|
5596
|
+
},
|
|
5597
|
+
{
|
|
5598
|
+
"name": "part(mark)",
|
|
5599
|
+
"description": "The SVG check / indeterminate glyph revealed inside the indicator; draws with `currentColor`, so `color` recolours it"
|
|
5226
5600
|
},
|
|
5227
5601
|
{
|
|
5228
5602
|
"name": "part(content)",
|
|
@@ -5230,7 +5604,7 @@
|
|
|
5230
5604
|
},
|
|
5231
5605
|
{
|
|
5232
5606
|
"name": "part(message)",
|
|
5233
|
-
"description": "The hint / error message
|
|
5607
|
+
"description": "The hint / error message area below the checkbox (always reserved unless `hide-details`)"
|
|
5234
5608
|
},
|
|
5235
5609
|
{
|
|
5236
5610
|
"name": "part(root)",
|
|
@@ -5278,6 +5652,12 @@
|
|
|
5278
5652
|
"name": "part(root)",
|
|
5279
5653
|
"description": "The separator line element itself"
|
|
5280
5654
|
},
|
|
5655
|
+
{
|
|
5656
|
+
"name": "part(menu)",
|
|
5657
|
+
"description": "The positioned dialog surface holding the field and the list"
|
|
5658
|
+
},
|
|
5659
|
+
{ "name": "part(list)", "description": "The scrolling listbox" },
|
|
5660
|
+
{ "name": "part(item)", "description": "One option row" },
|
|
5281
5661
|
{
|
|
5282
5662
|
"name": "part(root)",
|
|
5283
5663
|
"description": "The `<svg>` element rendering the icon"
|
|
@@ -5342,9 +5722,13 @@
|
|
|
5342
5722
|
"name": "part(root)",
|
|
5343
5723
|
"description": "The anchor element forming the whole clickable card"
|
|
5344
5724
|
},
|
|
5725
|
+
{
|
|
5726
|
+
"name": "part(image-wrap)",
|
|
5727
|
+
"description": "The area above the title bar that centers the logo (default image or slotted content)"
|
|
5728
|
+
},
|
|
5345
5729
|
{
|
|
5346
5730
|
"name": "part(image)",
|
|
5347
|
-
"description": "The provider logo
|
|
5731
|
+
"description": "The default provider logo `<img>` (absent when the `image` slot is used)"
|
|
5348
5732
|
},
|
|
5349
5733
|
{
|
|
5350
5734
|
"name": "part(title)",
|
|
@@ -5403,6 +5787,14 @@
|
|
|
5403
5787
|
"name": "part(content)",
|
|
5404
5788
|
"description": "The flex wrapper around the default-slot content"
|
|
5405
5789
|
},
|
|
5790
|
+
{
|
|
5791
|
+
"name": "part(icon)",
|
|
5792
|
+
"description": "The leading icon rendered from the `icon` prop"
|
|
5793
|
+
},
|
|
5794
|
+
{
|
|
5795
|
+
"name": "part(check)",
|
|
5796
|
+
"description": "The trailing indicator icon shown while the item is active"
|
|
5797
|
+
},
|
|
5406
5798
|
{
|
|
5407
5799
|
"name": "part(submenu-panel)",
|
|
5408
5800
|
"description": "The floating popover holding the submenu"
|
|
@@ -5471,6 +5863,18 @@
|
|
|
5471
5863
|
"name": "part(pages)",
|
|
5472
5864
|
"description": "The `<ul>` list of page buttons and the prev/next controls"
|
|
5473
5865
|
},
|
|
5866
|
+
{
|
|
5867
|
+
"name": "part(trigger)",
|
|
5868
|
+
"description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
|
|
5869
|
+
},
|
|
5870
|
+
{
|
|
5871
|
+
"name": "part(panel)",
|
|
5872
|
+
"description": "The floating popover surface positioned against the trigger"
|
|
5873
|
+
},
|
|
5874
|
+
{
|
|
5875
|
+
"name": "part(heading)",
|
|
5876
|
+
"description": "The heading rendered from the `heading` prop"
|
|
5877
|
+
},
|
|
5474
5878
|
{
|
|
5475
5879
|
"name": "part(root)",
|
|
5476
5880
|
"description": "The outer flex wrapper around the bar and the details line"
|
|
@@ -5485,7 +5889,32 @@
|
|
|
5485
5889
|
},
|
|
5486
5890
|
{
|
|
5487
5891
|
"name": "part(root)",
|
|
5488
|
-
"description": "The
|
|
5892
|
+
"description": "The wrapper around the ring and the centered content"
|
|
5893
|
+
},
|
|
5894
|
+
{
|
|
5895
|
+
"name": "part(track)",
|
|
5896
|
+
"description": "The background ring (SVG circle)"
|
|
5897
|
+
},
|
|
5898
|
+
{ "name": "part(bar)", "description": "The value arc (SVG circle)" },
|
|
5899
|
+
{
|
|
5900
|
+
"name": "part(content)",
|
|
5901
|
+
"description": "The centered slot-content wrapper"
|
|
5902
|
+
},
|
|
5903
|
+
{
|
|
5904
|
+
"name": "part(root)",
|
|
5905
|
+
"description": "The `<label>` row wrapping the input, indicator and label content"
|
|
5906
|
+
},
|
|
5907
|
+
{
|
|
5908
|
+
"name": "part(indicator)",
|
|
5909
|
+
"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"
|
|
5910
|
+
},
|
|
5911
|
+
{
|
|
5912
|
+
"name": "part(content)",
|
|
5913
|
+
"description": "Wrapper around the slotted label content"
|
|
5914
|
+
},
|
|
5915
|
+
{
|
|
5916
|
+
"name": "part(root)",
|
|
5917
|
+
"description": "The radiogroup wrapper element"
|
|
5489
5918
|
},
|
|
5490
5919
|
{
|
|
5491
5920
|
"name": "part(label)",
|
|
@@ -5493,11 +5922,23 @@
|
|
|
5493
5922
|
},
|
|
5494
5923
|
{
|
|
5495
5924
|
"name": "part(items)",
|
|
5496
|
-
"description": "The
|
|
5925
|
+
"description": "The container the radios are slotted into"
|
|
5497
5926
|
},
|
|
5498
5927
|
{
|
|
5499
5928
|
"name": "part(message)",
|
|
5500
|
-
"description": "The hint/error message
|
|
5929
|
+
"description": "The hint/error message area below the radios (always reserved unless `hide-details`)"
|
|
5930
|
+
},
|
|
5931
|
+
{
|
|
5932
|
+
"name": "part(menu)",
|
|
5933
|
+
"description": "The dropdown surface (the positioned dialog) holding the field and the list"
|
|
5934
|
+
},
|
|
5935
|
+
{
|
|
5936
|
+
"name": "part(list)",
|
|
5937
|
+
"description": "The scrolling listbox of options"
|
|
5938
|
+
},
|
|
5939
|
+
{
|
|
5940
|
+
"name": "part(item)",
|
|
5941
|
+
"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"
|
|
5501
5942
|
},
|
|
5502
5943
|
{ "name": "part(root)", "description": "The outer drawer container" },
|
|
5503
5944
|
{
|
|
@@ -5646,7 +6087,7 @@
|
|
|
5646
6087
|
},
|
|
5647
6088
|
{
|
|
5648
6089
|
"name": "part(root)",
|
|
5649
|
-
"description": "The toast's outer box
|
|
6090
|
+
"description": "The toast's outer box: the inverted-surface pill carrying the shadow"
|
|
5650
6091
|
},
|
|
5651
6092
|
{
|
|
5652
6093
|
"name": "part(custom)",
|
|
@@ -5658,7 +6099,15 @@
|
|
|
5658
6099
|
},
|
|
5659
6100
|
{
|
|
5660
6101
|
"name": "part(item)",
|
|
5661
|
-
"description": "Row layout of a standard toast:
|
|
6102
|
+
"description": "Row layout of a standard toast: status badge, message body and dismiss button"
|
|
6103
|
+
},
|
|
6104
|
+
{
|
|
6105
|
+
"name": "part(badge)",
|
|
6106
|
+
"description": "The circular tinted badge holding the status icon"
|
|
6107
|
+
},
|
|
6108
|
+
{
|
|
6109
|
+
"name": "part(dismiss)",
|
|
6110
|
+
"description": "The dismiss button (icon-only, or labelled when the message sets `closeText`)"
|
|
5662
6111
|
},
|
|
5663
6112
|
{
|
|
5664
6113
|
"name": "part(progress)",
|
|
@@ -5671,6 +6120,14 @@
|
|
|
5671
6120
|
{
|
|
5672
6121
|
"name": "part(root)",
|
|
5673
6122
|
"description": "The toolbar bar itself, fixed to the top of the viewport"
|
|
6123
|
+
},
|
|
6124
|
+
{
|
|
6125
|
+
"name": "part(trigger)",
|
|
6126
|
+
"description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
|
|
6127
|
+
},
|
|
6128
|
+
{
|
|
6129
|
+
"name": "part(panel)",
|
|
6130
|
+
"description": "The floating tooltip bubble positioned against the trigger"
|
|
5674
6131
|
}
|
|
5675
6132
|
]
|
|
5676
6133
|
}
|