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
|
@@ -6,15 +6,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
6
6
|
*/
|
|
7
7
|
'pt:root'?: PtValue;
|
|
8
8
|
/**
|
|
9
|
-
* The group wrapper around the main button and the toggle. While `activeLink`: component-wide while the main button
|
|
9
|
+
* The group wrapper around the main button and the toggle. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state.
|
|
10
10
|
*/
|
|
11
11
|
'pt:root:activeLink'?: PtValue;
|
|
12
12
|
/**
|
|
13
|
-
* The group wrapper around the main button and the toggle. While `exactActiveLink`: component-wide while the main button
|
|
13
|
+
* The group wrapper around the main button and the toggle. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts.
|
|
14
14
|
*/
|
|
15
15
|
'pt:root:exactActiveLink'?: PtValue;
|
|
16
16
|
/**
|
|
17
|
-
* The group wrapper around the main button and the toggle. While `disabled`: component-wide while the control is `disabled`;
|
|
17
|
+
* The group wrapper around the main button and the toggle. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry.
|
|
18
18
|
*/
|
|
19
19
|
'pt:root:disabled'?: PtValue;
|
|
20
20
|
/**
|
|
@@ -54,15 +54,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
54
54
|
*/
|
|
55
55
|
'pt:main'?: PtValue;
|
|
56
56
|
/**
|
|
57
|
-
* The main (action) button, the left half — handed to it as its own `pt:root`. While `activeLink`: component-wide while the main button
|
|
57
|
+
* The main (action) button, the left half — handed to it as its own `pt:root`. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state.
|
|
58
58
|
*/
|
|
59
59
|
'pt:main:activeLink'?: PtValue;
|
|
60
60
|
/**
|
|
61
|
-
* The main (action) button, the left half — handed to it as its own `pt:root`. While `exactActiveLink`: component-wide while the main button
|
|
61
|
+
* The main (action) button, the left half — handed to it as its own `pt:root`. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts.
|
|
62
62
|
*/
|
|
63
63
|
'pt:main:exactActiveLink'?: PtValue;
|
|
64
64
|
/**
|
|
65
|
-
* The main (action) button, the left half — handed to it as its own `pt:root`. While `disabled`: component-wide while the control is `disabled`;
|
|
65
|
+
* The main (action) button, the left half — handed to it as its own `pt:root`. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry.
|
|
66
66
|
*/
|
|
67
67
|
'pt:main:disabled'?: PtValue;
|
|
68
68
|
/**
|
|
@@ -102,15 +102,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
102
102
|
*/
|
|
103
103
|
'pt:toggle'?: PtValue;
|
|
104
104
|
/**
|
|
105
|
-
* The toggle button that opens the menu, the right half — handed to it as its own `pt:root`. While `activeLink`: component-wide while the main button
|
|
105
|
+
* The toggle button that opens the menu, the right half — handed to it as its own `pt:root`. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state. See `pt:toggle`.
|
|
106
106
|
*/
|
|
107
107
|
'pt:toggle:activeLink'?: PtValue;
|
|
108
108
|
/**
|
|
109
|
-
* The toggle button that opens the menu, the right half — handed to it as its own `pt:root`. While `exactActiveLink`: component-wide while the main button
|
|
109
|
+
* The toggle button that opens the menu, the right half — handed to it as its own `pt:root`. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts. See `pt:toggle`.
|
|
110
110
|
*/
|
|
111
111
|
'pt:toggle:exactActiveLink'?: PtValue;
|
|
112
112
|
/**
|
|
113
|
-
* The toggle button that opens the menu, the right half — handed to it as its own `pt:root`. While `disabled`: component-wide while the control is `disabled`;
|
|
113
|
+
* The toggle button that opens the menu, the right half — handed to it as its own `pt:root`. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry. See `pt:toggle`.
|
|
114
114
|
*/
|
|
115
115
|
'pt:toggle:disabled'?: PtValue;
|
|
116
116
|
/**
|
|
@@ -150,15 +150,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
150
150
|
*/
|
|
151
151
|
'pt:icon'?: PtValue;
|
|
152
152
|
/**
|
|
153
|
-
* The main button's content icons — handed to it as its own `pt:icon`. While `activeLink`: component-wide while the main button
|
|
153
|
+
* The main button's content icons — handed to it as its own `pt:icon`. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state. See `pt:icon`.
|
|
154
154
|
*/
|
|
155
155
|
'pt:icon:activeLink'?: PtValue;
|
|
156
156
|
/**
|
|
157
|
-
* The main button's content icons — handed to it as its own `pt:icon`. While `exactActiveLink`: component-wide while the main button
|
|
157
|
+
* The main button's content icons — handed to it as its own `pt:icon`. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts. See `pt:icon`.
|
|
158
158
|
*/
|
|
159
159
|
'pt:icon:exactActiveLink'?: PtValue;
|
|
160
160
|
/**
|
|
161
|
-
* The main button's content icons — handed to it as its own `pt:icon`. While `disabled`: component-wide while the control is `disabled`;
|
|
161
|
+
* The main button's content icons — handed to it as its own `pt:icon`. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry. See `pt:icon`.
|
|
162
162
|
*/
|
|
163
163
|
'pt:icon:disabled'?: PtValue;
|
|
164
164
|
/**
|
|
@@ -198,15 +198,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
198
198
|
*/
|
|
199
199
|
'pt:spinner'?: PtValue;
|
|
200
200
|
/**
|
|
201
|
-
* The main button's loading spinner. While `activeLink`: component-wide while the main button
|
|
201
|
+
* The main button's loading spinner. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state.
|
|
202
202
|
*/
|
|
203
203
|
'pt:spinner:activeLink'?: PtValue;
|
|
204
204
|
/**
|
|
205
|
-
* The main button's loading spinner. While `exactActiveLink`: component-wide while the main button
|
|
205
|
+
* The main button's loading spinner. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts.
|
|
206
206
|
*/
|
|
207
207
|
'pt:spinner:exactActiveLink'?: PtValue;
|
|
208
208
|
/**
|
|
209
|
-
* The main button's loading spinner. While `disabled`: component-wide while the control is `disabled`;
|
|
209
|
+
* The main button's loading spinner. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry.
|
|
210
210
|
*/
|
|
211
211
|
'pt:spinner:disabled'?: PtValue;
|
|
212
212
|
/**
|
|
@@ -246,15 +246,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
246
246
|
*/
|
|
247
247
|
'pt:text'?: PtValue;
|
|
248
248
|
/**
|
|
249
|
-
* The main button's label span. While `activeLink`: component-wide while the main button
|
|
249
|
+
* The main button's label span. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state.
|
|
250
250
|
*/
|
|
251
251
|
'pt:text:activeLink'?: PtValue;
|
|
252
252
|
/**
|
|
253
|
-
* The main button's label span. While `exactActiveLink`: component-wide while the main button
|
|
253
|
+
* The main button's label span. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts.
|
|
254
254
|
*/
|
|
255
255
|
'pt:text:exactActiveLink'?: PtValue;
|
|
256
256
|
/**
|
|
257
|
-
* The main button's label span. While `disabled`: component-wide while the control is `disabled`;
|
|
257
|
+
* The main button's label span. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry.
|
|
258
258
|
*/
|
|
259
259
|
'pt:text:disabled'?: PtValue;
|
|
260
260
|
/**
|
|
@@ -294,15 +294,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
294
294
|
*/
|
|
295
295
|
'pt:panel'?: PtValue;
|
|
296
296
|
/**
|
|
297
|
-
* The menu surface (the flyout box on desktop, the sheet itself on a phone) — handed to the `BbDropdown`. While `activeLink`: component-wide while the main button
|
|
297
|
+
* The menu surface (the flyout box on desktop, the sheet itself on a phone) — handed to the `BbDropdown`. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state.
|
|
298
298
|
*/
|
|
299
299
|
'pt:panel:activeLink'?: PtValue;
|
|
300
300
|
/**
|
|
301
|
-
* The menu surface (the flyout box on desktop, the sheet itself on a phone) — handed to the `BbDropdown`. While `exactActiveLink`: component-wide while the main button
|
|
301
|
+
* The menu surface (the flyout box on desktop, the sheet itself on a phone) — handed to the `BbDropdown`. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts.
|
|
302
302
|
*/
|
|
303
303
|
'pt:panel:exactActiveLink'?: PtValue;
|
|
304
304
|
/**
|
|
305
|
-
* The menu surface (the flyout box on desktop, the sheet itself on a phone) — handed to the `BbDropdown`. While `disabled`: component-wide while the control is `disabled`;
|
|
305
|
+
* The menu surface (the flyout box on desktop, the sheet itself on a phone) — handed to the `BbDropdown`. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry.
|
|
306
306
|
*/
|
|
307
307
|
'pt:panel:disabled'?: PtValue;
|
|
308
308
|
/**
|
|
@@ -318,15 +318,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
318
318
|
*/
|
|
319
319
|
'pt:sheet'?: PtValue;
|
|
320
320
|
/**
|
|
321
|
-
* The bottom sheet the menu becomes on a phone only. While `activeLink`: component-wide while the main button
|
|
321
|
+
* The bottom sheet the menu becomes on a phone only. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state.
|
|
322
322
|
*/
|
|
323
323
|
'pt:sheet:activeLink'?: PtValue;
|
|
324
324
|
/**
|
|
325
|
-
* The bottom sheet the menu becomes on a phone only. While `exactActiveLink`: component-wide while the main button
|
|
325
|
+
* The bottom sheet the menu becomes on a phone only. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts.
|
|
326
326
|
*/
|
|
327
327
|
'pt:sheet:exactActiveLink'?: PtValue;
|
|
328
328
|
/**
|
|
329
|
-
* The bottom sheet the menu becomes on a phone only. While `disabled`: component-wide while the control is `disabled`;
|
|
329
|
+
* The bottom sheet the menu becomes on a phone only. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry.
|
|
330
330
|
*/
|
|
331
331
|
'pt:sheet:disabled'?: PtValue;
|
|
332
332
|
/**
|
|
@@ -342,15 +342,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
342
342
|
*/
|
|
343
343
|
'pt:header'?: PtValue;
|
|
344
344
|
/**
|
|
345
|
-
* The band around your `#header` slot: at the top of the menu on desktop, the sheet's header on a phone — handed to the `BbDropdown`. While `activeLink`: component-wide while the main button
|
|
345
|
+
* The band around your `#header` slot: at the top of the menu on desktop, the sheet's header on a phone — handed to the `BbDropdown`. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state.
|
|
346
346
|
*/
|
|
347
347
|
'pt:header:activeLink'?: PtValue;
|
|
348
348
|
/**
|
|
349
|
-
* The band around your `#header` slot: at the top of the menu on desktop, the sheet's header on a phone — handed to the `BbDropdown`. While `exactActiveLink`: component-wide while the main button
|
|
349
|
+
* The band around your `#header` slot: at the top of the menu on desktop, the sheet's header on a phone — handed to the `BbDropdown`. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts.
|
|
350
350
|
*/
|
|
351
351
|
'pt:header:exactActiveLink'?: PtValue;
|
|
352
352
|
/**
|
|
353
|
-
* The band around your `#header` slot: at the top of the menu on desktop, the sheet's header on a phone — handed to the `BbDropdown`. While `disabled`: component-wide while the control is `disabled`;
|
|
353
|
+
* The band around your `#header` slot: at the top of the menu on desktop, the sheet's header on a phone — handed to the `BbDropdown`. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry.
|
|
354
354
|
*/
|
|
355
355
|
'pt:header:disabled'?: PtValue;
|
|
356
356
|
/**
|
|
@@ -366,15 +366,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
366
366
|
*/
|
|
367
367
|
'pt:footer'?: PtValue;
|
|
368
368
|
/**
|
|
369
|
-
* The band around your `#footer` slot: at the bottom of the menu on desktop, the sheet's footer on a phone — handed to the `BbDropdown`. While `activeLink`: component-wide while the main button
|
|
369
|
+
* The band around your `#footer` slot: at the bottom of the menu on desktop, the sheet's footer on a phone — handed to the `BbDropdown`. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state.
|
|
370
370
|
*/
|
|
371
371
|
'pt:footer:activeLink'?: PtValue;
|
|
372
372
|
/**
|
|
373
|
-
* The band around your `#footer` slot: at the bottom of the menu on desktop, the sheet's footer on a phone — handed to the `BbDropdown`. While `exactActiveLink`: component-wide while the main button
|
|
373
|
+
* The band around your `#footer` slot: at the bottom of the menu on desktop, the sheet's footer on a phone — handed to the `BbDropdown`. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts.
|
|
374
374
|
*/
|
|
375
375
|
'pt:footer:exactActiveLink'?: PtValue;
|
|
376
376
|
/**
|
|
377
|
-
* The band around your `#footer` slot: at the bottom of the menu on desktop, the sheet's footer on a phone — handed to the `BbDropdown`. While `disabled`: component-wide while the control is `disabled`;
|
|
377
|
+
* The band around your `#footer` slot: at the bottom of the menu on desktop, the sheet's footer on a phone — handed to the `BbDropdown`. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry.
|
|
378
378
|
*/
|
|
379
379
|
'pt:footer:disabled'?: PtValue;
|
|
380
380
|
/**
|
|
@@ -390,15 +390,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
390
390
|
*/
|
|
391
391
|
'pt:box'?: PtValue;
|
|
392
392
|
/**
|
|
393
|
-
* A searchable group's search box in the menu (field and magnifier) — handed to the `BbDropdown` as its own `pt:box`. While `activeLink`: component-wide while the main button
|
|
393
|
+
* A searchable group's search box in the menu (field and magnifier) — handed to the `BbDropdown` as its own `pt:box`. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state.
|
|
394
394
|
*/
|
|
395
395
|
'pt:box:activeLink'?: PtValue;
|
|
396
396
|
/**
|
|
397
|
-
* A searchable group's search box in the menu (field and magnifier) — handed to the `BbDropdown` as its own `pt:box`. While `exactActiveLink`: component-wide while the main button
|
|
397
|
+
* A searchable group's search box in the menu (field and magnifier) — handed to the `BbDropdown` as its own `pt:box`. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts.
|
|
398
398
|
*/
|
|
399
399
|
'pt:box:exactActiveLink'?: PtValue;
|
|
400
400
|
/**
|
|
401
|
-
* A searchable group's search box in the menu (field and magnifier) — handed to the `BbDropdown` as its own `pt:box`. While `disabled`: component-wide while the control is `disabled`;
|
|
401
|
+
* A searchable group's search box in the menu (field and magnifier) — handed to the `BbDropdown` as its own `pt:box`. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry.
|
|
402
402
|
*/
|
|
403
403
|
'pt:box:disabled'?: PtValue;
|
|
404
404
|
/**
|
|
@@ -414,15 +414,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
414
414
|
*/
|
|
415
415
|
'pt:input'?: PtValue;
|
|
416
416
|
/**
|
|
417
|
-
* A searchable group's search field in the menu — a broadcast, every searchable group's field — handed to the `BbDropdown` as its own `pt:input`. While `activeLink`: component-wide while the main button
|
|
417
|
+
* A searchable group's search field in the menu — a broadcast, every searchable group's field — handed to the `BbDropdown` as its own `pt:input`. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state.
|
|
418
418
|
*/
|
|
419
419
|
'pt:input:activeLink'?: PtValue;
|
|
420
420
|
/**
|
|
421
|
-
* A searchable group's search field in the menu — a broadcast, every searchable group's field — handed to the `BbDropdown` as its own `pt:input`. While `exactActiveLink`: component-wide while the main button
|
|
421
|
+
* A searchable group's search field in the menu — a broadcast, every searchable group's field — handed to the `BbDropdown` as its own `pt:input`. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts.
|
|
422
422
|
*/
|
|
423
423
|
'pt:input:exactActiveLink'?: PtValue;
|
|
424
424
|
/**
|
|
425
|
-
* A searchable group's search field in the menu — a broadcast, every searchable group's field — handed to the `BbDropdown` as its own `pt:input`. While `disabled`: component-wide while the control is `disabled`;
|
|
425
|
+
* A searchable group's search field in the menu — a broadcast, every searchable group's field — handed to the `BbDropdown` as its own `pt:input`. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry.
|
|
426
426
|
*/
|
|
427
427
|
'pt:input:disabled'?: PtValue;
|
|
428
428
|
/**
|
|
@@ -438,15 +438,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
438
438
|
*/
|
|
439
439
|
'pt:list'?: PtValue;
|
|
440
440
|
/**
|
|
441
|
-
* The menu's top-level items container — handed to the `BbDropdown` as its own `pt:list`. While `activeLink`: component-wide while the main button
|
|
441
|
+
* The menu's top-level items container — handed to the `BbDropdown` as its own `pt:list`. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state.
|
|
442
442
|
*/
|
|
443
443
|
'pt:list:activeLink'?: PtValue;
|
|
444
444
|
/**
|
|
445
|
-
* The menu's top-level items container — handed to the `BbDropdown` as its own `pt:list`. While `exactActiveLink`: component-wide while the main button
|
|
445
|
+
* The menu's top-level items container — handed to the `BbDropdown` as its own `pt:list`. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts.
|
|
446
446
|
*/
|
|
447
447
|
'pt:list:exactActiveLink'?: PtValue;
|
|
448
448
|
/**
|
|
449
|
-
* The menu's top-level items container — handed to the `BbDropdown` as its own `pt:list`. While `disabled`: component-wide while the control is `disabled`;
|
|
449
|
+
* The menu's top-level items container — handed to the `BbDropdown` as its own `pt:list`. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry.
|
|
450
450
|
*/
|
|
451
451
|
'pt:list:disabled'?: PtValue;
|
|
452
452
|
/**
|
|
@@ -457,16 +457,64 @@ export interface BbDropdownButtonPtKeys {
|
|
|
457
457
|
* The menu's top-level items container — handed to the `BbDropdown` as its own `pt:list`. While `loading`: `loading` is on — the main button shows its spinner.
|
|
458
458
|
*/
|
|
459
459
|
'pt:list:loading'?: PtValue;
|
|
460
|
+
/**
|
|
461
|
+
* Every menu group's label row (the menu's own).
|
|
462
|
+
*/
|
|
463
|
+
'pt:groupLabel'?: PtValue;
|
|
464
|
+
/**
|
|
465
|
+
* Every menu group's label row (the menu's own). While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state.
|
|
466
|
+
*/
|
|
467
|
+
'pt:groupLabel:activeLink'?: PtValue;
|
|
468
|
+
/**
|
|
469
|
+
* Every menu group's label row (the menu's own). While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts.
|
|
470
|
+
*/
|
|
471
|
+
'pt:groupLabel:exactActiveLink'?: PtValue;
|
|
472
|
+
/**
|
|
473
|
+
* Every menu group's label row (the menu's own). While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry.
|
|
474
|
+
*/
|
|
475
|
+
'pt:groupLabel:disabled'?: PtValue;
|
|
476
|
+
/**
|
|
477
|
+
* Every menu group's label row (the menu's own). While `open`: the menu is open.
|
|
478
|
+
*/
|
|
479
|
+
'pt:groupLabel:open'?: PtValue;
|
|
480
|
+
/**
|
|
481
|
+
* Every menu group's label row (the menu's own). While `loading`: `loading` is on — the main button shows its spinner.
|
|
482
|
+
*/
|
|
483
|
+
'pt:groupLabel:loading'?: PtValue;
|
|
484
|
+
/**
|
|
485
|
+
* Every `groupBy` heading in the menu (the menu's own).
|
|
486
|
+
*/
|
|
487
|
+
'pt:groupHeader'?: PtValue;
|
|
488
|
+
/**
|
|
489
|
+
* Every `groupBy` heading in the menu (the menu's own). While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state.
|
|
490
|
+
*/
|
|
491
|
+
'pt:groupHeader:activeLink'?: PtValue;
|
|
492
|
+
/**
|
|
493
|
+
* Every `groupBy` heading in the menu (the menu's own). While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts.
|
|
494
|
+
*/
|
|
495
|
+
'pt:groupHeader:exactActiveLink'?: PtValue;
|
|
496
|
+
/**
|
|
497
|
+
* Every `groupBy` heading in the menu (the menu's own). While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry.
|
|
498
|
+
*/
|
|
499
|
+
'pt:groupHeader:disabled'?: PtValue;
|
|
500
|
+
/**
|
|
501
|
+
* Every `groupBy` heading in the menu (the menu's own). While `open`: the menu is open.
|
|
502
|
+
*/
|
|
503
|
+
'pt:groupHeader:open'?: PtValue;
|
|
504
|
+
/**
|
|
505
|
+
* Every `groupBy` heading in the menu (the menu's own). While `loading`: `loading` is on — the main button shows its spinner.
|
|
506
|
+
*/
|
|
507
|
+
'pt:groupHeader:loading'?: PtValue;
|
|
460
508
|
/**
|
|
461
509
|
* One menu entry, submenus included — a broadcast resolved per entry. Also takes a per-item function, called with the entry.
|
|
462
510
|
*/
|
|
463
511
|
'pt:item'?: unknown;
|
|
464
512
|
/**
|
|
465
|
-
* One menu entry, submenus included — a broadcast resolved per entry. While `activeLink`: component-wide while the main button
|
|
513
|
+
* One menu entry, submenus included — a broadcast resolved per entry. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state. See `pt:item`.
|
|
466
514
|
*/
|
|
467
515
|
'pt:item:activeLink'?: PtValue;
|
|
468
516
|
/**
|
|
469
|
-
* One menu entry, submenus included — a broadcast resolved per entry. While `exactActiveLink`: component-wide while the main button
|
|
517
|
+
* One menu entry, submenus included — a broadcast resolved per entry. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts. See `pt:item`.
|
|
470
518
|
*/
|
|
471
519
|
'pt:item:exactActiveLink'?: PtValue;
|
|
472
520
|
/**
|
|
@@ -474,7 +522,7 @@ export interface BbDropdownButtonPtKeys {
|
|
|
474
522
|
*/
|
|
475
523
|
'pt:item:selected'?: PtValue;
|
|
476
524
|
/**
|
|
477
|
-
* One menu entry, submenus included — a broadcast resolved per entry. While `disabled`: component-wide while the control is `disabled`;
|
|
525
|
+
* One menu entry, submenus included — a broadcast resolved per entry. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry. See `pt:item`.
|
|
478
526
|
*/
|
|
479
527
|
'pt:item:disabled'?: PtValue;
|
|
480
528
|
/**
|
|
@@ -498,11 +546,11 @@ export interface BbDropdownButtonPtKeys {
|
|
|
498
546
|
*/
|
|
499
547
|
'pt:itemText'?: unknown;
|
|
500
548
|
/**
|
|
501
|
-
* An entry's label (its `label`) — resolved with that entry's states. While `activeLink`: component-wide while the main button
|
|
549
|
+
* An entry's label (its `label`) — resolved with that entry's states. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state. See `pt:itemText`.
|
|
502
550
|
*/
|
|
503
551
|
'pt:itemText:activeLink'?: PtValue;
|
|
504
552
|
/**
|
|
505
|
-
* An entry's label (its `label`) — resolved with that entry's states. While `exactActiveLink`: component-wide while the main button
|
|
553
|
+
* An entry's label (its `label`) — resolved with that entry's states. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts. See `pt:itemText`.
|
|
506
554
|
*/
|
|
507
555
|
'pt:itemText:exactActiveLink'?: PtValue;
|
|
508
556
|
/**
|
|
@@ -510,7 +558,7 @@ export interface BbDropdownButtonPtKeys {
|
|
|
510
558
|
*/
|
|
511
559
|
'pt:itemText:selected'?: PtValue;
|
|
512
560
|
/**
|
|
513
|
-
* An entry's label (its `label`) — resolved with that entry's states. While `disabled`: component-wide while the control is `disabled`;
|
|
561
|
+
* An entry's label (its `label`) — resolved with that entry's states. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry. See `pt:itemText`.
|
|
514
562
|
*/
|
|
515
563
|
'pt:itemText:disabled'?: PtValue;
|
|
516
564
|
/**
|
|
@@ -534,11 +582,11 @@ export interface BbDropdownButtonPtKeys {
|
|
|
534
582
|
*/
|
|
535
583
|
'pt:itemIcon'?: unknown;
|
|
536
584
|
/**
|
|
537
|
-
* An entry's prepend / append icons — resolved with that entry's states. While `activeLink`: component-wide while the main button
|
|
585
|
+
* An entry's prepend / append icons — resolved with that entry's states. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state. See `pt:itemIcon`.
|
|
538
586
|
*/
|
|
539
587
|
'pt:itemIcon:activeLink'?: PtValue;
|
|
540
588
|
/**
|
|
541
|
-
* An entry's prepend / append icons — resolved with that entry's states. While `exactActiveLink`: component-wide while the main button
|
|
589
|
+
* An entry's prepend / append icons — resolved with that entry's states. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts. See `pt:itemIcon`.
|
|
542
590
|
*/
|
|
543
591
|
'pt:itemIcon:exactActiveLink'?: PtValue;
|
|
544
592
|
/**
|
|
@@ -546,7 +594,7 @@ export interface BbDropdownButtonPtKeys {
|
|
|
546
594
|
*/
|
|
547
595
|
'pt:itemIcon:selected'?: PtValue;
|
|
548
596
|
/**
|
|
549
|
-
* An entry's prepend / append icons — resolved with that entry's states. While `disabled`: component-wide while the control is `disabled`;
|
|
597
|
+
* An entry's prepend / append icons — resolved with that entry's states. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry. See `pt:itemIcon`.
|
|
550
598
|
*/
|
|
551
599
|
'pt:itemIcon:disabled'?: PtValue;
|
|
552
600
|
/**
|
|
@@ -566,39 +614,39 @@ export interface BbDropdownButtonPtKeys {
|
|
|
566
614
|
*/
|
|
567
615
|
'pt:itemIcon:destructive'?: PtValue;
|
|
568
616
|
/**
|
|
569
|
-
* An entry's muted second line (its `description`)
|
|
617
|
+
* An entry's muted second line (its `description`), with the entry's states. A per-entry `#<value>` slot replaces it. Also takes a per-item function.
|
|
570
618
|
*/
|
|
571
619
|
'pt:itemDescription'?: unknown;
|
|
572
620
|
/**
|
|
573
|
-
* An entry's muted second line (its `description`)
|
|
621
|
+
* An entry's muted second line (its `description`), with the entry's states. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state. See `pt:itemDescription`.
|
|
574
622
|
*/
|
|
575
623
|
'pt:itemDescription:activeLink'?: PtValue;
|
|
576
624
|
/**
|
|
577
|
-
* An entry's muted second line (its `description`)
|
|
625
|
+
* An entry's muted second line (its `description`), with the entry's states. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts. See `pt:itemDescription`.
|
|
578
626
|
*/
|
|
579
627
|
'pt:itemDescription:exactActiveLink'?: PtValue;
|
|
580
628
|
/**
|
|
581
|
-
* An entry's muted second line (its `description`)
|
|
629
|
+
* An entry's muted second line (its `description`), with the entry's states. While `selected`: a selectable group's checked entry. See `pt:itemDescription`.
|
|
582
630
|
*/
|
|
583
631
|
'pt:itemDescription:selected'?: PtValue;
|
|
584
632
|
/**
|
|
585
|
-
* An entry's muted second line (its `description`)
|
|
633
|
+
* An entry's muted second line (its `description`), with the entry's states. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry. See `pt:itemDescription`.
|
|
586
634
|
*/
|
|
587
635
|
'pt:itemDescription:disabled'?: PtValue;
|
|
588
636
|
/**
|
|
589
|
-
* An entry's muted second line (its `description`)
|
|
637
|
+
* An entry's muted second line (its `description`), with the entry's states. While `open`: the menu is open. See `pt:itemDescription`.
|
|
590
638
|
*/
|
|
591
639
|
'pt:itemDescription:open'?: PtValue;
|
|
592
640
|
/**
|
|
593
|
-
* An entry's muted second line (its `description`)
|
|
641
|
+
* An entry's muted second line (its `description`), with the entry's states. While `loading`: `loading` is on — the main button shows its spinner. See `pt:itemDescription`.
|
|
594
642
|
*/
|
|
595
643
|
'pt:itemDescription:loading'?: PtValue;
|
|
596
644
|
/**
|
|
597
|
-
* An entry's muted second line (its `description`)
|
|
645
|
+
* An entry's muted second line (its `description`), with the entry's states. While `default`: an entry with `variant: 'default'` or none. Merged after the part's base entry and before its states, so the real states still win. See `pt:itemDescription`.
|
|
598
646
|
*/
|
|
599
647
|
'pt:itemDescription:default'?: PtValue;
|
|
600
648
|
/**
|
|
601
|
-
* An entry's muted second line (its `description`)
|
|
649
|
+
* An entry's muted second line (its `description`), with the entry's states. While `destructive`: `variant: 'destructive'`. Below the real states, like every variant. See `pt:itemDescription`.
|
|
602
650
|
*/
|
|
603
651
|
'pt:itemDescription:destructive'?: PtValue;
|
|
604
652
|
/**
|
|
@@ -606,11 +654,11 @@ export interface BbDropdownButtonPtKeys {
|
|
|
606
654
|
*/
|
|
607
655
|
'pt:check'?: unknown;
|
|
608
656
|
/**
|
|
609
|
-
* A checked entry's tick, outside the row slots: `pt:check="hidden"` spares your own glyph. While `activeLink`: component-wide while the main button
|
|
657
|
+
* A checked entry's tick, outside the row slots: `pt:check="hidden"` spares your own glyph. While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state. See `pt:check`.
|
|
610
658
|
*/
|
|
611
659
|
'pt:check:activeLink'?: PtValue;
|
|
612
660
|
/**
|
|
613
|
-
* A checked entry's tick, outside the row slots: `pt:check="hidden"` spares your own glyph. While `exactActiveLink`: component-wide while the main button
|
|
661
|
+
* A checked entry's tick, outside the row slots: `pt:check="hidden"` spares your own glyph. While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts. See `pt:check`.
|
|
614
662
|
*/
|
|
615
663
|
'pt:check:exactActiveLink'?: PtValue;
|
|
616
664
|
/**
|
|
@@ -618,7 +666,7 @@ export interface BbDropdownButtonPtKeys {
|
|
|
618
666
|
*/
|
|
619
667
|
'pt:check:selected'?: PtValue;
|
|
620
668
|
/**
|
|
621
|
-
* A checked entry's tick, outside the row slots: `pt:check="hidden"` spares your own glyph. While `disabled`: component-wide while the control is `disabled`;
|
|
669
|
+
* A checked entry's tick, outside the row slots: `pt:check="hidden"` spares your own glyph. While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry. See `pt:check`.
|
|
622
670
|
*/
|
|
623
671
|
'pt:check:disabled'?: PtValue;
|
|
624
672
|
/**
|
|
@@ -642,15 +690,15 @@ export interface BbDropdownButtonPtKeys {
|
|
|
642
690
|
*/
|
|
643
691
|
'pt:submenu'?: unknown;
|
|
644
692
|
/**
|
|
645
|
-
* Every submenu's flyout box (desktop only). While `activeLink`: component-wide while the main button
|
|
693
|
+
* Every submenu's flyout box (desktop only). While `activeLink`: component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state. See `pt:submenu`.
|
|
646
694
|
*/
|
|
647
695
|
'pt:submenu:activeLink'?: PtValue;
|
|
648
696
|
/**
|
|
649
|
-
* Every submenu's flyout box (desktop only). While `exactActiveLink`: component-wide while the main button
|
|
697
|
+
* Every submenu's flyout box (desktop only). While `exactActiveLink`: component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts. See `pt:submenu`.
|
|
650
698
|
*/
|
|
651
699
|
'pt:submenu:exactActiveLink'?: PtValue;
|
|
652
700
|
/**
|
|
653
|
-
* Every submenu's flyout box (desktop only). While `disabled`: component-wide while the control is `disabled`;
|
|
701
|
+
* Every submenu's flyout box (desktop only). While `disabled`: component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry. See `pt:submenu`.
|
|
654
702
|
*/
|
|
655
703
|
'pt:submenu:disabled'?: PtValue;
|
|
656
704
|
/**
|
|
@@ -57,11 +57,13 @@ export type BbDropdownButtonItemFnPtPart = 'item' | 'itemText' | 'itemIcon' | 'i
|
|
|
57
57
|
* magnifier) — handed to the `BbDropdown` as its own `pt:box`.
|
|
58
58
|
* @part list - The menu's top-level items container — handed to the
|
|
59
59
|
* `BbDropdown` as its own `pt:list`.
|
|
60
|
+
* @part groupLabel - Every menu group's label row (the menu's own).
|
|
61
|
+
* @part groupHeader - Every `groupBy` heading in the menu (the menu's own).
|
|
60
62
|
* @part input - A searchable group's search field in the menu — a broadcast,
|
|
61
63
|
* every searchable group's field — handed to the `BbDropdown` as its own
|
|
62
64
|
* `pt:input`.
|
|
63
65
|
*/
|
|
64
|
-
export type BbDropdownButtonOwnPtPart = 'root' | 'main' | 'toggle' | 'icon' | 'spinner' | 'text' | 'panel' | 'sheet' | 'header' | 'footer' | 'box' | 'input' | 'list';
|
|
66
|
+
export type BbDropdownButtonOwnPtPart = 'root' | 'main' | 'toggle' | 'icon' | 'spinner' | 'text' | 'panel' | 'sheet' | 'header' | 'footer' | 'box' | 'input' | 'list' | 'groupLabel' | 'groupHeader';
|
|
65
67
|
/**
|
|
66
68
|
* The menu-entry parts — broadcasts resolved per entry by the `BbDropdown`.
|
|
67
69
|
*
|
|
@@ -85,15 +87,15 @@ export type BbDropdownButtonPtState = 'activeLink' | 'exactActiveLink' | 'select
|
|
|
85
87
|
*
|
|
86
88
|
* @state loading - Component-wide: `loading` is on — the main button shows
|
|
87
89
|
* its spinner.
|
|
88
|
-
* @state disabled - Component-wide while the control is `disabled`;
|
|
89
|
-
* node, on the entry parts: a
|
|
90
|
+
* @state disabled - Component-wide while the control is `disabled`; per
|
|
91
|
+
* node, on the entry parts: a disabled entry.
|
|
90
92
|
* @state open - Component-wide: the menu is open.
|
|
91
|
-
* @state activeLink - Component-wide while the main button
|
|
92
|
-
* current page or
|
|
93
|
-
*
|
|
94
|
-
* @state exactActiveLink - Component-wide while the main button
|
|
95
|
-
*
|
|
96
|
-
*
|
|
93
|
+
* @state activeLink - Component-wide while the main button links to the
|
|
94
|
+
* current page or an ancestor (its `activeClass` is on); per node, on the
|
|
95
|
+
* entry parts: an entry whose link does. The weakest state.
|
|
96
|
+
* @state exactActiveLink - Component-wide while the main button links to the
|
|
97
|
+
* current page itself (its `exactActiveClass` is on); per node, on the
|
|
98
|
+
* entry parts.
|
|
97
99
|
*/
|
|
98
100
|
export type BbDropdownButtonWidePtState = 'activeLink' | 'exactActiveLink' | 'loading' | 'disabled' | 'open';
|
|
99
101
|
/**
|
|
@@ -103,7 +105,7 @@ export type BbDropdownButtonWidePtState = 'activeLink' | 'exactActiveLink' | 'lo
|
|
|
103
105
|
export type BbDropdownButtonPtKey = BbDropdownButtonPtPart | `${BbDropdownButtonPtPart}:${BbDropdownButtonWidePtState}` | `${BbDropdownButtonItemPtPart}:selected`;
|
|
104
106
|
/** The runtime lists the resolver is wired with — kept next to the types so the two cannot drift. */
|
|
105
107
|
export declare const BB_DROPDOWN_BUTTON_PT: {
|
|
106
|
-
readonly parts: readonly ["root", "main", "toggle", "icon", "spinner", "text", "panel", "sheet", "header", "footer", "box", "input", "list", "item", "itemText", "itemIcon", "itemDescription", "check", "submenu"];
|
|
108
|
+
readonly parts: readonly ["root", "main", "toggle", "icon", "spinner", "text", "panel", "sheet", "header", "footer", "box", "input", "list", "groupLabel", "groupHeader", "item", "itemText", "itemIcon", "itemDescription", "check", "submenu"];
|
|
107
109
|
readonly states: readonly ["activeLink", "exactActiveLink", "selected", "disabled", "open", "loading"];
|
|
108
110
|
/** On every part: what the resolver's `active` map turns on (the link states are the main button's). */
|
|
109
111
|
readonly wide: readonly ["activeLink", "exactActiveLink", "disabled", "open", "loading"];
|
|
@@ -25,10 +25,10 @@ declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable
|
|
|
25
25
|
maxSize?: number;
|
|
26
26
|
modelValue?: File | File[] | null;
|
|
27
27
|
} & import('../../types/CommonProps.js').LayoutElementTag & import('../../composables/useFormBinding.js').FormFieldProps<File | File[] | null> & BbDropzoneModelProps<M> & Omit<import('vue').HTMLAttributes, `pt:${string}&${string}` | "readonly" | "disabled" | "warnings" | "errors" | "pt" | "tag" | "onError" | "autofocus" | "hasErrors" | "hasWarnings" | "id" | "name" | keyof import('./ptKeys.generated.js').BbDropzonePtKeys | "accept" | "maxFiles" | "maxSize" | keyof import('../../composables/useFormBinding.js').FormFieldProps<File | File[] | null> | "onFocus" | "onBlur" | keyof BbDropzoneModelProps<M>> & {}) & {
|
|
28
|
+
onError?: ((errors: DropZoneError[]) => any) | undefined;
|
|
28
29
|
"onUpdate:modelValue"?: ((value: import('./types.js').BbDropzoneValue<M>) => any) | undefined;
|
|
29
30
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
30
31
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
31
|
-
onError?: ((errors: DropZoneError[]) => any) | undefined;
|
|
32
32
|
}> & (typeof globalThis extends {
|
|
33
33
|
__VLS_PROPS_FALLBACK: infer P;
|
|
34
34
|
} ? P : {});
|