bitboss-ui 3.0.0-beta.63 → 3.0.0-beta.65
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 +25 -20
- package/bin/bitboss-ui.mjs +73 -7
- package/dist/ai/BbAlert.md +10 -1
- package/dist/ai/BbBadge.md +35 -3
- package/dist/ai/BbBadgeButton.md +4 -2
- package/dist/ai/BbBaseButton.md +9 -3
- package/dist/ai/BbBreadcrumbs.md +2 -2
- package/dist/ai/BbButton.md +113 -8
- package/dist/ai/BbCheckbox.md +1 -1
- package/dist/ai/BbCheckboxGroup.md +94 -6
- package/dist/ai/BbColorInput.md +4 -1
- package/dist/ai/BbColorPalette.md +2 -1
- package/dist/ai/BbConfirm.md +7 -3
- package/dist/ai/BbDatePicker.md +2 -1
- package/dist/ai/BbDatePickerInput.md +4 -1
- package/dist/ai/BbDialog.md +12 -11
- package/dist/ai/BbDropdown.md +189 -38
- package/dist/ai/BbDropdownButton.md +27 -7
- package/dist/ai/BbForm.md +55 -22
- package/dist/ai/BbHost.md +2 -2
- package/dist/ai/BbHoverCard.md +7 -3
- package/dist/ai/BbIcon.md +12 -6
- package/dist/ai/BbIndicator.md +11 -1
- package/dist/ai/BbNumberInput.md +4 -1
- package/dist/ai/BbOffCanvas.md +37 -3
- package/dist/ai/BbPopover.md +2 -1
- package/dist/ai/BbRadio.md +1 -1
- package/dist/ai/BbRadioGroup.md +102 -10
- package/dist/ai/BbSelect.md +52 -17
- package/dist/ai/BbSelectPopover.md +93 -26
- package/dist/ai/BbSwitch.md +1 -1
- package/dist/ai/BbSwitchGroup.md +30 -3
- package/dist/ai/BbTable.md +17 -10
- package/dist/ai/BbTabs.md +8 -3
- package/dist/ai/BbTabsList.md +4 -1
- package/dist/ai/BbTag.md +5 -2
- package/dist/ai/BbTextInput.md +4 -1
- package/dist/ai/BbTextarea.md +4 -1
- package/dist/ai/BbTimePicker.md +2 -1
- package/dist/ai/BbTimePickerInput.md +4 -1
- package/dist/ai/BbToast.md +9 -3
- package/dist/ai/BbTooltip.md +71 -9
- package/dist/ai/ChipsBox.md +1 -1
- package/dist/ai/CommonField.md +1 -1
- package/dist/ai/OptionsContainer.md +42 -0
- package/dist/ai/changelog.json +494 -6
- package/dist/ai/components.json +50 -48
- package/dist/ai/composables/useBbConfig.md +8 -1
- package/dist/ai/composables/useConfirm.md +39 -1
- package/dist/ai/design-tokens.json +6 -6
- package/dist/ai/guides/agent-contract.md +2 -2
- package/dist/ai/guides/ai-router.md +24 -23
- package/dist/ai/guides/app-layout.md +5 -0
- package/dist/ai/guides/component-picker.md +9 -2
- package/dist/ai/guides/design-language.md +24 -24
- package/dist/ai/guides/design-tokens.md +15 -8
- package/dist/ai/guides/icons-policy.md +9 -2
- package/dist/ai/guides/inertia-helpers.md +1183 -301
- package/dist/ai/guides/installation-and-plugin-setup.md +12 -2
- package/dist/ai/guides/migration/adoption-checklist.md +235 -0
- package/dist/ai/guides/migration/components/bb-checkbox-group.md +16 -15
- package/dist/ai/guides/migration/components/bb-dialog.md +9 -9
- package/dist/ai/guides/migration/components/bb-dropdown.md +7 -2
- package/dist/ai/guides/migration/components/bb-popover.md +4 -2
- package/dist/ai/guides/migration/components/bb-select.md +19 -0
- package/dist/ai/guides/migration/components/bb-table.md +1 -0
- package/dist/ai/guides/migration/components/bb-toast.md +4 -0
- package/dist/ai/guides/migration/components/bb-tooltip.md +15 -12
- package/dist/ai/guides/migration/components/use-confirm.md +25 -2
- package/dist/ai/guides/migration/v2-to-v3.md +211 -9
- package/dist/ai/guides/migration/v3-beta-css-classes.md +7 -3
- package/dist/ai/guides/options-items-playbook.md +2 -1
- package/dist/ai/guides/passthrough.md +149 -85
- package/dist/ai/guides/preset-components.md +140 -15
- package/dist/ai/helpers/definePreset.json +7 -0
- package/dist/ai/helpers/definePreset.ts +123 -11
- package/dist/ai/helpers/inertia/manifest.json +151 -62
- package/dist/ai/helpers/inertia/messages.ts +33 -0
- package/dist/ai/helpers/inertia/useConfirmOnRouteLeave.ts +120 -20
- package/dist/ai/helpers/inertia/useHasChanged.ts +34 -16
- package/dist/ai/helpers/inertia/useLazyProp.ts +102 -36
- package/dist/ai/helpers/inertia/useLazyPropGetter.ts +3 -1
- package/dist/ai/helpers/inertia/usePaginatedResponseContext.ts +154 -34
- package/dist/ai/helpers/inertia/usePromiseForm.ts +121 -14
- package/dist/ai/helpers/inertia/useQuery.ts +133 -11
- package/dist/ai/helpers/inertia/useQueryObject.ts +74 -67
- package/dist/ai/helpers/inertia/useResourceContext.ts +60 -14
- package/dist/ai/helpers/inertia/useRouteQuery.ts +38 -27
- package/dist/ai/helpers/inertia/useScreenSizes.ts +9 -7
- package/dist/ai/helpers/inertia/useTableContext.ts +5 -2
- package/dist/ai/helpers/inertia/utils.ts +14 -0
- package/dist/ai/index.md +1 -0
- package/dist/ai/manifest/common.json +0 -1
- package/dist/ai/manifest/components/BbAlert.json +7 -2
- package/dist/ai/manifest/components/BbBadge.json +13 -4
- package/dist/ai/manifest/components/BbBadge.tree.json +2 -0
- package/dist/ai/manifest/components/BbBadgeButton.json +4 -2
- package/dist/ai/manifest/components/BbBaseButton.json +4 -2
- package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
- package/dist/ai/manifest/components/BbButton.json +14 -3
- package/dist/ai/manifest/components/BbButton.tree.json +5 -1
- package/dist/ai/manifest/components/BbCheckboxGroup.json +13 -8
- package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +11 -1
- package/dist/ai/manifest/components/BbColorInput.json +18 -15
- package/dist/ai/manifest/components/BbColorPalette.json +1 -1
- package/dist/ai/manifest/components/BbConfirm.json +4 -2
- package/dist/ai/manifest/components/BbConfirm.tree.json +1 -1
- package/dist/ai/manifest/components/BbDatePicker.json +1 -1
- package/dist/ai/manifest/components/BbDatePickerInput.json +17 -14
- package/dist/ai/manifest/components/BbDialog.tree.json +2 -1
- package/dist/ai/manifest/components/BbDropdown.json +24 -19
- package/dist/ai/manifest/components/BbDropdown.tree.json +9 -2
- package/dist/ai/manifest/components/BbDropdownButton.json +33 -20
- package/dist/ai/manifest/components/BbDropdownButton.tree.json +2 -2
- package/dist/ai/manifest/components/BbForm.json +2 -2
- package/dist/ai/manifest/components/BbHost.tree.json +1 -1
- package/dist/ai/manifest/components/BbHoverCard.json +1 -1
- package/dist/ai/manifest/components/BbIndicator.json +8 -2
- package/dist/ai/manifest/components/BbNumberInput.json +5 -2
- package/dist/ai/manifest/components/BbOffCanvas.json +2 -2
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
- package/dist/ai/manifest/components/BbPopover.json +1 -1
- package/dist/ai/manifest/components/BbRadioGroup.json +17 -12
- package/dist/ai/manifest/components/BbRadioGroup.tree.json +8 -1
- package/dist/ai/manifest/components/BbSelect.json +21 -18
- package/dist/ai/manifest/components/BbSelect.tree.json +2 -2
- package/dist/ai/manifest/components/BbSelectPopover.json +10 -10
- package/dist/ai/manifest/components/BbSelectPopover.tree.json +3 -2
- package/dist/ai/manifest/components/BbSwitchGroup.json +1 -1
- package/dist/ai/manifest/components/BbSwitchGroup.tree.json +3 -1
- package/dist/ai/manifest/components/BbTable.tree.json +14 -1
- package/dist/ai/manifest/components/BbTabs.json +9 -6
- package/dist/ai/manifest/components/BbTabs.tree.json +1 -1
- package/dist/ai/manifest/components/BbTabsList.json +6 -3
- package/dist/ai/manifest/components/BbTag.json +19 -16
- package/dist/ai/manifest/components/BbTag.tree.json +1 -1
- package/dist/ai/manifest/components/BbTextInput.json +6 -3
- package/dist/ai/manifest/components/BbTextarea.json +6 -3
- package/dist/ai/manifest/components/BbTimePicker.json +1 -1
- package/dist/ai/manifest/components/BbTimePickerInput.json +10 -7
- package/dist/ai/manifest/components/BbToast.json +7 -2
- package/dist/ai/manifest/components/BbToast.tree.json +4 -2
- package/dist/ai/manifest/components/BbTooltip.json +6 -5
- package/dist/ai/manifest/components/ChipsBox.tree.json +1 -1
- package/dist/ai/manifest/components/CommonField.json +1 -1
- package/dist/ai/manifest/components/OptionsContainer.json +3 -1
- package/dist/ai/manifest/components/OptionsContainer.tree.json +38 -0
- package/dist/ai/manifest/index.json +3 -3
- package/dist/ai/manifest/meta.json +5 -3
- package/dist/ai/manifest/types.advanced.json +5 -2
- package/dist/ai/manifest/types.api.json +9 -7
- package/dist/ai/recipes/inertia/approvals-inbox.md +1 -1
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/inertia/layout-scaffold.md +19 -6
- package/dist/ai/recipes/inertia/ownership-atlas.md +1 -1
- package/dist/ai/recipes/inertia/records-workspace.md +50 -14
- package/dist/ai/recipes/inertia/upload-center.md +1 -1
- package/dist/ai/recipes/nuxt/layout-scaffold.md +19 -6
- package/dist/ai/recipes/nuxt/records-workspace.md +42 -12
- package/dist/ai/recipes/vue/layout-scaffold.md +19 -6
- package/dist/ai/recipes/vue/records-workspace.md +42 -12
- package/dist/ai/source/BbAlert.md +94 -76
- package/dist/ai/source/BbBadge.md +174 -72
- package/dist/ai/source/BbBadgeButton.md +130 -65
- package/dist/ai/source/BbBaseButton.md +46 -124
- package/dist/ai/source/BbBaseCheckboxIcon.md +38 -0
- package/dist/ai/source/BbBaseRadioIcon.md +18 -0
- package/dist/ai/source/BbBaseSwitchIcon.md +51 -0
- package/dist/ai/source/BbButton.md +153 -36
- package/dist/ai/source/BbCheckboxGroup.md +142 -18
- package/dist/ai/source/BbColorInput.md +240 -204
- package/dist/ai/source/BbColorPalette.md +7 -4
- package/dist/ai/source/BbConfirm.md +34 -11
- package/dist/ai/source/BbConfirmPortal.md +24 -9
- package/dist/ai/source/BbDatePicker.md +11 -7
- package/dist/ai/source/BbDatePickerInput.md +306 -269
- package/dist/ai/source/BbDialog.md +49 -14
- package/dist/ai/source/BbDropdown.md +314 -197
- package/dist/ai/source/BbDropdownButton.md +197 -31
- package/dist/ai/source/BbDropdownGroup.md +274 -176
- package/dist/ai/source/BbForm.md +50 -6
- package/dist/ai/source/BbHoverCard.md +12 -5
- package/dist/ai/source/BbIcon.md +4 -3
- package/dist/ai/source/BbIndicator.md +73 -52
- package/dist/ai/source/BbNumberInput.md +293 -257
- package/dist/ai/source/BbOffCanvas.md +55 -29
- package/dist/ai/source/BbPopover.md +14 -10
- package/dist/ai/source/BbRadioGroup.md +413 -297
- package/dist/ai/source/BbSelect.md +549 -435
- package/dist/ai/source/BbSelectPopover.md +153 -34
- package/dist/ai/source/BbSwitchGroup.md +70 -10
- package/dist/ai/source/BbTable.md +369 -37
- package/dist/ai/source/BbTabs.md +115 -39
- package/dist/ai/source/BbTabsList.md +106 -38
- package/dist/ai/source/BbTabsPanels.md +96 -36
- package/dist/ai/source/BbTabsRoot.md +96 -36
- package/dist/ai/source/BbTag.md +267 -233
- package/dist/ai/source/BbTextInput.md +261 -225
- package/dist/ai/source/BbTextarea.md +251 -215
- package/dist/ai/source/BbTimePicker.md +11 -7
- package/dist/ai/source/BbTimePickerInput.md +257 -220
- package/dist/ai/source/BbToast.md +73 -32
- package/dist/ai/source/BbToastPortal.md +65 -30
- package/dist/ai/source/BbTooltip.md +148 -113
- package/dist/ai/source/CommonPopover.md +6 -1
- package/dist/ai/source/FlatListBox.md +19 -9
- package/dist/ai/source/GroupedListBox.md +19 -9
- package/dist/ai/source/OptionsContainer.md +25 -9
- package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +61 -36
- package/dist/components/BbAlert/types.d.ts +9 -5
- package/dist/components/BbAlert/types.js +8 -3
- package/dist/components/BbBadge/BadgeBodyContent.vue.d.ts +3 -3
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +26 -17
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +103 -50
- package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +20 -15
- package/dist/components/BbBadge/badgeButtonContext.d.ts +12 -1
- package/dist/components/BbBadge/types.d.ts +45 -15
- package/dist/components/BbBadge/types.js +12 -3
- package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +89 -126
- package/dist/components/BbBaseButton/types.d.ts +23 -4
- package/dist/components/BbBaseButton/types.js +7 -1
- package/dist/components/BbBaseButton/useLinkState.d.ts +41 -0
- package/dist/components/BbBaseButton/useLinkState.js +70 -0
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +130 -74
- package/dist/components/BbButton/types.d.ts +50 -13
- package/dist/components/BbButton/types.js +10 -3
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +148 -95
- package/dist/components/BbCheckboxGroup/types.d.ts +34 -11
- package/dist/components/BbCheckboxGroup/types.js +9 -4
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +134 -93
- package/dist/components/BbColorInput/types.d.ts +11 -4
- package/dist/components/BbColorInput/types.js +9 -3
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +82 -59
- package/dist/components/BbConfirm/types.d.ts +9 -4
- package/dist/components/BbConfirm/types.js +8 -3
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +1 -1
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +68 -67
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -1
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +259 -215
- package/dist/components/BbDatePickerInput/types.d.ts +12 -5
- package/dist/components/BbDatePickerInput/types.js +9 -3
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +223 -219
- package/dist/components/BbDialog/useDialogStack.d.ts +1 -1
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +104 -89
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -0
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +323 -285
- package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +1 -0
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +411 -319
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +100 -98
- package/dist/components/BbDropdown/DropdownRow.vue.d.ts +4 -3
- package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +49 -28
- package/dist/components/BbDropdown/normalizeGroups.d.ts +6 -0
- package/dist/components/BbDropdown/normalizeGroups.js +21 -15
- package/dist/components/BbDropdown/types.d.ts +59 -12
- package/dist/components/BbDropdown/types.js +16 -3
- package/dist/components/BbDropdown/useDropdownContext.d.ts +6 -0
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +2 -1
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +179 -68
- package/dist/components/BbDropdownButton/types.d.ts +44 -16
- package/dist/components/BbDropdownButton/types.js +28 -3
- package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +111 -89
- package/dist/components/BbForm/formSchema.d.ts +13 -0
- package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +100 -100
- package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +40 -25
- package/dist/components/BbIndicator/types.d.ts +9 -5
- package/dist/components/BbIndicator/types.js +8 -3
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +243 -202
- package/dist/components/BbNumberInput/types.d.ts +12 -5
- package/dist/components/BbNumberInput/types.js +9 -3
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +401 -399
- package/dist/components/BbOffCanvas/types.d.ts +6 -2
- package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +81 -80
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +158 -105
- package/dist/components/BbRadioGroup/types.d.ts +21 -7
- package/dist/components/BbRadioGroup/types.js +9 -4
- package/dist/components/BbSelect/BbSelect.vue.d.ts +4 -3
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +181 -137
- package/dist/components/BbSelect/types.d.ts +36 -22
- package/dist/components/BbSelect/types.js +22 -3
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +4 -4
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +600 -577
- package/dist/components/BbSelectPopover/knownItems.d.ts +5 -0
- package/dist/components/BbSelectPopover/types.d.ts +46 -12
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +1 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/BbSwitchGroup/types.d.ts +14 -4
- package/dist/components/BbSwitchGroup/types.js +8 -3
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1102 -995
- package/dist/components/BbTable/estimatedFloors.golden.d.ts +25 -0
- package/dist/components/BbTable/measuredFloors.d.ts +46 -0
- package/dist/components/BbTable/measuredFloors.js +322 -0
- package/dist/components/BbTable/measuredFloorsTestKit.d.ts +27 -0
- package/dist/components/BbTable/textRuler.d.ts +71 -0
- package/dist/components/BbTable/textRuler.js +121 -0
- package/dist/components/BbTable/utils.d.ts +113 -6
- package/dist/components/BbTable/utils.js +118 -65
- package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +53 -35
- package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +62 -45
- package/dist/components/BbTabs/types.d.ts +26 -11
- package/dist/components/BbTabs/types.js +23 -8
- package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +205 -164
- package/dist/components/BbTag/types.d.ts +11 -4
- package/dist/components/BbTag/types.js +9 -3
- package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +98 -57
- package/dist/components/BbTextInput/types.d.ts +12 -5
- package/dist/components/BbTextInput/types.js +9 -3
- package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +137 -96
- package/dist/components/BbTextarea/types.d.ts +12 -5
- package/dist/components/BbTextarea/types.js +9 -3
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +105 -104
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +241 -197
- package/dist/components/BbTimePickerInput/types.d.ts +12 -5
- package/dist/components/BbTimePickerInput/types.js +9 -3
- package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +74 -32
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +47 -47
- package/dist/components/BbToast/types.d.ts +10 -5
- package/dist/components/BbToast/types.js +18 -3
- package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +85 -71
- package/dist/components/BbTooltip/types.d.ts +13 -8
- package/dist/components/BbTooltip/types.js +8 -3
- package/dist/components/CommonField/CommonField.vue.d.ts +1 -1
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +1 -1
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +69 -69
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +53 -50
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +146 -143
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +7 -2
- package/dist/components/OptionsContainer/types.d.ts +14 -3
- package/dist/composables/useBbConfig.d.ts +1 -0
- package/dist/composables/useBbConfig.js +11 -7
- package/dist/composables/useBbFormContext.d.ts +4 -3
- package/dist/composables/useBbTabsContext.js +99 -85
- package/dist/composables/useChoiceIndicator.d.ts +58 -0
- package/dist/composables/useChoiceIndicator.js +197 -0
- package/dist/composables/useConfirm.d.ts +4 -4
- package/dist/composables/usePassthrough.d.ts +54 -1
- package/dist/composables/usePassthrough.js +100 -71
- package/dist/directives/bbTooltip.d.ts +12 -6
- package/dist/directives/createPopoverDirective.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/llms-full.txt +3467 -801
- package/dist/llms-medium.txt +71 -53
- package/dist/llms.txt +2 -1
- package/dist/passthrough-deduper.js +6 -3
- package/dist/project-dts.d.ts +24 -0
- package/dist/project-dts.js +43 -17
- package/dist/styles.css +2 -2
- package/dist/types/AlertVariant.d.ts +14 -0
- package/dist/types/AlertVariant.js +9 -0
- package/dist/types/BadgeVariant.d.ts +14 -0
- package/dist/types/BadgeVariant.js +9 -0
- package/dist/types/ButtonVariant.d.ts +16 -0
- package/dist/types/ButtonVariant.js +11 -0
- package/dist/types/CheckboxVariant.d.ts +38 -0
- package/dist/types/CheckboxVariant.js +4 -0
- package/dist/types/CommonProps.d.ts +4 -3
- package/dist/types/Config.d.ts +7 -0
- package/dist/types/ConfirmVariant.d.ts +12 -0
- package/dist/types/ConfirmVariant.js +4 -0
- package/dist/types/DropdownItemVariant.d.ts +12 -0
- package/dist/types/DropdownItemVariant.js +4 -0
- package/dist/types/IndicatorVariant.d.ts +15 -0
- package/dist/types/IndicatorVariant.js +10 -0
- package/dist/types/InputVariant.d.ts +13 -0
- package/dist/types/InputVariant.js +8 -0
- package/dist/types/RadioVariant.d.ts +38 -0
- package/dist/types/RadioVariant.js +4 -0
- package/dist/types/TabsVariant.d.ts +13 -0
- package/dist/types/TabsVariant.js +8 -0
- package/dist/types/ToastVariant.d.ts +15 -0
- package/dist/types/ToastVariant.js +10 -0
- package/dist/types/TooltipVariant.d.ts +12 -0
- package/dist/types/TooltipVariant.js +4 -0
- package/dist/types/passthrough.d.ts +83 -15
- package/dist/types/passthrough.js +2 -2
- package/dist/types/ptComponentMap.d.ts +35 -23
- package/dist/utilities/functions/extractDomContainer.d.ts +20 -1
- package/dist/utilities/functions/extractDomContainer.js +8 -3
- package/dist/utils/focusVisibility.d.ts +6 -0
- package/dist/utils/focusVisibility.js +4 -1
- package/dist/utils/passthroughDeduper.d.ts +14 -0
- package/dist/utils/versionCheck.js +1 -1
- package/dist/vite-plugin.d.ts +64 -7
- package/dist/vite.js +385 -259
- package/llms.txt +2 -1
- package/package.json +5 -4
- package/scripts/lib/adoption-checklist.json +312 -0
- package/scripts/lib/eslint-plugin.d.ts +13 -0
- package/scripts/lib/eslint-plugin.mjs +75 -11
- package/scripts/lib/helpers-add.mjs +26 -2
- package/scripts/lib/idiom-scan.mjs +65 -0
- package/scripts/lib/mcp-config.mjs +203 -9
- package/scripts/lib/migrate-fix.mjs +42 -1
- package/scripts/lib/project-variant-dts.mjs +18 -0
- package/scripts/lib/validate-bb-markup.mjs +99 -2
|
@@ -45,31 +45,49 @@ var O = 1e3, k = /* @__PURE__ */ new Map(), A = (e) => {
|
|
|
45
45
|
D.dedupes++;
|
|
46
46
|
let n = k.get(t);
|
|
47
47
|
return n === void 0 && (D.dedupeMisses++, n = _(t), k.size >= O && k.clear(), k.set(t, n)), n;
|
|
48
|
-
}, j = (e) => (e.class !== void 0 && (e.class = A(e.class)), e), M = /* @__PURE__ */ new Set(), N = (e) => Array.isArray(e) || !!e && typeof e == "object" && !("class" in e) && !("style" in e) && !("attrs" in e) && Object.keys(e).length > 0, P = (e) =>
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
}, j = (e) => (e.class !== void 0 && (e.class = A(e.class)), e), M = /* @__PURE__ */ new Set(), N = (e) => Array.isArray(e) || !!e && typeof e == "object" && !("class" in e) && !("style" in e) && !("attrs" in e) && Object.keys(e).length > 0, P = (e) => {
|
|
49
|
+
let t = h, n = t.variantNames?.[e], r = t[e], i = [...Array.isArray(n) ? n : [], ...Array.isArray(r) ? r : r && typeof r == "object" ? Object.keys(r) : []];
|
|
50
|
+
return [...new Set(i.filter((e) => typeof e == "string").map((e) => e.trim()).filter(Boolean))];
|
|
51
|
+
}, F = (e, t) => [.../* @__PURE__ */ new Set([...e, ...P(t)])], I = (e) => {
|
|
52
|
+
let t = {};
|
|
53
|
+
for (let n of [].concat(e.variant)) for (let r of P(n.option)) if (!n.names.includes(r)) for (let i of n.parts ?? e.parts) t[`pt:${i}:${r}`] = null;
|
|
54
|
+
return { props: t };
|
|
55
|
+
}, L = (e) => e.replace(/-/g, "").toLowerCase();
|
|
56
|
+
function R(n) {
|
|
57
|
+
let { component: f, props: p, parts: h, states: g, active: _, attrs: v, inherit: y, variant: b } = n, S = (b ? [].concat(b) : []).map((e) => {
|
|
58
|
+
let t;
|
|
59
|
+
return {
|
|
60
|
+
parts: e.parts ?? h,
|
|
61
|
+
current: e.current,
|
|
62
|
+
names: () => t ??= F(e.names, e.option)
|
|
63
|
+
};
|
|
64
|
+
}), w = (e, t) => {
|
|
65
|
+
let n = S.find((t) => t.parts.includes(e)), r = n?.current ? n.current() : t;
|
|
66
|
+
return r && !g.includes(r) ? `${e}:${r}` : void 0;
|
|
67
|
+
}, O = (e) => {
|
|
51
68
|
if (!y) return;
|
|
52
69
|
let t = e.indexOf(":"), n = t < 0 ? e : e.slice(0, t), r = y.parts[n];
|
|
53
70
|
return r && (t < 0 ? r : r + e.slice(t));
|
|
54
|
-
},
|
|
71
|
+
}, k = new Map((n.controlAttrs ?? []).map((e) => [L(e), e])), A = E && l() ? u(e, null) : null, P = () => {
|
|
55
72
|
let e = [];
|
|
56
|
-
for (let t of
|
|
73
|
+
for (let t of A?.value ?? []) {
|
|
57
74
|
let n = T[t]?.[f];
|
|
58
75
|
n && e.push([t, n]);
|
|
59
76
|
}
|
|
60
77
|
return e;
|
|
61
|
-
},
|
|
78
|
+
}, I = (e) => k.size > 0 ? k.get(L(e)) : void 0, R = (e) => I(e) !== void 0;
|
|
62
79
|
if (process.env.NODE_ENV !== "production") {
|
|
63
80
|
let e = t(), n = /* @__PURE__ */ new Set();
|
|
64
81
|
for (let e of h) {
|
|
65
82
|
n.add(e);
|
|
66
83
|
for (let t of g) n.add(`${e}:${t}`);
|
|
67
84
|
}
|
|
85
|
+
for (let e of S) for (let t of e.parts) for (let r of e.names()) n.add(`${t}:${r}`);
|
|
68
86
|
let r = (t, n) => {
|
|
69
87
|
let r = `${f}|${t}|${n}`;
|
|
70
88
|
if (M.has(r)) return;
|
|
71
89
|
M.add(r);
|
|
72
|
-
let i = o(n), a = i && !h.includes(i.part) ? `"${i.part}" is not a part of ${f}. Parts: ${h.join(", ")}.` : i && i.state && !g.includes(i.state) ? `"${i.state}" is not a state of ${f}. States: ${g.join(", ")}.` : "Use \"<part>\" or \"<part>:<state>\" with one state at most.";
|
|
90
|
+
let i = o(n), a = i && !h.includes(i.part) ? `"${i.part}" is not a part of ${f}. Parts: ${h.join(", ")}.` : i && i.state && !g.includes(i.state) ? `"${i.state}" is not a state of ${f}. States: ${g.join(", ")}.${S.map((e) => ` Variants (on ${e.parts.join(", ")}): ${e.names().join(", ")}.`).join("")}` : "Use \"<part>\" or \"<part>:<state>\" with one state at most.";
|
|
73
91
|
e.warn(`${f}: passthrough key "${n}" in ${t} matches nothing and is ignored. ${a}`);
|
|
74
92
|
}, i = (t, n) => {
|
|
75
93
|
let r = `${f}|${t}|${n}|shape`;
|
|
@@ -77,20 +95,20 @@ function F(n) {
|
|
|
77
95
|
}, a = (e, t) => {
|
|
78
96
|
for (let [a, o] of Object.entries(t)) n.has(a) ? N(o) && i(e, a) : r(e, a);
|
|
79
97
|
};
|
|
80
|
-
(p.pt !== void 0 || C[f] ||
|
|
98
|
+
(p.pt !== void 0 || C[f] || A && Object.values(T).some((e) => e[f])) && m(() => {
|
|
81
99
|
let e = p.pt;
|
|
82
100
|
e && typeof e == "object" && a("the `pt` object", e);
|
|
83
101
|
let t = C[f];
|
|
84
102
|
t && typeof t == "object" && a("the global `pt` map", t);
|
|
85
|
-
for (let [e, t] of
|
|
103
|
+
for (let [e, t] of P()) typeof t == "object" && a(`the \`ptScopes.${e}\` map`, t);
|
|
86
104
|
});
|
|
87
105
|
for (let e of h) for (let t of [e, ...g.map((t) => `${e}:${t}`)]) {
|
|
88
106
|
let e = p[s(`pt:${t}`)];
|
|
89
107
|
N(e) && i(`the \`pt:${t}\` attribute`, t);
|
|
90
108
|
}
|
|
91
109
|
}
|
|
92
|
-
let
|
|
93
|
-
let r = p.pt, i = 0, o =
|
|
110
|
+
let z = (e, t, n = !1) => {
|
|
111
|
+
let r = p.pt, i = 0, o = O(e), c = (n) => {
|
|
94
112
|
if (!n) return;
|
|
95
113
|
if (o) {
|
|
96
114
|
let e = a(n[y.component]?.[o]);
|
|
@@ -99,7 +117,7 @@ function F(n) {
|
|
|
99
117
|
let r = a(n[f]?.[e]);
|
|
100
118
|
r && (t.push(r), i++);
|
|
101
119
|
};
|
|
102
|
-
if (n || c(C),
|
|
120
|
+
if (n || c(C), A && !n) for (let e of A.value) c(T[e]);
|
|
103
121
|
if (e === "root" && v && !n) {
|
|
104
122
|
let e = v.class;
|
|
105
123
|
e != null && e !== "" && t.push({ class: e });
|
|
@@ -109,57 +127,60 @@ function F(n) {
|
|
|
109
127
|
e && (t.push(e), i++);
|
|
110
128
|
}
|
|
111
129
|
return i;
|
|
112
|
-
},
|
|
130
|
+
}, B = (e, t, n) => {
|
|
113
131
|
D.resolves++;
|
|
114
|
-
let
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
132
|
+
let r = [], i = z(e, r), a = w(e, n);
|
|
133
|
+
a && (i += z(a, r));
|
|
134
|
+
for (let n of g) t(n) && (i += z(`${e}:${n}`, r));
|
|
135
|
+
return r.length === 0 ? x : i === 0 ? r[0] : r.length === 1 ? j(r[0]) : (D.merges++, j(d(...r)));
|
|
136
|
+
}, V = (e) => _[e]?.() ?? !1, H = () => S.find((e) => e.current)?.current?.(), U = {};
|
|
118
137
|
for (let e of h) {
|
|
119
138
|
let t;
|
|
120
|
-
Object.defineProperty(
|
|
121
|
-
get: () => (t ??= c(() =>
|
|
139
|
+
Object.defineProperty(U, e, {
|
|
140
|
+
get: () => (t ??= c(() => B(e, V))).value,
|
|
122
141
|
enumerable: !0
|
|
123
142
|
});
|
|
124
143
|
}
|
|
125
|
-
let
|
|
144
|
+
let W = (e) => {
|
|
126
145
|
let t = p.pt, n = i(t?.[e]), r = i(p[s(`pt:${e}`)]);
|
|
127
146
|
return n.length ? n.concat(r) : r;
|
|
128
|
-
},
|
|
129
|
-
let
|
|
147
|
+
}, G = /* @__PURE__ */ new Map(), K = (e, t, r, i) => {
|
|
148
|
+
let o = e;
|
|
130
149
|
for (let e of g) {
|
|
131
150
|
let n = t[e];
|
|
132
|
-
n !== void 0 && (
|
|
151
|
+
n !== void 0 && (o += `|${e}=${+!!n}`);
|
|
133
152
|
}
|
|
134
|
-
|
|
135
|
-
|
|
153
|
+
i !== void 0 && (o += `|v=${i}`);
|
|
154
|
+
let s = G.get(o);
|
|
155
|
+
if (!s) {
|
|
136
156
|
let n = { ...t };
|
|
137
|
-
|
|
157
|
+
s = c(() => B(e, (e) => n[e] ?? V(e), i)), G.set(o, s);
|
|
138
158
|
}
|
|
139
|
-
let
|
|
140
|
-
if (
|
|
141
|
-
let
|
|
142
|
-
if (
|
|
143
|
-
let
|
|
144
|
-
for (let e of g)
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
t
|
|
159
|
+
let l = s.value;
|
|
160
|
+
if (r === void 0) return l;
|
|
161
|
+
let u = W(e);
|
|
162
|
+
if (u.length === 0) return l;
|
|
163
|
+
let f = { item: r };
|
|
164
|
+
for (let e of g) f[e] = !!(t[e] ?? V(e));
|
|
165
|
+
S.length && (f.variant = i ?? H()), n.facts && Object.assign(f, n.facts(r));
|
|
166
|
+
let p = l;
|
|
167
|
+
for (let e of u) {
|
|
168
|
+
let t = a(e(f));
|
|
169
|
+
t && (D.merges++, p = j(p === x ? t : d(p, t)));
|
|
149
170
|
}
|
|
150
|
-
return
|
|
151
|
-
},
|
|
152
|
-
let n = g.filter((e) => !(t ?? g).includes(e));
|
|
153
|
-
return !n.length || !e.length ? e : e.map((e) => (t) => {
|
|
154
|
-
let
|
|
155
|
-
for (let e of n)
|
|
156
|
-
return e({
|
|
157
|
-
...
|
|
171
|
+
return p;
|
|
172
|
+
}, q = (e, t) => {
|
|
173
|
+
let n = g.filter((e) => !(t ?? g).includes(e)), r = S.some((e) => e.current);
|
|
174
|
+
return !n.length && !r || !e.length ? e : e.map((e) => (t) => {
|
|
175
|
+
let i = {};
|
|
176
|
+
for (let e of n) i[e] = V(e);
|
|
177
|
+
return r && (i.variant = H()), e({
|
|
178
|
+
...i,
|
|
158
179
|
...t
|
|
159
180
|
});
|
|
160
181
|
});
|
|
161
|
-
},
|
|
162
|
-
let s = Array.isArray(e) ? e.map((e) => [e, e]) : Object.entries(e), l = s.map(([e, t]) => `${e}>${t}`).join(",") + "#" + (t ?? g).join(",") + (n ? "+extra" : "") + (o ? "+instance" : ""), u =
|
|
182
|
+
}, J = /* @__PURE__ */ new Map(), Y = (e, t, n, o = !1) => {
|
|
183
|
+
let s = Array.isArray(e) ? e.map((e) => [e, e]) : Object.entries(e), l = s.map(([e, t]) => `${e}>${t}`).join(",") + "#" + (t ?? g).join(",") + (n ? "+extra" : "") + (o ? "+instance" : ""), u = J.get(l);
|
|
163
184
|
return u || (u = c(() => {
|
|
164
185
|
let e = {}, c = (t, n, i = []) => {
|
|
165
186
|
let a = e[t], o = { attrs: d(...a?.attrs ? [a.attrs] : [], ...n) }, s = [...a?.[r] ?? [], ...i];
|
|
@@ -167,13 +188,21 @@ function F(n) {
|
|
|
167
188
|
};
|
|
168
189
|
for (let [e, n] of s) {
|
|
169
190
|
let r = [];
|
|
170
|
-
|
|
191
|
+
z(e, r, o);
|
|
192
|
+
let i = S.find((t) => t.parts.includes(e));
|
|
193
|
+
if (i) {
|
|
194
|
+
let a = i.current?.();
|
|
195
|
+
for (let s of i.names()) if (!g.includes(s)) if ((t ?? []).includes(s)) {
|
|
196
|
+
let t = [];
|
|
197
|
+
z(`${e}:${s}`, t, o), t.length && c(`${n}:${s}`, t);
|
|
198
|
+
} else s === a && z(`${e}:${s}`, r, o);
|
|
199
|
+
}
|
|
171
200
|
for (let i of g) if ((t ?? g).includes(i)) {
|
|
172
201
|
let t = [];
|
|
173
|
-
|
|
174
|
-
} else
|
|
175
|
-
let
|
|
176
|
-
(r.length ||
|
|
202
|
+
z(`${e}:${i}`, t, o), t.length && c(`${n}:${i}`, t);
|
|
203
|
+
} else V(i) && z(`${e}:${i}`, r, o);
|
|
204
|
+
let a = q(W(e), t);
|
|
205
|
+
(r.length || a.length) && c(n, r, a);
|
|
177
206
|
}
|
|
178
207
|
let l = n?.();
|
|
179
208
|
if (l && typeof l == "object") for (let [e, t] of Object.entries(l)) {
|
|
@@ -181,48 +210,48 @@ function F(n) {
|
|
|
181
210
|
(n || r.length) && c(e, n ? [n] : [], r);
|
|
182
211
|
}
|
|
183
212
|
return e;
|
|
184
|
-
}),
|
|
213
|
+
}), J.set(l, u)), u.value;
|
|
185
214
|
};
|
|
186
|
-
return Object.defineProperty(
|
|
215
|
+
return Object.defineProperty(U, "rootAttrs", {
|
|
187
216
|
get: () => {
|
|
188
|
-
let e =
|
|
217
|
+
let e = U.root ?? x;
|
|
189
218
|
if (!v) return e;
|
|
190
219
|
let t;
|
|
191
|
-
for (let e in v) e !== "class" && !
|
|
220
|
+
for (let e in v) e !== "class" && !R(e) && ((t ??= {})[e] = v[e]);
|
|
192
221
|
return t ? d(t, e) : e;
|
|
193
222
|
},
|
|
194
223
|
enumerable: !1
|
|
195
|
-
}), Object.defineProperty(
|
|
224
|
+
}), Object.defineProperty(U, "forwardAttrs", {
|
|
196
225
|
get: () => {
|
|
197
226
|
if (!v) return x;
|
|
198
227
|
let e;
|
|
199
|
-
for (let t in v) t !== "class" && !
|
|
228
|
+
for (let t in v) t !== "class" && !R(t) && ((e ??= {})[t] = v[t]);
|
|
200
229
|
return e ?? x;
|
|
201
230
|
},
|
|
202
231
|
enumerable: !1
|
|
203
|
-
}), Object.defineProperty(
|
|
232
|
+
}), Object.defineProperty(U, "controlAttrs", {
|
|
204
233
|
get: () => {
|
|
205
|
-
if (!v || !
|
|
234
|
+
if (!v || !k.size) return x;
|
|
206
235
|
let e;
|
|
207
236
|
for (let t in v) {
|
|
208
|
-
let n =
|
|
237
|
+
let n = I(t);
|
|
209
238
|
n !== void 0 && ((e ??= {})[n] = v[t]);
|
|
210
239
|
}
|
|
211
240
|
return e ?? x;
|
|
212
241
|
},
|
|
213
242
|
enumerable: !1
|
|
214
|
-
}), Object.defineProperty(
|
|
215
|
-
value:
|
|
243
|
+
}), Object.defineProperty(U, "part", {
|
|
244
|
+
value: K,
|
|
216
245
|
enumerable: !1
|
|
217
|
-
}), Object.defineProperty(
|
|
218
|
-
value:
|
|
246
|
+
}), Object.defineProperty(U, "forward", {
|
|
247
|
+
value: Y,
|
|
219
248
|
enumerable: !1
|
|
220
|
-
}), Object.defineProperty(
|
|
221
|
-
value: (e, t) =>
|
|
249
|
+
}), Object.defineProperty(U, "forwardInstance", {
|
|
250
|
+
value: (e, t) => Y(e, t, void 0, !0),
|
|
222
251
|
enumerable: !1
|
|
223
|
-
}),
|
|
252
|
+
}), U;
|
|
224
253
|
}
|
|
225
|
-
var
|
|
254
|
+
var z = (e, t) => {
|
|
226
255
|
let n = e, r = {};
|
|
227
256
|
for (let e of /* @__PURE__ */ new Set([...Object.keys(n), ...Object.keys(t)])) {
|
|
228
257
|
let i = t[e] ?? e;
|
|
@@ -232,7 +261,7 @@ var I = (e, t) => {
|
|
|
232
261
|
});
|
|
233
262
|
}
|
|
234
263
|
return r;
|
|
235
|
-
},
|
|
264
|
+
}, B = (e, t = () => n(e.modelValue)) => {
|
|
236
265
|
let r = (e) => Array.isArray(e) ? e.length > 0 : !!e, i = () => !!e.hasErrors || r(e.errors);
|
|
237
266
|
return {
|
|
238
267
|
errors: i,
|
|
@@ -242,6 +271,6 @@ var I = (e, t) => {
|
|
|
242
271
|
readonly: () => !!e.readonly,
|
|
243
272
|
hasValue: t
|
|
244
273
|
};
|
|
245
|
-
},
|
|
274
|
+
}, V = (e, t) => Object.fromEntries(t.map((t) => [t, e[t]]));
|
|
246
275
|
//#endregion
|
|
247
|
-
export { b as SEGMENTED_CONTROL_NATIVE_ATTRS, y as SELECT_CONTROL_NATIVE_ATTRS, v as TEXT_CONTROL_NATIVE_ATTRS, D as __ptStats,
|
|
276
|
+
export { b as SEGMENTED_CONTROL_NATIVE_ATTRS, y as SELECT_CONTROL_NATIVE_ATTRS, v as TEXT_CONTROL_NATIVE_ATTRS, D as __ptStats, z as aliasParts, B as formControlPtActive, w as getGlobalPt, V as pickActive, F as registeredVariantNames, R as usePassthrough, I as variantPt };
|
|
@@ -4,21 +4,27 @@ import { BbTooltipProps } from '../components/BbTooltip/types';
|
|
|
4
4
|
* Value accepted by the `v-bb-tooltip` directive.
|
|
5
5
|
*
|
|
6
6
|
* - a string/number is used directly as the tooltip text
|
|
7
|
-
* - an object spreads every `BbTooltip` prop plus a required
|
|
7
|
+
* - an object spreads every `BbTooltip` prop but `activator` plus a required
|
|
8
|
+
* `text`: the activator is always the element the directive sits on
|
|
8
9
|
*/
|
|
9
|
-
export type BbTooltipDirectiveValue = string | number |
|
|
10
|
+
export type BbTooltipDirectiveValue = string | number | TooltipOptions;
|
|
11
|
+
type TooltipOptions = Omit<Partial<BbTooltipProps>, 'activator'> & {
|
|
10
12
|
text: string;
|
|
11
|
-
|
|
13
|
+
activator?: never;
|
|
14
|
+
};
|
|
12
15
|
/**
|
|
13
16
|
* `v-bb-tooltip` — attach a {@link BbTooltip} to any element without wrapping it.
|
|
14
17
|
*
|
|
15
18
|
* @example
|
|
16
19
|
* ```html
|
|
17
|
-
* <
|
|
18
|
-
* <
|
|
19
|
-
* <
|
|
20
|
+
* <BbButton variant="ghost" icon="lucide:info" v-bb-tooltip="'Prices include VAT'">About prices</BbButton>
|
|
21
|
+
* <BbButton variant="ghost" icon="lucide:info" v-bb-tooltip:bottom="'Prices include VAT'">About prices</BbButton>
|
|
22
|
+
* <BbButton variant="ghost" icon="lucide:info" v-bb-tooltip="{ text: 'Prices include VAT', placement: 'right', delay: 300 }">About prices</BbButton>
|
|
20
23
|
* ```
|
|
21
24
|
*
|
|
25
|
+
* Host it on something keyboard focus reaches: on a bare icon or `<span>` the
|
|
26
|
+
* tip is pointer-only (Q76.15).
|
|
27
|
+
*
|
|
22
28
|
* Not dormant, on purpose (unlike `v-bb-dropdown`, see `DormantContract`;
|
|
23
29
|
* owner 2026-10-06, Q63): the tooltip wires `aria-describedby` to its hidden
|
|
24
30
|
* description node at mount, so a screen reader announces the text on the
|
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ export type { ToastVariantRegistry, ToastVariantType, } from './types/ToastVaria
|
|
|
14
14
|
export type { IndicatorVariantRegistry, IndicatorVariantType, } from './types/IndicatorVariant';
|
|
15
15
|
export type { InputVariantRegistry, InputVariantType, } from './types/InputVariant';
|
|
16
16
|
export type { TabsVariantRegistry, TabsVariantType } from './types/TabsVariant';
|
|
17
|
+
export type { RadioVariantRegistry, RadioVariantType, } from './types/RadioVariant';
|
|
18
|
+
export type { CheckboxVariantRegistry, CheckboxVariantType, } from './types/CheckboxVariant';
|
|
17
19
|
export type { FieldLayout, ListLayout } from './types/FieldLayout';
|
|
18
20
|
/**
|
|
19
21
|
* Types for a standalone `item-props` mapper — the ADDITIONAL row fields (never
|
|
@@ -194,7 +196,7 @@ export type { BbPtScopeName, BbPtScopeProps, BbPtScopeSlots, } from './component
|
|
|
194
196
|
export type { BbRadioGroupEvents, BbRadioGroupProps, } from './components/BbRadioGroup/types';
|
|
195
197
|
export type { BbRadioProps, BbRadioEvents } from './components/BbRadio/types';
|
|
196
198
|
export type { BbRatingProps, BbRatingEvents, } from './components/BbRating/types';
|
|
197
|
-
export type { BbSelectProps, BbSelectEvents, BbSelectKnownItem, BbSelectSlots, } from './components/BbSelect/types';
|
|
199
|
+
export type { BbSelectProps, BbSelectEvents, BbSelectKnownItem, BbSelectSlotRow, BbSelectSlots, } from './components/BbSelect/types';
|
|
198
200
|
export type { BbSliderProps, BbSliderEvents, } from './components/BbSlider/types';
|
|
199
201
|
export type { BbSelectPopoverProps, BbSelectPopoverEvents, BbSelectPopoverSlots, BbSelectResolvedOption, } from './components/BbSelectPopover/types';
|
|
200
202
|
export type { BbSmoothHeightProps, BbSmoothHeightSlots, } from './components/BbSmoothHeight/types';
|