bitboss-ui 3.0.0-beta.75 → 3.0.0-beta.76
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/README.md +5 -5
- package/bin/cli.mjs +16 -10
- package/dist/ai/BbAlert.md +1 -1
- package/dist/ai/BbBreadcrumbs.md +1 -1
- package/dist/ai/BbButton.md +2 -2
- package/dist/ai/BbColorInput.md +1 -1
- package/dist/ai/BbColorPalette.md +1 -1
- package/dist/ai/BbConfirm.md +1 -1
- package/dist/ai/BbDatePicker.md +1 -1
- package/dist/ai/BbDatePickerInput.md +1 -1
- package/dist/ai/BbDialog.md +3 -2
- package/dist/ai/BbDropdown.md +23 -21
- package/dist/ai/BbDropdownButton.md +13 -11
- package/dist/ai/BbGallery.md +3 -2
- package/dist/ai/BbIcon.md +10 -10
- package/dist/ai/BbOffCanvas.md +3 -2
- package/dist/ai/BbPopover.md +1 -1
- package/dist/ai/BbSelect.md +153 -43
- package/dist/ai/BbSelectPopover.md +115 -9
- package/dist/ai/BbTable.md +1 -1
- package/dist/ai/BbTimePicker.md +1 -1
- package/dist/ai/BbTimePickerInput.md +1 -1
- package/dist/ai/GroupedListBox.md +2 -2
- package/dist/ai/ListBox.md +3 -2
- package/dist/ai/changelog.json +153 -7
- package/dist/ai/components.json +12 -12
- package/dist/ai/guides/agent-contract.md +1 -1
- package/dist/ai/guides/calendars-and-digits.md +1 -1
- package/dist/ai/guides/eslint-rules.md +1 -1
- package/dist/ai/guides/icons-policy.md +32 -11
- package/dist/ai/guides/installation-and-plugin-setup.md +24 -23
- package/dist/ai/guides/migration/adoption-checklist.md +1 -1
- package/dist/ai/guides/migration/components/bb-icon.md +4 -4
- package/dist/ai/guides/migration/v2-to-v3.md +48 -19
- package/dist/ai/guides/migration/v3-beta-css-classes.md +18 -3
- package/dist/ai/guides/passthrough.md +58 -58
- package/dist/ai/helpers/inertia/manifest.json +1 -1
- package/dist/ai/manifest/components/BbDialog.tree.json +1 -1
- package/dist/ai/manifest/components/BbDropdown.json +19 -17
- package/dist/ai/manifest/components/BbDropdown.tree.json +9 -9
- package/dist/ai/manifest/components/BbDropdownButton.json +12 -10
- package/dist/ai/manifest/components/BbDropdownButton.tree.json +2 -0
- package/dist/ai/manifest/components/BbGallery.tree.json +1 -1
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
- package/dist/ai/manifest/components/BbSelect.json +44 -40
- package/dist/ai/manifest/components/BbSelect.tree.json +2 -1
- package/dist/ai/manifest/components/BbSelectPopover.json +10 -6
- package/dist/ai/manifest/components/BbSelectPopover.tree.json +4 -1
- package/dist/ai/manifest/components/BbTable.tree.json +5 -1
- package/dist/ai/manifest/components/GroupedListBox.json +1 -1
- package/dist/ai/manifest/components/GroupedListBox.tree.json +1 -0
- package/dist/ai/manifest/components/ListBox.json +1 -1
- package/dist/ai/manifest/components/ListBox.tree.json +1 -1
- package/dist/ai/manifest/index.json +2 -2
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/inertia/onboarding.md +1 -1
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/nuxt/onboarding.md +1 -1
- package/dist/ai/recipes/vue/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/vue/onboarding.md +2 -2
- package/dist/ai/source/BbAccordion.md +4 -5
- package/dist/ai/source/BbAvatar.md +9 -2
- package/dist/ai/source/BbBadge.md +6 -2
- package/dist/ai/source/BbBreadcrumbs.md +5 -2
- package/dist/ai/source/BbCalendar.md +8 -6
- package/dist/ai/source/BbCarousel.md +10 -6
- package/dist/ai/source/BbColorPalette.md +5 -2
- package/dist/ai/source/BbDatePickerInput.md +7 -2
- package/dist/ai/source/BbDropdown.md +91 -66
- package/dist/ai/source/BbDropdownButton.md +36 -19
- package/dist/ai/source/BbDropdownGroup.md +91 -66
- package/dist/ai/source/BbGallery.md +6 -5
- package/dist/ai/source/BbPagination.md +12 -28
- package/dist/ai/source/BbRating.md +4 -4
- package/dist/ai/source/BbSelect.md +130 -106
- package/dist/ai/source/BbSelectPopover.md +128 -21
- package/dist/ai/source/BbTable.md +42 -9
- package/dist/ai/source/BbTimePickerInput.md +6 -2
- package/dist/ai/source/ClearableButton.md +4 -2
- package/dist/ai/source/ErrorIcon.md +4 -3
- package/dist/ai/source/FlatListBox.md +7 -2
- package/dist/ai/source/GroupedListBox.md +22 -3
- package/dist/ai/source/ListBox.md +7 -1
- package/dist/ai/source/WarningIcon.md +4 -3
- package/dist/assets/svgs/close.svg_raw.js +1 -1
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
- package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +35 -34
- package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +48 -47
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +60 -59
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +128 -127
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +1 -1
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +240 -239
- package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +500 -499
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +4 -4
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +175 -174
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +1 -1
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +2 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +263 -262
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +81 -80
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +4 -0
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +318 -312
- package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +47 -46
- package/dist/components/BbDropdown/ptKeys.generated.d.ts +36 -20
- package/dist/components/BbDropdown/types.d.ts +51 -53
- package/dist/components/BbDropdown/types.js +2 -0
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +1 -1
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +74 -59
- package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +111 -63
- package/dist/components/BbDropdownButton/types.d.ts +12 -10
- package/dist/components/BbDropdownButton/types.js +2 -0
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
- package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +204 -203
- package/dist/components/BbIcon/iconCache.js +1 -1
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
- package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -2
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +138 -136
- package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -4
- package/dist/components/BbRating/BbRating.vue.d.ts +1 -1
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +100 -99
- package/dist/components/BbSelect/BbSelect.vue.d.ts +30 -20
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +201 -184
- package/dist/components/BbSelect/ptKeys.generated.d.ts +128 -96
- package/dist/components/BbSelect/types.d.ts +101 -105
- package/dist/components/BbSelect/types.js +1 -27
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +6 -3
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +617 -585
- package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +22 -10
- package/dist/components/BbSelectPopover/types.d.ts +22 -13
- package/dist/components/BbSelectPopover/types.js +3 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
- package/dist/components/BbTable/BbTable.vue.d.ts +1 -1
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1092 -1090
- package/dist/components/BbTable/BbTableDataRow.js +97 -90
- package/dist/components/BbTabs/BbTabs.vue.d.ts +3 -3
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +2 -2
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +2 -2
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +225 -224
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +76 -75
- package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +9 -8
- package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
- package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +9 -7
- package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +8 -6
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +69 -68
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +166 -165
- package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +8 -6
- package/dist/composables/useInternalIcon.js +25 -0
- package/dist/icon-scan.d.ts +1 -1
- package/dist/llms-full.txt +477 -187
- package/dist/llms-medium.txt +25 -24
- package/dist/llms.txt +1 -1
- package/dist/nuxt.js +1 -1
- package/dist/styles.css +2 -2
- package/dist/types/Config.d.ts +8 -1
- package/dist/types/ConfigDefaults.d.ts +10 -2
- package/dist/types/internalIcons.d.ts +89 -0
- package/dist/types/internalIcons.js +158 -0
- package/dist/types/ptComponentMap.d.ts +4 -4
- package/dist/utils/configDefaults.js +75 -64
- package/dist/utils/iconsOption.js +48 -0
- package/dist/utils/versionCheck.js +1 -1
- package/dist/vite-plugin.d.ts +10 -16
- package/dist/vite.js +319 -306
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/scripts/lib/adoption-checklist.json +1 -1
- package/scripts/lib/update-install.mjs +48 -0
- package/scripts/lib/validate-bb-markup.mjs +73 -12
- package/dist/assets/svgs/caret_down.svg_raw.js +0 -3
|
@@ -2,47 +2,47 @@ import { PtValue } from '../../types/passthrough.js';
|
|
|
2
2
|
/** Every `pt:<part>` / `pt:<part>:<state>` attribute of `BbSelect`, documented. */
|
|
3
3
|
export interface BbSelectPtKeys {
|
|
4
4
|
/**
|
|
5
|
-
* The field's outer container
|
|
5
|
+
* The field's outer container (label, box, the lines under it); a `class` on the component lands here. The options surface is `panel`.
|
|
6
6
|
*/
|
|
7
7
|
'pt:root'?: PtValue;
|
|
8
8
|
/**
|
|
9
|
-
* The field's outer container
|
|
9
|
+
* The field's outer container (label, box, the lines under it); a `class` on the component lands here. While `hasValue`: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`). See `pt:root`.
|
|
10
10
|
*/
|
|
11
11
|
'pt:root:hasValue'?: PtValue;
|
|
12
12
|
/**
|
|
13
|
-
* The field's outer container
|
|
13
|
+
* The field's outer container (label, box, the lines under it); a `class` on the component lands here. While `readonly`: the control is `readonly` — shown, focusable, not editable. See `pt:root`.
|
|
14
14
|
*/
|
|
15
15
|
'pt:root:readonly'?: PtValue;
|
|
16
16
|
/**
|
|
17
|
-
* The field's outer container
|
|
17
|
+
* The field's outer container (label, box, the lines under it); a `class` on the component lands here. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are. See `pt:root`.
|
|
18
18
|
*/
|
|
19
19
|
'pt:root:disabled'?: PtValue;
|
|
20
20
|
/**
|
|
21
|
-
* The field's outer container
|
|
21
|
+
* The field's outer container (label, box, the lines under it); a `class` on the component lands here. While `warnings`: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together. See `pt:root`.
|
|
22
22
|
*/
|
|
23
23
|
'pt:root:warnings'?: PtValue;
|
|
24
24
|
/**
|
|
25
|
-
* The field's outer container
|
|
25
|
+
* The field's outer container (label, box, the lines under it); a `class` on the component lands here. While `errors`: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red. See `pt:root`.
|
|
26
26
|
*/
|
|
27
27
|
'pt:root:errors'?: PtValue;
|
|
28
28
|
/**
|
|
29
|
-
* The field's outer container
|
|
29
|
+
* The field's outer container (label, box, the lines under it); a `class` on the component lands here. While `open`: the options surface is showing. See `pt:root`.
|
|
30
30
|
*/
|
|
31
31
|
'pt:root:open'?: PtValue;
|
|
32
32
|
/**
|
|
33
|
-
* The field's outer container
|
|
33
|
+
* The field's outer container (label, box, the lines under it); a `class` on the component lands here. While `loading`: `loading` is on; the box shows its `spinner`. See `pt:root`.
|
|
34
34
|
*/
|
|
35
35
|
'pt:root:loading'?: PtValue;
|
|
36
36
|
/**
|
|
37
|
-
* The field's outer container
|
|
37
|
+
* The field's outer container (label, box, the lines under it); a `class` on the component lands here. While `outline`: `variant: 'outline'`. Merged after the part's base entry and before its states, so the real states still win. See `pt:root`.
|
|
38
38
|
*/
|
|
39
39
|
'pt:root:outline'?: PtValue;
|
|
40
40
|
/**
|
|
41
|
-
* The field's outer container
|
|
41
|
+
* The field's outer container (label, box, the lines under it); a `class` on the component lands here. While `secondary`: `variant: 'secondary'`. Below the real states, like every variant. See `pt:root`.
|
|
42
42
|
*/
|
|
43
43
|
'pt:root:secondary'?: PtValue;
|
|
44
44
|
/**
|
|
45
|
-
* The field's outer container
|
|
45
|
+
* The field's outer container (label, box, the lines under it); a `class` on the component lands here. While `ghost`: `variant: 'ghost'`. Below the real states, like every variant. See `pt:root`.
|
|
46
46
|
*/
|
|
47
47
|
'pt:root:ghost'?: PtValue;
|
|
48
48
|
/**
|
|
@@ -58,7 +58,7 @@ export interface BbSelectPtKeys {
|
|
|
58
58
|
*/
|
|
59
59
|
'pt:label:readonly'?: PtValue;
|
|
60
60
|
/**
|
|
61
|
-
* The label text above the box (the `label` prop). While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled.
|
|
61
|
+
* The label text above the box (the `label` prop). While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are.
|
|
62
62
|
*/
|
|
63
63
|
'pt:label:disabled'?: PtValue;
|
|
64
64
|
/**
|
|
@@ -102,7 +102,7 @@ export interface BbSelectPtKeys {
|
|
|
102
102
|
*/
|
|
103
103
|
'pt:description:readonly'?: PtValue;
|
|
104
104
|
/**
|
|
105
|
-
* The muted line under the label (the `description` prop). While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled.
|
|
105
|
+
* The muted line under the label (the `description` prop). While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are.
|
|
106
106
|
*/
|
|
107
107
|
'pt:description:disabled'?: PtValue;
|
|
108
108
|
/**
|
|
@@ -146,7 +146,7 @@ export interface BbSelectPtKeys {
|
|
|
146
146
|
*/
|
|
147
147
|
'pt:message:readonly'?: PtValue;
|
|
148
148
|
/**
|
|
149
|
-
* The errors / warnings line under the box. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled. See `pt:message`.
|
|
149
|
+
* The errors / warnings line under the box. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are. See `pt:message`.
|
|
150
150
|
*/
|
|
151
151
|
'pt:message:disabled'?: PtValue;
|
|
152
152
|
/**
|
|
@@ -190,7 +190,7 @@ export interface BbSelectPtKeys {
|
|
|
190
190
|
*/
|
|
191
191
|
'pt:hint:readonly'?: PtValue;
|
|
192
192
|
/**
|
|
193
|
-
* The helper line (the `hint` prop), shown on focus, or always with `persistent-hint`. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled.
|
|
193
|
+
* The helper line (the `hint` prop), shown on focus, or always with `persistent-hint`. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are.
|
|
194
194
|
*/
|
|
195
195
|
'pt:hint:disabled'?: PtValue;
|
|
196
196
|
/**
|
|
@@ -234,7 +234,7 @@ export interface BbSelectPtKeys {
|
|
|
234
234
|
*/
|
|
235
235
|
'pt:box:readonly'?: PtValue;
|
|
236
236
|
/**
|
|
237
|
-
* The bordered box around the input — border, background and radius; the `variant` paints here. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled.
|
|
237
|
+
* The bordered box around the input — border, background and radius; the `variant` paints here. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are.
|
|
238
238
|
*/
|
|
239
239
|
'pt:box:disabled'?: PtValue;
|
|
240
240
|
/**
|
|
@@ -266,79 +266,79 @@ export interface BbSelectPtKeys {
|
|
|
266
266
|
*/
|
|
267
267
|
'pt:box:ghost'?: PtValue;
|
|
268
268
|
/**
|
|
269
|
-
* The button
|
|
269
|
+
* The button that opens the options: the field's control, not a text field (`data-test` fits, `autocomplete` does not). The chevron is chrome. `activator`, not the family's `input`: the field is a button, as the date / time inputs' trigger.
|
|
270
270
|
*/
|
|
271
271
|
'pt:activator'?: PtValue;
|
|
272
272
|
/**
|
|
273
|
-
* The button
|
|
273
|
+
* The button that opens the options: the field's control, not a text field (`data-test` fits, `autocomplete` does not). While `hasValue`: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`). See `pt:activator`.
|
|
274
274
|
*/
|
|
275
275
|
'pt:activator:hasValue'?: PtValue;
|
|
276
276
|
/**
|
|
277
|
-
* The button
|
|
277
|
+
* The button that opens the options: the field's control, not a text field (`data-test` fits, `autocomplete` does not). While `readonly`: the control is `readonly` — shown, focusable, not editable. See `pt:activator`.
|
|
278
278
|
*/
|
|
279
279
|
'pt:activator:readonly'?: PtValue;
|
|
280
280
|
/**
|
|
281
|
-
* The button
|
|
281
|
+
* The button that opens the options: the field's control, not a text field (`data-test` fits, `autocomplete` does not). While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are. See `pt:activator`.
|
|
282
282
|
*/
|
|
283
283
|
'pt:activator:disabled'?: PtValue;
|
|
284
284
|
/**
|
|
285
|
-
* The button
|
|
285
|
+
* The button that opens the options: the field's control, not a text field (`data-test` fits, `autocomplete` does not). While `warnings`: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together. See `pt:activator`.
|
|
286
286
|
*/
|
|
287
287
|
'pt:activator:warnings'?: PtValue;
|
|
288
288
|
/**
|
|
289
|
-
* The button
|
|
289
|
+
* The button that opens the options: the field's control, not a text field (`data-test` fits, `autocomplete` does not). While `errors`: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red. See `pt:activator`.
|
|
290
290
|
*/
|
|
291
291
|
'pt:activator:errors'?: PtValue;
|
|
292
292
|
/**
|
|
293
|
-
* The button
|
|
293
|
+
* The button that opens the options: the field's control, not a text field (`data-test` fits, `autocomplete` does not). While `open`: the options surface is showing. See `pt:activator`.
|
|
294
294
|
*/
|
|
295
295
|
'pt:activator:open'?: PtValue;
|
|
296
296
|
/**
|
|
297
|
-
* The button
|
|
297
|
+
* The button that opens the options: the field's control, not a text field (`data-test` fits, `autocomplete` does not). While `loading`: `loading` is on; the box shows its `spinner`. See `pt:activator`.
|
|
298
298
|
*/
|
|
299
299
|
'pt:activator:loading'?: PtValue;
|
|
300
300
|
/**
|
|
301
|
-
* The button
|
|
301
|
+
* The button that opens the options: the field's control, not a text field (`data-test` fits, `autocomplete` does not). While `outline`: `variant: 'outline'`. Merged after the part's base entry and before its states, so the real states still win. See `pt:activator`.
|
|
302
302
|
*/
|
|
303
303
|
'pt:activator:outline'?: PtValue;
|
|
304
304
|
/**
|
|
305
|
-
* The button
|
|
305
|
+
* The button that opens the options: the field's control, not a text field (`data-test` fits, `autocomplete` does not). While `secondary`: `variant: 'secondary'`. Below the real states, like every variant. See `pt:activator`.
|
|
306
306
|
*/
|
|
307
307
|
'pt:activator:secondary'?: PtValue;
|
|
308
308
|
/**
|
|
309
|
-
* The button
|
|
309
|
+
* The button that opens the options: the field's control, not a text field (`data-test` fits, `autocomplete` does not). While `ghost`: `variant: 'ghost'`. Below the real states, like every variant. See `pt:activator`.
|
|
310
310
|
*/
|
|
311
311
|
'pt:activator:ghost'?: PtValue;
|
|
312
312
|
/**
|
|
313
|
-
* The search field
|
|
313
|
+
* The options surface's search field, when shown (see `disable-writing`): the `BbSelectPopover`'s `pt:input`. Its ✕ is chrome.
|
|
314
314
|
*/
|
|
315
315
|
'pt:input'?: PtValue;
|
|
316
316
|
/**
|
|
317
|
-
* The search field
|
|
317
|
+
* The options surface's search field, when shown (see `disable-writing`): the `BbSelectPopover`'s `pt:input`. While `hasValue`: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`). See `pt:input`.
|
|
318
318
|
*/
|
|
319
319
|
'pt:input:hasValue'?: PtValue;
|
|
320
320
|
/**
|
|
321
|
-
* The search field
|
|
321
|
+
* The options surface's search field, when shown (see `disable-writing`): the `BbSelectPopover`'s `pt:input`. While `readonly`: the control is `readonly` — shown, focusable, not editable. See `pt:input`.
|
|
322
322
|
*/
|
|
323
323
|
'pt:input:readonly'?: PtValue;
|
|
324
324
|
/**
|
|
325
|
-
* The search field
|
|
325
|
+
* The options surface's search field, when shown (see `disable-writing`): the `BbSelectPopover`'s `pt:input`. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are. See `pt:input`.
|
|
326
326
|
*/
|
|
327
327
|
'pt:input:disabled'?: PtValue;
|
|
328
328
|
/**
|
|
329
|
-
* The search field
|
|
329
|
+
* The options surface's search field, when shown (see `disable-writing`): the `BbSelectPopover`'s `pt:input`. While `warnings`: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together. See `pt:input`.
|
|
330
330
|
*/
|
|
331
331
|
'pt:input:warnings'?: PtValue;
|
|
332
332
|
/**
|
|
333
|
-
* The search field
|
|
333
|
+
* The options surface's search field, when shown (see `disable-writing`): the `BbSelectPopover`'s `pt:input`. While `errors`: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red. See `pt:input`.
|
|
334
334
|
*/
|
|
335
335
|
'pt:input:errors'?: PtValue;
|
|
336
336
|
/**
|
|
337
|
-
* The search field
|
|
337
|
+
* The options surface's search field, when shown (see `disable-writing`): the `BbSelectPopover`'s `pt:input`. While `open`: the options surface is showing. See `pt:input`.
|
|
338
338
|
*/
|
|
339
339
|
'pt:input:open'?: PtValue;
|
|
340
340
|
/**
|
|
341
|
-
* The search field
|
|
341
|
+
* The options surface's search field, when shown (see `disable-writing`): the `BbSelectPopover`'s `pt:input`. While `loading`: `loading` is on; the box shows its `spinner`. See `pt:input`.
|
|
342
342
|
*/
|
|
343
343
|
'pt:input:loading'?: PtValue;
|
|
344
344
|
/**
|
|
@@ -354,7 +354,7 @@ export interface BbSelectPtKeys {
|
|
|
354
354
|
*/
|
|
355
355
|
'pt:icon:readonly'?: PtValue;
|
|
356
356
|
/**
|
|
357
|
-
* The content icons, prepend and append — a broadcast. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled. See `pt:icon`.
|
|
357
|
+
* The content icons, prepend and append — a broadcast. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are. See `pt:icon`.
|
|
358
358
|
*/
|
|
359
359
|
'pt:icon:disabled'?: PtValue;
|
|
360
360
|
/**
|
|
@@ -398,7 +398,7 @@ export interface BbSelectPtKeys {
|
|
|
398
398
|
*/
|
|
399
399
|
'pt:spinner:readonly'?: PtValue;
|
|
400
400
|
/**
|
|
401
|
-
* The spinner inside the box while `loading`. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled.
|
|
401
|
+
* The spinner inside the box while `loading`. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are.
|
|
402
402
|
*/
|
|
403
403
|
'pt:spinner:disabled'?: PtValue;
|
|
404
404
|
/**
|
|
@@ -442,7 +442,7 @@ export interface BbSelectPtKeys {
|
|
|
442
442
|
*/
|
|
443
443
|
'pt:prefix:readonly'?: PtValue;
|
|
444
444
|
/**
|
|
445
|
-
* The `#prefix` slot's wrapper, inside the box before the input. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled.
|
|
445
|
+
* The `#prefix` slot's wrapper, inside the box before the input. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are.
|
|
446
446
|
*/
|
|
447
447
|
'pt:prefix:disabled'?: PtValue;
|
|
448
448
|
/**
|
|
@@ -486,7 +486,7 @@ export interface BbSelectPtKeys {
|
|
|
486
486
|
*/
|
|
487
487
|
'pt:suffix:readonly'?: PtValue;
|
|
488
488
|
/**
|
|
489
|
-
* The `#suffix` slot's wrapper, inside the box after the input. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled.
|
|
489
|
+
* The `#suffix` slot's wrapper, inside the box after the input. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are.
|
|
490
490
|
*/
|
|
491
491
|
'pt:suffix:disabled'?: PtValue;
|
|
492
492
|
/**
|
|
@@ -518,39 +518,39 @@ export interface BbSelectPtKeys {
|
|
|
518
518
|
*/
|
|
519
519
|
'pt:suffix:ghost'?: PtValue;
|
|
520
520
|
/**
|
|
521
|
-
* The ✕
|
|
521
|
+
* The field's ✕ that empties the selection (`clearable`): one node, never a chip's ✕.
|
|
522
522
|
*/
|
|
523
523
|
'pt:clear'?: PtValue;
|
|
524
524
|
/**
|
|
525
|
-
* The ✕
|
|
525
|
+
* The field's ✕ that empties the selection (`clearable`): one node, never a chip's ✕. While `hasValue`: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`).
|
|
526
526
|
*/
|
|
527
527
|
'pt:clear:hasValue'?: PtValue;
|
|
528
528
|
/**
|
|
529
|
-
* The ✕
|
|
529
|
+
* The field's ✕ that empties the selection (`clearable`): one node, never a chip's ✕. While `warnings`: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together.
|
|
530
530
|
*/
|
|
531
531
|
'pt:clear:warnings'?: PtValue;
|
|
532
532
|
/**
|
|
533
|
-
* The ✕
|
|
533
|
+
* The field's ✕ that empties the selection (`clearable`): one node, never a chip's ✕. While `errors`: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red.
|
|
534
534
|
*/
|
|
535
535
|
'pt:clear:errors'?: PtValue;
|
|
536
536
|
/**
|
|
537
|
-
* The ✕
|
|
537
|
+
* The field's ✕ that empties the selection (`clearable`): one node, never a chip's ✕. While `open`: the options surface is showing.
|
|
538
538
|
*/
|
|
539
539
|
'pt:clear:open'?: PtValue;
|
|
540
540
|
/**
|
|
541
|
-
* The ✕
|
|
541
|
+
* The field's ✕ that empties the selection (`clearable`): one node, never a chip's ✕. While `loading`: `loading` is on; the box shows its `spinner`.
|
|
542
542
|
*/
|
|
543
543
|
'pt:clear:loading'?: PtValue;
|
|
544
544
|
/**
|
|
545
|
-
* The ✕
|
|
545
|
+
* The field's ✕ that empties the selection (`clearable`): one node, never a chip's ✕. While `outline`: `variant: 'outline'`. Merged after the part's base entry and before its states, so the real states still win.
|
|
546
546
|
*/
|
|
547
547
|
'pt:clear:outline'?: PtValue;
|
|
548
548
|
/**
|
|
549
|
-
* The ✕
|
|
549
|
+
* The field's ✕ that empties the selection (`clearable`): one node, never a chip's ✕. While `secondary`: `variant: 'secondary'`. Below the real states, like every variant.
|
|
550
550
|
*/
|
|
551
551
|
'pt:clear:secondary'?: PtValue;
|
|
552
552
|
/**
|
|
553
|
-
* The ✕
|
|
553
|
+
* The field's ✕ that empties the selection (`clearable`): one node, never a chip's ✕. While `ghost`: `variant: 'ghost'`. Below the real states, like every variant.
|
|
554
554
|
*/
|
|
555
555
|
'pt:clear:ghost'?: PtValue;
|
|
556
556
|
/**
|
|
@@ -566,7 +566,7 @@ export interface BbSelectPtKeys {
|
|
|
566
566
|
*/
|
|
567
567
|
'pt:panel:readonly'?: PtValue;
|
|
568
568
|
/**
|
|
569
|
-
* The options surface — the popover's painted bubble on desktop, the sheet itself on a phone. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled.
|
|
569
|
+
* The options surface — the popover's painted bubble on desktop, the sheet itself on a phone. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are.
|
|
570
570
|
*/
|
|
571
571
|
'pt:panel:disabled'?: PtValue;
|
|
572
572
|
/**
|
|
@@ -598,7 +598,7 @@ export interface BbSelectPtKeys {
|
|
|
598
598
|
*/
|
|
599
599
|
'pt:sheet:readonly'?: PtValue;
|
|
600
600
|
/**
|
|
601
|
-
* The bottom sheet the options open in on a phone only. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled.
|
|
601
|
+
* The bottom sheet the options open in on a phone only. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are.
|
|
602
602
|
*/
|
|
603
603
|
'pt:sheet:disabled'?: PtValue;
|
|
604
604
|
/**
|
|
@@ -618,101 +618,133 @@ export interface BbSelectPtKeys {
|
|
|
618
618
|
*/
|
|
619
619
|
'pt:sheet:loading'?: PtValue;
|
|
620
620
|
/**
|
|
621
|
-
* The band around your `#header` slot:
|
|
621
|
+
* The band around your `#header` slot: atop the flyout, the sheet's header on a phone.
|
|
622
622
|
*/
|
|
623
623
|
'pt:header'?: PtValue;
|
|
624
624
|
/**
|
|
625
|
-
* The band around your `#header` slot:
|
|
625
|
+
* The band around your `#header` slot: atop the flyout, the sheet's header on a phone. While `hasValue`: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`).
|
|
626
626
|
*/
|
|
627
627
|
'pt:header:hasValue'?: PtValue;
|
|
628
628
|
/**
|
|
629
|
-
* The band around your `#header` slot:
|
|
629
|
+
* The band around your `#header` slot: atop the flyout, the sheet's header on a phone. While `readonly`: the control is `readonly` — shown, focusable, not editable.
|
|
630
630
|
*/
|
|
631
631
|
'pt:header:readonly'?: PtValue;
|
|
632
632
|
/**
|
|
633
|
-
* The band around your `#header` slot:
|
|
633
|
+
* The band around your `#header` slot: atop the flyout, the sheet's header on a phone. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are.
|
|
634
634
|
*/
|
|
635
635
|
'pt:header:disabled'?: PtValue;
|
|
636
636
|
/**
|
|
637
|
-
* The band around your `#header` slot:
|
|
637
|
+
* The band around your `#header` slot: atop the flyout, the sheet's header on a phone. While `warnings`: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together.
|
|
638
638
|
*/
|
|
639
639
|
'pt:header:warnings'?: PtValue;
|
|
640
640
|
/**
|
|
641
|
-
* The band around your `#header` slot:
|
|
641
|
+
* The band around your `#header` slot: atop the flyout, the sheet's header on a phone. While `errors`: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red.
|
|
642
642
|
*/
|
|
643
643
|
'pt:header:errors'?: PtValue;
|
|
644
644
|
/**
|
|
645
|
-
* The band around your `#header` slot:
|
|
645
|
+
* The band around your `#header` slot: atop the flyout, the sheet's header on a phone. While `open`: the options surface is showing.
|
|
646
646
|
*/
|
|
647
647
|
'pt:header:open'?: PtValue;
|
|
648
648
|
/**
|
|
649
|
-
* The band around your `#header` slot:
|
|
649
|
+
* The band around your `#header` slot: atop the flyout, the sheet's header on a phone. While `loading`: `loading` is on; the box shows its `spinner`.
|
|
650
650
|
*/
|
|
651
651
|
'pt:header:loading'?: PtValue;
|
|
652
652
|
/**
|
|
653
|
-
* The band around your `#footer` slot:
|
|
653
|
+
* The band around your `#footer` slot: under the flyout's list, the sheet's footer on a phone.
|
|
654
654
|
*/
|
|
655
655
|
'pt:footer'?: PtValue;
|
|
656
656
|
/**
|
|
657
|
-
* The band around your `#footer` slot:
|
|
657
|
+
* The band around your `#footer` slot: under the flyout's list, the sheet's footer on a phone. While `hasValue`: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`).
|
|
658
658
|
*/
|
|
659
659
|
'pt:footer:hasValue'?: PtValue;
|
|
660
660
|
/**
|
|
661
|
-
* The band around your `#footer` slot:
|
|
661
|
+
* The band around your `#footer` slot: under the flyout's list, the sheet's footer on a phone. While `readonly`: the control is `readonly` — shown, focusable, not editable.
|
|
662
662
|
*/
|
|
663
663
|
'pt:footer:readonly'?: PtValue;
|
|
664
664
|
/**
|
|
665
|
-
* The band around your `#footer` slot:
|
|
665
|
+
* The band around your `#footer` slot: under the flyout's list, the sheet's footer on a phone. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are.
|
|
666
666
|
*/
|
|
667
667
|
'pt:footer:disabled'?: PtValue;
|
|
668
668
|
/**
|
|
669
|
-
* The band around your `#footer` slot:
|
|
669
|
+
* The band around your `#footer` slot: under the flyout's list, the sheet's footer on a phone. While `warnings`: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together.
|
|
670
670
|
*/
|
|
671
671
|
'pt:footer:warnings'?: PtValue;
|
|
672
672
|
/**
|
|
673
|
-
* The band around your `#footer` slot:
|
|
673
|
+
* The band around your `#footer` slot: under the flyout's list, the sheet's footer on a phone. While `errors`: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red.
|
|
674
674
|
*/
|
|
675
675
|
'pt:footer:errors'?: PtValue;
|
|
676
676
|
/**
|
|
677
|
-
* The band around your `#footer` slot:
|
|
677
|
+
* The band around your `#footer` slot: under the flyout's list, the sheet's footer on a phone. While `open`: the options surface is showing.
|
|
678
678
|
*/
|
|
679
679
|
'pt:footer:open'?: PtValue;
|
|
680
680
|
/**
|
|
681
|
-
* The band around your `#footer` slot:
|
|
681
|
+
* The band around your `#footer` slot: under the flyout's list, the sheet's footer on a phone. While `loading`: `loading` is on; the box shows its `spinner`.
|
|
682
682
|
*/
|
|
683
683
|
'pt:footer:loading'?: PtValue;
|
|
684
684
|
/**
|
|
685
|
-
* The `role="listbox"` node
|
|
685
|
+
* The `role="listbox"` node holding the options. Virtualised: the list writes its height and places its rows, which limits layout utilities there. A group's box and the chips are not parts.
|
|
686
686
|
*/
|
|
687
687
|
'pt:list'?: PtValue;
|
|
688
688
|
/**
|
|
689
|
-
* The `role="listbox"` node
|
|
689
|
+
* The `role="listbox"` node holding the options. While `hasValue`: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`). See `pt:list`.
|
|
690
690
|
*/
|
|
691
691
|
'pt:list:hasValue'?: PtValue;
|
|
692
692
|
/**
|
|
693
|
-
* The `role="listbox"` node
|
|
693
|
+
* The `role="listbox"` node holding the options. While `readonly`: the control is `readonly` — shown, focusable, not editable. See `pt:list`.
|
|
694
694
|
*/
|
|
695
695
|
'pt:list:readonly'?: PtValue;
|
|
696
696
|
/**
|
|
697
|
-
* The `role="listbox"` node
|
|
697
|
+
* The `role="listbox"` node holding the options. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are. See `pt:list`.
|
|
698
698
|
*/
|
|
699
699
|
'pt:list:disabled'?: PtValue;
|
|
700
700
|
/**
|
|
701
|
-
* The `role="listbox"` node
|
|
701
|
+
* The `role="listbox"` node holding the options. While `warnings`: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together. See `pt:list`.
|
|
702
702
|
*/
|
|
703
703
|
'pt:list:warnings'?: PtValue;
|
|
704
704
|
/**
|
|
705
|
-
* The `role="listbox"` node
|
|
705
|
+
* The `role="listbox"` node holding the options. While `errors`: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red. See `pt:list`.
|
|
706
706
|
*/
|
|
707
707
|
'pt:list:errors'?: PtValue;
|
|
708
708
|
/**
|
|
709
|
-
* The `role="listbox"` node
|
|
709
|
+
* The `role="listbox"` node holding the options. While `open`: the options surface is showing. See `pt:list`.
|
|
710
710
|
*/
|
|
711
711
|
'pt:list:open'?: PtValue;
|
|
712
712
|
/**
|
|
713
|
-
* The `role="listbox"` node
|
|
713
|
+
* The `role="listbox"` node holding the options. While `loading`: `loading` is on; the box shows its `spinner`. See `pt:list`.
|
|
714
714
|
*/
|
|
715
715
|
'pt:list:loading'?: PtValue;
|
|
716
|
+
/**
|
|
717
|
+
* Every `groupBy` heading (sticky). `#group` replaces its content.
|
|
718
|
+
*/
|
|
719
|
+
'pt:groupHeader'?: PtValue;
|
|
720
|
+
/**
|
|
721
|
+
* Every `groupBy` heading (sticky). While `hasValue`: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`). See `pt:groupHeader`.
|
|
722
|
+
*/
|
|
723
|
+
'pt:groupHeader:hasValue'?: PtValue;
|
|
724
|
+
/**
|
|
725
|
+
* Every `groupBy` heading (sticky). While `readonly`: the control is `readonly` — shown, focusable, not editable. See `pt:groupHeader`.
|
|
726
|
+
*/
|
|
727
|
+
'pt:groupHeader:readonly'?: PtValue;
|
|
728
|
+
/**
|
|
729
|
+
* Every `groupBy` heading (sticky). While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are. See `pt:groupHeader`.
|
|
730
|
+
*/
|
|
731
|
+
'pt:groupHeader:disabled'?: PtValue;
|
|
732
|
+
/**
|
|
733
|
+
* Every `groupBy` heading (sticky). While `warnings`: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together. See `pt:groupHeader`.
|
|
734
|
+
*/
|
|
735
|
+
'pt:groupHeader:warnings'?: PtValue;
|
|
736
|
+
/**
|
|
737
|
+
* Every `groupBy` heading (sticky). While `errors`: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red. See `pt:groupHeader`.
|
|
738
|
+
*/
|
|
739
|
+
'pt:groupHeader:errors'?: PtValue;
|
|
740
|
+
/**
|
|
741
|
+
* Every `groupBy` heading (sticky). While `open`: the options surface is showing. See `pt:groupHeader`.
|
|
742
|
+
*/
|
|
743
|
+
'pt:groupHeader:open'?: PtValue;
|
|
744
|
+
/**
|
|
745
|
+
* Every `groupBy` heading (sticky). While `loading`: `loading` is on; the box shows its `spinner`. See `pt:groupHeader`.
|
|
746
|
+
*/
|
|
747
|
+
'pt:groupHeader:loading'?: PtValue;
|
|
716
748
|
/**
|
|
717
749
|
* One listbox option — a broadcast resolved per option. Also takes a per-item function, called with the option's raw item.
|
|
718
750
|
*/
|
|
@@ -730,7 +762,7 @@ export interface BbSelectPtKeys {
|
|
|
730
762
|
*/
|
|
731
763
|
'pt:option:readonly'?: PtValue;
|
|
732
764
|
/**
|
|
733
|
-
* One listbox option — a broadcast resolved per option. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled. See `pt:option`.
|
|
765
|
+
* One listbox option — a broadcast resolved per option. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are. See `pt:option`.
|
|
734
766
|
*/
|
|
735
767
|
'pt:option:disabled'?: PtValue;
|
|
736
768
|
/**
|
|
@@ -766,7 +798,7 @@ export interface BbSelectPtKeys {
|
|
|
766
798
|
*/
|
|
767
799
|
'pt:itemText:readonly'?: PtValue;
|
|
768
800
|
/**
|
|
769
|
-
* An option's label — resolved with that option's states. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled. See `pt:itemText`.
|
|
801
|
+
* An option's label — resolved with that option's states. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are. See `pt:itemText`.
|
|
770
802
|
*/
|
|
771
803
|
'pt:itemText:disabled'?: PtValue;
|
|
772
804
|
/**
|
|
@@ -802,7 +834,7 @@ export interface BbSelectPtKeys {
|
|
|
802
834
|
*/
|
|
803
835
|
'pt:itemIcon:readonly'?: PtValue;
|
|
804
836
|
/**
|
|
805
|
-
* An option's prepend / append icons (`itemProps`) — resolved with that option's states. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled. See `pt:itemIcon`.
|
|
837
|
+
* An option's prepend / append icons (`itemProps`) — resolved with that option's states. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are. See `pt:itemIcon`.
|
|
806
838
|
*/
|
|
807
839
|
'pt:itemIcon:disabled'?: PtValue;
|
|
808
840
|
/**
|
|
@@ -838,7 +870,7 @@ export interface BbSelectPtKeys {
|
|
|
838
870
|
*/
|
|
839
871
|
'pt:itemDescription:readonly'?: PtValue;
|
|
840
872
|
/**
|
|
841
|
-
* An option's second line (its description) — resolved with that option's states. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled. See `pt:itemDescription`.
|
|
873
|
+
* An option's second line (its description) — resolved with that option's states. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are. See `pt:itemDescription`.
|
|
842
874
|
*/
|
|
843
875
|
'pt:itemDescription:disabled'?: PtValue;
|
|
844
876
|
/**
|
|
@@ -858,71 +890,71 @@ export interface BbSelectPtKeys {
|
|
|
858
890
|
*/
|
|
859
891
|
'pt:itemDescription:loading'?: PtValue;
|
|
860
892
|
/**
|
|
861
|
-
* The tick
|
|
893
|
+
* The tick at a chosen option's end (on every option, drawn on the chosen). A custom `#option` slot keeps it; `pt:check="hidden"` removes it, sparing your slot's glyph. Also takes a per-item function.
|
|
862
894
|
*/
|
|
863
895
|
'pt:check'?: unknown;
|
|
864
896
|
/**
|
|
865
|
-
* The tick
|
|
897
|
+
* The tick at a chosen option's end (on every option, drawn on the chosen). While `hasValue`: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`). See `pt:check`.
|
|
866
898
|
*/
|
|
867
899
|
'pt:check:hasValue'?: PtValue;
|
|
868
900
|
/**
|
|
869
|
-
* The tick
|
|
901
|
+
* The tick at a chosen option's end (on every option, drawn on the chosen). While `selected`: a chosen option. See `pt:check`.
|
|
870
902
|
*/
|
|
871
903
|
'pt:check:selected'?: PtValue;
|
|
872
904
|
/**
|
|
873
|
-
* The tick
|
|
905
|
+
* The tick at a chosen option's end (on every option, drawn on the chosen). While `readonly`: the control is `readonly` — shown, focusable, not editable. See `pt:check`.
|
|
874
906
|
*/
|
|
875
907
|
'pt:check:readonly'?: PtValue;
|
|
876
908
|
/**
|
|
877
|
-
* The tick
|
|
909
|
+
* The tick at a chosen option's end (on every option, drawn on the chosen). While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are. See `pt:check`.
|
|
878
910
|
*/
|
|
879
911
|
'pt:check:disabled'?: PtValue;
|
|
880
912
|
/**
|
|
881
|
-
* The tick
|
|
913
|
+
* The tick at a chosen option's end (on every option, drawn on the chosen). While `warnings`: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together. See `pt:check`.
|
|
882
914
|
*/
|
|
883
915
|
'pt:check:warnings'?: PtValue;
|
|
884
916
|
/**
|
|
885
|
-
* The tick
|
|
917
|
+
* The tick at a chosen option's end (on every option, drawn on the chosen). While `errors`: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red. See `pt:check`.
|
|
886
918
|
*/
|
|
887
919
|
'pt:check:errors'?: PtValue;
|
|
888
920
|
/**
|
|
889
|
-
* The tick
|
|
921
|
+
* The tick at a chosen option's end (on every option, drawn on the chosen). While `open`: the options surface is showing. See `pt:check`.
|
|
890
922
|
*/
|
|
891
923
|
'pt:check:open'?: PtValue;
|
|
892
924
|
/**
|
|
893
|
-
* The tick
|
|
925
|
+
* The tick at a chosen option's end (on every option, drawn on the chosen). While `loading`: `loading` is on; the box shows its `spinner`. See `pt:check`.
|
|
894
926
|
*/
|
|
895
927
|
'pt:check:loading'?: PtValue;
|
|
896
928
|
/**
|
|
897
|
-
* Each selected value's `BbBadge` root with `multiple
|
|
929
|
+
* Each selected value's `BbBadge` root with `multiple`, per value, in the field and on the phone sheet. Its ✕ is chrome, never `clear`. The field has none under `#chip` or `comma`; the sheet's chips are always badges.
|
|
898
930
|
*/
|
|
899
931
|
'pt:badge'?: unknown;
|
|
900
932
|
/**
|
|
901
|
-
* Each selected value's `BbBadge` root with `multiple
|
|
933
|
+
* Each selected value's `BbBadge` root with `multiple`, per value, in the field and on the phone sheet. While `hasValue`: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`). See `pt:badge`.
|
|
902
934
|
*/
|
|
903
935
|
'pt:badge:hasValue'?: PtValue;
|
|
904
936
|
/**
|
|
905
|
-
* Each selected value's `BbBadge` root with `multiple
|
|
937
|
+
* Each selected value's `BbBadge` root with `multiple`, per value, in the field and on the phone sheet. While `readonly`: the control is `readonly` — shown, focusable, not editable. See `pt:badge`.
|
|
906
938
|
*/
|
|
907
939
|
'pt:badge:readonly'?: PtValue;
|
|
908
940
|
/**
|
|
909
|
-
* Each selected value's `BbBadge` root with `multiple
|
|
941
|
+
* Each selected value's `BbBadge` root with `multiple`, per value, in the field and on the phone sheet. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are. See `pt:badge`.
|
|
910
942
|
*/
|
|
911
943
|
'pt:badge:disabled'?: PtValue;
|
|
912
944
|
/**
|
|
913
|
-
* Each selected value's `BbBadge` root with `multiple
|
|
945
|
+
* Each selected value's `BbBadge` root with `multiple`, per value, in the field and on the phone sheet. While `warnings`: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together. See `pt:badge`.
|
|
914
946
|
*/
|
|
915
947
|
'pt:badge:warnings'?: PtValue;
|
|
916
948
|
/**
|
|
917
|
-
* Each selected value's `BbBadge` root with `multiple
|
|
949
|
+
* Each selected value's `BbBadge` root with `multiple`, per value, in the field and on the phone sheet. While `errors`: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red. See `pt:badge`.
|
|
918
950
|
*/
|
|
919
951
|
'pt:badge:errors'?: PtValue;
|
|
920
952
|
/**
|
|
921
|
-
* Each selected value's `BbBadge` root with `multiple
|
|
953
|
+
* Each selected value's `BbBadge` root with `multiple`, per value, in the field and on the phone sheet. While `open`: the options surface is showing. See `pt:badge`.
|
|
922
954
|
*/
|
|
923
955
|
'pt:badge:open'?: PtValue;
|
|
924
956
|
/**
|
|
925
|
-
* Each selected value's `BbBadge` root with `multiple
|
|
957
|
+
* Each selected value's `BbBadge` root with `multiple`, per value, in the field and on the phone sheet. While `loading`: `loading` is on; the box shows its `spinner`. See `pt:badge`.
|
|
926
958
|
*/
|
|
927
959
|
'pt:badge:loading'?: PtValue;
|
|
928
960
|
/**
|
|
@@ -938,7 +970,7 @@ export interface BbSelectPtKeys {
|
|
|
938
970
|
*/
|
|
939
971
|
'pt:comma:readonly'?: PtValue;
|
|
940
972
|
/**
|
|
941
|
-
* Each selected value with `multiple` and `comma` — a broadcast resolved per value. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled.
|
|
973
|
+
* Each selected value with `multiple` and `comma` — a broadcast resolved per value. While `disabled`: component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are.
|
|
942
974
|
*/
|
|
943
975
|
'pt:comma:disabled'?: PtValue;
|
|
944
976
|
/**
|