@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
|
@@ -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 /**\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 /** 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",
|
|
@@ -1021,6 +1112,18 @@
|
|
|
1021
1112
|
},
|
|
1022
1113
|
"default": "false"
|
|
1023
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
|
+
},
|
|
1024
1127
|
{
|
|
1025
1128
|
"fieldName": "valid",
|
|
1026
1129
|
"name": "valid",
|
|
@@ -1063,6 +1166,7 @@
|
|
|
1063
1166
|
}
|
|
1064
1167
|
],
|
|
1065
1168
|
"cssProperties": [],
|
|
1169
|
+
"cssStates": [],
|
|
1066
1170
|
"events": [
|
|
1067
1171
|
{
|
|
1068
1172
|
"name": "change",
|
|
@@ -1311,6 +1415,19 @@
|
|
|
1311
1415
|
},
|
|
1312
1416
|
"default": "false"
|
|
1313
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
|
+
},
|
|
1314
1431
|
{
|
|
1315
1432
|
"kind": "field",
|
|
1316
1433
|
"name": "valid",
|
|
@@ -1393,6 +1510,7 @@
|
|
|
1393
1510
|
}
|
|
1394
1511
|
],
|
|
1395
1512
|
"cssProperties": [],
|
|
1513
|
+
"cssStates": [],
|
|
1396
1514
|
"events": [],
|
|
1397
1515
|
"members": [],
|
|
1398
1516
|
"slots": [
|
|
@@ -1623,6 +1741,7 @@
|
|
|
1623
1741
|
"description": "Font stack applied to the label (native buttons do not inherit it)."
|
|
1624
1742
|
}
|
|
1625
1743
|
],
|
|
1744
|
+
"cssStates": [],
|
|
1626
1745
|
"events": [],
|
|
1627
1746
|
"members": [
|
|
1628
1747
|
{
|
|
@@ -1930,6 +2049,7 @@
|
|
|
1930
2049
|
}
|
|
1931
2050
|
],
|
|
1932
2051
|
"cssProperties": [],
|
|
2052
|
+
"cssStates": [],
|
|
1933
2053
|
"events": [
|
|
1934
2054
|
{
|
|
1935
2055
|
"name": "change",
|
|
@@ -2088,7 +2208,7 @@
|
|
|
2088
2208
|
"cssParts": [
|
|
2089
2209
|
{
|
|
2090
2210
|
"name": "root",
|
|
2091
|
-
"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"
|
|
2092
2212
|
},
|
|
2093
2213
|
{
|
|
2094
2214
|
"name": "fullscreen-toggle",
|
|
@@ -2096,6 +2216,7 @@
|
|
|
2096
2216
|
}
|
|
2097
2217
|
],
|
|
2098
2218
|
"cssProperties": [],
|
|
2219
|
+
"cssStates": [],
|
|
2099
2220
|
"events": [],
|
|
2100
2221
|
"members": [
|
|
2101
2222
|
{
|
|
@@ -2200,6 +2321,7 @@
|
|
|
2200
2321
|
}
|
|
2201
2322
|
],
|
|
2202
2323
|
"cssProperties": [],
|
|
2324
|
+
"cssStates": [],
|
|
2203
2325
|
"events": [],
|
|
2204
2326
|
"members": [
|
|
2205
2327
|
{
|
|
@@ -2273,6 +2395,7 @@
|
|
|
2273
2395
|
}
|
|
2274
2396
|
],
|
|
2275
2397
|
"cssProperties": [],
|
|
2398
|
+
"cssStates": [],
|
|
2276
2399
|
"events": [],
|
|
2277
2400
|
"members": [],
|
|
2278
2401
|
"slots": [
|
|
@@ -2335,6 +2458,7 @@
|
|
|
2335
2458
|
}
|
|
2336
2459
|
],
|
|
2337
2460
|
"cssProperties": [],
|
|
2461
|
+
"cssStates": [],
|
|
2338
2462
|
"events": [],
|
|
2339
2463
|
"members": [],
|
|
2340
2464
|
"slots": [
|
|
@@ -2377,6 +2501,10 @@
|
|
|
2377
2501
|
"kind": "class",
|
|
2378
2502
|
"name": "CCheckbox",
|
|
2379
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
|
+
},
|
|
2380
2508
|
"attributes": [
|
|
2381
2509
|
{
|
|
2382
2510
|
"fieldName": "checked",
|
|
@@ -2531,7 +2659,11 @@
|
|
|
2531
2659
|
},
|
|
2532
2660
|
{
|
|
2533
2661
|
"name": "indicator",
|
|
2534
|
-
"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"
|
|
2535
2667
|
},
|
|
2536
2668
|
{
|
|
2537
2669
|
"name": "content",
|
|
@@ -2539,10 +2671,20 @@
|
|
|
2539
2671
|
},
|
|
2540
2672
|
{
|
|
2541
2673
|
"name": "message",
|
|
2542
|
-
"description": "The hint / error message
|
|
2674
|
+
"description": "The hint / error message area below the checkbox (always reserved unless `hide-details`)"
|
|
2543
2675
|
}
|
|
2544
2676
|
],
|
|
2545
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
|
+
],
|
|
2546
2688
|
"events": [
|
|
2547
2689
|
{
|
|
2548
2690
|
"name": "change",
|
|
@@ -2784,6 +2926,7 @@
|
|
|
2784
2926
|
}
|
|
2785
2927
|
],
|
|
2786
2928
|
"cssProperties": [],
|
|
2929
|
+
"cssStates": [],
|
|
2787
2930
|
"events": [],
|
|
2788
2931
|
"members": [
|
|
2789
2932
|
{
|
|
@@ -2998,6 +3141,7 @@
|
|
|
2998
3141
|
}
|
|
2999
3142
|
],
|
|
3000
3143
|
"cssProperties": [],
|
|
3144
|
+
"cssStates": [],
|
|
3001
3145
|
"events": [
|
|
3002
3146
|
{
|
|
3003
3147
|
"name": "change:expanded",
|
|
@@ -3292,6 +3436,7 @@
|
|
|
3292
3436
|
}
|
|
3293
3437
|
],
|
|
3294
3438
|
"cssProperties": [],
|
|
3439
|
+
"cssStates": [],
|
|
3295
3440
|
"events": [],
|
|
3296
3441
|
"members": [
|
|
3297
3442
|
{
|
|
@@ -3410,8 +3555,22 @@
|
|
|
3410
3555
|
}
|
|
3411
3556
|
}
|
|
3412
3557
|
],
|
|
3413
|
-
"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
|
+
],
|
|
3414
3572
|
"cssProperties": [],
|
|
3573
|
+
"cssStates": [],
|
|
3415
3574
|
"events": [
|
|
3416
3575
|
{
|
|
3417
3576
|
"name": "dropdownStateChange",
|
|
@@ -3646,6 +3805,7 @@
|
|
|
3646
3805
|
}
|
|
3647
3806
|
],
|
|
3648
3807
|
"cssProperties": [],
|
|
3808
|
+
"cssStates": [],
|
|
3649
3809
|
"events": [],
|
|
3650
3810
|
"members": [
|
|
3651
3811
|
{
|
|
@@ -3828,6 +3988,7 @@
|
|
|
3828
3988
|
}
|
|
3829
3989
|
],
|
|
3830
3990
|
"cssProperties": [],
|
|
3991
|
+
"cssStates": [],
|
|
3831
3992
|
"events": [],
|
|
3832
3993
|
"members": [
|
|
3833
3994
|
{
|
|
@@ -4094,6 +4255,18 @@
|
|
|
4094
4255
|
},
|
|
4095
4256
|
"default": "false"
|
|
4096
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
|
+
},
|
|
4097
4270
|
{
|
|
4098
4271
|
"fieldName": "valid",
|
|
4099
4272
|
"name": "valid",
|
|
@@ -4127,6 +4300,7 @@
|
|
|
4127
4300
|
}
|
|
4128
4301
|
],
|
|
4129
4302
|
"cssProperties": [],
|
|
4303
|
+
"cssStates": [],
|
|
4130
4304
|
"events": [],
|
|
4131
4305
|
"members": [
|
|
4132
4306
|
{
|
|
@@ -4261,6 +4435,19 @@
|
|
|
4261
4435
|
},
|
|
4262
4436
|
"default": "false"
|
|
4263
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
|
+
},
|
|
4264
4451
|
{
|
|
4265
4452
|
"kind": "field",
|
|
4266
4453
|
"name": "valid",
|
|
@@ -4371,6 +4558,7 @@
|
|
|
4371
4558
|
}
|
|
4372
4559
|
],
|
|
4373
4560
|
"cssProperties": [],
|
|
4561
|
+
"cssStates": [],
|
|
4374
4562
|
"events": [],
|
|
4375
4563
|
"members": [
|
|
4376
4564
|
{
|
|
@@ -4489,6 +4677,7 @@
|
|
|
4489
4677
|
}
|
|
4490
4678
|
],
|
|
4491
4679
|
"cssProperties": [],
|
|
4680
|
+
"cssStates": [],
|
|
4492
4681
|
"events": [],
|
|
4493
4682
|
"members": [
|
|
4494
4683
|
{
|
|
@@ -4626,6 +4815,7 @@
|
|
|
4626
4815
|
}
|
|
4627
4816
|
],
|
|
4628
4817
|
"cssProperties": [],
|
|
4818
|
+
"cssStates": [],
|
|
4629
4819
|
"events": [],
|
|
4630
4820
|
"members": [
|
|
4631
4821
|
{
|
|
@@ -4767,6 +4957,7 @@
|
|
|
4767
4957
|
}
|
|
4768
4958
|
],
|
|
4769
4959
|
"cssProperties": [],
|
|
4960
|
+
"cssStates": [],
|
|
4770
4961
|
"events": [],
|
|
4771
4962
|
"members": [
|
|
4772
4963
|
{
|
|
@@ -4869,6 +5060,7 @@
|
|
|
4869
5060
|
}
|
|
4870
5061
|
],
|
|
4871
5062
|
"cssProperties": [],
|
|
5063
|
+
"cssStates": [],
|
|
4872
5064
|
"events": [],
|
|
4873
5065
|
"members": [
|
|
4874
5066
|
{
|
|
@@ -5009,9 +5201,13 @@
|
|
|
5009
5201
|
"name": "root",
|
|
5010
5202
|
"description": "The anchor element forming the whole clickable card"
|
|
5011
5203
|
},
|
|
5204
|
+
{
|
|
5205
|
+
"name": "image-wrap",
|
|
5206
|
+
"description": "The area above the title bar that centers the logo (default image or slotted content)"
|
|
5207
|
+
},
|
|
5012
5208
|
{
|
|
5013
5209
|
"name": "image",
|
|
5014
|
-
"description": "The provider logo
|
|
5210
|
+
"description": "The default provider logo `<img>` (absent when the `image` slot is used)"
|
|
5015
5211
|
},
|
|
5016
5212
|
{
|
|
5017
5213
|
"name": "title",
|
|
@@ -5019,6 +5215,7 @@
|
|
|
5019
5215
|
}
|
|
5020
5216
|
],
|
|
5021
5217
|
"cssProperties": [],
|
|
5218
|
+
"cssStates": [],
|
|
5022
5219
|
"events": [],
|
|
5023
5220
|
"members": [
|
|
5024
5221
|
{
|
|
@@ -5064,7 +5261,11 @@
|
|
|
5064
5261
|
"slots": [
|
|
5065
5262
|
{
|
|
5066
5263
|
"name": "default",
|
|
5067
|
-
"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`"
|
|
5068
5269
|
}
|
|
5069
5270
|
]
|
|
5070
5271
|
}
|
|
@@ -5105,6 +5306,7 @@
|
|
|
5105
5306
|
"attributes": [],
|
|
5106
5307
|
"cssParts": [],
|
|
5107
5308
|
"cssProperties": [],
|
|
5309
|
+
"cssStates": [],
|
|
5108
5310
|
"events": [],
|
|
5109
5311
|
"members": [],
|
|
5110
5312
|
"slots": [
|
|
@@ -5225,6 +5427,7 @@
|
|
|
5225
5427
|
}
|
|
5226
5428
|
],
|
|
5227
5429
|
"cssProperties": [],
|
|
5430
|
+
"cssStates": [],
|
|
5228
5431
|
"events": [],
|
|
5229
5432
|
"members": [
|
|
5230
5433
|
{
|
|
@@ -5360,6 +5563,7 @@
|
|
|
5360
5563
|
}
|
|
5361
5564
|
],
|
|
5362
5565
|
"cssProperties": [],
|
|
5566
|
+
"cssStates": [],
|
|
5363
5567
|
"events": [],
|
|
5364
5568
|
"members": [
|
|
5365
5569
|
{
|
|
@@ -5433,6 +5637,7 @@
|
|
|
5433
5637
|
}
|
|
5434
5638
|
],
|
|
5435
5639
|
"cssProperties": [],
|
|
5640
|
+
"cssStates": [],
|
|
5436
5641
|
"events": [],
|
|
5437
5642
|
"members": [],
|
|
5438
5643
|
"slots": [
|
|
@@ -5479,6 +5684,7 @@
|
|
|
5479
5684
|
}
|
|
5480
5685
|
],
|
|
5481
5686
|
"cssProperties": [],
|
|
5687
|
+
"cssStates": [],
|
|
5482
5688
|
"events": [],
|
|
5483
5689
|
"members": [],
|
|
5484
5690
|
"slots": [
|
|
@@ -5539,6 +5745,7 @@
|
|
|
5539
5745
|
}
|
|
5540
5746
|
],
|
|
5541
5747
|
"cssProperties": [],
|
|
5748
|
+
"cssStates": [],
|
|
5542
5749
|
"events": [],
|
|
5543
5750
|
"members": [
|
|
5544
5751
|
{
|
|
@@ -5622,7 +5829,15 @@
|
|
|
5622
5829
|
},
|
|
5623
5830
|
"default": "'bottom-start'",
|
|
5624
5831
|
"csc": {
|
|
5625
|
-
"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"
|
|
5626
5841
|
}
|
|
5627
5842
|
}
|
|
5628
5843
|
],
|
|
@@ -5641,6 +5856,7 @@
|
|
|
5641
5856
|
}
|
|
5642
5857
|
],
|
|
5643
5858
|
"cssProperties": [],
|
|
5859
|
+
"cssStates": [],
|
|
5644
5860
|
"events": [
|
|
5645
5861
|
{
|
|
5646
5862
|
"name": "change:open",
|
|
@@ -5688,7 +5904,16 @@
|
|
|
5688
5904
|
},
|
|
5689
5905
|
"default": "'bottom-start'",
|
|
5690
5906
|
"csc": {
|
|
5691
|
-
"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"
|
|
5692
5917
|
}
|
|
5693
5918
|
}
|
|
5694
5919
|
],
|
|
@@ -5737,6 +5962,26 @@
|
|
|
5737
5962
|
"usage": "docs/c-menu-item/usage.md"
|
|
5738
5963
|
},
|
|
5739
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
|
+
},
|
|
5740
5985
|
{
|
|
5741
5986
|
"fieldName": "danger",
|
|
5742
5987
|
"name": "danger",
|
|
@@ -5755,6 +6000,18 @@
|
|
|
5755
6000
|
},
|
|
5756
6001
|
"default": "false"
|
|
5757
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
|
+
},
|
|
5758
6015
|
{
|
|
5759
6016
|
"fieldName": "value",
|
|
5760
6017
|
"name": "value",
|
|
@@ -5776,6 +6033,14 @@
|
|
|
5776
6033
|
"name": "content",
|
|
5777
6034
|
"description": "The flex wrapper around the default-slot content"
|
|
5778
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
|
+
},
|
|
5779
6044
|
{
|
|
5780
6045
|
"name": "submenu-panel",
|
|
5781
6046
|
"description": "The floating popover holding the submenu"
|
|
@@ -5786,8 +6051,31 @@
|
|
|
5786
6051
|
}
|
|
5787
6052
|
],
|
|
5788
6053
|
"cssProperties": [],
|
|
6054
|
+
"cssStates": [],
|
|
5789
6055
|
"events": [],
|
|
5790
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
|
+
},
|
|
5791
6079
|
{
|
|
5792
6080
|
"kind": "field",
|
|
5793
6081
|
"name": "danger",
|
|
@@ -5808,6 +6096,19 @@
|
|
|
5808
6096
|
},
|
|
5809
6097
|
"default": "false"
|
|
5810
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
|
+
},
|
|
5811
6112
|
{
|
|
5812
6113
|
"kind": "field",
|
|
5813
6114
|
"name": "value",
|
|
@@ -5889,6 +6190,7 @@
|
|
|
5889
6190
|
}
|
|
5890
6191
|
],
|
|
5891
6192
|
"cssProperties": [],
|
|
6193
|
+
"cssStates": [],
|
|
5892
6194
|
"events": [],
|
|
5893
6195
|
"members": [],
|
|
5894
6196
|
"slots": [
|
|
@@ -5981,6 +6283,7 @@
|
|
|
5981
6283
|
}
|
|
5982
6284
|
],
|
|
5983
6285
|
"cssProperties": [],
|
|
6286
|
+
"cssStates": [],
|
|
5984
6287
|
"events": [],
|
|
5985
6288
|
"members": [
|
|
5986
6289
|
{
|
|
@@ -6117,6 +6420,7 @@
|
|
|
6117
6420
|
}
|
|
6118
6421
|
],
|
|
6119
6422
|
"cssProperties": [],
|
|
6423
|
+
"cssStates": [],
|
|
6120
6424
|
"events": [
|
|
6121
6425
|
{
|
|
6122
6426
|
"name": "changeValue",
|
|
@@ -6226,6 +6530,7 @@
|
|
|
6226
6530
|
}
|
|
6227
6531
|
],
|
|
6228
6532
|
"cssProperties": [],
|
|
6533
|
+
"cssStates": [],
|
|
6229
6534
|
"events": [],
|
|
6230
6535
|
"members": [],
|
|
6231
6536
|
"slots": []
|
|
@@ -6300,6 +6605,7 @@
|
|
|
6300
6605
|
],
|
|
6301
6606
|
"cssParts": [],
|
|
6302
6607
|
"cssProperties": [],
|
|
6608
|
+
"cssStates": [],
|
|
6303
6609
|
"events": [],
|
|
6304
6610
|
"members": [
|
|
6305
6611
|
{
|
|
@@ -6383,6 +6689,7 @@
|
|
|
6383
6689
|
"attributes": [],
|
|
6384
6690
|
"cssParts": [],
|
|
6385
6691
|
"cssProperties": [],
|
|
6692
|
+
"cssStates": [],
|
|
6386
6693
|
"events": [],
|
|
6387
6694
|
"members": [],
|
|
6388
6695
|
"slots": [
|
|
@@ -6547,6 +6854,7 @@
|
|
|
6547
6854
|
}
|
|
6548
6855
|
],
|
|
6549
6856
|
"cssProperties": [],
|
|
6857
|
+
"cssStates": [],
|
|
6550
6858
|
"events": [
|
|
6551
6859
|
{
|
|
6552
6860
|
"name": "changeValue",
|
|
@@ -6752,6 +7060,7 @@
|
|
|
6752
7060
|
}
|
|
6753
7061
|
],
|
|
6754
7062
|
"cssProperties": [],
|
|
7063
|
+
"cssStates": [],
|
|
6755
7064
|
"events": [],
|
|
6756
7065
|
"members": [
|
|
6757
7066
|
{
|
|
@@ -6865,6 +7174,7 @@
|
|
|
6865
7174
|
}
|
|
6866
7175
|
],
|
|
6867
7176
|
"cssProperties": [],
|
|
7177
|
+
"cssStates": [],
|
|
6868
7178
|
"events": [
|
|
6869
7179
|
{
|
|
6870
7180
|
"name": "changeValue",
|
|
@@ -6972,31 +7282,26 @@
|
|
|
6972
7282
|
{
|
|
6973
7283
|
"customElement": true,
|
|
6974
7284
|
"kind": "class",
|
|
6975
|
-
"name": "
|
|
6976
|
-
"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
|
+
},
|
|
6977
7291
|
"attributes": [
|
|
6978
7292
|
{
|
|
6979
|
-
"fieldName": "
|
|
6980
|
-
"name": "
|
|
6981
|
-
"description": "
|
|
6982
|
-
"type": {
|
|
6983
|
-
"text": "boolean"
|
|
6984
|
-
},
|
|
6985
|
-
"default": "false"
|
|
6986
|
-
},
|
|
6987
|
-
{
|
|
6988
|
-
"fieldName": "indeterminate",
|
|
6989
|
-
"name": "indeterminate",
|
|
6990
|
-
"description": "Indeterminate state of the progress bar",
|
|
7293
|
+
"fieldName": "distance",
|
|
7294
|
+
"name": "distance",
|
|
7295
|
+
"description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
|
|
6991
7296
|
"type": {
|
|
6992
|
-
"text": "
|
|
7297
|
+
"text": "number | string"
|
|
6993
7298
|
},
|
|
6994
|
-
"default": "
|
|
7299
|
+
"default": "0"
|
|
6995
7300
|
},
|
|
6996
7301
|
{
|
|
6997
|
-
"fieldName": "
|
|
6998
|
-
"name": "
|
|
6999
|
-
"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`.",
|
|
7000
7305
|
"type": {
|
|
7001
7306
|
"text": "string"
|
|
7002
7307
|
},
|
|
@@ -7006,26 +7311,213 @@
|
|
|
7006
7311
|
}
|
|
7007
7312
|
},
|
|
7008
7313
|
{
|
|
7009
|
-
"fieldName": "
|
|
7010
|
-
"name": "
|
|
7011
|
-
"description": "
|
|
7314
|
+
"fieldName": "open",
|
|
7315
|
+
"name": "open",
|
|
7316
|
+
"description": "Whether the popover is open. Two-way: emits `change:open`.",
|
|
7012
7317
|
"type": {
|
|
7013
7318
|
"text": "boolean"
|
|
7014
7319
|
},
|
|
7015
7320
|
"default": "false"
|
|
7016
7321
|
},
|
|
7017
7322
|
{
|
|
7018
|
-
"fieldName": "
|
|
7019
|
-
"name": "
|
|
7020
|
-
"description": "
|
|
7323
|
+
"fieldName": "position",
|
|
7324
|
+
"name": "position",
|
|
7325
|
+
"description": "Preferred placement of the panel relative to the trigger.",
|
|
7021
7326
|
"type": {
|
|
7022
|
-
"text": "
|
|
7327
|
+
"text": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
7023
7328
|
},
|
|
7024
|
-
"default": "
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
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
|
+
{
|
|
7489
|
+
"fieldName": "label",
|
|
7490
|
+
"name": "label",
|
|
7491
|
+
"description": "Optional details message next to percentage display",
|
|
7492
|
+
"type": {
|
|
7493
|
+
"text": "string"
|
|
7494
|
+
},
|
|
7495
|
+
"default": "''",
|
|
7496
|
+
"csc": {
|
|
7497
|
+
"freeform": true
|
|
7498
|
+
}
|
|
7499
|
+
},
|
|
7500
|
+
{
|
|
7501
|
+
"fieldName": "singleLine",
|
|
7502
|
+
"name": "single-line",
|
|
7503
|
+
"description": "Place details next to progress bar",
|
|
7504
|
+
"type": {
|
|
7505
|
+
"text": "boolean"
|
|
7506
|
+
},
|
|
7507
|
+
"default": "false"
|
|
7508
|
+
},
|
|
7509
|
+
{
|
|
7510
|
+
"fieldName": "value",
|
|
7511
|
+
"name": "value",
|
|
7512
|
+
"description": "Progress bar value in percentage (0 to 100)",
|
|
7513
|
+
"type": {
|
|
7514
|
+
"text": "number"
|
|
7515
|
+
},
|
|
7516
|
+
"default": "0"
|
|
7517
|
+
}
|
|
7518
|
+
],
|
|
7519
|
+
"cssParts": [
|
|
7520
|
+
{
|
|
7029
7521
|
"name": "root",
|
|
7030
7522
|
"description": "The outer flex wrapper around the bar and the details line"
|
|
7031
7523
|
},
|
|
@@ -7039,6 +7531,7 @@
|
|
|
7039
7531
|
}
|
|
7040
7532
|
],
|
|
7041
7533
|
"cssProperties": [],
|
|
7534
|
+
"cssStates": [],
|
|
7042
7535
|
"events": [],
|
|
7043
7536
|
"members": [
|
|
7044
7537
|
{
|
|
@@ -7124,18 +7617,135 @@
|
|
|
7124
7617
|
{
|
|
7125
7618
|
"customElement": true,
|
|
7126
7619
|
"kind": "class",
|
|
7127
|
-
"name": "
|
|
7128
|
-
"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
|
+
},
|
|
7129
7626
|
"attributes": [
|
|
7130
7627
|
{
|
|
7131
|
-
"fieldName": "
|
|
7132
|
-
"name": "
|
|
7133
|
-
"description": "
|
|
7628
|
+
"fieldName": "size",
|
|
7629
|
+
"name": "size",
|
|
7630
|
+
"description": "Diameter of the circle in pixels",
|
|
7134
7631
|
"type": {
|
|
7135
|
-
"text": "
|
|
7632
|
+
"text": "number"
|
|
7136
7633
|
},
|
|
7137
|
-
"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"
|
|
7138
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"
|
|
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": [
|
|
7139
7749
|
{
|
|
7140
7750
|
"fieldName": "disabled",
|
|
7141
7751
|
"name": "disabled",
|
|
@@ -7158,20 +7768,41 @@
|
|
|
7158
7768
|
}
|
|
7159
7769
|
}
|
|
7160
7770
|
],
|
|
7161
|
-
"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
|
+
],
|
|
7162
7785
|
"cssProperties": [],
|
|
7163
|
-
"
|
|
7164
|
-
"members": [
|
|
7786
|
+
"cssStates": [
|
|
7165
7787
|
{
|
|
7166
|
-
"kind": "field",
|
|
7167
7788
|
"name": "checked",
|
|
7168
|
-
"
|
|
7169
|
-
|
|
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",
|
|
7170
7799
|
"type": {
|
|
7171
|
-
"text": "
|
|
7800
|
+
"text": "CustomEvent<string>"
|
|
7172
7801
|
},
|
|
7173
|
-
"
|
|
7174
|
-
}
|
|
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": [
|
|
7175
7806
|
{
|
|
7176
7807
|
"kind": "field",
|
|
7177
7808
|
"name": "disabled",
|
|
@@ -7199,7 +7830,7 @@
|
|
|
7199
7830
|
"slots": [
|
|
7200
7831
|
{
|
|
7201
7832
|
"name": "default",
|
|
7202
|
-
"description": "The radio
|
|
7833
|
+
"description": "The radio's label content, rendered inside the shadow `<label>` so it stays click-associated and announced"
|
|
7203
7834
|
}
|
|
7204
7835
|
]
|
|
7205
7836
|
}
|
|
@@ -7232,7 +7863,9 @@
|
|
|
7232
7863
|
"kind": "class",
|
|
7233
7864
|
"name": "CRadioGroup",
|
|
7234
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.",
|
|
7235
7867
|
"csc": {
|
|
7868
|
+
"usage": "docs/c-radio-group/usage.md",
|
|
7236
7869
|
"subcomponents": [
|
|
7237
7870
|
"c-radio"
|
|
7238
7871
|
]
|
|
@@ -7280,18 +7913,6 @@
|
|
|
7280
7913
|
"freeform": true
|
|
7281
7914
|
}
|
|
7282
7915
|
},
|
|
7283
|
-
{
|
|
7284
|
-
"fieldName": "hostId",
|
|
7285
|
-
"name": "host-id",
|
|
7286
|
-
"description": "Id of the element",
|
|
7287
|
-
"type": {
|
|
7288
|
-
"text": "string"
|
|
7289
|
-
},
|
|
7290
|
-
"default": "''",
|
|
7291
|
-
"csc": {
|
|
7292
|
-
"freeform": true
|
|
7293
|
-
}
|
|
7294
|
-
},
|
|
7295
7916
|
{
|
|
7296
7917
|
"fieldName": "inline",
|
|
7297
7918
|
"name": "inline",
|
|
@@ -7322,15 +7943,6 @@
|
|
|
7322
7943
|
},
|
|
7323
7944
|
"default": "false"
|
|
7324
7945
|
},
|
|
7325
|
-
{
|
|
7326
|
-
"fieldName": "returnObject",
|
|
7327
|
-
"name": "return-object",
|
|
7328
|
-
"description": "Return the whole item object",
|
|
7329
|
-
"type": {
|
|
7330
|
-
"text": "boolean"
|
|
7331
|
-
},
|
|
7332
|
-
"default": "false"
|
|
7333
|
-
},
|
|
7334
7946
|
{
|
|
7335
7947
|
"fieldName": "valid",
|
|
7336
7948
|
"name": "valid",
|
|
@@ -7343,9 +7955,9 @@
|
|
|
7343
7955
|
{
|
|
7344
7956
|
"fieldName": "value",
|
|
7345
7957
|
"name": "value",
|
|
7346
|
-
"description": "Value of the radio group",
|
|
7958
|
+
"description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
|
|
7347
7959
|
"type": {
|
|
7348
|
-
"text": "null |
|
|
7960
|
+
"text": "null | string"
|
|
7349
7961
|
},
|
|
7350
7962
|
"default": "null"
|
|
7351
7963
|
}
|
|
@@ -7353,7 +7965,7 @@
|
|
|
7353
7965
|
"cssParts": [
|
|
7354
7966
|
{
|
|
7355
7967
|
"name": "root",
|
|
7356
|
-
"description": "The radiogroup wrapper element
|
|
7968
|
+
"description": "The radiogroup wrapper element"
|
|
7357
7969
|
},
|
|
7358
7970
|
{
|
|
7359
7971
|
"name": "label",
|
|
@@ -7361,21 +7973,22 @@
|
|
|
7361
7973
|
},
|
|
7362
7974
|
{
|
|
7363
7975
|
"name": "items",
|
|
7364
|
-
"description": "The
|
|
7976
|
+
"description": "The container the radios are slotted into"
|
|
7365
7977
|
},
|
|
7366
7978
|
{
|
|
7367
7979
|
"name": "message",
|
|
7368
|
-
"description": "The hint/error message
|
|
7980
|
+
"description": "The hint/error message area below the radios (always reserved unless `hide-details`)"
|
|
7369
7981
|
}
|
|
7370
7982
|
],
|
|
7371
7983
|
"cssProperties": [],
|
|
7984
|
+
"cssStates": [],
|
|
7372
7985
|
"events": [
|
|
7373
7986
|
{
|
|
7374
7987
|
"name": "changeValue",
|
|
7375
7988
|
"type": {
|
|
7376
|
-
"text": "CustomEvent<
|
|
7989
|
+
"text": "CustomEvent<string>"
|
|
7377
7990
|
},
|
|
7378
|
-
"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."
|
|
7379
7992
|
},
|
|
7380
7993
|
{
|
|
7381
7994
|
"name": "input",
|
|
@@ -7387,9 +8000,9 @@
|
|
|
7387
8000
|
{
|
|
7388
8001
|
"name": "update:value",
|
|
7389
8002
|
"type": {
|
|
7390
|
-
"text": "CustomEvent<
|
|
8003
|
+
"text": "CustomEvent<string>"
|
|
7391
8004
|
},
|
|
7392
|
-
"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."
|
|
7393
8006
|
}
|
|
7394
8007
|
],
|
|
7395
8008
|
"members": [
|
|
@@ -7421,29 +8034,16 @@
|
|
|
7421
8034
|
"name": "hideDetails",
|
|
7422
8035
|
"privacy": "public",
|
|
7423
8036
|
"description": "Hide the hint and error messages",
|
|
7424
|
-
"type": {
|
|
7425
|
-
"text": "boolean"
|
|
7426
|
-
},
|
|
7427
|
-
"default": "false"
|
|
7428
|
-
},
|
|
7429
|
-
{
|
|
7430
|
-
"kind": "field",
|
|
7431
|
-
"name": "hint",
|
|
7432
|
-
"privacy": "public",
|
|
7433
|
-
"description": "Hint text for the input",
|
|
7434
|
-
"type": {
|
|
7435
|
-
"text": "string"
|
|
7436
|
-
},
|
|
7437
|
-
"default": "''",
|
|
7438
|
-
"csc": {
|
|
7439
|
-
"freeform": true
|
|
7440
|
-
}
|
|
8037
|
+
"type": {
|
|
8038
|
+
"text": "boolean"
|
|
8039
|
+
},
|
|
8040
|
+
"default": "false"
|
|
7441
8041
|
},
|
|
7442
8042
|
{
|
|
7443
8043
|
"kind": "field",
|
|
7444
|
-
"name": "
|
|
8044
|
+
"name": "hint",
|
|
7445
8045
|
"privacy": "public",
|
|
7446
|
-
"description": "
|
|
8046
|
+
"description": "Hint text for the input",
|
|
7447
8047
|
"type": {
|
|
7448
8048
|
"text": "string"
|
|
7449
8049
|
},
|
|
@@ -7462,16 +8062,6 @@
|
|
|
7462
8062
|
},
|
|
7463
8063
|
"default": "false"
|
|
7464
8064
|
},
|
|
7465
|
-
{
|
|
7466
|
-
"kind": "field",
|
|
7467
|
-
"name": "items",
|
|
7468
|
-
"privacy": "public",
|
|
7469
|
-
"description": "Radio group items",
|
|
7470
|
-
"type": {
|
|
7471
|
-
"text": "RadioItem[]"
|
|
7472
|
-
},
|
|
7473
|
-
"default": "() => []"
|
|
7474
|
-
},
|
|
7475
8065
|
{
|
|
7476
8066
|
"kind": "field",
|
|
7477
8067
|
"name": "label",
|
|
@@ -7495,16 +8085,6 @@
|
|
|
7495
8085
|
},
|
|
7496
8086
|
"default": "false"
|
|
7497
8087
|
},
|
|
7498
|
-
{
|
|
7499
|
-
"kind": "field",
|
|
7500
|
-
"name": "returnObject",
|
|
7501
|
-
"privacy": "public",
|
|
7502
|
-
"description": "Return the whole item object",
|
|
7503
|
-
"type": {
|
|
7504
|
-
"text": "boolean"
|
|
7505
|
-
},
|
|
7506
|
-
"default": "false"
|
|
7507
|
-
},
|
|
7508
8088
|
{
|
|
7509
8089
|
"kind": "field",
|
|
7510
8090
|
"name": "valid",
|
|
@@ -7519,9 +8099,9 @@
|
|
|
7519
8099
|
"kind": "field",
|
|
7520
8100
|
"name": "value",
|
|
7521
8101
|
"privacy": "public",
|
|
7522
|
-
"description": "Value of the radio group",
|
|
8102
|
+
"description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
|
|
7523
8103
|
"type": {
|
|
7524
|
-
"text": "null |
|
|
8104
|
+
"text": "null | string"
|
|
7525
8105
|
},
|
|
7526
8106
|
"default": "null"
|
|
7527
8107
|
}
|
|
@@ -7529,7 +8109,11 @@
|
|
|
7529
8109
|
"slots": [
|
|
7530
8110
|
{
|
|
7531
8111
|
"name": "default",
|
|
7532
|
-
"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"
|
|
7533
8117
|
}
|
|
7534
8118
|
]
|
|
7535
8119
|
}
|
|
@@ -7730,6 +8314,18 @@
|
|
|
7730
8314
|
},
|
|
7731
8315
|
"default": "false"
|
|
7732
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
|
+
},
|
|
7733
8329
|
{
|
|
7734
8330
|
"fieldName": "valid",
|
|
7735
8331
|
"name": "valid",
|
|
@@ -7749,8 +8345,22 @@
|
|
|
7749
8345
|
"default": "null"
|
|
7750
8346
|
}
|
|
7751
8347
|
],
|
|
7752
|
-
"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
|
+
],
|
|
7753
8362
|
"cssProperties": [],
|
|
8363
|
+
"cssStates": [],
|
|
7754
8364
|
"events": [
|
|
7755
8365
|
{
|
|
7756
8366
|
"name": "changeValue",
|
|
@@ -7963,6 +8573,19 @@
|
|
|
7963
8573
|
},
|
|
7964
8574
|
"default": "false"
|
|
7965
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
|
+
},
|
|
7966
8589
|
{
|
|
7967
8590
|
"kind": "field",
|
|
7968
8591
|
"name": "valid",
|
|
@@ -8075,6 +8698,7 @@
|
|
|
8075
8698
|
}
|
|
8076
8699
|
],
|
|
8077
8700
|
"cssProperties": [],
|
|
8701
|
+
"cssStates": [],
|
|
8078
8702
|
"events": [
|
|
8079
8703
|
{
|
|
8080
8704
|
"name": "change:menu-visible",
|
|
@@ -8224,6 +8848,7 @@
|
|
|
8224
8848
|
}
|
|
8225
8849
|
],
|
|
8226
8850
|
"cssProperties": [],
|
|
8851
|
+
"cssStates": [],
|
|
8227
8852
|
"events": [
|
|
8228
8853
|
{
|
|
8229
8854
|
"name": "itemChange",
|
|
@@ -8347,6 +8972,7 @@
|
|
|
8347
8972
|
}
|
|
8348
8973
|
],
|
|
8349
8974
|
"cssProperties": [],
|
|
8975
|
+
"cssStates": [],
|
|
8350
8976
|
"events": [],
|
|
8351
8977
|
"members": [],
|
|
8352
8978
|
"slots": [
|
|
@@ -8543,6 +9169,7 @@
|
|
|
8543
9169
|
}
|
|
8544
9170
|
],
|
|
8545
9171
|
"cssProperties": [],
|
|
9172
|
+
"cssStates": [],
|
|
8546
9173
|
"events": [
|
|
8547
9174
|
{
|
|
8548
9175
|
"name": "changeValue",
|
|
@@ -8754,6 +9381,10 @@
|
|
|
8754
9381
|
"kind": "class",
|
|
8755
9382
|
"name": "CSpinner",
|
|
8756
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
|
+
},
|
|
8757
9388
|
"attributes": [
|
|
8758
9389
|
{
|
|
8759
9390
|
"fieldName": "color",
|
|
@@ -8793,6 +9424,7 @@
|
|
|
8793
9424
|
}
|
|
8794
9425
|
],
|
|
8795
9426
|
"cssProperties": [],
|
|
9427
|
+
"cssStates": [],
|
|
8796
9428
|
"events": [],
|
|
8797
9429
|
"members": [
|
|
8798
9430
|
{
|
|
@@ -8880,6 +9512,7 @@
|
|
|
8880
9512
|
}
|
|
8881
9513
|
],
|
|
8882
9514
|
"cssProperties": [],
|
|
9515
|
+
"cssStates": [],
|
|
8883
9516
|
"events": [],
|
|
8884
9517
|
"members": [
|
|
8885
9518
|
{
|
|
@@ -8974,6 +9607,7 @@
|
|
|
8974
9607
|
}
|
|
8975
9608
|
],
|
|
8976
9609
|
"cssProperties": [],
|
|
9610
|
+
"cssStates": [],
|
|
8977
9611
|
"events": [],
|
|
8978
9612
|
"members": [
|
|
8979
9613
|
{
|
|
@@ -9060,6 +9694,7 @@
|
|
|
9060
9694
|
}
|
|
9061
9695
|
],
|
|
9062
9696
|
"cssProperties": [],
|
|
9697
|
+
"cssStates": [],
|
|
9063
9698
|
"events": [],
|
|
9064
9699
|
"members": [
|
|
9065
9700
|
{
|
|
@@ -9173,6 +9808,7 @@
|
|
|
9173
9808
|
}
|
|
9174
9809
|
],
|
|
9175
9810
|
"cssProperties": [],
|
|
9811
|
+
"cssStates": [],
|
|
9176
9812
|
"events": [],
|
|
9177
9813
|
"members": [
|
|
9178
9814
|
{
|
|
@@ -9268,6 +9904,10 @@
|
|
|
9268
9904
|
"kind": "class",
|
|
9269
9905
|
"name": "CSwitch",
|
|
9270
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
|
+
},
|
|
9271
9911
|
"attributes": [
|
|
9272
9912
|
{
|
|
9273
9913
|
"fieldName": "checked",
|
|
@@ -9372,6 +10012,12 @@
|
|
|
9372
10012
|
}
|
|
9373
10013
|
],
|
|
9374
10014
|
"cssProperties": [],
|
|
10015
|
+
"cssStates": [
|
|
10016
|
+
{
|
|
10017
|
+
"name": "checked",
|
|
10018
|
+
"description": "Present while the switch is on"
|
|
10019
|
+
}
|
|
10020
|
+
],
|
|
9375
10021
|
"events": [
|
|
9376
10022
|
{
|
|
9377
10023
|
"name": "change",
|
|
@@ -9599,6 +10245,7 @@
|
|
|
9599
10245
|
}
|
|
9600
10246
|
],
|
|
9601
10247
|
"cssProperties": [],
|
|
10248
|
+
"cssStates": [],
|
|
9602
10249
|
"events": [
|
|
9603
10250
|
{
|
|
9604
10251
|
"name": "tabChange",
|
|
@@ -9760,6 +10407,7 @@
|
|
|
9760
10407
|
}
|
|
9761
10408
|
],
|
|
9762
10409
|
"cssProperties": [],
|
|
10410
|
+
"cssStates": [],
|
|
9763
10411
|
"events": [
|
|
9764
10412
|
{
|
|
9765
10413
|
"name": "tabChange",
|
|
@@ -9867,6 +10515,7 @@
|
|
|
9867
10515
|
}
|
|
9868
10516
|
],
|
|
9869
10517
|
"cssProperties": [],
|
|
10518
|
+
"cssStates": [],
|
|
9870
10519
|
"events": [
|
|
9871
10520
|
{
|
|
9872
10521
|
"name": "contentChange",
|
|
@@ -9961,6 +10610,7 @@
|
|
|
9961
10610
|
}
|
|
9962
10611
|
],
|
|
9963
10612
|
"cssProperties": [],
|
|
10613
|
+
"cssStates": [],
|
|
9964
10614
|
"events": [],
|
|
9965
10615
|
"members": [
|
|
9966
10616
|
{
|
|
@@ -10020,6 +10670,10 @@
|
|
|
10020
10670
|
"kind": "class",
|
|
10021
10671
|
"name": "CTable",
|
|
10022
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
|
+
},
|
|
10023
10677
|
"attributes": [
|
|
10024
10678
|
{
|
|
10025
10679
|
"fieldName": "mobileBreakpoint",
|
|
@@ -10042,6 +10696,7 @@
|
|
|
10042
10696
|
],
|
|
10043
10697
|
"cssParts": [],
|
|
10044
10698
|
"cssProperties": [],
|
|
10699
|
+
"cssStates": [],
|
|
10045
10700
|
"events": [],
|
|
10046
10701
|
"members": [
|
|
10047
10702
|
{
|
|
@@ -10065,7 +10720,12 @@
|
|
|
10065
10720
|
"default": "false"
|
|
10066
10721
|
}
|
|
10067
10722
|
],
|
|
10068
|
-
"slots": [
|
|
10723
|
+
"slots": [
|
|
10724
|
+
{
|
|
10725
|
+
"name": "default",
|
|
10726
|
+
"description": "The consumer-authored `<table>` element"
|
|
10727
|
+
}
|
|
10728
|
+
]
|
|
10069
10729
|
}
|
|
10070
10730
|
],
|
|
10071
10731
|
"exports": [
|
|
@@ -10178,6 +10838,7 @@
|
|
|
10178
10838
|
}
|
|
10179
10839
|
],
|
|
10180
10840
|
"cssProperties": [],
|
|
10841
|
+
"cssStates": [],
|
|
10181
10842
|
"events": [
|
|
10182
10843
|
{
|
|
10183
10844
|
"name": "changeValue",
|
|
@@ -10363,6 +11024,7 @@
|
|
|
10363
11024
|
}
|
|
10364
11025
|
],
|
|
10365
11026
|
"cssProperties": [],
|
|
11027
|
+
"cssStates": [],
|
|
10366
11028
|
"events": [
|
|
10367
11029
|
{
|
|
10368
11030
|
"name": "close",
|
|
@@ -10518,6 +11180,7 @@
|
|
|
10518
11180
|
}
|
|
10519
11181
|
],
|
|
10520
11182
|
"cssProperties": [],
|
|
11183
|
+
"cssStates": [],
|
|
10521
11184
|
"events": [],
|
|
10522
11185
|
"members": [
|
|
10523
11186
|
{
|
|
@@ -10778,6 +11441,18 @@
|
|
|
10778
11441
|
},
|
|
10779
11442
|
"default": "false"
|
|
10780
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
|
+
},
|
|
10781
11456
|
{
|
|
10782
11457
|
"fieldName": "step",
|
|
10783
11458
|
"name": "step",
|
|
@@ -10832,6 +11507,7 @@
|
|
|
10832
11507
|
],
|
|
10833
11508
|
"cssParts": [],
|
|
10834
11509
|
"cssProperties": [],
|
|
11510
|
+
"cssStates": [],
|
|
10835
11511
|
"events": [
|
|
10836
11512
|
{
|
|
10837
11513
|
"name": "change",
|
|
@@ -11065,6 +11741,19 @@
|
|
|
11065
11741
|
},
|
|
11066
11742
|
"default": "false"
|
|
11067
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
|
+
},
|
|
11068
11757
|
{
|
|
11069
11758
|
"kind": "field",
|
|
11070
11759
|
"name": "step",
|
|
@@ -11180,7 +11869,7 @@
|
|
|
11180
11869
|
"cssParts": [
|
|
11181
11870
|
{
|
|
11182
11871
|
"name": "root",
|
|
11183
|
-
"description": "The toast's outer box
|
|
11872
|
+
"description": "The toast's outer box: the inverted-surface pill carrying the shadow"
|
|
11184
11873
|
},
|
|
11185
11874
|
{
|
|
11186
11875
|
"name": "custom",
|
|
@@ -11192,7 +11881,15 @@
|
|
|
11192
11881
|
},
|
|
11193
11882
|
{
|
|
11194
11883
|
"name": "item",
|
|
11195
|
-
"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`)"
|
|
11196
11893
|
},
|
|
11197
11894
|
{
|
|
11198
11895
|
"name": "progress",
|
|
@@ -11200,6 +11897,7 @@
|
|
|
11200
11897
|
}
|
|
11201
11898
|
],
|
|
11202
11899
|
"cssProperties": [],
|
|
11900
|
+
"cssStates": [],
|
|
11203
11901
|
"events": [
|
|
11204
11902
|
{
|
|
11205
11903
|
"name": "close",
|
|
@@ -11311,6 +12009,7 @@
|
|
|
11311
12009
|
}
|
|
11312
12010
|
],
|
|
11313
12011
|
"cssProperties": [],
|
|
12012
|
+
"cssStates": [],
|
|
11314
12013
|
"events": [],
|
|
11315
12014
|
"members": [
|
|
11316
12015
|
{
|
|
@@ -11412,6 +12111,7 @@
|
|
|
11412
12111
|
}
|
|
11413
12112
|
],
|
|
11414
12113
|
"cssProperties": [],
|
|
12114
|
+
"cssStates": [],
|
|
11415
12115
|
"events": [],
|
|
11416
12116
|
"members": [],
|
|
11417
12117
|
"slots": [
|
|
@@ -11442,6 +12142,199 @@
|
|
|
11442
12142
|
],
|
|
11443
12143
|
"kind": "javascript-module",
|
|
11444
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"
|
|
11445
12338
|
}
|
|
11446
12339
|
]
|
|
11447
12340
|
}
|