@cscfi/csc-ui 4.0.0-alpha.2 → 4.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/csc-ui.js +6427 -6059
- package/dist/custom-elements.json +727 -160
- package/dist/docs/c-popover/usage.md +27 -0
- package/dist/docs/c-radio/usage.md +29 -0
- package/dist/docs/c-radio-group/usage.md +67 -0
- package/dist/docs/c-tooltip/usage.md +30 -0
- package/dist/styles/css/tailwind-theme.css +30 -0
- package/dist/styles/css/tokens.css +77 -1
- package/dist/vscode.css-custom-data.json +80 -12
- package/dist/vscode.html-custom-data.json +136 -22
- package/dist/web-types.json +398 -79
- package/dist-types/components/c-alert/CAlert.vue.d.ts +10 -3
- 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 +3 -3
- package/dist-types/components/c-menu-item/CMenuItem.vue.d.ts +29 -3
- package/dist-types/components/c-popover/CPopover.vue.d.ts +34 -0
- package/dist-types/components/c-radio/CRadio.vue.d.ts +0 -10
- 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-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 +39 -0
- package/dist-types/index.d.ts +3 -1
- package/dist-types/shared/FieldMessage.vue.d.ts +21 -0
- package/dist-types/shared/positionArea.d.ts +13 -0
- package/dist-types/tag-name-map.d.ts +142 -31
- package/dist-types/types.d.ts +13 -0
- package/package.json +1 -1
|
@@ -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 * 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}",
|
|
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}",
|
|
443
|
+
"description": "",
|
|
444
|
+
"kind": "interface",
|
|
445
|
+
"name": "CTooltipProps",
|
|
446
|
+
"owner": "c-tooltip"
|
|
421
447
|
}
|
|
422
448
|
]
|
|
423
449
|
},
|
|
@@ -754,6 +780,15 @@
|
|
|
754
780
|
"name": "CAlert",
|
|
755
781
|
"tagName": "c-alert",
|
|
756
782
|
"attributes": [
|
|
783
|
+
{
|
|
784
|
+
"fieldName": "dismissible",
|
|
785
|
+
"name": "dismissible",
|
|
786
|
+
"description": "Show a dismiss button. The alert only emits `dismiss` — removing it from\nthe page stays the consumer's job.",
|
|
787
|
+
"type": {
|
|
788
|
+
"text": "boolean"
|
|
789
|
+
},
|
|
790
|
+
"default": "false"
|
|
791
|
+
},
|
|
757
792
|
{
|
|
758
793
|
"fieldName": "type",
|
|
759
794
|
"name": "type",
|
|
@@ -770,20 +805,42 @@
|
|
|
770
805
|
"cssParts": [
|
|
771
806
|
{
|
|
772
807
|
"name": "root",
|
|
773
|
-
"description": "The
|
|
808
|
+
"description": "The tinted box carrying the type's wash, hairline border and accent edge"
|
|
774
809
|
},
|
|
775
810
|
{
|
|
776
811
|
"name": "icon",
|
|
777
|
-
"description": "The status icon svg
|
|
812
|
+
"description": "The status icon svg"
|
|
778
813
|
},
|
|
779
814
|
{
|
|
780
815
|
"name": "content",
|
|
781
816
|
"description": "The wrapper around the slotted title and message content"
|
|
817
|
+
},
|
|
818
|
+
{
|
|
819
|
+
"name": "dismiss",
|
|
820
|
+
"description": "The dismiss button rendered when `dismissible` is set"
|
|
782
821
|
}
|
|
783
822
|
],
|
|
784
823
|
"cssProperties": [],
|
|
785
|
-
"events": [
|
|
824
|
+
"events": [
|
|
825
|
+
{
|
|
826
|
+
"name": "dismiss",
|
|
827
|
+
"type": {
|
|
828
|
+
"text": "CustomEvent<void>"
|
|
829
|
+
},
|
|
830
|
+
"description": "Fired when the dismiss button is pressed. The alert does not hide\nitself — the consumer owns removal."
|
|
831
|
+
}
|
|
832
|
+
],
|
|
786
833
|
"members": [
|
|
834
|
+
{
|
|
835
|
+
"kind": "field",
|
|
836
|
+
"name": "dismissible",
|
|
837
|
+
"privacy": "public",
|
|
838
|
+
"description": "Show a dismiss button. The alert only emits `dismiss` — removing it from\nthe page stays the consumer's job.",
|
|
839
|
+
"type": {
|
|
840
|
+
"text": "boolean"
|
|
841
|
+
},
|
|
842
|
+
"default": "false"
|
|
843
|
+
},
|
|
787
844
|
{
|
|
788
845
|
"kind": "field",
|
|
789
846
|
"name": "type",
|
|
@@ -1021,6 +1078,18 @@
|
|
|
1021
1078
|
},
|
|
1022
1079
|
"default": "false"
|
|
1023
1080
|
},
|
|
1081
|
+
{
|
|
1082
|
+
"fieldName": "size",
|
|
1083
|
+
"name": "size",
|
|
1084
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
1085
|
+
"type": {
|
|
1086
|
+
"text": "'default' | 'small'"
|
|
1087
|
+
},
|
|
1088
|
+
"default": "'default'",
|
|
1089
|
+
"csc": {
|
|
1090
|
+
"typeAlias": "CFieldSize"
|
|
1091
|
+
}
|
|
1092
|
+
},
|
|
1024
1093
|
{
|
|
1025
1094
|
"fieldName": "valid",
|
|
1026
1095
|
"name": "valid",
|
|
@@ -1311,6 +1380,19 @@
|
|
|
1311
1380
|
},
|
|
1312
1381
|
"default": "false"
|
|
1313
1382
|
},
|
|
1383
|
+
{
|
|
1384
|
+
"kind": "field",
|
|
1385
|
+
"name": "size",
|
|
1386
|
+
"privacy": "public",
|
|
1387
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
1388
|
+
"type": {
|
|
1389
|
+
"text": "'default' | 'small'"
|
|
1390
|
+
},
|
|
1391
|
+
"default": "'default'",
|
|
1392
|
+
"csc": {
|
|
1393
|
+
"typeAlias": "CFieldSize"
|
|
1394
|
+
}
|
|
1395
|
+
},
|
|
1314
1396
|
{
|
|
1315
1397
|
"kind": "field",
|
|
1316
1398
|
"name": "valid",
|
|
@@ -2539,7 +2621,7 @@
|
|
|
2539
2621
|
},
|
|
2540
2622
|
{
|
|
2541
2623
|
"name": "message",
|
|
2542
|
-
"description": "The hint / error message
|
|
2624
|
+
"description": "The hint / error message area below the checkbox (always reserved unless `hide-details`)"
|
|
2543
2625
|
}
|
|
2544
2626
|
],
|
|
2545
2627
|
"cssProperties": [],
|
|
@@ -3410,7 +3492,20 @@
|
|
|
3410
3492
|
}
|
|
3411
3493
|
}
|
|
3412
3494
|
],
|
|
3413
|
-
"cssParts": [
|
|
3495
|
+
"cssParts": [
|
|
3496
|
+
{
|
|
3497
|
+
"name": "menu",
|
|
3498
|
+
"description": "The positioned dialog surface holding the field and the list"
|
|
3499
|
+
},
|
|
3500
|
+
{
|
|
3501
|
+
"name": "list",
|
|
3502
|
+
"description": "The scrolling listbox"
|
|
3503
|
+
},
|
|
3504
|
+
{
|
|
3505
|
+
"name": "item",
|
|
3506
|
+
"description": "One option row"
|
|
3507
|
+
}
|
|
3508
|
+
],
|
|
3414
3509
|
"cssProperties": [],
|
|
3415
3510
|
"events": [
|
|
3416
3511
|
{
|
|
@@ -4094,6 +4189,18 @@
|
|
|
4094
4189
|
},
|
|
4095
4190
|
"default": "false"
|
|
4096
4191
|
},
|
|
4192
|
+
{
|
|
4193
|
+
"fieldName": "size",
|
|
4194
|
+
"name": "size",
|
|
4195
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
4196
|
+
"type": {
|
|
4197
|
+
"text": "'default' | 'small'"
|
|
4198
|
+
},
|
|
4199
|
+
"default": "'default'",
|
|
4200
|
+
"csc": {
|
|
4201
|
+
"typeAlias": "CFieldSize"
|
|
4202
|
+
}
|
|
4203
|
+
},
|
|
4097
4204
|
{
|
|
4098
4205
|
"fieldName": "valid",
|
|
4099
4206
|
"name": "valid",
|
|
@@ -4261,6 +4368,19 @@
|
|
|
4261
4368
|
},
|
|
4262
4369
|
"default": "false"
|
|
4263
4370
|
},
|
|
4371
|
+
{
|
|
4372
|
+
"kind": "field",
|
|
4373
|
+
"name": "size",
|
|
4374
|
+
"privacy": "public",
|
|
4375
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
4376
|
+
"type": {
|
|
4377
|
+
"text": "'default' | 'small'"
|
|
4378
|
+
},
|
|
4379
|
+
"default": "'default'",
|
|
4380
|
+
"csc": {
|
|
4381
|
+
"typeAlias": "CFieldSize"
|
|
4382
|
+
}
|
|
4383
|
+
},
|
|
4264
4384
|
{
|
|
4265
4385
|
"kind": "field",
|
|
4266
4386
|
"name": "valid",
|
|
@@ -5009,9 +5129,13 @@
|
|
|
5009
5129
|
"name": "root",
|
|
5010
5130
|
"description": "The anchor element forming the whole clickable card"
|
|
5011
5131
|
},
|
|
5132
|
+
{
|
|
5133
|
+
"name": "image-wrap",
|
|
5134
|
+
"description": "The area above the title bar that centers the logo (default image or slotted content)"
|
|
5135
|
+
},
|
|
5012
5136
|
{
|
|
5013
5137
|
"name": "image",
|
|
5014
|
-
"description": "The provider logo
|
|
5138
|
+
"description": "The default provider logo `<img>` (absent when the `image` slot is used)"
|
|
5015
5139
|
},
|
|
5016
5140
|
{
|
|
5017
5141
|
"name": "title",
|
|
@@ -5064,7 +5188,11 @@
|
|
|
5064
5188
|
"slots": [
|
|
5065
5189
|
{
|
|
5066
5190
|
"name": "default",
|
|
5067
|
-
"description": "
|
|
5191
|
+
"description": "The title shown in the bottom bar"
|
|
5192
|
+
},
|
|
5193
|
+
{
|
|
5194
|
+
"name": "image",
|
|
5195
|
+
"description": "Custom provider logo markup (an inline `<svg>`, a `<picture>`, …) replacing the default `<img>` rendered from `src`"
|
|
5068
5196
|
}
|
|
5069
5197
|
]
|
|
5070
5198
|
}
|
|
@@ -5622,7 +5750,7 @@
|
|
|
5622
5750
|
},
|
|
5623
5751
|
"default": "'bottom-start'",
|
|
5624
5752
|
"csc": {
|
|
5625
|
-
"typeAlias": "
|
|
5753
|
+
"typeAlias": "CPlacement"
|
|
5626
5754
|
}
|
|
5627
5755
|
}
|
|
5628
5756
|
],
|
|
@@ -5688,7 +5816,7 @@
|
|
|
5688
5816
|
},
|
|
5689
5817
|
"default": "'bottom-start'",
|
|
5690
5818
|
"csc": {
|
|
5691
|
-
"typeAlias": "
|
|
5819
|
+
"typeAlias": "CPlacement"
|
|
5692
5820
|
}
|
|
5693
5821
|
}
|
|
5694
5822
|
],
|
|
@@ -5737,6 +5865,26 @@
|
|
|
5737
5865
|
"usage": "docs/c-menu-item/usage.md"
|
|
5738
5866
|
},
|
|
5739
5867
|
"attributes": [
|
|
5868
|
+
{
|
|
5869
|
+
"fieldName": "active",
|
|
5870
|
+
"name": "active",
|
|
5871
|
+
"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).",
|
|
5872
|
+
"type": {
|
|
5873
|
+
"text": "boolean"
|
|
5874
|
+
}
|
|
5875
|
+
},
|
|
5876
|
+
{
|
|
5877
|
+
"fieldName": "activeIcon",
|
|
5878
|
+
"name": "active-icon",
|
|
5879
|
+
"description": "SVG path for the trailing indicator shown while `active`; defaults to a\ncheck mark.",
|
|
5880
|
+
"type": {
|
|
5881
|
+
"text": "string"
|
|
5882
|
+
},
|
|
5883
|
+
"default": "''",
|
|
5884
|
+
"csc": {
|
|
5885
|
+
"freeform": "SVG path data"
|
|
5886
|
+
}
|
|
5887
|
+
},
|
|
5740
5888
|
{
|
|
5741
5889
|
"fieldName": "danger",
|
|
5742
5890
|
"name": "danger",
|
|
@@ -5755,6 +5903,18 @@
|
|
|
5755
5903
|
},
|
|
5756
5904
|
"default": "false"
|
|
5757
5905
|
},
|
|
5906
|
+
{
|
|
5907
|
+
"fieldName": "icon",
|
|
5908
|
+
"name": "icon",
|
|
5909
|
+
"description": "SVG path for a leading icon rendered before the item's content.",
|
|
5910
|
+
"type": {
|
|
5911
|
+
"text": "string"
|
|
5912
|
+
},
|
|
5913
|
+
"default": "''",
|
|
5914
|
+
"csc": {
|
|
5915
|
+
"freeform": "SVG path data"
|
|
5916
|
+
}
|
|
5917
|
+
},
|
|
5758
5918
|
{
|
|
5759
5919
|
"fieldName": "value",
|
|
5760
5920
|
"name": "value",
|
|
@@ -5776,6 +5936,14 @@
|
|
|
5776
5936
|
"name": "content",
|
|
5777
5937
|
"description": "The flex wrapper around the default-slot content"
|
|
5778
5938
|
},
|
|
5939
|
+
{
|
|
5940
|
+
"name": "icon",
|
|
5941
|
+
"description": "The leading icon rendered from the `icon` prop"
|
|
5942
|
+
},
|
|
5943
|
+
{
|
|
5944
|
+
"name": "check",
|
|
5945
|
+
"description": "The trailing indicator icon shown while the item is active"
|
|
5946
|
+
},
|
|
5779
5947
|
{
|
|
5780
5948
|
"name": "submenu-panel",
|
|
5781
5949
|
"description": "The floating popover holding the submenu"
|
|
@@ -5788,6 +5956,28 @@
|
|
|
5788
5956
|
"cssProperties": [],
|
|
5789
5957
|
"events": [],
|
|
5790
5958
|
"members": [
|
|
5959
|
+
{
|
|
5960
|
+
"kind": "field",
|
|
5961
|
+
"name": "active",
|
|
5962
|
+
"privacy": "public",
|
|
5963
|
+
"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).",
|
|
5964
|
+
"type": {
|
|
5965
|
+
"text": "boolean"
|
|
5966
|
+
}
|
|
5967
|
+
},
|
|
5968
|
+
{
|
|
5969
|
+
"kind": "field",
|
|
5970
|
+
"name": "activeIcon",
|
|
5971
|
+
"privacy": "public",
|
|
5972
|
+
"description": "SVG path for the trailing indicator shown while `active`; defaults to a\ncheck mark.",
|
|
5973
|
+
"type": {
|
|
5974
|
+
"text": "string"
|
|
5975
|
+
},
|
|
5976
|
+
"default": "''",
|
|
5977
|
+
"csc": {
|
|
5978
|
+
"freeform": "SVG path data"
|
|
5979
|
+
}
|
|
5980
|
+
},
|
|
5791
5981
|
{
|
|
5792
5982
|
"kind": "field",
|
|
5793
5983
|
"name": "danger",
|
|
@@ -5808,6 +5998,19 @@
|
|
|
5808
5998
|
},
|
|
5809
5999
|
"default": "false"
|
|
5810
6000
|
},
|
|
6001
|
+
{
|
|
6002
|
+
"kind": "field",
|
|
6003
|
+
"name": "icon",
|
|
6004
|
+
"privacy": "public",
|
|
6005
|
+
"description": "SVG path for a leading icon rendered before the item's content.",
|
|
6006
|
+
"type": {
|
|
6007
|
+
"text": "string"
|
|
6008
|
+
},
|
|
6009
|
+
"default": "''",
|
|
6010
|
+
"csc": {
|
|
6011
|
+
"freeform": "SVG path data"
|
|
6012
|
+
}
|
|
6013
|
+
},
|
|
5811
6014
|
{
|
|
5812
6015
|
"kind": "field",
|
|
5813
6016
|
"name": "value",
|
|
@@ -6972,31 +7175,26 @@
|
|
|
6972
7175
|
{
|
|
6973
7176
|
"customElement": true,
|
|
6974
7177
|
"kind": "class",
|
|
6975
|
-
"name": "
|
|
6976
|
-
"tagName": "c-
|
|
7178
|
+
"name": "CPopover",
|
|
7179
|
+
"tagName": "c-popover",
|
|
7180
|
+
"description": "A click-opened, non-modal surface anchored to its trigger, floating in the top layer; its content may be interactive.",
|
|
7181
|
+
"csc": {
|
|
7182
|
+
"usage": "docs/c-popover/usage.md"
|
|
7183
|
+
},
|
|
6977
7184
|
"attributes": [
|
|
6978
7185
|
{
|
|
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",
|
|
7186
|
+
"fieldName": "distance",
|
|
7187
|
+
"name": "distance",
|
|
7188
|
+
"description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
|
|
6991
7189
|
"type": {
|
|
6992
|
-
"text": "
|
|
7190
|
+
"text": "number | string"
|
|
6993
7191
|
},
|
|
6994
|
-
"default": "
|
|
7192
|
+
"default": "0"
|
|
6995
7193
|
},
|
|
6996
7194
|
{
|
|
6997
|
-
"fieldName": "
|
|
6998
|
-
"name": "
|
|
6999
|
-
"description": "
|
|
7195
|
+
"fieldName": "heading",
|
|
7196
|
+
"name": "heading",
|
|
7197
|
+
"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
7198
|
"type": {
|
|
7001
7199
|
"text": "string"
|
|
7002
7200
|
},
|
|
@@ -7006,66 +7204,67 @@
|
|
|
7006
7204
|
}
|
|
7007
7205
|
},
|
|
7008
7206
|
{
|
|
7009
|
-
"fieldName": "
|
|
7010
|
-
"name": "
|
|
7011
|
-
"description": "
|
|
7207
|
+
"fieldName": "open",
|
|
7208
|
+
"name": "open",
|
|
7209
|
+
"description": "Whether the popover is open. Two-way: emits `change:open`.",
|
|
7012
7210
|
"type": {
|
|
7013
7211
|
"text": "boolean"
|
|
7014
7212
|
},
|
|
7015
7213
|
"default": "false"
|
|
7016
7214
|
},
|
|
7017
7215
|
{
|
|
7018
|
-
"fieldName": "
|
|
7019
|
-
"name": "
|
|
7020
|
-
"description": "
|
|
7216
|
+
"fieldName": "position",
|
|
7217
|
+
"name": "position",
|
|
7218
|
+
"description": "Preferred placement of the panel relative to the trigger.",
|
|
7021
7219
|
"type": {
|
|
7022
|
-
"text": "
|
|
7220
|
+
"text": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
7023
7221
|
},
|
|
7024
|
-
"default": "
|
|
7222
|
+
"default": "'bottom'",
|
|
7223
|
+
"csc": {
|
|
7224
|
+
"typeAlias": "CPlacement"
|
|
7225
|
+
}
|
|
7025
7226
|
}
|
|
7026
7227
|
],
|
|
7027
7228
|
"cssParts": [
|
|
7028
7229
|
{
|
|
7029
|
-
"name": "
|
|
7030
|
-
"description": "The
|
|
7230
|
+
"name": "trigger",
|
|
7231
|
+
"description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
|
|
7031
7232
|
},
|
|
7032
7233
|
{
|
|
7033
|
-
"name": "
|
|
7034
|
-
"description": "The
|
|
7234
|
+
"name": "panel",
|
|
7235
|
+
"description": "The floating popover surface positioned against the trigger"
|
|
7035
7236
|
},
|
|
7036
7237
|
{
|
|
7037
|
-
"name": "
|
|
7038
|
-
"description": "The
|
|
7238
|
+
"name": "heading",
|
|
7239
|
+
"description": "The heading rendered from the `heading` prop"
|
|
7039
7240
|
}
|
|
7040
7241
|
],
|
|
7041
7242
|
"cssProperties": [],
|
|
7042
|
-
"events": [
|
|
7043
|
-
"members": [
|
|
7243
|
+
"events": [
|
|
7044
7244
|
{
|
|
7045
|
-
"
|
|
7046
|
-
"name": "hideDetails",
|
|
7047
|
-
"privacy": "public",
|
|
7048
|
-
"description": "Hide the percentage display",
|
|
7245
|
+
"name": "change:open",
|
|
7049
7246
|
"type": {
|
|
7050
|
-
"text": "boolean"
|
|
7247
|
+
"text": "CustomEvent<boolean>"
|
|
7051
7248
|
},
|
|
7052
|
-
"
|
|
7053
|
-
}
|
|
7249
|
+
"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."
|
|
7250
|
+
}
|
|
7251
|
+
],
|
|
7252
|
+
"members": [
|
|
7054
7253
|
{
|
|
7055
7254
|
"kind": "field",
|
|
7056
|
-
"name": "
|
|
7255
|
+
"name": "distance",
|
|
7057
7256
|
"privacy": "public",
|
|
7058
|
-
"description": "
|
|
7257
|
+
"description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
|
|
7059
7258
|
"type": {
|
|
7060
|
-
"text": "
|
|
7259
|
+
"text": "number | string"
|
|
7061
7260
|
},
|
|
7062
|
-
"default": "
|
|
7261
|
+
"default": "0"
|
|
7063
7262
|
},
|
|
7064
7263
|
{
|
|
7065
7264
|
"kind": "field",
|
|
7066
|
-
"name": "
|
|
7265
|
+
"name": "heading",
|
|
7067
7266
|
"privacy": "public",
|
|
7068
|
-
"description": "
|
|
7267
|
+
"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`.",
|
|
7069
7268
|
"type": {
|
|
7070
7269
|
"text": "string"
|
|
7071
7270
|
},
|
|
@@ -7076,9 +7275,9 @@
|
|
|
7076
7275
|
},
|
|
7077
7276
|
{
|
|
7078
7277
|
"kind": "field",
|
|
7079
|
-
"name": "
|
|
7278
|
+
"name": "open",
|
|
7080
7279
|
"privacy": "public",
|
|
7081
|
-
"description": "
|
|
7280
|
+
"description": "Whether the popover is open. Two-way: emits `change:open`.",
|
|
7082
7281
|
"type": {
|
|
7083
7282
|
"text": "boolean"
|
|
7084
7283
|
},
|
|
@@ -7086,18 +7285,182 @@
|
|
|
7086
7285
|
},
|
|
7087
7286
|
{
|
|
7088
7287
|
"kind": "field",
|
|
7089
|
-
"name": "
|
|
7288
|
+
"name": "position",
|
|
7090
7289
|
"privacy": "public",
|
|
7091
|
-
"description": "
|
|
7290
|
+
"description": "Preferred placement of the panel relative to the trigger.",
|
|
7092
7291
|
"type": {
|
|
7093
|
-
"text": "
|
|
7292
|
+
"text": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
7094
7293
|
},
|
|
7095
|
-
"default": "
|
|
7294
|
+
"default": "'bottom'",
|
|
7295
|
+
"csc": {
|
|
7296
|
+
"typeAlias": "CPlacement"
|
|
7297
|
+
}
|
|
7096
7298
|
}
|
|
7097
7299
|
],
|
|
7098
|
-
"slots": [
|
|
7099
|
-
|
|
7100
|
-
|
|
7300
|
+
"slots": [
|
|
7301
|
+
{
|
|
7302
|
+
"name": "trigger",
|
|
7303
|
+
"description": "The element that opens the popover (e.g. a c-button)"
|
|
7304
|
+
},
|
|
7305
|
+
{
|
|
7306
|
+
"name": "default",
|
|
7307
|
+
"description": "The popover's content; may contain interactive elements"
|
|
7308
|
+
}
|
|
7309
|
+
]
|
|
7310
|
+
}
|
|
7311
|
+
],
|
|
7312
|
+
"exports": [
|
|
7313
|
+
{
|
|
7314
|
+
"declaration": {
|
|
7315
|
+
"module": "src/components/c-popover/CPopover.vue",
|
|
7316
|
+
"name": "CPopover"
|
|
7317
|
+
},
|
|
7318
|
+
"kind": "js",
|
|
7319
|
+
"name": "CPopover"
|
|
7320
|
+
},
|
|
7321
|
+
{
|
|
7322
|
+
"declaration": {
|
|
7323
|
+
"module": "src/components/c-popover/CPopover.vue",
|
|
7324
|
+
"name": "CPopover"
|
|
7325
|
+
},
|
|
7326
|
+
"kind": "custom-element-definition",
|
|
7327
|
+
"name": "c-popover"
|
|
7328
|
+
}
|
|
7329
|
+
],
|
|
7330
|
+
"kind": "javascript-module",
|
|
7331
|
+
"path": "src/components/c-popover/CPopover.vue"
|
|
7332
|
+
},
|
|
7333
|
+
{
|
|
7334
|
+
"declarations": [
|
|
7335
|
+
{
|
|
7336
|
+
"customElement": true,
|
|
7337
|
+
"kind": "class",
|
|
7338
|
+
"name": "CProgressBar",
|
|
7339
|
+
"tagName": "c-progress-bar",
|
|
7340
|
+
"attributes": [
|
|
7341
|
+
{
|
|
7342
|
+
"fieldName": "hideDetails",
|
|
7343
|
+
"name": "hide-details",
|
|
7344
|
+
"description": "Hide the percentage display",
|
|
7345
|
+
"type": {
|
|
7346
|
+
"text": "boolean"
|
|
7347
|
+
},
|
|
7348
|
+
"default": "false"
|
|
7349
|
+
},
|
|
7350
|
+
{
|
|
7351
|
+
"fieldName": "indeterminate",
|
|
7352
|
+
"name": "indeterminate",
|
|
7353
|
+
"description": "Indeterminate state of the progress bar",
|
|
7354
|
+
"type": {
|
|
7355
|
+
"text": "boolean"
|
|
7356
|
+
},
|
|
7357
|
+
"default": "false"
|
|
7358
|
+
},
|
|
7359
|
+
{
|
|
7360
|
+
"fieldName": "label",
|
|
7361
|
+
"name": "label",
|
|
7362
|
+
"description": "Optional details message next to percentage display",
|
|
7363
|
+
"type": {
|
|
7364
|
+
"text": "string"
|
|
7365
|
+
},
|
|
7366
|
+
"default": "''",
|
|
7367
|
+
"csc": {
|
|
7368
|
+
"freeform": true
|
|
7369
|
+
}
|
|
7370
|
+
},
|
|
7371
|
+
{
|
|
7372
|
+
"fieldName": "singleLine",
|
|
7373
|
+
"name": "single-line",
|
|
7374
|
+
"description": "Place details next to progress bar",
|
|
7375
|
+
"type": {
|
|
7376
|
+
"text": "boolean"
|
|
7377
|
+
},
|
|
7378
|
+
"default": "false"
|
|
7379
|
+
},
|
|
7380
|
+
{
|
|
7381
|
+
"fieldName": "value",
|
|
7382
|
+
"name": "value",
|
|
7383
|
+
"description": "Progress bar value in percentage (0 to 100)",
|
|
7384
|
+
"type": {
|
|
7385
|
+
"text": "number"
|
|
7386
|
+
},
|
|
7387
|
+
"default": "0"
|
|
7388
|
+
}
|
|
7389
|
+
],
|
|
7390
|
+
"cssParts": [
|
|
7391
|
+
{
|
|
7392
|
+
"name": "root",
|
|
7393
|
+
"description": "The outer flex wrapper around the bar and the details line"
|
|
7394
|
+
},
|
|
7395
|
+
{
|
|
7396
|
+
"name": "bar",
|
|
7397
|
+
"description": "The visible track of the progress bar, wrapping the native `<progress>` element"
|
|
7398
|
+
},
|
|
7399
|
+
{
|
|
7400
|
+
"name": "details",
|
|
7401
|
+
"description": "The percentage and label text line"
|
|
7402
|
+
}
|
|
7403
|
+
],
|
|
7404
|
+
"cssProperties": [],
|
|
7405
|
+
"events": [],
|
|
7406
|
+
"members": [
|
|
7407
|
+
{
|
|
7408
|
+
"kind": "field",
|
|
7409
|
+
"name": "hideDetails",
|
|
7410
|
+
"privacy": "public",
|
|
7411
|
+
"description": "Hide the percentage display",
|
|
7412
|
+
"type": {
|
|
7413
|
+
"text": "boolean"
|
|
7414
|
+
},
|
|
7415
|
+
"default": "false"
|
|
7416
|
+
},
|
|
7417
|
+
{
|
|
7418
|
+
"kind": "field",
|
|
7419
|
+
"name": "indeterminate",
|
|
7420
|
+
"privacy": "public",
|
|
7421
|
+
"description": "Indeterminate state of the progress bar",
|
|
7422
|
+
"type": {
|
|
7423
|
+
"text": "boolean"
|
|
7424
|
+
},
|
|
7425
|
+
"default": "false"
|
|
7426
|
+
},
|
|
7427
|
+
{
|
|
7428
|
+
"kind": "field",
|
|
7429
|
+
"name": "label",
|
|
7430
|
+
"privacy": "public",
|
|
7431
|
+
"description": "Optional details message next to percentage display",
|
|
7432
|
+
"type": {
|
|
7433
|
+
"text": "string"
|
|
7434
|
+
},
|
|
7435
|
+
"default": "''",
|
|
7436
|
+
"csc": {
|
|
7437
|
+
"freeform": true
|
|
7438
|
+
}
|
|
7439
|
+
},
|
|
7440
|
+
{
|
|
7441
|
+
"kind": "field",
|
|
7442
|
+
"name": "singleLine",
|
|
7443
|
+
"privacy": "public",
|
|
7444
|
+
"description": "Place details next to progress bar",
|
|
7445
|
+
"type": {
|
|
7446
|
+
"text": "boolean"
|
|
7447
|
+
},
|
|
7448
|
+
"default": "false"
|
|
7449
|
+
},
|
|
7450
|
+
{
|
|
7451
|
+
"kind": "field",
|
|
7452
|
+
"name": "value",
|
|
7453
|
+
"privacy": "public",
|
|
7454
|
+
"description": "Progress bar value in percentage (0 to 100)",
|
|
7455
|
+
"type": {
|
|
7456
|
+
"text": "number"
|
|
7457
|
+
},
|
|
7458
|
+
"default": "0"
|
|
7459
|
+
}
|
|
7460
|
+
],
|
|
7461
|
+
"slots": []
|
|
7462
|
+
}
|
|
7463
|
+
],
|
|
7101
7464
|
"exports": [
|
|
7102
7465
|
{
|
|
7103
7466
|
"declaration": {
|
|
@@ -7126,16 +7489,11 @@
|
|
|
7126
7489
|
"kind": "class",
|
|
7127
7490
|
"name": "CRadio",
|
|
7128
7491
|
"tagName": "c-radio",
|
|
7492
|
+
"description": "A single radio option inside a `c-radio-group`: a native radio input whose default slot is its clickable, announced label.",
|
|
7493
|
+
"csc": {
|
|
7494
|
+
"usage": "docs/c-radio/usage.md"
|
|
7495
|
+
},
|
|
7129
7496
|
"attributes": [
|
|
7130
|
-
{
|
|
7131
|
-
"fieldName": "checked",
|
|
7132
|
-
"name": "checked",
|
|
7133
|
-
"description": "Set option as checked",
|
|
7134
|
-
"type": {
|
|
7135
|
-
"text": "boolean"
|
|
7136
|
-
},
|
|
7137
|
-
"default": "false"
|
|
7138
|
-
},
|
|
7139
7497
|
{
|
|
7140
7498
|
"fieldName": "disabled",
|
|
7141
7499
|
"name": "disabled",
|
|
@@ -7158,20 +7516,31 @@
|
|
|
7158
7516
|
}
|
|
7159
7517
|
}
|
|
7160
7518
|
],
|
|
7161
|
-
"cssParts": [
|
|
7519
|
+
"cssParts": [
|
|
7520
|
+
{
|
|
7521
|
+
"name": "root",
|
|
7522
|
+
"description": "The `<label>` row wrapping the input, indicator and label content"
|
|
7523
|
+
},
|
|
7524
|
+
{
|
|
7525
|
+
"name": "indicator",
|
|
7526
|
+
"description": "The circular ripple surface holding the radio ring and dot"
|
|
7527
|
+
},
|
|
7528
|
+
{
|
|
7529
|
+
"name": "content",
|
|
7530
|
+
"description": "Wrapper around the slotted label content"
|
|
7531
|
+
}
|
|
7532
|
+
],
|
|
7162
7533
|
"cssProperties": [],
|
|
7163
|
-
"events": [
|
|
7164
|
-
"members": [
|
|
7534
|
+
"events": [
|
|
7165
7535
|
{
|
|
7166
|
-
"
|
|
7167
|
-
"name": "checked",
|
|
7168
|
-
"privacy": "public",
|
|
7169
|
-
"description": "Set option as checked",
|
|
7536
|
+
"name": "change",
|
|
7170
7537
|
"type": {
|
|
7171
|
-
"text": "
|
|
7538
|
+
"text": "CustomEvent<string>"
|
|
7172
7539
|
},
|
|
7173
|
-
"
|
|
7174
|
-
}
|
|
7540
|
+
"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`."
|
|
7541
|
+
}
|
|
7542
|
+
],
|
|
7543
|
+
"members": [
|
|
7175
7544
|
{
|
|
7176
7545
|
"kind": "field",
|
|
7177
7546
|
"name": "disabled",
|
|
@@ -7199,7 +7568,7 @@
|
|
|
7199
7568
|
"slots": [
|
|
7200
7569
|
{
|
|
7201
7570
|
"name": "default",
|
|
7202
|
-
"description": "The radio
|
|
7571
|
+
"description": "The radio's label content, rendered inside the shadow `<label>` so it stays click-associated and announced"
|
|
7203
7572
|
}
|
|
7204
7573
|
]
|
|
7205
7574
|
}
|
|
@@ -7232,7 +7601,9 @@
|
|
|
7232
7601
|
"kind": "class",
|
|
7233
7602
|
"name": "CRadioGroup",
|
|
7234
7603
|
"tagName": "c-radio-group",
|
|
7604
|
+
"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
7605
|
"csc": {
|
|
7606
|
+
"usage": "docs/c-radio-group/usage.md",
|
|
7236
7607
|
"subcomponents": [
|
|
7237
7608
|
"c-radio"
|
|
7238
7609
|
]
|
|
@@ -7280,18 +7651,6 @@
|
|
|
7280
7651
|
"freeform": true
|
|
7281
7652
|
}
|
|
7282
7653
|
},
|
|
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
7654
|
{
|
|
7296
7655
|
"fieldName": "inline",
|
|
7297
7656
|
"name": "inline",
|
|
@@ -7322,15 +7681,6 @@
|
|
|
7322
7681
|
},
|
|
7323
7682
|
"default": "false"
|
|
7324
7683
|
},
|
|
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
7684
|
{
|
|
7335
7685
|
"fieldName": "valid",
|
|
7336
7686
|
"name": "valid",
|
|
@@ -7343,9 +7693,9 @@
|
|
|
7343
7693
|
{
|
|
7344
7694
|
"fieldName": "value",
|
|
7345
7695
|
"name": "value",
|
|
7346
|
-
"description": "Value of the radio group",
|
|
7696
|
+
"description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
|
|
7347
7697
|
"type": {
|
|
7348
|
-
"text": "null |
|
|
7698
|
+
"text": "null | string"
|
|
7349
7699
|
},
|
|
7350
7700
|
"default": "null"
|
|
7351
7701
|
}
|
|
@@ -7353,7 +7703,7 @@
|
|
|
7353
7703
|
"cssParts": [
|
|
7354
7704
|
{
|
|
7355
7705
|
"name": "root",
|
|
7356
|
-
"description": "The radiogroup wrapper element
|
|
7706
|
+
"description": "The radiogroup wrapper element"
|
|
7357
7707
|
},
|
|
7358
7708
|
{
|
|
7359
7709
|
"name": "label",
|
|
@@ -7361,11 +7711,11 @@
|
|
|
7361
7711
|
},
|
|
7362
7712
|
{
|
|
7363
7713
|
"name": "items",
|
|
7364
|
-
"description": "The
|
|
7714
|
+
"description": "The container the radios are slotted into"
|
|
7365
7715
|
},
|
|
7366
7716
|
{
|
|
7367
7717
|
"name": "message",
|
|
7368
|
-
"description": "The hint/error message
|
|
7718
|
+
"description": "The hint/error message area below the radios (always reserved unless `hide-details`)"
|
|
7369
7719
|
}
|
|
7370
7720
|
],
|
|
7371
7721
|
"cssProperties": [],
|
|
@@ -7373,9 +7723,9 @@
|
|
|
7373
7723
|
{
|
|
7374
7724
|
"name": "changeValue",
|
|
7375
7725
|
"type": {
|
|
7376
|
-
"text": "CustomEvent<
|
|
7726
|
+
"text": "CustomEvent<string>"
|
|
7377
7727
|
},
|
|
7378
|
-
"description": "Fired when a radio
|
|
7728
|
+
"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
7729
|
},
|
|
7380
7730
|
{
|
|
7381
7731
|
"name": "input",
|
|
@@ -7387,9 +7737,9 @@
|
|
|
7387
7737
|
{
|
|
7388
7738
|
"name": "update:value",
|
|
7389
7739
|
"type": {
|
|
7390
|
-
"text": "CustomEvent<
|
|
7740
|
+
"text": "CustomEvent<string>"
|
|
7391
7741
|
},
|
|
7392
|
-
"description": "v-model contract event fired on selection, carrying the selected
|
|
7742
|
+
"description": "v-model contract event fired on selection, carrying the selected radio's\nvalue."
|
|
7393
7743
|
}
|
|
7394
7744
|
],
|
|
7395
7745
|
"members": [
|
|
@@ -7439,19 +7789,6 @@
|
|
|
7439
7789
|
"freeform": true
|
|
7440
7790
|
}
|
|
7441
7791
|
},
|
|
7442
|
-
{
|
|
7443
|
-
"kind": "field",
|
|
7444
|
-
"name": "hostId",
|
|
7445
|
-
"privacy": "public",
|
|
7446
|
-
"description": "Id of the element",
|
|
7447
|
-
"type": {
|
|
7448
|
-
"text": "string"
|
|
7449
|
-
},
|
|
7450
|
-
"default": "''",
|
|
7451
|
-
"csc": {
|
|
7452
|
-
"freeform": true
|
|
7453
|
-
}
|
|
7454
|
-
},
|
|
7455
7792
|
{
|
|
7456
7793
|
"kind": "field",
|
|
7457
7794
|
"name": "inline",
|
|
@@ -7462,16 +7799,6 @@
|
|
|
7462
7799
|
},
|
|
7463
7800
|
"default": "false"
|
|
7464
7801
|
},
|
|
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
7802
|
{
|
|
7476
7803
|
"kind": "field",
|
|
7477
7804
|
"name": "label",
|
|
@@ -7495,16 +7822,6 @@
|
|
|
7495
7822
|
},
|
|
7496
7823
|
"default": "false"
|
|
7497
7824
|
},
|
|
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
7825
|
{
|
|
7509
7826
|
"kind": "field",
|
|
7510
7827
|
"name": "valid",
|
|
@@ -7519,9 +7836,9 @@
|
|
|
7519
7836
|
"kind": "field",
|
|
7520
7837
|
"name": "value",
|
|
7521
7838
|
"privacy": "public",
|
|
7522
|
-
"description": "Value of the radio group",
|
|
7839
|
+
"description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
|
|
7523
7840
|
"type": {
|
|
7524
|
-
"text": "null |
|
|
7841
|
+
"text": "null | string"
|
|
7525
7842
|
},
|
|
7526
7843
|
"default": "null"
|
|
7527
7844
|
}
|
|
@@ -7529,7 +7846,11 @@
|
|
|
7529
7846
|
"slots": [
|
|
7530
7847
|
{
|
|
7531
7848
|
"name": "default",
|
|
7532
|
-
"description": "
|
|
7849
|
+
"description": "The radios' home: `<c-radio>` children, wrappable in arbitrary layout elements at any depth"
|
|
7850
|
+
},
|
|
7851
|
+
{
|
|
7852
|
+
"name": "label",
|
|
7853
|
+
"description": "Group label content, used when the `label` prop is not set"
|
|
7533
7854
|
}
|
|
7534
7855
|
]
|
|
7535
7856
|
}
|
|
@@ -7730,6 +8051,18 @@
|
|
|
7730
8051
|
},
|
|
7731
8052
|
"default": "false"
|
|
7732
8053
|
},
|
|
8054
|
+
{
|
|
8055
|
+
"fieldName": "size",
|
|
8056
|
+
"name": "size",
|
|
8057
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
8058
|
+
"type": {
|
|
8059
|
+
"text": "'default' | 'small'"
|
|
8060
|
+
},
|
|
8061
|
+
"default": "'default'",
|
|
8062
|
+
"csc": {
|
|
8063
|
+
"typeAlias": "CFieldSize"
|
|
8064
|
+
}
|
|
8065
|
+
},
|
|
7733
8066
|
{
|
|
7734
8067
|
"fieldName": "valid",
|
|
7735
8068
|
"name": "valid",
|
|
@@ -7749,7 +8082,20 @@
|
|
|
7749
8082
|
"default": "null"
|
|
7750
8083
|
}
|
|
7751
8084
|
],
|
|
7752
|
-
"cssParts": [
|
|
8085
|
+
"cssParts": [
|
|
8086
|
+
{
|
|
8087
|
+
"name": "menu",
|
|
8088
|
+
"description": "The dropdown surface (the positioned dialog) holding the field and the list"
|
|
8089
|
+
},
|
|
8090
|
+
{
|
|
8091
|
+
"name": "list",
|
|
8092
|
+
"description": "The scrolling listbox of options"
|
|
8093
|
+
},
|
|
8094
|
+
{
|
|
8095
|
+
"name": "item",
|
|
8096
|
+
"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"
|
|
8097
|
+
}
|
|
8098
|
+
],
|
|
7753
8099
|
"cssProperties": [],
|
|
7754
8100
|
"events": [
|
|
7755
8101
|
{
|
|
@@ -7963,6 +8309,19 @@
|
|
|
7963
8309
|
},
|
|
7964
8310
|
"default": "false"
|
|
7965
8311
|
},
|
|
8312
|
+
{
|
|
8313
|
+
"kind": "field",
|
|
8314
|
+
"name": "size",
|
|
8315
|
+
"privacy": "public",
|
|
8316
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
8317
|
+
"type": {
|
|
8318
|
+
"text": "'default' | 'small'"
|
|
8319
|
+
},
|
|
8320
|
+
"default": "'default'",
|
|
8321
|
+
"csc": {
|
|
8322
|
+
"typeAlias": "CFieldSize"
|
|
8323
|
+
}
|
|
8324
|
+
},
|
|
7966
8325
|
{
|
|
7967
8326
|
"kind": "field",
|
|
7968
8327
|
"name": "valid",
|
|
@@ -10778,6 +11137,18 @@
|
|
|
10778
11137
|
},
|
|
10779
11138
|
"default": "false"
|
|
10780
11139
|
},
|
|
11140
|
+
{
|
|
11141
|
+
"fieldName": "size",
|
|
11142
|
+
"name": "size",
|
|
11143
|
+
"description": "Field height: the 44px default or the 36px `small` box (single-line fields)",
|
|
11144
|
+
"type": {
|
|
11145
|
+
"text": "'default' | 'small'"
|
|
11146
|
+
},
|
|
11147
|
+
"default": "'default'",
|
|
11148
|
+
"csc": {
|
|
11149
|
+
"typeAlias": "CFieldSize"
|
|
11150
|
+
}
|
|
11151
|
+
},
|
|
10781
11152
|
{
|
|
10782
11153
|
"fieldName": "step",
|
|
10783
11154
|
"name": "step",
|
|
@@ -11065,6 +11436,19 @@
|
|
|
11065
11436
|
},
|
|
11066
11437
|
"default": "false"
|
|
11067
11438
|
},
|
|
11439
|
+
{
|
|
11440
|
+
"kind": "field",
|
|
11441
|
+
"name": "size",
|
|
11442
|
+
"privacy": "public",
|
|
11443
|
+
"description": "Field height: the 44px default or the 36px `small` box (single-line fields)",
|
|
11444
|
+
"type": {
|
|
11445
|
+
"text": "'default' | 'small'"
|
|
11446
|
+
},
|
|
11447
|
+
"default": "'default'",
|
|
11448
|
+
"csc": {
|
|
11449
|
+
"typeAlias": "CFieldSize"
|
|
11450
|
+
}
|
|
11451
|
+
},
|
|
11068
11452
|
{
|
|
11069
11453
|
"kind": "field",
|
|
11070
11454
|
"name": "step",
|
|
@@ -11180,7 +11564,7 @@
|
|
|
11180
11564
|
"cssParts": [
|
|
11181
11565
|
{
|
|
11182
11566
|
"name": "root",
|
|
11183
|
-
"description": "The toast's outer box
|
|
11567
|
+
"description": "The toast's outer box: the inverted-surface pill carrying the shadow"
|
|
11184
11568
|
},
|
|
11185
11569
|
{
|
|
11186
11570
|
"name": "custom",
|
|
@@ -11192,7 +11576,15 @@
|
|
|
11192
11576
|
},
|
|
11193
11577
|
{
|
|
11194
11578
|
"name": "item",
|
|
11195
|
-
"description": "Row layout of a standard toast:
|
|
11579
|
+
"description": "Row layout of a standard toast: status badge, message body and dismiss button"
|
|
11580
|
+
},
|
|
11581
|
+
{
|
|
11582
|
+
"name": "badge",
|
|
11583
|
+
"description": "The circular tinted badge holding the status icon"
|
|
11584
|
+
},
|
|
11585
|
+
{
|
|
11586
|
+
"name": "dismiss",
|
|
11587
|
+
"description": "The dismiss button (icon-only, or labelled when the message sets `closeText`)"
|
|
11196
11588
|
},
|
|
11197
11589
|
{
|
|
11198
11590
|
"name": "progress",
|
|
@@ -11442,6 +11834,181 @@
|
|
|
11442
11834
|
],
|
|
11443
11835
|
"kind": "javascript-module",
|
|
11444
11836
|
"path": "src/components/c-toolbar/CToolbar.vue"
|
|
11837
|
+
},
|
|
11838
|
+
{
|
|
11839
|
+
"declarations": [
|
|
11840
|
+
{
|
|
11841
|
+
"customElement": true,
|
|
11842
|
+
"kind": "class",
|
|
11843
|
+
"name": "CTooltip",
|
|
11844
|
+
"tagName": "c-tooltip",
|
|
11845
|
+
"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.",
|
|
11846
|
+
"csc": {
|
|
11847
|
+
"usage": "docs/c-tooltip/usage.md"
|
|
11848
|
+
},
|
|
11849
|
+
"attributes": [
|
|
11850
|
+
{
|
|
11851
|
+
"fieldName": "delay",
|
|
11852
|
+
"name": "delay",
|
|
11853
|
+
"description": "Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\nshows the tooltip immediately, regardless of this value. Defaults to\n`400`.",
|
|
11854
|
+
"type": {
|
|
11855
|
+
"text": "number | string"
|
|
11856
|
+
},
|
|
11857
|
+
"default": "400"
|
|
11858
|
+
},
|
|
11859
|
+
{
|
|
11860
|
+
"fieldName": "distance",
|
|
11861
|
+
"name": "distance",
|
|
11862
|
+
"description": "Distance from the trigger to the tooltip, in pixels. Defaults to `4`.",
|
|
11863
|
+
"type": {
|
|
11864
|
+
"text": "number | string"
|
|
11865
|
+
},
|
|
11866
|
+
"default": "4"
|
|
11867
|
+
},
|
|
11868
|
+
{
|
|
11869
|
+
"fieldName": "open",
|
|
11870
|
+
"name": "open",
|
|
11871
|
+
"description": "Whether the tooltip is open. Two-way: emits `change:open`.",
|
|
11872
|
+
"type": {
|
|
11873
|
+
"text": "boolean"
|
|
11874
|
+
},
|
|
11875
|
+
"default": "false"
|
|
11876
|
+
},
|
|
11877
|
+
{
|
|
11878
|
+
"fieldName": "position",
|
|
11879
|
+
"name": "position",
|
|
11880
|
+
"description": "Preferred placement of the tooltip relative to the trigger.",
|
|
11881
|
+
"type": {
|
|
11882
|
+
"text": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
11883
|
+
},
|
|
11884
|
+
"default": "'top'",
|
|
11885
|
+
"csc": {
|
|
11886
|
+
"typeAlias": "CPlacement"
|
|
11887
|
+
}
|
|
11888
|
+
},
|
|
11889
|
+
{
|
|
11890
|
+
"fieldName": "text",
|
|
11891
|
+
"name": "text",
|
|
11892
|
+
"description": "The tooltip text. Overridden by the `content` slot when that is\npopulated.",
|
|
11893
|
+
"type": {
|
|
11894
|
+
"text": "string"
|
|
11895
|
+
},
|
|
11896
|
+
"default": "''",
|
|
11897
|
+
"csc": {
|
|
11898
|
+
"freeform": true
|
|
11899
|
+
}
|
|
11900
|
+
}
|
|
11901
|
+
],
|
|
11902
|
+
"cssParts": [
|
|
11903
|
+
{
|
|
11904
|
+
"name": "trigger",
|
|
11905
|
+
"description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
|
|
11906
|
+
},
|
|
11907
|
+
{
|
|
11908
|
+
"name": "panel",
|
|
11909
|
+
"description": "The floating tooltip bubble positioned against the trigger"
|
|
11910
|
+
}
|
|
11911
|
+
],
|
|
11912
|
+
"cssProperties": [],
|
|
11913
|
+
"events": [
|
|
11914
|
+
{
|
|
11915
|
+
"name": "change:open",
|
|
11916
|
+
"type": {
|
|
11917
|
+
"text": "CustomEvent<boolean>"
|
|
11918
|
+
},
|
|
11919
|
+
"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."
|
|
11920
|
+
}
|
|
11921
|
+
],
|
|
11922
|
+
"members": [
|
|
11923
|
+
{
|
|
11924
|
+
"kind": "field",
|
|
11925
|
+
"name": "delay",
|
|
11926
|
+
"privacy": "public",
|
|
11927
|
+
"description": "Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\nshows the tooltip immediately, regardless of this value. Defaults to\n`400`.",
|
|
11928
|
+
"type": {
|
|
11929
|
+
"text": "number | string"
|
|
11930
|
+
},
|
|
11931
|
+
"default": "400"
|
|
11932
|
+
},
|
|
11933
|
+
{
|
|
11934
|
+
"kind": "field",
|
|
11935
|
+
"name": "distance",
|
|
11936
|
+
"privacy": "public",
|
|
11937
|
+
"description": "Distance from the trigger to the tooltip, in pixels. Defaults to `4`.",
|
|
11938
|
+
"type": {
|
|
11939
|
+
"text": "number | string"
|
|
11940
|
+
},
|
|
11941
|
+
"default": "4"
|
|
11942
|
+
},
|
|
11943
|
+
{
|
|
11944
|
+
"kind": "field",
|
|
11945
|
+
"name": "open",
|
|
11946
|
+
"privacy": "public",
|
|
11947
|
+
"description": "Whether the tooltip is open. Two-way: emits `change:open`.",
|
|
11948
|
+
"type": {
|
|
11949
|
+
"text": "boolean"
|
|
11950
|
+
},
|
|
11951
|
+
"default": "false"
|
|
11952
|
+
},
|
|
11953
|
+
{
|
|
11954
|
+
"kind": "field",
|
|
11955
|
+
"name": "position",
|
|
11956
|
+
"privacy": "public",
|
|
11957
|
+
"description": "Preferred placement of the tooltip relative to the trigger.",
|
|
11958
|
+
"type": {
|
|
11959
|
+
"text": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
11960
|
+
},
|
|
11961
|
+
"default": "'top'",
|
|
11962
|
+
"csc": {
|
|
11963
|
+
"typeAlias": "CPlacement"
|
|
11964
|
+
}
|
|
11965
|
+
},
|
|
11966
|
+
{
|
|
11967
|
+
"kind": "field",
|
|
11968
|
+
"name": "text",
|
|
11969
|
+
"privacy": "public",
|
|
11970
|
+
"description": "The tooltip text. Overridden by the `content` slot when that is\npopulated.",
|
|
11971
|
+
"type": {
|
|
11972
|
+
"text": "string"
|
|
11973
|
+
},
|
|
11974
|
+
"default": "''",
|
|
11975
|
+
"csc": {
|
|
11976
|
+
"freeform": true
|
|
11977
|
+
}
|
|
11978
|
+
}
|
|
11979
|
+
],
|
|
11980
|
+
"slots": [
|
|
11981
|
+
{
|
|
11982
|
+
"name": "trigger",
|
|
11983
|
+
"description": "The element the tooltip describes (e.g. a c-icon-button)"
|
|
11984
|
+
},
|
|
11985
|
+
{
|
|
11986
|
+
"name": "content",
|
|
11987
|
+
"description": "Formatted tooltip content, overriding the `text` prop; must stay non-interactive (ADR-0033)"
|
|
11988
|
+
}
|
|
11989
|
+
]
|
|
11990
|
+
}
|
|
11991
|
+
],
|
|
11992
|
+
"exports": [
|
|
11993
|
+
{
|
|
11994
|
+
"declaration": {
|
|
11995
|
+
"module": "src/components/c-tooltip/CTooltip.vue",
|
|
11996
|
+
"name": "CTooltip"
|
|
11997
|
+
},
|
|
11998
|
+
"kind": "js",
|
|
11999
|
+
"name": "CTooltip"
|
|
12000
|
+
},
|
|
12001
|
+
{
|
|
12002
|
+
"declaration": {
|
|
12003
|
+
"module": "src/components/c-tooltip/CTooltip.vue",
|
|
12004
|
+
"name": "CTooltip"
|
|
12005
|
+
},
|
|
12006
|
+
"kind": "custom-element-definition",
|
|
12007
|
+
"name": "c-tooltip"
|
|
12008
|
+
}
|
|
12009
|
+
],
|
|
12010
|
+
"kind": "javascript-module",
|
|
12011
|
+
"path": "src/components/c-tooltip/CTooltip.vue"
|
|
11445
12012
|
}
|
|
11446
12013
|
]
|
|
11447
12014
|
}
|