@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
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"csc": {
|
|
4
4
|
"types": [
|
|
5
|
+
{
|
|
6
|
+
"declaration": "export type CFieldSize = 'default' | 'small';",
|
|
7
|
+
"description": "Field height of the form controls built on `c-input`. `default` is the 44px\nfield; `small` is the 36px field. Owned here because the value passes from\nthe wrapping control (`c-select`) into `c-input`.",
|
|
8
|
+
"kind": "type-alias",
|
|
9
|
+
"name": "CFieldSize"
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
"declaration": "export type CPlacement =\n | 'bottom-end'\n | 'bottom-start'\n | 'bottom'\n | 'left-end'\n | 'left-start'\n | 'left'\n | 'right-end'\n | 'right-start'\n | 'right'\n | 'top-end'\n | 'top-start'\n | 'top';",
|
|
13
|
+
"description": "Preferred placement of a floating panel relative to its anchor, shared by\nthe anchor-positioned overlay components (`c-menu`, `c-tooltip`,\n`c-popover`). The side names the panel's position; `-start`/`-end` align\nthe panel's edge with the anchor's on the cross axis.",
|
|
14
|
+
"kind": "type-alias",
|
|
15
|
+
"name": "CPlacement"
|
|
16
|
+
},
|
|
5
17
|
{
|
|
6
18
|
"declaration": "export interface CSelectItem {\n /** Disable the item so it cannot be selected. */\n disabled?: boolean;\n /** The item's display label. */\n name: string;\n /** The value emitted via v-model when the item is selected. */\n value: number | string;\n}",
|
|
7
19
|
"description": "A selectable item for the value-selection components (`c-select`,\n`c-autocomplete`) when options are supplied via the `items` prop instead of\nslotted `<c-option>` elements.",
|
|
@@ -22,13 +34,13 @@
|
|
|
22
34
|
},
|
|
23
35
|
{
|
|
24
36
|
"declaration": "export type CAlertIconType = 'error' | 'info' | 'success' | 'warning';",
|
|
25
|
-
"description": "The alert types that
|
|
37
|
+
"description": "The alert types that carry a status family's accent colour; `default` uses\nthe brand primary. Every type renders its status icon.",
|
|
26
38
|
"kind": "type-alias",
|
|
27
39
|
"name": "CAlertIconType",
|
|
28
40
|
"owner": "c-alert"
|
|
29
41
|
},
|
|
30
42
|
{
|
|
31
|
-
"declaration": "export interface CAlertProps {\n /**\n * Type of the alert\n *\n * @seeded from csc-ui — verify\n */\n type?: CAlertType;\n}",
|
|
43
|
+
"declaration": "export interface CAlertProps {\n /**\n * Show a dismiss button. The alert only emits `dismiss` — removing it from\n * the page stays the consumer's job.\n */\n dismissible?: boolean;\n /**\n * Heading rendered above the message. The `heading` slot overrides it for\n * rich content.\n *\n * @freeform\n */\n heading?: string;\n /**\n * Type of the alert\n *\n * @seeded from csc-ui — verify\n */\n type?: CAlertType;\n}",
|
|
32
44
|
"description": "",
|
|
33
45
|
"kind": "interface",
|
|
34
46
|
"name": "CAlertProps",
|
|
@@ -36,7 +48,7 @@
|
|
|
36
48
|
},
|
|
37
49
|
{
|
|
38
50
|
"declaration": "export type CAlertType = 'default' | CAlertIconType;",
|
|
39
|
-
"description": "Type of the alert. `default` — equivalently, omitting the attribute —\nrenders the
|
|
51
|
+
"description": "Type of the alert. `default` — equivalently, omitting the attribute —\nrenders the brand-primary look; the four status types carry their status\nfamily's colours.",
|
|
40
52
|
"kind": "type-alias",
|
|
41
53
|
"name": "CAlertType",
|
|
42
54
|
"owner": "c-alert"
|
|
@@ -63,7 +75,7 @@
|
|
|
63
75
|
"owner": "c-autocomplete"
|
|
64
76
|
},
|
|
65
77
|
{
|
|
66
|
-
"declaration": "export interface CAutocompleteProps {\n /** Make the selected value clearable */\n clearable?: boolean;\n /** Disable the input */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the autocomplete is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /** Custom filter predicate; receives a normalized option + the query */\n filter?: CAutocompleteFilter;\n /** Hide the hint and error messages */\n hideDetails?: boolean;\n /**\n * Hint text for the input\n *\n * @freeform\n */\n hint?: string;\n /**\n * Id of the element\n *\n * @freeform\n */\n hostId?: string;\n /** Dropdown items (when not using <c-option> elements) */\n items?: CAutocompleteItem[];\n /** Items per page before the list scrolls */\n itemsPerPage?: number;\n /**\n * Element label\n *\n * @freeform\n */\n label?: string;\n /** Label on top of the input */\n labelOnTop?: boolean;\n /** Show loading state */\n loading?: boolean;\n /**\n * Input field name\n *\n * @freeform\n */\n name?: string;\n /**\n * Message shown when the query matches no options\n *\n * @freeform\n */\n noResultsText?: string;\n /**\n * Placeholder for the in-panel search input\n *\n * @freeform\n */\n placeholder?: string;\n /** Set the autocomplete as required */\n required?: boolean;\n /** Return object instead of value */\n returnObject?: boolean;\n /** Shadow variant */\n shadow?: boolean;\n /** Set the validity of the input */\n valid?: boolean;\n /** Selected value (scalar, or object when return-object is set) */\n value?: CAutocompleteItem | null | number | string;\n}",
|
|
78
|
+
"declaration": "export interface CAutocompleteProps {\n /** Make the selected value clearable */\n clearable?: boolean;\n /** Disable the input */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the autocomplete is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /**\n * The consumer owns filtering: the component renders its options verbatim\n * and only emits `change:query` as the user types. Pair with `loading` and\n * an async data source feeding `items`\n */\n external?: boolean;\n /** Custom filter predicate; receives a normalized option + the query. Ignored when `external` is set */\n filter?: CAutocompleteFilter;\n /** Hide the hint and error messages */\n hideDetails?: boolean;\n /**\n * Hint text for the input\n *\n * @freeform\n */\n hint?: string;\n /**\n * Id of the element\n *\n * @freeform\n */\n hostId?: string;\n /** Dropdown items (when not using <c-option> elements) */\n items?: CAutocompleteItem[];\n /** Items per page before the list scrolls */\n itemsPerPage?: number;\n /**\n * Element label\n *\n * @freeform\n */\n label?: string;\n /** Label on top of the input */\n labelOnTop?: boolean;\n /** Show loading state */\n loading?: boolean;\n /**\n * Input field name\n *\n * @freeform\n */\n name?: string;\n /**\n * Message shown when the query matches no options\n *\n * @freeform\n */\n noResultsText?: string;\n /**\n * Placeholder for the in-panel search input\n *\n * @freeform\n */\n placeholder?: string;\n /** Set the autocomplete as required */\n required?: boolean;\n /** Return object instead of value */\n returnObject?: boolean;\n /** Shadow variant */\n shadow?: boolean;\n /** Field height: the 44px default or the 36px `small` box */\n size?: CFieldSize;\n /** Set the validity of the input */\n valid?: boolean;\n /** Selected value (scalar, or object when return-object is set) */\n value?: CAutocompleteItem | null | number | string;\n}",
|
|
67
79
|
"description": "",
|
|
68
80
|
"kind": "interface",
|
|
69
81
|
"name": "CAutocompleteProps",
|
|
@@ -300,6 +312,13 @@
|
|
|
300
312
|
"name": "CPaginationSize",
|
|
301
313
|
"owner": "c-pagination"
|
|
302
314
|
},
|
|
315
|
+
{
|
|
316
|
+
"declaration": "export interface CPopoverProps {\n /** Distance from the trigger to the panel, in pixels. Defaults to `0`. */\n distance?: number | string;\n /**\n * Heading rendered at the top of the panel, doubling as its accessible\n * name. Without it, set `aria-label` on the host. Named `heading`, not\n * `title`: a `title` attribute on the host would trigger the browser's\n * native tooltip and collides with `HTMLElement.title`.\n * @freeform\n */\n heading?: string;\n /** Whether the popover is open. Two-way: emits `change:open`. */\n open?: boolean;\n /** Preferred placement of the panel relative to the trigger. */\n position?: CPlacement;\n /**\n * Designated trigger: an element elsewhere in the document that opens the\n * popover — its document ID, or the element itself. The same trigger\n * concept as the `trigger` slot, supplied by reference: the popover wires\n * click-to-toggle, ARIA and focus return onto it and anchors the panel to\n * it. When both routes are supplied, this prop wins over the slot.\n */\n trigger?: HTMLElement | string;\n}",
|
|
317
|
+
"description": "",
|
|
318
|
+
"kind": "interface",
|
|
319
|
+
"name": "CPopoverProps",
|
|
320
|
+
"owner": "c-popover"
|
|
321
|
+
},
|
|
303
322
|
{
|
|
304
323
|
"declaration": "export interface CStatusProps {\n /**\n * Status type\n *\n * @seeded from csc-ui — verify\n */\n type?: CStatusType;\n}",
|
|
305
324
|
"description": "",
|
|
@@ -378,7 +397,7 @@
|
|
|
378
397
|
"owner": "c-text-field"
|
|
379
398
|
},
|
|
380
399
|
{
|
|
381
|
-
"declaration": "export interface CTextFieldProps {\n /**\n * HTML input autocomplete\n *\n * @seeded from csc-ui — verify\n * @freeform any HTML autocomplete token list\n */\n autocomplete?: string;\n /**\n * Enable native input autocorrection (Safari). Maps to the input's\n * `autocorrect=\"on\"`/`\"off\"` attribute; left unset (browser default per\n * input type) when not specified. Mirrors the platform\n * `HTMLElement.autocorrect` boolean.\n */\n autocorrect?: boolean;\n /**\n * HTML input autocapitalize\n *\n * @seeded from csc-ui — verify\n */\n automaticCapitalize?: CTextFieldAutocapitalize;\n /**\n * Disable the input\n *\n * @seeded from csc-ui — verify\n */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the input is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /**\n * Hide the hint and error messages\n *\n * @seeded from csc-ui — verify\n */\n hideDetails?: boolean;\n /**\n * Hint text for the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n hint?: string;\n /**\n * Id of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n hostId?: string;\n /**\n * Label of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n label?: string;\n /**\n * Label on top of the input\n *\n * @seeded from csc-ui — verify\n */\n labelOnTop?: boolean;\n /**\n * Maximum value on a numeric input\n *\n * @seeded from csc-ui — verify\n */\n max?: null | number;\n /**\n * Minimum value on a numeric input\n *\n * @seeded from csc-ui — verify\n */\n min?: null | number;\n /**\n * Name of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n name?: string;\n /**\n * Placeholder of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n placeholder?: string;\n /**\n * Mark as readonly\n *\n * @seeded from csc-ui — verify\n */\n readonly?: boolean;\n /**\n * Set the input as required\n *\n * @seeded from csc-ui — verify\n */\n required?: boolean;\n /**\n * Rows on the input\n *\n * @seeded from csc-ui — verify\n */\n rows?: number;\n /**\n * Shadow variant of the input\n *\n * @seeded from csc-ui — verify\n */\n shadow?: boolean;\n /**\n * Step size on a numeric input\n *\n * @seeded from csc-ui — verify\n */\n step?: null | number;\n /**\n * Trim whitespace from the return value\n *\n * @seeded from csc-ui — verify\n */\n trimWhitespace?: boolean;\n /**\n * Type of the input\n *\n * @seeded from csc-ui — verify\n */\n type?: CTextFieldType;\n /**\n * Set the validity of the input\n *\n * @seeded from csc-ui — verify\n */\n valid?: boolean;\n /**\n * Value of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n value?: string;\n}",
|
|
400
|
+
"declaration": "export interface CTextFieldProps {\n /**\n * HTML input autocomplete\n *\n * @seeded from csc-ui — verify\n * @freeform any HTML autocomplete token list\n */\n autocomplete?: string;\n /**\n * Enable native input autocorrection (Safari). Maps to the input's\n * `autocorrect=\"on\"`/`\"off\"` attribute; left unset (browser default per\n * input type) when not specified. Mirrors the platform\n * `HTMLElement.autocorrect` boolean.\n */\n autocorrect?: boolean;\n /**\n * HTML input autocapitalize\n *\n * @seeded from csc-ui — verify\n */\n automaticCapitalize?: CTextFieldAutocapitalize;\n /**\n * Disable the input\n *\n * @seeded from csc-ui — verify\n */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the input is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /**\n * Hide the hint and error messages\n *\n * @seeded from csc-ui — verify\n */\n hideDetails?: boolean;\n /**\n * Hint text for the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n hint?: string;\n /**\n * Id of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n hostId?: string;\n /**\n * Label of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n label?: string;\n /**\n * Label on top of the input\n *\n * @seeded from csc-ui — verify\n */\n labelOnTop?: boolean;\n /**\n * Maximum value on a numeric input\n *\n * @seeded from csc-ui — verify\n */\n max?: null | number;\n /**\n * Minimum value on a numeric input\n *\n * @seeded from csc-ui — verify\n */\n min?: null | number;\n /**\n * Name of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n name?: string;\n /**\n * Placeholder of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n placeholder?: string;\n /**\n * Mark as readonly\n *\n * @seeded from csc-ui — verify\n */\n readonly?: boolean;\n /**\n * Set the input as required\n *\n * @seeded from csc-ui — verify\n */\n required?: boolean;\n /**\n * Rows on the input\n *\n * @seeded from csc-ui — verify\n */\n rows?: number;\n /**\n * Shadow variant of the input\n *\n * @seeded from csc-ui — verify\n */\n shadow?: boolean;\n /** Field height: the 44px default or the 36px `small` box (single-line fields) */\n size?: CFieldSize;\n /**\n * Step size on a numeric input\n *\n * @seeded from csc-ui — verify\n */\n step?: null | number;\n /**\n * Trim whitespace from the return value\n *\n * @seeded from csc-ui — verify\n */\n trimWhitespace?: boolean;\n /**\n * Type of the input\n *\n * @seeded from csc-ui — verify\n */\n type?: CTextFieldType;\n /**\n * Set the validity of the input\n *\n * @seeded from csc-ui — verify\n */\n valid?: boolean;\n /**\n * Value of the input\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n value?: string;\n}",
|
|
382
401
|
"description": "",
|
|
383
402
|
"kind": "interface",
|
|
384
403
|
"name": "CTextFieldProps",
|
|
@@ -418,6 +437,13 @@
|
|
|
418
437
|
"kind": "type-alias",
|
|
419
438
|
"name": "CToastsVertical",
|
|
420
439
|
"owner": "c-toasts"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"declaration": "export interface CTooltipProps {\n /**\n * Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\n * shows the tooltip immediately, regardless of this value. Defaults to\n * `400`.\n */\n delay?: number | string;\n /** Distance from the trigger to the tooltip, in pixels. Defaults to `4`. */\n distance?: number | string;\n /** Whether the tooltip is open. Two-way: emits `change:open`. */\n open?: boolean;\n /** Preferred placement of the tooltip relative to the trigger. */\n position?: CPlacement;\n /**\n * The tooltip text. Overridden by the `content` slot when that is\n * populated.\n * @freeform\n */\n text?: string;\n /**\n * Designated trigger: an element elsewhere in the document that the\n * tooltip describes — its document ID, or the element itself. The same\n * trigger concept as the `trigger` slot, supplied by reference: the\n * tooltip wires hover/focus, mirrors `aria-description` onto it and\n * anchors the bubble to it. When both routes are supplied, this prop wins\n * over the slot.\n */\n trigger?: HTMLElement | string;\n}",
|
|
443
|
+
"description": "",
|
|
444
|
+
"kind": "interface",
|
|
445
|
+
"name": "CTooltipProps",
|
|
446
|
+
"owner": "c-tooltip"
|
|
421
447
|
}
|
|
422
448
|
]
|
|
423
449
|
},
|
|
@@ -470,6 +496,7 @@
|
|
|
470
496
|
}
|
|
471
497
|
],
|
|
472
498
|
"cssProperties": [],
|
|
499
|
+
"cssStates": [],
|
|
473
500
|
"events": [
|
|
474
501
|
{
|
|
475
502
|
"name": "change",
|
|
@@ -646,6 +673,7 @@
|
|
|
646
673
|
}
|
|
647
674
|
],
|
|
648
675
|
"cssProperties": [],
|
|
676
|
+
"cssStates": [],
|
|
649
677
|
"events": [
|
|
650
678
|
{
|
|
651
679
|
"name": "item-change",
|
|
@@ -753,7 +781,31 @@
|
|
|
753
781
|
"kind": "class",
|
|
754
782
|
"name": "CAlert",
|
|
755
783
|
"tagName": "c-alert",
|
|
784
|
+
"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.",
|
|
785
|
+
"csc": {
|
|
786
|
+
"usage": "docs/c-alert/usage.md"
|
|
787
|
+
},
|
|
756
788
|
"attributes": [
|
|
789
|
+
{
|
|
790
|
+
"fieldName": "dismissible",
|
|
791
|
+
"name": "dismissible",
|
|
792
|
+
"description": "Show a dismiss button. The alert only emits `dismiss` — removing it from\nthe page stays the consumer's job.",
|
|
793
|
+
"type": {
|
|
794
|
+
"text": "boolean"
|
|
795
|
+
},
|
|
796
|
+
"default": "false"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"fieldName": "heading",
|
|
800
|
+
"name": "heading",
|
|
801
|
+
"description": "Heading rendered above the message. The `heading` slot overrides it for\nrich content.",
|
|
802
|
+
"type": {
|
|
803
|
+
"text": "string"
|
|
804
|
+
},
|
|
805
|
+
"csc": {
|
|
806
|
+
"freeform": true
|
|
807
|
+
}
|
|
808
|
+
},
|
|
757
809
|
{
|
|
758
810
|
"fieldName": "type",
|
|
759
811
|
"name": "type",
|
|
@@ -770,20 +822,59 @@
|
|
|
770
822
|
"cssParts": [
|
|
771
823
|
{
|
|
772
824
|
"name": "root",
|
|
773
|
-
"description": "The
|
|
825
|
+
"description": "The tinted box carrying the type's wash, hairline border and accent edge"
|
|
774
826
|
},
|
|
775
827
|
{
|
|
776
828
|
"name": "icon",
|
|
777
|
-
"description": "The status icon svg
|
|
829
|
+
"description": "The status icon svg"
|
|
778
830
|
},
|
|
779
831
|
{
|
|
780
832
|
"name": "content",
|
|
781
|
-
"description": "The wrapper around the
|
|
833
|
+
"description": "The wrapper around the heading and message content"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"name": "heading",
|
|
837
|
+
"description": "The heading paragraph rendered from the `heading` prop"
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"name": "dismiss",
|
|
841
|
+
"description": "The dismiss button rendered when `dismissible` is set"
|
|
782
842
|
}
|
|
783
843
|
],
|
|
784
844
|
"cssProperties": [],
|
|
785
|
-
"
|
|
845
|
+
"cssStates": [],
|
|
846
|
+
"events": [
|
|
847
|
+
{
|
|
848
|
+
"name": "dismiss",
|
|
849
|
+
"type": {
|
|
850
|
+
"text": "CustomEvent<void>"
|
|
851
|
+
},
|
|
852
|
+
"description": "Fired when the dismiss button is pressed. The alert does not hide\nitself — the consumer owns removal."
|
|
853
|
+
}
|
|
854
|
+
],
|
|
786
855
|
"members": [
|
|
856
|
+
{
|
|
857
|
+
"kind": "field",
|
|
858
|
+
"name": "dismissible",
|
|
859
|
+
"privacy": "public",
|
|
860
|
+
"description": "Show a dismiss button. The alert only emits `dismiss` — removing it from\nthe page stays the consumer's job.",
|
|
861
|
+
"type": {
|
|
862
|
+
"text": "boolean"
|
|
863
|
+
},
|
|
864
|
+
"default": "false"
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"kind": "field",
|
|
868
|
+
"name": "heading",
|
|
869
|
+
"privacy": "public",
|
|
870
|
+
"description": "Heading rendered above the message. The `heading` slot overrides it for\nrich content.",
|
|
871
|
+
"type": {
|
|
872
|
+
"text": "string"
|
|
873
|
+
},
|
|
874
|
+
"csc": {
|
|
875
|
+
"freeform": true
|
|
876
|
+
}
|
|
877
|
+
},
|
|
787
878
|
{
|
|
788
879
|
"kind": "field",
|
|
789
880
|
"name": "type",
|
|
@@ -800,8 +891,8 @@
|
|
|
800
891
|
],
|
|
801
892
|
"slots": [
|
|
802
893
|
{
|
|
803
|
-
"name": "
|
|
804
|
-
"description": "
|
|
894
|
+
"name": "heading",
|
|
895
|
+
"description": "Rich heading content; overrides the `heading` prop"
|
|
805
896
|
},
|
|
806
897
|
{
|
|
807
898
|
"name": "default",
|
|
@@ -877,6 +968,15 @@
|
|
|
877
968
|
"freeform": true
|
|
878
969
|
}
|
|
879
970
|
},
|
|
971
|
+
{
|
|
972
|
+
"fieldName": "external",
|
|
973
|
+
"name": "external",
|
|
974
|
+
"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`",
|
|
975
|
+
"type": {
|
|
976
|
+
"text": "boolean"
|
|
977
|
+
},
|
|
978
|
+
"default": "false"
|
|
979
|
+
},
|
|
880
980
|
{
|
|
881
981
|
"fieldName": "hideDetails",
|
|
882
982
|
"name": "hide-details",
|
|
@@ -1012,6 +1112,18 @@
|
|
|
1012
1112
|
},
|
|
1013
1113
|
"default": "false"
|
|
1014
1114
|
},
|
|
1115
|
+
{
|
|
1116
|
+
"fieldName": "size",
|
|
1117
|
+
"name": "size",
|
|
1118
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
1119
|
+
"type": {
|
|
1120
|
+
"text": "'default' | 'small'"
|
|
1121
|
+
},
|
|
1122
|
+
"default": "'default'",
|
|
1123
|
+
"csc": {
|
|
1124
|
+
"typeAlias": "CFieldSize"
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1015
1127
|
{
|
|
1016
1128
|
"fieldName": "valid",
|
|
1017
1129
|
"name": "valid",
|
|
@@ -1050,10 +1162,11 @@
|
|
|
1050
1162
|
},
|
|
1051
1163
|
{
|
|
1052
1164
|
"name": "info",
|
|
1053
|
-
"description": "The no-results
|
|
1165
|
+
"description": "The info row: loading while `loading` with an empty list, otherwise no-results when the query matches no options"
|
|
1054
1166
|
}
|
|
1055
1167
|
],
|
|
1056
1168
|
"cssProperties": [],
|
|
1169
|
+
"cssStates": [],
|
|
1057
1170
|
"events": [
|
|
1058
1171
|
{
|
|
1059
1172
|
"name": "change",
|
|
@@ -1062,6 +1175,13 @@
|
|
|
1062
1175
|
},
|
|
1063
1176
|
"description": "Native change event (no detail) dispatched whenever a selection is\ncommitted or cleared; bubbles through the shadow boundary for\nform-style listeners."
|
|
1064
1177
|
},
|
|
1178
|
+
{
|
|
1179
|
+
"name": "change:query",
|
|
1180
|
+
"type": {
|
|
1181
|
+
"text": "CustomEvent<string>"
|
|
1182
|
+
},
|
|
1183
|
+
"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`."
|
|
1184
|
+
},
|
|
1065
1185
|
{
|
|
1066
1186
|
"name": "changeValue",
|
|
1067
1187
|
"type": {
|
|
@@ -1118,11 +1238,21 @@
|
|
|
1118
1238
|
"freeform": true
|
|
1119
1239
|
}
|
|
1120
1240
|
},
|
|
1241
|
+
{
|
|
1242
|
+
"kind": "field",
|
|
1243
|
+
"name": "external",
|
|
1244
|
+
"privacy": "public",
|
|
1245
|
+
"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`",
|
|
1246
|
+
"type": {
|
|
1247
|
+
"text": "boolean"
|
|
1248
|
+
},
|
|
1249
|
+
"default": "false"
|
|
1250
|
+
},
|
|
1121
1251
|
{
|
|
1122
1252
|
"kind": "field",
|
|
1123
1253
|
"name": "filter",
|
|
1124
1254
|
"privacy": "public",
|
|
1125
|
-
"description": "Custom filter predicate; receives a normalized option + the query",
|
|
1255
|
+
"description": "Custom filter predicate; receives a normalized option + the query. Ignored when `external` is set",
|
|
1126
1256
|
"type": {
|
|
1127
1257
|
"text": "CAutocompleteFilter"
|
|
1128
1258
|
}
|
|
@@ -1285,6 +1415,19 @@
|
|
|
1285
1415
|
},
|
|
1286
1416
|
"default": "false"
|
|
1287
1417
|
},
|
|
1418
|
+
{
|
|
1419
|
+
"kind": "field",
|
|
1420
|
+
"name": "size",
|
|
1421
|
+
"privacy": "public",
|
|
1422
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
1423
|
+
"type": {
|
|
1424
|
+
"text": "'default' | 'small'"
|
|
1425
|
+
},
|
|
1426
|
+
"default": "'default'",
|
|
1427
|
+
"csc": {
|
|
1428
|
+
"typeAlias": "CFieldSize"
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1288
1431
|
{
|
|
1289
1432
|
"kind": "field",
|
|
1290
1433
|
"name": "valid",
|
|
@@ -1367,6 +1510,7 @@
|
|
|
1367
1510
|
}
|
|
1368
1511
|
],
|
|
1369
1512
|
"cssProperties": [],
|
|
1513
|
+
"cssStates": [],
|
|
1370
1514
|
"events": [],
|
|
1371
1515
|
"members": [],
|
|
1372
1516
|
"slots": [
|
|
@@ -1597,6 +1741,7 @@
|
|
|
1597
1741
|
"description": "Font stack applied to the label (native buttons do not inherit it)."
|
|
1598
1742
|
}
|
|
1599
1743
|
],
|
|
1744
|
+
"cssStates": [],
|
|
1600
1745
|
"events": [],
|
|
1601
1746
|
"members": [
|
|
1602
1747
|
{
|
|
@@ -1904,6 +2049,7 @@
|
|
|
1904
2049
|
}
|
|
1905
2050
|
],
|
|
1906
2051
|
"cssProperties": [],
|
|
2052
|
+
"cssStates": [],
|
|
1907
2053
|
"events": [
|
|
1908
2054
|
{
|
|
1909
2055
|
"name": "change",
|
|
@@ -2062,7 +2208,7 @@
|
|
|
2062
2208
|
"cssParts": [
|
|
2063
2209
|
{
|
|
2064
2210
|
"name": "root",
|
|
2065
|
-
"description": "The card's visible surface, carries the background, radius, shadow and section spacing"
|
|
2211
|
+
"description": "The card's visible surface, carries the background, border, radius, shadow and section spacing"
|
|
2066
2212
|
},
|
|
2067
2213
|
{
|
|
2068
2214
|
"name": "fullscreen-toggle",
|
|
@@ -2070,6 +2216,7 @@
|
|
|
2070
2216
|
}
|
|
2071
2217
|
],
|
|
2072
2218
|
"cssProperties": [],
|
|
2219
|
+
"cssStates": [],
|
|
2073
2220
|
"events": [],
|
|
2074
2221
|
"members": [
|
|
2075
2222
|
{
|
|
@@ -2174,6 +2321,7 @@
|
|
|
2174
2321
|
}
|
|
2175
2322
|
],
|
|
2176
2323
|
"cssProperties": [],
|
|
2324
|
+
"cssStates": [],
|
|
2177
2325
|
"events": [],
|
|
2178
2326
|
"members": [
|
|
2179
2327
|
{
|
|
@@ -2247,6 +2395,7 @@
|
|
|
2247
2395
|
}
|
|
2248
2396
|
],
|
|
2249
2397
|
"cssProperties": [],
|
|
2398
|
+
"cssStates": [],
|
|
2250
2399
|
"events": [],
|
|
2251
2400
|
"members": [],
|
|
2252
2401
|
"slots": [
|
|
@@ -2309,6 +2458,7 @@
|
|
|
2309
2458
|
}
|
|
2310
2459
|
],
|
|
2311
2460
|
"cssProperties": [],
|
|
2461
|
+
"cssStates": [],
|
|
2312
2462
|
"events": [],
|
|
2313
2463
|
"members": [],
|
|
2314
2464
|
"slots": [
|
|
@@ -2351,6 +2501,10 @@
|
|
|
2351
2501
|
"kind": "class",
|
|
2352
2502
|
"name": "CCheckbox",
|
|
2353
2503
|
"tagName": "c-checkbox",
|
|
2504
|
+
"description": "A form control for a single on/off choice: a native checkbox with a label, an optional hint, and validation messaging.",
|
|
2505
|
+
"csc": {
|
|
2506
|
+
"usage": "docs/c-checkbox/usage.md"
|
|
2507
|
+
},
|
|
2354
2508
|
"attributes": [
|
|
2355
2509
|
{
|
|
2356
2510
|
"fieldName": "checked",
|
|
@@ -2505,7 +2659,11 @@
|
|
|
2505
2659
|
},
|
|
2506
2660
|
{
|
|
2507
2661
|
"name": "indicator",
|
|
2508
|
-
"description": "The
|
|
2662
|
+
"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"
|
|
2663
|
+
},
|
|
2664
|
+
{
|
|
2665
|
+
"name": "mark",
|
|
2666
|
+
"description": "The SVG check / indeterminate glyph revealed inside the indicator; draws with `currentColor`, so `color` recolours it"
|
|
2509
2667
|
},
|
|
2510
2668
|
{
|
|
2511
2669
|
"name": "content",
|
|
@@ -2513,10 +2671,20 @@
|
|
|
2513
2671
|
},
|
|
2514
2672
|
{
|
|
2515
2673
|
"name": "message",
|
|
2516
|
-
"description": "The hint / error message
|
|
2674
|
+
"description": "The hint / error message area below the checkbox (always reserved unless `hide-details`)"
|
|
2517
2675
|
}
|
|
2518
2676
|
],
|
|
2519
2677
|
"cssProperties": [],
|
|
2678
|
+
"cssStates": [
|
|
2679
|
+
{
|
|
2680
|
+
"name": "checked",
|
|
2681
|
+
"description": "Present while the checkbox is checked"
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
"name": "indeterminate",
|
|
2685
|
+
"description": "Present while the checkbox is in the indeterminate state"
|
|
2686
|
+
}
|
|
2687
|
+
],
|
|
2520
2688
|
"events": [
|
|
2521
2689
|
{
|
|
2522
2690
|
"name": "change",
|
|
@@ -2758,6 +2926,7 @@
|
|
|
2758
2926
|
}
|
|
2759
2927
|
],
|
|
2760
2928
|
"cssProperties": [],
|
|
2929
|
+
"cssStates": [],
|
|
2761
2930
|
"events": [],
|
|
2762
2931
|
"members": [
|
|
2763
2932
|
{
|
|
@@ -2972,6 +3141,7 @@
|
|
|
2972
3141
|
}
|
|
2973
3142
|
],
|
|
2974
3143
|
"cssProperties": [],
|
|
3144
|
+
"cssStates": [],
|
|
2975
3145
|
"events": [
|
|
2976
3146
|
{
|
|
2977
3147
|
"name": "change:expanded",
|
|
@@ -3266,6 +3436,7 @@
|
|
|
3266
3436
|
}
|
|
3267
3437
|
],
|
|
3268
3438
|
"cssProperties": [],
|
|
3439
|
+
"cssStates": [],
|
|
3269
3440
|
"events": [],
|
|
3270
3441
|
"members": [
|
|
3271
3442
|
{
|
|
@@ -3384,8 +3555,22 @@
|
|
|
3384
3555
|
}
|
|
3385
3556
|
}
|
|
3386
3557
|
],
|
|
3387
|
-
"cssParts": [
|
|
3558
|
+
"cssParts": [
|
|
3559
|
+
{
|
|
3560
|
+
"name": "menu",
|
|
3561
|
+
"description": "The positioned dialog surface holding the field and the list"
|
|
3562
|
+
},
|
|
3563
|
+
{
|
|
3564
|
+
"name": "list",
|
|
3565
|
+
"description": "The scrolling listbox"
|
|
3566
|
+
},
|
|
3567
|
+
{
|
|
3568
|
+
"name": "item",
|
|
3569
|
+
"description": "One option row"
|
|
3570
|
+
}
|
|
3571
|
+
],
|
|
3388
3572
|
"cssProperties": [],
|
|
3573
|
+
"cssStates": [],
|
|
3389
3574
|
"events": [
|
|
3390
3575
|
{
|
|
3391
3576
|
"name": "dropdownStateChange",
|
|
@@ -3620,6 +3805,7 @@
|
|
|
3620
3805
|
}
|
|
3621
3806
|
],
|
|
3622
3807
|
"cssProperties": [],
|
|
3808
|
+
"cssStates": [],
|
|
3623
3809
|
"events": [],
|
|
3624
3810
|
"members": [
|
|
3625
3811
|
{
|
|
@@ -3802,6 +3988,7 @@
|
|
|
3802
3988
|
}
|
|
3803
3989
|
],
|
|
3804
3990
|
"cssProperties": [],
|
|
3991
|
+
"cssStates": [],
|
|
3805
3992
|
"events": [],
|
|
3806
3993
|
"members": [
|
|
3807
3994
|
{
|
|
@@ -4068,6 +4255,18 @@
|
|
|
4068
4255
|
},
|
|
4069
4256
|
"default": "false"
|
|
4070
4257
|
},
|
|
4258
|
+
{
|
|
4259
|
+
"fieldName": "size",
|
|
4260
|
+
"name": "size",
|
|
4261
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
4262
|
+
"type": {
|
|
4263
|
+
"text": "'default' | 'small'"
|
|
4264
|
+
},
|
|
4265
|
+
"default": "'default'",
|
|
4266
|
+
"csc": {
|
|
4267
|
+
"typeAlias": "CFieldSize"
|
|
4268
|
+
}
|
|
4269
|
+
},
|
|
4071
4270
|
{
|
|
4072
4271
|
"fieldName": "valid",
|
|
4073
4272
|
"name": "valid",
|
|
@@ -4101,6 +4300,7 @@
|
|
|
4101
4300
|
}
|
|
4102
4301
|
],
|
|
4103
4302
|
"cssProperties": [],
|
|
4303
|
+
"cssStates": [],
|
|
4104
4304
|
"events": [],
|
|
4105
4305
|
"members": [
|
|
4106
4306
|
{
|
|
@@ -4235,6 +4435,19 @@
|
|
|
4235
4435
|
},
|
|
4236
4436
|
"default": "false"
|
|
4237
4437
|
},
|
|
4438
|
+
{
|
|
4439
|
+
"kind": "field",
|
|
4440
|
+
"name": "size",
|
|
4441
|
+
"privacy": "public",
|
|
4442
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
4443
|
+
"type": {
|
|
4444
|
+
"text": "'default' | 'small'"
|
|
4445
|
+
},
|
|
4446
|
+
"default": "'default'",
|
|
4447
|
+
"csc": {
|
|
4448
|
+
"typeAlias": "CFieldSize"
|
|
4449
|
+
}
|
|
4450
|
+
},
|
|
4238
4451
|
{
|
|
4239
4452
|
"kind": "field",
|
|
4240
4453
|
"name": "valid",
|
|
@@ -4345,6 +4558,7 @@
|
|
|
4345
4558
|
}
|
|
4346
4559
|
],
|
|
4347
4560
|
"cssProperties": [],
|
|
4561
|
+
"cssStates": [],
|
|
4348
4562
|
"events": [],
|
|
4349
4563
|
"members": [
|
|
4350
4564
|
{
|
|
@@ -4463,6 +4677,7 @@
|
|
|
4463
4677
|
}
|
|
4464
4678
|
],
|
|
4465
4679
|
"cssProperties": [],
|
|
4680
|
+
"cssStates": [],
|
|
4466
4681
|
"events": [],
|
|
4467
4682
|
"members": [
|
|
4468
4683
|
{
|
|
@@ -4600,6 +4815,7 @@
|
|
|
4600
4815
|
}
|
|
4601
4816
|
],
|
|
4602
4817
|
"cssProperties": [],
|
|
4818
|
+
"cssStates": [],
|
|
4603
4819
|
"events": [],
|
|
4604
4820
|
"members": [
|
|
4605
4821
|
{
|
|
@@ -4741,6 +4957,7 @@
|
|
|
4741
4957
|
}
|
|
4742
4958
|
],
|
|
4743
4959
|
"cssProperties": [],
|
|
4960
|
+
"cssStates": [],
|
|
4744
4961
|
"events": [],
|
|
4745
4962
|
"members": [
|
|
4746
4963
|
{
|
|
@@ -4843,6 +5060,7 @@
|
|
|
4843
5060
|
}
|
|
4844
5061
|
],
|
|
4845
5062
|
"cssProperties": [],
|
|
5063
|
+
"cssStates": [],
|
|
4846
5064
|
"events": [],
|
|
4847
5065
|
"members": [
|
|
4848
5066
|
{
|
|
@@ -4983,9 +5201,13 @@
|
|
|
4983
5201
|
"name": "root",
|
|
4984
5202
|
"description": "The anchor element forming the whole clickable card"
|
|
4985
5203
|
},
|
|
5204
|
+
{
|
|
5205
|
+
"name": "image-wrap",
|
|
5206
|
+
"description": "The area above the title bar that centers the logo (default image or slotted content)"
|
|
5207
|
+
},
|
|
4986
5208
|
{
|
|
4987
5209
|
"name": "image",
|
|
4988
|
-
"description": "The provider logo
|
|
5210
|
+
"description": "The default provider logo `<img>` (absent when the `image` slot is used)"
|
|
4989
5211
|
},
|
|
4990
5212
|
{
|
|
4991
5213
|
"name": "title",
|
|
@@ -4993,6 +5215,7 @@
|
|
|
4993
5215
|
}
|
|
4994
5216
|
],
|
|
4995
5217
|
"cssProperties": [],
|
|
5218
|
+
"cssStates": [],
|
|
4996
5219
|
"events": [],
|
|
4997
5220
|
"members": [
|
|
4998
5221
|
{
|
|
@@ -5038,7 +5261,11 @@
|
|
|
5038
5261
|
"slots": [
|
|
5039
5262
|
{
|
|
5040
5263
|
"name": "default",
|
|
5041
|
-
"description": "
|
|
5264
|
+
"description": "The title shown in the bottom bar"
|
|
5265
|
+
},
|
|
5266
|
+
{
|
|
5267
|
+
"name": "image",
|
|
5268
|
+
"description": "Custom provider logo markup (an inline `<svg>`, a `<picture>`, …) replacing the default `<img>` rendered from `src`"
|
|
5042
5269
|
}
|
|
5043
5270
|
]
|
|
5044
5271
|
}
|
|
@@ -5079,6 +5306,7 @@
|
|
|
5079
5306
|
"attributes": [],
|
|
5080
5307
|
"cssParts": [],
|
|
5081
5308
|
"cssProperties": [],
|
|
5309
|
+
"cssStates": [],
|
|
5082
5310
|
"events": [],
|
|
5083
5311
|
"members": [],
|
|
5084
5312
|
"slots": [
|
|
@@ -5199,6 +5427,7 @@
|
|
|
5199
5427
|
}
|
|
5200
5428
|
],
|
|
5201
5429
|
"cssProperties": [],
|
|
5430
|
+
"cssStates": [],
|
|
5202
5431
|
"events": [],
|
|
5203
5432
|
"members": [
|
|
5204
5433
|
{
|
|
@@ -5334,6 +5563,7 @@
|
|
|
5334
5563
|
}
|
|
5335
5564
|
],
|
|
5336
5565
|
"cssProperties": [],
|
|
5566
|
+
"cssStates": [],
|
|
5337
5567
|
"events": [],
|
|
5338
5568
|
"members": [
|
|
5339
5569
|
{
|
|
@@ -5407,6 +5637,7 @@
|
|
|
5407
5637
|
}
|
|
5408
5638
|
],
|
|
5409
5639
|
"cssProperties": [],
|
|
5640
|
+
"cssStates": [],
|
|
5410
5641
|
"events": [],
|
|
5411
5642
|
"members": [],
|
|
5412
5643
|
"slots": [
|
|
@@ -5453,6 +5684,7 @@
|
|
|
5453
5684
|
}
|
|
5454
5685
|
],
|
|
5455
5686
|
"cssProperties": [],
|
|
5687
|
+
"cssStates": [],
|
|
5456
5688
|
"events": [],
|
|
5457
5689
|
"members": [],
|
|
5458
5690
|
"slots": [
|
|
@@ -5513,6 +5745,7 @@
|
|
|
5513
5745
|
}
|
|
5514
5746
|
],
|
|
5515
5747
|
"cssProperties": [],
|
|
5748
|
+
"cssStates": [],
|
|
5516
5749
|
"events": [],
|
|
5517
5750
|
"members": [
|
|
5518
5751
|
{
|
|
@@ -5596,7 +5829,15 @@
|
|
|
5596
5829
|
},
|
|
5597
5830
|
"default": "'bottom-start'",
|
|
5598
5831
|
"csc": {
|
|
5599
|
-
"typeAlias": "
|
|
5832
|
+
"typeAlias": "CPlacement"
|
|
5833
|
+
}
|
|
5834
|
+
},
|
|
5835
|
+
{
|
|
5836
|
+
"fieldName": "trigger",
|
|
5837
|
+
"name": "trigger",
|
|
5838
|
+
"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.",
|
|
5839
|
+
"type": {
|
|
5840
|
+
"text": "HTMLElement | string"
|
|
5600
5841
|
}
|
|
5601
5842
|
}
|
|
5602
5843
|
],
|
|
@@ -5615,6 +5856,7 @@
|
|
|
5615
5856
|
}
|
|
5616
5857
|
],
|
|
5617
5858
|
"cssProperties": [],
|
|
5859
|
+
"cssStates": [],
|
|
5618
5860
|
"events": [
|
|
5619
5861
|
{
|
|
5620
5862
|
"name": "change:open",
|
|
@@ -5662,7 +5904,16 @@
|
|
|
5662
5904
|
},
|
|
5663
5905
|
"default": "'bottom-start'",
|
|
5664
5906
|
"csc": {
|
|
5665
|
-
"typeAlias": "
|
|
5907
|
+
"typeAlias": "CPlacement"
|
|
5908
|
+
}
|
|
5909
|
+
},
|
|
5910
|
+
{
|
|
5911
|
+
"kind": "field",
|
|
5912
|
+
"name": "trigger",
|
|
5913
|
+
"privacy": "public",
|
|
5914
|
+
"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.",
|
|
5915
|
+
"type": {
|
|
5916
|
+
"text": "HTMLElement | string"
|
|
5666
5917
|
}
|
|
5667
5918
|
}
|
|
5668
5919
|
],
|
|
@@ -5711,6 +5962,26 @@
|
|
|
5711
5962
|
"usage": "docs/c-menu-item/usage.md"
|
|
5712
5963
|
},
|
|
5713
5964
|
"attributes": [
|
|
5965
|
+
{
|
|
5966
|
+
"fieldName": "active",
|
|
5967
|
+
"name": "active",
|
|
5968
|
+
"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).",
|
|
5969
|
+
"type": {
|
|
5970
|
+
"text": "boolean"
|
|
5971
|
+
}
|
|
5972
|
+
},
|
|
5973
|
+
{
|
|
5974
|
+
"fieldName": "activeIcon",
|
|
5975
|
+
"name": "active-icon",
|
|
5976
|
+
"description": "SVG path for the trailing indicator shown while `active`; defaults to a\ncheck mark.",
|
|
5977
|
+
"type": {
|
|
5978
|
+
"text": "string"
|
|
5979
|
+
},
|
|
5980
|
+
"default": "''",
|
|
5981
|
+
"csc": {
|
|
5982
|
+
"freeform": "SVG path data"
|
|
5983
|
+
}
|
|
5984
|
+
},
|
|
5714
5985
|
{
|
|
5715
5986
|
"fieldName": "danger",
|
|
5716
5987
|
"name": "danger",
|
|
@@ -5729,6 +6000,18 @@
|
|
|
5729
6000
|
},
|
|
5730
6001
|
"default": "false"
|
|
5731
6002
|
},
|
|
6003
|
+
{
|
|
6004
|
+
"fieldName": "icon",
|
|
6005
|
+
"name": "icon",
|
|
6006
|
+
"description": "SVG path for a leading icon rendered before the item's content.",
|
|
6007
|
+
"type": {
|
|
6008
|
+
"text": "string"
|
|
6009
|
+
},
|
|
6010
|
+
"default": "''",
|
|
6011
|
+
"csc": {
|
|
6012
|
+
"freeform": "SVG path data"
|
|
6013
|
+
}
|
|
6014
|
+
},
|
|
5732
6015
|
{
|
|
5733
6016
|
"fieldName": "value",
|
|
5734
6017
|
"name": "value",
|
|
@@ -5750,6 +6033,14 @@
|
|
|
5750
6033
|
"name": "content",
|
|
5751
6034
|
"description": "The flex wrapper around the default-slot content"
|
|
5752
6035
|
},
|
|
6036
|
+
{
|
|
6037
|
+
"name": "icon",
|
|
6038
|
+
"description": "The leading icon rendered from the `icon` prop"
|
|
6039
|
+
},
|
|
6040
|
+
{
|
|
6041
|
+
"name": "check",
|
|
6042
|
+
"description": "The trailing indicator icon shown while the item is active"
|
|
6043
|
+
},
|
|
5753
6044
|
{
|
|
5754
6045
|
"name": "submenu-panel",
|
|
5755
6046
|
"description": "The floating popover holding the submenu"
|
|
@@ -5760,8 +6051,31 @@
|
|
|
5760
6051
|
}
|
|
5761
6052
|
],
|
|
5762
6053
|
"cssProperties": [],
|
|
6054
|
+
"cssStates": [],
|
|
5763
6055
|
"events": [],
|
|
5764
6056
|
"members": [
|
|
6057
|
+
{
|
|
6058
|
+
"kind": "field",
|
|
6059
|
+
"name": "active",
|
|
6060
|
+
"privacy": "public",
|
|
6061
|
+
"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).",
|
|
6062
|
+
"type": {
|
|
6063
|
+
"text": "boolean"
|
|
6064
|
+
}
|
|
6065
|
+
},
|
|
6066
|
+
{
|
|
6067
|
+
"kind": "field",
|
|
6068
|
+
"name": "activeIcon",
|
|
6069
|
+
"privacy": "public",
|
|
6070
|
+
"description": "SVG path for the trailing indicator shown while `active`; defaults to a\ncheck mark.",
|
|
6071
|
+
"type": {
|
|
6072
|
+
"text": "string"
|
|
6073
|
+
},
|
|
6074
|
+
"default": "''",
|
|
6075
|
+
"csc": {
|
|
6076
|
+
"freeform": "SVG path data"
|
|
6077
|
+
}
|
|
6078
|
+
},
|
|
5765
6079
|
{
|
|
5766
6080
|
"kind": "field",
|
|
5767
6081
|
"name": "danger",
|
|
@@ -5782,6 +6096,19 @@
|
|
|
5782
6096
|
},
|
|
5783
6097
|
"default": "false"
|
|
5784
6098
|
},
|
|
6099
|
+
{
|
|
6100
|
+
"kind": "field",
|
|
6101
|
+
"name": "icon",
|
|
6102
|
+
"privacy": "public",
|
|
6103
|
+
"description": "SVG path for a leading icon rendered before the item's content.",
|
|
6104
|
+
"type": {
|
|
6105
|
+
"text": "string"
|
|
6106
|
+
},
|
|
6107
|
+
"default": "''",
|
|
6108
|
+
"csc": {
|
|
6109
|
+
"freeform": "SVG path data"
|
|
6110
|
+
}
|
|
6111
|
+
},
|
|
5785
6112
|
{
|
|
5786
6113
|
"kind": "field",
|
|
5787
6114
|
"name": "value",
|
|
@@ -5863,6 +6190,7 @@
|
|
|
5863
6190
|
}
|
|
5864
6191
|
],
|
|
5865
6192
|
"cssProperties": [],
|
|
6193
|
+
"cssStates": [],
|
|
5866
6194
|
"events": [],
|
|
5867
6195
|
"members": [],
|
|
5868
6196
|
"slots": [
|
|
@@ -5955,6 +6283,7 @@
|
|
|
5955
6283
|
}
|
|
5956
6284
|
],
|
|
5957
6285
|
"cssProperties": [],
|
|
6286
|
+
"cssStates": [],
|
|
5958
6287
|
"events": [],
|
|
5959
6288
|
"members": [
|
|
5960
6289
|
{
|
|
@@ -6091,6 +6420,7 @@
|
|
|
6091
6420
|
}
|
|
6092
6421
|
],
|
|
6093
6422
|
"cssProperties": [],
|
|
6423
|
+
"cssStates": [],
|
|
6094
6424
|
"events": [
|
|
6095
6425
|
{
|
|
6096
6426
|
"name": "changeValue",
|
|
@@ -6200,6 +6530,7 @@
|
|
|
6200
6530
|
}
|
|
6201
6531
|
],
|
|
6202
6532
|
"cssProperties": [],
|
|
6533
|
+
"cssStates": [],
|
|
6203
6534
|
"events": [],
|
|
6204
6535
|
"members": [],
|
|
6205
6536
|
"slots": []
|
|
@@ -6274,6 +6605,7 @@
|
|
|
6274
6605
|
],
|
|
6275
6606
|
"cssParts": [],
|
|
6276
6607
|
"cssProperties": [],
|
|
6608
|
+
"cssStates": [],
|
|
6277
6609
|
"events": [],
|
|
6278
6610
|
"members": [
|
|
6279
6611
|
{
|
|
@@ -6357,6 +6689,7 @@
|
|
|
6357
6689
|
"attributes": [],
|
|
6358
6690
|
"cssParts": [],
|
|
6359
6691
|
"cssProperties": [],
|
|
6692
|
+
"cssStates": [],
|
|
6360
6693
|
"events": [],
|
|
6361
6694
|
"members": [],
|
|
6362
6695
|
"slots": [
|
|
@@ -6521,6 +6854,7 @@
|
|
|
6521
6854
|
}
|
|
6522
6855
|
],
|
|
6523
6856
|
"cssProperties": [],
|
|
6857
|
+
"cssStates": [],
|
|
6524
6858
|
"events": [
|
|
6525
6859
|
{
|
|
6526
6860
|
"name": "changeValue",
|
|
@@ -6726,6 +7060,7 @@
|
|
|
6726
7060
|
}
|
|
6727
7061
|
],
|
|
6728
7062
|
"cssProperties": [],
|
|
7063
|
+
"cssStates": [],
|
|
6729
7064
|
"events": [],
|
|
6730
7065
|
"members": [
|
|
6731
7066
|
{
|
|
@@ -6839,6 +7174,7 @@
|
|
|
6839
7174
|
}
|
|
6840
7175
|
],
|
|
6841
7176
|
"cssProperties": [],
|
|
7177
|
+
"cssStates": [],
|
|
6842
7178
|
"events": [
|
|
6843
7179
|
{
|
|
6844
7180
|
"name": "changeValue",
|
|
@@ -6946,28 +7282,210 @@
|
|
|
6946
7282
|
{
|
|
6947
7283
|
"customElement": true,
|
|
6948
7284
|
"kind": "class",
|
|
6949
|
-
"name": "
|
|
6950
|
-
"tagName": "c-
|
|
7285
|
+
"name": "CPopover",
|
|
7286
|
+
"tagName": "c-popover",
|
|
7287
|
+
"description": "A click-opened, non-modal surface anchored to its trigger, floating in the top layer; its content may be interactive.",
|
|
7288
|
+
"csc": {
|
|
7289
|
+
"usage": "docs/c-popover/usage.md"
|
|
7290
|
+
},
|
|
6951
7291
|
"attributes": [
|
|
6952
7292
|
{
|
|
6953
|
-
"fieldName": "
|
|
6954
|
-
"name": "
|
|
6955
|
-
"description": "
|
|
7293
|
+
"fieldName": "distance",
|
|
7294
|
+
"name": "distance",
|
|
7295
|
+
"description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
|
|
6956
7296
|
"type": {
|
|
6957
|
-
"text": "
|
|
7297
|
+
"text": "number | string"
|
|
6958
7298
|
},
|
|
6959
|
-
"default": "
|
|
7299
|
+
"default": "0"
|
|
6960
7300
|
},
|
|
6961
7301
|
{
|
|
6962
|
-
"fieldName": "
|
|
6963
|
-
"name": "
|
|
6964
|
-
"description": "
|
|
7302
|
+
"fieldName": "heading",
|
|
7303
|
+
"name": "heading",
|
|
7304
|
+
"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`.",
|
|
6965
7305
|
"type": {
|
|
6966
|
-
"text": "
|
|
7306
|
+
"text": "string"
|
|
6967
7307
|
},
|
|
6968
|
-
"default": "
|
|
6969
|
-
|
|
6970
|
-
|
|
7308
|
+
"default": "''",
|
|
7309
|
+
"csc": {
|
|
7310
|
+
"freeform": true
|
|
7311
|
+
}
|
|
7312
|
+
},
|
|
7313
|
+
{
|
|
7314
|
+
"fieldName": "open",
|
|
7315
|
+
"name": "open",
|
|
7316
|
+
"description": "Whether the popover is open. Two-way: emits `change:open`.",
|
|
7317
|
+
"type": {
|
|
7318
|
+
"text": "boolean"
|
|
7319
|
+
},
|
|
7320
|
+
"default": "false"
|
|
7321
|
+
},
|
|
7322
|
+
{
|
|
7323
|
+
"fieldName": "position",
|
|
7324
|
+
"name": "position",
|
|
7325
|
+
"description": "Preferred placement of the panel relative to the trigger.",
|
|
7326
|
+
"type": {
|
|
7327
|
+
"text": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
7328
|
+
},
|
|
7329
|
+
"default": "'bottom'",
|
|
7330
|
+
"csc": {
|
|
7331
|
+
"typeAlias": "CPlacement"
|
|
7332
|
+
}
|
|
7333
|
+
},
|
|
7334
|
+
{
|
|
7335
|
+
"fieldName": "trigger",
|
|
7336
|
+
"name": "trigger",
|
|
7337
|
+
"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.",
|
|
7338
|
+
"type": {
|
|
7339
|
+
"text": "HTMLElement | string"
|
|
7340
|
+
}
|
|
7341
|
+
}
|
|
7342
|
+
],
|
|
7343
|
+
"cssParts": [
|
|
7344
|
+
{
|
|
7345
|
+
"name": "trigger",
|
|
7346
|
+
"description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
|
|
7347
|
+
},
|
|
7348
|
+
{
|
|
7349
|
+
"name": "panel",
|
|
7350
|
+
"description": "The floating popover surface positioned against the trigger"
|
|
7351
|
+
},
|
|
7352
|
+
{
|
|
7353
|
+
"name": "heading",
|
|
7354
|
+
"description": "The heading rendered from the `heading` prop"
|
|
7355
|
+
}
|
|
7356
|
+
],
|
|
7357
|
+
"cssProperties": [],
|
|
7358
|
+
"cssStates": [],
|
|
7359
|
+
"events": [
|
|
7360
|
+
{
|
|
7361
|
+
"name": "change:open",
|
|
7362
|
+
"type": {
|
|
7363
|
+
"text": "CustomEvent<boolean>"
|
|
7364
|
+
},
|
|
7365
|
+
"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."
|
|
7366
|
+
}
|
|
7367
|
+
],
|
|
7368
|
+
"members": [
|
|
7369
|
+
{
|
|
7370
|
+
"kind": "field",
|
|
7371
|
+
"name": "distance",
|
|
7372
|
+
"privacy": "public",
|
|
7373
|
+
"description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
|
|
7374
|
+
"type": {
|
|
7375
|
+
"text": "number | string"
|
|
7376
|
+
},
|
|
7377
|
+
"default": "0"
|
|
7378
|
+
},
|
|
7379
|
+
{
|
|
7380
|
+
"kind": "field",
|
|
7381
|
+
"name": "heading",
|
|
7382
|
+
"privacy": "public",
|
|
7383
|
+
"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`.",
|
|
7384
|
+
"type": {
|
|
7385
|
+
"text": "string"
|
|
7386
|
+
},
|
|
7387
|
+
"default": "''",
|
|
7388
|
+
"csc": {
|
|
7389
|
+
"freeform": true
|
|
7390
|
+
}
|
|
7391
|
+
},
|
|
7392
|
+
{
|
|
7393
|
+
"kind": "field",
|
|
7394
|
+
"name": "open",
|
|
7395
|
+
"privacy": "public",
|
|
7396
|
+
"description": "Whether the popover is open. Two-way: emits `change:open`.",
|
|
7397
|
+
"type": {
|
|
7398
|
+
"text": "boolean"
|
|
7399
|
+
},
|
|
7400
|
+
"default": "false"
|
|
7401
|
+
},
|
|
7402
|
+
{
|
|
7403
|
+
"kind": "field",
|
|
7404
|
+
"name": "position",
|
|
7405
|
+
"privacy": "public",
|
|
7406
|
+
"description": "Preferred placement of the panel relative to the trigger.",
|
|
7407
|
+
"type": {
|
|
7408
|
+
"text": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
7409
|
+
},
|
|
7410
|
+
"default": "'bottom'",
|
|
7411
|
+
"csc": {
|
|
7412
|
+
"typeAlias": "CPlacement"
|
|
7413
|
+
}
|
|
7414
|
+
},
|
|
7415
|
+
{
|
|
7416
|
+
"kind": "field",
|
|
7417
|
+
"name": "trigger",
|
|
7418
|
+
"privacy": "public",
|
|
7419
|
+
"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.",
|
|
7420
|
+
"type": {
|
|
7421
|
+
"text": "HTMLElement | string"
|
|
7422
|
+
}
|
|
7423
|
+
}
|
|
7424
|
+
],
|
|
7425
|
+
"slots": [
|
|
7426
|
+
{
|
|
7427
|
+
"name": "trigger",
|
|
7428
|
+
"description": "The element that opens the popover (e.g. a c-button)"
|
|
7429
|
+
},
|
|
7430
|
+
{
|
|
7431
|
+
"name": "default",
|
|
7432
|
+
"description": "The popover's content; may contain interactive elements"
|
|
7433
|
+
}
|
|
7434
|
+
]
|
|
7435
|
+
}
|
|
7436
|
+
],
|
|
7437
|
+
"exports": [
|
|
7438
|
+
{
|
|
7439
|
+
"declaration": {
|
|
7440
|
+
"module": "src/components/c-popover/CPopover.vue",
|
|
7441
|
+
"name": "CPopover"
|
|
7442
|
+
},
|
|
7443
|
+
"kind": "js",
|
|
7444
|
+
"name": "CPopover"
|
|
7445
|
+
},
|
|
7446
|
+
{
|
|
7447
|
+
"declaration": {
|
|
7448
|
+
"module": "src/components/c-popover/CPopover.vue",
|
|
7449
|
+
"name": "CPopover"
|
|
7450
|
+
},
|
|
7451
|
+
"kind": "custom-element-definition",
|
|
7452
|
+
"name": "c-popover"
|
|
7453
|
+
}
|
|
7454
|
+
],
|
|
7455
|
+
"kind": "javascript-module",
|
|
7456
|
+
"path": "src/components/c-popover/CPopover.vue"
|
|
7457
|
+
},
|
|
7458
|
+
{
|
|
7459
|
+
"declarations": [
|
|
7460
|
+
{
|
|
7461
|
+
"customElement": true,
|
|
7462
|
+
"kind": "class",
|
|
7463
|
+
"name": "CProgressBar",
|
|
7464
|
+
"tagName": "c-progress-bar",
|
|
7465
|
+
"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.",
|
|
7466
|
+
"csc": {
|
|
7467
|
+
"usage": "docs/c-progress-bar/usage.md"
|
|
7468
|
+
},
|
|
7469
|
+
"attributes": [
|
|
7470
|
+
{
|
|
7471
|
+
"fieldName": "hideDetails",
|
|
7472
|
+
"name": "hide-details",
|
|
7473
|
+
"description": "Hide the percentage display",
|
|
7474
|
+
"type": {
|
|
7475
|
+
"text": "boolean"
|
|
7476
|
+
},
|
|
7477
|
+
"default": "false"
|
|
7478
|
+
},
|
|
7479
|
+
{
|
|
7480
|
+
"fieldName": "indeterminate",
|
|
7481
|
+
"name": "indeterminate",
|
|
7482
|
+
"description": "Indeterminate state of the progress bar",
|
|
7483
|
+
"type": {
|
|
7484
|
+
"text": "boolean"
|
|
7485
|
+
},
|
|
7486
|
+
"default": "false"
|
|
7487
|
+
},
|
|
7488
|
+
{
|
|
6971
7489
|
"fieldName": "label",
|
|
6972
7490
|
"name": "label",
|
|
6973
7491
|
"description": "Optional details message next to percentage display",
|
|
@@ -7013,6 +7531,7 @@
|
|
|
7013
7531
|
}
|
|
7014
7532
|
],
|
|
7015
7533
|
"cssProperties": [],
|
|
7534
|
+
"cssStates": [],
|
|
7016
7535
|
"events": [],
|
|
7017
7536
|
"members": [
|
|
7018
7537
|
{
|
|
@@ -7098,18 +7617,135 @@
|
|
|
7098
7617
|
{
|
|
7099
7618
|
"customElement": true,
|
|
7100
7619
|
"kind": "class",
|
|
7101
|
-
"name": "
|
|
7102
|
-
"tagName": "c-
|
|
7620
|
+
"name": "CProgressCircle",
|
|
7621
|
+
"tagName": "c-progress-circle",
|
|
7622
|
+
"description": "A circular progress indicator that draws a known completion percentage as an arc around a track — the circular counterpart of `c-progress-bar`.",
|
|
7623
|
+
"csc": {
|
|
7624
|
+
"usage": "docs/c-progress-circle/usage.md"
|
|
7625
|
+
},
|
|
7103
7626
|
"attributes": [
|
|
7104
7627
|
{
|
|
7105
|
-
"fieldName": "
|
|
7106
|
-
"name": "
|
|
7107
|
-
"description": "
|
|
7628
|
+
"fieldName": "size",
|
|
7629
|
+
"name": "size",
|
|
7630
|
+
"description": "Diameter of the circle in pixels",
|
|
7108
7631
|
"type": {
|
|
7109
|
-
"text": "
|
|
7632
|
+
"text": "number"
|
|
7110
7633
|
},
|
|
7111
|
-
"default": "
|
|
7634
|
+
"default": "32"
|
|
7635
|
+
},
|
|
7636
|
+
{
|
|
7637
|
+
"fieldName": "value",
|
|
7638
|
+
"name": "value",
|
|
7639
|
+
"description": "Progress value in percentage (0 to 100)",
|
|
7640
|
+
"type": {
|
|
7641
|
+
"text": "number"
|
|
7642
|
+
},
|
|
7643
|
+
"default": "0"
|
|
7644
|
+
},
|
|
7645
|
+
{
|
|
7646
|
+
"fieldName": "width",
|
|
7647
|
+
"name": "width",
|
|
7648
|
+
"description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
|
|
7649
|
+
"type": {
|
|
7650
|
+
"text": "number"
|
|
7651
|
+
},
|
|
7652
|
+
"default": "6"
|
|
7653
|
+
}
|
|
7654
|
+
],
|
|
7655
|
+
"cssParts": [
|
|
7656
|
+
{
|
|
7657
|
+
"name": "root",
|
|
7658
|
+
"description": "The wrapper around the ring and the centered content"
|
|
7659
|
+
},
|
|
7660
|
+
{
|
|
7661
|
+
"name": "track",
|
|
7662
|
+
"description": "The background ring (SVG circle)"
|
|
7663
|
+
},
|
|
7664
|
+
{
|
|
7665
|
+
"name": "bar",
|
|
7666
|
+
"description": "The value arc (SVG circle)"
|
|
7667
|
+
},
|
|
7668
|
+
{
|
|
7669
|
+
"name": "content",
|
|
7670
|
+
"description": "The centered slot-content wrapper"
|
|
7671
|
+
}
|
|
7672
|
+
],
|
|
7673
|
+
"cssProperties": [],
|
|
7674
|
+
"cssStates": [],
|
|
7675
|
+
"events": [],
|
|
7676
|
+
"members": [
|
|
7677
|
+
{
|
|
7678
|
+
"kind": "field",
|
|
7679
|
+
"name": "size",
|
|
7680
|
+
"privacy": "public",
|
|
7681
|
+
"description": "Diameter of the circle in pixels",
|
|
7682
|
+
"type": {
|
|
7683
|
+
"text": "number"
|
|
7684
|
+
},
|
|
7685
|
+
"default": "32"
|
|
7112
7686
|
},
|
|
7687
|
+
{
|
|
7688
|
+
"kind": "field",
|
|
7689
|
+
"name": "value",
|
|
7690
|
+
"privacy": "public",
|
|
7691
|
+
"description": "Progress value in percentage (0 to 100)",
|
|
7692
|
+
"type": {
|
|
7693
|
+
"text": "number"
|
|
7694
|
+
},
|
|
7695
|
+
"default": "0"
|
|
7696
|
+
},
|
|
7697
|
+
{
|
|
7698
|
+
"kind": "field",
|
|
7699
|
+
"name": "width",
|
|
7700
|
+
"privacy": "public",
|
|
7701
|
+
"description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
|
|
7702
|
+
"type": {
|
|
7703
|
+
"text": "number"
|
|
7704
|
+
},
|
|
7705
|
+
"default": "6"
|
|
7706
|
+
}
|
|
7707
|
+
],
|
|
7708
|
+
"slots": [
|
|
7709
|
+
{
|
|
7710
|
+
"name": "default",
|
|
7711
|
+
"description": "Optional content centered inside the circle, e.g. '57%' or an icon"
|
|
7712
|
+
}
|
|
7713
|
+
]
|
|
7714
|
+
}
|
|
7715
|
+
],
|
|
7716
|
+
"exports": [
|
|
7717
|
+
{
|
|
7718
|
+
"declaration": {
|
|
7719
|
+
"module": "src/components/c-progress-circle/CProgressCircle.vue",
|
|
7720
|
+
"name": "CProgressCircle"
|
|
7721
|
+
},
|
|
7722
|
+
"kind": "js",
|
|
7723
|
+
"name": "CProgressCircle"
|
|
7724
|
+
},
|
|
7725
|
+
{
|
|
7726
|
+
"declaration": {
|
|
7727
|
+
"module": "src/components/c-progress-circle/CProgressCircle.vue",
|
|
7728
|
+
"name": "CProgressCircle"
|
|
7729
|
+
},
|
|
7730
|
+
"kind": "custom-element-definition",
|
|
7731
|
+
"name": "c-progress-circle"
|
|
7732
|
+
}
|
|
7733
|
+
],
|
|
7734
|
+
"kind": "javascript-module",
|
|
7735
|
+
"path": "src/components/c-progress-circle/CProgressCircle.vue"
|
|
7736
|
+
},
|
|
7737
|
+
{
|
|
7738
|
+
"declarations": [
|
|
7739
|
+
{
|
|
7740
|
+
"customElement": true,
|
|
7741
|
+
"kind": "class",
|
|
7742
|
+
"name": "CRadio",
|
|
7743
|
+
"tagName": "c-radio",
|
|
7744
|
+
"description": "A single radio option inside a `c-radio-group`: a native radio input whose default slot is its clickable, announced label.",
|
|
7745
|
+
"csc": {
|
|
7746
|
+
"usage": "docs/c-radio/usage.md"
|
|
7747
|
+
},
|
|
7748
|
+
"attributes": [
|
|
7113
7749
|
{
|
|
7114
7750
|
"fieldName": "disabled",
|
|
7115
7751
|
"name": "disabled",
|
|
@@ -7132,20 +7768,41 @@
|
|
|
7132
7768
|
}
|
|
7133
7769
|
}
|
|
7134
7770
|
],
|
|
7135
|
-
"cssParts": [
|
|
7771
|
+
"cssParts": [
|
|
7772
|
+
{
|
|
7773
|
+
"name": "root",
|
|
7774
|
+
"description": "The `<label>` row wrapping the input, indicator and label content"
|
|
7775
|
+
},
|
|
7776
|
+
{
|
|
7777
|
+
"name": "indicator",
|
|
7778
|
+
"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"
|
|
7779
|
+
},
|
|
7780
|
+
{
|
|
7781
|
+
"name": "content",
|
|
7782
|
+
"description": "Wrapper around the slotted label content"
|
|
7783
|
+
}
|
|
7784
|
+
],
|
|
7136
7785
|
"cssProperties": [],
|
|
7137
|
-
"
|
|
7138
|
-
"members": [
|
|
7786
|
+
"cssStates": [
|
|
7139
7787
|
{
|
|
7140
|
-
"kind": "field",
|
|
7141
7788
|
"name": "checked",
|
|
7142
|
-
"
|
|
7143
|
-
|
|
7789
|
+
"description": "Present while the radio is the selected option (standalone or group-driven)"
|
|
7790
|
+
},
|
|
7791
|
+
{
|
|
7792
|
+
"name": "disabled",
|
|
7793
|
+
"description": "Present while the radio is disabled, by its own prop or by its group"
|
|
7794
|
+
}
|
|
7795
|
+
],
|
|
7796
|
+
"events": [
|
|
7797
|
+
{
|
|
7798
|
+
"name": "change",
|
|
7144
7799
|
"type": {
|
|
7145
|
-
"text": "
|
|
7800
|
+
"text": "CustomEvent<string>"
|
|
7146
7801
|
},
|
|
7147
|
-
"
|
|
7148
|
-
}
|
|
7802
|
+
"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`."
|
|
7803
|
+
}
|
|
7804
|
+
],
|
|
7805
|
+
"members": [
|
|
7149
7806
|
{
|
|
7150
7807
|
"kind": "field",
|
|
7151
7808
|
"name": "disabled",
|
|
@@ -7173,7 +7830,7 @@
|
|
|
7173
7830
|
"slots": [
|
|
7174
7831
|
{
|
|
7175
7832
|
"name": "default",
|
|
7176
|
-
"description": "The radio
|
|
7833
|
+
"description": "The radio's label content, rendered inside the shadow `<label>` so it stays click-associated and announced"
|
|
7177
7834
|
}
|
|
7178
7835
|
]
|
|
7179
7836
|
}
|
|
@@ -7206,7 +7863,9 @@
|
|
|
7206
7863
|
"kind": "class",
|
|
7207
7864
|
"name": "CRadioGroup",
|
|
7208
7865
|
"tagName": "c-radio-group",
|
|
7866
|
+
"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.",
|
|
7209
7867
|
"csc": {
|
|
7868
|
+
"usage": "docs/c-radio-group/usage.md",
|
|
7210
7869
|
"subcomponents": [
|
|
7211
7870
|
"c-radio"
|
|
7212
7871
|
]
|
|
@@ -7254,18 +7913,6 @@
|
|
|
7254
7913
|
"freeform": true
|
|
7255
7914
|
}
|
|
7256
7915
|
},
|
|
7257
|
-
{
|
|
7258
|
-
"fieldName": "hostId",
|
|
7259
|
-
"name": "host-id",
|
|
7260
|
-
"description": "Id of the element",
|
|
7261
|
-
"type": {
|
|
7262
|
-
"text": "string"
|
|
7263
|
-
},
|
|
7264
|
-
"default": "''",
|
|
7265
|
-
"csc": {
|
|
7266
|
-
"freeform": true
|
|
7267
|
-
}
|
|
7268
|
-
},
|
|
7269
7916
|
{
|
|
7270
7917
|
"fieldName": "inline",
|
|
7271
7918
|
"name": "inline",
|
|
@@ -7296,15 +7943,6 @@
|
|
|
7296
7943
|
},
|
|
7297
7944
|
"default": "false"
|
|
7298
7945
|
},
|
|
7299
|
-
{
|
|
7300
|
-
"fieldName": "returnObject",
|
|
7301
|
-
"name": "return-object",
|
|
7302
|
-
"description": "Return the whole item object",
|
|
7303
|
-
"type": {
|
|
7304
|
-
"text": "boolean"
|
|
7305
|
-
},
|
|
7306
|
-
"default": "false"
|
|
7307
|
-
},
|
|
7308
7946
|
{
|
|
7309
7947
|
"fieldName": "valid",
|
|
7310
7948
|
"name": "valid",
|
|
@@ -7317,9 +7955,9 @@
|
|
|
7317
7955
|
{
|
|
7318
7956
|
"fieldName": "value",
|
|
7319
7957
|
"name": "value",
|
|
7320
|
-
"description": "Value of the radio group",
|
|
7958
|
+
"description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
|
|
7321
7959
|
"type": {
|
|
7322
|
-
"text": "null |
|
|
7960
|
+
"text": "null | string"
|
|
7323
7961
|
},
|
|
7324
7962
|
"default": "null"
|
|
7325
7963
|
}
|
|
@@ -7327,7 +7965,7 @@
|
|
|
7327
7965
|
"cssParts": [
|
|
7328
7966
|
{
|
|
7329
7967
|
"name": "root",
|
|
7330
|
-
"description": "The radiogroup wrapper element
|
|
7968
|
+
"description": "The radiogroup wrapper element"
|
|
7331
7969
|
},
|
|
7332
7970
|
{
|
|
7333
7971
|
"name": "label",
|
|
@@ -7335,21 +7973,22 @@
|
|
|
7335
7973
|
},
|
|
7336
7974
|
{
|
|
7337
7975
|
"name": "items",
|
|
7338
|
-
"description": "The
|
|
7976
|
+
"description": "The container the radios are slotted into"
|
|
7339
7977
|
},
|
|
7340
7978
|
{
|
|
7341
7979
|
"name": "message",
|
|
7342
|
-
"description": "The hint/error message
|
|
7980
|
+
"description": "The hint/error message area below the radios (always reserved unless `hide-details`)"
|
|
7343
7981
|
}
|
|
7344
7982
|
],
|
|
7345
7983
|
"cssProperties": [],
|
|
7984
|
+
"cssStates": [],
|
|
7346
7985
|
"events": [
|
|
7347
7986
|
{
|
|
7348
7987
|
"name": "changeValue",
|
|
7349
7988
|
"type": {
|
|
7350
|
-
"text": "CustomEvent<
|
|
7989
|
+
"text": "CustomEvent<string>"
|
|
7351
7990
|
},
|
|
7352
|
-
"description": "Fired when a radio
|
|
7991
|
+
"description": "Fired when a radio is selected, carrying the selected radio's value. Also dispatched as `change-value` — bind that name in Vue templates."
|
|
7353
7992
|
},
|
|
7354
7993
|
{
|
|
7355
7994
|
"name": "input",
|
|
@@ -7361,9 +8000,9 @@
|
|
|
7361
8000
|
{
|
|
7362
8001
|
"name": "update:value",
|
|
7363
8002
|
"type": {
|
|
7364
|
-
"text": "CustomEvent<
|
|
8003
|
+
"text": "CustomEvent<string>"
|
|
7365
8004
|
},
|
|
7366
|
-
"description": "v-model contract event fired on selection, carrying the selected
|
|
8005
|
+
"description": "v-model contract event fired on selection, carrying the selected radio's\nvalue."
|
|
7367
8006
|
}
|
|
7368
8007
|
],
|
|
7369
8008
|
"members": [
|
|
@@ -7395,29 +8034,16 @@
|
|
|
7395
8034
|
"name": "hideDetails",
|
|
7396
8035
|
"privacy": "public",
|
|
7397
8036
|
"description": "Hide the hint and error messages",
|
|
7398
|
-
"type": {
|
|
7399
|
-
"text": "boolean"
|
|
7400
|
-
},
|
|
7401
|
-
"default": "false"
|
|
7402
|
-
},
|
|
7403
|
-
{
|
|
7404
|
-
"kind": "field",
|
|
7405
|
-
"name": "hint",
|
|
7406
|
-
"privacy": "public",
|
|
7407
|
-
"description": "Hint text for the input",
|
|
7408
|
-
"type": {
|
|
7409
|
-
"text": "string"
|
|
7410
|
-
},
|
|
7411
|
-
"default": "''",
|
|
7412
|
-
"csc": {
|
|
7413
|
-
"freeform": true
|
|
7414
|
-
}
|
|
8037
|
+
"type": {
|
|
8038
|
+
"text": "boolean"
|
|
8039
|
+
},
|
|
8040
|
+
"default": "false"
|
|
7415
8041
|
},
|
|
7416
8042
|
{
|
|
7417
8043
|
"kind": "field",
|
|
7418
|
-
"name": "
|
|
8044
|
+
"name": "hint",
|
|
7419
8045
|
"privacy": "public",
|
|
7420
|
-
"description": "
|
|
8046
|
+
"description": "Hint text for the input",
|
|
7421
8047
|
"type": {
|
|
7422
8048
|
"text": "string"
|
|
7423
8049
|
},
|
|
@@ -7436,16 +8062,6 @@
|
|
|
7436
8062
|
},
|
|
7437
8063
|
"default": "false"
|
|
7438
8064
|
},
|
|
7439
|
-
{
|
|
7440
|
-
"kind": "field",
|
|
7441
|
-
"name": "items",
|
|
7442
|
-
"privacy": "public",
|
|
7443
|
-
"description": "Radio group items",
|
|
7444
|
-
"type": {
|
|
7445
|
-
"text": "RadioItem[]"
|
|
7446
|
-
},
|
|
7447
|
-
"default": "() => []"
|
|
7448
|
-
},
|
|
7449
8065
|
{
|
|
7450
8066
|
"kind": "field",
|
|
7451
8067
|
"name": "label",
|
|
@@ -7469,16 +8085,6 @@
|
|
|
7469
8085
|
},
|
|
7470
8086
|
"default": "false"
|
|
7471
8087
|
},
|
|
7472
|
-
{
|
|
7473
|
-
"kind": "field",
|
|
7474
|
-
"name": "returnObject",
|
|
7475
|
-
"privacy": "public",
|
|
7476
|
-
"description": "Return the whole item object",
|
|
7477
|
-
"type": {
|
|
7478
|
-
"text": "boolean"
|
|
7479
|
-
},
|
|
7480
|
-
"default": "false"
|
|
7481
|
-
},
|
|
7482
8088
|
{
|
|
7483
8089
|
"kind": "field",
|
|
7484
8090
|
"name": "valid",
|
|
@@ -7493,9 +8099,9 @@
|
|
|
7493
8099
|
"kind": "field",
|
|
7494
8100
|
"name": "value",
|
|
7495
8101
|
"privacy": "public",
|
|
7496
|
-
"description": "Value of the radio group",
|
|
8102
|
+
"description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
|
|
7497
8103
|
"type": {
|
|
7498
|
-
"text": "null |
|
|
8104
|
+
"text": "null | string"
|
|
7499
8105
|
},
|
|
7500
8106
|
"default": "null"
|
|
7501
8107
|
}
|
|
@@ -7503,7 +8109,11 @@
|
|
|
7503
8109
|
"slots": [
|
|
7504
8110
|
{
|
|
7505
8111
|
"name": "default",
|
|
7506
|
-
"description": "
|
|
8112
|
+
"description": "The radios' home: `<c-radio>` children, wrappable in arbitrary layout elements at any depth"
|
|
8113
|
+
},
|
|
8114
|
+
{
|
|
8115
|
+
"name": "label",
|
|
8116
|
+
"description": "Group label content, used when the `label` prop is not set"
|
|
7507
8117
|
}
|
|
7508
8118
|
]
|
|
7509
8119
|
}
|
|
@@ -7704,6 +8314,18 @@
|
|
|
7704
8314
|
},
|
|
7705
8315
|
"default": "false"
|
|
7706
8316
|
},
|
|
8317
|
+
{
|
|
8318
|
+
"fieldName": "size",
|
|
8319
|
+
"name": "size",
|
|
8320
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
8321
|
+
"type": {
|
|
8322
|
+
"text": "'default' | 'small'"
|
|
8323
|
+
},
|
|
8324
|
+
"default": "'default'",
|
|
8325
|
+
"csc": {
|
|
8326
|
+
"typeAlias": "CFieldSize"
|
|
8327
|
+
}
|
|
8328
|
+
},
|
|
7707
8329
|
{
|
|
7708
8330
|
"fieldName": "valid",
|
|
7709
8331
|
"name": "valid",
|
|
@@ -7723,8 +8345,22 @@
|
|
|
7723
8345
|
"default": "null"
|
|
7724
8346
|
}
|
|
7725
8347
|
],
|
|
7726
|
-
"cssParts": [
|
|
8348
|
+
"cssParts": [
|
|
8349
|
+
{
|
|
8350
|
+
"name": "menu",
|
|
8351
|
+
"description": "The dropdown surface (the positioned dialog) holding the field and the list"
|
|
8352
|
+
},
|
|
8353
|
+
{
|
|
8354
|
+
"name": "list",
|
|
8355
|
+
"description": "The scrolling listbox of options"
|
|
8356
|
+
},
|
|
8357
|
+
{
|
|
8358
|
+
"name": "item",
|
|
8359
|
+
"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"
|
|
8360
|
+
}
|
|
8361
|
+
],
|
|
7727
8362
|
"cssProperties": [],
|
|
8363
|
+
"cssStates": [],
|
|
7728
8364
|
"events": [
|
|
7729
8365
|
{
|
|
7730
8366
|
"name": "changeValue",
|
|
@@ -7937,6 +8573,19 @@
|
|
|
7937
8573
|
},
|
|
7938
8574
|
"default": "false"
|
|
7939
8575
|
},
|
|
8576
|
+
{
|
|
8577
|
+
"kind": "field",
|
|
8578
|
+
"name": "size",
|
|
8579
|
+
"privacy": "public",
|
|
8580
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
8581
|
+
"type": {
|
|
8582
|
+
"text": "'default' | 'small'"
|
|
8583
|
+
},
|
|
8584
|
+
"default": "'default'",
|
|
8585
|
+
"csc": {
|
|
8586
|
+
"typeAlias": "CFieldSize"
|
|
8587
|
+
}
|
|
8588
|
+
},
|
|
7940
8589
|
{
|
|
7941
8590
|
"kind": "field",
|
|
7942
8591
|
"name": "valid",
|
|
@@ -8049,6 +8698,7 @@
|
|
|
8049
8698
|
}
|
|
8050
8699
|
],
|
|
8051
8700
|
"cssProperties": [],
|
|
8701
|
+
"cssStates": [],
|
|
8052
8702
|
"events": [
|
|
8053
8703
|
{
|
|
8054
8704
|
"name": "change:menu-visible",
|
|
@@ -8198,6 +8848,7 @@
|
|
|
8198
8848
|
}
|
|
8199
8849
|
],
|
|
8200
8850
|
"cssProperties": [],
|
|
8851
|
+
"cssStates": [],
|
|
8201
8852
|
"events": [
|
|
8202
8853
|
{
|
|
8203
8854
|
"name": "itemChange",
|
|
@@ -8321,6 +8972,7 @@
|
|
|
8321
8972
|
}
|
|
8322
8973
|
],
|
|
8323
8974
|
"cssProperties": [],
|
|
8975
|
+
"cssStates": [],
|
|
8324
8976
|
"events": [],
|
|
8325
8977
|
"members": [],
|
|
8326
8978
|
"slots": [
|
|
@@ -8517,6 +9169,7 @@
|
|
|
8517
9169
|
}
|
|
8518
9170
|
],
|
|
8519
9171
|
"cssProperties": [],
|
|
9172
|
+
"cssStates": [],
|
|
8520
9173
|
"events": [
|
|
8521
9174
|
{
|
|
8522
9175
|
"name": "changeValue",
|
|
@@ -8728,6 +9381,10 @@
|
|
|
8728
9381
|
"kind": "class",
|
|
8729
9382
|
"name": "CSpinner",
|
|
8730
9383
|
"tagName": "c-spinner",
|
|
9384
|
+
"description": "A circular indeterminate activity indicator — pure motion with no value, for waits of unknown duration.",
|
|
9385
|
+
"csc": {
|
|
9386
|
+
"usage": "docs/c-spinner/usage.md"
|
|
9387
|
+
},
|
|
8731
9388
|
"attributes": [
|
|
8732
9389
|
{
|
|
8733
9390
|
"fieldName": "color",
|
|
@@ -8767,6 +9424,7 @@
|
|
|
8767
9424
|
}
|
|
8768
9425
|
],
|
|
8769
9426
|
"cssProperties": [],
|
|
9427
|
+
"cssStates": [],
|
|
8770
9428
|
"events": [],
|
|
8771
9429
|
"members": [
|
|
8772
9430
|
{
|
|
@@ -8854,6 +9512,7 @@
|
|
|
8854
9512
|
}
|
|
8855
9513
|
],
|
|
8856
9514
|
"cssProperties": [],
|
|
9515
|
+
"cssStates": [],
|
|
8857
9516
|
"events": [],
|
|
8858
9517
|
"members": [
|
|
8859
9518
|
{
|
|
@@ -8948,6 +9607,7 @@
|
|
|
8948
9607
|
}
|
|
8949
9608
|
],
|
|
8950
9609
|
"cssProperties": [],
|
|
9610
|
+
"cssStates": [],
|
|
8951
9611
|
"events": [],
|
|
8952
9612
|
"members": [
|
|
8953
9613
|
{
|
|
@@ -9034,6 +9694,7 @@
|
|
|
9034
9694
|
}
|
|
9035
9695
|
],
|
|
9036
9696
|
"cssProperties": [],
|
|
9697
|
+
"cssStates": [],
|
|
9037
9698
|
"events": [],
|
|
9038
9699
|
"members": [
|
|
9039
9700
|
{
|
|
@@ -9147,6 +9808,7 @@
|
|
|
9147
9808
|
}
|
|
9148
9809
|
],
|
|
9149
9810
|
"cssProperties": [],
|
|
9811
|
+
"cssStates": [],
|
|
9150
9812
|
"events": [],
|
|
9151
9813
|
"members": [
|
|
9152
9814
|
{
|
|
@@ -9242,6 +9904,10 @@
|
|
|
9242
9904
|
"kind": "class",
|
|
9243
9905
|
"name": "CSwitch",
|
|
9244
9906
|
"tagName": "c-switch",
|
|
9907
|
+
"description": "A toggle for a binary setting that takes effect immediately: a native switch control with a label, an optional hint, and validation messaging.",
|
|
9908
|
+
"csc": {
|
|
9909
|
+
"usage": "docs/c-switch/usage.md"
|
|
9910
|
+
},
|
|
9245
9911
|
"attributes": [
|
|
9246
9912
|
{
|
|
9247
9913
|
"fieldName": "checked",
|
|
@@ -9346,6 +10012,12 @@
|
|
|
9346
10012
|
}
|
|
9347
10013
|
],
|
|
9348
10014
|
"cssProperties": [],
|
|
10015
|
+
"cssStates": [
|
|
10016
|
+
{
|
|
10017
|
+
"name": "checked",
|
|
10018
|
+
"description": "Present while the switch is on"
|
|
10019
|
+
}
|
|
10020
|
+
],
|
|
9349
10021
|
"events": [
|
|
9350
10022
|
{
|
|
9351
10023
|
"name": "change",
|
|
@@ -9573,6 +10245,7 @@
|
|
|
9573
10245
|
}
|
|
9574
10246
|
],
|
|
9575
10247
|
"cssProperties": [],
|
|
10248
|
+
"cssStates": [],
|
|
9576
10249
|
"events": [
|
|
9577
10250
|
{
|
|
9578
10251
|
"name": "tabChange",
|
|
@@ -9734,6 +10407,7 @@
|
|
|
9734
10407
|
}
|
|
9735
10408
|
],
|
|
9736
10409
|
"cssProperties": [],
|
|
10410
|
+
"cssStates": [],
|
|
9737
10411
|
"events": [
|
|
9738
10412
|
{
|
|
9739
10413
|
"name": "tabChange",
|
|
@@ -9841,6 +10515,7 @@
|
|
|
9841
10515
|
}
|
|
9842
10516
|
],
|
|
9843
10517
|
"cssProperties": [],
|
|
10518
|
+
"cssStates": [],
|
|
9844
10519
|
"events": [
|
|
9845
10520
|
{
|
|
9846
10521
|
"name": "contentChange",
|
|
@@ -9935,6 +10610,7 @@
|
|
|
9935
10610
|
}
|
|
9936
10611
|
],
|
|
9937
10612
|
"cssProperties": [],
|
|
10613
|
+
"cssStates": [],
|
|
9938
10614
|
"events": [],
|
|
9939
10615
|
"members": [
|
|
9940
10616
|
{
|
|
@@ -9994,6 +10670,10 @@
|
|
|
9994
10670
|
"kind": "class",
|
|
9995
10671
|
"name": "CTable",
|
|
9996
10672
|
"tagName": "c-table",
|
|
10673
|
+
"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.",
|
|
10674
|
+
"csc": {
|
|
10675
|
+
"usage": "docs/c-table/usage.md"
|
|
10676
|
+
},
|
|
9997
10677
|
"attributes": [
|
|
9998
10678
|
{
|
|
9999
10679
|
"fieldName": "mobileBreakpoint",
|
|
@@ -10016,6 +10696,7 @@
|
|
|
10016
10696
|
],
|
|
10017
10697
|
"cssParts": [],
|
|
10018
10698
|
"cssProperties": [],
|
|
10699
|
+
"cssStates": [],
|
|
10019
10700
|
"events": [],
|
|
10020
10701
|
"members": [
|
|
10021
10702
|
{
|
|
@@ -10039,7 +10720,12 @@
|
|
|
10039
10720
|
"default": "false"
|
|
10040
10721
|
}
|
|
10041
10722
|
],
|
|
10042
|
-
"slots": [
|
|
10723
|
+
"slots": [
|
|
10724
|
+
{
|
|
10725
|
+
"name": "default",
|
|
10726
|
+
"description": "The consumer-authored `<table>` element"
|
|
10727
|
+
}
|
|
10728
|
+
]
|
|
10043
10729
|
}
|
|
10044
10730
|
],
|
|
10045
10731
|
"exports": [
|
|
@@ -10152,6 +10838,7 @@
|
|
|
10152
10838
|
}
|
|
10153
10839
|
],
|
|
10154
10840
|
"cssProperties": [],
|
|
10841
|
+
"cssStates": [],
|
|
10155
10842
|
"events": [
|
|
10156
10843
|
{
|
|
10157
10844
|
"name": "changeValue",
|
|
@@ -10337,6 +11024,7 @@
|
|
|
10337
11024
|
}
|
|
10338
11025
|
],
|
|
10339
11026
|
"cssProperties": [],
|
|
11027
|
+
"cssStates": [],
|
|
10340
11028
|
"events": [
|
|
10341
11029
|
{
|
|
10342
11030
|
"name": "close",
|
|
@@ -10492,6 +11180,7 @@
|
|
|
10492
11180
|
}
|
|
10493
11181
|
],
|
|
10494
11182
|
"cssProperties": [],
|
|
11183
|
+
"cssStates": [],
|
|
10495
11184
|
"events": [],
|
|
10496
11185
|
"members": [
|
|
10497
11186
|
{
|
|
@@ -10752,6 +11441,18 @@
|
|
|
10752
11441
|
},
|
|
10753
11442
|
"default": "false"
|
|
10754
11443
|
},
|
|
11444
|
+
{
|
|
11445
|
+
"fieldName": "size",
|
|
11446
|
+
"name": "size",
|
|
11447
|
+
"description": "Field height: the 44px default or the 36px `small` box (single-line fields)",
|
|
11448
|
+
"type": {
|
|
11449
|
+
"text": "'default' | 'small'"
|
|
11450
|
+
},
|
|
11451
|
+
"default": "'default'",
|
|
11452
|
+
"csc": {
|
|
11453
|
+
"typeAlias": "CFieldSize"
|
|
11454
|
+
}
|
|
11455
|
+
},
|
|
10755
11456
|
{
|
|
10756
11457
|
"fieldName": "step",
|
|
10757
11458
|
"name": "step",
|
|
@@ -10806,6 +11507,7 @@
|
|
|
10806
11507
|
],
|
|
10807
11508
|
"cssParts": [],
|
|
10808
11509
|
"cssProperties": [],
|
|
11510
|
+
"cssStates": [],
|
|
10809
11511
|
"events": [
|
|
10810
11512
|
{
|
|
10811
11513
|
"name": "change",
|
|
@@ -11039,6 +11741,19 @@
|
|
|
11039
11741
|
},
|
|
11040
11742
|
"default": "false"
|
|
11041
11743
|
},
|
|
11744
|
+
{
|
|
11745
|
+
"kind": "field",
|
|
11746
|
+
"name": "size",
|
|
11747
|
+
"privacy": "public",
|
|
11748
|
+
"description": "Field height: the 44px default or the 36px `small` box (single-line fields)",
|
|
11749
|
+
"type": {
|
|
11750
|
+
"text": "'default' | 'small'"
|
|
11751
|
+
},
|
|
11752
|
+
"default": "'default'",
|
|
11753
|
+
"csc": {
|
|
11754
|
+
"typeAlias": "CFieldSize"
|
|
11755
|
+
}
|
|
11756
|
+
},
|
|
11042
11757
|
{
|
|
11043
11758
|
"kind": "field",
|
|
11044
11759
|
"name": "step",
|
|
@@ -11154,7 +11869,7 @@
|
|
|
11154
11869
|
"cssParts": [
|
|
11155
11870
|
{
|
|
11156
11871
|
"name": "root",
|
|
11157
|
-
"description": "The toast's outer box
|
|
11872
|
+
"description": "The toast's outer box: the inverted-surface pill carrying the shadow"
|
|
11158
11873
|
},
|
|
11159
11874
|
{
|
|
11160
11875
|
"name": "custom",
|
|
@@ -11166,7 +11881,15 @@
|
|
|
11166
11881
|
},
|
|
11167
11882
|
{
|
|
11168
11883
|
"name": "item",
|
|
11169
|
-
"description": "Row layout of a standard toast:
|
|
11884
|
+
"description": "Row layout of a standard toast: status badge, message body and dismiss button"
|
|
11885
|
+
},
|
|
11886
|
+
{
|
|
11887
|
+
"name": "badge",
|
|
11888
|
+
"description": "The circular tinted badge holding the status icon"
|
|
11889
|
+
},
|
|
11890
|
+
{
|
|
11891
|
+
"name": "dismiss",
|
|
11892
|
+
"description": "The dismiss button (icon-only, or labelled when the message sets `closeText`)"
|
|
11170
11893
|
},
|
|
11171
11894
|
{
|
|
11172
11895
|
"name": "progress",
|
|
@@ -11174,6 +11897,7 @@
|
|
|
11174
11897
|
}
|
|
11175
11898
|
],
|
|
11176
11899
|
"cssProperties": [],
|
|
11900
|
+
"cssStates": [],
|
|
11177
11901
|
"events": [
|
|
11178
11902
|
{
|
|
11179
11903
|
"name": "close",
|
|
@@ -11285,6 +12009,7 @@
|
|
|
11285
12009
|
}
|
|
11286
12010
|
],
|
|
11287
12011
|
"cssProperties": [],
|
|
12012
|
+
"cssStates": [],
|
|
11288
12013
|
"events": [],
|
|
11289
12014
|
"members": [
|
|
11290
12015
|
{
|
|
@@ -11386,6 +12111,7 @@
|
|
|
11386
12111
|
}
|
|
11387
12112
|
],
|
|
11388
12113
|
"cssProperties": [],
|
|
12114
|
+
"cssStates": [],
|
|
11389
12115
|
"events": [],
|
|
11390
12116
|
"members": [],
|
|
11391
12117
|
"slots": [
|
|
@@ -11416,6 +12142,199 @@
|
|
|
11416
12142
|
],
|
|
11417
12143
|
"kind": "javascript-module",
|
|
11418
12144
|
"path": "src/components/c-toolbar/CToolbar.vue"
|
|
12145
|
+
},
|
|
12146
|
+
{
|
|
12147
|
+
"declarations": [
|
|
12148
|
+
{
|
|
12149
|
+
"customElement": true,
|
|
12150
|
+
"kind": "class",
|
|
12151
|
+
"name": "CTooltip",
|
|
12152
|
+
"tagName": "c-tooltip",
|
|
12153
|
+
"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.",
|
|
12154
|
+
"csc": {
|
|
12155
|
+
"usage": "docs/c-tooltip/usage.md"
|
|
12156
|
+
},
|
|
12157
|
+
"attributes": [
|
|
12158
|
+
{
|
|
12159
|
+
"fieldName": "delay",
|
|
12160
|
+
"name": "delay",
|
|
12161
|
+
"description": "Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\nshows the tooltip immediately, regardless of this value. Defaults to\n`400`.",
|
|
12162
|
+
"type": {
|
|
12163
|
+
"text": "number | string"
|
|
12164
|
+
},
|
|
12165
|
+
"default": "400"
|
|
12166
|
+
},
|
|
12167
|
+
{
|
|
12168
|
+
"fieldName": "distance",
|
|
12169
|
+
"name": "distance",
|
|
12170
|
+
"description": "Distance from the trigger to the tooltip, in pixels. Defaults to `4`.",
|
|
12171
|
+
"type": {
|
|
12172
|
+
"text": "number | string"
|
|
12173
|
+
},
|
|
12174
|
+
"default": "4"
|
|
12175
|
+
},
|
|
12176
|
+
{
|
|
12177
|
+
"fieldName": "open",
|
|
12178
|
+
"name": "open",
|
|
12179
|
+
"description": "Whether the tooltip is open. Two-way: emits `change:open`.",
|
|
12180
|
+
"type": {
|
|
12181
|
+
"text": "boolean"
|
|
12182
|
+
},
|
|
12183
|
+
"default": "false"
|
|
12184
|
+
},
|
|
12185
|
+
{
|
|
12186
|
+
"fieldName": "position",
|
|
12187
|
+
"name": "position",
|
|
12188
|
+
"description": "Preferred placement of the tooltip relative to the trigger.",
|
|
12189
|
+
"type": {
|
|
12190
|
+
"text": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
12191
|
+
},
|
|
12192
|
+
"default": "'top'",
|
|
12193
|
+
"csc": {
|
|
12194
|
+
"typeAlias": "CPlacement"
|
|
12195
|
+
}
|
|
12196
|
+
},
|
|
12197
|
+
{
|
|
12198
|
+
"fieldName": "text",
|
|
12199
|
+
"name": "text",
|
|
12200
|
+
"description": "The tooltip text. Overridden by the `content` slot when that is\npopulated.",
|
|
12201
|
+
"type": {
|
|
12202
|
+
"text": "string"
|
|
12203
|
+
},
|
|
12204
|
+
"default": "''",
|
|
12205
|
+
"csc": {
|
|
12206
|
+
"freeform": true
|
|
12207
|
+
}
|
|
12208
|
+
},
|
|
12209
|
+
{
|
|
12210
|
+
"fieldName": "trigger",
|
|
12211
|
+
"name": "trigger",
|
|
12212
|
+
"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.",
|
|
12213
|
+
"type": {
|
|
12214
|
+
"text": "HTMLElement | string"
|
|
12215
|
+
}
|
|
12216
|
+
}
|
|
12217
|
+
],
|
|
12218
|
+
"cssParts": [
|
|
12219
|
+
{
|
|
12220
|
+
"name": "trigger",
|
|
12221
|
+
"description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
|
|
12222
|
+
},
|
|
12223
|
+
{
|
|
12224
|
+
"name": "panel",
|
|
12225
|
+
"description": "The floating tooltip bubble positioned against the trigger"
|
|
12226
|
+
}
|
|
12227
|
+
],
|
|
12228
|
+
"cssProperties": [],
|
|
12229
|
+
"cssStates": [],
|
|
12230
|
+
"events": [
|
|
12231
|
+
{
|
|
12232
|
+
"name": "change:open",
|
|
12233
|
+
"type": {
|
|
12234
|
+
"text": "CustomEvent<boolean>"
|
|
12235
|
+
},
|
|
12236
|
+
"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."
|
|
12237
|
+
}
|
|
12238
|
+
],
|
|
12239
|
+
"members": [
|
|
12240
|
+
{
|
|
12241
|
+
"kind": "field",
|
|
12242
|
+
"name": "delay",
|
|
12243
|
+
"privacy": "public",
|
|
12244
|
+
"description": "Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\nshows the tooltip immediately, regardless of this value. Defaults to\n`400`.",
|
|
12245
|
+
"type": {
|
|
12246
|
+
"text": "number | string"
|
|
12247
|
+
},
|
|
12248
|
+
"default": "400"
|
|
12249
|
+
},
|
|
12250
|
+
{
|
|
12251
|
+
"kind": "field",
|
|
12252
|
+
"name": "distance",
|
|
12253
|
+
"privacy": "public",
|
|
12254
|
+
"description": "Distance from the trigger to the tooltip, in pixels. Defaults to `4`.",
|
|
12255
|
+
"type": {
|
|
12256
|
+
"text": "number | string"
|
|
12257
|
+
},
|
|
12258
|
+
"default": "4"
|
|
12259
|
+
},
|
|
12260
|
+
{
|
|
12261
|
+
"kind": "field",
|
|
12262
|
+
"name": "open",
|
|
12263
|
+
"privacy": "public",
|
|
12264
|
+
"description": "Whether the tooltip is open. Two-way: emits `change:open`.",
|
|
12265
|
+
"type": {
|
|
12266
|
+
"text": "boolean"
|
|
12267
|
+
},
|
|
12268
|
+
"default": "false"
|
|
12269
|
+
},
|
|
12270
|
+
{
|
|
12271
|
+
"kind": "field",
|
|
12272
|
+
"name": "position",
|
|
12273
|
+
"privacy": "public",
|
|
12274
|
+
"description": "Preferred placement of the tooltip relative to the trigger.",
|
|
12275
|
+
"type": {
|
|
12276
|
+
"text": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
12277
|
+
},
|
|
12278
|
+
"default": "'top'",
|
|
12279
|
+
"csc": {
|
|
12280
|
+
"typeAlias": "CPlacement"
|
|
12281
|
+
}
|
|
12282
|
+
},
|
|
12283
|
+
{
|
|
12284
|
+
"kind": "field",
|
|
12285
|
+
"name": "text",
|
|
12286
|
+
"privacy": "public",
|
|
12287
|
+
"description": "The tooltip text. Overridden by the `content` slot when that is\npopulated.",
|
|
12288
|
+
"type": {
|
|
12289
|
+
"text": "string"
|
|
12290
|
+
},
|
|
12291
|
+
"default": "''",
|
|
12292
|
+
"csc": {
|
|
12293
|
+
"freeform": true
|
|
12294
|
+
}
|
|
12295
|
+
},
|
|
12296
|
+
{
|
|
12297
|
+
"kind": "field",
|
|
12298
|
+
"name": "trigger",
|
|
12299
|
+
"privacy": "public",
|
|
12300
|
+
"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.",
|
|
12301
|
+
"type": {
|
|
12302
|
+
"text": "HTMLElement | string"
|
|
12303
|
+
}
|
|
12304
|
+
}
|
|
12305
|
+
],
|
|
12306
|
+
"slots": [
|
|
12307
|
+
{
|
|
12308
|
+
"name": "trigger",
|
|
12309
|
+
"description": "The element the tooltip describes (e.g. a c-icon-button)"
|
|
12310
|
+
},
|
|
12311
|
+
{
|
|
12312
|
+
"name": "content",
|
|
12313
|
+
"description": "Formatted tooltip content, overriding the `text` prop; must stay non-interactive (ADR-0033)"
|
|
12314
|
+
}
|
|
12315
|
+
]
|
|
12316
|
+
}
|
|
12317
|
+
],
|
|
12318
|
+
"exports": [
|
|
12319
|
+
{
|
|
12320
|
+
"declaration": {
|
|
12321
|
+
"module": "src/components/c-tooltip/CTooltip.vue",
|
|
12322
|
+
"name": "CTooltip"
|
|
12323
|
+
},
|
|
12324
|
+
"kind": "js",
|
|
12325
|
+
"name": "CTooltip"
|
|
12326
|
+
},
|
|
12327
|
+
{
|
|
12328
|
+
"declaration": {
|
|
12329
|
+
"module": "src/components/c-tooltip/CTooltip.vue",
|
|
12330
|
+
"name": "CTooltip"
|
|
12331
|
+
},
|
|
12332
|
+
"kind": "custom-element-definition",
|
|
12333
|
+
"name": "c-tooltip"
|
|
12334
|
+
}
|
|
12335
|
+
],
|
|
12336
|
+
"kind": "javascript-module",
|
|
12337
|
+
"path": "src/components/c-tooltip/CTooltip.vue"
|
|
11419
12338
|
}
|
|
11420
12339
|
]
|
|
11421
12340
|
}
|