@cscfi/csc-ui 4.0.0-alpha.1 → 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 +7675 -6821
- package/dist/custom-elements.json +1036 -143
- package/dist/docs/c-alert/usage.md +24 -0
- 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 +103 -14
- package/dist/vscode.html-custom-data.json +181 -25
- package/dist/web-types.json +524 -87
- package/dist-types/components/c-alert/CAlert.vue.d.ts +18 -4
- package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +4 -1
- package/dist-types/components/c-button/CButton.vue.d.ts +1 -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 +193 -32
- 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,19 +210,44 @@
|
|
|
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
|
{
|
|
@@ -305,6 +340,11 @@
|
|
|
305
340
|
"description": "Shadow variant",
|
|
306
341
|
"value": { "type": "boolean", "default": "false" }
|
|
307
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
|
+
},
|
|
308
348
|
{
|
|
309
349
|
"name": "valid",
|
|
310
350
|
"description": "Set the validity of the input",
|
|
@@ -457,6 +497,11 @@
|
|
|
457
497
|
"description": "Shadow variant",
|
|
458
498
|
"type": "boolean"
|
|
459
499
|
},
|
|
500
|
+
{
|
|
501
|
+
"name": "size",
|
|
502
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
503
|
+
"type": "'default' | 'small'"
|
|
504
|
+
},
|
|
460
505
|
{
|
|
461
506
|
"name": "valid",
|
|
462
507
|
"description": "Set the validity of the input",
|
|
@@ -829,7 +874,7 @@
|
|
|
829
874
|
},
|
|
830
875
|
{
|
|
831
876
|
"name": "c-card",
|
|
832
|
-
"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",
|
|
833
878
|
"doc-url": "",
|
|
834
879
|
"attributes": [
|
|
835
880
|
{
|
|
@@ -917,7 +962,7 @@
|
|
|
917
962
|
},
|
|
918
963
|
{
|
|
919
964
|
"name": "c-checkbox",
|
|
920
|
-
"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`)",
|
|
921
966
|
"doc-url": "",
|
|
922
967
|
"attributes": [
|
|
923
968
|
{
|
|
@@ -1407,7 +1452,7 @@
|
|
|
1407
1452
|
},
|
|
1408
1453
|
{
|
|
1409
1454
|
"name": "c-dropdown",
|
|
1410
|
-
"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",
|
|
1411
1456
|
"doc-url": "",
|
|
1412
1457
|
"attributes": [
|
|
1413
1458
|
{
|
|
@@ -1758,6 +1803,11 @@
|
|
|
1758
1803
|
"description": "Shadow variant of the input",
|
|
1759
1804
|
"value": { "type": "boolean", "default": "false" }
|
|
1760
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
|
+
},
|
|
1761
1811
|
{
|
|
1762
1812
|
"name": "valid",
|
|
1763
1813
|
"description": "Set the validíty of the input",
|
|
@@ -1841,6 +1891,11 @@
|
|
|
1841
1891
|
"description": "Shadow variant of the input",
|
|
1842
1892
|
"type": "boolean"
|
|
1843
1893
|
},
|
|
1894
|
+
{
|
|
1895
|
+
"name": "size",
|
|
1896
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
1897
|
+
"type": "'default' | 'small'"
|
|
1898
|
+
},
|
|
1844
1899
|
{
|
|
1845
1900
|
"name": "valid",
|
|
1846
1901
|
"description": "Set the validíty of the input",
|
|
@@ -2135,7 +2190,7 @@
|
|
|
2135
2190
|
},
|
|
2136
2191
|
{
|
|
2137
2192
|
"name": "c-login-button",
|
|
2138
|
-
"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",
|
|
2139
2194
|
"doc-url": "",
|
|
2140
2195
|
"attributes": [
|
|
2141
2196
|
{
|
|
@@ -2154,7 +2209,16 @@
|
|
|
2154
2209
|
"value": { "type": "string", "default": "''" }
|
|
2155
2210
|
}
|
|
2156
2211
|
],
|
|
2157
|
-
"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
|
+
],
|
|
2158
2222
|
"events": [],
|
|
2159
2223
|
"js": {
|
|
2160
2224
|
"properties": [
|
|
@@ -2363,6 +2427,11 @@
|
|
|
2363
2427
|
"type": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'",
|
|
2364
2428
|
"default": "'bottom-start'"
|
|
2365
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" }
|
|
2366
2435
|
}
|
|
2367
2436
|
],
|
|
2368
2437
|
"slots": [
|
|
@@ -2403,6 +2472,11 @@
|
|
|
2403
2472
|
"name": "position",
|
|
2404
2473
|
"description": "Preferred placement of the panel relative to the trigger.",
|
|
2405
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"
|
|
2406
2480
|
}
|
|
2407
2481
|
],
|
|
2408
2482
|
"events": [
|
|
@@ -2421,9 +2495,19 @@
|
|
|
2421
2495
|
},
|
|
2422
2496
|
{
|
|
2423
2497
|
"name": "c-menu-item",
|
|
2424
|
-
"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",
|
|
2425
2499
|
"doc-url": "",
|
|
2426
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
|
+
},
|
|
2427
2511
|
{
|
|
2428
2512
|
"name": "danger",
|
|
2429
2513
|
"description": "Marks the action as destructive (renders in the error colour).",
|
|
@@ -2434,6 +2518,11 @@
|
|
|
2434
2518
|
"description": "Disables the item — it is skipped by keyboard nav and emits no select.",
|
|
2435
2519
|
"value": { "type": "boolean", "default": "false" }
|
|
2436
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
|
+
},
|
|
2437
2526
|
{
|
|
2438
2527
|
"name": "value",
|
|
2439
2528
|
"description": "Value reported in the menu's `select` event when this item is chosen.",
|
|
@@ -2453,6 +2542,16 @@
|
|
|
2453
2542
|
"events": [],
|
|
2454
2543
|
"js": {
|
|
2455
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
|
+
},
|
|
2456
2555
|
{
|
|
2457
2556
|
"name": "danger",
|
|
2458
2557
|
"description": "Marks the action as destructive (renders in the error colour).",
|
|
@@ -2463,6 +2562,11 @@
|
|
|
2463
2562
|
"description": "Disables the item — it is skipped by keyboard nav and emits no select.",
|
|
2464
2563
|
"type": "boolean"
|
|
2465
2564
|
},
|
|
2565
|
+
{
|
|
2566
|
+
"name": "icon",
|
|
2567
|
+
"description": "SVG path for a leading icon rendered before the item's content.",
|
|
2568
|
+
"type": "string"
|
|
2569
|
+
},
|
|
2466
2570
|
{
|
|
2467
2571
|
"name": "value",
|
|
2468
2572
|
"description": "Value reported in the menu's `select` event when this item is chosen.",
|
|
@@ -2992,9 +3096,97 @@
|
|
|
2992
3096
|
]
|
|
2993
3097
|
}
|
|
2994
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
|
+
},
|
|
2995
3187
|
{
|
|
2996
3188
|
"name": "c-progress-bar",
|
|
2997
|
-
"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",
|
|
2998
3190
|
"doc-url": "",
|
|
2999
3191
|
"attributes": [
|
|
3000
3192
|
{
|
|
@@ -3057,15 +3249,59 @@
|
|
|
3057
3249
|
}
|
|
3058
3250
|
},
|
|
3059
3251
|
{
|
|
3060
|
-
"name": "c-
|
|
3061
|
-
"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",
|
|
3062
3254
|
"doc-url": "",
|
|
3063
3255
|
"attributes": [
|
|
3064
3256
|
{
|
|
3065
|
-
"name": "
|
|
3066
|
-
"description": "
|
|
3067
|
-
"value": { "type": "
|
|
3257
|
+
"name": "size",
|
|
3258
|
+
"description": "Diameter of the circle in pixels",
|
|
3259
|
+
"value": { "type": "number", "default": "32" }
|
|
3068
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": [
|
|
3069
3305
|
{
|
|
3070
3306
|
"name": "disabled",
|
|
3071
3307
|
"description": "Disable the radio button",
|
|
@@ -3080,17 +3316,18 @@
|
|
|
3080
3316
|
"slots": [
|
|
3081
3317
|
{
|
|
3082
3318
|
"name": "default",
|
|
3083
|
-
"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`."
|
|
3084
3327
|
}
|
|
3085
3328
|
],
|
|
3086
|
-
"events": [],
|
|
3087
3329
|
"js": {
|
|
3088
3330
|
"properties": [
|
|
3089
|
-
{
|
|
3090
|
-
"name": "checked",
|
|
3091
|
-
"description": "Set option as checked",
|
|
3092
|
-
"type": "boolean"
|
|
3093
|
-
},
|
|
3094
3331
|
{
|
|
3095
3332
|
"name": "disabled",
|
|
3096
3333
|
"description": "Disable the radio button",
|
|
@@ -3102,12 +3339,18 @@
|
|
|
3102
3339
|
"type": "string"
|
|
3103
3340
|
}
|
|
3104
3341
|
],
|
|
3105
|
-
"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
|
+
]
|
|
3106
3349
|
}
|
|
3107
3350
|
},
|
|
3108
3351
|
{
|
|
3109
3352
|
"name": "c-radio-group",
|
|
3110
|
-
"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`)",
|
|
3111
3354
|
"doc-url": "",
|
|
3112
3355
|
"attributes": [
|
|
3113
3356
|
{
|
|
@@ -3130,11 +3373,6 @@
|
|
|
3130
3373
|
"description": "Hint text for the input",
|
|
3131
3374
|
"value": { "type": "string", "default": "''" }
|
|
3132
3375
|
},
|
|
3133
|
-
{
|
|
3134
|
-
"name": "host-id",
|
|
3135
|
-
"description": "Id of the element",
|
|
3136
|
-
"value": { "type": "string", "default": "''" }
|
|
3137
|
-
},
|
|
3138
3376
|
{
|
|
3139
3377
|
"name": "inline",
|
|
3140
3378
|
"description": "Display radio buttons inline",
|
|
@@ -3150,11 +3388,6 @@
|
|
|
3150
3388
|
"description": "Set as required",
|
|
3151
3389
|
"value": { "type": "boolean", "default": "false" }
|
|
3152
3390
|
},
|
|
3153
|
-
{
|
|
3154
|
-
"name": "return-object",
|
|
3155
|
-
"description": "Return the whole item object",
|
|
3156
|
-
"value": { "type": "boolean", "default": "false" }
|
|
3157
|
-
},
|
|
3158
3391
|
{
|
|
3159
3392
|
"name": "valid",
|
|
3160
3393
|
"description": "Set the validity of the input",
|
|
@@ -3162,21 +3395,25 @@
|
|
|
3162
3395
|
},
|
|
3163
3396
|
{
|
|
3164
3397
|
"name": "value",
|
|
3165
|
-
"description": "Value of the radio group",
|
|
3166
|
-
"value": {
|
|
3167
|
-
"type": "null | number | RadioItem | string",
|
|
3168
|
-
"default": "null"
|
|
3169
|
-
}
|
|
3398
|
+
"description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
|
|
3399
|
+
"value": { "type": "null | string", "default": "null" }
|
|
3170
3400
|
}
|
|
3171
3401
|
],
|
|
3172
3402
|
"slots": [
|
|
3173
|
-
{
|
|
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
|
+
}
|
|
3174
3411
|
],
|
|
3175
3412
|
"events": [
|
|
3176
3413
|
{
|
|
3177
3414
|
"name": "changeValue",
|
|
3178
|
-
"type": "CustomEvent<
|
|
3179
|
-
"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."
|
|
3180
3417
|
},
|
|
3181
3418
|
{
|
|
3182
3419
|
"name": "input",
|
|
@@ -3185,8 +3422,8 @@
|
|
|
3185
3422
|
},
|
|
3186
3423
|
{
|
|
3187
3424
|
"name": "update:value",
|
|
3188
|
-
"type": "CustomEvent<
|
|
3189
|
-
"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."
|
|
3190
3427
|
}
|
|
3191
3428
|
],
|
|
3192
3429
|
"js": {
|
|
@@ -3211,21 +3448,11 @@
|
|
|
3211
3448
|
"description": "Hint text for the input",
|
|
3212
3449
|
"type": "string"
|
|
3213
3450
|
},
|
|
3214
|
-
{
|
|
3215
|
-
"name": "hostId",
|
|
3216
|
-
"description": "Id of the element",
|
|
3217
|
-
"type": "string"
|
|
3218
|
-
},
|
|
3219
3451
|
{
|
|
3220
3452
|
"name": "inline",
|
|
3221
3453
|
"description": "Display radio buttons inline",
|
|
3222
3454
|
"type": "boolean"
|
|
3223
3455
|
},
|
|
3224
|
-
{
|
|
3225
|
-
"name": "items",
|
|
3226
|
-
"description": "Radio group items",
|
|
3227
|
-
"type": "RadioItem[]"
|
|
3228
|
-
},
|
|
3229
3456
|
{
|
|
3230
3457
|
"name": "label",
|
|
3231
3458
|
"description": "Label of the radio group",
|
|
@@ -3236,11 +3463,6 @@
|
|
|
3236
3463
|
"description": "Set as required",
|
|
3237
3464
|
"type": "boolean"
|
|
3238
3465
|
},
|
|
3239
|
-
{
|
|
3240
|
-
"name": "returnObject",
|
|
3241
|
-
"description": "Return the whole item object",
|
|
3242
|
-
"type": "boolean"
|
|
3243
|
-
},
|
|
3244
3466
|
{
|
|
3245
3467
|
"name": "valid",
|
|
3246
3468
|
"description": "Set the validity of the input",
|
|
@@ -3248,15 +3470,15 @@
|
|
|
3248
3470
|
},
|
|
3249
3471
|
{
|
|
3250
3472
|
"name": "value",
|
|
3251
|
-
"description": "Value of the radio group",
|
|
3252
|
-
"type": "null |
|
|
3473
|
+
"description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
|
|
3474
|
+
"type": "null | string"
|
|
3253
3475
|
}
|
|
3254
3476
|
],
|
|
3255
3477
|
"events": [
|
|
3256
3478
|
{
|
|
3257
3479
|
"name": "changeValue",
|
|
3258
|
-
"type": "CustomEvent<
|
|
3259
|
-
"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."
|
|
3260
3482
|
},
|
|
3261
3483
|
{
|
|
3262
3484
|
"name": "input",
|
|
@@ -3265,15 +3487,15 @@
|
|
|
3265
3487
|
},
|
|
3266
3488
|
{
|
|
3267
3489
|
"name": "update:value",
|
|
3268
|
-
"type": "CustomEvent<
|
|
3269
|
-
"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."
|
|
3270
3492
|
}
|
|
3271
3493
|
]
|
|
3272
3494
|
}
|
|
3273
3495
|
},
|
|
3274
3496
|
{
|
|
3275
3497
|
"name": "c-select",
|
|
3276
|
-
"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",
|
|
3277
3499
|
"doc-url": "",
|
|
3278
3500
|
"attributes": [
|
|
3279
3501
|
{
|
|
@@ -3356,6 +3578,11 @@
|
|
|
3356
3578
|
"description": "Shadow variant",
|
|
3357
3579
|
"value": { "type": "boolean", "default": "false" }
|
|
3358
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
|
+
},
|
|
3359
3586
|
{
|
|
3360
3587
|
"name": "valid",
|
|
3361
3588
|
"description": "Set the validity of the input",
|
|
@@ -3485,6 +3712,11 @@
|
|
|
3485
3712
|
"description": "Shadow variant",
|
|
3486
3713
|
"type": "boolean"
|
|
3487
3714
|
},
|
|
3715
|
+
{
|
|
3716
|
+
"name": "size",
|
|
3717
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
3718
|
+
"type": "'default' | 'small'"
|
|
3719
|
+
},
|
|
3488
3720
|
{
|
|
3489
3721
|
"name": "valid",
|
|
3490
3722
|
"description": "Set the validity of the input",
|
|
@@ -3852,7 +4084,7 @@
|
|
|
3852
4084
|
},
|
|
3853
4085
|
{
|
|
3854
4086
|
"name": "c-spinner",
|
|
3855
|
-
"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",
|
|
3856
4088
|
"doc-url": "",
|
|
3857
4089
|
"attributes": [
|
|
3858
4090
|
{
|
|
@@ -4045,7 +4277,7 @@
|
|
|
4045
4277
|
},
|
|
4046
4278
|
{
|
|
4047
4279
|
"name": "c-switch",
|
|
4048
|
-
"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",
|
|
4049
4281
|
"doc-url": "",
|
|
4050
4282
|
"attributes": [
|
|
4051
4283
|
{
|
|
@@ -4438,7 +4670,7 @@
|
|
|
4438
4670
|
},
|
|
4439
4671
|
{
|
|
4440
4672
|
"name": "c-table",
|
|
4441
|
-
"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",
|
|
4442
4674
|
"doc-url": "",
|
|
4443
4675
|
"attributes": [
|
|
4444
4676
|
{
|
|
@@ -4452,7 +4684,12 @@
|
|
|
4452
4684
|
"value": { "type": "boolean", "default": "false" }
|
|
4453
4685
|
}
|
|
4454
4686
|
],
|
|
4455
|
-
"slots": [
|
|
4687
|
+
"slots": [
|
|
4688
|
+
{
|
|
4689
|
+
"name": "default",
|
|
4690
|
+
"description": "The consumer-authored `<table>` element"
|
|
4691
|
+
}
|
|
4692
|
+
],
|
|
4456
4693
|
"events": [],
|
|
4457
4694
|
"js": {
|
|
4458
4695
|
"properties": [
|
|
@@ -4807,6 +5044,11 @@
|
|
|
4807
5044
|
"description": "Shadow variant of the input",
|
|
4808
5045
|
"value": { "type": "boolean", "default": "false" }
|
|
4809
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
|
+
},
|
|
4810
5052
|
{
|
|
4811
5053
|
"name": "step",
|
|
4812
5054
|
"description": "Step size on a numeric input",
|
|
@@ -4954,6 +5196,11 @@
|
|
|
4954
5196
|
"description": "Shadow variant of the input",
|
|
4955
5197
|
"type": "boolean"
|
|
4956
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
|
+
},
|
|
4957
5204
|
{
|
|
4958
5205
|
"name": "step",
|
|
4959
5206
|
"description": "Step size on a numeric input",
|
|
@@ -5006,7 +5253,7 @@
|
|
|
5006
5253
|
},
|
|
5007
5254
|
{
|
|
5008
5255
|
"name": "c-toast",
|
|
5009
|
-
"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",
|
|
5010
5257
|
"doc-url": "",
|
|
5011
5258
|
"attributes": [
|
|
5012
5259
|
{
|
|
@@ -5105,6 +5352,104 @@
|
|
|
5105
5352
|
"slots": [{ "name": "default", "description": "Content of toolbar" }],
|
|
5106
5353
|
"events": [],
|
|
5107
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
|
+
}
|
|
5108
5453
|
}
|
|
5109
5454
|
]
|
|
5110
5455
|
},
|
|
@@ -5138,15 +5483,20 @@
|
|
|
5138
5483
|
},
|
|
5139
5484
|
{
|
|
5140
5485
|
"name": "part(root)",
|
|
5141
|
-
"description": "The
|
|
5486
|
+
"description": "The tinted box carrying the type's wash, hairline border and accent edge"
|
|
5142
5487
|
},
|
|
5488
|
+
{ "name": "part(icon)", "description": "The status icon svg" },
|
|
5143
5489
|
{
|
|
5144
|
-
"name": "part(
|
|
5145
|
-
"description": "The
|
|
5490
|
+
"name": "part(content)",
|
|
5491
|
+
"description": "The wrapper around the heading and message content"
|
|
5146
5492
|
},
|
|
5147
5493
|
{
|
|
5148
|
-
"name": "part(
|
|
5149
|
-
"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"
|
|
5150
5500
|
},
|
|
5151
5501
|
{
|
|
5152
5502
|
"name": "part(panel)",
|
|
@@ -5194,7 +5544,7 @@
|
|
|
5194
5544
|
},
|
|
5195
5545
|
{
|
|
5196
5546
|
"name": "part(root)",
|
|
5197
|
-
"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"
|
|
5198
5548
|
},
|
|
5199
5549
|
{
|
|
5200
5550
|
"name": "part(fullscreen-toggle)",
|
|
@@ -5242,7 +5592,11 @@
|
|
|
5242
5592
|
},
|
|
5243
5593
|
{
|
|
5244
5594
|
"name": "part(indicator)",
|
|
5245
|
-
"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"
|
|
5246
5600
|
},
|
|
5247
5601
|
{
|
|
5248
5602
|
"name": "part(content)",
|
|
@@ -5250,7 +5604,7 @@
|
|
|
5250
5604
|
},
|
|
5251
5605
|
{
|
|
5252
5606
|
"name": "part(message)",
|
|
5253
|
-
"description": "The hint / error message
|
|
5607
|
+
"description": "The hint / error message area below the checkbox (always reserved unless `hide-details`)"
|
|
5254
5608
|
},
|
|
5255
5609
|
{
|
|
5256
5610
|
"name": "part(root)",
|
|
@@ -5298,6 +5652,12 @@
|
|
|
5298
5652
|
"name": "part(root)",
|
|
5299
5653
|
"description": "The separator line element itself"
|
|
5300
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" },
|
|
5301
5661
|
{
|
|
5302
5662
|
"name": "part(root)",
|
|
5303
5663
|
"description": "The `<svg>` element rendering the icon"
|
|
@@ -5362,9 +5722,13 @@
|
|
|
5362
5722
|
"name": "part(root)",
|
|
5363
5723
|
"description": "The anchor element forming the whole clickable card"
|
|
5364
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
|
+
},
|
|
5365
5729
|
{
|
|
5366
5730
|
"name": "part(image)",
|
|
5367
|
-
"description": "The provider logo
|
|
5731
|
+
"description": "The default provider logo `<img>` (absent when the `image` slot is used)"
|
|
5368
5732
|
},
|
|
5369
5733
|
{
|
|
5370
5734
|
"name": "part(title)",
|
|
@@ -5423,6 +5787,14 @@
|
|
|
5423
5787
|
"name": "part(content)",
|
|
5424
5788
|
"description": "The flex wrapper around the default-slot content"
|
|
5425
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
|
+
},
|
|
5426
5798
|
{
|
|
5427
5799
|
"name": "part(submenu-panel)",
|
|
5428
5800
|
"description": "The floating popover holding the submenu"
|
|
@@ -5491,6 +5863,18 @@
|
|
|
5491
5863
|
"name": "part(pages)",
|
|
5492
5864
|
"description": "The `<ul>` list of page buttons and the prev/next controls"
|
|
5493
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
|
+
},
|
|
5494
5878
|
{
|
|
5495
5879
|
"name": "part(root)",
|
|
5496
5880
|
"description": "The outer flex wrapper around the bar and the details line"
|
|
@@ -5505,7 +5889,32 @@
|
|
|
5505
5889
|
},
|
|
5506
5890
|
{
|
|
5507
5891
|
"name": "part(root)",
|
|
5508
|
-
"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"
|
|
5509
5918
|
},
|
|
5510
5919
|
{
|
|
5511
5920
|
"name": "part(label)",
|
|
@@ -5513,11 +5922,23 @@
|
|
|
5513
5922
|
},
|
|
5514
5923
|
{
|
|
5515
5924
|
"name": "part(items)",
|
|
5516
|
-
"description": "The
|
|
5925
|
+
"description": "The container the radios are slotted into"
|
|
5517
5926
|
},
|
|
5518
5927
|
{
|
|
5519
5928
|
"name": "part(message)",
|
|
5520
|
-
"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"
|
|
5521
5942
|
},
|
|
5522
5943
|
{ "name": "part(root)", "description": "The outer drawer container" },
|
|
5523
5944
|
{
|
|
@@ -5666,7 +6087,7 @@
|
|
|
5666
6087
|
},
|
|
5667
6088
|
{
|
|
5668
6089
|
"name": "part(root)",
|
|
5669
|
-
"description": "The toast's outer box
|
|
6090
|
+
"description": "The toast's outer box: the inverted-surface pill carrying the shadow"
|
|
5670
6091
|
},
|
|
5671
6092
|
{
|
|
5672
6093
|
"name": "part(custom)",
|
|
@@ -5678,7 +6099,15 @@
|
|
|
5678
6099
|
},
|
|
5679
6100
|
{
|
|
5680
6101
|
"name": "part(item)",
|
|
5681
|
-
"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`)"
|
|
5682
6111
|
},
|
|
5683
6112
|
{
|
|
5684
6113
|
"name": "part(progress)",
|
|
@@ -5691,6 +6120,14 @@
|
|
|
5691
6120
|
{
|
|
5692
6121
|
"name": "part(root)",
|
|
5693
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"
|
|
5694
6131
|
}
|
|
5695
6132
|
]
|
|
5696
6133
|
}
|