@cscfi/csc-ui 4.0.0-alpha.12 → 4.0.0-alpha.13
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 +6425 -6242
- package/dist/custom-elements.json +82 -6
- package/dist/docs/c-autocomplete/usage.md +38 -6
- package/dist/docs/c-select/usage.md +36 -3
- package/dist/vscode.css-custom-data.json +12 -0
- package/dist/vscode.html-custom-data.json +19 -4
- package/dist/web-types.json +61 -6
- package/dist-types/components/c-autocomplete/CAutocomplete.vue.d.ts +14 -0
- package/dist-types/components/c-dropdown/CDropdown.vue.d.ts +19 -3
- package/dist-types/components/c-select/CSelect.vue.d.ts +13 -0
- package/dist-types/shared/selectAll.d.ts +29 -0
- package/dist-types/tag-name-map.d.ts +35 -4
- package/package.json +1 -1
|
@@ -75,14 +75,14 @@
|
|
|
75
75
|
"owner": "c-autocomplete"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
|
-
"declaration": "export interface CAutocompleteProps {\n /** Make the selected value clearable */\n clearable?: boolean;\n /** Disable the input */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the autocomplete is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /**\n * The consumer owns filtering: the component renders its options verbatim\n * and only emits `change:query` as the user types. Pair with `loading` and\n * an async data source feeding `items`\n */\n external?: boolean;\n /** Custom filter predicate; receives a normalized option + the query. Ignored when `external` is set */\n filter?: CAutocompleteFilter;\n /** Hide the hint and error messages */\n hideDetails?: boolean;\n /**\n * Hint text for the input\n *\n * @freeform\n */\n hint?: string;\n /**\n * Id of the element\n *\n * @freeform\n */\n hostId?: string;\n /** Dropdown items (when not using <c-option> elements) */\n items?: CAutocompleteItem[];\n /** Items per page before the list scrolls */\n itemsPerPage?: number;\n /**\n * Element label\n *\n * @freeform\n */\n label?: string;\n /** Label on top of the input */\n labelOnTop?: boolean;\n /** Show loading state */\n loading?: boolean;\n /**\n * 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 /** Shadow variant */\n shadow?: boolean;\n /** Field height: the 44px default or the 36px `small` box */\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 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}",
|
|
78
|
+
"declaration": "export interface CAutocompleteProps {\n /** Make the selected value clearable */\n clearable?: boolean;\n /** Disable the input */\n disabled?: boolean;\n /**\n * Error message shown in place of the hint while the autocomplete is invalid\n *\n * @freeform\n */\n errorMessage?: string;\n /**\n * The consumer owns filtering: the component renders its options verbatim\n * and only emits `change:query` as the user types. Pair with `loading` and\n * an async data source feeding `items`\n */\n external?: boolean;\n /** Custom filter predicate; receives a normalized option + the query. Ignored when `external` is set */\n filter?: CAutocompleteFilter;\n /** Hide the hint and error messages */\n hideDetails?: boolean;\n /**\n * Hint text for the input\n *\n * @freeform\n */\n hint?: string;\n /**\n * Id of the element\n *\n * @freeform\n */\n hostId?: string;\n /** Dropdown items (when not using <c-option> elements) */\n items?: CAutocompleteItem[];\n /** Items per page before the list scrolls */\n itemsPerPage?: number;\n /**\n * Element label\n *\n * @freeform\n */\n label?: string;\n /** Label on top of the input */\n labelOnTop?: boolean;\n /** Show loading state */\n loading?: boolean;\n /**\n * 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 /** Shadow variant */\n shadow?: boolean;\n /** Field height: the 44px default or the 36px `small` box */\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 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}",
|
|
79
79
|
"description": "",
|
|
80
80
|
"kind": "interface",
|
|
81
81
|
"name": "CAutocompleteProps",
|
|
82
82
|
"owner": "c-autocomplete"
|
|
83
83
|
},
|
|
84
84
|
{
|
|
85
|
-
"declaration": "export interface CAutocompleteTexts {\n /** Accessible label of the clear button. */\n clearSelection?: 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 * 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}",
|
|
85
|
+
"declaration": "export interface CAutocompleteTexts {\n /** Accessible label of the clear button. */\n clearSelection?: 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
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
87
|
"kind": "interface",
|
|
88
88
|
"name": "CAutocompleteTexts",
|
|
@@ -334,14 +334,14 @@
|
|
|
334
334
|
"owner": "c-popover"
|
|
335
335
|
},
|
|
336
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 /** Hide the hint and error messages */\n hideDetails?: boolean;\n /**\n * Hint text for the input\n *\n * @freeform\n */\n hint?: string;\n /**\n * Id of the element\n *\n * @freeform\n */\n hostId?: string;\n /** Dropdown items (when not using <c-option> elements) */\n items?: CSelectItem[];\n /** Items per page before adding scroll */\n itemsPerPage?: number;\n /**\n * Element label\n *\n * @freeform\n */\n label?: string;\n /** Label on top of the input */\n labelOnTop?: boolean;\n /** Show loading state */\n loading?: boolean;\n /**\n * 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 /** Shadow variant */\n shadow?: boolean;\n /** Field height: the 44px default or the 36px `small` box */\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 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}",
|
|
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 /** Hide the hint and error messages */\n hideDetails?: boolean;\n /**\n * Hint text for the input\n *\n * @freeform\n */\n hint?: string;\n /**\n * Id of the element\n *\n * @freeform\n */\n hostId?: string;\n /** Dropdown items (when not using <c-option> elements) */\n items?: CSelectItem[];\n /** Items per page before adding scroll */\n itemsPerPage?: number;\n /**\n * Element label\n *\n * @freeform\n */\n label?: string;\n /** Label on top of the input */\n labelOnTop?: boolean;\n /** Show loading state */\n loading?: boolean;\n /**\n * 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 /** Shadow variant */\n shadow?: boolean;\n /** Field height: the 44px default or the 36px `small` box */\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 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
338
|
"description": "",
|
|
339
339
|
"kind": "interface",
|
|
340
340
|
"name": "CSelectProps",
|
|
341
341
|
"owner": "c-select"
|
|
342
342
|
},
|
|
343
343
|
{
|
|
344
|
-
"declaration": "export interface CSelectTexts {\n /** Accessible label of the clear button. */\n clearSelection?: 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 * 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}",
|
|
344
|
+
"declaration": "export interface CSelectTexts {\n /** Accessible label of the clear button. */\n clearSelection?: 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
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
346
|
"kind": "interface",
|
|
347
347
|
"name": "CSelectTexts",
|
|
@@ -1143,6 +1143,15 @@
|
|
|
1143
1143
|
},
|
|
1144
1144
|
"default": "false"
|
|
1145
1145
|
},
|
|
1146
|
+
{
|
|
1147
|
+
"fieldName": "selectAll",
|
|
1148
|
+
"name": "select-all",
|
|
1149
|
+
"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",
|
|
1150
|
+
"type": {
|
|
1151
|
+
"text": "boolean"
|
|
1152
|
+
},
|
|
1153
|
+
"default": "false"
|
|
1154
|
+
},
|
|
1146
1155
|
{
|
|
1147
1156
|
"fieldName": "shadow",
|
|
1148
1157
|
"name": "shadow",
|
|
@@ -1195,6 +1204,10 @@
|
|
|
1195
1204
|
"name": "item",
|
|
1196
1205
|
"description": "One option row in the list"
|
|
1197
1206
|
},
|
|
1207
|
+
{
|
|
1208
|
+
"name": "select-all",
|
|
1209
|
+
"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"
|
|
1210
|
+
},
|
|
1198
1211
|
{
|
|
1199
1212
|
"name": "indicator",
|
|
1200
1213
|
"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)"
|
|
@@ -1470,6 +1483,16 @@
|
|
|
1470
1483
|
},
|
|
1471
1484
|
"default": "false"
|
|
1472
1485
|
},
|
|
1486
|
+
{
|
|
1487
|
+
"kind": "field",
|
|
1488
|
+
"name": "selectAll",
|
|
1489
|
+
"privacy": "public",
|
|
1490
|
+
"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",
|
|
1491
|
+
"type": {
|
|
1492
|
+
"text": "boolean"
|
|
1493
|
+
},
|
|
1494
|
+
"default": "false"
|
|
1495
|
+
},
|
|
1473
1496
|
{
|
|
1474
1497
|
"kind": "field",
|
|
1475
1498
|
"name": "shadow",
|
|
@@ -3584,7 +3607,7 @@
|
|
|
3584
3607
|
{
|
|
3585
3608
|
"fieldName": "index",
|
|
3586
3609
|
"name": "index",
|
|
3587
|
-
"description": "Current highlighted index",
|
|
3610
|
+
"description": "Current highlighted index; `-1` (`SELECT_ALL_INDEX`) is the select-all row",
|
|
3588
3611
|
"type": {
|
|
3589
3612
|
"text": "null | number"
|
|
3590
3613
|
},
|
|
@@ -3626,6 +3649,15 @@
|
|
|
3626
3649
|
},
|
|
3627
3650
|
"default": "null"
|
|
3628
3651
|
},
|
|
3652
|
+
{
|
|
3653
|
+
"fieldName": "selectAllRow",
|
|
3654
|
+
"name": "select-all-row",
|
|
3655
|
+
"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",
|
|
3656
|
+
"type": {
|
|
3657
|
+
"text": "CDropdownSelectAllRow | null"
|
|
3658
|
+
},
|
|
3659
|
+
"default": "null"
|
|
3660
|
+
},
|
|
3629
3661
|
{
|
|
3630
3662
|
"fieldName": "type",
|
|
3631
3663
|
"name": "type",
|
|
@@ -3652,6 +3684,10 @@
|
|
|
3652
3684
|
"name": "item",
|
|
3653
3685
|
"description": "One option row"
|
|
3654
3686
|
},
|
|
3687
|
+
{
|
|
3688
|
+
"name": "select-all",
|
|
3689
|
+
"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"
|
|
3690
|
+
},
|
|
3655
3691
|
{
|
|
3656
3692
|
"name": "indicator",
|
|
3657
3693
|
"description": "The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together"
|
|
@@ -3677,6 +3713,13 @@
|
|
|
3677
3713
|
"text": "CustomEvent<{ name: string; value: number | string }>"
|
|
3678
3714
|
},
|
|
3679
3715
|
"description": "Fired when the user selects an option row, carrying the option's name\nand value for the parent (c-select) to commit. Also dispatched as `select-option` — bind that name in Vue templates."
|
|
3716
|
+
},
|
|
3717
|
+
{
|
|
3718
|
+
"name": "selectall",
|
|
3719
|
+
"type": {
|
|
3720
|
+
"text": "CustomEvent<void>"
|
|
3721
|
+
},
|
|
3722
|
+
"description": "Fired when the select-all row is activated; the parent (c-select) toggles\nevery listed enabled option."
|
|
3680
3723
|
}
|
|
3681
3724
|
],
|
|
3682
3725
|
"members": [
|
|
@@ -3710,7 +3753,7 @@
|
|
|
3710
3753
|
"kind": "field",
|
|
3711
3754
|
"name": "index",
|
|
3712
3755
|
"privacy": "public",
|
|
3713
|
-
"description": "Current highlighted index",
|
|
3756
|
+
"description": "Current highlighted index; `-1` (`SELECT_ALL_INDEX`) is the select-all row",
|
|
3714
3757
|
"type": {
|
|
3715
3758
|
"text": "null | number"
|
|
3716
3759
|
},
|
|
@@ -3756,6 +3799,16 @@
|
|
|
3756
3799
|
},
|
|
3757
3800
|
"default": "null"
|
|
3758
3801
|
},
|
|
3802
|
+
{
|
|
3803
|
+
"kind": "field",
|
|
3804
|
+
"name": "selectAllRow",
|
|
3805
|
+
"privacy": "public",
|
|
3806
|
+
"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",
|
|
3807
|
+
"type": {
|
|
3808
|
+
"text": "CDropdownSelectAllRow | null"
|
|
3809
|
+
},
|
|
3810
|
+
"default": "null"
|
|
3811
|
+
},
|
|
3759
3812
|
{
|
|
3760
3813
|
"kind": "field",
|
|
3761
3814
|
"name": "selected",
|
|
@@ -8443,6 +8496,15 @@
|
|
|
8443
8496
|
},
|
|
8444
8497
|
"default": "false"
|
|
8445
8498
|
},
|
|
8499
|
+
{
|
|
8500
|
+
"fieldName": "selectAll",
|
|
8501
|
+
"name": "select-all",
|
|
8502
|
+
"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",
|
|
8503
|
+
"type": {
|
|
8504
|
+
"text": "boolean"
|
|
8505
|
+
},
|
|
8506
|
+
"default": "false"
|
|
8507
|
+
},
|
|
8446
8508
|
{
|
|
8447
8509
|
"fieldName": "shadow",
|
|
8448
8510
|
"name": "shadow",
|
|
@@ -8487,6 +8549,10 @@
|
|
|
8487
8549
|
"name": "item",
|
|
8488
8550
|
"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"
|
|
8489
8551
|
},
|
|
8552
|
+
{
|
|
8553
|
+
"name": "select-all",
|
|
8554
|
+
"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"
|
|
8555
|
+
},
|
|
8490
8556
|
{
|
|
8491
8557
|
"name": "indicator",
|
|
8492
8558
|
"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)"
|
|
@@ -8731,6 +8797,16 @@
|
|
|
8731
8797
|
},
|
|
8732
8798
|
"default": "false"
|
|
8733
8799
|
},
|
|
8800
|
+
{
|
|
8801
|
+
"kind": "field",
|
|
8802
|
+
"name": "selectAll",
|
|
8803
|
+
"privacy": "public",
|
|
8804
|
+
"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",
|
|
8805
|
+
"type": {
|
|
8806
|
+
"text": "boolean"
|
|
8807
|
+
},
|
|
8808
|
+
"default": "false"
|
|
8809
|
+
},
|
|
8734
8810
|
{
|
|
8735
8811
|
"kind": "field",
|
|
8736
8812
|
"name": "shadow",
|
|
@@ -17,6 +17,30 @@ renders in the row:
|
|
|
17
17
|
</c-option>
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
The row shows a copy of the option's markup, re-created from its HTML inside
|
|
21
|
+
the panel. A component nested in an option — a `c-icon`, say — is therefore
|
|
22
|
+
configured through attributes, or props with an attribute form (strings,
|
|
23
|
+
numbers, booleans); object props and event listeners on option content do not
|
|
24
|
+
carry over. Page CSS does not reach the copy either: give the content a `part`
|
|
25
|
+
and style it through the field:
|
|
26
|
+
|
|
27
|
+
```html
|
|
28
|
+
<c-option value="ts">
|
|
29
|
+
<div part="language">
|
|
30
|
+
<c-option-value>TypeScript</c-option-value>
|
|
31
|
+
<c-icon path="…"></c-icon>
|
|
32
|
+
</div>
|
|
33
|
+
</c-option>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
```css
|
|
37
|
+
c-autocomplete::part(language) {
|
|
38
|
+
display: flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
gap: 0.5rem;
|
|
41
|
+
}
|
|
42
|
+
```
|
|
43
|
+
|
|
20
44
|
While a query is typed, the runs of each option's label that equal it are
|
|
21
45
|
marked: inside the `c-option-value` of a slotted option, or in the plain
|
|
22
46
|
label of an `items` entry. A slotted option without the wrapper is rendered
|
|
@@ -79,9 +103,17 @@ technology always hears the full selection as the field's value. With
|
|
|
79
103
|
`external`, a pick's label is remembered when it is made, so a later fetch
|
|
80
104
|
that no longer lists it keeps its tag readable.
|
|
81
105
|
|
|
106
|
+
Set `select-all` to pin a select-all row at the top of the list. It acts on
|
|
107
|
+
the options currently listed — the matches while a query is typed, or the
|
|
108
|
+
`items` you supply with `external`: activating it selects every enabled one
|
|
109
|
+
of them, or unselects them all when they already are, and options outside
|
|
110
|
+
the list keep their state. Disabled options are left alone, and the row only
|
|
111
|
+
appears while there is something to select. Its label is `texts.selectAll`,
|
|
112
|
+
a function receiving the number of listed options.
|
|
113
|
+
|
|
82
114
|
The row checkboxes recolour like c-checkbox's (`::part(indicator)`,
|
|
83
|
-
`::part(mark)`),
|
|
84
|
-
`tag-root` parts:
|
|
115
|
+
`::part(mark)`), the select-all row is the `select-all` part, and the tags are
|
|
116
|
+
stylable through the `tags`, `tag` and `tag-root` parts:
|
|
85
117
|
|
|
86
118
|
```css
|
|
87
119
|
c-autocomplete::part(tag-root) {
|
|
@@ -92,10 +124,10 @@ c-autocomplete::part(tag-root) {
|
|
|
92
124
|
## Texts
|
|
93
125
|
|
|
94
126
|
Every built-in string — the clear and toggle button labels, the search
|
|
95
|
-
input's placeholder and accessible label, the loading and no-results rows,
|
|
96
|
-
tag's remove label, the overflow and count
|
|
97
|
-
another language through the `texts` object,
|
|
98
|
-
defaults. Count and label texts are functions, so the object must be bound
|
|
127
|
+
input's placeholder and accessible label, the loading and no-results rows,
|
|
128
|
+
the select-all row's label, a tag's remove label, the overflow and count
|
|
129
|
+
texts — can be replaced for another language through the `texts` object,
|
|
130
|
+
merged over the English defaults. Count and label texts are functions, so the object must be bound
|
|
99
131
|
as a DOM property; the `placeholder` prop still wins over
|
|
100
132
|
`texts.searchPlaceholder` when both are set:
|
|
101
133
|
|
|
@@ -10,6 +10,31 @@ Wrap the label in `c-option-value` when an option carries more than its
|
|
|
10
10
|
label, such as a description; the rest of the option's markup still renders
|
|
11
11
|
in the list row.
|
|
12
12
|
|
|
13
|
+
The row shows a copy of the option's markup, re-created from its HTML inside
|
|
14
|
+
the list. A component nested in an option — a `c-icon`, say — is therefore
|
|
15
|
+
configured through attributes, or props with an attribute form (strings,
|
|
16
|
+
numbers, booleans); object props and event listeners on option content do not
|
|
17
|
+
carry over. Page CSS does not reach the copy either: give the content a `part`
|
|
18
|
+
and style it through the field, which forwards every `part` named inside its
|
|
19
|
+
options:
|
|
20
|
+
|
|
21
|
+
```html
|
|
22
|
+
<c-option value="ts">
|
|
23
|
+
<div part="language">
|
|
24
|
+
<c-option-value>TypeScript</c-option-value>
|
|
25
|
+
<c-icon path="…"></c-icon>
|
|
26
|
+
</div>
|
|
27
|
+
</c-option>
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
```css
|
|
31
|
+
c-select::part(language) {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
gap: 0.5rem;
|
|
35
|
+
}
|
|
36
|
+
```
|
|
37
|
+
|
|
13
38
|
## Multiple selection
|
|
14
39
|
|
|
15
40
|
Set `multiple` to let the user pick several options. The value is then an
|
|
@@ -28,9 +53,16 @@ tags and fold the rest into a single "+N more" tag, or `max-tags="0"` to
|
|
|
28
53
|
show no tags at all — the field then reads "N selected". Assistive
|
|
29
54
|
technology always hears the full selection as the field's value.
|
|
30
55
|
|
|
56
|
+
Set `select-all` to pin a select-all row at the top of the list. Its checkbox
|
|
57
|
+
shows whether none, some or all enabled options are selected; activating it
|
|
58
|
+
selects every enabled option, or unselects them all when they already are.
|
|
59
|
+
Disabled options are left alone, and the row only appears while there is
|
|
60
|
+
something to select. Its label is `texts.selectAll`, a function receiving the
|
|
61
|
+
number of listed options.
|
|
62
|
+
|
|
31
63
|
The row checkboxes recolour like c-checkbox's (`::part(indicator)`,
|
|
32
|
-
`::part(mark)`),
|
|
33
|
-
`tag-root` parts:
|
|
64
|
+
`::part(mark)`), the select-all row is the `select-all` part, and the tags are
|
|
65
|
+
stylable through the `tags`, `tag` and `tag-root` parts:
|
|
34
66
|
|
|
35
67
|
```css
|
|
36
68
|
c-select::part(tag-root) {
|
|
@@ -41,7 +73,8 @@ c-select::part(tag-root) {
|
|
|
41
73
|
## Texts
|
|
42
74
|
|
|
43
75
|
Every built-in string — the clear and toggle button labels, a tag's remove
|
|
44
|
-
label, the overflow and count texts
|
|
76
|
+
label, the overflow and count texts, the select-all row's label — can be
|
|
77
|
+
replaced for another language
|
|
45
78
|
through the `texts` object, merged over the English defaults. Count and
|
|
46
79
|
label texts are functions, so the object must be bound as a DOM property:
|
|
47
80
|
|
|
@@ -60,6 +60,10 @@
|
|
|
60
60
|
},
|
|
61
61
|
{ "name": "::part(list)", "description": "The scrollable options listbox" },
|
|
62
62
|
{ "name": "::part(item)", "description": "One option row in the list" },
|
|
63
|
+
{
|
|
64
|
+
"name": "::part(select-all)",
|
|
65
|
+
"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"
|
|
66
|
+
},
|
|
63
67
|
{
|
|
64
68
|
"name": "::part(indicator)",
|
|
65
69
|
"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)"
|
|
@@ -222,6 +226,10 @@
|
|
|
222
226
|
},
|
|
223
227
|
{ "name": "::part(list)", "description": "The scrolling listbox" },
|
|
224
228
|
{ "name": "::part(item)", "description": "One option row" },
|
|
229
|
+
{
|
|
230
|
+
"name": "::part(select-all)",
|
|
231
|
+
"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"
|
|
232
|
+
},
|
|
225
233
|
{
|
|
226
234
|
"name": "::part(indicator)",
|
|
227
235
|
"description": "The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together"
|
|
@@ -509,6 +517,10 @@
|
|
|
509
517
|
"name": "::part(item)",
|
|
510
518
|
"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"
|
|
511
519
|
},
|
|
520
|
+
{
|
|
521
|
+
"name": "::part(select-all)",
|
|
522
|
+
"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"
|
|
523
|
+
},
|
|
512
524
|
{
|
|
513
525
|
"name": "::part(indicator)",
|
|
514
526
|
"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)"
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
},
|
|
87
87
|
{
|
|
88
88
|
"name": "c-autocomplete",
|
|
89
|
-
"description": "A filterable value-selection component: a readonly value field that opens a popover panel with a search input above the matching options.\n---\n\n\n### **Events:**\n - **change** - Native change event (no detail) dispatched whenever a selection is\ncommitted or cleared; bubbles through the shadow boundary for\nform-style listeners.\n- **change:query** - Fired whenever the query changes — on every keystroke in the search\ninput, and with an empty string when the panel opens. Carries the query\nstring. With `external`, drive your data source from this (debounce on\nyour side) and feed the results back via `items`.\n- **changeValue** - 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.\n- **input** - Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail.\n- **update:value** - Fired alongside `changeValue` with the same detail — the `v-model`\ncontract.\n\n### **Methods:**\n - **reset()** - Reset autocomplete state\n\n### **Slots:**\n - **pre** - Content placed before the value field inside the input row\n- **default** - The c-option elements used as the data source (never rendered in place)\n- **post** - Content placed after the value field inside the input row\n\n### **CSS Parts:**\n - **panel** - The top-layer popover container anchored below the field\n- **card** - The elevated surface inside the panel holding the search row and the list\n- **search** - The search-input row at the top of the panel\n- **list** - The scrollable options listbox\n- **item** - One option row in the list\n- **indicator** - 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)\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`\n- **match** - A run of an option's label equal to the query, in the row; underlined in the primary colour, text inherits the row\n- **info** - The info row: loading while `loading` with an empty list, otherwise no-results when the query matches no options\n- **tags** - The row of selected-value tags inside the field (`multiple` mode)\n- **tag** - One selected-value tag: the `c-tag` host, including the overflow tag\n- **tag-root** - The pill box inside each tag (the `c-tag` `root` part), for colours and borders",
|
|
89
|
+
"description": "A filterable value-selection component: a readonly value field that opens a popover panel with a search input above the matching options.\n---\n\n\n### **Events:**\n - **change** - Native change event (no detail) dispatched whenever a selection is\ncommitted or cleared; bubbles through the shadow boundary for\nform-style listeners.\n- **change:query** - Fired whenever the query changes — on every keystroke in the search\ninput, and with an empty string when the panel opens. Carries the query\nstring. With `external`, drive your data source from this (debounce on\nyour side) and feed the results back via `items`.\n- **changeValue** - 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.\n- **input** - Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail.\n- **update:value** - Fired alongside `changeValue` with the same detail — the `v-model`\ncontract.\n\n### **Methods:**\n - **reset()** - Reset autocomplete state\n\n### **Slots:**\n - **pre** - Content placed before the value field inside the input row\n- **default** - The c-option elements used as the data source (never rendered in place)\n- **post** - Content placed after the value field inside the input row\n\n### **CSS Parts:**\n - **panel** - The top-layer popover container anchored below the field\n- **card** - The elevated surface inside the panel holding the search row and the list\n- **search** - The search-input row at the top of the panel\n- **list** - The scrollable options listbox\n- **item** - One option row in the list\n- **select-all** - 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\n- **indicator** - 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)\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`\n- **match** - A run of an option's label equal to the query, in the row; underlined in the primary colour, text inherits the row\n- **info** - The info row: loading while `loading` with an empty list, otherwise no-results when the query matches no options\n- **tags** - The row of selected-value tags inside the field (`multiple` mode)\n- **tag** - One selected-value tag: the `c-tag` host, including the overflow tag\n- **tag-root** - The pill box inside each tag (the `c-tag` `root` part), for colours and borders",
|
|
90
90
|
"attributes": [
|
|
91
91
|
{
|
|
92
92
|
"name": "clearable",
|
|
@@ -161,6 +161,11 @@
|
|
|
161
161
|
"description": "Return object instead of value",
|
|
162
162
|
"values": []
|
|
163
163
|
},
|
|
164
|
+
{
|
|
165
|
+
"name": "select-all",
|
|
166
|
+
"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",
|
|
167
|
+
"values": []
|
|
168
|
+
},
|
|
164
169
|
{ "name": "shadow", "description": "Shadow variant", "values": [] },
|
|
165
170
|
{
|
|
166
171
|
"name": "size",
|
|
@@ -512,7 +517,7 @@
|
|
|
512
517
|
},
|
|
513
518
|
{
|
|
514
519
|
"name": "c-dropdown",
|
|
515
|
-
"description": "\n---\n\n\n### **Events:**\n - **dropdownStateChange** - Fired when the dropdown menu opens or closes; the detail is the new open\nstate. Also dispatched as `dropdown-state-change` — bind that name in Vue templates.\n- **selectOption** - Fired when the user selects an option row, carrying the option's name\nand value for the parent (c-select) to commit. Also dispatched as `select-option` — bind that name in Vue templates.\n\n### **Methods:**\n - **close()** - Close dropdown\n- **open()** - Open dropdown\n- **selectItem()** - Select item\n- **updateList()** - Update list items\n\n### **Slots:**\n - **default** - The anchor c-input of the parent select / autocomplete, rendered inline while the menu is closed\n- **input-top** - Target the c-input is moved into when the menu opens below the field\n- **input-bottom** - Target the c-input is moved into when the menu opens above the field\n\n### **CSS Parts:**\n - **menu** - The positioned dialog surface holding the field and the list\n- **list** - The scrolling listbox\n- **item** - One option row\n- **indicator** - The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`",
|
|
520
|
+
"description": "\n---\n\n\n### **Events:**\n - **dropdownStateChange** - Fired when the dropdown menu opens or closes; the detail is the new open\nstate. Also dispatched as `dropdown-state-change` — bind that name in Vue templates.\n- **selectOption** - Fired when the user selects an option row, carrying the option's name\nand value for the parent (c-select) to commit. Also dispatched as `select-option` — bind that name in Vue templates.\n- **selectall** - Fired when the select-all row is activated; the parent (c-select) toggles\nevery listed enabled option.\n\n### **Methods:**\n - **close()** - Close dropdown\n- **open()** - Open dropdown\n- **selectItem()** - Select item\n- **updateList()** - Update list items\n\n### **Slots:**\n - **default** - The anchor c-input of the parent select / autocomplete, rendered inline while the menu is closed\n- **input-top** - Target the c-input is moved into when the menu opens below the field\n- **input-bottom** - Target the c-input is moved into when the menu opens above the field\n\n### **CSS Parts:**\n - **menu** - The positioned dialog surface holding the field and the list\n- **list** - The scrolling listbox\n- **item** - One option row\n- **select-all** - The pinned select-all row at the top of the list in `multiple` mode; carries the same indicator / mark parts as an option row\n- **indicator** - The decorative checkbox box on an option row in `multiple` mode; border, fill and glyph draw with `currentColor`, so `color` recolours them together\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`",
|
|
516
521
|
"attributes": [
|
|
517
522
|
{
|
|
518
523
|
"name": "dropdown-item-type",
|
|
@@ -526,7 +531,7 @@
|
|
|
526
531
|
},
|
|
527
532
|
{
|
|
528
533
|
"name": "index",
|
|
529
|
-
"description": "Current highlighted index",
|
|
534
|
+
"description": "Current highlighted index; `-1` (`SELECT_ALL_INDEX`) is the select-all row",
|
|
530
535
|
"values": []
|
|
531
536
|
},
|
|
532
537
|
{
|
|
@@ -549,6 +554,11 @@
|
|
|
549
554
|
"description": "Dropdown parent (the c-select / c-autocomplete host element)",
|
|
550
555
|
"values": [{ "name": "HTMLElement" }]
|
|
551
556
|
},
|
|
557
|
+
{
|
|
558
|
+
"name": "select-all-row",
|
|
559
|
+
"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",
|
|
560
|
+
"values": [{ "name": "CDropdownSelectAllRow" }]
|
|
561
|
+
},
|
|
552
562
|
{
|
|
553
563
|
"name": "type",
|
|
554
564
|
"description": "Parent type — drives autocomplete-only behaviour (highlight, messages)",
|
|
@@ -1345,7 +1355,7 @@
|
|
|
1345
1355
|
},
|
|
1346
1356
|
{
|
|
1347
1357
|
"name": "c-select",
|
|
1348
|
-
"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`.\n---\n\n\n### **Events:**\n - **changeValue** - Fired when the selection changes (an option is picked or the value is\ncleared), carrying the new value — the option's value, or the whole\n`{ name, value }` item when `return-object` is set; `null` when cleared.\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.\n- **input** - Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail.\n- **update:value** - Fired alongside `changeValue` with the same detail — the `v-model`\ncontract.\n\n### **Methods:**\n - **reset()** - Reset select state\n\n### **Slots:**\n - **default** - Use c-option elements only\n- **pre** - Leading content forwarded to the inner c-input, rendered before the select's value\n- **post** - Trailing content forwarded to the inner c-input, rendered after the select's controls\n\n### **CSS Parts:**\n - **menu** - The dropdown surface (the positioned dialog) holding the field and the list\n- **list** - The scrolling listbox of options\n- **item** - One option row in the list. Any `part` attribute set on content inside a slotted `<c-option>` is exported too, so `c-select::part(<name>)` reaches the consumer's own option markup\n- **indicator** - 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)\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`\n- **tags** - The row of selected-value tags inside the field (`multiple` mode)\n- **tag** - One selected-value tag: the `c-tag` host, including the overflow tag\n- **tag-root** - The pill box inside each tag (the `c-tag` `root` part), for colours and borders",
|
|
1358
|
+
"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`.\n---\n\n\n### **Events:**\n - **changeValue** - Fired when the selection changes (an option is picked or the value is\ncleared), carrying the new value — the option's value, or the whole\n`{ name, value }` item when `return-object` is set; `null` when cleared.\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.\n- **input** - Native bubbling input event dispatched alongside every value change so a\nplain `v-model` stays in sync. Carries no detail.\n- **update:value** - Fired alongside `changeValue` with the same detail — the `v-model`\ncontract.\n\n### **Methods:**\n - **reset()** - Reset select state\n\n### **Slots:**\n - **default** - Use c-option elements only\n- **pre** - Leading content forwarded to the inner c-input, rendered before the select's value\n- **post** - Trailing content forwarded to the inner c-input, rendered after the select's controls\n\n### **CSS Parts:**\n - **menu** - The dropdown surface (the positioned dialog) holding the field and the list\n- **list** - The scrolling listbox of options\n- **item** - One option row in the list. Any `part` attribute set on content inside a slotted `<c-option>` is exported too, so `c-select::part(<name>)` reaches the consumer's own option markup\n- **select-all** - 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\n- **indicator** - 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)\n- **mark** - The check glyph inside a row indicator; draws with `currentColor`\n- **tags** - The row of selected-value tags inside the field (`multiple` mode)\n- **tag** - One selected-value tag: the `c-tag` host, including the overflow tag\n- **tag-root** - The pill box inside each tag (the `c-tag` `root` part), for colours and borders",
|
|
1349
1359
|
"attributes": [
|
|
1350
1360
|
{
|
|
1351
1361
|
"name": "clearable",
|
|
@@ -1420,6 +1430,11 @@
|
|
|
1420
1430
|
"description": "Return object instead of value",
|
|
1421
1431
|
"values": []
|
|
1422
1432
|
},
|
|
1433
|
+
{
|
|
1434
|
+
"name": "select-all",
|
|
1435
|
+
"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",
|
|
1436
|
+
"values": []
|
|
1437
|
+
},
|
|
1423
1438
|
{ "name": "shadow", "description": "Shadow variant", "values": [] },
|
|
1424
1439
|
{
|
|
1425
1440
|
"name": "size",
|