@cscfi/csc-ui 4.0.0-alpha.2 → 4.0.0-alpha.20
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 +10192 -7248
- package/dist/custom-elements.json +2278 -257
- package/dist/docs/c-alert/usage.md +24 -0
- package/dist/docs/c-autocomplete/usage.md +152 -0
- package/dist/docs/c-button-group/usage.md +14 -1
- package/dist/docs/c-checkbox/usage.md +53 -0
- package/dist/docs/c-main/usage.md +21 -1
- package/dist/docs/c-menu/usage.md +15 -0
- package/dist/docs/c-menu-item/usage.md +6 -0
- package/dist/docs/c-option-value/usage.md +1 -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-select/usage.md +127 -0
- package/dist/docs/c-side-navigation/usage.md +21 -0
- package/dist/docs/c-spinner/usage.md +21 -0
- package/dist/docs/c-switch/usage.md +36 -0
- package/dist/docs/c-tab-buttons/usage.md +7 -0
- package/dist/docs/c-table/usage.md +14 -0
- package/dist/docs/c-toolbar/usage.md +17 -0
- package/dist/docs/c-tooltip/usage.md +30 -0
- package/dist/docs/c-tree-select/usage.md +156 -0
- package/dist/styles/css/tailwind-theme.css +32 -0
- package/dist/styles/css/tokens.css +707 -197
- package/dist/vscode.css-custom-data.json +286 -19
- package/dist/vscode.html-custom-data.json +334 -51
- package/dist/web-types.json +1200 -190
- package/dist-types/components/c-alert/CAlert.vue.d.ts +18 -4
- package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +118 -18
- package/dist-types/components/c-button/CButton.vue.d.ts +1 -1
- package/dist-types/components/c-button-group/CButtonGroup.vue.d.ts +1 -1
- package/dist-types/components/c-checkbox/CCheckbox.vue.d.ts +3 -3
- package/dist-types/components/c-data-table/CDataTable.vue.d.ts +6 -2
- package/dist-types/components/c-dropdown/CDropdown.vue.d.ts +48 -5
- 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 +6 -2
- package/dist-types/components/c-login-button/CLoginButton.vue.d.ts +4 -2
- package/dist-types/components/c-main/CMain.vue.d.ts +9 -2
- package/dist-types/components/c-menu/CMenu.vue.d.ts +14 -4
- package/dist-types/components/c-menu-item/CMenuItem.vue.d.ts +30 -3
- package/dist-types/components/c-otp-input/COtpInput.vue.d.ts +1 -1
- package/dist-types/components/c-pagination/CPagination.vue.d.ts +1 -1
- 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 +9 -47
- package/dist-types/components/c-select/CSelect.vue.d.ts +115 -24
- package/dist-types/components/c-side-navigation/CSideNavigation.vue.d.ts +1 -1
- package/dist-types/components/c-spinner/CSpinner.vue.d.ts +1 -1
- package/dist-types/components/c-switch/CSwitch.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 +8 -1
- package/dist-types/components/c-text-field/CTextField.vue.d.ts +15 -4
- package/dist-types/components/c-toolbar/CToolbar.vue.d.ts +10 -1
- package/dist-types/components/c-tooltip/CTooltip.vue.d.ts +49 -0
- package/dist-types/components/c-tree-select/CTreeSelect.vue.d.ts +261 -0
- package/dist-types/index.d.ts +14 -2
- package/dist-types/shared/FieldMessage.vue.d.ts +21 -0
- package/dist-types/shared/PanelHeadingRow.vue.d.ts +13 -0
- package/dist-types/shared/SelectionIndicator.vue.d.ts +21 -0
- package/dist-types/shared/appDefaults.d.ts +75 -0
- package/dist-types/shared/defineElement.d.ts +1 -0
- package/dist-types/shared/lightDismiss.d.ts +35 -0
- package/dist-types/shared/modalStack.d.ts +4 -3
- package/dist-types/shared/optionLabel.d.ts +18 -0
- package/dist-types/shared/pageLock.d.ts +26 -0
- package/dist-types/shared/peekCap.d.ts +35 -0
- package/dist-types/shared/popoverChain.d.ts +65 -0
- package/dist-types/shared/positionArea.d.ts +13 -0
- package/dist-types/shared/selectAll.d.ts +29 -0
- package/dist-types/shared/splitMatches.d.ts +18 -0
- package/dist-types/shared/useAnchoredPanel.d.ts +98 -0
- package/dist-types/shared/useDesignatedTrigger.d.ts +40 -0
- package/dist-types/shared/useHostStates.d.ts +25 -0
- package/dist-types/shared/useNarrowViewport.d.ts +19 -0
- package/dist-types/shared/useScrollStrip.d.ts +39 -0
- package/dist-types/shared/useStatusAnnouncer.d.ts +33 -0
- package/dist-types/shared/visualViewport.d.ts +51 -0
- package/dist-types/tag-name-map.d.ts +440 -51
- package/dist-types/theme/chart-data.d.ts +51 -0
- package/dist-types/theme/ramp.d.ts +38 -0
- package/dist-types/theme/themeMode.d.ts +51 -0
- package/dist-types/types.d.ts +13 -0
- package/package.json +19 -8
|
@@ -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"
|
|
@@ -56,19 +68,33 @@
|
|
|
56
68
|
"owner": "c-autocomplete"
|
|
57
69
|
},
|
|
58
70
|
{
|
|
59
|
-
"declaration": "export interface CAutocompleteOption {\n /** Whether the option is disabled. */\n disabled: boolean;\n
|
|
71
|
+
"declaration": "export interface CAutocompleteOption {\n /** Whether the option is disabled. */\n disabled: boolean;\n /**\n * The option's label: its `name`, else the text of its `c-option-value`,\n * else its whole text content (for an `items` entry, its `name`).\n */\n label: string;\n /** The option's value. */\n value: number | string;\n}",
|
|
60
72
|
"description": "The normalized option handed to a `c-autocomplete` `filter` predicate. `label`\nis the option's `name` (or its trimmed text content when authored as a\nslotted `<c-option>`).",
|
|
61
73
|
"kind": "interface",
|
|
62
74
|
"name": "CAutocompleteOption",
|
|
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
|
|
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 /**\n * Hide the hint and error messages\n *\n * @defaultable false\n */\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 /**\n * Items per page before the list scrolls\n *\n * @defaultable 6\n */\n itemsPerPage?: number;\n /**\n * Element label\n *\n * @freeform\n */\n label?: string;\n /**\n * Label on top of the input\n *\n * @defaultable false\n */\n labelOnTop?: boolean;\n /** Show loading state */\n loading?: boolean;\n /**\n * In `multiple` mode, show at most this many selected-value tags and fold\n * the rest into one \"+N more\" tag; `0` shows no tags and reads \"N selected\"\n * instead; unset shows every tag\n */\n maxTags?: number;\n /**\n * Allow selecting several options: rows toggle, the panel stays open and\n * keeps its query, `value` becomes an array of the selected values (items\n * with `return-object`) in the order they were picked, and the picks show\n * as tags inside the field. Arrays have no attribute form — bind `value` as\n * a DOM property\n */\n multiple?: boolean;\n /**\n * Input field name\n *\n * @freeform\n */\n name?: 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 /**\n * In `multiple` mode, pin a select-all row at the top of the list. Its\n * checkbox shows whether none, some or all enabled options currently listed\n * — the matches while a query is typed, the given `items` with `external` —\n * are selected; activating it selects them all, or, when all are selected,\n * unselects them. Ignored in single mode\n */\n selectAll?: boolean;\n /**\n * Shadow variant\n *\n * @defaultable false\n */\n shadow?: boolean;\n /**\n * Field height: the 44px default or the 36px `small` box\n *\n * @defaultable 'default'\n */\n size?: CFieldSize;\n /**\n * UI text overrides (i18n), merged over the English defaults. Objects have\n * no attribute form — bind as a DOM property (`:texts.prop` in Vue)\n *\n * @defaultable {}\n */\n texts?: CAutocompleteTexts;\n /** Set the validity of the input */\n valid?: boolean;\n /**\n * Selected value: the option's value, or the whole item with\n * `return-object`; an array of them in `multiple` mode\n */\n value?: CAutocompleteValue;\n}",
|
|
67
79
|
"description": "",
|
|
68
80
|
"kind": "interface",
|
|
69
81
|
"name": "CAutocompleteProps",
|
|
70
82
|
"owner": "c-autocomplete"
|
|
71
83
|
},
|
|
84
|
+
{
|
|
85
|
+
"declaration": "export interface CAutocompleteTexts {\n /** Accessible label of the clear button. */\n clearSelection?: string;\n /** Accessible label of the close button in the fullscreen panel (narrow viewports). */\n closePanel?: string;\n /** Accessible label of the search input inside the panel. */\n filterOptions?: string;\n /** Text of the loading row shown while `loading` with nothing to list. */\n loading?: string;\n /**\n * Text of the overflow tag when `max-tags` folds the selection; receives the\n * number of hidden tags.\n */\n more?: (count: number) => string;\n /** Text of the row shown when the query matches no options. */\n noResults?: string;\n /** Accessible label of a tag's remove button; receives the option label. */\n remove?: (label: string) => string;\n /** Placeholder of the search input when the `placeholder` prop is empty. */\n searchPlaceholder?: string;\n /**\n * Label of the select-all row; receives the number of enabled options\n * listed.\n */\n selectAll?: (count: number) => string;\n /**\n * Field text when `max-tags=\"0\"` shows no tags; receives the selection\n * count.\n */\n selected?: (count: number) => string;\n /** Accessible label of the chevron button that opens and closes the panel. */\n toggleOptions?: string;\n}",
|
|
86
|
+
"description": "UI texts of `c-autocomplete`, shallow-merged over the English defaults.\nStatic labels are strings; count- or label-interpolated ones are\nfunctions.",
|
|
87
|
+
"kind": "interface",
|
|
88
|
+
"name": "CAutocompleteTexts",
|
|
89
|
+
"owner": "c-autocomplete"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"declaration": "export type CAutocompleteValue =\n | (number | string)[]\n | CAutocompleteItem\n | CAutocompleteItem[]\n | null\n | number\n | string;",
|
|
93
|
+
"description": "Selection value of `c-autocomplete`: the committed option's value — or the\nwhole `{ name, value }` item with `return-object` — and `null` when\ncleared. In `multiple` mode an array of them in the order they were\npicked, `[]` when empty.",
|
|
94
|
+
"kind": "type-alias",
|
|
95
|
+
"name": "CAutocompleteValue",
|
|
96
|
+
"owner": "c-autocomplete"
|
|
97
|
+
},
|
|
72
98
|
{
|
|
73
99
|
"declaration": "export interface CButtonProps {\n /**\n * Pressed (toggle) state — renders the selected look and sets\n * `aria-pressed`. Leave unset for regular action buttons: only a\n * true/false value marks the button as a toggle. Driven by\n * `c-button-group` on its slotted buttons.\n */\n active?: boolean;\n /**\n * Danger variant style\n *\n * @seeded from csc-ui — verify\n */\n danger?: boolean;\n /**\n * Disable the button\n *\n * @seeded from csc-ui — verify\n */\n disabled?: boolean;\n /**\n * Fit width to containing element\n *\n * @seeded from csc-ui — verify\n */\n fit?: boolean;\n /**\n * Light button background\n *\n * @seeded from csc-ui — verify\n */\n ghost?: boolean;\n /**\n * Id of the button\n *\n * @seeded from csc-ui — verify\n * @freeform\n */\n hostId?: string;\n /**\n * Hyperlink url\n *\n * @seeded from csc-ui — verify\n * @freeform any URL\n */\n href?: string;\n /**\n * Inverted button style for dark backgrounds\n *\n * @seeded from csc-ui — verify\n */\n inverted?: boolean;\n /**\n * Display loader on the button\n *\n * @seeded from csc-ui — verify\n */\n loading?: boolean;\n /**\n * Remove the default border radius\n *\n * @seeded from csc-ui — verify\n */\n noRadius?: boolean;\n /** Suppress the click ripple (e.g. when a wrapper owns the press feedback). */\n noRipple?: boolean;\n /**\n * Outlined button style\n *\n * @seeded from csc-ui — verify\n */\n outlined?: boolean;\n /**\n * Size of the button\n *\n * @seeded from csc-ui — verify\n */\n size?: CButtonSize;\n /**\n * Hyperlink target\n *\n * @seeded from csc-ui — verify\n * @freeform any browsing-context name (e.g. _blank, _self)\n */\n target?: string;\n /**\n * Transparent button background\n *\n * @seeded from csc-ui — verify\n */\n text?: boolean;\n /**\n * Button type\n *\n * @seeded from csc-ui — verify\n */\n type?: CButtonType;\n /**\n * Value for the button\n * - for use in the c-button-group\n *\n * @seeded from csc-ui — verify\n */\n value?: number | string;\n}",
|
|
74
100
|
"description": "",
|
|
@@ -189,7 +215,7 @@
|
|
|
189
215
|
"owner": "c-data-table"
|
|
190
216
|
},
|
|
191
217
|
{
|
|
192
|
-
"declaration": "export interface CDataTableProps {\n /**\n * Move overflowing `expansion: 'auto'` columns into the expansion row\n * (rightmost first) instead of scrolling horizontally.\n */\n autohide?: boolean;\n /** Column definitions. Pass as a DOM property (contains functions). */\n columns?: CDataTableColumn[];\n /** Rows — plain domain objects. Pass as a DOM property. */\n data?: CDataTableRow[];\n /** Ids of the expanded rows (optionally controlled). */\n expanded?: string[];\n /**\n * Custom expansion-row content, appended after the auto-rendered cells of\n * columns currently in the expansion row.\n */\n expandedContent?: (\n context: CDataTableExpandedContext,\n ) => CDataTableCellContent;\n /**\n * The server owns sorting, pagination and filtering: the table renders\n * `data` verbatim and only emits the state-change events. Requires\n * `itemCount` for the pager; disables the select-all banner and `filter`.\n */\n external?: boolean;\n /**\n * Filter rows client-side against this string (all columns). Ignored when\n * `external` is set.\n *\n * @freeform\n */\n filter?: string;\n /**\n * Return a stable id for a row. Falls back to the row's index — supply\n * this whenever selection/expansion is used with `external` data.\n */\n getRowId?: (row: CDataTableRow) => string;\n /** Total number of rows in the dataset. Only used (and needed) with `external`. */\n itemCount?: number;\n /** Show the loading indicator. */\n loading?: boolean;\n /** Current page, 1-based (optionally controlled). */\n page?: number;\n /**\n * Rows per page. Pagination is active only when set — without it every row\n * renders and no pager is shown.\n */\n pageSize?: number;\n /** Options for the pager's page-size menu. */\n pageSizes?: number[];\n /** Ids of the selected rows (optionally controlled). */\n selected?: string[];\n /** Row selection mode. Unset means rows are not selectable. */\n selection?: CDataTableSelectionMode;\n /** Allow only one row to be expanded at a time. */\n singleExpansion?: boolean;\n /** The sorting state (optionally controlled). `null` renders unsorted. */\n sort?: CDataTableSort | null;\n /** Keep the footer row visible while the table scrolls vertically. */\n stickyFooter?: boolean;\n /** Keep the header row visible while the table scrolls vertically. */\n stickyHeader?: boolean;\n
|
|
218
|
+
"declaration": "export interface CDataTableProps {\n /**\n * Move overflowing `expansion: 'auto'` columns into the expansion row\n * (rightmost first) instead of scrolling horizontally.\n */\n autohide?: boolean;\n /** Column definitions. Pass as a DOM property (contains functions). */\n columns?: CDataTableColumn[];\n /** Rows — plain domain objects. Pass as a DOM property. */\n data?: CDataTableRow[];\n /** Ids of the expanded rows (optionally controlled). */\n expanded?: string[];\n /**\n * Custom expansion-row content, appended after the auto-rendered cells of\n * columns currently in the expansion row.\n */\n expandedContent?: (\n context: CDataTableExpandedContext,\n ) => CDataTableCellContent;\n /**\n * The server owns sorting, pagination and filtering: the table renders\n * `data` verbatim and only emits the state-change events. Requires\n * `itemCount` for the pager; disables the select-all banner and `filter`.\n */\n external?: boolean;\n /**\n * Filter rows client-side against this string (all columns). Ignored when\n * `external` is set.\n *\n * @freeform\n */\n filter?: string;\n /**\n * Return a stable id for a row. Falls back to the row's index — supply\n * this whenever selection/expansion is used with `external` data.\n */\n getRowId?: (row: CDataTableRow) => string;\n /** Total number of rows in the dataset. Only used (and needed) with `external`. */\n itemCount?: number;\n /** Show the loading indicator. */\n loading?: boolean;\n /** Current page, 1-based (optionally controlled). */\n page?: number;\n /**\n * Rows per page. Pagination is active only when set — without it every row\n * renders and no pager is shown.\n */\n pageSize?: number;\n /** Options for the pager's page-size menu. */\n pageSizes?: number[];\n /** Ids of the selected rows (optionally controlled). */\n selected?: string[];\n /** Row selection mode. Unset means rows are not selectable. */\n selection?: CDataTableSelectionMode;\n /** Allow only one row to be expanded at a time. */\n singleExpansion?: boolean;\n /** The sorting state (optionally controlled). `null` renders unsorted. */\n sort?: CDataTableSort | null;\n /** Keep the footer row visible while the table scrolls vertically. */\n stickyFooter?: boolean;\n /** Keep the header row visible while the table scrolls vertically. */\n stickyHeader?: boolean;\n /**\n * UI text overrides (i18n), merged over the English defaults.\n *\n * @defaultable {}\n */\n texts?: CDataTableTexts;\n}",
|
|
193
219
|
"description": "",
|
|
194
220
|
"kind": "interface",
|
|
195
221
|
"name": "CDataTableProps",
|
|
@@ -300,6 +326,34 @@
|
|
|
300
326
|
"name": "CPaginationSize",
|
|
301
327
|
"owner": "c-pagination"
|
|
302
328
|
},
|
|
329
|
+
{
|
|
330
|
+
"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}",
|
|
331
|
+
"description": "",
|
|
332
|
+
"kind": "interface",
|
|
333
|
+
"name": "CPopoverProps",
|
|
334
|
+
"owner": "c-popover"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"declaration": "export interface CSelectProps {\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 select is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /**\n * Hide the hint and error messages\n *\n * @defaultable false\n */\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?: CSelectItem[];\n /**\n * Items per page before adding scroll\n *\n * @defaultable 6\n */\n itemsPerPage?: number;\n /**\n * Element label\n *\n * @freeform\n */\n label?: string;\n /**\n * Label on top of the input\n *\n * @defaultable false\n */\n labelOnTop?: boolean;\n /** Show loading state */\n loading?: boolean;\n /**\n * In `multiple` mode, show at most this many selected-value tags and fold\n * the rest into one \"+N more\" tag; `0` shows no tags and reads \"N selected\"\n * instead; unset shows every tag\n */\n maxTags?: number;\n /**\n * Allow selecting several options: rows toggle and the list stays open,\n * `value` becomes an array of the selected values (items with\n * `return-object`) in the order they were picked, and the picks show as\n * tags inside the field. `option-as-selection` is ignored in this mode.\n * Arrays have no attribute form — bind `value` as a DOM property\n */\n multiple?: boolean;\n /**\n * Input field name\n *\n * @freeform\n */\n name?: string;\n /** Display the option as selection (only with <c-option> elements) */\n optionAsSelection?: boolean;\n /**\n * Placeholder text\n *\n * @freeform\n */\n placeholder?: string;\n /** Set the select as required */\n required?: boolean;\n /** Return object instead of value */\n returnObject?: boolean;\n /**\n * In `multiple` mode, pin a select-all row at the top of the list. Its\n * checkbox shows whether none, some or all enabled options are selected;\n * activating it selects every enabled option — or, when all are selected,\n * unselects them. Ignored in single mode\n */\n selectAll?: boolean;\n /**\n * Shadow variant\n *\n * @defaultable false\n */\n shadow?: boolean;\n /**\n * Field height: the 44px default or the 36px `small` box\n *\n * @defaultable 'default'\n */\n size?: CFieldSize;\n /**\n * UI text overrides (i18n), merged over the English defaults. Objects have\n * no attribute form — bind as a DOM property (`:texts.prop` in Vue)\n *\n * @defaultable {}\n */\n texts?: CSelectTexts;\n /** Set the validity of the input */\n valid?: boolean;\n /**\n * Selected value: the option's value, or the whole item with\n * `return-object`; an array of them in `multiple` mode\n */\n value?: CSelectValue;\n}",
|
|
338
|
+
"description": "",
|
|
339
|
+
"kind": "interface",
|
|
340
|
+
"name": "CSelectProps",
|
|
341
|
+
"owner": "c-select"
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"declaration": "export interface CSelectTexts {\n /** Accessible label of the clear button. */\n clearSelection?: string;\n /** Accessible label of the close button in the fullscreen panel (narrow viewports). */\n closePanel?: string;\n /**\n * Text of the overflow tag when `max-tags` folds the selection; receives the\n * number of hidden tags.\n */\n more?: (count: number) => string;\n /** Accessible label of a tag's remove button; receives the option label. */\n remove?: (label: string) => string;\n /**\n * Label of the select-all row; receives the number of enabled options\n * listed.\n */\n selectAll?: (count: number) => string;\n /**\n * Field text when `max-tags=\"0\"` shows no tags; receives the selection\n * count.\n */\n selected?: (count: number) => string;\n /** Accessible label of the chevron button that opens and closes the list. */\n toggleOptions?: string;\n}",
|
|
345
|
+
"description": "UI texts of `c-select`, shallow-merged over the English defaults. Static\nlabels are strings; count- or label-interpolated ones are functions.",
|
|
346
|
+
"kind": "interface",
|
|
347
|
+
"name": "CSelectTexts",
|
|
348
|
+
"owner": "c-select"
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"declaration": "export type CSelectValue =\n | (number | string)[]\n | CSelectItem\n | CSelectItem[]\n | null\n | number\n | string;",
|
|
352
|
+
"description": "Selection value of `c-select`: the picked option's value — or the whole\n`{ name, value }` item with `return-object` — and `null` when nothing is\nselected. In `multiple` mode an array of them in the order they were\npicked, `[]` when empty.",
|
|
353
|
+
"kind": "type-alias",
|
|
354
|
+
"name": "CSelectValue",
|
|
355
|
+
"owner": "c-select"
|
|
356
|
+
},
|
|
303
357
|
{
|
|
304
358
|
"declaration": "export interface CStatusProps {\n /**\n * Status type\n *\n * @seeded from csc-ui — verify\n */\n type?: CStatusType;\n}",
|
|
305
359
|
"description": "",
|
|
@@ -343,7 +397,7 @@
|
|
|
343
397
|
"owner": "c-tabs"
|
|
344
398
|
},
|
|
345
399
|
{
|
|
346
|
-
"declaration": "export interface CTagProps {\n /**\n * Mark tag as active\n *\n * @seeded from csc-ui — verify\n */\n active?: boolean;\n /**\n * Display an optional badge at the start of the tag\n *\n * @seeded from csc-ui — verify\n */\n badge?: null | number | string;\n /**\n * Mark tag as closeable\n *\n * @seeded from csc-ui — verify\n */\n closeable?: boolean;\n /**\n * Remove the hover effect\n *\n * @seeded from csc-ui — verify\n */\n flat?: boolean;\n /**\n * Size of the tag\n *\n * @seeded from csc-ui — verify\n */\n size?: CTagSize;\n}",
|
|
400
|
+
"declaration": "export interface CTagProps {\n /**\n * Mark tag as active\n *\n * @seeded from csc-ui — verify\n */\n active?: boolean;\n /**\n * Display an optional badge at the start of the tag\n *\n * @seeded from csc-ui — verify\n */\n badge?: null | number | string;\n /**\n * Mark tag as closeable\n *\n * @seeded from csc-ui — verify\n */\n closeable?: boolean;\n /**\n * Accessible name of the close button rendered when `closeable`\n *\n * @freeform\n */\n closeLabel?: string;\n /**\n * Remove the hover effect\n *\n * @seeded from csc-ui — verify\n */\n flat?: boolean;\n /**\n * Size of the tag\n *\n * @seeded from csc-ui — verify\n */\n size?: CTagSize;\n}",
|
|
347
401
|
"description": "",
|
|
348
402
|
"kind": "interface",
|
|
349
403
|
"name": "CTagProps",
|
|
@@ -378,7 +432,7 @@
|
|
|
378
432
|
"owner": "c-text-field"
|
|
379
433
|
},
|
|
380
434
|
{
|
|
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}",
|
|
435
|
+
"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 * @defaultable false\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 * @defaultable false\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 * @defaultable false\n */\n shadow?: boolean;\n /**\n * Field height: the 44px default or the 36px `small` box (single-line fields)\n *\n * @defaultable 'default'\n */\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
436
|
"description": "",
|
|
383
437
|
"kind": "interface",
|
|
384
438
|
"name": "CTextFieldProps",
|
|
@@ -418,6 +472,55 @@
|
|
|
418
472
|
"kind": "type-alias",
|
|
419
473
|
"name": "CToastsVertical",
|
|
420
474
|
"owner": "c-toasts"
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"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}",
|
|
478
|
+
"description": "",
|
|
479
|
+
"kind": "interface",
|
|
480
|
+
"name": "CTooltipProps",
|
|
481
|
+
"owner": "c-tooltip"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"declaration": "export type CTreeSelectFilter = (\n item: CTreeSelectItem,\n query: string,\n path: CTreeSelectItem[],\n) => boolean;",
|
|
485
|
+
"description": "Custom search predicate for `c-tree-select`. Receives the item, the query\nand the item's ancestors root-first; return `true` to list the item. The\ndefault matches the query case-insensitively anywhere in the `name` or\n`code` of the item or of any of its ancestors.",
|
|
486
|
+
"kind": "type-alias",
|
|
487
|
+
"name": "CTreeSelectFilter",
|
|
488
|
+
"owner": "c-tree-select"
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"declaration": "export interface CTreeSelectItem {\n /** Child items; present and non-empty for a branch. */\n children?: CTreeSelectItem[];\n /**\n * Short code shown before the name and matched by the search (a\n * classification number, say).\n */\n code?: string;\n /**\n * Disable the item: a disabled branch cannot be entered, a disabled leaf\n * cannot be committed.\n */\n disabled?: boolean;\n /** The item's label. */\n name: string;\n /** The item's value, unique across the tree. */\n value: number | string;\n}",
|
|
492
|
+
"description": "One item of a `c-tree-select` tree. An item with a non-empty `children`\narray is a branch; any other item is a leaf. Values must be unique across\nthe whole tree.",
|
|
493
|
+
"kind": "interface",
|
|
494
|
+
"name": "CTreeSelectItem",
|
|
495
|
+
"owner": "c-tree-select"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"declaration": "export interface CTreeSelectProps {\n /**\n * Let a branch be committed as the value: a pinned select-branch row heads\n * every level below the root, and matching branches are listed as search\n * results\n */\n allowBranch?: boolean;\n /**\n * Make the selected value clearable\n */\n clearable?: boolean;\n /**\n * Disable the field\n */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the field is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /**\n * Custom search predicate; receives the item, the query and the item's\n * ancestors. Functions have no attribute form — bind as a DOM property\n */\n filter?: CTreeSelectFilter;\n /**\n * Hide the hint and error messages\n *\n * @defaultable false\n */\n hideDetails?: boolean;\n /**\n * Hint text for the field\n *\n * @freeform\n */\n hint?: string;\n /**\n * Id of the element\n *\n * @freeform\n */\n hostId?: string;\n /**\n * The tree to pick from. Arrays have no attribute form — bind as a DOM\n * property (`:items.prop` in Vue)\n */\n items?: CTreeSelectItem[];\n /**\n * Items per page before the list scrolls\n *\n * @defaultable 6\n */\n itemsPerPage?: number;\n /**\n * Element label\n *\n * @freeform\n */\n label?: string;\n /**\n * Label on top of the field\n *\n * @defaultable false\n */\n labelOnTop?: boolean;\n /**\n * Names of the levels, top level first, shown in the panel header; a\n * missing entry falls back to `texts.level(n)`. Arrays have no attribute\n * form — bind as a DOM property\n */\n levelLabels?: string[];\n /**\n * Input field name\n *\n * @freeform\n */\n name?: string;\n /**\n * Placeholder for the search input inside the panel\n *\n * @freeform\n */\n placeholder?: string;\n /**\n * Set the field as required\n */\n required?: boolean;\n /**\n * Emit the committed item with its path as a `CTreeSelectSelection` instead\n * of its value\n */\n returnObject?: boolean;\n /**\n * Shadow variant\n *\n * @defaultable false\n */\n shadow?: boolean;\n /**\n * Field height: the 44px default or the 36px `small` box\n *\n * @defaultable 'default'\n */\n size?: CFieldSize;\n /**\n * UI text overrides (i18n), merged over the English defaults. Objects have\n * no attribute form — bind as a DOM property (`:texts.prop` in Vue)\n *\n * @defaultable {}\n */\n texts?: CTreeSelectTexts;\n /**\n * Set the validity of the field\n */\n valid?: boolean;\n /**\n * Selected value: the committed item's value, or the `CTreeSelectSelection`\n * with `return-object`; `null` when nothing is selected\n */\n value?: CTreeSelectValue;\n}",
|
|
499
|
+
"description": "",
|
|
500
|
+
"kind": "interface",
|
|
501
|
+
"name": "CTreeSelectProps",
|
|
502
|
+
"owner": "c-tree-select"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"declaration": "export interface CTreeSelectSelection {\n /** The committed item's code, when it has one. */\n code?: string;\n /** The committed item's label. */\n name: string;\n /** The committed item's ancestors, root-first. */\n path: Array<{ code?: string; name: string; value: number | string }>;\n /** The committed item's value. */\n value: number | string;\n}",
|
|
506
|
+
"description": "The committed item as emitted with `return-object`: a fresh object — never\nthe `items` entry itself — with its ancestors root-first and without\n`children`.",
|
|
507
|
+
"kind": "interface",
|
|
508
|
+
"name": "CTreeSelectSelection",
|
|
509
|
+
"owner": "c-tree-select"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"declaration": "export interface CTreeSelectTexts {\n /** Accessible label of the breadcrumb navigation in the panel. */\n breadcrumb?: string;\n /**\n * Label of the \"Browse instead\" control shown in the header while a query\n * is typed.\n */\n browse?: string;\n /** Meta text on a branch row; receives its number of children. */\n children?: (count: number) => string;\n /**\n * Header text in browse mode; receives the label of the level being\n * listed.\n */\n choose?: (levelLabel: string) => string;\n /** Accessible label of the clear button. */\n clearSelection?: string;\n /** Accessible label of the close button in the fullscreen panel (narrow viewports). */\n closePanel?: string;\n /** Accessible label of the search input inside the panel. */\n filterOptions?: string;\n /**\n * Header text of a level whose rows are all leaves in an unevenly deep\n * tree (an evenly deep tree shows the step counter instead).\n */\n final?: string;\n /**\n * Default label of level `n` (1 = the top level) when `level-labels` gives\n * none.\n */\n level?: (n: number) => string;\n /** Header text in search mode; receives the number of matches. */\n matches?: (count: number) => string;\n /** Text of the row shown when nothing is listed. */\n noResults?: string;\n /** Label of the root crumb. */\n root?: string;\n /** Placeholder of the search input when the `placeholder` prop is empty. */\n searchPlaceholder?: string;\n /**\n * Label of the pinned select-branch row; receives the current branch's\n * name.\n */\n select?: (name: string) => string;\n /**\n * Header step counter shown while the tree is evenly deep (every leaf at\n * one level); receives the step and the total number of levels.\n */\n step?: (n: number, total: number) => string;\n /** Accessible label of the chevron button that opens and closes the panel. */\n toggleOptions?: string;\n}",
|
|
513
|
+
"description": "UI texts of `c-tree-select`, shallow-merged over the English defaults.\nStatic labels are strings; interpolated ones are functions.",
|
|
514
|
+
"kind": "interface",
|
|
515
|
+
"name": "CTreeSelectTexts",
|
|
516
|
+
"owner": "c-tree-select"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
"declaration": "export type CTreeSelectValue = CTreeSelectSelection | null | number | string;",
|
|
520
|
+
"description": "Selection value of `c-tree-select`: the committed item's value — or a\n with `return-object` — and `null` when\ncleared.",
|
|
521
|
+
"kind": "type-alias",
|
|
522
|
+
"name": "CTreeSelectValue",
|
|
523
|
+
"owner": "c-tree-select"
|
|
421
524
|
}
|
|
422
525
|
]
|
|
423
526
|
},
|
|
@@ -470,6 +573,7 @@
|
|
|
470
573
|
}
|
|
471
574
|
],
|
|
472
575
|
"cssProperties": [],
|
|
576
|
+
"cssStates": [],
|
|
473
577
|
"events": [
|
|
474
578
|
{
|
|
475
579
|
"name": "change",
|
|
@@ -646,6 +750,7 @@
|
|
|
646
750
|
}
|
|
647
751
|
],
|
|
648
752
|
"cssProperties": [],
|
|
753
|
+
"cssStates": [],
|
|
649
754
|
"events": [
|
|
650
755
|
{
|
|
651
756
|
"name": "item-change",
|
|
@@ -753,7 +858,31 @@
|
|
|
753
858
|
"kind": "class",
|
|
754
859
|
"name": "CAlert",
|
|
755
860
|
"tagName": "c-alert",
|
|
861
|
+
"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.",
|
|
862
|
+
"csc": {
|
|
863
|
+
"usage": "docs/c-alert/usage.md"
|
|
864
|
+
},
|
|
756
865
|
"attributes": [
|
|
866
|
+
{
|
|
867
|
+
"fieldName": "dismissible",
|
|
868
|
+
"name": "dismissible",
|
|
869
|
+
"description": "Show a dismiss button. The alert only emits `dismiss` — removing it from\nthe page stays the consumer's job.",
|
|
870
|
+
"type": {
|
|
871
|
+
"text": "boolean"
|
|
872
|
+
},
|
|
873
|
+
"default": "false"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"fieldName": "heading",
|
|
877
|
+
"name": "heading",
|
|
878
|
+
"description": "Heading rendered above the message. The `heading` slot overrides it for\nrich content.",
|
|
879
|
+
"type": {
|
|
880
|
+
"text": "string"
|
|
881
|
+
},
|
|
882
|
+
"csc": {
|
|
883
|
+
"freeform": true
|
|
884
|
+
}
|
|
885
|
+
},
|
|
757
886
|
{
|
|
758
887
|
"fieldName": "type",
|
|
759
888
|
"name": "type",
|
|
@@ -770,20 +899,59 @@
|
|
|
770
899
|
"cssParts": [
|
|
771
900
|
{
|
|
772
901
|
"name": "root",
|
|
773
|
-
"description": "The
|
|
902
|
+
"description": "The tinted box carrying the type's wash, hairline border and accent edge"
|
|
774
903
|
},
|
|
775
904
|
{
|
|
776
905
|
"name": "icon",
|
|
777
|
-
"description": "The status icon svg
|
|
906
|
+
"description": "The status icon svg"
|
|
778
907
|
},
|
|
779
908
|
{
|
|
780
909
|
"name": "content",
|
|
781
|
-
"description": "The wrapper around the
|
|
910
|
+
"description": "The wrapper around the heading and message content"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"name": "heading",
|
|
914
|
+
"description": "The heading paragraph rendered from the `heading` prop"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"name": "dismiss",
|
|
918
|
+
"description": "The dismiss button rendered when `dismissible` is set"
|
|
782
919
|
}
|
|
783
920
|
],
|
|
784
921
|
"cssProperties": [],
|
|
785
|
-
"
|
|
922
|
+
"cssStates": [],
|
|
923
|
+
"events": [
|
|
924
|
+
{
|
|
925
|
+
"name": "dismiss",
|
|
926
|
+
"type": {
|
|
927
|
+
"text": "CustomEvent<void>"
|
|
928
|
+
},
|
|
929
|
+
"description": "Fired when the dismiss button is pressed. The alert does not hide\nitself — the consumer owns removal."
|
|
930
|
+
}
|
|
931
|
+
],
|
|
786
932
|
"members": [
|
|
933
|
+
{
|
|
934
|
+
"kind": "field",
|
|
935
|
+
"name": "dismissible",
|
|
936
|
+
"privacy": "public",
|
|
937
|
+
"description": "Show a dismiss button. The alert only emits `dismiss` — removing it from\nthe page stays the consumer's job.",
|
|
938
|
+
"type": {
|
|
939
|
+
"text": "boolean"
|
|
940
|
+
},
|
|
941
|
+
"default": "false"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"kind": "field",
|
|
945
|
+
"name": "heading",
|
|
946
|
+
"privacy": "public",
|
|
947
|
+
"description": "Heading rendered above the message. The `heading` slot overrides it for\nrich content.",
|
|
948
|
+
"type": {
|
|
949
|
+
"text": "string"
|
|
950
|
+
},
|
|
951
|
+
"csc": {
|
|
952
|
+
"freeform": true
|
|
953
|
+
}
|
|
954
|
+
},
|
|
787
955
|
{
|
|
788
956
|
"kind": "field",
|
|
789
957
|
"name": "type",
|
|
@@ -800,8 +968,8 @@
|
|
|
800
968
|
],
|
|
801
969
|
"slots": [
|
|
802
970
|
{
|
|
803
|
-
"name": "
|
|
804
|
-
"description": "
|
|
971
|
+
"name": "heading",
|
|
972
|
+
"description": "Rich heading content; overrides the `heading` prop"
|
|
805
973
|
},
|
|
806
974
|
{
|
|
807
975
|
"name": "default",
|
|
@@ -893,7 +1061,10 @@
|
|
|
893
1061
|
"type": {
|
|
894
1062
|
"text": "boolean"
|
|
895
1063
|
},
|
|
896
|
-
"default": "false"
|
|
1064
|
+
"default": "false",
|
|
1065
|
+
"csc": {
|
|
1066
|
+
"defaultable": true
|
|
1067
|
+
}
|
|
897
1068
|
},
|
|
898
1069
|
{
|
|
899
1070
|
"fieldName": "hint",
|
|
@@ -926,7 +1097,10 @@
|
|
|
926
1097
|
"type": {
|
|
927
1098
|
"text": "number"
|
|
928
1099
|
},
|
|
929
|
-
"default": "6"
|
|
1100
|
+
"default": "6",
|
|
1101
|
+
"csc": {
|
|
1102
|
+
"defaultable": true
|
|
1103
|
+
}
|
|
930
1104
|
},
|
|
931
1105
|
{
|
|
932
1106
|
"fieldName": "label",
|
|
@@ -947,7 +1121,10 @@
|
|
|
947
1121
|
"type": {
|
|
948
1122
|
"text": "boolean"
|
|
949
1123
|
},
|
|
950
|
-
"default": "false"
|
|
1124
|
+
"default": "false",
|
|
1125
|
+
"csc": {
|
|
1126
|
+
"defaultable": true
|
|
1127
|
+
}
|
|
951
1128
|
},
|
|
952
1129
|
{
|
|
953
1130
|
"fieldName": "loading",
|
|
@@ -959,25 +1136,30 @@
|
|
|
959
1136
|
"default": "false"
|
|
960
1137
|
},
|
|
961
1138
|
{
|
|
962
|
-
"fieldName": "
|
|
963
|
-
"name": "
|
|
964
|
-
"description": "
|
|
1139
|
+
"fieldName": "maxTags",
|
|
1140
|
+
"name": "max-tags",
|
|
1141
|
+
"description": "In `multiple` mode, show at most this many selected-value tags and fold\nthe rest into one \"+N more\" tag; `0` shows no tags and reads \"N selected\"\ninstead; unset shows every tag",
|
|
965
1142
|
"type": {
|
|
966
|
-
"text": "
|
|
967
|
-
},
|
|
968
|
-
"default": "''",
|
|
969
|
-
"csc": {
|
|
970
|
-
"freeform": true
|
|
1143
|
+
"text": "number"
|
|
971
1144
|
}
|
|
972
1145
|
},
|
|
973
1146
|
{
|
|
974
|
-
"fieldName": "
|
|
975
|
-
"name": "
|
|
976
|
-
"description": "
|
|
1147
|
+
"fieldName": "multiple",
|
|
1148
|
+
"name": "multiple",
|
|
1149
|
+
"description": "Allow selecting several options: rows toggle, the panel stays open and\nkeeps its query, `value` becomes an array of the selected values (items\nwith `return-object`) in the order they were picked, and the picks show\nas tags inside the field. Arrays have no attribute form — bind `value` as\na DOM property",
|
|
1150
|
+
"type": {
|
|
1151
|
+
"text": "boolean"
|
|
1152
|
+
},
|
|
1153
|
+
"default": "false"
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
"fieldName": "name",
|
|
1157
|
+
"name": "name",
|
|
1158
|
+
"description": "Input field name",
|
|
977
1159
|
"type": {
|
|
978
1160
|
"text": "string"
|
|
979
1161
|
},
|
|
980
|
-
"default": "'
|
|
1162
|
+
"default": "''",
|
|
981
1163
|
"csc": {
|
|
982
1164
|
"freeform": true
|
|
983
1165
|
}
|
|
@@ -1012,6 +1194,15 @@
|
|
|
1012
1194
|
},
|
|
1013
1195
|
"default": "false"
|
|
1014
1196
|
},
|
|
1197
|
+
{
|
|
1198
|
+
"fieldName": "selectAll",
|
|
1199
|
+
"name": "select-all",
|
|
1200
|
+
"description": "In `multiple` mode, pin a select-all row at the top of the list. Its\ncheckbox shows whether none, some or all enabled options currently listed\n— the matches while a query is typed, the given `items` with `external` —\nare selected; activating it selects them all, or, when all are selected,\nunselects them. Ignored in single mode",
|
|
1201
|
+
"type": {
|
|
1202
|
+
"text": "boolean"
|
|
1203
|
+
},
|
|
1204
|
+
"default": "false"
|
|
1205
|
+
},
|
|
1015
1206
|
{
|
|
1016
1207
|
"fieldName": "shadow",
|
|
1017
1208
|
"name": "shadow",
|
|
@@ -1019,7 +1210,23 @@
|
|
|
1019
1210
|
"type": {
|
|
1020
1211
|
"text": "boolean"
|
|
1021
1212
|
},
|
|
1022
|
-
"default": "false"
|
|
1213
|
+
"default": "false",
|
|
1214
|
+
"csc": {
|
|
1215
|
+
"defaultable": true
|
|
1216
|
+
}
|
|
1217
|
+
},
|
|
1218
|
+
{
|
|
1219
|
+
"fieldName": "size",
|
|
1220
|
+
"name": "size",
|
|
1221
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
1222
|
+
"type": {
|
|
1223
|
+
"text": "'default' | 'small'"
|
|
1224
|
+
},
|
|
1225
|
+
"default": "'default'",
|
|
1226
|
+
"csc": {
|
|
1227
|
+
"typeAlias": "CFieldSize",
|
|
1228
|
+
"defaultable": true
|
|
1229
|
+
}
|
|
1023
1230
|
},
|
|
1024
1231
|
{
|
|
1025
1232
|
"fieldName": "valid",
|
|
@@ -1029,15 +1236,6 @@
|
|
|
1029
1236
|
"text": "boolean"
|
|
1030
1237
|
},
|
|
1031
1238
|
"default": "true"
|
|
1032
|
-
},
|
|
1033
|
-
{
|
|
1034
|
-
"fieldName": "value",
|
|
1035
|
-
"name": "value",
|
|
1036
|
-
"description": "Selected value (scalar, or object when return-object is set)",
|
|
1037
|
-
"type": {
|
|
1038
|
-
"text": "CAutocompleteItem | null | number | string"
|
|
1039
|
-
},
|
|
1040
|
-
"default": "null"
|
|
1041
1239
|
}
|
|
1042
1240
|
],
|
|
1043
1241
|
"cssParts": [
|
|
@@ -1049,6 +1247,18 @@
|
|
|
1049
1247
|
"name": "card",
|
|
1050
1248
|
"description": "The elevated surface inside the panel holding the search row and the list"
|
|
1051
1249
|
},
|
|
1250
|
+
{
|
|
1251
|
+
"name": "heading-row",
|
|
1252
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
1253
|
+
},
|
|
1254
|
+
{
|
|
1255
|
+
"name": "heading",
|
|
1256
|
+
"description": "The field label naming the fullscreen panel"
|
|
1257
|
+
},
|
|
1258
|
+
{
|
|
1259
|
+
"name": "close",
|
|
1260
|
+
"description": "The close button of the fullscreen panel"
|
|
1261
|
+
},
|
|
1052
1262
|
{
|
|
1053
1263
|
"name": "search",
|
|
1054
1264
|
"description": "The search-input row at the top of the panel"
|
|
@@ -1057,12 +1267,45 @@
|
|
|
1057
1267
|
"name": "list",
|
|
1058
1268
|
"description": "The scrollable options listbox"
|
|
1059
1269
|
},
|
|
1270
|
+
{
|
|
1271
|
+
"name": "item",
|
|
1272
|
+
"description": "One option row in the list"
|
|
1273
|
+
},
|
|
1274
|
+
{
|
|
1275
|
+
"name": "select-all",
|
|
1276
|
+
"description": "The pinned select-all row at the top of the list (`multiple` mode with `select-all`); carries the same indicator / mark parts as an option row"
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
"name": "indicator",
|
|
1280
|
+
"description": "The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together (the c-checkbox recipe)"
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
"name": "mark",
|
|
1284
|
+
"description": "The check glyph inside a row indicator; draws with `currentColor`"
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"name": "match",
|
|
1288
|
+
"description": "A run of an option's label equal to the query, in the row; underlined in the primary colour, text inherits the row"
|
|
1289
|
+
},
|
|
1060
1290
|
{
|
|
1061
1291
|
"name": "info",
|
|
1062
1292
|
"description": "The info row: loading while `loading` with an empty list, otherwise no-results when the query matches no options"
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
"name": "tags",
|
|
1296
|
+
"description": "The row of selected-value tags inside the field (`multiple` mode)"
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"name": "tag",
|
|
1300
|
+
"description": "One selected-value tag: the `c-tag` host, including the overflow tag"
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
"name": "tag-root",
|
|
1304
|
+
"description": "The pill box inside each tag (the `c-tag` `root` part), for colours and borders"
|
|
1063
1305
|
}
|
|
1064
1306
|
],
|
|
1065
1307
|
"cssProperties": [],
|
|
1308
|
+
"cssStates": [],
|
|
1066
1309
|
"events": [
|
|
1067
1310
|
{
|
|
1068
1311
|
"name": "change",
|
|
@@ -1081,9 +1324,9 @@
|
|
|
1081
1324
|
{
|
|
1082
1325
|
"name": "changeValue",
|
|
1083
1326
|
"type": {
|
|
1084
|
-
"text": "CustomEvent<
|
|
1327
|
+
"text": "CustomEvent<CAutocompleteValue>"
|
|
1085
1328
|
},
|
|
1086
|
-
"description": "Fired when the selected value changes (an option is committed or the\nselection is cleared), carrying the new value — the option's value, or\nthe whole `{ name, value }` item when `return-object` is set; `null`\nwhen cleared. Also dispatched as `change-value` — bind that name in Vue templates."
|
|
1329
|
+
"description": "Fired when the selected value changes (an option is committed or the\nselection is cleared), carrying the new value — the option's value, or\nthe whole `{ name, value }` item when `return-object` is set; `null`\nwhen cleared. In `multiple` mode the whole array of picked values, in\npick order (`[]` when cleared). Also dispatched as `change-value` — bind that name in Vue templates."
|
|
1087
1330
|
},
|
|
1088
1331
|
{
|
|
1089
1332
|
"name": "input",
|
|
@@ -1095,7 +1338,7 @@
|
|
|
1095
1338
|
{
|
|
1096
1339
|
"name": "update:value",
|
|
1097
1340
|
"type": {
|
|
1098
|
-
"text": "CustomEvent<
|
|
1341
|
+
"text": "CustomEvent<CAutocompleteValue>"
|
|
1099
1342
|
},
|
|
1100
1343
|
"description": "Fired alongside `changeValue` with the same detail — the `v-model`\ncontract."
|
|
1101
1344
|
}
|
|
@@ -1161,7 +1404,10 @@
|
|
|
1161
1404
|
"type": {
|
|
1162
1405
|
"text": "boolean"
|
|
1163
1406
|
},
|
|
1164
|
-
"default": "false"
|
|
1407
|
+
"default": "false",
|
|
1408
|
+
"csc": {
|
|
1409
|
+
"defaultable": true
|
|
1410
|
+
}
|
|
1165
1411
|
},
|
|
1166
1412
|
{
|
|
1167
1413
|
"kind": "field",
|
|
@@ -1207,7 +1453,10 @@
|
|
|
1207
1453
|
"type": {
|
|
1208
1454
|
"text": "number"
|
|
1209
1455
|
},
|
|
1210
|
-
"default": "6"
|
|
1456
|
+
"default": "6",
|
|
1457
|
+
"csc": {
|
|
1458
|
+
"defaultable": true
|
|
1459
|
+
}
|
|
1211
1460
|
},
|
|
1212
1461
|
{
|
|
1213
1462
|
"kind": "field",
|
|
@@ -1230,7 +1479,10 @@
|
|
|
1230
1479
|
"type": {
|
|
1231
1480
|
"text": "boolean"
|
|
1232
1481
|
},
|
|
1233
|
-
"default": "false"
|
|
1482
|
+
"default": "false",
|
|
1483
|
+
"csc": {
|
|
1484
|
+
"defaultable": true
|
|
1485
|
+
}
|
|
1234
1486
|
},
|
|
1235
1487
|
{
|
|
1236
1488
|
"kind": "field",
|
|
@@ -1244,26 +1496,32 @@
|
|
|
1244
1496
|
},
|
|
1245
1497
|
{
|
|
1246
1498
|
"kind": "field",
|
|
1247
|
-
"name": "
|
|
1499
|
+
"name": "maxTags",
|
|
1248
1500
|
"privacy": "public",
|
|
1249
|
-
"description": "
|
|
1501
|
+
"description": "In `multiple` mode, show at most this many selected-value tags and fold\nthe rest into one \"+N more\" tag; `0` shows no tags and reads \"N selected\"\ninstead; unset shows every tag",
|
|
1250
1502
|
"type": {
|
|
1251
|
-
"text": "
|
|
1252
|
-
},
|
|
1253
|
-
"default": "''",
|
|
1254
|
-
"csc": {
|
|
1255
|
-
"freeform": true
|
|
1503
|
+
"text": "number"
|
|
1256
1504
|
}
|
|
1257
1505
|
},
|
|
1258
1506
|
{
|
|
1259
1507
|
"kind": "field",
|
|
1260
|
-
"name": "
|
|
1508
|
+
"name": "multiple",
|
|
1509
|
+
"privacy": "public",
|
|
1510
|
+
"description": "Allow selecting several options: rows toggle, the panel stays open and\nkeeps its query, `value` becomes an array of the selected values (items\nwith `return-object`) in the order they were picked, and the picks show\nas tags inside the field. Arrays have no attribute form — bind `value` as\na DOM property",
|
|
1511
|
+
"type": {
|
|
1512
|
+
"text": "boolean"
|
|
1513
|
+
},
|
|
1514
|
+
"default": "false"
|
|
1515
|
+
},
|
|
1516
|
+
{
|
|
1517
|
+
"kind": "field",
|
|
1518
|
+
"name": "name",
|
|
1261
1519
|
"privacy": "public",
|
|
1262
|
-
"description": "
|
|
1520
|
+
"description": "Input field name",
|
|
1263
1521
|
"type": {
|
|
1264
1522
|
"text": "string"
|
|
1265
1523
|
},
|
|
1266
|
-
"default": "'
|
|
1524
|
+
"default": "''",
|
|
1267
1525
|
"csc": {
|
|
1268
1526
|
"freeform": true
|
|
1269
1527
|
}
|
|
@@ -1301,6 +1559,16 @@
|
|
|
1301
1559
|
},
|
|
1302
1560
|
"default": "false"
|
|
1303
1561
|
},
|
|
1562
|
+
{
|
|
1563
|
+
"kind": "field",
|
|
1564
|
+
"name": "selectAll",
|
|
1565
|
+
"privacy": "public",
|
|
1566
|
+
"description": "In `multiple` mode, pin a select-all row at the top of the list. Its\ncheckbox shows whether none, some or all enabled options currently listed\n— the matches while a query is typed, the given `items` with `external` —\nare selected; activating it selects them all, or, when all are selected,\nunselects them. Ignored in single mode",
|
|
1567
|
+
"type": {
|
|
1568
|
+
"text": "boolean"
|
|
1569
|
+
},
|
|
1570
|
+
"default": "false"
|
|
1571
|
+
},
|
|
1304
1572
|
{
|
|
1305
1573
|
"kind": "field",
|
|
1306
1574
|
"name": "shadow",
|
|
@@ -1309,7 +1577,37 @@
|
|
|
1309
1577
|
"type": {
|
|
1310
1578
|
"text": "boolean"
|
|
1311
1579
|
},
|
|
1312
|
-
"default": "false"
|
|
1580
|
+
"default": "false",
|
|
1581
|
+
"csc": {
|
|
1582
|
+
"defaultable": true
|
|
1583
|
+
}
|
|
1584
|
+
},
|
|
1585
|
+
{
|
|
1586
|
+
"kind": "field",
|
|
1587
|
+
"name": "size",
|
|
1588
|
+
"privacy": "public",
|
|
1589
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
1590
|
+
"type": {
|
|
1591
|
+
"text": "'default' | 'small'"
|
|
1592
|
+
},
|
|
1593
|
+
"default": "'default'",
|
|
1594
|
+
"csc": {
|
|
1595
|
+
"typeAlias": "CFieldSize",
|
|
1596
|
+
"defaultable": true
|
|
1597
|
+
}
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"kind": "field",
|
|
1601
|
+
"name": "texts",
|
|
1602
|
+
"privacy": "public",
|
|
1603
|
+
"description": "UI text overrides (i18n), merged over the English defaults. Objects have\nno attribute form — bind as a DOM property (`:texts.prop` in Vue)",
|
|
1604
|
+
"type": {
|
|
1605
|
+
"text": "CAutocompleteTexts"
|
|
1606
|
+
},
|
|
1607
|
+
"default": "{}",
|
|
1608
|
+
"csc": {
|
|
1609
|
+
"defaultable": true
|
|
1610
|
+
}
|
|
1313
1611
|
},
|
|
1314
1612
|
{
|
|
1315
1613
|
"kind": "field",
|
|
@@ -1325,9 +1623,9 @@
|
|
|
1325
1623
|
"kind": "field",
|
|
1326
1624
|
"name": "value",
|
|
1327
1625
|
"privacy": "public",
|
|
1328
|
-
"description": "Selected value
|
|
1626
|
+
"description": "Selected value: the option's value, or the whole item with\n`return-object`; an array of them in `multiple` mode",
|
|
1329
1627
|
"type": {
|
|
1330
|
-
"text": "
|
|
1628
|
+
"text": "CAutocompleteValue"
|
|
1331
1629
|
},
|
|
1332
1630
|
"default": "null"
|
|
1333
1631
|
},
|
|
@@ -1393,6 +1691,7 @@
|
|
|
1393
1691
|
}
|
|
1394
1692
|
],
|
|
1395
1693
|
"cssProperties": [],
|
|
1694
|
+
"cssStates": [],
|
|
1396
1695
|
"events": [],
|
|
1397
1696
|
"members": [],
|
|
1398
1697
|
"slots": [
|
|
@@ -1623,6 +1922,7 @@
|
|
|
1623
1922
|
"description": "Font stack applied to the label (native buttons do not inherit it)."
|
|
1624
1923
|
}
|
|
1625
1924
|
],
|
|
1925
|
+
"cssStates": [],
|
|
1626
1926
|
"events": [],
|
|
1627
1927
|
"members": [
|
|
1628
1928
|
{
|
|
@@ -1922,7 +2222,7 @@
|
|
|
1922
2222
|
"cssParts": [
|
|
1923
2223
|
{
|
|
1924
2224
|
"name": "root",
|
|
1925
|
-
"description": "The segmented-control box
|
|
2225
|
+
"description": "The track: the framed segmented-control box the buttons sit in"
|
|
1926
2226
|
},
|
|
1927
2227
|
{
|
|
1928
2228
|
"name": "label",
|
|
@@ -1930,6 +2230,7 @@
|
|
|
1930
2230
|
}
|
|
1931
2231
|
],
|
|
1932
2232
|
"cssProperties": [],
|
|
2233
|
+
"cssStates": [],
|
|
1933
2234
|
"events": [
|
|
1934
2235
|
{
|
|
1935
2236
|
"name": "change",
|
|
@@ -2088,7 +2389,7 @@
|
|
|
2088
2389
|
"cssParts": [
|
|
2089
2390
|
{
|
|
2090
2391
|
"name": "root",
|
|
2091
|
-
"description": "The card's visible surface, carries the background, border, radius, shadow and section spacing"
|
|
2392
|
+
"description": "The card's visible surface, carries the background and its ink, border, radius, shadow and section spacing"
|
|
2092
2393
|
},
|
|
2093
2394
|
{
|
|
2094
2395
|
"name": "fullscreen-toggle",
|
|
@@ -2096,6 +2397,7 @@
|
|
|
2096
2397
|
}
|
|
2097
2398
|
],
|
|
2098
2399
|
"cssProperties": [],
|
|
2400
|
+
"cssStates": [],
|
|
2099
2401
|
"events": [],
|
|
2100
2402
|
"members": [
|
|
2101
2403
|
{
|
|
@@ -2200,6 +2502,7 @@
|
|
|
2200
2502
|
}
|
|
2201
2503
|
],
|
|
2202
2504
|
"cssProperties": [],
|
|
2505
|
+
"cssStates": [],
|
|
2203
2506
|
"events": [],
|
|
2204
2507
|
"members": [
|
|
2205
2508
|
{
|
|
@@ -2273,6 +2576,7 @@
|
|
|
2273
2576
|
}
|
|
2274
2577
|
],
|
|
2275
2578
|
"cssProperties": [],
|
|
2579
|
+
"cssStates": [],
|
|
2276
2580
|
"events": [],
|
|
2277
2581
|
"members": [],
|
|
2278
2582
|
"slots": [
|
|
@@ -2335,6 +2639,7 @@
|
|
|
2335
2639
|
}
|
|
2336
2640
|
],
|
|
2337
2641
|
"cssProperties": [],
|
|
2642
|
+
"cssStates": [],
|
|
2338
2643
|
"events": [],
|
|
2339
2644
|
"members": [],
|
|
2340
2645
|
"slots": [
|
|
@@ -2344,7 +2649,7 @@
|
|
|
2344
2649
|
},
|
|
2345
2650
|
{
|
|
2346
2651
|
"name": "actions",
|
|
2347
|
-
"description": "Action controls shown to the right of the title"
|
|
2652
|
+
"description": "Action controls shown to the right of the title, or under it when the two do not fit side by side"
|
|
2348
2653
|
}
|
|
2349
2654
|
]
|
|
2350
2655
|
}
|
|
@@ -2377,6 +2682,10 @@
|
|
|
2377
2682
|
"kind": "class",
|
|
2378
2683
|
"name": "CCheckbox",
|
|
2379
2684
|
"tagName": "c-checkbox",
|
|
2685
|
+
"description": "A form control for a single on/off choice: a native checkbox with a label, an optional hint, and validation messaging.",
|
|
2686
|
+
"csc": {
|
|
2687
|
+
"usage": "docs/c-checkbox/usage.md"
|
|
2688
|
+
},
|
|
2380
2689
|
"attributes": [
|
|
2381
2690
|
{
|
|
2382
2691
|
"fieldName": "checked",
|
|
@@ -2531,7 +2840,11 @@
|
|
|
2531
2840
|
},
|
|
2532
2841
|
{
|
|
2533
2842
|
"name": "indicator",
|
|
2534
|
-
"description": "The
|
|
2843
|
+
"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"
|
|
2844
|
+
},
|
|
2845
|
+
{
|
|
2846
|
+
"name": "mark",
|
|
2847
|
+
"description": "The SVG check / indeterminate glyph revealed inside the indicator; draws with `currentColor`, so `color` recolours it"
|
|
2535
2848
|
},
|
|
2536
2849
|
{
|
|
2537
2850
|
"name": "content",
|
|
@@ -2539,10 +2852,20 @@
|
|
|
2539
2852
|
},
|
|
2540
2853
|
{
|
|
2541
2854
|
"name": "message",
|
|
2542
|
-
"description": "The hint / error message
|
|
2855
|
+
"description": "The hint / error message area below the checkbox (always reserved unless `hide-details`)"
|
|
2543
2856
|
}
|
|
2544
2857
|
],
|
|
2545
2858
|
"cssProperties": [],
|
|
2859
|
+
"cssStates": [
|
|
2860
|
+
{
|
|
2861
|
+
"name": "checked",
|
|
2862
|
+
"description": "Present while the checkbox is checked"
|
|
2863
|
+
},
|
|
2864
|
+
{
|
|
2865
|
+
"name": "indeterminate",
|
|
2866
|
+
"description": "Present while the checkbox is in the indeterminate state"
|
|
2867
|
+
}
|
|
2868
|
+
],
|
|
2546
2869
|
"events": [
|
|
2547
2870
|
{
|
|
2548
2871
|
"name": "change",
|
|
@@ -2784,6 +3107,7 @@
|
|
|
2784
3107
|
}
|
|
2785
3108
|
],
|
|
2786
3109
|
"cssProperties": [],
|
|
3110
|
+
"cssStates": [],
|
|
2787
3111
|
"events": [],
|
|
2788
3112
|
"members": [
|
|
2789
3113
|
{
|
|
@@ -2998,6 +3322,7 @@
|
|
|
2998
3322
|
}
|
|
2999
3323
|
],
|
|
3000
3324
|
"cssProperties": [],
|
|
3325
|
+
"cssStates": [],
|
|
3001
3326
|
"events": [
|
|
3002
3327
|
{
|
|
3003
3328
|
"name": "change:expanded",
|
|
@@ -3231,7 +3556,10 @@
|
|
|
3231
3556
|
"type": {
|
|
3232
3557
|
"text": "CDataTableTexts"
|
|
3233
3558
|
},
|
|
3234
|
-
"default": "
|
|
3559
|
+
"default": "{}",
|
|
3560
|
+
"csc": {
|
|
3561
|
+
"defaultable": true
|
|
3562
|
+
}
|
|
3235
3563
|
}
|
|
3236
3564
|
],
|
|
3237
3565
|
"slots": [
|
|
@@ -3292,6 +3620,7 @@
|
|
|
3292
3620
|
}
|
|
3293
3621
|
],
|
|
3294
3622
|
"cssProperties": [],
|
|
3623
|
+
"cssStates": [],
|
|
3295
3624
|
"events": [],
|
|
3296
3625
|
"members": [
|
|
3297
3626
|
{
|
|
@@ -3337,6 +3666,18 @@
|
|
|
3337
3666
|
"name": "CDropdown",
|
|
3338
3667
|
"tagName": "c-dropdown",
|
|
3339
3668
|
"attributes": [
|
|
3669
|
+
{
|
|
3670
|
+
"fieldName": "closeLabel",
|
|
3671
|
+
"name": "close-label",
|
|
3672
|
+
"description": "Accessible label of the fullscreen panel's close button (narrow viewports)",
|
|
3673
|
+
"type": {
|
|
3674
|
+
"text": "string"
|
|
3675
|
+
},
|
|
3676
|
+
"default": "'Close'",
|
|
3677
|
+
"csc": {
|
|
3678
|
+
"freeform": true
|
|
3679
|
+
}
|
|
3680
|
+
},
|
|
3340
3681
|
{
|
|
3341
3682
|
"fieldName": "dropdownItemType",
|
|
3342
3683
|
"name": "dropdown-item-type",
|
|
@@ -3364,7 +3705,7 @@
|
|
|
3364
3705
|
{
|
|
3365
3706
|
"fieldName": "index",
|
|
3366
3707
|
"name": "index",
|
|
3367
|
-
"description": "Current highlighted index",
|
|
3708
|
+
"description": "Current highlighted index; `-1` (`SELECT_ALL_INDEX`) is the select-all row",
|
|
3368
3709
|
"type": {
|
|
3369
3710
|
"text": "null | number"
|
|
3370
3711
|
},
|
|
@@ -3388,6 +3729,27 @@
|
|
|
3388
3729
|
},
|
|
3389
3730
|
"default": "0"
|
|
3390
3731
|
},
|
|
3732
|
+
{
|
|
3733
|
+
"fieldName": "label",
|
|
3734
|
+
"name": "label",
|
|
3735
|
+
"description": "The parent field's label, shown as the fullscreen panel's heading (narrow viewports)",
|
|
3736
|
+
"type": {
|
|
3737
|
+
"text": "string"
|
|
3738
|
+
},
|
|
3739
|
+
"default": "''",
|
|
3740
|
+
"csc": {
|
|
3741
|
+
"freeform": true
|
|
3742
|
+
}
|
|
3743
|
+
},
|
|
3744
|
+
{
|
|
3745
|
+
"fieldName": "multiple",
|
|
3746
|
+
"name": "multiple",
|
|
3747
|
+
"description": "Multi-select mode: rows toggle instead of committing, each carries a\ndecorative checkbox indicator, and the listbox is `aria-multiselectable`",
|
|
3748
|
+
"type": {
|
|
3749
|
+
"text": "boolean"
|
|
3750
|
+
},
|
|
3751
|
+
"default": "false"
|
|
3752
|
+
},
|
|
3391
3753
|
{
|
|
3392
3754
|
"fieldName": "parent",
|
|
3393
3755
|
"name": "parent",
|
|
@@ -3397,6 +3759,15 @@
|
|
|
3397
3759
|
},
|
|
3398
3760
|
"default": "null"
|
|
3399
3761
|
},
|
|
3762
|
+
{
|
|
3763
|
+
"fieldName": "selectAllRow",
|
|
3764
|
+
"name": "select-all-row",
|
|
3765
|
+
"description": "The select-all row in `multiple` mode, as the parent computes it (label,\ntri-state, counts for the live region); `null` renders no row",
|
|
3766
|
+
"type": {
|
|
3767
|
+
"text": "CDropdownSelectAllRow | null"
|
|
3768
|
+
},
|
|
3769
|
+
"default": "null"
|
|
3770
|
+
},
|
|
3400
3771
|
{
|
|
3401
3772
|
"fieldName": "type",
|
|
3402
3773
|
"name": "type",
|
|
@@ -3410,8 +3781,46 @@
|
|
|
3410
3781
|
}
|
|
3411
3782
|
}
|
|
3412
3783
|
],
|
|
3413
|
-
"cssParts": [
|
|
3784
|
+
"cssParts": [
|
|
3785
|
+
{
|
|
3786
|
+
"name": "menu",
|
|
3787
|
+
"description": "The positioned dialog surface holding the field and the list"
|
|
3788
|
+
},
|
|
3789
|
+
{
|
|
3790
|
+
"name": "heading-row",
|
|
3791
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
3792
|
+
},
|
|
3793
|
+
{
|
|
3794
|
+
"name": "heading",
|
|
3795
|
+
"description": "The field label naming the fullscreen panel"
|
|
3796
|
+
},
|
|
3797
|
+
{
|
|
3798
|
+
"name": "close",
|
|
3799
|
+
"description": "The close button of the fullscreen panel"
|
|
3800
|
+
},
|
|
3801
|
+
{
|
|
3802
|
+
"name": "list",
|
|
3803
|
+
"description": "The scrolling listbox"
|
|
3804
|
+
},
|
|
3805
|
+
{
|
|
3806
|
+
"name": "item",
|
|
3807
|
+
"description": "One option row"
|
|
3808
|
+
},
|
|
3809
|
+
{
|
|
3810
|
+
"name": "select-all",
|
|
3811
|
+
"description": "The pinned select-all row at the top of the list in `multiple` mode; carries the same indicator / mark parts as an option row"
|
|
3812
|
+
},
|
|
3813
|
+
{
|
|
3814
|
+
"name": "indicator",
|
|
3815
|
+
"description": "The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together"
|
|
3816
|
+
},
|
|
3817
|
+
{
|
|
3818
|
+
"name": "mark",
|
|
3819
|
+
"description": "The check glyph inside a row indicator; draws with `currentColor`"
|
|
3820
|
+
}
|
|
3821
|
+
],
|
|
3414
3822
|
"cssProperties": [],
|
|
3823
|
+
"cssStates": [],
|
|
3415
3824
|
"events": [
|
|
3416
3825
|
{
|
|
3417
3826
|
"name": "dropdownStateChange",
|
|
@@ -3420,6 +3829,13 @@
|
|
|
3420
3829
|
},
|
|
3421
3830
|
"description": "Fired when the dropdown menu opens or closes; the detail is the new open\nstate. Also dispatched as `dropdown-state-change` — bind that name in Vue templates."
|
|
3422
3831
|
},
|
|
3832
|
+
{
|
|
3833
|
+
"name": "selectall",
|
|
3834
|
+
"type": {
|
|
3835
|
+
"text": "CustomEvent<void>"
|
|
3836
|
+
},
|
|
3837
|
+
"description": "Fired when the select-all row is activated; the parent (c-select) toggles\nevery listed enabled option."
|
|
3838
|
+
},
|
|
3423
3839
|
{
|
|
3424
3840
|
"name": "selectOption",
|
|
3425
3841
|
"type": {
|
|
@@ -3429,6 +3845,19 @@
|
|
|
3429
3845
|
}
|
|
3430
3846
|
],
|
|
3431
3847
|
"members": [
|
|
3848
|
+
{
|
|
3849
|
+
"kind": "field",
|
|
3850
|
+
"name": "closeLabel",
|
|
3851
|
+
"privacy": "public",
|
|
3852
|
+
"description": "Accessible label of the fullscreen panel's close button (narrow viewports)",
|
|
3853
|
+
"type": {
|
|
3854
|
+
"text": "string"
|
|
3855
|
+
},
|
|
3856
|
+
"default": "'Close'",
|
|
3857
|
+
"csc": {
|
|
3858
|
+
"freeform": true
|
|
3859
|
+
}
|
|
3860
|
+
},
|
|
3432
3861
|
{
|
|
3433
3862
|
"kind": "field",
|
|
3434
3863
|
"name": "dropdownItemType",
|
|
@@ -3459,7 +3888,7 @@
|
|
|
3459
3888
|
"kind": "field",
|
|
3460
3889
|
"name": "index",
|
|
3461
3890
|
"privacy": "public",
|
|
3462
|
-
"description": "Current highlighted index",
|
|
3891
|
+
"description": "Current highlighted index; `-1` (`SELECT_ALL_INDEX`) is the select-all row",
|
|
3463
3892
|
"type": {
|
|
3464
3893
|
"text": "null | number"
|
|
3465
3894
|
},
|
|
@@ -3485,6 +3914,29 @@
|
|
|
3485
3914
|
},
|
|
3486
3915
|
"default": "0"
|
|
3487
3916
|
},
|
|
3917
|
+
{
|
|
3918
|
+
"kind": "field",
|
|
3919
|
+
"name": "label",
|
|
3920
|
+
"privacy": "public",
|
|
3921
|
+
"description": "The parent field's label, shown as the fullscreen panel's heading (narrow viewports)",
|
|
3922
|
+
"type": {
|
|
3923
|
+
"text": "string"
|
|
3924
|
+
},
|
|
3925
|
+
"default": "''",
|
|
3926
|
+
"csc": {
|
|
3927
|
+
"freeform": true
|
|
3928
|
+
}
|
|
3929
|
+
},
|
|
3930
|
+
{
|
|
3931
|
+
"kind": "field",
|
|
3932
|
+
"name": "multiple",
|
|
3933
|
+
"privacy": "public",
|
|
3934
|
+
"description": "Multi-select mode: rows toggle instead of committing, each carries a\ndecorative checkbox indicator, and the listbox is `aria-multiselectable`",
|
|
3935
|
+
"type": {
|
|
3936
|
+
"text": "boolean"
|
|
3937
|
+
},
|
|
3938
|
+
"default": "false"
|
|
3939
|
+
},
|
|
3488
3940
|
{
|
|
3489
3941
|
"kind": "field",
|
|
3490
3942
|
"name": "parent",
|
|
@@ -3495,6 +3947,26 @@
|
|
|
3495
3947
|
},
|
|
3496
3948
|
"default": "null"
|
|
3497
3949
|
},
|
|
3950
|
+
{
|
|
3951
|
+
"kind": "field",
|
|
3952
|
+
"name": "selectAllRow",
|
|
3953
|
+
"privacy": "public",
|
|
3954
|
+
"description": "The select-all row in `multiple` mode, as the parent computes it (label,\ntri-state, counts for the live region); `null` renders no row",
|
|
3955
|
+
"type": {
|
|
3956
|
+
"text": "CDropdownSelectAllRow | null"
|
|
3957
|
+
},
|
|
3958
|
+
"default": "null"
|
|
3959
|
+
},
|
|
3960
|
+
{
|
|
3961
|
+
"kind": "field",
|
|
3962
|
+
"name": "selected",
|
|
3963
|
+
"privacy": "public",
|
|
3964
|
+
"description": "Values of the currently selected items — the picked values in `multiple`\nmode, the single value otherwise; drives each row's `aria-selected`, its\nindicator and the single-mode selected-row check",
|
|
3965
|
+
"type": {
|
|
3966
|
+
"text": "(number | string)[]"
|
|
3967
|
+
},
|
|
3968
|
+
"default": "() => []"
|
|
3969
|
+
},
|
|
3498
3970
|
{
|
|
3499
3971
|
"kind": "field",
|
|
3500
3972
|
"name": "type",
|
|
@@ -3646,6 +4118,7 @@
|
|
|
3646
4118
|
}
|
|
3647
4119
|
],
|
|
3648
4120
|
"cssProperties": [],
|
|
4121
|
+
"cssStates": [],
|
|
3649
4122
|
"events": [],
|
|
3650
4123
|
"members": [
|
|
3651
4124
|
{
|
|
@@ -3828,6 +4301,7 @@
|
|
|
3828
4301
|
}
|
|
3829
4302
|
],
|
|
3830
4303
|
"cssProperties": [],
|
|
4304
|
+
"cssStates": [],
|
|
3831
4305
|
"events": [],
|
|
3832
4306
|
"members": [
|
|
3833
4307
|
{
|
|
@@ -4094,6 +4568,18 @@
|
|
|
4094
4568
|
},
|
|
4095
4569
|
"default": "false"
|
|
4096
4570
|
},
|
|
4571
|
+
{
|
|
4572
|
+
"fieldName": "size",
|
|
4573
|
+
"name": "size",
|
|
4574
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
4575
|
+
"type": {
|
|
4576
|
+
"text": "'default' | 'small'"
|
|
4577
|
+
},
|
|
4578
|
+
"default": "'default'",
|
|
4579
|
+
"csc": {
|
|
4580
|
+
"typeAlias": "CFieldSize"
|
|
4581
|
+
}
|
|
4582
|
+
},
|
|
4097
4583
|
{
|
|
4098
4584
|
"fieldName": "valid",
|
|
4099
4585
|
"name": "valid",
|
|
@@ -4127,6 +4613,7 @@
|
|
|
4127
4613
|
}
|
|
4128
4614
|
],
|
|
4129
4615
|
"cssProperties": [],
|
|
4616
|
+
"cssStates": [],
|
|
4130
4617
|
"events": [],
|
|
4131
4618
|
"members": [
|
|
4132
4619
|
{
|
|
@@ -4261,6 +4748,19 @@
|
|
|
4261
4748
|
},
|
|
4262
4749
|
"default": "false"
|
|
4263
4750
|
},
|
|
4751
|
+
{
|
|
4752
|
+
"kind": "field",
|
|
4753
|
+
"name": "size",
|
|
4754
|
+
"privacy": "public",
|
|
4755
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
4756
|
+
"type": {
|
|
4757
|
+
"text": "'default' | 'small'"
|
|
4758
|
+
},
|
|
4759
|
+
"default": "'default'",
|
|
4760
|
+
"csc": {
|
|
4761
|
+
"typeAlias": "CFieldSize"
|
|
4762
|
+
}
|
|
4763
|
+
},
|
|
4264
4764
|
{
|
|
4265
4765
|
"kind": "field",
|
|
4266
4766
|
"name": "valid",
|
|
@@ -4371,6 +4871,7 @@
|
|
|
4371
4871
|
}
|
|
4372
4872
|
],
|
|
4373
4873
|
"cssProperties": [],
|
|
4874
|
+
"cssStates": [],
|
|
4374
4875
|
"events": [],
|
|
4375
4876
|
"members": [
|
|
4376
4877
|
{
|
|
@@ -4489,6 +4990,7 @@
|
|
|
4489
4990
|
}
|
|
4490
4991
|
],
|
|
4491
4992
|
"cssProperties": [],
|
|
4993
|
+
"cssStates": [],
|
|
4492
4994
|
"events": [],
|
|
4493
4995
|
"members": [
|
|
4494
4996
|
{
|
|
@@ -4626,6 +5128,7 @@
|
|
|
4626
5128
|
}
|
|
4627
5129
|
],
|
|
4628
5130
|
"cssProperties": [],
|
|
5131
|
+
"cssStates": [],
|
|
4629
5132
|
"events": [],
|
|
4630
5133
|
"members": [
|
|
4631
5134
|
{
|
|
@@ -4767,6 +5270,7 @@
|
|
|
4767
5270
|
}
|
|
4768
5271
|
],
|
|
4769
5272
|
"cssProperties": [],
|
|
5273
|
+
"cssStates": [],
|
|
4770
5274
|
"events": [],
|
|
4771
5275
|
"members": [
|
|
4772
5276
|
{
|
|
@@ -4869,6 +5373,7 @@
|
|
|
4869
5373
|
}
|
|
4870
5374
|
],
|
|
4871
5375
|
"cssProperties": [],
|
|
5376
|
+
"cssStates": [],
|
|
4872
5377
|
"events": [],
|
|
4873
5378
|
"members": [
|
|
4874
5379
|
{
|
|
@@ -5009,9 +5514,13 @@
|
|
|
5009
5514
|
"name": "root",
|
|
5010
5515
|
"description": "The anchor element forming the whole clickable card"
|
|
5011
5516
|
},
|
|
5517
|
+
{
|
|
5518
|
+
"name": "image-wrap",
|
|
5519
|
+
"description": "The area above the title bar that centers the logo (default image or slotted content)"
|
|
5520
|
+
},
|
|
5012
5521
|
{
|
|
5013
5522
|
"name": "image",
|
|
5014
|
-
"description": "The provider logo
|
|
5523
|
+
"description": "The default provider logo `<img>` (absent when the `image` slot is used)"
|
|
5015
5524
|
},
|
|
5016
5525
|
{
|
|
5017
5526
|
"name": "title",
|
|
@@ -5019,6 +5528,7 @@
|
|
|
5019
5528
|
}
|
|
5020
5529
|
],
|
|
5021
5530
|
"cssProperties": [],
|
|
5531
|
+
"cssStates": [],
|
|
5022
5532
|
"events": [],
|
|
5023
5533
|
"members": [
|
|
5024
5534
|
{
|
|
@@ -5064,7 +5574,11 @@
|
|
|
5064
5574
|
"slots": [
|
|
5065
5575
|
{
|
|
5066
5576
|
"name": "default",
|
|
5067
|
-
"description": "
|
|
5577
|
+
"description": "The title shown in the bottom bar"
|
|
5578
|
+
},
|
|
5579
|
+
{
|
|
5580
|
+
"name": "image",
|
|
5581
|
+
"description": "Custom provider logo markup (an inline `<svg>`, a `<picture>`, …) replacing the default `<img>` rendered from `src`"
|
|
5068
5582
|
}
|
|
5069
5583
|
]
|
|
5070
5584
|
}
|
|
@@ -5105,6 +5619,7 @@
|
|
|
5105
5619
|
"attributes": [],
|
|
5106
5620
|
"cssParts": [],
|
|
5107
5621
|
"cssProperties": [],
|
|
5622
|
+
"cssStates": [],
|
|
5108
5623
|
"events": [],
|
|
5109
5624
|
"members": [],
|
|
5110
5625
|
"slots": [
|
|
@@ -5225,6 +5740,7 @@
|
|
|
5225
5740
|
}
|
|
5226
5741
|
],
|
|
5227
5742
|
"cssProperties": [],
|
|
5743
|
+
"cssStates": [],
|
|
5228
5744
|
"events": [],
|
|
5229
5745
|
"members": [
|
|
5230
5746
|
{
|
|
@@ -5360,6 +5876,7 @@
|
|
|
5360
5876
|
}
|
|
5361
5877
|
],
|
|
5362
5878
|
"cssProperties": [],
|
|
5879
|
+
"cssStates": [],
|
|
5363
5880
|
"events": [],
|
|
5364
5881
|
"members": [
|
|
5365
5882
|
{
|
|
@@ -5433,6 +5950,7 @@
|
|
|
5433
5950
|
}
|
|
5434
5951
|
],
|
|
5435
5952
|
"cssProperties": [],
|
|
5953
|
+
"cssStates": [],
|
|
5436
5954
|
"events": [],
|
|
5437
5955
|
"members": [],
|
|
5438
5956
|
"slots": [
|
|
@@ -5479,6 +5997,7 @@
|
|
|
5479
5997
|
}
|
|
5480
5998
|
],
|
|
5481
5999
|
"cssProperties": [],
|
|
6000
|
+
"cssStates": [],
|
|
5482
6001
|
"events": [],
|
|
5483
6002
|
"members": [],
|
|
5484
6003
|
"slots": [
|
|
@@ -5517,7 +6036,7 @@
|
|
|
5517
6036
|
"kind": "class",
|
|
5518
6037
|
"name": "CMain",
|
|
5519
6038
|
"tagName": "c-main",
|
|
5520
|
-
"description": "
|
|
6039
|
+
"description": "The page shell of an application: it paints the page canvas and lays out the toolbar, the side navigation and the page in the dashboard layout. It is at least a viewport tall and grows with its content, so the document — not a component — is what scrolls.",
|
|
5521
6040
|
"csc": {
|
|
5522
6041
|
"usage": "docs/c-main/usage.md"
|
|
5523
6042
|
},
|
|
@@ -5535,10 +6054,16 @@
|
|
|
5535
6054
|
"cssParts": [
|
|
5536
6055
|
{
|
|
5537
6056
|
"name": "root",
|
|
5538
|
-
"description": "The main element carrying the page
|
|
6057
|
+
"description": "The main element carrying the page canvas and the dashboard grid layout"
|
|
5539
6058
|
}
|
|
5540
6059
|
],
|
|
5541
|
-
"cssProperties": [
|
|
6060
|
+
"cssProperties": [
|
|
6061
|
+
{
|
|
6062
|
+
"name": "--c-main-viewport-height",
|
|
6063
|
+
"description": "Height of the scroll viewport the layout pins against (default `100dvh`); a bounded shell with its own scrollbar sets it to its box height"
|
|
6064
|
+
}
|
|
6065
|
+
],
|
|
6066
|
+
"cssStates": [],
|
|
5542
6067
|
"events": [],
|
|
5543
6068
|
"members": [
|
|
5544
6069
|
{
|
|
@@ -5555,7 +6080,11 @@
|
|
|
5555
6080
|
"slots": [
|
|
5556
6081
|
{
|
|
5557
6082
|
"name": "default",
|
|
5558
|
-
"description": "Contents of the page"
|
|
6083
|
+
"description": "Contents of the page: the toolbar, side navigation and page"
|
|
6084
|
+
},
|
|
6085
|
+
{
|
|
6086
|
+
"name": "banner",
|
|
6087
|
+
"description": "A full-width message strip above the toolbar; it scrolls away with the page"
|
|
5559
6088
|
}
|
|
5560
6089
|
]
|
|
5561
6090
|
}
|
|
@@ -5588,7 +6117,9 @@
|
|
|
5588
6117
|
"kind": "class",
|
|
5589
6118
|
"name": "CMenu",
|
|
5590
6119
|
"tagName": "c-menu",
|
|
6120
|
+
"description": "A command menu: a transient panel of actions or navigation choices opened from a trigger (the WAI-ARIA menu-button pattern), authored declaratively with slotted `c-menu-item`, `c-menu-label` and `c-divider` elements. Activating an item fires a one-off `select` event and closes the menu; the menu holds no selected value — that is `c-select`'s job.",
|
|
5591
6121
|
"csc": {
|
|
6122
|
+
"usage": "docs/c-menu/usage.md",
|
|
5592
6123
|
"subcomponents": [
|
|
5593
6124
|
"c-menu-item",
|
|
5594
6125
|
"c-menu-label"
|
|
@@ -5622,7 +6153,15 @@
|
|
|
5622
6153
|
},
|
|
5623
6154
|
"default": "'bottom-start'",
|
|
5624
6155
|
"csc": {
|
|
5625
|
-
"typeAlias": "
|
|
6156
|
+
"typeAlias": "CPlacement"
|
|
6157
|
+
}
|
|
6158
|
+
},
|
|
6159
|
+
{
|
|
6160
|
+
"fieldName": "trigger",
|
|
6161
|
+
"name": "trigger",
|
|
6162
|
+
"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.",
|
|
6163
|
+
"type": {
|
|
6164
|
+
"text": "HTMLElement | string"
|
|
5626
6165
|
}
|
|
5627
6166
|
}
|
|
5628
6167
|
],
|
|
@@ -5641,6 +6180,7 @@
|
|
|
5641
6180
|
}
|
|
5642
6181
|
],
|
|
5643
6182
|
"cssProperties": [],
|
|
6183
|
+
"cssStates": [],
|
|
5644
6184
|
"events": [
|
|
5645
6185
|
{
|
|
5646
6186
|
"name": "change:open",
|
|
@@ -5688,7 +6228,16 @@
|
|
|
5688
6228
|
},
|
|
5689
6229
|
"default": "'bottom-start'",
|
|
5690
6230
|
"csc": {
|
|
5691
|
-
"typeAlias": "
|
|
6231
|
+
"typeAlias": "CPlacement"
|
|
6232
|
+
}
|
|
6233
|
+
},
|
|
6234
|
+
{
|
|
6235
|
+
"kind": "field",
|
|
6236
|
+
"name": "trigger",
|
|
6237
|
+
"privacy": "public",
|
|
6238
|
+
"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.",
|
|
6239
|
+
"type": {
|
|
6240
|
+
"text": "HTMLElement | string"
|
|
5692
6241
|
}
|
|
5693
6242
|
}
|
|
5694
6243
|
],
|
|
@@ -5737,6 +6286,26 @@
|
|
|
5737
6286
|
"usage": "docs/c-menu-item/usage.md"
|
|
5738
6287
|
},
|
|
5739
6288
|
"attributes": [
|
|
6289
|
+
{
|
|
6290
|
+
"fieldName": "active",
|
|
6291
|
+
"name": "active",
|
|
6292
|
+
"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).",
|
|
6293
|
+
"type": {
|
|
6294
|
+
"text": "boolean"
|
|
6295
|
+
}
|
|
6296
|
+
},
|
|
6297
|
+
{
|
|
6298
|
+
"fieldName": "activeIcon",
|
|
6299
|
+
"name": "active-icon",
|
|
6300
|
+
"description": "SVG path for the trailing indicator shown while `active`; defaults to a\ncheck mark.",
|
|
6301
|
+
"type": {
|
|
6302
|
+
"text": "string"
|
|
6303
|
+
},
|
|
6304
|
+
"default": "''",
|
|
6305
|
+
"csc": {
|
|
6306
|
+
"freeform": "SVG path data"
|
|
6307
|
+
}
|
|
6308
|
+
},
|
|
5740
6309
|
{
|
|
5741
6310
|
"fieldName": "danger",
|
|
5742
6311
|
"name": "danger",
|
|
@@ -5755,6 +6324,18 @@
|
|
|
5755
6324
|
},
|
|
5756
6325
|
"default": "false"
|
|
5757
6326
|
},
|
|
6327
|
+
{
|
|
6328
|
+
"fieldName": "icon",
|
|
6329
|
+
"name": "icon",
|
|
6330
|
+
"description": "SVG path for a leading icon rendered before the item's content.",
|
|
6331
|
+
"type": {
|
|
6332
|
+
"text": "string"
|
|
6333
|
+
},
|
|
6334
|
+
"default": "''",
|
|
6335
|
+
"csc": {
|
|
6336
|
+
"freeform": "SVG path data"
|
|
6337
|
+
}
|
|
6338
|
+
},
|
|
5758
6339
|
{
|
|
5759
6340
|
"fieldName": "value",
|
|
5760
6341
|
"name": "value",
|
|
@@ -5776,6 +6357,14 @@
|
|
|
5776
6357
|
"name": "content",
|
|
5777
6358
|
"description": "The flex wrapper around the default-slot content"
|
|
5778
6359
|
},
|
|
6360
|
+
{
|
|
6361
|
+
"name": "icon",
|
|
6362
|
+
"description": "The leading icon rendered from the `icon` prop"
|
|
6363
|
+
},
|
|
6364
|
+
{
|
|
6365
|
+
"name": "check",
|
|
6366
|
+
"description": "The trailing indicator icon shown while the item is active"
|
|
6367
|
+
},
|
|
5779
6368
|
{
|
|
5780
6369
|
"name": "submenu-panel",
|
|
5781
6370
|
"description": "The floating popover holding the submenu"
|
|
@@ -5786,8 +6375,31 @@
|
|
|
5786
6375
|
}
|
|
5787
6376
|
],
|
|
5788
6377
|
"cssProperties": [],
|
|
6378
|
+
"cssStates": [],
|
|
5789
6379
|
"events": [],
|
|
5790
6380
|
"members": [
|
|
6381
|
+
{
|
|
6382
|
+
"kind": "field",
|
|
6383
|
+
"name": "active",
|
|
6384
|
+
"privacy": "public",
|
|
6385
|
+
"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).",
|
|
6386
|
+
"type": {
|
|
6387
|
+
"text": "boolean"
|
|
6388
|
+
}
|
|
6389
|
+
},
|
|
6390
|
+
{
|
|
6391
|
+
"kind": "field",
|
|
6392
|
+
"name": "activeIcon",
|
|
6393
|
+
"privacy": "public",
|
|
6394
|
+
"description": "SVG path for the trailing indicator shown while `active`; defaults to a\ncheck mark.",
|
|
6395
|
+
"type": {
|
|
6396
|
+
"text": "string"
|
|
6397
|
+
},
|
|
6398
|
+
"default": "''",
|
|
6399
|
+
"csc": {
|
|
6400
|
+
"freeform": "SVG path data"
|
|
6401
|
+
}
|
|
6402
|
+
},
|
|
5791
6403
|
{
|
|
5792
6404
|
"kind": "field",
|
|
5793
6405
|
"name": "danger",
|
|
@@ -5808,6 +6420,19 @@
|
|
|
5808
6420
|
},
|
|
5809
6421
|
"default": "false"
|
|
5810
6422
|
},
|
|
6423
|
+
{
|
|
6424
|
+
"kind": "field",
|
|
6425
|
+
"name": "icon",
|
|
6426
|
+
"privacy": "public",
|
|
6427
|
+
"description": "SVG path for a leading icon rendered before the item's content.",
|
|
6428
|
+
"type": {
|
|
6429
|
+
"text": "string"
|
|
6430
|
+
},
|
|
6431
|
+
"default": "''",
|
|
6432
|
+
"csc": {
|
|
6433
|
+
"freeform": "SVG path data"
|
|
6434
|
+
}
|
|
6435
|
+
},
|
|
5811
6436
|
{
|
|
5812
6437
|
"kind": "field",
|
|
5813
6438
|
"name": "value",
|
|
@@ -5828,6 +6453,14 @@
|
|
|
5828
6453
|
"signature": "()"
|
|
5829
6454
|
}
|
|
5830
6455
|
},
|
|
6456
|
+
{
|
|
6457
|
+
"kind": "method",
|
|
6458
|
+
"name": "isSubmenuOpen",
|
|
6459
|
+
"privacy": "public",
|
|
6460
|
+
"csc": {
|
|
6461
|
+
"signature": "(): boolean"
|
|
6462
|
+
}
|
|
6463
|
+
},
|
|
5831
6464
|
{
|
|
5832
6465
|
"kind": "method",
|
|
5833
6466
|
"name": "openSubmenu",
|
|
@@ -5889,6 +6522,7 @@
|
|
|
5889
6522
|
}
|
|
5890
6523
|
],
|
|
5891
6524
|
"cssProperties": [],
|
|
6525
|
+
"cssStates": [],
|
|
5892
6526
|
"events": [],
|
|
5893
6527
|
"members": [],
|
|
5894
6528
|
"slots": [
|
|
@@ -5981,6 +6615,7 @@
|
|
|
5981
6615
|
}
|
|
5982
6616
|
],
|
|
5983
6617
|
"cssProperties": [],
|
|
6618
|
+
"cssStates": [],
|
|
5984
6619
|
"events": [],
|
|
5985
6620
|
"members": [
|
|
5986
6621
|
{
|
|
@@ -6117,6 +6752,7 @@
|
|
|
6117
6752
|
}
|
|
6118
6753
|
],
|
|
6119
6754
|
"cssProperties": [],
|
|
6755
|
+
"cssStates": [],
|
|
6120
6756
|
"events": [
|
|
6121
6757
|
{
|
|
6122
6758
|
"name": "changeValue",
|
|
@@ -6226,6 +6862,7 @@
|
|
|
6226
6862
|
}
|
|
6227
6863
|
],
|
|
6228
6864
|
"cssProperties": [],
|
|
6865
|
+
"cssStates": [],
|
|
6229
6866
|
"events": [],
|
|
6230
6867
|
"members": [],
|
|
6231
6868
|
"slots": []
|
|
@@ -6300,6 +6937,7 @@
|
|
|
6300
6937
|
],
|
|
6301
6938
|
"cssParts": [],
|
|
6302
6939
|
"cssProperties": [],
|
|
6940
|
+
"cssStates": [],
|
|
6303
6941
|
"events": [],
|
|
6304
6942
|
"members": [
|
|
6305
6943
|
{
|
|
@@ -6347,7 +6985,7 @@
|
|
|
6347
6985
|
"slots": [
|
|
6348
6986
|
{
|
|
6349
6987
|
"name": "default",
|
|
6350
|
-
"description": "The option's
|
|
6988
|
+
"description": "The option's content, rendered in the list row; wrap the label text in c-option-value when the option carries more than its label"
|
|
6351
6989
|
}
|
|
6352
6990
|
]
|
|
6353
6991
|
}
|
|
@@ -6380,15 +7018,20 @@
|
|
|
6380
7018
|
"kind": "class",
|
|
6381
7019
|
"name": "COptionValue",
|
|
6382
7020
|
"tagName": "c-option-value",
|
|
7021
|
+
"description": "The label region of a `c-option`: wraps the text that c-select and c-autocomplete use as the option's label — in the closed field, its tag and the autocomplete filter — so the option can carry a description or an icon beside its label, and the region in which c-autocomplete marks the runs equal to the query (`::part(match)`).",
|
|
7022
|
+
"csc": {
|
|
7023
|
+
"usage": "docs/c-option-value/usage.md"
|
|
7024
|
+
},
|
|
6383
7025
|
"attributes": [],
|
|
6384
7026
|
"cssParts": [],
|
|
6385
7027
|
"cssProperties": [],
|
|
7028
|
+
"cssStates": [],
|
|
6386
7029
|
"events": [],
|
|
6387
7030
|
"members": [],
|
|
6388
7031
|
"slots": [
|
|
6389
7032
|
{
|
|
6390
7033
|
"name": "default",
|
|
6391
|
-
"description": "The
|
|
7034
|
+
"description": "The option's label: the text c-select and c-autocomplete use for the option in the closed field, its tag and the filter, and the region c-autocomplete marks query matches in"
|
|
6392
7035
|
}
|
|
6393
7036
|
]
|
|
6394
7037
|
}
|
|
@@ -6547,6 +7190,7 @@
|
|
|
6547
7190
|
}
|
|
6548
7191
|
],
|
|
6549
7192
|
"cssProperties": [],
|
|
7193
|
+
"cssStates": [],
|
|
6550
7194
|
"events": [
|
|
6551
7195
|
{
|
|
6552
7196
|
"name": "changeValue",
|
|
@@ -6744,7 +7388,7 @@
|
|
|
6744
7388
|
"cssParts": [
|
|
6745
7389
|
{
|
|
6746
7390
|
"name": "scroll-indicator",
|
|
6747
|
-
"description": "The fixed progress bar at the top of the viewport tracking
|
|
7391
|
+
"description": "The fixed progress bar at the top of the viewport tracking how far the document is scrolled"
|
|
6748
7392
|
},
|
|
6749
7393
|
{
|
|
6750
7394
|
"name": "container",
|
|
@@ -6752,6 +7396,7 @@
|
|
|
6752
7396
|
}
|
|
6753
7397
|
],
|
|
6754
7398
|
"cssProperties": [],
|
|
7399
|
+
"cssStates": [],
|
|
6755
7400
|
"events": [],
|
|
6756
7401
|
"members": [
|
|
6757
7402
|
{
|
|
@@ -6865,6 +7510,7 @@
|
|
|
6865
7510
|
}
|
|
6866
7511
|
],
|
|
6867
7512
|
"cssProperties": [],
|
|
7513
|
+
"cssStates": [],
|
|
6868
7514
|
"events": [
|
|
6869
7515
|
{
|
|
6870
7516
|
"name": "changeValue",
|
|
@@ -6972,31 +7618,213 @@
|
|
|
6972
7618
|
{
|
|
6973
7619
|
"customElement": true,
|
|
6974
7620
|
"kind": "class",
|
|
6975
|
-
"name": "
|
|
6976
|
-
"tagName": "c-
|
|
7621
|
+
"name": "CPopover",
|
|
7622
|
+
"tagName": "c-popover",
|
|
7623
|
+
"description": "A click-opened, non-modal surface anchored to its trigger, floating in the top layer; its content may be interactive.",
|
|
7624
|
+
"csc": {
|
|
7625
|
+
"usage": "docs/c-popover/usage.md"
|
|
7626
|
+
},
|
|
6977
7627
|
"attributes": [
|
|
6978
7628
|
{
|
|
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",
|
|
7629
|
+
"fieldName": "distance",
|
|
7630
|
+
"name": "distance",
|
|
7631
|
+
"description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
|
|
6991
7632
|
"type": {
|
|
6992
|
-
"text": "
|
|
7633
|
+
"text": "number | string"
|
|
6993
7634
|
},
|
|
6994
|
-
"default": "
|
|
7635
|
+
"default": "0"
|
|
6995
7636
|
},
|
|
6996
7637
|
{
|
|
6997
|
-
"fieldName": "
|
|
6998
|
-
"name": "
|
|
6999
|
-
"description": "
|
|
7638
|
+
"fieldName": "heading",
|
|
7639
|
+
"name": "heading",
|
|
7640
|
+
"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`.",
|
|
7641
|
+
"type": {
|
|
7642
|
+
"text": "string"
|
|
7643
|
+
},
|
|
7644
|
+
"default": "''",
|
|
7645
|
+
"csc": {
|
|
7646
|
+
"freeform": true
|
|
7647
|
+
}
|
|
7648
|
+
},
|
|
7649
|
+
{
|
|
7650
|
+
"fieldName": "open",
|
|
7651
|
+
"name": "open",
|
|
7652
|
+
"description": "Whether the popover is open. Two-way: emits `change:open`.",
|
|
7653
|
+
"type": {
|
|
7654
|
+
"text": "boolean"
|
|
7655
|
+
},
|
|
7656
|
+
"default": "false"
|
|
7657
|
+
},
|
|
7658
|
+
{
|
|
7659
|
+
"fieldName": "position",
|
|
7660
|
+
"name": "position",
|
|
7661
|
+
"description": "Preferred placement of the panel relative to the trigger.",
|
|
7662
|
+
"type": {
|
|
7663
|
+
"text": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
7664
|
+
},
|
|
7665
|
+
"default": "'bottom'",
|
|
7666
|
+
"csc": {
|
|
7667
|
+
"typeAlias": "CPlacement"
|
|
7668
|
+
}
|
|
7669
|
+
},
|
|
7670
|
+
{
|
|
7671
|
+
"fieldName": "trigger",
|
|
7672
|
+
"name": "trigger",
|
|
7673
|
+
"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.",
|
|
7674
|
+
"type": {
|
|
7675
|
+
"text": "HTMLElement | string"
|
|
7676
|
+
}
|
|
7677
|
+
}
|
|
7678
|
+
],
|
|
7679
|
+
"cssParts": [
|
|
7680
|
+
{
|
|
7681
|
+
"name": "trigger",
|
|
7682
|
+
"description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
|
|
7683
|
+
},
|
|
7684
|
+
{
|
|
7685
|
+
"name": "panel",
|
|
7686
|
+
"description": "The floating popover surface positioned against the trigger"
|
|
7687
|
+
},
|
|
7688
|
+
{
|
|
7689
|
+
"name": "heading",
|
|
7690
|
+
"description": "The heading rendered from the `heading` prop"
|
|
7691
|
+
}
|
|
7692
|
+
],
|
|
7693
|
+
"cssProperties": [],
|
|
7694
|
+
"cssStates": [],
|
|
7695
|
+
"events": [
|
|
7696
|
+
{
|
|
7697
|
+
"name": "change:open",
|
|
7698
|
+
"type": {
|
|
7699
|
+
"text": "CustomEvent<boolean>"
|
|
7700
|
+
},
|
|
7701
|
+
"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."
|
|
7702
|
+
}
|
|
7703
|
+
],
|
|
7704
|
+
"members": [
|
|
7705
|
+
{
|
|
7706
|
+
"kind": "field",
|
|
7707
|
+
"name": "distance",
|
|
7708
|
+
"privacy": "public",
|
|
7709
|
+
"description": "Distance from the trigger to the panel, in pixels. Defaults to `0`.",
|
|
7710
|
+
"type": {
|
|
7711
|
+
"text": "number | string"
|
|
7712
|
+
},
|
|
7713
|
+
"default": "0"
|
|
7714
|
+
},
|
|
7715
|
+
{
|
|
7716
|
+
"kind": "field",
|
|
7717
|
+
"name": "heading",
|
|
7718
|
+
"privacy": "public",
|
|
7719
|
+
"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`.",
|
|
7720
|
+
"type": {
|
|
7721
|
+
"text": "string"
|
|
7722
|
+
},
|
|
7723
|
+
"default": "''",
|
|
7724
|
+
"csc": {
|
|
7725
|
+
"freeform": true
|
|
7726
|
+
}
|
|
7727
|
+
},
|
|
7728
|
+
{
|
|
7729
|
+
"kind": "field",
|
|
7730
|
+
"name": "open",
|
|
7731
|
+
"privacy": "public",
|
|
7732
|
+
"description": "Whether the popover is open. Two-way: emits `change:open`.",
|
|
7733
|
+
"type": {
|
|
7734
|
+
"text": "boolean"
|
|
7735
|
+
},
|
|
7736
|
+
"default": "false"
|
|
7737
|
+
},
|
|
7738
|
+
{
|
|
7739
|
+
"kind": "field",
|
|
7740
|
+
"name": "position",
|
|
7741
|
+
"privacy": "public",
|
|
7742
|
+
"description": "Preferred placement of the panel relative to the trigger.",
|
|
7743
|
+
"type": {
|
|
7744
|
+
"text": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
7745
|
+
},
|
|
7746
|
+
"default": "'bottom'",
|
|
7747
|
+
"csc": {
|
|
7748
|
+
"typeAlias": "CPlacement"
|
|
7749
|
+
}
|
|
7750
|
+
},
|
|
7751
|
+
{
|
|
7752
|
+
"kind": "field",
|
|
7753
|
+
"name": "trigger",
|
|
7754
|
+
"privacy": "public",
|
|
7755
|
+
"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.",
|
|
7756
|
+
"type": {
|
|
7757
|
+
"text": "HTMLElement | string"
|
|
7758
|
+
}
|
|
7759
|
+
}
|
|
7760
|
+
],
|
|
7761
|
+
"slots": [
|
|
7762
|
+
{
|
|
7763
|
+
"name": "trigger",
|
|
7764
|
+
"description": "The element that opens the popover (e.g. a c-button)"
|
|
7765
|
+
},
|
|
7766
|
+
{
|
|
7767
|
+
"name": "default",
|
|
7768
|
+
"description": "The popover's content; may contain interactive elements"
|
|
7769
|
+
}
|
|
7770
|
+
]
|
|
7771
|
+
}
|
|
7772
|
+
],
|
|
7773
|
+
"exports": [
|
|
7774
|
+
{
|
|
7775
|
+
"declaration": {
|
|
7776
|
+
"module": "src/components/c-popover/CPopover.vue",
|
|
7777
|
+
"name": "CPopover"
|
|
7778
|
+
},
|
|
7779
|
+
"kind": "js",
|
|
7780
|
+
"name": "CPopover"
|
|
7781
|
+
},
|
|
7782
|
+
{
|
|
7783
|
+
"declaration": {
|
|
7784
|
+
"module": "src/components/c-popover/CPopover.vue",
|
|
7785
|
+
"name": "CPopover"
|
|
7786
|
+
},
|
|
7787
|
+
"kind": "custom-element-definition",
|
|
7788
|
+
"name": "c-popover"
|
|
7789
|
+
}
|
|
7790
|
+
],
|
|
7791
|
+
"kind": "javascript-module",
|
|
7792
|
+
"path": "src/components/c-popover/CPopover.vue"
|
|
7793
|
+
},
|
|
7794
|
+
{
|
|
7795
|
+
"declarations": [
|
|
7796
|
+
{
|
|
7797
|
+
"customElement": true,
|
|
7798
|
+
"kind": "class",
|
|
7799
|
+
"name": "CProgressBar",
|
|
7800
|
+
"tagName": "c-progress-bar",
|
|
7801
|
+
"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.",
|
|
7802
|
+
"csc": {
|
|
7803
|
+
"usage": "docs/c-progress-bar/usage.md"
|
|
7804
|
+
},
|
|
7805
|
+
"attributes": [
|
|
7806
|
+
{
|
|
7807
|
+
"fieldName": "hideDetails",
|
|
7808
|
+
"name": "hide-details",
|
|
7809
|
+
"description": "Hide the percentage display",
|
|
7810
|
+
"type": {
|
|
7811
|
+
"text": "boolean"
|
|
7812
|
+
},
|
|
7813
|
+
"default": "false"
|
|
7814
|
+
},
|
|
7815
|
+
{
|
|
7816
|
+
"fieldName": "indeterminate",
|
|
7817
|
+
"name": "indeterminate",
|
|
7818
|
+
"description": "Indeterminate state of the progress bar",
|
|
7819
|
+
"type": {
|
|
7820
|
+
"text": "boolean"
|
|
7821
|
+
},
|
|
7822
|
+
"default": "false"
|
|
7823
|
+
},
|
|
7824
|
+
{
|
|
7825
|
+
"fieldName": "label",
|
|
7826
|
+
"name": "label",
|
|
7827
|
+
"description": "Optional details message next to percentage display",
|
|
7000
7828
|
"type": {
|
|
7001
7829
|
"text": "string"
|
|
7002
7830
|
},
|
|
@@ -7039,6 +7867,7 @@
|
|
|
7039
7867
|
}
|
|
7040
7868
|
],
|
|
7041
7869
|
"cssProperties": [],
|
|
7870
|
+
"cssStates": [],
|
|
7042
7871
|
"events": [],
|
|
7043
7872
|
"members": [
|
|
7044
7873
|
{
|
|
@@ -7124,82 +7953,98 @@
|
|
|
7124
7953
|
{
|
|
7125
7954
|
"customElement": true,
|
|
7126
7955
|
"kind": "class",
|
|
7127
|
-
"name": "
|
|
7128
|
-
"tagName": "c-
|
|
7956
|
+
"name": "CProgressCircle",
|
|
7957
|
+
"tagName": "c-progress-circle",
|
|
7958
|
+
"description": "A circular progress indicator that draws a known completion percentage as an arc around a track — the circular counterpart of `c-progress-bar`.",
|
|
7959
|
+
"csc": {
|
|
7960
|
+
"usage": "docs/c-progress-circle/usage.md"
|
|
7961
|
+
},
|
|
7129
7962
|
"attributes": [
|
|
7130
7963
|
{
|
|
7131
|
-
"fieldName": "
|
|
7132
|
-
"name": "
|
|
7133
|
-
"description": "
|
|
7964
|
+
"fieldName": "size",
|
|
7965
|
+
"name": "size",
|
|
7966
|
+
"description": "Diameter of the circle in pixels",
|
|
7134
7967
|
"type": {
|
|
7135
|
-
"text": "
|
|
7968
|
+
"text": "number"
|
|
7136
7969
|
},
|
|
7137
|
-
"default": "
|
|
7970
|
+
"default": "32"
|
|
7138
7971
|
},
|
|
7139
7972
|
{
|
|
7140
|
-
"fieldName": "
|
|
7141
|
-
"name": "
|
|
7142
|
-
"description": "
|
|
7973
|
+
"fieldName": "value",
|
|
7974
|
+
"name": "value",
|
|
7975
|
+
"description": "Progress value in percentage (0 to 100)",
|
|
7143
7976
|
"type": {
|
|
7144
|
-
"text": "
|
|
7977
|
+
"text": "number"
|
|
7145
7978
|
},
|
|
7146
|
-
"default": "
|
|
7979
|
+
"default": "0"
|
|
7147
7980
|
},
|
|
7148
7981
|
{
|
|
7149
|
-
"fieldName": "
|
|
7150
|
-
"name": "
|
|
7151
|
-
"description": "
|
|
7982
|
+
"fieldName": "width",
|
|
7983
|
+
"name": "width",
|
|
7984
|
+
"description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
|
|
7152
7985
|
"type": {
|
|
7153
|
-
"text": "
|
|
7986
|
+
"text": "number"
|
|
7154
7987
|
},
|
|
7155
|
-
"default": "
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7988
|
+
"default": "6"
|
|
7989
|
+
}
|
|
7990
|
+
],
|
|
7991
|
+
"cssParts": [
|
|
7992
|
+
{
|
|
7993
|
+
"name": "root",
|
|
7994
|
+
"description": "The wrapper around the ring and the centered content"
|
|
7995
|
+
},
|
|
7996
|
+
{
|
|
7997
|
+
"name": "track",
|
|
7998
|
+
"description": "The background ring (SVG circle)"
|
|
7999
|
+
},
|
|
8000
|
+
{
|
|
8001
|
+
"name": "bar",
|
|
8002
|
+
"description": "The value arc (SVG circle)"
|
|
8003
|
+
},
|
|
8004
|
+
{
|
|
8005
|
+
"name": "content",
|
|
8006
|
+
"description": "The centered slot-content wrapper"
|
|
7159
8007
|
}
|
|
7160
8008
|
],
|
|
7161
|
-
"cssParts": [],
|
|
7162
8009
|
"cssProperties": [],
|
|
8010
|
+
"cssStates": [],
|
|
7163
8011
|
"events": [],
|
|
7164
8012
|
"members": [
|
|
7165
8013
|
{
|
|
7166
8014
|
"kind": "field",
|
|
7167
|
-
"name": "
|
|
8015
|
+
"name": "size",
|
|
7168
8016
|
"privacy": "public",
|
|
7169
|
-
"description": "
|
|
8017
|
+
"description": "Diameter of the circle in pixels",
|
|
7170
8018
|
"type": {
|
|
7171
|
-
"text": "
|
|
8019
|
+
"text": "number"
|
|
7172
8020
|
},
|
|
7173
|
-
"default": "
|
|
8021
|
+
"default": "32"
|
|
7174
8022
|
},
|
|
7175
8023
|
{
|
|
7176
8024
|
"kind": "field",
|
|
7177
|
-
"name": "
|
|
8025
|
+
"name": "value",
|
|
7178
8026
|
"privacy": "public",
|
|
7179
|
-
"description": "
|
|
8027
|
+
"description": "Progress value in percentage (0 to 100)",
|
|
7180
8028
|
"type": {
|
|
7181
|
-
"text": "
|
|
8029
|
+
"text": "number"
|
|
7182
8030
|
},
|
|
7183
|
-
"default": "
|
|
8031
|
+
"default": "0"
|
|
7184
8032
|
},
|
|
7185
8033
|
{
|
|
7186
8034
|
"kind": "field",
|
|
7187
|
-
"name": "
|
|
8035
|
+
"name": "width",
|
|
7188
8036
|
"privacy": "public",
|
|
7189
|
-
"description": "
|
|
8037
|
+
"description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
|
|
7190
8038
|
"type": {
|
|
7191
|
-
"text": "
|
|
8039
|
+
"text": "number"
|
|
7192
8040
|
},
|
|
7193
|
-
"default": "
|
|
7194
|
-
"csc": {
|
|
7195
|
-
"freeform": true
|
|
7196
|
-
}
|
|
8041
|
+
"default": "6"
|
|
7197
8042
|
}
|
|
7198
8043
|
],
|
|
7199
8044
|
"slots": [
|
|
7200
8045
|
{
|
|
7201
8046
|
"name": "default",
|
|
7202
|
-
"description": "
|
|
8047
|
+
"description": "Optional content centered inside the circle, e.g. '57%' or an icon"
|
|
7203
8048
|
}
|
|
7204
8049
|
]
|
|
7205
8050
|
}
|
|
@@ -7207,50 +8052,49 @@
|
|
|
7207
8052
|
"exports": [
|
|
7208
8053
|
{
|
|
7209
8054
|
"declaration": {
|
|
7210
|
-
"module": "src/components/c-
|
|
7211
|
-
"name": "
|
|
8055
|
+
"module": "src/components/c-progress-circle/CProgressCircle.vue",
|
|
8056
|
+
"name": "CProgressCircle"
|
|
7212
8057
|
},
|
|
7213
8058
|
"kind": "js",
|
|
7214
|
-
"name": "
|
|
8059
|
+
"name": "CProgressCircle"
|
|
7215
8060
|
},
|
|
7216
8061
|
{
|
|
7217
8062
|
"declaration": {
|
|
7218
|
-
"module": "src/components/c-
|
|
7219
|
-
"name": "
|
|
8063
|
+
"module": "src/components/c-progress-circle/CProgressCircle.vue",
|
|
8064
|
+
"name": "CProgressCircle"
|
|
7220
8065
|
},
|
|
7221
8066
|
"kind": "custom-element-definition",
|
|
7222
|
-
"name": "c-
|
|
8067
|
+
"name": "c-progress-circle"
|
|
7223
8068
|
}
|
|
7224
8069
|
],
|
|
7225
8070
|
"kind": "javascript-module",
|
|
7226
|
-
"path": "src/components/c-
|
|
8071
|
+
"path": "src/components/c-progress-circle/CProgressCircle.vue"
|
|
7227
8072
|
},
|
|
7228
8073
|
{
|
|
7229
8074
|
"declarations": [
|
|
7230
8075
|
{
|
|
7231
8076
|
"customElement": true,
|
|
7232
8077
|
"kind": "class",
|
|
7233
|
-
"name": "
|
|
7234
|
-
"tagName": "c-radio
|
|
8078
|
+
"name": "CRadio",
|
|
8079
|
+
"tagName": "c-radio",
|
|
8080
|
+
"description": "A single radio option inside a `c-radio-group`: a native radio input whose default slot is its clickable, announced label.",
|
|
7235
8081
|
"csc": {
|
|
7236
|
-
"
|
|
7237
|
-
"c-radio"
|
|
7238
|
-
]
|
|
8082
|
+
"usage": "docs/c-radio/usage.md"
|
|
7239
8083
|
},
|
|
7240
8084
|
"attributes": [
|
|
7241
8085
|
{
|
|
7242
8086
|
"fieldName": "disabled",
|
|
7243
8087
|
"name": "disabled",
|
|
7244
|
-
"description": "Disable the radio
|
|
8088
|
+
"description": "Disable the radio button",
|
|
7245
8089
|
"type": {
|
|
7246
8090
|
"text": "boolean"
|
|
7247
8091
|
},
|
|
7248
8092
|
"default": "false"
|
|
7249
8093
|
},
|
|
7250
8094
|
{
|
|
7251
|
-
"fieldName": "
|
|
7252
|
-
"name": "
|
|
7253
|
-
"description": "
|
|
8095
|
+
"fieldName": "value",
|
|
8096
|
+
"name": "value",
|
|
8097
|
+
"description": "Radio button value",
|
|
7254
8098
|
"type": {
|
|
7255
8099
|
"text": "string"
|
|
7256
8100
|
},
|
|
@@ -7258,20 +8102,124 @@
|
|
|
7258
8102
|
"csc": {
|
|
7259
8103
|
"freeform": true
|
|
7260
8104
|
}
|
|
7261
|
-
}
|
|
8105
|
+
}
|
|
8106
|
+
],
|
|
8107
|
+
"cssParts": [
|
|
7262
8108
|
{
|
|
7263
|
-
"
|
|
7264
|
-
"
|
|
7265
|
-
|
|
8109
|
+
"name": "root",
|
|
8110
|
+
"description": "The `<label>` row wrapping the input, indicator and label content"
|
|
8111
|
+
},
|
|
8112
|
+
{
|
|
8113
|
+
"name": "indicator",
|
|
8114
|
+
"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"
|
|
8115
|
+
},
|
|
8116
|
+
{
|
|
8117
|
+
"name": "content",
|
|
8118
|
+
"description": "Wrapper around the slotted label content"
|
|
8119
|
+
}
|
|
8120
|
+
],
|
|
8121
|
+
"cssProperties": [],
|
|
8122
|
+
"cssStates": [
|
|
8123
|
+
{
|
|
8124
|
+
"name": "checked",
|
|
8125
|
+
"description": "Present while the radio is the selected option (standalone or group-driven)"
|
|
8126
|
+
},
|
|
8127
|
+
{
|
|
8128
|
+
"name": "disabled",
|
|
8129
|
+
"description": "Present while the radio is disabled, by its own prop or by its group"
|
|
8130
|
+
}
|
|
8131
|
+
],
|
|
8132
|
+
"events": [
|
|
8133
|
+
{
|
|
8134
|
+
"name": "change",
|
|
8135
|
+
"type": {
|
|
8136
|
+
"text": "CustomEvent<string>"
|
|
8137
|
+
},
|
|
8138
|
+
"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`."
|
|
8139
|
+
}
|
|
8140
|
+
],
|
|
8141
|
+
"members": [
|
|
8142
|
+
{
|
|
8143
|
+
"kind": "field",
|
|
8144
|
+
"name": "disabled",
|
|
8145
|
+
"privacy": "public",
|
|
8146
|
+
"description": "Disable the radio button",
|
|
7266
8147
|
"type": {
|
|
7267
8148
|
"text": "boolean"
|
|
7268
8149
|
},
|
|
7269
8150
|
"default": "false"
|
|
7270
8151
|
},
|
|
7271
8152
|
{
|
|
7272
|
-
"
|
|
7273
|
-
"name": "
|
|
7274
|
-
"
|
|
8153
|
+
"kind": "field",
|
|
8154
|
+
"name": "value",
|
|
8155
|
+
"privacy": "public",
|
|
8156
|
+
"description": "Radio button value",
|
|
8157
|
+
"type": {
|
|
8158
|
+
"text": "string"
|
|
8159
|
+
},
|
|
8160
|
+
"default": "''",
|
|
8161
|
+
"csc": {
|
|
8162
|
+
"freeform": true
|
|
8163
|
+
}
|
|
8164
|
+
}
|
|
8165
|
+
],
|
|
8166
|
+
"slots": [
|
|
8167
|
+
{
|
|
8168
|
+
"name": "default",
|
|
8169
|
+
"description": "The radio's label content, rendered inside the shadow `<label>` so it stays click-associated and announced"
|
|
8170
|
+
}
|
|
8171
|
+
]
|
|
8172
|
+
}
|
|
8173
|
+
],
|
|
8174
|
+
"exports": [
|
|
8175
|
+
{
|
|
8176
|
+
"declaration": {
|
|
8177
|
+
"module": "src/components/c-radio/CRadio.vue",
|
|
8178
|
+
"name": "CRadio"
|
|
8179
|
+
},
|
|
8180
|
+
"kind": "js",
|
|
8181
|
+
"name": "CRadio"
|
|
8182
|
+
},
|
|
8183
|
+
{
|
|
8184
|
+
"declaration": {
|
|
8185
|
+
"module": "src/components/c-radio/CRadio.vue",
|
|
8186
|
+
"name": "CRadio"
|
|
8187
|
+
},
|
|
8188
|
+
"kind": "custom-element-definition",
|
|
8189
|
+
"name": "c-radio"
|
|
8190
|
+
}
|
|
8191
|
+
],
|
|
8192
|
+
"kind": "javascript-module",
|
|
8193
|
+
"path": "src/components/c-radio/CRadio.vue"
|
|
8194
|
+
},
|
|
8195
|
+
{
|
|
8196
|
+
"declarations": [
|
|
8197
|
+
{
|
|
8198
|
+
"customElement": true,
|
|
8199
|
+
"kind": "class",
|
|
8200
|
+
"name": "CRadioGroup",
|
|
8201
|
+
"tagName": "c-radio-group",
|
|
8202
|
+
"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.",
|
|
8203
|
+
"csc": {
|
|
8204
|
+
"usage": "docs/c-radio-group/usage.md",
|
|
8205
|
+
"subcomponents": [
|
|
8206
|
+
"c-radio"
|
|
8207
|
+
]
|
|
8208
|
+
},
|
|
8209
|
+
"attributes": [
|
|
8210
|
+
{
|
|
8211
|
+
"fieldName": "disabled",
|
|
8212
|
+
"name": "disabled",
|
|
8213
|
+
"description": "Disable the radio group",
|
|
8214
|
+
"type": {
|
|
8215
|
+
"text": "boolean"
|
|
8216
|
+
},
|
|
8217
|
+
"default": "false"
|
|
8218
|
+
},
|
|
8219
|
+
{
|
|
8220
|
+
"fieldName": "errorMessage",
|
|
8221
|
+
"name": "error-message",
|
|
8222
|
+
"description": "Error message shown in place of the hint while the group is invalid",
|
|
7275
8223
|
"type": {
|
|
7276
8224
|
"text": "string"
|
|
7277
8225
|
},
|
|
@@ -7281,9 +8229,18 @@
|
|
|
7281
8229
|
}
|
|
7282
8230
|
},
|
|
7283
8231
|
{
|
|
7284
|
-
"fieldName": "
|
|
7285
|
-
"name": "
|
|
7286
|
-
"description": "
|
|
8232
|
+
"fieldName": "hideDetails",
|
|
8233
|
+
"name": "hide-details",
|
|
8234
|
+
"description": "Hide the hint and error messages",
|
|
8235
|
+
"type": {
|
|
8236
|
+
"text": "boolean"
|
|
8237
|
+
},
|
|
8238
|
+
"default": "false"
|
|
8239
|
+
},
|
|
8240
|
+
{
|
|
8241
|
+
"fieldName": "hint",
|
|
8242
|
+
"name": "hint",
|
|
8243
|
+
"description": "Hint text for the input",
|
|
7287
8244
|
"type": {
|
|
7288
8245
|
"text": "string"
|
|
7289
8246
|
},
|
|
@@ -7322,15 +8279,6 @@
|
|
|
7322
8279
|
},
|
|
7323
8280
|
"default": "false"
|
|
7324
8281
|
},
|
|
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
8282
|
{
|
|
7335
8283
|
"fieldName": "valid",
|
|
7336
8284
|
"name": "valid",
|
|
@@ -7343,9 +8291,9 @@
|
|
|
7343
8291
|
{
|
|
7344
8292
|
"fieldName": "value",
|
|
7345
8293
|
"name": "value",
|
|
7346
|
-
"description": "Value of the radio group",
|
|
8294
|
+
"description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
|
|
7347
8295
|
"type": {
|
|
7348
|
-
"text": "null |
|
|
8296
|
+
"text": "null | string"
|
|
7349
8297
|
},
|
|
7350
8298
|
"default": "null"
|
|
7351
8299
|
}
|
|
@@ -7353,7 +8301,7 @@
|
|
|
7353
8301
|
"cssParts": [
|
|
7354
8302
|
{
|
|
7355
8303
|
"name": "root",
|
|
7356
|
-
"description": "The radiogroup wrapper element
|
|
8304
|
+
"description": "The radiogroup wrapper element"
|
|
7357
8305
|
},
|
|
7358
8306
|
{
|
|
7359
8307
|
"name": "label",
|
|
@@ -7361,21 +8309,22 @@
|
|
|
7361
8309
|
},
|
|
7362
8310
|
{
|
|
7363
8311
|
"name": "items",
|
|
7364
|
-
"description": "The
|
|
8312
|
+
"description": "The container the radios are slotted into"
|
|
7365
8313
|
},
|
|
7366
8314
|
{
|
|
7367
8315
|
"name": "message",
|
|
7368
|
-
"description": "The hint/error message
|
|
8316
|
+
"description": "The hint/error message area below the radios (always reserved unless `hide-details`)"
|
|
7369
8317
|
}
|
|
7370
8318
|
],
|
|
7371
8319
|
"cssProperties": [],
|
|
8320
|
+
"cssStates": [],
|
|
7372
8321
|
"events": [
|
|
7373
8322
|
{
|
|
7374
8323
|
"name": "changeValue",
|
|
7375
8324
|
"type": {
|
|
7376
|
-
"text": "CustomEvent<
|
|
8325
|
+
"text": "CustomEvent<string>"
|
|
7377
8326
|
},
|
|
7378
|
-
"description": "Fired when a radio
|
|
8327
|
+
"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
8328
|
},
|
|
7380
8329
|
{
|
|
7381
8330
|
"name": "input",
|
|
@@ -7387,9 +8336,9 @@
|
|
|
7387
8336
|
{
|
|
7388
8337
|
"name": "update:value",
|
|
7389
8338
|
"type": {
|
|
7390
|
-
"text": "CustomEvent<
|
|
8339
|
+
"text": "CustomEvent<string>"
|
|
7391
8340
|
},
|
|
7392
|
-
"description": "v-model contract event fired on selection, carrying the selected
|
|
8341
|
+
"description": "v-model contract event fired on selection, carrying the selected radio's\nvalue."
|
|
7393
8342
|
}
|
|
7394
8343
|
],
|
|
7395
8344
|
"members": [
|
|
@@ -7439,19 +8388,6 @@
|
|
|
7439
8388
|
"freeform": true
|
|
7440
8389
|
}
|
|
7441
8390
|
},
|
|
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
8391
|
{
|
|
7456
8392
|
"kind": "field",
|
|
7457
8393
|
"name": "inline",
|
|
@@ -7462,16 +8398,6 @@
|
|
|
7462
8398
|
},
|
|
7463
8399
|
"default": "false"
|
|
7464
8400
|
},
|
|
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
8401
|
{
|
|
7476
8402
|
"kind": "field",
|
|
7477
8403
|
"name": "label",
|
|
@@ -7495,16 +8421,6 @@
|
|
|
7495
8421
|
},
|
|
7496
8422
|
"default": "false"
|
|
7497
8423
|
},
|
|
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
8424
|
{
|
|
7509
8425
|
"kind": "field",
|
|
7510
8426
|
"name": "valid",
|
|
@@ -7519,9 +8435,9 @@
|
|
|
7519
8435
|
"kind": "field",
|
|
7520
8436
|
"name": "value",
|
|
7521
8437
|
"privacy": "public",
|
|
7522
|
-
"description": "Value of the radio group",
|
|
8438
|
+
"description": "Value of the radio group; matched against each radio's `value` by strict\nstring equality",
|
|
7523
8439
|
"type": {
|
|
7524
|
-
"text": "null |
|
|
8440
|
+
"text": "null | string"
|
|
7525
8441
|
},
|
|
7526
8442
|
"default": "null"
|
|
7527
8443
|
}
|
|
@@ -7529,7 +8445,11 @@
|
|
|
7529
8445
|
"slots": [
|
|
7530
8446
|
{
|
|
7531
8447
|
"name": "default",
|
|
7532
|
-
"description": "
|
|
8448
|
+
"description": "The radios' home: `<c-radio>` children, wrappable in arbitrary layout elements at any depth"
|
|
8449
|
+
},
|
|
8450
|
+
{
|
|
8451
|
+
"name": "label",
|
|
8452
|
+
"description": "Group label content, used when the `label` prop is not set"
|
|
7533
8453
|
}
|
|
7534
8454
|
]
|
|
7535
8455
|
}
|
|
@@ -7562,9 +8482,12 @@
|
|
|
7562
8482
|
"kind": "class",
|
|
7563
8483
|
"name": "CSelect",
|
|
7564
8484
|
"tagName": "c-select",
|
|
8485
|
+
"description": "A value-selection field: a readonly field that opens a listbox of options — slotted `c-option` elements or an `items` array — and holds the picked value, emitting the value events that back `v-model`.",
|
|
7565
8486
|
"csc": {
|
|
8487
|
+
"usage": "docs/c-select/usage.md",
|
|
7566
8488
|
"subcomponents": [
|
|
7567
|
-
"c-option"
|
|
8489
|
+
"c-option",
|
|
8490
|
+
"c-option-value"
|
|
7568
8491
|
]
|
|
7569
8492
|
},
|
|
7570
8493
|
"attributes": [
|
|
@@ -7605,7 +8528,10 @@
|
|
|
7605
8528
|
"type": {
|
|
7606
8529
|
"text": "boolean"
|
|
7607
8530
|
},
|
|
7608
|
-
"default": "false"
|
|
8531
|
+
"default": "false",
|
|
8532
|
+
"csc": {
|
|
8533
|
+
"defaultable": true
|
|
8534
|
+
}
|
|
7609
8535
|
},
|
|
7610
8536
|
{
|
|
7611
8537
|
"fieldName": "hint",
|
|
@@ -7638,7 +8564,10 @@
|
|
|
7638
8564
|
"type": {
|
|
7639
8565
|
"text": "number"
|
|
7640
8566
|
},
|
|
7641
|
-
"default": "6"
|
|
8567
|
+
"default": "6",
|
|
8568
|
+
"csc": {
|
|
8569
|
+
"defaultable": true
|
|
8570
|
+
}
|
|
7642
8571
|
},
|
|
7643
8572
|
{
|
|
7644
8573
|
"fieldName": "label",
|
|
@@ -7659,7 +8588,10 @@
|
|
|
7659
8588
|
"type": {
|
|
7660
8589
|
"text": "boolean"
|
|
7661
8590
|
},
|
|
7662
|
-
"default": "false"
|
|
8591
|
+
"default": "false",
|
|
8592
|
+
"csc": {
|
|
8593
|
+
"defaultable": true
|
|
8594
|
+
}
|
|
7663
8595
|
},
|
|
7664
8596
|
{
|
|
7665
8597
|
"fieldName": "loading",
|
|
@@ -7670,6 +8602,23 @@
|
|
|
7670
8602
|
},
|
|
7671
8603
|
"default": "false"
|
|
7672
8604
|
},
|
|
8605
|
+
{
|
|
8606
|
+
"fieldName": "maxTags",
|
|
8607
|
+
"name": "max-tags",
|
|
8608
|
+
"description": "In `multiple` mode, show at most this many selected-value tags and fold\nthe rest into one \"+N more\" tag; `0` shows no tags and reads \"N selected\"\ninstead; unset shows every tag",
|
|
8609
|
+
"type": {
|
|
8610
|
+
"text": "number"
|
|
8611
|
+
}
|
|
8612
|
+
},
|
|
8613
|
+
{
|
|
8614
|
+
"fieldName": "multiple",
|
|
8615
|
+
"name": "multiple",
|
|
8616
|
+
"description": "Allow selecting several options: rows toggle and the list stays open,\n`value` becomes an array of the selected values (items with\n`return-object`) in the order they were picked, and the picks show as\ntags inside the field. `option-as-selection` is ignored in this mode.\nArrays have no attribute form — bind `value` as a DOM property",
|
|
8617
|
+
"type": {
|
|
8618
|
+
"text": "boolean"
|
|
8619
|
+
},
|
|
8620
|
+
"default": "false"
|
|
8621
|
+
},
|
|
7673
8622
|
{
|
|
7674
8623
|
"fieldName": "name",
|
|
7675
8624
|
"name": "name",
|
|
@@ -7721,6 +8670,15 @@
|
|
|
7721
8670
|
},
|
|
7722
8671
|
"default": "false"
|
|
7723
8672
|
},
|
|
8673
|
+
{
|
|
8674
|
+
"fieldName": "selectAll",
|
|
8675
|
+
"name": "select-all",
|
|
8676
|
+
"description": "In `multiple` mode, pin a select-all row at the top of the list. Its\ncheckbox shows whether none, some or all enabled options are selected;\nactivating it selects every enabled option — or, when all are selected,\nunselects them. Ignored in single mode",
|
|
8677
|
+
"type": {
|
|
8678
|
+
"text": "boolean"
|
|
8679
|
+
},
|
|
8680
|
+
"default": "false"
|
|
8681
|
+
},
|
|
7724
8682
|
{
|
|
7725
8683
|
"fieldName": "shadow",
|
|
7726
8684
|
"name": "shadow",
|
|
@@ -7728,7 +8686,23 @@
|
|
|
7728
8686
|
"type": {
|
|
7729
8687
|
"text": "boolean"
|
|
7730
8688
|
},
|
|
7731
|
-
"default": "false"
|
|
8689
|
+
"default": "false",
|
|
8690
|
+
"csc": {
|
|
8691
|
+
"defaultable": true
|
|
8692
|
+
}
|
|
8693
|
+
},
|
|
8694
|
+
{
|
|
8695
|
+
"fieldName": "size",
|
|
8696
|
+
"name": "size",
|
|
8697
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
8698
|
+
"type": {
|
|
8699
|
+
"text": "'default' | 'small'"
|
|
8700
|
+
},
|
|
8701
|
+
"default": "'default'",
|
|
8702
|
+
"csc": {
|
|
8703
|
+
"typeAlias": "CFieldSize",
|
|
8704
|
+
"defaultable": true
|
|
8705
|
+
}
|
|
7732
8706
|
},
|
|
7733
8707
|
{
|
|
7734
8708
|
"fieldName": "valid",
|
|
@@ -7738,26 +8712,67 @@
|
|
|
7738
8712
|
"text": "boolean"
|
|
7739
8713
|
},
|
|
7740
8714
|
"default": "true"
|
|
8715
|
+
}
|
|
8716
|
+
],
|
|
8717
|
+
"cssParts": [
|
|
8718
|
+
{
|
|
8719
|
+
"name": "menu",
|
|
8720
|
+
"description": "The dropdown surface (the positioned dialog) holding the field and the list"
|
|
7741
8721
|
},
|
|
7742
8722
|
{
|
|
7743
|
-
"
|
|
7744
|
-
"
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
8723
|
+
"name": "heading-row",
|
|
8724
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
8725
|
+
},
|
|
8726
|
+
{
|
|
8727
|
+
"name": "heading",
|
|
8728
|
+
"description": "The field label naming the fullscreen panel"
|
|
8729
|
+
},
|
|
8730
|
+
{
|
|
8731
|
+
"name": "close",
|
|
8732
|
+
"description": "The close button of the fullscreen panel"
|
|
8733
|
+
},
|
|
8734
|
+
{
|
|
8735
|
+
"name": "list",
|
|
8736
|
+
"description": "The scrolling listbox of options"
|
|
8737
|
+
},
|
|
8738
|
+
{
|
|
8739
|
+
"name": "item",
|
|
8740
|
+
"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"
|
|
8741
|
+
},
|
|
8742
|
+
{
|
|
8743
|
+
"name": "select-all",
|
|
8744
|
+
"description": "The pinned select-all row at the top of the list (`multiple` mode with `select-all`); carries the same indicator / mark parts as an option row"
|
|
8745
|
+
},
|
|
8746
|
+
{
|
|
8747
|
+
"name": "indicator",
|
|
8748
|
+
"description": "The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together (the c-checkbox recipe)"
|
|
8749
|
+
},
|
|
8750
|
+
{
|
|
8751
|
+
"name": "mark",
|
|
8752
|
+
"description": "The check glyph inside a row indicator; draws with `currentColor`"
|
|
8753
|
+
},
|
|
8754
|
+
{
|
|
8755
|
+
"name": "tags",
|
|
8756
|
+
"description": "The row of selected-value tags inside the field (`multiple` mode)"
|
|
8757
|
+
},
|
|
8758
|
+
{
|
|
8759
|
+
"name": "tag",
|
|
8760
|
+
"description": "One selected-value tag: the `c-tag` host, including the overflow tag"
|
|
8761
|
+
},
|
|
8762
|
+
{
|
|
8763
|
+
"name": "tag-root",
|
|
8764
|
+
"description": "The pill box inside each tag (the `c-tag` `root` part), for colours and borders"
|
|
7750
8765
|
}
|
|
7751
8766
|
],
|
|
7752
|
-
"cssParts": [],
|
|
7753
8767
|
"cssProperties": [],
|
|
8768
|
+
"cssStates": [],
|
|
7754
8769
|
"events": [
|
|
7755
8770
|
{
|
|
7756
8771
|
"name": "changeValue",
|
|
7757
8772
|
"type": {
|
|
7758
|
-
"text": "CustomEvent<
|
|
8773
|
+
"text": "CustomEvent<CSelectValue>"
|
|
7759
8774
|
},
|
|
7760
|
-
"description": "Fired when the selection changes (an option is picked or the value is\ncleared), carrying the new value — the option's value, or the whole\n`{ name, value }` item when `return-object` is set; `null` when cleared. Also dispatched as `change-value` — bind that name in Vue templates."
|
|
8775
|
+
"description": "Fired when the selection changes (an option is picked or the value is\ncleared), carrying the new value — the option's value, or the whole\n`{ name, value }` item when `return-object` is set; `null` when cleared.\nIn `multiple` mode the whole array of picked values, in pick order\n(`[]` when cleared). Also dispatched as `change-value` — bind that name in Vue templates."
|
|
7761
8776
|
},
|
|
7762
8777
|
{
|
|
7763
8778
|
"name": "input",
|
|
@@ -7769,7 +8784,7 @@
|
|
|
7769
8784
|
{
|
|
7770
8785
|
"name": "update:value",
|
|
7771
8786
|
"type": {
|
|
7772
|
-
"text": "CustomEvent<
|
|
8787
|
+
"text": "CustomEvent<CSelectValue>"
|
|
7773
8788
|
},
|
|
7774
8789
|
"description": "Fired alongside `changeValue` with the same detail — the `v-model`\ncontract."
|
|
7775
8790
|
}
|
|
@@ -7816,7 +8831,10 @@
|
|
|
7816
8831
|
"type": {
|
|
7817
8832
|
"text": "boolean"
|
|
7818
8833
|
},
|
|
7819
|
-
"default": "false"
|
|
8834
|
+
"default": "false",
|
|
8835
|
+
"csc": {
|
|
8836
|
+
"defaultable": true
|
|
8837
|
+
}
|
|
7820
8838
|
},
|
|
7821
8839
|
{
|
|
7822
8840
|
"kind": "field",
|
|
@@ -7862,7 +8880,10 @@
|
|
|
7862
8880
|
"type": {
|
|
7863
8881
|
"text": "number"
|
|
7864
8882
|
},
|
|
7865
|
-
"default": "6"
|
|
8883
|
+
"default": "6",
|
|
8884
|
+
"csc": {
|
|
8885
|
+
"defaultable": true
|
|
8886
|
+
}
|
|
7866
8887
|
},
|
|
7867
8888
|
{
|
|
7868
8889
|
"kind": "field",
|
|
@@ -7885,7 +8906,10 @@
|
|
|
7885
8906
|
"type": {
|
|
7886
8907
|
"text": "boolean"
|
|
7887
8908
|
},
|
|
7888
|
-
"default": "false"
|
|
8909
|
+
"default": "false",
|
|
8910
|
+
"csc": {
|
|
8911
|
+
"defaultable": true
|
|
8912
|
+
}
|
|
7889
8913
|
},
|
|
7890
8914
|
{
|
|
7891
8915
|
"kind": "field",
|
|
@@ -7899,14 +8923,33 @@
|
|
|
7899
8923
|
},
|
|
7900
8924
|
{
|
|
7901
8925
|
"kind": "field",
|
|
7902
|
-
"name": "
|
|
8926
|
+
"name": "maxTags",
|
|
7903
8927
|
"privacy": "public",
|
|
7904
|
-
"description": "
|
|
8928
|
+
"description": "In `multiple` mode, show at most this many selected-value tags and fold\nthe rest into one \"+N more\" tag; `0` shows no tags and reads \"N selected\"\ninstead; unset shows every tag",
|
|
7905
8929
|
"type": {
|
|
7906
|
-
"text": "
|
|
7907
|
-
}
|
|
7908
|
-
|
|
7909
|
-
|
|
8930
|
+
"text": "number"
|
|
8931
|
+
}
|
|
8932
|
+
},
|
|
8933
|
+
{
|
|
8934
|
+
"kind": "field",
|
|
8935
|
+
"name": "multiple",
|
|
8936
|
+
"privacy": "public",
|
|
8937
|
+
"description": "Allow selecting several options: rows toggle and the list stays open,\n`value` becomes an array of the selected values (items with\n`return-object`) in the order they were picked, and the picks show as\ntags inside the field. `option-as-selection` is ignored in this mode.\nArrays have no attribute form — bind `value` as a DOM property",
|
|
8938
|
+
"type": {
|
|
8939
|
+
"text": "boolean"
|
|
8940
|
+
},
|
|
8941
|
+
"default": "false"
|
|
8942
|
+
},
|
|
8943
|
+
{
|
|
8944
|
+
"kind": "field",
|
|
8945
|
+
"name": "name",
|
|
8946
|
+
"privacy": "public",
|
|
8947
|
+
"description": "Input field name",
|
|
8948
|
+
"type": {
|
|
8949
|
+
"text": "string"
|
|
8950
|
+
},
|
|
8951
|
+
"default": "''",
|
|
8952
|
+
"csc": {
|
|
7910
8953
|
"freeform": true
|
|
7911
8954
|
}
|
|
7912
8955
|
},
|
|
@@ -7953,6 +8996,16 @@
|
|
|
7953
8996
|
},
|
|
7954
8997
|
"default": "false"
|
|
7955
8998
|
},
|
|
8999
|
+
{
|
|
9000
|
+
"kind": "field",
|
|
9001
|
+
"name": "selectAll",
|
|
9002
|
+
"privacy": "public",
|
|
9003
|
+
"description": "In `multiple` mode, pin a select-all row at the top of the list. Its\ncheckbox shows whether none, some or all enabled options are selected;\nactivating it selects every enabled option — or, when all are selected,\nunselects them. Ignored in single mode",
|
|
9004
|
+
"type": {
|
|
9005
|
+
"text": "boolean"
|
|
9006
|
+
},
|
|
9007
|
+
"default": "false"
|
|
9008
|
+
},
|
|
7956
9009
|
{
|
|
7957
9010
|
"kind": "field",
|
|
7958
9011
|
"name": "shadow",
|
|
@@ -7961,7 +9014,37 @@
|
|
|
7961
9014
|
"type": {
|
|
7962
9015
|
"text": "boolean"
|
|
7963
9016
|
},
|
|
7964
|
-
"default": "false"
|
|
9017
|
+
"default": "false",
|
|
9018
|
+
"csc": {
|
|
9019
|
+
"defaultable": true
|
|
9020
|
+
}
|
|
9021
|
+
},
|
|
9022
|
+
{
|
|
9023
|
+
"kind": "field",
|
|
9024
|
+
"name": "size",
|
|
9025
|
+
"privacy": "public",
|
|
9026
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
9027
|
+
"type": {
|
|
9028
|
+
"text": "'default' | 'small'"
|
|
9029
|
+
},
|
|
9030
|
+
"default": "'default'",
|
|
9031
|
+
"csc": {
|
|
9032
|
+
"typeAlias": "CFieldSize",
|
|
9033
|
+
"defaultable": true
|
|
9034
|
+
}
|
|
9035
|
+
},
|
|
9036
|
+
{
|
|
9037
|
+
"kind": "field",
|
|
9038
|
+
"name": "texts",
|
|
9039
|
+
"privacy": "public",
|
|
9040
|
+
"description": "UI text overrides (i18n), merged over the English defaults. Objects have\nno attribute form — bind as a DOM property (`:texts.prop` in Vue)",
|
|
9041
|
+
"type": {
|
|
9042
|
+
"text": "CSelectTexts"
|
|
9043
|
+
},
|
|
9044
|
+
"default": "{}",
|
|
9045
|
+
"csc": {
|
|
9046
|
+
"defaultable": true
|
|
9047
|
+
}
|
|
7965
9048
|
},
|
|
7966
9049
|
{
|
|
7967
9050
|
"kind": "field",
|
|
@@ -7977,9 +9060,9 @@
|
|
|
7977
9060
|
"kind": "field",
|
|
7978
9061
|
"name": "value",
|
|
7979
9062
|
"privacy": "public",
|
|
7980
|
-
"description": "Selected value
|
|
9063
|
+
"description": "Selected value: the option's value, or the whole item with\n`return-object`; an array of them in `multiple` mode",
|
|
7981
9064
|
"type": {
|
|
7982
|
-
"text": "
|
|
9065
|
+
"text": "CSelectValue"
|
|
7983
9066
|
},
|
|
7984
9067
|
"default": "null"
|
|
7985
9068
|
},
|
|
@@ -8037,7 +9120,9 @@
|
|
|
8037
9120
|
"kind": "class",
|
|
8038
9121
|
"name": "CSideNavigation",
|
|
8039
9122
|
"tagName": "c-side-navigation",
|
|
9123
|
+
"description": "The dashboard layout's left-hand menu: section titles, navigation items and their sub-items in a drawer that is pinned beside the page on desktop and slides in over it on mobile.",
|
|
8040
9124
|
"csc": {
|
|
9125
|
+
"usage": "docs/c-side-navigation/usage.md",
|
|
8041
9126
|
"subcomponents": [
|
|
8042
9127
|
"c-side-navigation-item",
|
|
8043
9128
|
"c-side-navigation-title",
|
|
@@ -8067,7 +9152,7 @@
|
|
|
8067
9152
|
"cssParts": [
|
|
8068
9153
|
{
|
|
8069
9154
|
"name": "root",
|
|
8070
|
-
"description": "The outer drawer container"
|
|
9155
|
+
"description": "The outer drawer container: the item list above the bottom slot's region"
|
|
8071
9156
|
},
|
|
8072
9157
|
{
|
|
8073
9158
|
"name": "nav",
|
|
@@ -8075,6 +9160,7 @@
|
|
|
8075
9160
|
}
|
|
8076
9161
|
],
|
|
8077
9162
|
"cssProperties": [],
|
|
9163
|
+
"cssStates": [],
|
|
8078
9164
|
"events": [
|
|
8079
9165
|
{
|
|
8080
9166
|
"name": "change:menu-visible",
|
|
@@ -8119,11 +9205,11 @@
|
|
|
8119
9205
|
"slots": [
|
|
8120
9206
|
{
|
|
8121
9207
|
"name": "default",
|
|
8122
|
-
"description": "
|
|
9208
|
+
"description": "The navigation items: titles, items and their sub-items"
|
|
8123
9209
|
},
|
|
8124
9210
|
{
|
|
8125
9211
|
"name": "bottom",
|
|
8126
|
-
"description": "
|
|
9212
|
+
"description": "Trailing content below the items, such as a sign-out button; it stays at the drawer's bottom edge while the items scroll"
|
|
8127
9213
|
}
|
|
8128
9214
|
]
|
|
8129
9215
|
}
|
|
@@ -8224,6 +9310,7 @@
|
|
|
8224
9310
|
}
|
|
8225
9311
|
],
|
|
8226
9312
|
"cssProperties": [],
|
|
9313
|
+
"cssStates": [],
|
|
8227
9314
|
"events": [
|
|
8228
9315
|
{
|
|
8229
9316
|
"name": "itemChange",
|
|
@@ -8347,6 +9434,7 @@
|
|
|
8347
9434
|
}
|
|
8348
9435
|
],
|
|
8349
9436
|
"cssProperties": [],
|
|
9437
|
+
"cssStates": [],
|
|
8350
9438
|
"events": [],
|
|
8351
9439
|
"members": [],
|
|
8352
9440
|
"slots": [
|
|
@@ -8543,6 +9631,7 @@
|
|
|
8543
9631
|
}
|
|
8544
9632
|
],
|
|
8545
9633
|
"cssProperties": [],
|
|
9634
|
+
"cssStates": [],
|
|
8546
9635
|
"events": [
|
|
8547
9636
|
{
|
|
8548
9637
|
"name": "changeValue",
|
|
@@ -8754,6 +9843,10 @@
|
|
|
8754
9843
|
"kind": "class",
|
|
8755
9844
|
"name": "CSpinner",
|
|
8756
9845
|
"tagName": "c-spinner",
|
|
9846
|
+
"description": "A circular indeterminate activity indicator — pure motion with no value, for waits of unknown duration.",
|
|
9847
|
+
"csc": {
|
|
9848
|
+
"usage": "docs/c-spinner/usage.md"
|
|
9849
|
+
},
|
|
8757
9850
|
"attributes": [
|
|
8758
9851
|
{
|
|
8759
9852
|
"fieldName": "color",
|
|
@@ -8793,6 +9886,7 @@
|
|
|
8793
9886
|
}
|
|
8794
9887
|
],
|
|
8795
9888
|
"cssProperties": [],
|
|
9889
|
+
"cssStates": [],
|
|
8796
9890
|
"events": [],
|
|
8797
9891
|
"members": [
|
|
8798
9892
|
{
|
|
@@ -8880,6 +9974,7 @@
|
|
|
8880
9974
|
}
|
|
8881
9975
|
],
|
|
8882
9976
|
"cssProperties": [],
|
|
9977
|
+
"cssStates": [],
|
|
8883
9978
|
"events": [],
|
|
8884
9979
|
"members": [
|
|
8885
9980
|
{
|
|
@@ -8974,6 +10069,7 @@
|
|
|
8974
10069
|
}
|
|
8975
10070
|
],
|
|
8976
10071
|
"cssProperties": [],
|
|
10072
|
+
"cssStates": [],
|
|
8977
10073
|
"events": [],
|
|
8978
10074
|
"members": [
|
|
8979
10075
|
{
|
|
@@ -9060,6 +10156,7 @@
|
|
|
9060
10156
|
}
|
|
9061
10157
|
],
|
|
9062
10158
|
"cssProperties": [],
|
|
10159
|
+
"cssStates": [],
|
|
9063
10160
|
"events": [],
|
|
9064
10161
|
"members": [
|
|
9065
10162
|
{
|
|
@@ -9173,6 +10270,7 @@
|
|
|
9173
10270
|
}
|
|
9174
10271
|
],
|
|
9175
10272
|
"cssProperties": [],
|
|
10273
|
+
"cssStates": [],
|
|
9176
10274
|
"events": [],
|
|
9177
10275
|
"members": [
|
|
9178
10276
|
{
|
|
@@ -9268,6 +10366,10 @@
|
|
|
9268
10366
|
"kind": "class",
|
|
9269
10367
|
"name": "CSwitch",
|
|
9270
10368
|
"tagName": "c-switch",
|
|
10369
|
+
"description": "A toggle for a binary setting that takes effect immediately: a native switch control with a label, an optional hint, and validation messaging.",
|
|
10370
|
+
"csc": {
|
|
10371
|
+
"usage": "docs/c-switch/usage.md"
|
|
10372
|
+
},
|
|
9271
10373
|
"attributes": [
|
|
9272
10374
|
{
|
|
9273
10375
|
"fieldName": "checked",
|
|
@@ -9372,6 +10474,12 @@
|
|
|
9372
10474
|
}
|
|
9373
10475
|
],
|
|
9374
10476
|
"cssProperties": [],
|
|
10477
|
+
"cssStates": [
|
|
10478
|
+
{
|
|
10479
|
+
"name": "checked",
|
|
10480
|
+
"description": "Present while the switch is on"
|
|
10481
|
+
}
|
|
10482
|
+
],
|
|
9375
10483
|
"events": [
|
|
9376
10484
|
{
|
|
9377
10485
|
"name": "change",
|
|
@@ -9599,6 +10707,7 @@
|
|
|
9599
10707
|
}
|
|
9600
10708
|
],
|
|
9601
10709
|
"cssProperties": [],
|
|
10710
|
+
"cssStates": [],
|
|
9602
10711
|
"events": [
|
|
9603
10712
|
{
|
|
9604
10713
|
"name": "tabChange",
|
|
@@ -9757,9 +10866,18 @@
|
|
|
9757
10866
|
{
|
|
9758
10867
|
"name": "indicator",
|
|
9759
10868
|
"description": "The sliding fill highlighting the active tab"
|
|
10869
|
+
},
|
|
10870
|
+
{
|
|
10871
|
+
"name": "scroll-back",
|
|
10872
|
+
"description": "The edge arrow that scrolls an overflowing strip back"
|
|
10873
|
+
},
|
|
10874
|
+
{
|
|
10875
|
+
"name": "scroll-forward",
|
|
10876
|
+
"description": "The edge arrow that scrolls an overflowing strip forward"
|
|
9760
10877
|
}
|
|
9761
10878
|
],
|
|
9762
10879
|
"cssProperties": [],
|
|
10880
|
+
"cssStates": [],
|
|
9763
10881
|
"events": [
|
|
9764
10882
|
{
|
|
9765
10883
|
"name": "tabChange",
|
|
@@ -9867,6 +10985,7 @@
|
|
|
9867
10985
|
}
|
|
9868
10986
|
],
|
|
9869
10987
|
"cssProperties": [],
|
|
10988
|
+
"cssStates": [],
|
|
9870
10989
|
"events": [
|
|
9871
10990
|
{
|
|
9872
10991
|
"name": "contentChange",
|
|
@@ -9961,6 +11080,7 @@
|
|
|
9961
11080
|
}
|
|
9962
11081
|
],
|
|
9963
11082
|
"cssProperties": [],
|
|
11083
|
+
"cssStates": [],
|
|
9964
11084
|
"events": [],
|
|
9965
11085
|
"members": [
|
|
9966
11086
|
{
|
|
@@ -10020,6 +11140,10 @@
|
|
|
10020
11140
|
"kind": "class",
|
|
10021
11141
|
"name": "CTable",
|
|
10022
11142
|
"tagName": "c-table",
|
|
11143
|
+
"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.",
|
|
11144
|
+
"csc": {
|
|
11145
|
+
"usage": "docs/c-table/usage.md"
|
|
11146
|
+
},
|
|
10023
11147
|
"attributes": [
|
|
10024
11148
|
{
|
|
10025
11149
|
"fieldName": "mobileBreakpoint",
|
|
@@ -10042,6 +11166,7 @@
|
|
|
10042
11166
|
],
|
|
10043
11167
|
"cssParts": [],
|
|
10044
11168
|
"cssProperties": [],
|
|
11169
|
+
"cssStates": [],
|
|
10045
11170
|
"events": [],
|
|
10046
11171
|
"members": [
|
|
10047
11172
|
{
|
|
@@ -10065,7 +11190,12 @@
|
|
|
10065
11190
|
"default": "false"
|
|
10066
11191
|
}
|
|
10067
11192
|
],
|
|
10068
|
-
"slots": [
|
|
11193
|
+
"slots": [
|
|
11194
|
+
{
|
|
11195
|
+
"name": "default",
|
|
11196
|
+
"description": "The consumer-authored `<table>` element"
|
|
11197
|
+
}
|
|
11198
|
+
]
|
|
10069
11199
|
}
|
|
10070
11200
|
],
|
|
10071
11201
|
"exports": [
|
|
@@ -10178,6 +11308,7 @@
|
|
|
10178
11308
|
}
|
|
10179
11309
|
],
|
|
10180
11310
|
"cssProperties": [],
|
|
11311
|
+
"cssStates": [],
|
|
10181
11312
|
"events": [
|
|
10182
11313
|
{
|
|
10183
11314
|
"name": "changeValue",
|
|
@@ -10334,6 +11465,18 @@
|
|
|
10334
11465
|
},
|
|
10335
11466
|
"default": "false"
|
|
10336
11467
|
},
|
|
11468
|
+
{
|
|
11469
|
+
"fieldName": "closeLabel",
|
|
11470
|
+
"name": "close-label",
|
|
11471
|
+
"description": "Accessible name of the close button rendered when `closeable`",
|
|
11472
|
+
"type": {
|
|
11473
|
+
"text": "string"
|
|
11474
|
+
},
|
|
11475
|
+
"default": "'Remove'",
|
|
11476
|
+
"csc": {
|
|
11477
|
+
"freeform": true
|
|
11478
|
+
}
|
|
11479
|
+
},
|
|
10337
11480
|
{
|
|
10338
11481
|
"fieldName": "flat",
|
|
10339
11482
|
"name": "flat",
|
|
@@ -10363,6 +11506,7 @@
|
|
|
10363
11506
|
}
|
|
10364
11507
|
],
|
|
10365
11508
|
"cssProperties": [],
|
|
11509
|
+
"cssStates": [],
|
|
10366
11510
|
"events": [
|
|
10367
11511
|
{
|
|
10368
11512
|
"name": "close",
|
|
@@ -10403,6 +11547,19 @@
|
|
|
10403
11547
|
},
|
|
10404
11548
|
"default": "false"
|
|
10405
11549
|
},
|
|
11550
|
+
{
|
|
11551
|
+
"kind": "field",
|
|
11552
|
+
"name": "closeLabel",
|
|
11553
|
+
"privacy": "public",
|
|
11554
|
+
"description": "Accessible name of the close button rendered when `closeable`",
|
|
11555
|
+
"type": {
|
|
11556
|
+
"text": "string"
|
|
11557
|
+
},
|
|
11558
|
+
"default": "'Remove'",
|
|
11559
|
+
"csc": {
|
|
11560
|
+
"freeform": true
|
|
11561
|
+
}
|
|
11562
|
+
},
|
|
10406
11563
|
{
|
|
10407
11564
|
"kind": "field",
|
|
10408
11565
|
"name": "flat",
|
|
@@ -10518,6 +11675,7 @@
|
|
|
10518
11675
|
}
|
|
10519
11676
|
],
|
|
10520
11677
|
"cssProperties": [],
|
|
11678
|
+
"cssStates": [],
|
|
10521
11679
|
"events": [],
|
|
10522
11680
|
"members": [
|
|
10523
11681
|
{
|
|
@@ -10653,7 +11811,10 @@
|
|
|
10653
11811
|
"type": {
|
|
10654
11812
|
"text": "boolean"
|
|
10655
11813
|
},
|
|
10656
|
-
"default": "false"
|
|
11814
|
+
"default": "false",
|
|
11815
|
+
"csc": {
|
|
11816
|
+
"defaultable": true
|
|
11817
|
+
}
|
|
10657
11818
|
},
|
|
10658
11819
|
{
|
|
10659
11820
|
"fieldName": "hint",
|
|
@@ -10698,7 +11859,10 @@
|
|
|
10698
11859
|
"type": {
|
|
10699
11860
|
"text": "boolean"
|
|
10700
11861
|
},
|
|
10701
|
-
"default": "false"
|
|
11862
|
+
"default": "false",
|
|
11863
|
+
"csc": {
|
|
11864
|
+
"defaultable": true
|
|
11865
|
+
}
|
|
10702
11866
|
},
|
|
10703
11867
|
{
|
|
10704
11868
|
"fieldName": "max",
|
|
@@ -10776,7 +11940,23 @@
|
|
|
10776
11940
|
"type": {
|
|
10777
11941
|
"text": "boolean"
|
|
10778
11942
|
},
|
|
10779
|
-
"default": "false"
|
|
11943
|
+
"default": "false",
|
|
11944
|
+
"csc": {
|
|
11945
|
+
"defaultable": true
|
|
11946
|
+
}
|
|
11947
|
+
},
|
|
11948
|
+
{
|
|
11949
|
+
"fieldName": "size",
|
|
11950
|
+
"name": "size",
|
|
11951
|
+
"description": "Field height: the 44px default or the 36px `small` box (single-line fields)",
|
|
11952
|
+
"type": {
|
|
11953
|
+
"text": "'default' | 'small'"
|
|
11954
|
+
},
|
|
11955
|
+
"default": "'default'",
|
|
11956
|
+
"csc": {
|
|
11957
|
+
"typeAlias": "CFieldSize",
|
|
11958
|
+
"defaultable": true
|
|
11959
|
+
}
|
|
10780
11960
|
},
|
|
10781
11961
|
{
|
|
10782
11962
|
"fieldName": "step",
|
|
@@ -10832,6 +12012,7 @@
|
|
|
10832
12012
|
],
|
|
10833
12013
|
"cssParts": [],
|
|
10834
12014
|
"cssProperties": [],
|
|
12015
|
+
"cssStates": [],
|
|
10835
12016
|
"events": [
|
|
10836
12017
|
{
|
|
10837
12018
|
"name": "change",
|
|
@@ -10928,7 +12109,10 @@
|
|
|
10928
12109
|
"type": {
|
|
10929
12110
|
"text": "boolean"
|
|
10930
12111
|
},
|
|
10931
|
-
"default": "false"
|
|
12112
|
+
"default": "false",
|
|
12113
|
+
"csc": {
|
|
12114
|
+
"defaultable": true
|
|
12115
|
+
}
|
|
10932
12116
|
},
|
|
10933
12117
|
{
|
|
10934
12118
|
"kind": "field",
|
|
@@ -10977,7 +12161,10 @@
|
|
|
10977
12161
|
"type": {
|
|
10978
12162
|
"text": "boolean"
|
|
10979
12163
|
},
|
|
10980
|
-
"default": "false"
|
|
12164
|
+
"default": "false",
|
|
12165
|
+
"csc": {
|
|
12166
|
+
"defaultable": true
|
|
12167
|
+
}
|
|
10981
12168
|
},
|
|
10982
12169
|
{
|
|
10983
12170
|
"kind": "field",
|
|
@@ -11063,7 +12250,24 @@
|
|
|
11063
12250
|
"type": {
|
|
11064
12251
|
"text": "boolean"
|
|
11065
12252
|
},
|
|
11066
|
-
"default": "false"
|
|
12253
|
+
"default": "false",
|
|
12254
|
+
"csc": {
|
|
12255
|
+
"defaultable": true
|
|
12256
|
+
}
|
|
12257
|
+
},
|
|
12258
|
+
{
|
|
12259
|
+
"kind": "field",
|
|
12260
|
+
"name": "size",
|
|
12261
|
+
"privacy": "public",
|
|
12262
|
+
"description": "Field height: the 44px default or the 36px `small` box (single-line fields)",
|
|
12263
|
+
"type": {
|
|
12264
|
+
"text": "'default' | 'small'"
|
|
12265
|
+
},
|
|
12266
|
+
"default": "'default'",
|
|
12267
|
+
"csc": {
|
|
12268
|
+
"typeAlias": "CFieldSize",
|
|
12269
|
+
"defaultable": true
|
|
12270
|
+
}
|
|
11067
12271
|
},
|
|
11068
12272
|
{
|
|
11069
12273
|
"kind": "field",
|
|
@@ -11180,7 +12384,7 @@
|
|
|
11180
12384
|
"cssParts": [
|
|
11181
12385
|
{
|
|
11182
12386
|
"name": "root",
|
|
11183
|
-
"description": "The toast's outer box
|
|
12387
|
+
"description": "The toast's outer box: the inverted-surface pill carrying the shadow"
|
|
11184
12388
|
},
|
|
11185
12389
|
{
|
|
11186
12390
|
"name": "custom",
|
|
@@ -11192,7 +12396,15 @@
|
|
|
11192
12396
|
},
|
|
11193
12397
|
{
|
|
11194
12398
|
"name": "item",
|
|
11195
|
-
"description": "Row layout of a standard toast:
|
|
12399
|
+
"description": "Row layout of a standard toast: status badge, message body and dismiss button"
|
|
12400
|
+
},
|
|
12401
|
+
{
|
|
12402
|
+
"name": "badge",
|
|
12403
|
+
"description": "The circular tinted badge holding the status icon"
|
|
12404
|
+
},
|
|
12405
|
+
{
|
|
12406
|
+
"name": "dismiss",
|
|
12407
|
+
"description": "The dismiss button (icon-only, or labelled when the message sets `closeText`)"
|
|
11196
12408
|
},
|
|
11197
12409
|
{
|
|
11198
12410
|
"name": "progress",
|
|
@@ -11200,6 +12412,7 @@
|
|
|
11200
12412
|
}
|
|
11201
12413
|
],
|
|
11202
12414
|
"cssProperties": [],
|
|
12415
|
+
"cssStates": [],
|
|
11203
12416
|
"events": [
|
|
11204
12417
|
{
|
|
11205
12418
|
"name": "close",
|
|
@@ -11311,6 +12524,7 @@
|
|
|
11311
12524
|
}
|
|
11312
12525
|
],
|
|
11313
12526
|
"cssProperties": [],
|
|
12527
|
+
"cssStates": [],
|
|
11314
12528
|
"events": [],
|
|
11315
12529
|
"members": [
|
|
11316
12530
|
{
|
|
@@ -11404,16 +12618,42 @@
|
|
|
11404
12618
|
"kind": "class",
|
|
11405
12619
|
"name": "CToolbar",
|
|
11406
12620
|
"tagName": "c-toolbar",
|
|
11407
|
-
"
|
|
12621
|
+
"description": "The app-wide bar at the top of the dashboard layout: the logo, the service name and global actions such as the user menu or log out. It is pinned to the top of the viewport by default and stays there while the page scrolls; `static` keeps it in the page flow so it scrolls away with the content.",
|
|
12622
|
+
"csc": {
|
|
12623
|
+
"usage": "docs/c-toolbar/usage.md"
|
|
12624
|
+
},
|
|
12625
|
+
"attributes": [
|
|
12626
|
+
{
|
|
12627
|
+
"fieldName": "static",
|
|
12628
|
+
"name": "static",
|
|
12629
|
+
"description": "Keep the toolbar in the page flow so it scrolls away with the content\ninstead of staying pinned to the top of its scroll container",
|
|
12630
|
+
"type": {
|
|
12631
|
+
"text": "boolean"
|
|
12632
|
+
},
|
|
12633
|
+
"default": "false"
|
|
12634
|
+
}
|
|
12635
|
+
],
|
|
11408
12636
|
"cssParts": [
|
|
11409
12637
|
{
|
|
11410
12638
|
"name": "root",
|
|
11411
|
-
"description": "The toolbar bar itself
|
|
12639
|
+
"description": "The toolbar bar itself: pinned to the top of its scroll container by default, in flow when `static`"
|
|
11412
12640
|
}
|
|
11413
12641
|
],
|
|
11414
12642
|
"cssProperties": [],
|
|
12643
|
+
"cssStates": [],
|
|
11415
12644
|
"events": [],
|
|
11416
|
-
"members": [
|
|
12645
|
+
"members": [
|
|
12646
|
+
{
|
|
12647
|
+
"kind": "field",
|
|
12648
|
+
"name": "static",
|
|
12649
|
+
"privacy": "public",
|
|
12650
|
+
"description": "Keep the toolbar in the page flow so it scrolls away with the content\ninstead of staying pinned to the top of its scroll container",
|
|
12651
|
+
"type": {
|
|
12652
|
+
"text": "boolean"
|
|
12653
|
+
},
|
|
12654
|
+
"default": "false"
|
|
12655
|
+
}
|
|
12656
|
+
],
|
|
11417
12657
|
"slots": [
|
|
11418
12658
|
{
|
|
11419
12659
|
"name": "default",
|
|
@@ -11442,6 +12682,787 @@
|
|
|
11442
12682
|
],
|
|
11443
12683
|
"kind": "javascript-module",
|
|
11444
12684
|
"path": "src/components/c-toolbar/CToolbar.vue"
|
|
12685
|
+
},
|
|
12686
|
+
{
|
|
12687
|
+
"declarations": [
|
|
12688
|
+
{
|
|
12689
|
+
"customElement": true,
|
|
12690
|
+
"kind": "class",
|
|
12691
|
+
"name": "CTooltip",
|
|
12692
|
+
"tagName": "c-tooltip",
|
|
12693
|
+
"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.",
|
|
12694
|
+
"csc": {
|
|
12695
|
+
"usage": "docs/c-tooltip/usage.md"
|
|
12696
|
+
},
|
|
12697
|
+
"attributes": [
|
|
12698
|
+
{
|
|
12699
|
+
"fieldName": "delay",
|
|
12700
|
+
"name": "delay",
|
|
12701
|
+
"description": "Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\nshows the tooltip immediately, regardless of this value. Defaults to\n`400`.",
|
|
12702
|
+
"type": {
|
|
12703
|
+
"text": "number | string"
|
|
12704
|
+
},
|
|
12705
|
+
"default": "400"
|
|
12706
|
+
},
|
|
12707
|
+
{
|
|
12708
|
+
"fieldName": "distance",
|
|
12709
|
+
"name": "distance",
|
|
12710
|
+
"description": "Distance from the trigger to the tooltip, in pixels. Defaults to `4`.",
|
|
12711
|
+
"type": {
|
|
12712
|
+
"text": "number | string"
|
|
12713
|
+
},
|
|
12714
|
+
"default": "4"
|
|
12715
|
+
},
|
|
12716
|
+
{
|
|
12717
|
+
"fieldName": "open",
|
|
12718
|
+
"name": "open",
|
|
12719
|
+
"description": "Whether the tooltip is open. Two-way: emits `change:open`.",
|
|
12720
|
+
"type": {
|
|
12721
|
+
"text": "boolean"
|
|
12722
|
+
},
|
|
12723
|
+
"default": "false"
|
|
12724
|
+
},
|
|
12725
|
+
{
|
|
12726
|
+
"fieldName": "position",
|
|
12727
|
+
"name": "position",
|
|
12728
|
+
"description": "Preferred placement of the tooltip relative to the trigger.",
|
|
12729
|
+
"type": {
|
|
12730
|
+
"text": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
12731
|
+
},
|
|
12732
|
+
"default": "'top'",
|
|
12733
|
+
"csc": {
|
|
12734
|
+
"typeAlias": "CPlacement"
|
|
12735
|
+
}
|
|
12736
|
+
},
|
|
12737
|
+
{
|
|
12738
|
+
"fieldName": "text",
|
|
12739
|
+
"name": "text",
|
|
12740
|
+
"description": "The tooltip text. Overridden by the `content` slot when that is\npopulated.",
|
|
12741
|
+
"type": {
|
|
12742
|
+
"text": "string"
|
|
12743
|
+
},
|
|
12744
|
+
"default": "''",
|
|
12745
|
+
"csc": {
|
|
12746
|
+
"freeform": true
|
|
12747
|
+
}
|
|
12748
|
+
},
|
|
12749
|
+
{
|
|
12750
|
+
"fieldName": "trigger",
|
|
12751
|
+
"name": "trigger",
|
|
12752
|
+
"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.",
|
|
12753
|
+
"type": {
|
|
12754
|
+
"text": "HTMLElement | string"
|
|
12755
|
+
}
|
|
12756
|
+
}
|
|
12757
|
+
],
|
|
12758
|
+
"cssParts": [
|
|
12759
|
+
{
|
|
12760
|
+
"name": "trigger",
|
|
12761
|
+
"description": "The inline wrapper around the slotted trigger, serving as the panel's anchor"
|
|
12762
|
+
},
|
|
12763
|
+
{
|
|
12764
|
+
"name": "panel",
|
|
12765
|
+
"description": "The floating tooltip bubble positioned against the trigger"
|
|
12766
|
+
}
|
|
12767
|
+
],
|
|
12768
|
+
"cssProperties": [],
|
|
12769
|
+
"cssStates": [],
|
|
12770
|
+
"events": [
|
|
12771
|
+
{
|
|
12772
|
+
"name": "change:open",
|
|
12773
|
+
"type": {
|
|
12774
|
+
"text": "CustomEvent<boolean>"
|
|
12775
|
+
},
|
|
12776
|
+
"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."
|
|
12777
|
+
}
|
|
12778
|
+
],
|
|
12779
|
+
"members": [
|
|
12780
|
+
{
|
|
12781
|
+
"kind": "field",
|
|
12782
|
+
"name": "delay",
|
|
12783
|
+
"privacy": "public",
|
|
12784
|
+
"description": "Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\nshows the tooltip immediately, regardless of this value. Defaults to\n`400`.",
|
|
12785
|
+
"type": {
|
|
12786
|
+
"text": "number | string"
|
|
12787
|
+
},
|
|
12788
|
+
"default": "400"
|
|
12789
|
+
},
|
|
12790
|
+
{
|
|
12791
|
+
"kind": "field",
|
|
12792
|
+
"name": "distance",
|
|
12793
|
+
"privacy": "public",
|
|
12794
|
+
"description": "Distance from the trigger to the tooltip, in pixels. Defaults to `4`.",
|
|
12795
|
+
"type": {
|
|
12796
|
+
"text": "number | string"
|
|
12797
|
+
},
|
|
12798
|
+
"default": "4"
|
|
12799
|
+
},
|
|
12800
|
+
{
|
|
12801
|
+
"kind": "field",
|
|
12802
|
+
"name": "open",
|
|
12803
|
+
"privacy": "public",
|
|
12804
|
+
"description": "Whether the tooltip is open. Two-way: emits `change:open`.",
|
|
12805
|
+
"type": {
|
|
12806
|
+
"text": "boolean"
|
|
12807
|
+
},
|
|
12808
|
+
"default": "false"
|
|
12809
|
+
},
|
|
12810
|
+
{
|
|
12811
|
+
"kind": "field",
|
|
12812
|
+
"name": "position",
|
|
12813
|
+
"privacy": "public",
|
|
12814
|
+
"description": "Preferred placement of the tooltip relative to the trigger.",
|
|
12815
|
+
"type": {
|
|
12816
|
+
"text": "'bottom-end' | 'bottom-start' | 'bottom' | 'left-end' | 'left-start' | 'left' | 'right-end' | 'right-start' | 'right' | 'top-end' | 'top-start' | 'top'"
|
|
12817
|
+
},
|
|
12818
|
+
"default": "'top'",
|
|
12819
|
+
"csc": {
|
|
12820
|
+
"typeAlias": "CPlacement"
|
|
12821
|
+
}
|
|
12822
|
+
},
|
|
12823
|
+
{
|
|
12824
|
+
"kind": "field",
|
|
12825
|
+
"name": "text",
|
|
12826
|
+
"privacy": "public",
|
|
12827
|
+
"description": "The tooltip text. Overridden by the `content` slot when that is\npopulated.",
|
|
12828
|
+
"type": {
|
|
12829
|
+
"text": "string"
|
|
12830
|
+
},
|
|
12831
|
+
"default": "''",
|
|
12832
|
+
"csc": {
|
|
12833
|
+
"freeform": true
|
|
12834
|
+
}
|
|
12835
|
+
},
|
|
12836
|
+
{
|
|
12837
|
+
"kind": "field",
|
|
12838
|
+
"name": "trigger",
|
|
12839
|
+
"privacy": "public",
|
|
12840
|
+
"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.",
|
|
12841
|
+
"type": {
|
|
12842
|
+
"text": "HTMLElement | string"
|
|
12843
|
+
}
|
|
12844
|
+
}
|
|
12845
|
+
],
|
|
12846
|
+
"slots": [
|
|
12847
|
+
{
|
|
12848
|
+
"name": "trigger",
|
|
12849
|
+
"description": "The element the tooltip describes (e.g. a c-icon-button)"
|
|
12850
|
+
},
|
|
12851
|
+
{
|
|
12852
|
+
"name": "content",
|
|
12853
|
+
"description": "Formatted tooltip content, overriding the `text` prop; must stay non-interactive (ADR-0033)"
|
|
12854
|
+
}
|
|
12855
|
+
]
|
|
12856
|
+
}
|
|
12857
|
+
],
|
|
12858
|
+
"exports": [
|
|
12859
|
+
{
|
|
12860
|
+
"declaration": {
|
|
12861
|
+
"module": "src/components/c-tooltip/CTooltip.vue",
|
|
12862
|
+
"name": "CTooltip"
|
|
12863
|
+
},
|
|
12864
|
+
"kind": "js",
|
|
12865
|
+
"name": "CTooltip"
|
|
12866
|
+
},
|
|
12867
|
+
{
|
|
12868
|
+
"declaration": {
|
|
12869
|
+
"module": "src/components/c-tooltip/CTooltip.vue",
|
|
12870
|
+
"name": "CTooltip"
|
|
12871
|
+
},
|
|
12872
|
+
"kind": "custom-element-definition",
|
|
12873
|
+
"name": "c-tooltip"
|
|
12874
|
+
}
|
|
12875
|
+
],
|
|
12876
|
+
"kind": "javascript-module",
|
|
12877
|
+
"path": "src/components/c-tooltip/CTooltip.vue"
|
|
12878
|
+
},
|
|
12879
|
+
{
|
|
12880
|
+
"declarations": [
|
|
12881
|
+
{
|
|
12882
|
+
"customElement": true,
|
|
12883
|
+
"kind": "class",
|
|
12884
|
+
"name": "CTreeSelect",
|
|
12885
|
+
"tagName": "c-tree-select",
|
|
12886
|
+
"description": "A hierarchical value-selection component: a readonly value field that opens a panel for browsing a tree one level at a time, or searching it as a whole, to commit one item.",
|
|
12887
|
+
"csc": {
|
|
12888
|
+
"usage": "docs/c-tree-select/usage.md"
|
|
12889
|
+
},
|
|
12890
|
+
"attributes": [
|
|
12891
|
+
{
|
|
12892
|
+
"fieldName": "allowBranch",
|
|
12893
|
+
"name": "allow-branch",
|
|
12894
|
+
"description": "Let a branch be committed as the value: a pinned select-branch row heads\nevery level below the root, and matching branches are listed as search\nresults",
|
|
12895
|
+
"type": {
|
|
12896
|
+
"text": "boolean"
|
|
12897
|
+
},
|
|
12898
|
+
"default": "false"
|
|
12899
|
+
},
|
|
12900
|
+
{
|
|
12901
|
+
"fieldName": "clearable",
|
|
12902
|
+
"name": "clearable",
|
|
12903
|
+
"description": "Make the selected value clearable",
|
|
12904
|
+
"type": {
|
|
12905
|
+
"text": "boolean"
|
|
12906
|
+
},
|
|
12907
|
+
"default": "false"
|
|
12908
|
+
},
|
|
12909
|
+
{
|
|
12910
|
+
"fieldName": "disabled",
|
|
12911
|
+
"name": "disabled",
|
|
12912
|
+
"description": "Disable the field",
|
|
12913
|
+
"type": {
|
|
12914
|
+
"text": "boolean"
|
|
12915
|
+
},
|
|
12916
|
+
"default": "false"
|
|
12917
|
+
},
|
|
12918
|
+
{
|
|
12919
|
+
"fieldName": "errorMessage",
|
|
12920
|
+
"name": "error-message",
|
|
12921
|
+
"description": "Error message shown in place of the hint while the field is invalid",
|
|
12922
|
+
"type": {
|
|
12923
|
+
"text": "string"
|
|
12924
|
+
},
|
|
12925
|
+
"default": "''",
|
|
12926
|
+
"csc": {
|
|
12927
|
+
"freeform": true
|
|
12928
|
+
}
|
|
12929
|
+
},
|
|
12930
|
+
{
|
|
12931
|
+
"fieldName": "hideDetails",
|
|
12932
|
+
"name": "hide-details",
|
|
12933
|
+
"description": "Hide the hint and error messages",
|
|
12934
|
+
"type": {
|
|
12935
|
+
"text": "boolean"
|
|
12936
|
+
},
|
|
12937
|
+
"default": "false",
|
|
12938
|
+
"csc": {
|
|
12939
|
+
"defaultable": true
|
|
12940
|
+
}
|
|
12941
|
+
},
|
|
12942
|
+
{
|
|
12943
|
+
"fieldName": "hint",
|
|
12944
|
+
"name": "hint",
|
|
12945
|
+
"description": "Hint text for the field",
|
|
12946
|
+
"type": {
|
|
12947
|
+
"text": "string"
|
|
12948
|
+
},
|
|
12949
|
+
"default": "''",
|
|
12950
|
+
"csc": {
|
|
12951
|
+
"freeform": true
|
|
12952
|
+
}
|
|
12953
|
+
},
|
|
12954
|
+
{
|
|
12955
|
+
"fieldName": "hostId",
|
|
12956
|
+
"name": "host-id",
|
|
12957
|
+
"description": "Id of the element",
|
|
12958
|
+
"type": {
|
|
12959
|
+
"text": "string"
|
|
12960
|
+
},
|
|
12961
|
+
"default": "''",
|
|
12962
|
+
"csc": {
|
|
12963
|
+
"freeform": true
|
|
12964
|
+
}
|
|
12965
|
+
},
|
|
12966
|
+
{
|
|
12967
|
+
"fieldName": "itemsPerPage",
|
|
12968
|
+
"name": "items-per-page",
|
|
12969
|
+
"description": "Items per page before the list scrolls",
|
|
12970
|
+
"type": {
|
|
12971
|
+
"text": "number"
|
|
12972
|
+
},
|
|
12973
|
+
"default": "6",
|
|
12974
|
+
"csc": {
|
|
12975
|
+
"defaultable": true
|
|
12976
|
+
}
|
|
12977
|
+
},
|
|
12978
|
+
{
|
|
12979
|
+
"fieldName": "label",
|
|
12980
|
+
"name": "label",
|
|
12981
|
+
"description": "Element label",
|
|
12982
|
+
"type": {
|
|
12983
|
+
"text": "string"
|
|
12984
|
+
},
|
|
12985
|
+
"default": "''",
|
|
12986
|
+
"csc": {
|
|
12987
|
+
"freeform": true
|
|
12988
|
+
}
|
|
12989
|
+
},
|
|
12990
|
+
{
|
|
12991
|
+
"fieldName": "labelOnTop",
|
|
12992
|
+
"name": "label-on-top",
|
|
12993
|
+
"description": "Label on top of the field",
|
|
12994
|
+
"type": {
|
|
12995
|
+
"text": "boolean"
|
|
12996
|
+
},
|
|
12997
|
+
"default": "false",
|
|
12998
|
+
"csc": {
|
|
12999
|
+
"defaultable": true
|
|
13000
|
+
}
|
|
13001
|
+
},
|
|
13002
|
+
{
|
|
13003
|
+
"fieldName": "name",
|
|
13004
|
+
"name": "name",
|
|
13005
|
+
"description": "Input field name",
|
|
13006
|
+
"type": {
|
|
13007
|
+
"text": "string"
|
|
13008
|
+
},
|
|
13009
|
+
"default": "''",
|
|
13010
|
+
"csc": {
|
|
13011
|
+
"freeform": true
|
|
13012
|
+
}
|
|
13013
|
+
},
|
|
13014
|
+
{
|
|
13015
|
+
"fieldName": "placeholder",
|
|
13016
|
+
"name": "placeholder",
|
|
13017
|
+
"description": "Placeholder for the search input inside the panel",
|
|
13018
|
+
"type": {
|
|
13019
|
+
"text": "string"
|
|
13020
|
+
},
|
|
13021
|
+
"default": "''",
|
|
13022
|
+
"csc": {
|
|
13023
|
+
"freeform": true
|
|
13024
|
+
}
|
|
13025
|
+
},
|
|
13026
|
+
{
|
|
13027
|
+
"fieldName": "required",
|
|
13028
|
+
"name": "required",
|
|
13029
|
+
"description": "Set the field as required",
|
|
13030
|
+
"type": {
|
|
13031
|
+
"text": "boolean"
|
|
13032
|
+
},
|
|
13033
|
+
"default": "false"
|
|
13034
|
+
},
|
|
13035
|
+
{
|
|
13036
|
+
"fieldName": "returnObject",
|
|
13037
|
+
"name": "return-object",
|
|
13038
|
+
"description": "Emit the committed item with its path as a `CTreeSelectSelection` instead\nof its value",
|
|
13039
|
+
"type": {
|
|
13040
|
+
"text": "boolean"
|
|
13041
|
+
},
|
|
13042
|
+
"default": "false"
|
|
13043
|
+
},
|
|
13044
|
+
{
|
|
13045
|
+
"fieldName": "shadow",
|
|
13046
|
+
"name": "shadow",
|
|
13047
|
+
"description": "Shadow variant",
|
|
13048
|
+
"type": {
|
|
13049
|
+
"text": "boolean"
|
|
13050
|
+
},
|
|
13051
|
+
"default": "false",
|
|
13052
|
+
"csc": {
|
|
13053
|
+
"defaultable": true
|
|
13054
|
+
}
|
|
13055
|
+
},
|
|
13056
|
+
{
|
|
13057
|
+
"fieldName": "size",
|
|
13058
|
+
"name": "size",
|
|
13059
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
13060
|
+
"type": {
|
|
13061
|
+
"text": "'default' | 'small'"
|
|
13062
|
+
},
|
|
13063
|
+
"default": "'default'",
|
|
13064
|
+
"csc": {
|
|
13065
|
+
"typeAlias": "CFieldSize",
|
|
13066
|
+
"defaultable": true
|
|
13067
|
+
}
|
|
13068
|
+
},
|
|
13069
|
+
{
|
|
13070
|
+
"fieldName": "valid",
|
|
13071
|
+
"name": "valid",
|
|
13072
|
+
"description": "Set the validity of the field",
|
|
13073
|
+
"type": {
|
|
13074
|
+
"text": "boolean"
|
|
13075
|
+
},
|
|
13076
|
+
"default": "true"
|
|
13077
|
+
},
|
|
13078
|
+
{
|
|
13079
|
+
"fieldName": "value",
|
|
13080
|
+
"name": "value",
|
|
13081
|
+
"description": "Selected value: the committed item's value, or the `CTreeSelectSelection`\nwith `return-object`; `null` when nothing is selected",
|
|
13082
|
+
"type": {
|
|
13083
|
+
"text": "CTreeSelectValue"
|
|
13084
|
+
},
|
|
13085
|
+
"default": "null"
|
|
13086
|
+
}
|
|
13087
|
+
],
|
|
13088
|
+
"cssParts": [
|
|
13089
|
+
{
|
|
13090
|
+
"name": "panel",
|
|
13091
|
+
"description": "The top-layer popover container anchored below the field"
|
|
13092
|
+
},
|
|
13093
|
+
{
|
|
13094
|
+
"name": "card",
|
|
13095
|
+
"description": "The elevated surface inside the panel holding the search row, the breadcrumb, the header and the list"
|
|
13096
|
+
},
|
|
13097
|
+
{
|
|
13098
|
+
"name": "heading-row",
|
|
13099
|
+
"description": "The top row of the fullscreen panel (narrow viewports): the field label as heading and the close button"
|
|
13100
|
+
},
|
|
13101
|
+
{
|
|
13102
|
+
"name": "heading",
|
|
13103
|
+
"description": "The field label naming the fullscreen panel"
|
|
13104
|
+
},
|
|
13105
|
+
{
|
|
13106
|
+
"name": "close",
|
|
13107
|
+
"description": "The close button of the fullscreen panel"
|
|
13108
|
+
},
|
|
13109
|
+
{
|
|
13110
|
+
"name": "search",
|
|
13111
|
+
"description": "The search-input row at the top of the panel"
|
|
13112
|
+
},
|
|
13113
|
+
{
|
|
13114
|
+
"name": "breadcrumb",
|
|
13115
|
+
"description": "The breadcrumb navigation naming the browsed level's path"
|
|
13116
|
+
},
|
|
13117
|
+
{
|
|
13118
|
+
"name": "crumb",
|
|
13119
|
+
"description": "One crumb in the breadcrumb: the root crumb, an ancestor, or the collapsed \"…\" crumb"
|
|
13120
|
+
},
|
|
13121
|
+
{
|
|
13122
|
+
"name": "header",
|
|
13123
|
+
"description": "The header line under the breadcrumb: the level to choose and its step counter, or the match count and the \"Browse instead\" control"
|
|
13124
|
+
},
|
|
13125
|
+
{
|
|
13126
|
+
"name": "list",
|
|
13127
|
+
"description": "The scrollable listbox: the level list while browsing, the results while searching"
|
|
13128
|
+
},
|
|
13129
|
+
{
|
|
13130
|
+
"name": "item",
|
|
13131
|
+
"description": "One item row in the list"
|
|
13132
|
+
},
|
|
13133
|
+
{
|
|
13134
|
+
"name": "select-branch",
|
|
13135
|
+
"description": "The pinned select-branch row at the top of a level list inside a branch (`allow-branch`)"
|
|
13136
|
+
},
|
|
13137
|
+
{
|
|
13138
|
+
"name": "code",
|
|
13139
|
+
"description": "An item's code column, in a row and in the closed field"
|
|
13140
|
+
},
|
|
13141
|
+
{
|
|
13142
|
+
"name": "path",
|
|
13143
|
+
"description": "The ancestor path line under a search result's label"
|
|
13144
|
+
},
|
|
13145
|
+
{
|
|
13146
|
+
"name": "match",
|
|
13147
|
+
"description": "A run of an item's code, label or path equal to the query, in a row; underlined in the primary colour, text inherits the row"
|
|
13148
|
+
},
|
|
13149
|
+
{
|
|
13150
|
+
"name": "info",
|
|
13151
|
+
"description": "The no-results row shown when nothing is listed"
|
|
13152
|
+
}
|
|
13153
|
+
],
|
|
13154
|
+
"cssProperties": [],
|
|
13155
|
+
"cssStates": [],
|
|
13156
|
+
"events": [
|
|
13157
|
+
{
|
|
13158
|
+
"name": "change",
|
|
13159
|
+
"type": {
|
|
13160
|
+
"text": "CustomEvent<CTreeSelectValue>"
|
|
13161
|
+
},
|
|
13162
|
+
"description": "Fired when the selection changes — an item is committed or the selection\nis cleared — carrying the new value: the item's value, the\n`CTreeSelectSelection` with `return-object`, or `null` when cleared."
|
|
13163
|
+
},
|
|
13164
|
+
{
|
|
13165
|
+
"name": "change:query",
|
|
13166
|
+
"type": {
|
|
13167
|
+
"text": "CustomEvent<string>"
|
|
13168
|
+
},
|
|
13169
|
+
"description": "Fired whenever the query changes — on every keystroke in the search\ninput, and with an empty string when the panel opens. Carries the query\nstring."
|
|
13170
|
+
},
|
|
13171
|
+
{
|
|
13172
|
+
"name": "input",
|
|
13173
|
+
"type": {
|
|
13174
|
+
"text": "CustomEvent<void>"
|
|
13175
|
+
},
|
|
13176
|
+
"description": "Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail."
|
|
13177
|
+
},
|
|
13178
|
+
{
|
|
13179
|
+
"name": "update:value",
|
|
13180
|
+
"type": {
|
|
13181
|
+
"text": "CustomEvent<CTreeSelectValue>"
|
|
13182
|
+
},
|
|
13183
|
+
"description": "Fired alongside `change` with the same detail — the `v-model` contract."
|
|
13184
|
+
}
|
|
13185
|
+
],
|
|
13186
|
+
"members": [
|
|
13187
|
+
{
|
|
13188
|
+
"kind": "field",
|
|
13189
|
+
"name": "allowBranch",
|
|
13190
|
+
"privacy": "public",
|
|
13191
|
+
"description": "Let a branch be committed as the value: a pinned select-branch row heads\nevery level below the root, and matching branches are listed as search\nresults",
|
|
13192
|
+
"type": {
|
|
13193
|
+
"text": "boolean"
|
|
13194
|
+
},
|
|
13195
|
+
"default": "false"
|
|
13196
|
+
},
|
|
13197
|
+
{
|
|
13198
|
+
"kind": "field",
|
|
13199
|
+
"name": "clearable",
|
|
13200
|
+
"privacy": "public",
|
|
13201
|
+
"description": "Make the selected value clearable",
|
|
13202
|
+
"type": {
|
|
13203
|
+
"text": "boolean"
|
|
13204
|
+
},
|
|
13205
|
+
"default": "false"
|
|
13206
|
+
},
|
|
13207
|
+
{
|
|
13208
|
+
"kind": "field",
|
|
13209
|
+
"name": "disabled",
|
|
13210
|
+
"privacy": "public",
|
|
13211
|
+
"description": "Disable the field",
|
|
13212
|
+
"type": {
|
|
13213
|
+
"text": "boolean"
|
|
13214
|
+
},
|
|
13215
|
+
"default": "false"
|
|
13216
|
+
},
|
|
13217
|
+
{
|
|
13218
|
+
"kind": "field",
|
|
13219
|
+
"name": "errorMessage",
|
|
13220
|
+
"privacy": "public",
|
|
13221
|
+
"description": "Error message shown in place of the hint while the field is invalid",
|
|
13222
|
+
"type": {
|
|
13223
|
+
"text": "string"
|
|
13224
|
+
},
|
|
13225
|
+
"default": "''",
|
|
13226
|
+
"csc": {
|
|
13227
|
+
"freeform": true
|
|
13228
|
+
}
|
|
13229
|
+
},
|
|
13230
|
+
{
|
|
13231
|
+
"kind": "field",
|
|
13232
|
+
"name": "filter",
|
|
13233
|
+
"privacy": "public",
|
|
13234
|
+
"description": "Custom search predicate; receives the item, the query and the item's\nancestors. Functions have no attribute form — bind as a DOM property",
|
|
13235
|
+
"type": {
|
|
13236
|
+
"text": "CTreeSelectFilter"
|
|
13237
|
+
}
|
|
13238
|
+
},
|
|
13239
|
+
{
|
|
13240
|
+
"kind": "field",
|
|
13241
|
+
"name": "hideDetails",
|
|
13242
|
+
"privacy": "public",
|
|
13243
|
+
"description": "Hide the hint and error messages",
|
|
13244
|
+
"type": {
|
|
13245
|
+
"text": "boolean"
|
|
13246
|
+
},
|
|
13247
|
+
"default": "false",
|
|
13248
|
+
"csc": {
|
|
13249
|
+
"defaultable": true
|
|
13250
|
+
}
|
|
13251
|
+
},
|
|
13252
|
+
{
|
|
13253
|
+
"kind": "field",
|
|
13254
|
+
"name": "hint",
|
|
13255
|
+
"privacy": "public",
|
|
13256
|
+
"description": "Hint text for the field",
|
|
13257
|
+
"type": {
|
|
13258
|
+
"text": "string"
|
|
13259
|
+
},
|
|
13260
|
+
"default": "''",
|
|
13261
|
+
"csc": {
|
|
13262
|
+
"freeform": true
|
|
13263
|
+
}
|
|
13264
|
+
},
|
|
13265
|
+
{
|
|
13266
|
+
"kind": "field",
|
|
13267
|
+
"name": "hostId",
|
|
13268
|
+
"privacy": "public",
|
|
13269
|
+
"description": "Id of the element",
|
|
13270
|
+
"type": {
|
|
13271
|
+
"text": "string"
|
|
13272
|
+
},
|
|
13273
|
+
"default": "''",
|
|
13274
|
+
"csc": {
|
|
13275
|
+
"freeform": true
|
|
13276
|
+
}
|
|
13277
|
+
},
|
|
13278
|
+
{
|
|
13279
|
+
"kind": "field",
|
|
13280
|
+
"name": "items",
|
|
13281
|
+
"privacy": "public",
|
|
13282
|
+
"description": "The tree to pick from. Arrays have no attribute form — bind as a DOM\nproperty (`:items.prop` in Vue)",
|
|
13283
|
+
"type": {
|
|
13284
|
+
"text": "CTreeSelectItem[]"
|
|
13285
|
+
},
|
|
13286
|
+
"default": "() => []"
|
|
13287
|
+
},
|
|
13288
|
+
{
|
|
13289
|
+
"kind": "field",
|
|
13290
|
+
"name": "itemsPerPage",
|
|
13291
|
+
"privacy": "public",
|
|
13292
|
+
"description": "Items per page before the list scrolls",
|
|
13293
|
+
"type": {
|
|
13294
|
+
"text": "number"
|
|
13295
|
+
},
|
|
13296
|
+
"default": "6",
|
|
13297
|
+
"csc": {
|
|
13298
|
+
"defaultable": true
|
|
13299
|
+
}
|
|
13300
|
+
},
|
|
13301
|
+
{
|
|
13302
|
+
"kind": "field",
|
|
13303
|
+
"name": "label",
|
|
13304
|
+
"privacy": "public",
|
|
13305
|
+
"description": "Element label",
|
|
13306
|
+
"type": {
|
|
13307
|
+
"text": "string"
|
|
13308
|
+
},
|
|
13309
|
+
"default": "''",
|
|
13310
|
+
"csc": {
|
|
13311
|
+
"freeform": true
|
|
13312
|
+
}
|
|
13313
|
+
},
|
|
13314
|
+
{
|
|
13315
|
+
"kind": "field",
|
|
13316
|
+
"name": "labelOnTop",
|
|
13317
|
+
"privacy": "public",
|
|
13318
|
+
"description": "Label on top of the field",
|
|
13319
|
+
"type": {
|
|
13320
|
+
"text": "boolean"
|
|
13321
|
+
},
|
|
13322
|
+
"default": "false",
|
|
13323
|
+
"csc": {
|
|
13324
|
+
"defaultable": true
|
|
13325
|
+
}
|
|
13326
|
+
},
|
|
13327
|
+
{
|
|
13328
|
+
"kind": "field",
|
|
13329
|
+
"name": "levelLabels",
|
|
13330
|
+
"privacy": "public",
|
|
13331
|
+
"description": "Names of the levels, top level first, shown in the panel header; a\nmissing entry falls back to `texts.level(n)`. Arrays have no attribute\nform — bind as a DOM property",
|
|
13332
|
+
"type": {
|
|
13333
|
+
"text": "string[]"
|
|
13334
|
+
}
|
|
13335
|
+
},
|
|
13336
|
+
{
|
|
13337
|
+
"kind": "field",
|
|
13338
|
+
"name": "name",
|
|
13339
|
+
"privacy": "public",
|
|
13340
|
+
"description": "Input field name",
|
|
13341
|
+
"type": {
|
|
13342
|
+
"text": "string"
|
|
13343
|
+
},
|
|
13344
|
+
"default": "''",
|
|
13345
|
+
"csc": {
|
|
13346
|
+
"freeform": true
|
|
13347
|
+
}
|
|
13348
|
+
},
|
|
13349
|
+
{
|
|
13350
|
+
"kind": "field",
|
|
13351
|
+
"name": "placeholder",
|
|
13352
|
+
"privacy": "public",
|
|
13353
|
+
"description": "Placeholder for the search input inside the panel",
|
|
13354
|
+
"type": {
|
|
13355
|
+
"text": "string"
|
|
13356
|
+
},
|
|
13357
|
+
"default": "''",
|
|
13358
|
+
"csc": {
|
|
13359
|
+
"freeform": true
|
|
13360
|
+
}
|
|
13361
|
+
},
|
|
13362
|
+
{
|
|
13363
|
+
"kind": "field",
|
|
13364
|
+
"name": "required",
|
|
13365
|
+
"privacy": "public",
|
|
13366
|
+
"description": "Set the field as required",
|
|
13367
|
+
"type": {
|
|
13368
|
+
"text": "boolean"
|
|
13369
|
+
},
|
|
13370
|
+
"default": "false"
|
|
13371
|
+
},
|
|
13372
|
+
{
|
|
13373
|
+
"kind": "field",
|
|
13374
|
+
"name": "returnObject",
|
|
13375
|
+
"privacy": "public",
|
|
13376
|
+
"description": "Emit the committed item with its path as a `CTreeSelectSelection` instead\nof its value",
|
|
13377
|
+
"type": {
|
|
13378
|
+
"text": "boolean"
|
|
13379
|
+
},
|
|
13380
|
+
"default": "false"
|
|
13381
|
+
},
|
|
13382
|
+
{
|
|
13383
|
+
"kind": "field",
|
|
13384
|
+
"name": "shadow",
|
|
13385
|
+
"privacy": "public",
|
|
13386
|
+
"description": "Shadow variant",
|
|
13387
|
+
"type": {
|
|
13388
|
+
"text": "boolean"
|
|
13389
|
+
},
|
|
13390
|
+
"default": "false",
|
|
13391
|
+
"csc": {
|
|
13392
|
+
"defaultable": true
|
|
13393
|
+
}
|
|
13394
|
+
},
|
|
13395
|
+
{
|
|
13396
|
+
"kind": "field",
|
|
13397
|
+
"name": "size",
|
|
13398
|
+
"privacy": "public",
|
|
13399
|
+
"description": "Field height: the 44px default or the 36px `small` box",
|
|
13400
|
+
"type": {
|
|
13401
|
+
"text": "'default' | 'small'"
|
|
13402
|
+
},
|
|
13403
|
+
"default": "'default'",
|
|
13404
|
+
"csc": {
|
|
13405
|
+
"typeAlias": "CFieldSize",
|
|
13406
|
+
"defaultable": true
|
|
13407
|
+
}
|
|
13408
|
+
},
|
|
13409
|
+
{
|
|
13410
|
+
"kind": "field",
|
|
13411
|
+
"name": "texts",
|
|
13412
|
+
"privacy": "public",
|
|
13413
|
+
"description": "UI text overrides (i18n), merged over the English defaults. Objects have\nno attribute form — bind as a DOM property (`:texts.prop` in Vue)",
|
|
13414
|
+
"type": {
|
|
13415
|
+
"text": "CTreeSelectTexts"
|
|
13416
|
+
},
|
|
13417
|
+
"default": "{}",
|
|
13418
|
+
"csc": {
|
|
13419
|
+
"defaultable": true
|
|
13420
|
+
}
|
|
13421
|
+
},
|
|
13422
|
+
{
|
|
13423
|
+
"kind": "field",
|
|
13424
|
+
"name": "valid",
|
|
13425
|
+
"privacy": "public",
|
|
13426
|
+
"description": "Set the validity of the field",
|
|
13427
|
+
"type": {
|
|
13428
|
+
"text": "boolean"
|
|
13429
|
+
},
|
|
13430
|
+
"default": "true"
|
|
13431
|
+
},
|
|
13432
|
+
{
|
|
13433
|
+
"kind": "field",
|
|
13434
|
+
"name": "value",
|
|
13435
|
+
"privacy": "public",
|
|
13436
|
+
"description": "Selected value: the committed item's value, or the `CTreeSelectSelection`\nwith `return-object`; `null` when nothing is selected",
|
|
13437
|
+
"type": {
|
|
13438
|
+
"text": "CTreeSelectValue"
|
|
13439
|
+
},
|
|
13440
|
+
"default": "null"
|
|
13441
|
+
}
|
|
13442
|
+
],
|
|
13443
|
+
"slots": []
|
|
13444
|
+
}
|
|
13445
|
+
],
|
|
13446
|
+
"exports": [
|
|
13447
|
+
{
|
|
13448
|
+
"declaration": {
|
|
13449
|
+
"module": "src/components/c-tree-select/CTreeSelect.vue",
|
|
13450
|
+
"name": "CTreeSelect"
|
|
13451
|
+
},
|
|
13452
|
+
"kind": "js",
|
|
13453
|
+
"name": "CTreeSelect"
|
|
13454
|
+
},
|
|
13455
|
+
{
|
|
13456
|
+
"declaration": {
|
|
13457
|
+
"module": "src/components/c-tree-select/CTreeSelect.vue",
|
|
13458
|
+
"name": "CTreeSelect"
|
|
13459
|
+
},
|
|
13460
|
+
"kind": "custom-element-definition",
|
|
13461
|
+
"name": "c-tree-select"
|
|
13462
|
+
}
|
|
13463
|
+
],
|
|
13464
|
+
"kind": "javascript-module",
|
|
13465
|
+
"path": "src/components/c-tree-select/CTreeSelect.vue"
|
|
11445
13466
|
}
|
|
11446
13467
|
]
|
|
11447
13468
|
}
|