bitboss-ui 3.0.0-beta.65 → 3.0.0-beta.67
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 +79 -16
- package/bin/bitboss-ui-mcp.mjs +48 -17
- package/bin/bitboss-ui.mjs +73 -12
- package/dist/_virtual/_plugin-vue_export-helper.js +1 -2
- package/dist/ai/BbAccordion.md +4 -3
- package/dist/ai/BbAlert.md +2 -2
- package/dist/ai/BbAvatar.md +1 -1
- package/dist/ai/BbBadge.md +2 -1
- package/dist/ai/BbBadgeButton.md +6 -5
- package/dist/ai/BbBaseButton.md +26 -21
- package/dist/ai/BbBaseCheckboxIcon.md +1 -0
- package/dist/ai/BbBaseRadioIcon.md +1 -0
- package/dist/ai/BbBaseSwitchIcon.md +1 -0
- package/dist/ai/BbBreadcrumbs.md +9 -1
- package/dist/ai/BbButton.md +74 -22
- package/dist/ai/BbCalendar.md +156 -23
- package/dist/ai/BbCheckbox.md +5 -1
- package/dist/ai/BbCheckboxGroup.md +45 -9
- package/dist/ai/BbColorInput.md +5 -3
- package/dist/ai/BbColorPalette.md +7 -3
- package/dist/ai/BbConfirm.md +38 -81
- package/dist/ai/BbConfirmPortal.md +1 -1
- package/dist/ai/BbDatePicker.md +70 -22
- package/dist/ai/BbDatePickerInput.md +121 -27
- package/dist/ai/BbDialog.md +69 -61
- package/dist/ai/BbDropdown.md +30 -29
- package/dist/ai/BbDropdownButton.md +9 -13
- package/dist/ai/BbDropzone.md +2 -3
- package/dist/ai/BbForm.md +70 -46
- package/dist/ai/BbHost.md +29 -41
- package/dist/ai/BbIcon.md +3 -0
- package/dist/ai/BbNumberInput.md +17 -13
- package/dist/ai/BbOffCanvas.md +21 -14
- package/dist/ai/BbPagination.md +18 -18
- package/dist/ai/BbPopover.md +8 -3
- package/dist/ai/BbPtScope.md +5 -5
- package/dist/ai/BbRadio.md +5 -1
- package/dist/ai/BbRadioGroup.md +45 -8
- package/dist/ai/BbRating.md +5 -4
- package/dist/ai/BbSelect.md +150 -24
- package/dist/ai/BbSelectPopover.md +19 -16
- package/dist/ai/BbSlider.md +6 -4
- package/dist/ai/BbSwitch.md +5 -1
- package/dist/ai/BbTable.md +69 -44
- package/dist/ai/BbTabs.md +128 -64
- package/dist/ai/BbTabsList.md +5 -3
- package/dist/ai/BbTabsPanels.md +3 -1
- package/dist/ai/BbTabsRoot.md +4 -4
- package/dist/ai/BbTag.md +3 -3
- package/dist/ai/BbTextInput.md +23 -9
- package/dist/ai/BbTextarea.md +3 -3
- package/dist/ai/BbTimePicker.md +8 -6
- package/dist/ai/BbTimePickerInput.md +9 -12
- package/dist/ai/BbToast.md +33 -87
- package/dist/ai/BbToastPortal.md +1 -1
- package/dist/ai/BbTooltip.md +2 -2
- package/dist/ai/BbTree.md +2 -2
- package/dist/ai/ChipsBox.md +1 -1
- package/dist/ai/CommonField.md +2 -2
- package/dist/ai/CommonFieldInput.md +2 -1
- package/dist/ai/FlatListBox.md +2 -2
- package/dist/ai/GroupedListBox.md +2 -2
- package/dist/ai/ListBox.md +2 -2
- package/dist/ai/OptionsContainer.md +2 -2
- package/dist/ai/changelog.json +595 -525
- package/dist/ai/components.json +92 -88
- package/dist/ai/composables/useBbConfig.md +2 -2
- package/dist/ai/composables/{useBbDialogContext.md → useBbDialog.md} +18 -18
- package/dist/ai/composables/{useBbDropdownContext.md → useBbDropdown.md} +31 -31
- package/dist/ai/composables/{useBbFormContext.md → useBbForm.md} +11 -11
- package/dist/ai/composables/useBbFormField.md +2 -2
- package/dist/ai/composables/{useBbOffCanvasContext.md → useBbOffCanvas.md} +13 -13
- package/dist/ai/composables/{useBbTableContext.md → useBbTable.md} +20 -20
- package/dist/ai/composables/{useBbTabsContext.md → useBbTabs.md} +12 -12
- package/dist/ai/composables/useConfirm.md +42 -54
- package/dist/ai/composables/useToast.md +9 -26
- package/dist/ai/guides/agent-contract.md +57 -43
- package/dist/ai/guides/ai-router.md +1 -1
- package/dist/ai/guides/app-layout.md +32 -23
- package/dist/ai/guides/coherence-playbook.md +4 -2
- package/dist/ai/guides/component-picker.md +37 -33
- package/dist/ai/guides/design-language.md +51 -14
- package/dist/ai/guides/design-tokens.md +99 -44
- package/dist/ai/guides/eslint-rules.md +8 -4
- package/dist/ai/guides/fetch-items-playbook.md +4 -3
- package/dist/ai/guides/floating-bottom-panel.md +1 -1
- package/dist/ai/guides/icons-policy.md +1 -1
- package/dist/ai/guides/inertia-helpers.md +661 -210
- package/dist/ai/guides/inline-edit-playbook.md +1 -1
- package/dist/ai/guides/installation-and-plugin-setup.md +22 -19
- package/dist/ai/guides/migration/adoption-checklist.md +44 -2
- package/dist/ai/guides/migration/components/bb-dialog.md +13 -13
- package/dist/ai/guides/migration/components/bb-dropdown.md +16 -16
- package/dist/ai/guides/migration/components/bb-host.md +15 -14
- package/dist/ai/guides/migration/components/bb-offcanvas.md +10 -10
- package/dist/ai/guides/migration/components/bb-pagination.md +9 -9
- package/dist/ai/guides/migration/components/bb-select.md +2 -3
- package/dist/ai/guides/migration/components/bb-table.md +15 -15
- package/dist/ai/guides/migration/components/bb-tabs.md +1 -1
- package/dist/ai/guides/migration/from-async-validator.md +9 -9
- package/dist/ai/guides/migration/v2-to-v3.md +206 -13
- package/dist/ai/guides/migration/v3-beta-tooling.md +3 -3
- package/dist/ai/guides/options-items-playbook.md +2 -2
- package/dist/ai/guides/page-shell.md +15 -3
- package/dist/ai/guides/passthrough.md +60 -15
- package/dist/ai/guides/preset-components.md +102 -43
- package/dist/ai/guides/typescript-generic-components.md +21 -5
- package/dist/ai/guides/validated-forms.md +23 -14
- package/dist/ai/guides/validation-libraries.md +11 -13
- package/dist/ai/guides/validation-providers.md +3 -3
- package/dist/ai/helpers/definePreset.json +11 -4
- package/dist/ai/helpers/definePreset.ts +98 -41
- package/dist/ai/helpers/inertia/manifest.json +235 -77
- package/dist/ai/helpers/inertia/useConfirmOnRouteLeave.ts +24 -12
- package/dist/ai/helpers/inertia/usePromiseForm.ts +38 -151
- package/dist/ai/helpers/inertia/usePromiseRouter.ts +295 -0
- package/dist/ai/helpers/inertia/useQueryObject.ts +36 -5
- package/dist/ai/helpers/inertia/useRouteQuery.ts +28 -9
- package/dist/ai/helpers/inertia/utils.ts +53 -10
- package/dist/ai/index.md +15 -15
- package/dist/ai/manifest/common.json +5 -2
- package/dist/ai/manifest/components/BbAccordion.tree.json +3 -1
- package/dist/ai/manifest/components/BbAlert.json +1 -1
- package/dist/ai/manifest/components/BbAvatar.tree.json +1 -1
- package/dist/ai/manifest/components/BbBadge.json +2 -2
- package/dist/ai/manifest/components/BbBadge.tree.json +4 -2
- package/dist/ai/manifest/components/BbBadgeButton.json +11 -6
- package/dist/ai/manifest/components/BbBadgeButton.tree.json +2 -1
- package/dist/ai/manifest/components/BbBaseButton.json +11 -6
- package/dist/ai/manifest/components/BbBaseCheckboxIcon.json +1 -1
- package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +3 -1
- package/dist/ai/manifest/components/BbBaseRadioIcon.json +1 -1
- package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +3 -1
- package/dist/ai/manifest/components/BbBaseSwitchIcon.json +1 -1
- package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +3 -1
- package/dist/ai/manifest/components/BbBreadcrumbs.json +3 -3
- package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +7 -3
- package/dist/ai/manifest/components/BbButton.json +10 -5
- package/dist/ai/manifest/components/BbButton.tree.json +10 -3
- package/dist/ai/manifest/components/BbCalendar.json +29 -26
- package/dist/ai/manifest/components/BbCalendar.tree.json +25 -2
- package/dist/ai/manifest/components/BbCheckbox.json +2 -2
- package/dist/ai/manifest/components/BbCheckbox.tree.json +5 -2
- package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
- package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +62 -3
- package/dist/ai/manifest/components/BbCollapsible.json +4 -1
- package/dist/ai/manifest/components/BbColorInput.json +18 -17
- package/dist/ai/manifest/components/BbColorInput.tree.json +5 -3
- package/dist/ai/manifest/components/BbColorPalette.json +4 -1
- package/dist/ai/manifest/components/BbColorPalette.tree.json +7 -2
- package/dist/ai/manifest/components/BbConfirm.json +2 -1
- package/dist/ai/manifest/components/BbConfirm.tree.json +2 -2
- package/dist/ai/manifest/components/BbDatePicker.json +33 -27
- package/dist/ai/manifest/components/BbDatePicker.tree.json +3 -4
- package/dist/ai/manifest/components/BbDatePickerInput.json +38 -35
- package/dist/ai/manifest/components/BbDatePickerInput.tree.json +7 -4
- package/dist/ai/manifest/components/BbDialog.json +4 -4
- package/dist/ai/manifest/components/BbDialog.tree.json +6 -3
- package/dist/ai/manifest/components/BbDropdown.json +11 -11
- package/dist/ai/manifest/components/BbDropdown.tree.json +3 -3
- package/dist/ai/manifest/components/BbDropdownButton.json +13 -8
- package/dist/ai/manifest/components/BbDropdownButton.tree.json +2 -3
- package/dist/ai/manifest/components/BbDropzone.json +5 -2
- package/dist/ai/manifest/components/BbForm.json +2 -2
- package/dist/ai/manifest/components/BbHost.json +1 -1
- package/dist/ai/manifest/components/BbHost.tree.json +1 -1
- package/dist/ai/manifest/components/BbHoverCard.json +1 -1
- package/dist/ai/manifest/components/BbNumberInput.json +8 -8
- package/dist/ai/manifest/components/BbNumberInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbOffCanvas.json +4 -4
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +9 -4
- package/dist/ai/manifest/components/BbPagination.json +5 -5
- package/dist/ai/manifest/components/BbPagination.tree.json +3 -2
- package/dist/ai/manifest/components/BbPopover.json +1 -1
- package/dist/ai/manifest/components/BbPopover.tree.json +1 -1
- package/dist/ai/manifest/components/BbProgress.json +4 -1
- package/dist/ai/manifest/components/BbRadio.json +2 -2
- package/dist/ai/manifest/components/BbRadio.tree.json +5 -2
- package/dist/ai/manifest/components/BbRadioGroup.json +6 -6
- package/dist/ai/manifest/components/BbRadioGroup.tree.json +62 -3
- package/dist/ai/manifest/components/BbRating.json +7 -7
- package/dist/ai/manifest/components/BbRating.tree.json +5 -3
- package/dist/ai/manifest/components/BbSelect.json +25 -25
- package/dist/ai/manifest/components/BbSelect.tree.json +3 -3
- package/dist/ai/manifest/components/BbSelectPopover.json +16 -12
- package/dist/ai/manifest/components/BbSelectPopover.tree.json +3 -2
- package/dist/ai/manifest/components/BbSlider.json +14 -14
- package/dist/ai/manifest/components/BbSlider.tree.json +3 -0
- package/dist/ai/manifest/components/BbSmoothHeight.json +4 -1
- package/dist/ai/manifest/components/BbSwitch.json +2 -2
- package/dist/ai/manifest/components/BbSwitch.tree.json +5 -2
- package/dist/ai/manifest/components/BbSwitchGroup.json +1 -1
- package/dist/ai/manifest/components/BbSwitchGroup.tree.json +1 -1
- package/dist/ai/manifest/components/BbTable.json +28 -24
- package/dist/ai/manifest/components/BbTable.tree.json +6 -1
- package/dist/ai/manifest/components/BbTabs.json +13 -16
- package/dist/ai/manifest/components/BbTabs.tree.json +4 -1
- package/dist/ai/manifest/components/BbTabsList.json +6 -9
- package/dist/ai/manifest/components/BbTabsList.tree.json +4 -1
- package/dist/ai/manifest/components/BbTabsPanels.json +3 -3
- package/dist/ai/manifest/components/BbTabsPanels.tree.json +4 -1
- package/dist/ai/manifest/components/BbTabsRoot.json +5 -5
- package/dist/ai/manifest/components/BbTag.json +2 -2
- package/dist/ai/manifest/components/BbTag.tree.json +2 -2
- package/dist/ai/manifest/components/BbTextInput.json +4 -4
- package/dist/ai/manifest/components/BbTextInput.tree.json +3 -3
- package/dist/ai/manifest/components/BbTextarea.json +3 -3
- package/dist/ai/manifest/components/BbTextarea.tree.json +1 -1
- package/dist/ai/manifest/components/BbTimePicker.json +10 -7
- package/dist/ai/manifest/components/BbTimePicker.tree.json +5 -3
- package/dist/ai/manifest/components/BbTimePickerInput.json +19 -19
- package/dist/ai/manifest/components/BbTimePickerInput.tree.json +5 -3
- package/dist/ai/manifest/components/BbToast.json +1 -1
- package/dist/ai/manifest/components/BbToast.tree.json +3 -1
- package/dist/ai/manifest/components/BbTooltip.json +3 -0
- package/dist/ai/manifest/components/BbTooltip.tree.json +2 -2
- package/dist/ai/manifest/components/BbTree.json +3 -3
- package/dist/ai/manifest/components/BbTree.tree.json +1 -1
- package/dist/ai/manifest/components/ChipsBox.tree.json +1 -1
- package/dist/ai/manifest/components/CommonField.json +2 -2
- package/dist/ai/manifest/components/CommonField.tree.json +1 -0
- package/dist/ai/manifest/components/CommonFieldInput.tree.json +4 -2
- package/dist/ai/manifest/components/CommonPopover.tree.json +3 -0
- package/dist/ai/manifest/components/CommonTimeSelector.tree.json +1 -0
- package/dist/ai/manifest/components/FlatListBox.json +2 -2
- package/dist/ai/manifest/components/GroupedListBox.json +2 -2
- package/dist/ai/manifest/components/ListBox.json +2 -2
- package/dist/ai/manifest/components/OptionsContainer.json +3 -3
- package/dist/ai/manifest/index.json +3 -3
- package/dist/ai/manifest/meta.json +31 -16
- package/dist/ai/manifest/types.advanced.json +17 -13
- package/dist/ai/manifest/types.api.json +2 -2
- package/dist/ai/recipes/inertia/approvals-inbox.md +86 -115
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +112 -120
- package/dist/ai/recipes/inertia/layout-scaffold.md +15 -4
- package/dist/ai/recipes/inertia/onboarding.md +76 -58
- package/dist/ai/recipes/inertia/ownership-atlas.md +74 -105
- package/dist/ai/recipes/inertia/record-form.md +18 -7
- package/dist/ai/recipes/inertia/records-workspace.md +106 -127
- package/dist/ai/recipes/inertia/settings-workspace.md +131 -73
- package/dist/ai/recipes/inertia/upload-center.md +97 -121
- package/dist/ai/recipes/inertia/wizard-form.md +25 -15
- package/dist/ai/recipes/nuxt/approvals-inbox.md +67 -48
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +73 -58
- package/dist/ai/recipes/nuxt/layout-scaffold.md +15 -4
- package/dist/ai/recipes/nuxt/onboarding.md +27 -10
- package/dist/ai/recipes/nuxt/ownership-atlas.md +40 -22
- package/dist/ai/recipes/nuxt/record-form.md +20 -7
- package/dist/ai/recipes/nuxt/records-workspace.md +120 -96
- package/dist/ai/recipes/nuxt/settings-workspace.md +36 -23
- package/dist/ai/recipes/nuxt/upload-center.md +63 -37
- package/dist/ai/recipes/nuxt/wizard-form.md +28 -16
- package/dist/ai/recipes/vue/approvals-inbox.md +74 -46
- package/dist/ai/recipes/vue/inline-edit-workspace.md +83 -56
- package/dist/ai/recipes/vue/layout-scaffold.md +15 -4
- package/dist/ai/recipes/vue/onboarding.md +27 -10
- package/dist/ai/recipes/vue/ownership-atlas.md +40 -22
- package/dist/ai/recipes/vue/record-form.md +20 -7
- package/dist/ai/recipes/vue/records-workspace.md +132 -95
- package/dist/ai/recipes/vue/settings-workspace.md +36 -23
- package/dist/ai/recipes/vue/upload-center.md +73 -37
- package/dist/ai/recipes/vue/wizard-form.md +28 -16
- package/dist/ai/source/BbAccordion.md +36 -6
- package/dist/ai/source/BbAlert.md +11 -5
- package/dist/ai/source/BbAsterisk.md +4 -1
- package/dist/ai/source/BbAvatar.md +12 -6
- package/dist/ai/source/BbBadge.md +72 -21
- package/dist/ai/source/BbBadgeButton.md +71 -18
- package/dist/ai/source/BbBaseButton.md +321 -276
- package/dist/ai/source/BbBaseCheckboxIcon.md +92 -64
- package/dist/ai/source/BbBaseRadioIcon.md +81 -54
- package/dist/ai/source/BbBaseSwitchIcon.md +87 -59
- package/dist/ai/source/BbBreadcrumbs.md +94 -56
- package/dist/ai/source/BbButton.md +180 -31
- package/dist/ai/source/BbCalendar.md +1069 -408
- package/dist/ai/source/BbCheckbox.md +233 -178
- package/dist/ai/source/BbCheckboxGroup.md +36 -21
- package/dist/ai/source/BbCollapsible.md +15 -6
- package/dist/ai/source/BbColorInput.md +142 -38
- package/dist/ai/source/BbColorPalette.md +242 -144
- package/dist/ai/source/BbConfirm.md +25 -7
- package/dist/ai/source/BbConfirmPortal.md +17 -7
- package/dist/ai/source/BbDatePicker.md +302 -178
- package/dist/ai/source/BbDatePickerInput.md +394 -65
- package/dist/ai/source/BbDialog.md +204 -174
- package/dist/ai/source/BbDropdown.md +92 -42
- package/dist/ai/source/BbDropdownButton.md +79 -30
- package/dist/ai/source/BbDropdownGroup.md +53 -15
- package/dist/ai/source/BbDropzone.md +138 -93
- package/dist/ai/source/BbForm.md +18 -7
- package/dist/ai/source/BbHost.md +25 -12
- package/dist/ai/source/BbHoverCard.md +20 -9
- package/dist/ai/source/BbIcon.md +9 -3
- package/dist/ai/source/BbIndicator.md +11 -4
- package/dist/ai/source/BbNumberInput.md +83 -28
- package/dist/ai/source/BbOffCanvas.md +227 -171
- package/dist/ai/source/BbPagination.md +151 -111
- package/dist/ai/source/BbPopover.md +28 -16
- package/dist/ai/source/BbProgress.md +13 -5
- package/dist/ai/source/BbRadio.md +220 -169
- package/dist/ai/source/BbRadioGroup.md +32 -19
- package/dist/ai/source/BbRating.md +208 -154
- package/dist/ai/source/BbSelect.md +133 -35
- package/dist/ai/source/BbSelectPopover.md +462 -371
- package/dist/ai/source/BbSlider.md +308 -217
- package/dist/ai/source/BbSmoothHeight.md +16 -7
- package/dist/ai/source/BbSpinner.md +9 -3
- package/dist/ai/source/BbSwitch.md +95 -17
- package/dist/ai/source/BbSwitchGroup.md +38 -23
- package/dist/ai/source/BbTable.md +641 -423
- package/dist/ai/source/BbTabs.md +120 -62
- package/dist/ai/source/BbTabsList.md +171 -72
- package/dist/ai/source/BbTabsPanels.md +127 -53
- package/dist/ai/source/BbTabsRoot.md +97 -46
- package/dist/ai/source/BbTag.md +58 -24
- package/dist/ai/source/BbTextInput.md +65 -14
- package/dist/ai/source/BbTextarea.md +54 -8
- package/dist/ai/source/BbTimePicker.md +195 -122
- package/dist/ai/source/BbTimePickerInput.md +127 -23
- package/dist/ai/source/BbToast.md +46 -21
- package/dist/ai/source/BbToastPortal.md +47 -22
- package/dist/ai/source/BbTooltip.md +18 -10
- package/dist/ai/source/BbTree.md +26 -6
- package/dist/ai/source/ClearableButton.md +5 -1
- package/dist/ai/source/CommonField.md +67 -11
- package/dist/ai/source/CommonFieldInput.md +61 -27
- package/dist/ai/source/CommonPopover.md +24 -6
- package/dist/ai/source/CommonTimeSelector.md +24 -3
- package/dist/ai/source/ErrorIcon.md +4 -0
- package/dist/ai/source/FlatListBox.md +1 -1
- package/dist/ai/source/GroupedListBox.md +1 -1
- package/dist/ai/source/ListBox.md +10 -2
- package/dist/ai/source/OptionsContainer.md +6 -2
- package/dist/ai/source/WarningIcon.md +4 -0
- package/dist/assets/css/reset.css_inline.js +1 -2
- package/dist/assets/svgs/alert.svg_raw.js +1 -2
- package/dist/assets/svgs/calendar.svg_raw.js +1 -2
- package/dist/assets/svgs/check_stroke.svg_raw.js +1 -2
- package/dist/assets/svgs/chevron_down.svg_raw.js +1 -2
- package/dist/assets/svgs/chevron_right.svg_raw.js +1 -2
- package/dist/assets/svgs/clear.svg_raw.js +1 -2
- package/dist/assets/svgs/clock.svg_raw.js +1 -2
- package/dist/assets/svgs/error.svg_raw.js +1 -2
- package/dist/assets/svgs/search.svg_raw.js +1 -2
- package/dist/assets/svgs/spinner.svg_raw.js +1 -2
- package/dist/assets/svgs/star.svg_raw.js +1 -2
- package/dist/assets/svgs/user.svg_raw.js +1 -2
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +2 -1
- package/dist/components/BbAccordion/BbAccordion.vue.js +1 -2
- package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +21 -22
- package/dist/components/BbAccordion/types.js +1 -2
- package/dist/components/BbAlert/BbAlert.vue.d.ts +2 -1
- package/dist/components/BbAlert/BbAlert.vue.js +1 -2
- package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +28 -29
- package/dist/components/BbAlert/types.js +1 -2
- package/dist/components/BbAsterisk/BbAsterisk.vue.d.ts +3 -1
- package/dist/components/BbAsterisk/BbAsterisk.vue.js +1 -2
- package/dist/components/BbAsterisk/BbAsterisk.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/BbAsterisk/types.js +1 -2
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +3 -1
- package/dist/components/BbAvatar/BbAvatar.vue.js +1 -2
- package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +23 -24
- package/dist/components/BbAvatar/types.js +1 -2
- package/dist/components/BbBadge/BadgeBodyContent.vue.js +1 -2
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +13 -14
- package/dist/components/BbBadge/BbBadge.vue.d.ts +5 -3
- package/dist/components/BbBadge/BbBadge.vue.js +1 -2
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +31 -33
- package/dist/components/BbBadge/BbBadgeButton.vue.d.ts +3 -1
- package/dist/components/BbBadge/BbBadgeButton.vue.js +1 -2
- package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +6 -11
- package/dist/components/BbBadge/badgeButtonContext.js +1 -2
- package/dist/components/BbBadge/types.d.ts +20 -4
- package/dist/components/BbBadge/types.js +7 -2
- package/dist/components/BbBaseButton/BbBaseButton.vue.d.ts +3 -1
- package/dist/components/BbBaseButton/BbBaseButton.vue.js +1 -2
- package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +89 -90
- package/dist/components/BbBaseButton/RouterComponent.vue.js +1 -2
- package/dist/components/BbBaseButton/RouterComponent.vue_vue_type_script_setup_true_lang.js +8 -9
- package/dist/components/BbBaseButton/types.d.ts +11 -6
- package/dist/components/BbBaseButton/types.js +6 -2
- package/dist/components/BbBaseButton/useLinkState.d.ts +2 -0
- package/dist/components/BbBaseButton/useLinkState.js +24 -24
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.d.ts +3 -1
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.js +1 -2
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue_vue_type_script_setup_true_lang.js +16 -17
- package/dist/components/BbBaseCheckboxIcon/types.d.ts +4 -2
- package/dist/components/BbBaseCheckboxIcon/types.js +3 -3
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.d.ts +3 -1
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.js +1 -2
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue_vue_type_script_setup_true_lang.js +13 -14
- package/dist/components/BbBaseRadioIcon/types.d.ts +4 -2
- package/dist/components/BbBaseRadioIcon/types.js +3 -3
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.d.ts +3 -1
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.js +1 -2
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue_vue_type_script_setup_true_lang.js +15 -16
- package/dist/components/BbBaseSwitchIcon/types.d.ts +4 -2
- package/dist/components/BbBaseSwitchIcon/types.js +3 -3
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +3 -1
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.js +1 -2
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +158 -169
- package/dist/components/BbBreadcrumbs/estimateBreadcrumbItemWidth.js +1 -2
- package/dist/components/BbBreadcrumbs/types.d.ts +19 -5
- package/dist/components/BbBreadcrumbs/types.js +8 -3
- package/dist/components/BbButton/BbButton.vue.d.ts +2 -1
- package/dist/components/BbButton/BbButton.vue.js +1 -2
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +96 -97
- package/dist/components/BbButton/toggleRoving.js +2 -3
- package/dist/components/BbButton/types.d.ts +11 -6
- package/dist/components/BbButton/types.js +8 -2
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +127 -30
- package/dist/components/BbCalendar/BbCalendar.vue.js +1 -2
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +434 -420
- package/dist/components/BbCalendar/CalendarMonthPanel.vue.js +1 -2
- package/dist/components/BbCalendar/CalendarMonthPanel.vue_vue_type_script_setup_true_lang.js +15 -17
- package/dist/components/BbCalendar/CalendarYearPanel.vue.js +1 -2
- package/dist/components/BbCalendar/CalendarYearPanel.vue_vue_type_script_setup_true_lang.js +55 -57
- package/dist/components/BbCalendar/calendarHost.js +1 -2
- package/dist/components/BbCalendar/types.d.ts +110 -37
- package/dist/components/BbCalendar/types.js +54 -3
- package/dist/components/BbCalendar/useCalendarContext.js +1 -2
- package/dist/components/BbCalendar/useCalendarGrid.d.ts +133 -0
- package/dist/components/BbCalendar/useCalendarGrid.js +201 -204
- package/dist/components/BbCalendar/useDayGrid.d.ts +33 -11
- package/dist/components/BbCalendar/useDayGrid.js +169 -162
- package/dist/components/BbCalendar/useDayjsLocale.d.ts +6 -0
- package/dist/components/BbCalendar/useDayjsLocale.js +10 -4
- package/dist/components/BbCalendar/useToday.js +1 -2
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -2
- package/dist/components/BbCheckbox/BbCheckbox.vue.js +1 -2
- package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +109 -116
- package/dist/components/BbCheckbox/types.d.ts +4 -2
- package/dist/components/BbCheckbox/types.js +3 -3
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +345 -2
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.js +1 -2
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +126 -132
- package/dist/components/BbCheckboxGroup/types.d.ts +12 -6
- package/dist/components/BbCheckboxGroup/types.js +8 -9
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +3 -1
- package/dist/components/BbCollapsible/BbCollapsible.vue.js +1 -2
- package/dist/components/BbCollapsible/BbCollapsible.vue_vue_type_script_setup_true_lang.js +9 -10
- package/dist/components/BbCollapsible/types.js +1 -2
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +8 -5
- package/dist/components/BbColorInput/BbColorInput.vue.js +1 -2
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +171 -151
- package/dist/components/BbColorInput/types.d.ts +28 -11
- package/dist/components/BbColorInput/types.js +18 -9
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +7 -5
- package/dist/components/BbColorPalette/BbColorPalette.vue.js +1 -2
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +212 -219
- package/dist/components/BbColorPalette/types.d.ts +12 -4
- package/dist/components/BbColorPalette/types.js +4 -3
- package/dist/components/BbConfirm/BbConfirm.vue.js +1 -2
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +111 -100
- package/dist/components/BbConfirm/BbConfirmHost.js +9 -10
- package/dist/components/BbConfirm/BbConfirmPortal.vue.js +1 -2
- package/dist/components/BbConfirm/BbConfirmPortal.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/components/BbConfirm/confirmEntry.js +1 -2
- package/dist/components/BbConfirm/types.d.ts +8 -4
- package/dist/components/BbConfirm/types.js +3 -3
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +162 -41
- package/dist/components/BbDatePicker/BbDatePicker.vue.js +1 -2
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +167 -219
- package/dist/components/BbDatePicker/types.d.ts +69 -25
- package/dist/components/BbDatePicker/types.js +6 -3
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +395 -37
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.js +1 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +485 -597
- package/dist/components/BbDatePickerInput/dateFieldLayout.js +1 -2
- package/dist/components/BbDatePickerInput/types.d.ts +92 -22
- package/dist/components/BbDatePickerInput/types.js +67 -7
- package/dist/components/BbDialog/BbDialog.vue.d.ts +7 -6
- package/dist/components/BbDialog/BbDialog.vue.js +1 -2
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +233 -238
- package/dist/components/BbDialog/types.d.ts +12 -10
- package/dist/components/BbDialog/types.js +3 -3
- package/dist/components/BbDialog/useDialogStack.d.ts +2 -0
- package/dist/components/BbDialog/useDialogStack.js +7 -4
- package/dist/components/BbDropdown/AdaptiveDropdown.vue.js +1 -2
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +58 -59
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +8 -6
- package/dist/components/BbDropdown/BbDropdown.vue.js +1 -2
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +306 -340
- package/dist/components/BbDropdown/BbDropdownGroup.vue.js +1 -2
- package/dist/components/BbDropdown/BbDropdownGroup.vue_vue_type_script_setup_true_lang.js +19 -22
- package/dist/components/BbDropdown/BbDropdownList.vue.js +1 -2
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +340 -357
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue.js +1 -2
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +127 -127
- package/dist/components/BbDropdown/DropdownRow.vue.js +1 -2
- package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +21 -22
- package/dist/components/BbDropdown/normalizeGroups.js +11 -12
- package/dist/components/BbDropdown/types.d.ts +25 -9
- package/dist/components/BbDropdown/types.js +28 -2
- package/dist/components/BbDropdown/useDropdownContext.js +2 -3
- package/dist/components/BbDropdown/useDropdownGroupRegistry.d.ts +1 -1
- package/dist/components/BbDropdown/useDropdownGroupRegistry.js +1 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +6 -4
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.js +1 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +65 -68
- package/dist/components/BbDropdownButton/types.d.ts +16 -5
- package/dist/components/BbDropdownButton/types.js +17 -12
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +65 -22
- package/dist/components/BbDropzone/BbDropzone.vue.js +1 -2
- package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +141 -150
- package/dist/components/BbDropzone/types.d.ts +19 -5
- package/dist/components/BbDropzone/types.js +8 -2
- package/dist/components/BbForm/BbForm.vue.d.ts +52 -4
- package/dist/components/BbForm/BbForm.vue.js +1 -2
- package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +154 -159
- package/dist/components/BbForm/BbFormCustomField.js +2 -3
- package/dist/components/BbForm/bindFormField.js +2 -3
- package/dist/components/BbForm/formFields.js +1 -2
- package/dist/components/BbForm/formSchema.js +15 -53
- package/dist/components/BbHost/BbHost.vue.js +1 -2
- package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +20 -25
- package/dist/components/BbHost/BbHostOpening.js +12 -14
- package/dist/components/BbHoverCard/BbHoverCard.vue.d.ts +5 -4
- package/dist/components/BbHoverCard/BbHoverCard.vue.js +1 -2
- package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +160 -165
- package/dist/components/BbHoverCard/BbHoverCardPortal.vue.js +1 -2
- package/dist/components/BbHoverCard/BbHoverCardPortal.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/BbHoverCard/hoverCardFocus.js +1 -2
- package/dist/components/BbHoverCard/types.js +1 -2
- package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -1
- package/dist/components/BbIcon/BbIcon.vue.js +1 -2
- package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +24 -25
- package/dist/components/BbIcon/iconCache.js +1 -2
- package/dist/components/BbIcon/types.js +1 -2
- package/dist/components/BbIndicator/BbIndicator.vue.d.ts +3 -1
- package/dist/components/BbIndicator/BbIndicator.vue.js +1 -2
- package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +9 -10
- package/dist/components/BbIndicator/types.js +1 -2
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +6 -3
- package/dist/components/BbNumberInput/BbNumberInput.vue.js +1 -2
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +336 -369
- package/dist/components/BbNumberInput/numberDisplay.js +1 -2
- package/dist/components/BbNumberInput/platform.js +1 -2
- package/dist/components/BbNumberInput/types.d.ts +29 -6
- package/dist/components/BbNumberInput/types.js +11 -10
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +6 -5
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.js +1 -2
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +347 -373
- package/dist/components/BbOffCanvas/hostCloseLabel.js +1 -2
- package/dist/components/BbOffCanvas/sheetAttrs.d.ts +9 -0
- package/dist/components/BbOffCanvas/sheetAttrs.js +9 -0
- package/dist/components/BbOffCanvas/sheetSnap.js +3 -8
- package/dist/components/BbOffCanvas/types.d.ts +12 -10
- package/dist/components/BbOffCanvas/types.js +3 -3
- package/dist/components/BbOffCanvas/useOffCanvasStack.d.ts +2 -0
- package/dist/components/BbOffCanvas/useOffCanvasStack.js +8 -5
- package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -1
- package/dist/components/BbPagination/BbPagination.vue.js +1 -2
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +84 -85
- package/dist/components/BbPagination/paginationFit.js +0 -1
- package/dist/components/BbPagination/types.d.ts +17 -9
- package/dist/components/BbPagination/types.js +4 -3
- package/dist/components/BbPopover/BbPopover.vue.d.ts +5 -4
- package/dist/components/BbPopover/BbPopover.vue.js +1 -2
- package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +139 -157
- package/dist/components/BbPopover/BbPopoverPortal.vue.js +1 -2
- package/dist/components/BbPopover/BbPopoverPortal.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/BbPopover/types.js +1 -2
- package/dist/components/BbProgress/BbProgress.vue.d.ts +6 -1
- package/dist/components/BbProgress/BbProgress.vue.js +1 -2
- package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +16 -17
- package/dist/components/BbProgress/types.js +1 -2
- package/dist/components/BbPtScope/BbPtScope.vue.js +1 -2
- package/dist/components/BbPtScope/BbPtScope.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/BbRadio/BbRadio.vue.d.ts +4 -2
- package/dist/components/BbRadio/BbRadio.vue.js +1 -2
- package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +46 -50
- package/dist/components/BbRadio/types.d.ts +4 -2
- package/dist/components/BbRadio/types.js +3 -3
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +299 -1
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.js +1 -2
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +178 -184
- package/dist/components/BbRadioGroup/types.d.ts +12 -6
- package/dist/components/BbRadioGroup/types.js +8 -9
- package/dist/components/BbRating/BbRating.vue.d.ts +4 -2
- package/dist/components/BbRating/BbRating.vue.js +1 -2
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +143 -155
- package/dist/components/BbRating/types.d.ts +15 -5
- package/dist/components/BbRating/types.js +10 -3
- package/dist/components/BbSelect/BbSelect.vue.d.ts +553 -4
- package/dist/components/BbSelect/BbSelect.vue.js +1 -2
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +173 -205
- package/dist/components/BbSelect/types.d.ts +41 -7
- package/dist/components/BbSelect/types.js +17 -2
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +103 -3
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.js +1 -2
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +571 -630
- package/dist/components/BbSelectPopover/knownItems.js +1 -2
- package/dist/components/BbSelectPopover/sheetChipAttrs.js +1 -2
- package/dist/components/BbSelectPopover/types.d.ts +29 -7
- package/dist/components/BbSelectPopover/types.js +9 -3
- package/dist/components/BbSlider/BbSlider.vue.d.ts +136 -33
- package/dist/components/BbSlider/BbSlider.vue.js +1 -2
- package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +213 -235
- package/dist/components/BbSlider/types.d.ts +32 -7
- package/dist/components/BbSlider/types.js +10 -3
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -1
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.js +1 -2
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue_vue_type_script_setup_true_lang.js +14 -21
- package/dist/components/BbSmoothHeight/types.js +1 -2
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +3 -1
- package/dist/components/BbSpinner/BbSpinner.vue.js +1 -2
- package/dist/components/BbSpinner/BbSpinner.vue_vue_type_script_setup_true_lang.js +14 -15
- package/dist/components/BbSpinner/types.js +1 -2
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +4 -2
- package/dist/components/BbSwitch/BbSwitch.vue.js +1 -2
- package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +110 -117
- package/dist/components/BbSwitch/types.d.ts +21 -2
- package/dist/components/BbSwitch/types.js +8 -5
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +145 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.js +1 -2
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +155 -160
- package/dist/components/BbSwitchGroup/types.d.ts +11 -4
- package/dist/components/BbSwitchGroup/types.js +4 -5
- package/dist/components/BbTable/BbTable.vue.d.ts +5 -2
- package/dist/components/BbTable/BbTable.vue.js +1 -2
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1143 -1301
- package/dist/components/BbTable/BbTableDataRow.js +1 -2
- package/dist/components/BbTable/BbTableEdgeRow.js +1 -2
- package/dist/components/BbTable/BbTableExpandRow.js +1 -2
- package/dist/components/BbTable/BbTableSelectToggle.js +17 -18
- package/dist/components/BbTable/gridWidgets.js +2 -7
- package/dist/components/BbTable/measuredFloors.js +67 -65
- package/dist/components/BbTable/textRuler.d.ts +3 -1
- package/dist/components/BbTable/textRuler.js +40 -39
- package/dist/components/BbTable/types.d.ts +54 -9
- package/dist/components/BbTable/types.js +45 -3
- package/dist/components/BbTable/useRowReorder.js +179 -203
- package/dist/components/BbTable/utils.d.ts +9 -2
- package/dist/components/BbTable/utils.js +66 -72
- package/dist/components/BbTabs/BbTabs.vue.d.ts +103 -2
- package/dist/components/BbTabs/BbTabs.vue.js +1 -2
- package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +26 -30
- package/dist/components/BbTabs/BbTabsList.vue.d.ts +11 -1
- package/dist/components/BbTabs/BbTabsList.vue.js +1 -2
- package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +112 -107
- package/dist/components/BbTabs/BbTabsPanels.vue.d.ts +9 -1
- package/dist/components/BbTabs/BbTabsPanels.vue.js +1 -2
- package/dist/components/BbTabs/BbTabsPanels.vue_vue_type_script_setup_true_lang.js +22 -22
- package/dist/components/BbTabs/BbTabsRoot.vue.js +1 -2
- package/dist/components/BbTabs/BbTabsRoot.vue_vue_type_script_setup_true_lang.js +6 -7
- package/dist/components/BbTabs/tablistName.js +1 -2
- package/dist/components/BbTabs/types.d.ts +71 -33
- package/dist/components/BbTabs/types.js +11 -3
- package/dist/components/BbTag/BbTag.vue.d.ts +5 -2
- package/dist/components/BbTag/BbTag.vue.js +1 -2
- package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +218 -243
- package/dist/components/BbTag/types.d.ts +22 -12
- package/dist/components/BbTag/types.js +19 -9
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +209 -2
- package/dist/components/BbTextInput/BbTextInput.vue.js +1 -2
- package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +136 -142
- package/dist/components/BbTextInput/types.d.ts +17 -5
- package/dist/components/BbTextInput/types.js +22 -12
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +207 -2
- package/dist/components/BbTextarea/BbTextarea.vue.js +1 -2
- package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +142 -144
- package/dist/components/BbTextarea/types.d.ts +17 -5
- package/dist/components/BbTextarea/types.js +22 -12
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +84 -38
- package/dist/components/BbTimePicker/BbTimePicker.vue.js +1 -2
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +166 -171
- package/dist/components/BbTimePicker/types.d.ts +31 -7
- package/dist/components/BbTimePicker/types.js +4 -3
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +272 -33
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.js +1 -2
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +295 -327
- package/dist/components/BbTimePickerInput/types.d.ts +45 -9
- package/dist/components/BbTimePickerInput/types.js +17 -7
- package/dist/components/BbToast/BbToast.vue.js +1 -2
- package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +12 -17
- package/dist/components/BbToast/BbToastMessage.vue.js +1 -2
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +72 -74
- package/dist/components/BbToast/BbToastPortal.vue.js +1 -2
- package/dist/components/BbToast/BbToastPortal.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/components/BbToast/BbToastRegion.vue.js +1 -2
- package/dist/components/BbToast/BbToastRegion.vue_vue_type_script_setup_true_lang.js +27 -28
- package/dist/components/BbToast/types.d.ts +17 -5
- package/dist/components/BbToast/types.js +12 -13
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -2
- package/dist/components/BbTooltip/BbTooltip.vue.js +1 -2
- package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +69 -70
- package/dist/components/BbTooltip/tooltipWarmup.js +0 -1
- package/dist/components/BbTooltip/types.js +1 -2
- package/dist/components/BbTree/BbTree.vue.d.ts +2 -3
- package/dist/components/BbTree/BbTree.vue.js +1 -2
- package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +28 -27
- package/dist/components/BbTree/BbTreeLevel.vue.js +1 -2
- package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +12 -20
- package/dist/components/BbTree/context.js +1 -2
- package/dist/components/BbTree/types.d.ts +13 -3
- package/dist/components/BbTree/types.js +4 -3
- package/dist/components/ChipsBox/ChipsBox.vue.js +1 -2
- package/dist/components/ChipsBox/ChipsBox.vue_vue_type_script_setup_true_lang.js +24 -26
- package/dist/components/ClearableButton/ClearableButton.vue.d.ts +3 -1
- package/dist/components/ClearableButton/ClearableButton.vue.js +1 -2
- package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/CloseIcon/CloseButton.vue.d.ts +3 -1
- package/dist/components/CloseIcon/CloseButton.vue.js +2 -3
- package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/components/CommaBox/CommaBox.vue.js +1 -2
- package/dist/components/CommaBox/CommaBox.vue_vue_type_script_setup_true_lang.js +20 -22
- package/dist/components/CommonField/CommonField.vue.d.ts +3 -1
- package/dist/components/CommonField/CommonField.vue.js +1 -2
- package/dist/components/CommonField/CommonField.vue_vue_type_script_setup_true_lang.js +78 -73
- package/dist/components/CommonField/types.d.ts +2 -2
- package/dist/components/CommonFieldInput/CommonFieldInput.vue.d.ts +5 -3
- package/dist/components/CommonFieldInput/CommonFieldInput.vue.js +1 -2
- package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +20 -21
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +5 -4
- package/dist/components/CommonPopover/CommonPopover.vue.js +1 -2
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +90 -89
- package/dist/components/CommonTimeSelector/CommonTimeSelector.vue.js +1 -2
- package/dist/components/CommonTimeSelector/CommonTimeSelector.vue_vue_type_script_setup_true_lang.js +29 -38
- package/dist/components/CommonTimeSelector/useMeridiem.js +1 -2
- package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +3 -1
- package/dist/components/ErrorIcon/ErrorIcon.vue.js +1 -2
- package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/FlatListBox/FlatListBox.vue.js +1 -2
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +87 -94
- package/dist/components/FlatListBox/types.d.ts +1 -1
- package/dist/components/GroupedListBox/GroupedListBox.vue.js +1 -2
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +55 -62
- package/dist/components/GroupedListBox/types.d.ts +1 -1
- package/dist/components/ListBox/ListBox.vue.d.ts +1 -1
- package/dist/components/ListBox/ListBox.vue.js +1 -2
- package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +21 -22
- package/dist/components/ListBox/types.d.ts +1 -1
- package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +1 -1
- package/dist/components/OptionsContainer/OptionsContainer.vue.js +1 -2
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +23 -27
- package/dist/components/OptionsContainer/types.d.ts +1 -1
- package/dist/components/Transitions/ScaleFade.vue.js +1 -2
- package/dist/components/Transitions/ScaleFade.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/Transitions/Slide.vue.d.ts +1 -1
- package/dist/components/Transitions/Slide.vue.js +4 -5
- package/dist/components/Transitions/Slide.vue_vue_type_script_setup_true_lang.js +4 -5
- package/dist/components/WarningIcon/WarningIcon.vue.d.ts +3 -1
- package/dist/components/WarningIcon/WarningIcon.vue.js +1 -2
- package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/composables/autoHost.d.ts +22 -0
- package/dist/composables/autoHost.js +19 -0
- package/dist/composables/formSubmitLock.js +1 -2
- package/dist/composables/hostOpenings.d.ts +3 -3
- package/dist/composables/hostOpenings.js +7 -12
- package/dist/composables/hostRegistry.d.ts +10 -2
- package/dist/composables/hostRegistry.js +6 -5
- package/dist/composables/overlayRegistry.d.ts +1 -1
- package/dist/composables/overlayRegistry.js +4 -5
- package/dist/composables/ssrMarker.js +1 -2
- package/dist/composables/useActiveInactiveState.js +1 -2
- package/dist/composables/useArray.js +1 -2
- package/dist/composables/useBaseOptions.js +19 -20
- package/dist/composables/useBbConfig.js +1 -2
- package/dist/composables/{useBbDialogContext.d.ts → useBbDialog.d.ts} +9 -9
- package/dist/composables/{useBbDialogContext.js → useBbDialog.js} +19 -23
- package/dist/composables/{useBbDropdownContext.d.ts → useBbDropdown.d.ts} +14 -14
- package/dist/composables/{useBbDropdownContext.js → useBbDropdown.js} +4 -5
- package/dist/composables/{useBbFormContext.d.ts → useBbForm.d.ts} +8 -8
- package/dist/composables/{useBbFormContext.js → useBbForm.js} +8 -12
- package/dist/composables/useBbFormField.js +1 -2
- package/dist/composables/useBbOffCanvas.d.ts +23 -0
- package/dist/composables/useBbOffCanvas.js +7 -0
- package/dist/composables/{useBbTableContext.d.ts → useBbTable.d.ts} +29 -29
- package/dist/composables/{useBbTableContext.js → useBbTable.js} +3 -4
- package/dist/composables/{useBbTabsContext.d.ts → useBbTabs.d.ts} +19 -3
- package/dist/composables/useBbTabs.js +254 -0
- package/dist/composables/useBodyScrollLock.js +1 -2
- package/dist/composables/useBreakpoint.js +1 -2
- package/dist/composables/useCancelableFunction.js +1 -2
- package/dist/composables/useCharacterCounter.js +2 -3
- package/dist/composables/useChoiceIndicator.js +4 -9
- package/dist/composables/useClosingInert.js +3 -8
- package/dist/composables/useCoarsePointer.js +1 -2
- package/dist/composables/useCoherence.js +1 -2
- package/dist/composables/useConfig.js +1 -2
- package/dist/composables/useConfirm.d.ts +28 -31
- package/dist/composables/useConfirm.js +8 -9
- package/dist/composables/useCountdown.js +6 -7
- package/dist/composables/useEscapeStackEntry.js +1 -2
- package/dist/composables/useFormBinding.js +6 -9
- package/dist/composables/useFrameworkDetection.js +1 -2
- package/dist/composables/useHashedWatcher.js +1 -2
- package/dist/composables/useHydrated.js +1 -2
- package/dist/composables/useId.js +1 -2
- package/dist/composables/useImeDismissBlur.js +2 -7
- package/dist/composables/useIndexById.js +1 -2
- package/dist/composables/useInertiaPage.js +1 -2
- package/dist/composables/useItemText.js +3 -3
- package/dist/composables/useItemValue.js +1 -2
- package/dist/composables/useItemsGetter.js +12 -19
- package/dist/composables/useKeyboardInset.js +0 -1
- package/dist/composables/useListboxFocus.js +1 -2
- package/dist/composables/useLocale.js +7 -8
- package/dist/composables/useLogger.js +1 -2
- package/dist/composables/useMobile.js +1 -2
- package/dist/composables/useOnDemandOpener.d.ts +4 -4
- package/dist/composables/useOnDemandOpener.js +12 -13
- package/dist/composables/useOnFalsy.js +1 -2
- package/dist/composables/useOnTruthy.js +1 -2
- package/dist/composables/useOverlayNavigation.js +6 -11
- package/dist/composables/useOverlayYield.js +1 -2
- package/dist/composables/usePassthrough.js +207 -123
- package/dist/composables/usePrefill.js +11 -16
- package/dist/composables/useQuery.js +9 -22
- package/dist/composables/useRefusedCloseAnnouncement.js +1 -2
- package/dist/composables/useRoute.js +1 -2
- package/dist/composables/useRouter.js +1 -2
- package/dist/composables/useSafeArea.js +10 -11
- package/dist/composables/useSafeAreaInternal.js +4 -5
- package/dist/composables/useSegmentedFields.js +5 -17
- package/dist/composables/useServerPrefetch.js +1 -2
- package/dist/composables/useSheetSurface.js +1 -2
- package/dist/composables/useSsrState.js +1 -2
- package/dist/composables/useTableWidthContext.js +2 -3
- package/dist/composables/useToast.d.ts +4 -5
- package/dist/composables/useToast.js +4 -5
- package/dist/composables/useToggleInput.js +1 -2
- package/dist/composables/useTopLayer.js +1 -2
- package/dist/composables/useTypeahead.js +0 -1
- package/dist/composables/useUntil.js +1 -2
- package/dist/composables/useUrlQueryParam.d.ts +1 -1
- package/dist/composables/useUrlQueryParam.js +1 -2
- package/dist/composables/useViewportWidth.js +2 -3
- package/dist/deprecation/ai-deprecations.json.js +1 -2
- package/dist/deprecation/removedProps.js +1 -2
- package/dist/directives/bbColor.js +7 -8
- package/dist/directives/bbDate.js +7 -8
- package/dist/directives/bbDialog.d.ts +1 -1
- package/dist/directives/bbDialog.js +1 -2
- package/dist/directives/bbDropdown.js +14 -15
- package/dist/directives/bbHoverCard.js +8 -9
- package/dist/directives/bbOffCanvas.d.ts +1 -1
- package/dist/directives/bbOffCanvas.js +1 -2
- package/dist/directives/bbPopover.js +12 -13
- package/dist/directives/bbTime.js +7 -8
- package/dist/directives/bbTooltip.js +1 -2
- package/dist/directives/createPopoverDirective.js +6 -17
- package/dist/directives/directivePortal.js +1 -2
- package/dist/directives/overlayTrigger.js +20 -21
- package/dist/directives/renderingInstance.js +4 -8
- package/dist/i18n/locales/cs.json +8 -1
- package/dist/i18n/locales/da.json +8 -1
- package/dist/i18n/locales/de-CH.json +8 -1
- package/dist/i18n/locales/de.json +8 -1
- package/dist/i18n/locales/el.json +8 -1
- package/dist/i18n/locales/en-GB.json +8 -1
- package/dist/i18n/locales/en.json +8 -1
- package/dist/i18n/locales/es-MX.json +8 -1
- package/dist/i18n/locales/es.json +8 -1
- package/dist/i18n/locales/fi.json +8 -1
- package/dist/i18n/locales/fr.json +8 -1
- package/dist/i18n/locales/hu.json +8 -1
- package/dist/i18n/locales/it.json +8 -1
- package/dist/i18n/locales/ja.json +8 -1
- package/dist/i18n/locales/ko.json +8 -1
- package/dist/i18n/locales/nb.json +8 -1
- package/dist/i18n/locales/nl.json +8 -1
- package/dist/i18n/locales/pl.json +8 -1
- package/dist/i18n/locales/pt-BR.json +8 -1
- package/dist/i18n/locales/pt-PT.json +8 -1
- package/dist/i18n/locales/ro.json +8 -1
- package/dist/i18n/locales/ru.json +8 -1
- package/dist/i18n/locales/sv.json +8 -1
- package/dist/i18n/locales/tr.json +8 -1
- package/dist/i18n/locales/uk.json +8 -1
- package/dist/i18n/locales/zh-CN.json +8 -1
- package/dist/i18n/locales/zh-HK.json +8 -1
- package/dist/i18n/locales/zh-TW.json +8 -1
- package/dist/i18n/regionHints.js +1 -2
- package/dist/i18n/regions.js +1 -2
- package/dist/icon-scan.js +6 -11
- package/dist/index.d.ts +15 -15
- package/dist/index.js +88 -88
- package/dist/llms-full.txt +4886 -2972
- package/dist/llms-medium.txt +170 -112
- package/dist/llms.txt +12 -12
- package/dist/locale-blueprint.json +8 -1
- package/dist/nuxt-auto-imports.js +7 -8
- package/dist/nuxt.js +21 -22
- package/dist/passthrough-deduper.js +1 -2
- package/dist/plugin.js +24 -23
- package/dist/project-dts.js +1 -2
- package/dist/runtime/nuxt-plugin.js +39 -38
- package/dist/styles.css +2 -2
- package/dist/types/AlertVariant.js +1 -2
- package/dist/types/BadgeVariant.js +1 -2
- package/dist/types/ButtonVariant.js +1 -2
- package/dist/types/CheckboxVariant.js +1 -2
- package/dist/types/ConfirmVariant.js +1 -2
- package/dist/types/DatePickerType.d.ts +10 -5
- package/dist/types/DatePickerType.js +3 -4
- package/dist/types/DropdownItemVariant.js +1 -2
- package/dist/types/FieldLayout.js +1 -2
- package/dist/types/IndicatorVariant.js +1 -2
- package/dist/types/InputVariant.js +1 -2
- package/dist/types/RadioVariant.js +1 -2
- package/dist/types/ShapeErased.d.ts +15 -0
- package/dist/types/TabsVariant.js +1 -2
- package/dist/types/ToastVariant.js +1 -2
- package/dist/types/TooltipVariant.js +1 -2
- package/dist/types/fallthrough.d.ts +134 -0
- package/dist/types/passthrough.d.ts +112 -2
- package/dist/types/passthrough.js +19 -13
- package/dist/types/ptComponentMap.d.ts +31 -31
- package/dist/utilities/functions/animationsSettled.js +1 -2
- package/dist/utilities/functions/bytesToUnit.js +1 -2
- package/dist/utilities/functions/chunk.js +1 -2
- package/dist/utilities/functions/clamp.js +1 -2
- package/dist/utilities/functions/clampPrecision.js +1 -2
- package/dist/utilities/functions/convertDateValue.d.ts +5 -2
- package/dist/utilities/functions/convertDateValue.js +19 -13
- package/dist/utilities/functions/curry.js +1 -2
- package/dist/utilities/functions/deburr.js +1 -2
- package/dist/utilities/functions/elementLabel.js +1 -2
- package/dist/utilities/functions/empty.js +1 -2
- package/dist/utilities/functions/extractDomContainer.js +1 -2
- package/dist/utilities/functions/findInTree.js +1 -2
- package/dist/utilities/functions/flattenTree.js +1 -2
- package/dist/utilities/functions/get.js +1 -2
- package/dist/utilities/functions/hasVnodeListener.js +1 -2
- package/dist/utilities/functions/hash.js +1 -2
- package/dist/utilities/functions/head.js +1 -2
- package/dist/utilities/functions/identity.js +1 -2
- package/dist/utilities/functions/indexBy.js +1 -2
- package/dist/utilities/functions/isDateDisabled.js +23 -19
- package/dist/utilities/functions/isEqual.js +1 -2
- package/dist/utilities/functions/isHex.js +1 -2
- package/dist/utilities/functions/isImeComposing.js +1 -2
- package/dist/utilities/functions/isNil.js +1 -2
- package/dist/utilities/functions/isNotEmpty.js +1 -2
- package/dist/utilities/functions/isNotNil.js +1 -2
- package/dist/utilities/functions/isTextEntry.js +1 -2
- package/dist/utilities/functions/isoWeek.d.ts +36 -0
- package/dist/utilities/functions/isoWeek.js +21 -0
- package/dist/utilities/functions/itemProps.js +1 -2
- package/dist/utilities/functions/last.js +1 -2
- package/dist/utilities/functions/matchAnyKey.js +1 -2
- package/dist/utilities/functions/noop.js +1 -2
- package/dist/utilities/functions/normalizeDateBound.d.ts +11 -5
- package/dist/utilities/functions/normalizeDateBound.js +6 -5
- package/dist/utilities/functions/parsePaginationNumber.js +1 -2
- package/dist/utilities/functions/parseSize.js +1 -2
- package/dist/utilities/functions/parseWidthString.js +1 -2
- package/dist/utilities/functions/percentage.js +1 -2
- package/dist/utilities/functions/pickBy.js +1 -2
- package/dist/utilities/functions/range.js +1 -2
- package/dist/utilities/functions/readableValue.js +1 -2
- package/dist/utilities/functions/reject.js +1 -2
- package/dist/utilities/functions/resolveEnumProp.js +1 -2
- package/dist/utilities/functions/responsiveDefault.js +1 -2
- package/dist/utilities/functions/settlesVisible.js +1 -2
- package/dist/utilities/functions/slotKey.js +1 -2
- package/dist/utilities/functions/snapToStep.js +1 -2
- package/dist/utilities/functions/sort.js +1 -2
- package/dist/utilities/functions/throttle.js +1 -2
- package/dist/utilities/functions/toggleInput.js +1 -2
- package/dist/utilities/functions/transpose.js +1 -2
- package/dist/utilities/functions/validateDateFormat.js +1 -2
- package/dist/utilities/functions/wait.js +1 -2
- package/dist/utilities/functions/waitFor.js +2 -7
- package/dist/utilities/functions/warnRemovedAttrs.js +2 -5
- package/dist/utilities/functions/when.js +1 -2
- package/dist/utilities/misc/autofocus.js +1 -2
- package/dist/utilities/misc/iconsInjectionKey.js +1 -2
- package/dist/utilities/misc/listboxMetrics.js +1 -2
- package/dist/utilities/misc/maskaDataOptions.d.ts +12 -0
- package/dist/utilities/misc/maskaDataOptions.js +36 -0
- package/dist/utilities/misc/pageText.d.ts +16 -0
- package/dist/utilities/misc/pageText.js +10 -0
- package/dist/utilities/misc/ssrStateInjectionKey.js +1 -2
- package/dist/utilities/misc/ssrValue.js +1 -2
- package/dist/utilities/misc/transitions.js +1 -2
- package/dist/utils/copyData.js +1 -2
- package/dist/utils/cssLayers.js +1 -2
- package/dist/utils/focusVisibility.js +1 -2
- package/dist/utils/injectLibraryStyles.js +3 -12
- package/dist/utils/overlayEscapeStack.js +1 -2
- package/dist/utils/overlaySurfaceIsolation.js +1 -2
- package/dist/utils/passthrough.js +2 -3
- package/dist/utils/ptScope.js +1 -2
- package/dist/utils/versionCheck.js +2 -3
- package/dist/vite-plugin.d.ts +1 -1
- package/dist/vite.js +364 -437
- package/llms.txt +12 -12
- package/package.json +14 -10
- package/scripts/lib/adoption-checklist.json +3 -2
- package/scripts/lib/check-queue.mjs +102 -0
- package/scripts/lib/consumer-install.mjs +64 -0
- package/scripts/lib/css-class-surface.mjs +39 -3
- package/scripts/lib/css-comment-text.mjs +16 -0
- package/scripts/lib/eslint-disable.mjs +9 -1
- package/scripts/lib/eslint-plugin.d.ts +7 -1
- package/scripts/lib/eslint-plugin.mjs +286 -7
- package/scripts/lib/form-v-model.mjs +2 -2
- package/scripts/lib/helper-canon.mjs +34 -2
- package/scripts/lib/helpers-add.mjs +80 -13
- package/scripts/lib/hidden-label-placeholder.mjs +151 -0
- package/scripts/lib/html-attributes.mjs +82 -0
- package/scripts/lib/idiom-scan.mjs +175 -2
- package/scripts/lib/mcp-config.mjs +1 -1
- package/scripts/lib/pack.mjs +55 -0
- package/scripts/lib/portal-names.mjs +3 -3
- package/scripts/lib/prefer-v-bb-dialog.mjs +1 -1
- package/scripts/lib/quiet-gate.mjs +385 -0
- package/scripts/lib/reactive-v-model.mjs +11 -5
- package/scripts/lib/tab-links.mjs +209 -0
- package/scripts/lib/token-color-mix.mjs +114 -0
- package/scripts/lib/toolchain-check.mjs +34 -3
- package/scripts/lib/unstyled-variants.mjs +57 -0
- package/scripts/lib/validate-bb-markup.mjs +149 -4
- package/dist/composables/useBbOffCanvasContext.d.ts +0 -23
- package/dist/composables/useBbOffCanvasContext.js +0 -8
- package/dist/composables/useBbTabsContext.js +0 -252
package/dist/ai/BbOffCanvas.md
CHANGED
|
@@ -47,6 +47,12 @@ are physical: `size` means the panel's **extent along its axis** (the width of
|
|
|
47
47
|
a left/right panel, the height of a top/bottom one; not always a width), and
|
|
48
48
|
`side`, `draggable` and `stack-gap` are off-canvas-only.
|
|
49
49
|
|
|
50
|
+
Which way to open it is BbDialog's rule ([BbDialog § Which one?](./BbDialog.md#which-one)):
|
|
51
|
+
a panel in its own file that must start fresh, or one opened with a row's data,
|
|
52
|
+
opens on demand, `useBbOffCanvas(RecordPanel).show(record)`; a page-level panel
|
|
53
|
+
that needs the URL or Back is placed with an `id`
|
|
54
|
+
(`v-bb-off-canvas="'filters'"`); a `v-model` is for state the page already owns.
|
|
55
|
+
|
|
50
56
|
### Open and close with v-model
|
|
51
57
|
|
|
52
58
|
With a `v-model`, the model owns visibility: bind a boolean and flip it.
|
|
@@ -144,7 +150,7 @@ It works exactly like `v-bb-dialog` (see the BbDialog guide):
|
|
|
144
150
|
|
|
145
151
|
- `v-bb-off-canvas="{ id: 'member', data: member }"` hands the panel what it
|
|
146
152
|
was opened for. The slots receive it as `data`, and
|
|
147
|
-
`
|
|
153
|
+
`useBbOffCanvas<T>(id)` returns it typed, with `open`,
|
|
148
154
|
`show(data?)` and `hide()`.
|
|
149
155
|
- Many rows open **one** panel, each with its own `data`. Never render one
|
|
150
156
|
panel per row: the `id` is also the DOM id.
|
|
@@ -153,11 +159,11 @@ It works exactly like `v-bb-dialog` (see the BbDialog guide):
|
|
|
153
159
|
up through its parents. A `v-model` on the panel still wins.
|
|
154
160
|
- `hide()` closes even under `prevent-close`. The slots' `close()` does not.
|
|
155
161
|
- `show()` returns the opening's result and `complete(value)` (slots and
|
|
156
|
-
|
|
162
|
+
handle) closes with one, exactly as on BbDialog (see
|
|
157
163
|
[BbDialog § Results](./BbDialog.md#results-what-the-opener-gets-back));
|
|
158
164
|
a component that renders its own `<BbOffCanvas>` opens on demand the same
|
|
159
165
|
way: `v-bb-off-canvas="{ component: FiltersSheet }"` or
|
|
160
|
-
`
|
|
166
|
+
`useBbOffCanvas<In, Out>(FiltersSheet).show()` (BbDialog § On-demand
|
|
161
167
|
dialogs);
|
|
162
168
|
a sheet swiped away settles `'swipe'`. `v-bb-off-canvas` takes
|
|
163
169
|
`onComplete` (and `show(data, { onComplete })` from code): a promise it
|
|
@@ -207,14 +213,14 @@ dimension `size` controls.
|
|
|
207
213
|
</div>
|
|
208
214
|
</template>
|
|
209
215
|
<script setup lang="ts">
|
|
210
|
-
import { BbButton, BbOffCanvas,
|
|
216
|
+
import { BbButton, BbOffCanvas, useBbOffCanvas } from 'bitboss-ui';
|
|
211
217
|
|
|
212
218
|
type Side = 'left' | 'top' | 'right' | 'bottom';
|
|
213
219
|
|
|
214
220
|
const edges: Side[] = ['left', 'right', 'top', 'bottom'];
|
|
215
221
|
// The edge the clicked button handed over; it stays set through the close
|
|
216
222
|
// transition, so the panel leaves the way it came.
|
|
217
|
-
const { data: side } =
|
|
223
|
+
const { data: side } = useBbOffCanvas<Side>('edge-panel');
|
|
218
224
|
</script>
|
|
219
225
|
```
|
|
220
226
|
|
|
@@ -825,7 +831,7 @@ import { ref } from 'vue';
|
|
|
825
831
|
import { BbBadge, BbButton, BbOffCanvas, type BbSnapPoint } from 'bitboss-ui';
|
|
826
832
|
|
|
827
833
|
// The stop the sheet rests at, as written in `snap-points`.
|
|
828
|
-
const snap = ref<BbSnapPoint>('220px');
|
|
834
|
+
const snap = ref<BbSnapPoint | undefined>('220px');
|
|
829
835
|
|
|
830
836
|
const stores = Array.from({ length: 14 }, (_, i) => ({
|
|
831
837
|
id: i + 1,
|
|
@@ -994,7 +1000,7 @@ transition completes. A surface closed before it finished opening fires no
|
|
|
994
1000
|
`shown`. `hide` carries the opening's result, the object its promise settles
|
|
995
1001
|
with (`{ completed: true, value }` or `{ completed: false, reason }`, a swipe
|
|
996
1002
|
included). To tell a save from a cancel, close a save with `complete()`
|
|
997
|
-
(slots or
|
|
1003
|
+
(slots or handle), not by writing the model: on a `v-model` panel too, it
|
|
998
1004
|
closes through the model and reports `{ completed: true }`.
|
|
999
1005
|
|
|
1000
1006
|
The body lives **per opening**: nothing inside the panel renders until it
|
|
@@ -1073,7 +1079,7 @@ Every dismissal path is governed by two props, and by a form inside:
|
|
|
1073
1079
|
model) still work. Use it when the user must make an explicit choice.
|
|
1074
1080
|
- `prevent-close` — refuses **every** user close: backdrop, `Escape`, a
|
|
1075
1081
|
swipe, the ✕ and the slots' `close()`, each with the deny nudge. Only code
|
|
1076
|
-
closes it: `
|
|
1082
|
+
closes it: `useBbOffCanvas(id).hide()` (or the model set to `false`)
|
|
1077
1083
|
after an operation; `close()` is for Cancel / Done buttons and is refused
|
|
1078
1084
|
while the panel is locked. Three states:
|
|
1079
1085
|
- unset (the default): the panel locks itself while a `BbForm` inside it
|
|
@@ -1415,7 +1421,7 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
|
|
|
1415
1421
|
| `focusTarget` | `string \| undefined` | | | CSS selector of the element to focus after opening. Defaults to the first tabbable element. |
|
|
1416
1422
|
| `fullscreen` | `boolean \| "mobile" \| undefined` | | | Display the offcanvas fullscreen. Use `'mobile'` to restrict fullscreen to small devices. |
|
|
1417
1423
|
| `hideClose` | `boolean \| undefined` | `false` | | Hides the default close (×) button in the header (e.g. for a `persistent` drawer you don't want dismissible — the × otherwise still closes a persistent drawer). |
|
|
1418
|
-
| `id` | `string \| undefined` | | | Names the panel for `v-bb-off-canvas="'filters'"` and `
|
|
1424
|
+
| `id` | `string \| undefined` | | | Names the panel for `v-bb-off-canvas="'filters'"` and `useBbOffCanvas`, found nearest to the trigger, so two pages may reuse an id. Also the DOM `id`: one panel per id. |
|
|
1419
1425
|
| `modelValue` | `boolean \| undefined` | `false` | | Used by v-model to open / close the panel. A panel with no `v-model` starts closed. |
|
|
1420
1426
|
| `navigation` | `boolean \| undefined` | `false` | | Syncs the open state with the URL: opening writes `?<queryKey>=true`, closing removes it, a URL with the key opens the panel on load, and Back closes it (refused whenever Escape is). Template panels only; keep a record id in your own query. |
|
|
1421
1427
|
| `persistent` | `boolean \| undefined` | `false` | | Blocks closing by an outside click, Escape or drag-to-dismiss. The header close (×) STILL closes a persistent drawer, the documented escape hatch: add `hideClose` to remove it, or use `preventClose` to block every dismissal. Programmatic close still works. |
|
|
@@ -1424,7 +1430,7 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
|
|
|
1424
1430
|
| `replace` | `boolean \| undefined` | `false` | | With `navigation`, replaces the history entry instead of pushing one, so Back leaves the page instead of closing the panel. |
|
|
1425
1431
|
| `side` | `Responsive<"left" \| "top" \| "bottom" \| "right"> \| undefined` | `"left"` | | Which viewport edge the offcanvas docks to (and slides in from). Also a per-breakpoint map (e.g. `{ default: 'bottom', md: 'right' }`), resolved when the panel opens: an open panel keeps its side through a resize. |
|
|
1426
1432
|
| `size` | `Responsive<OffCanvasSize> \| undefined` | `"sm"` | | The panel's extent along its axis: a left/right panel's width (shrinks with a narrower viewport) or a top/bottom one's height (capped at the viewport). A preset `'xs'`–`'2xl'`, `'auto'`, a CSS size, a pixel number, or a per-breakpoint map (e.g. `{ default: 'sm', lg: 'lg' }`). |
|
|
1427
|
-
| `snap` | `BbSnapPoint \| undefined` | | | The snap stop the sheet rests at, written as one of the `snapPoints` entries
|
|
1433
|
+
| `snap` | `BbSnapPoint \| undefined` | | | The snap stop the sheet rests at, written as one of the `snapPoints` entries. Updated once the sheet settles on another stop; setting it moves the sheet there. Unbound, every opening starts at the first stop. |
|
|
1428
1434
|
| `snapPoints` | `BbSnapPoint[] \| undefined` | | | Heights a draggable bottom sheet rests at, smallest first: a fraction of the screen (`0.5`, `1` = full) or `'240px'`. The first is the opening height; `v-model:snap` holds the stop. Ignored on other sides and `fullscreen` (guide § Snap points). |
|
|
1429
1435
|
| `stack` | `string \| undefined` | | | Name of the stack this drawer belongs to. Drawers sharing the same `stack` value step back behind one another as later ones open; drawers in different stacks never affect each other. When omitted, the drawer stacks with nothing. |
|
|
1430
1436
|
| `stackGap` | `number \| undefined` | `60` | | Pixels each stacked parent drawer shifts inward when a child opens on top, leaving a peeking band of the parent visible. |
|
|
@@ -1455,7 +1461,7 @@ States are listed in precedence order: when two are on at once and their entries
|
|
|
1455
1461
|
## Events
|
|
1456
1462
|
|
|
1457
1463
|
- `hidden` — `(): void` — Emitted after the close transition completes and the offcanvas is fully dismissed.
|
|
1458
|
-
- `hide` — `(result: BbDialogResult): void` — Emitted as soon as the panel starts to close (model becomes false), with the opening's result: the same object its promise settles with, `{ completed: true, value }` or `{ completed: false, reason }
|
|
1464
|
+
- `hide` — `(result: BbDialogResult): void` — Emitted as soon as the panel starts to close (model becomes false), with the opening's result: the same object its promise settles with, `{ completed: true, value }` or `{ completed: false, reason }`.
|
|
1459
1465
|
- `show` — `(): void` — Emitted as soon as the user triggers the open action (model becomes true).
|
|
1460
1466
|
- `shown` — `(): void` — Emitted once the open transition has run (symmetric with `hidden`): the panel is settled, so code that measures or anchors to its content sees the final layout. Not emitted for a panel closed before it finished opening.
|
|
1461
1467
|
- `update:modelValue` — `(value: boolean): void` — Emitted with the new value whenever `v-model` changes.
|
|
@@ -1480,7 +1486,7 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
1480
1486
|
| `--translate` | `.bb-offcanvas` | `1` | |
|
|
1481
1487
|
| `--stack-x` | `.bb-offcanvas` | `0px` | Inward shift applied to a parent panel while a child is stacked on top. |
|
|
1482
1488
|
| `--stack-y` | `.bb-offcanvas` | `0px` | |
|
|
1483
|
-
| `--snap-y` | `.bb-offcanvas` | `0px` | Snap points
|
|
1489
|
+
| `--snap-y` | `.bb-offcanvas` | `0px` | Snap points: how far below its top stop the sheet rests (written on the element by the component, live during a drag) and the first stop's offset, which caps the footer's counter-move. Reset here so a sheet nested in another's content never inherits them. |
|
|
1484
1490
|
| `--snap-floor` | `.bb-offcanvas` | `0px` | |
|
|
1485
1491
|
| `--stack-fill` | `.bb-offcanvas` | `0px` | Length of the pad (see `::after`) that fills from the panel's anchored edge out to the screen edge, so no empty band shows when a descendant is dragged away or shrinks. |
|
|
1486
1492
|
| `--stack-transition-duration` | `.bb-offcanvas` | `var(--transition-duration)` | Duration for the stack shift + pad. Zeroed while a peer resizes so parents track the live size instead of lagging behind a 250ms animation. |
|
|
@@ -1492,7 +1498,7 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
1492
1498
|
| `--transition-timing-function` | `.bb-offcanvas` | `var(--bb-ease)` | |
|
|
1493
1499
|
| `--bg` | `.bb-offcanvas` | `var(--bb-panel)` | |
|
|
1494
1500
|
| `--fg` | `.bb-offcanvas` | `var(--bb-text)` | |
|
|
1495
|
-
| `--safe-top` | `.bb-offcanvas` | `env(safe-area-inset-top, 0px)` |
|
|
1501
|
+
| `--safe-top` | `.bb-offcanvas` | `env(safe-area-inset-top, 0px)` | Safe areas: every screen edge a panel touches absorbs that edge's inset the way the chin below always did — on the BANDS, never on the panel, so a band's fill runs to the screen edge while its content clears the notch, status bar or home indicator. --safe-* the device insets (`env()`; 0 when unsupported or without `viewport-fit=cover`) — a knob, e.g. for a test or a frame; --inset-* the inset THIS panel absorbs: `--safe-*` on the edges it touches, 0 elsewhere. Header / body / footer add it: the first band on top, the last band at the bottom, every band at the sides. |
|
|
1496
1502
|
| `--safe-right` | `.bb-offcanvas` | `env(safe-area-inset-right, 0px)` | |
|
|
1497
1503
|
| `--safe-bottom` | `.bb-offcanvas` | `env(safe-area-inset-bottom, 0px)` | |
|
|
1498
1504
|
| `--safe-left` | `.bb-offcanvas` | `env(safe-area-inset-left, 0px)` | |
|
|
@@ -1500,7 +1506,8 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
1500
1506
|
| `--inset-right` | `.bb-offcanvas` | `0px` | |
|
|
1501
1507
|
| `--inset-bottom` | `.bb-offcanvas` | `0px` | |
|
|
1502
1508
|
| `--inset-left` | `.bb-offcanvas` | `0px` | |
|
|
1503
|
-
| `--
|
|
1509
|
+
| `--ring-t` | `.bb-offcanvas__handle--slider` | `var(--bb-transition-medium)` | |
|
|
1510
|
+
| `--close-size` | `.bb-offcanvas__header` | `28px` | Shared by the close control and by the space the title reserves for it, so the two can never drift apart. |
|
|
1504
1511
|
| `--gap` | `.bb-offcanvas__footer` | `8px` | |
|
|
1505
1512
|
|
|
1506
1513
|
## Component tree
|
package/dist/ai/BbPagination.md
CHANGED
|
@@ -38,7 +38,7 @@ control clamps out-of-range pages back into `1..totalPages` (assign `99` and the
|
|
|
38
38
|
model snaps back), disables _Previous_ on page 1 and _Next_ on the last page, and
|
|
39
39
|
renders the whole range when it fits.
|
|
40
40
|
|
|
41
|
-
**Paired with a table (`table-id`), it does not clamp.** There the
|
|
41
|
+
**Paired with a table (`table-id`), it does not clamp.** There the table's handle owns
|
|
42
42
|
the page and this control takes what it was given: an out-of-range page is the
|
|
43
43
|
consumer's to own — the table renders the empty slice it implies — so correcting
|
|
44
44
|
it here would push a page nobody asked for. If you need the clamp in a paired
|
|
@@ -237,10 +237,10 @@ const sheet = ref(1);
|
|
|
237
237
|
|
|
238
238
|
When the list is a `BbTable`, skip the manual wiring: give the table an `id`
|
|
239
239
|
and the pagination the matching `table-id`. Both components publish their
|
|
240
|
-
pagination props into the shared table
|
|
240
|
+
pagination props into the shared table state (see `useBbTable`), so
|
|
241
241
|
the page count is derived automatically and the current page stays two-way
|
|
242
242
|
synced. No `v-model` needed; mount order doesn't matter, and a page already
|
|
243
|
-
present in
|
|
243
|
+
present in that state wins at mount.
|
|
244
244
|
|
|
245
245
|
The props are symmetric: `page`, `per-page`, `total-items`, and `total-pages`
|
|
246
246
|
are accepted by both components, so the server's fields can be passed to
|
|
@@ -250,7 +250,7 @@ derived from a real `total-items` always wins, and `total-pages` (on either
|
|
|
250
250
|
side) is only a seed for when no row count is known — the common case being an
|
|
251
251
|
externally paged array table, whose rows are one page and no total.
|
|
252
252
|
|
|
253
|
-
For server paging, read the shared page with `
|
|
253
|
+
For server paging, read the shared page with `useBbTable(id)` and use it
|
|
254
254
|
inside the items provider. A provider table **already treats the shared page as
|
|
255
255
|
a refetch trigger** — so a page turn re-runs the provider on its own; you do
|
|
256
256
|
_not_ list `page` in `dependencies` (that's only for your own filters/sort). The
|
|
@@ -288,7 +288,7 @@ your own. Sit the pager in the table footer:
|
|
|
288
288
|
</template>
|
|
289
289
|
<script setup lang="ts">
|
|
290
290
|
import { computed } from 'vue';
|
|
291
|
-
import { BbPagination, BbTable,
|
|
291
|
+
import { BbPagination, BbTable, useBbTable } from 'bitboss-ui';
|
|
292
292
|
import type { BbTableColumn } from 'bitboss-ui';
|
|
293
293
|
|
|
294
294
|
type AuditEvent = { id: number; action: string; actor: string; time: string };
|
|
@@ -318,11 +318,11 @@ const events: AuditEvent[] = Array.from({ length: 23 }, (_, index) => ({
|
|
|
318
318
|
).padStart(2, '0')}:${String((index * 7) % 60).padStart(2, '0')}`,
|
|
319
319
|
}));
|
|
320
320
|
|
|
321
|
-
// Same id as the table: seed `perPage` on the
|
|
322
|
-
// reads its page size from the shared
|
|
321
|
+
// Same id as the table: seed `perPage` on the handle so the table
|
|
322
|
+
// reads its page size from the shared state — no `:per-page` prop needed.
|
|
323
323
|
// `page` and `perPage` here are the same refs the pager drives and the table
|
|
324
324
|
// announces.
|
|
325
|
-
const { page, perPage, totalItems } =
|
|
325
|
+
const { page, perPage, totalItems } = useBbTable('audit-log', {
|
|
326
326
|
perPage: 5,
|
|
327
327
|
});
|
|
328
328
|
|
|
@@ -331,7 +331,7 @@ const rangeEnd = computed(() =>
|
|
|
331
331
|
Math.min(page.value * perPage.value, totalItems.value)
|
|
332
332
|
);
|
|
333
333
|
|
|
334
|
-
/** Table provider; it needs nothing from the context object — page/perPage come from the table
|
|
334
|
+
/** Table provider; it needs nothing from the context object — page/perPage come from the table handle. */
|
|
335
335
|
const fetchEvents = (): Promise<AuditEvent[]> =>
|
|
336
336
|
new Promise((resolve) => {
|
|
337
337
|
setTimeout(() => {
|
|
@@ -344,7 +344,7 @@ const fetchEvents = (): Promise<AuditEvent[]> =>
|
|
|
344
344
|
```
|
|
345
345
|
|
|
346
346
|
Any other component can join the same rendezvous with
|
|
347
|
-
`
|
|
347
|
+
`useBbTable('audit-log')` — read `ctx.page` in a toolbar, reset it after
|
|
348
348
|
a filter change — and the pager follows. Mind the id: a typo doesn't error, it
|
|
349
349
|
just pairs with nothing.
|
|
350
350
|
|
|
@@ -554,7 +554,7 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
|
|
|
554
554
|
|
|
555
555
|
- `BbTable` — the shared-id pairing above; `per-page`/`total-items` on either
|
|
556
556
|
component drive the page count.
|
|
557
|
-
- `
|
|
557
|
+
- `useBbTable` — bulk-action toolbars and filters that reset `page` to 1
|
|
558
558
|
when the query changes.
|
|
559
559
|
- `BbSelect` — a small page-size selector next to the pager; recompute
|
|
560
560
|
`total-pages` and clamp happens for free.
|
|
@@ -583,10 +583,10 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
|
|
|
583
583
|
- **Don't rebuild the window.** No manual ellipsis math, no hiding buttons with
|
|
584
584
|
CSS — `max-size` plus the container-fit behavior already handle it.
|
|
585
585
|
- **Don't fetch inside the pager.** It's a selector; watch the model (or the
|
|
586
|
-
table
|
|
586
|
+
table's handle) and fetch in your own code.
|
|
587
587
|
- **Don't feed conflicting counts to a paired table and pager.** With a
|
|
588
588
|
`table-id`, both components publish their pagination props into the shared
|
|
589
|
-
|
|
589
|
+
state; giving each a different `total-items` (or `total-pages`) is an
|
|
590
590
|
author error the library resolves arbitrarily. Pass each fact to one place.
|
|
591
591
|
|
|
592
592
|
### Accessibility
|
|
@@ -619,12 +619,12 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
|
|
|
619
619
|
| `maxSize` | `string \| number \| undefined` | `6` | | Maximum number of clickable pages displayed at all times. This has a tolerance of +/- 1 for odd / even numbering. It does not include ellipses. |
|
|
620
620
|
| `modelValue` | `number \| undefined` | `1` | | Used by v-model. The 1-based index of the current page — pagination starts on the first page, not page `0`. |
|
|
621
621
|
| `navigation` | `boolean \| undefined` | `false` | | Synchronizes the current page with the URL. Pair it with `replace` — see that prop. |
|
|
622
|
-
| `perPage` | `string \| number \| undefined` | | | Number of items per page. Together with `totalItems` it derives the page count (`ceil(totalItems / perPage)`); when unset, one page holds everything. With a `tableId` it is also published to the shared table
|
|
622
|
+
| `perPage` | `string \| number \| undefined` | | | Number of items per page. Together with `totalItems` it derives the page count (`ceil(totalItems / perPage)`); when unset, one page holds everything. With a `tableId` it is also published to the shared table state, exactly like the table's own `per-page` prop. |
|
|
623
623
|
| `queryKey` | `string \| undefined` | `"page"` | | Defines the query key to reference for maintaining navigation. |
|
|
624
624
|
| `replace` | `boolean \| undefined` | `false` | | Replaces the history entry instead of pushing one when the page changes. Recommended with `navigation`: the URL keeps the page while Back leaves the list (without it, page 12 takes eleven Backs). |
|
|
625
|
-
| `tableId` | `string \| undefined` | | | Pairs with the `BbTable` whose `id` matches, through the shared table
|
|
626
|
-
| `totalItems` | `string \| number \| undefined` | | | Total number of items across all pages. When set, the page count is derived as `ceil(totalItems / perPage)` and wins over `totalPages`. With a `tableId` it is also published to the shared table
|
|
627
|
-
| `totalPages` | `string \| number \| undefined` | | | Total number of pages. A shortcut for when the server reports a page count rather than a row count — a page count derived from `totalItems` (locally or through the shared table
|
|
625
|
+
| `tableId` | `string \| undefined` | | | Pairs with the `BbTable` whose `id` matches, through the shared table state: the page syncs both ways and its page count drives the control. `totalItems`, `perPage` and `totalPages` set here are published to that state. |
|
|
626
|
+
| `totalItems` | `string \| number \| undefined` | | | Total number of items across all pages. When set, the page count is derived as `ceil(totalItems / perPage)` and wins over `totalPages`. With a `tableId` it is also published to the shared table state, exactly like the table's own `total-items` prop. |
|
|
627
|
+
| `totalPages` | `string \| number \| undefined` | | | Total number of pages. A shortcut for when the server reports a page count rather than a row count — a page count derived from `totalItems` (locally or through the shared table state) always wins over it. Falls back to `1` when nothing provides a count. |
|
|
628
628
|
|
|
629
629
|
## Passthrough parts and states
|
|
630
630
|
|
|
@@ -673,7 +673,7 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
673
673
|
| `--page-bg` | `transparent` | chip fill at rest |
|
|
674
674
|
| `--page-bg-hover` | `var(--bb-hover)` | chip fill on hover and focus-visible |
|
|
675
675
|
| `--page-bg-active` | `var(--bb-panel)` | fill of the active chip |
|
|
676
|
-
| `--page-bg-disabled` | `transparent` | BbButton's disabled trio
|
|
676
|
+
| `--page-bg-disabled` | `transparent` | BbButton's disabled trio, for Previous / Next at the ends. A chip is transparent at rest, so the plate and frame stay transparent and the label takes the disabled grey. |
|
|
677
677
|
| `--page-text-disabled` | `color-mix( in oklab, var(--bb-text) 45%, var(--bb-panel) )` | |
|
|
678
678
|
| `--page-border-disabled` | `transparent` | |
|
|
679
679
|
|
package/dist/ai/BbPopover.md
CHANGED
|
@@ -148,7 +148,11 @@ a record and closes itself on save via the `close` callback.
|
|
|
148
148
|
<BbButton type="button" variant="ghost" @click="close">
|
|
149
149
|
Cancel
|
|
150
150
|
</BbButton>
|
|
151
|
-
<BbButton
|
|
151
|
+
<BbButton
|
|
152
|
+
:disabled="!draft?.trim()"
|
|
153
|
+
type="submit"
|
|
154
|
+
variant="primary"
|
|
155
|
+
>
|
|
152
156
|
Save
|
|
153
157
|
</BbButton>
|
|
154
158
|
</div>
|
|
@@ -163,11 +167,12 @@ import { ref } from 'vue';
|
|
|
163
167
|
import { BbButton, BbPopover, BbTextInput } from 'bitboss-ui';
|
|
164
168
|
|
|
165
169
|
const name = ref('Q3 report');
|
|
166
|
-
|
|
170
|
+
// A cleared field writes `null`.
|
|
171
|
+
const draft = ref<string | null>(name.value);
|
|
167
172
|
|
|
168
173
|
/** Commit the draft name, then dismiss via the slot `close`. */
|
|
169
174
|
const save = (close: () => void) => {
|
|
170
|
-
const next = draft.value
|
|
175
|
+
const next = draft.value?.trim();
|
|
171
176
|
if (!next) return;
|
|
172
177
|
name.value = next;
|
|
173
178
|
close();
|
package/dist/ai/BbPtScope.md
CHANGED
|
@@ -98,10 +98,10 @@ The scope follows the **component tree**, not the DOM:
|
|
|
98
98
|
layout or a parent component.
|
|
99
99
|
- A `confirm()` takes the scope of the component that called `useConfirm()`,
|
|
100
100
|
wherever `<BbHost />` is mounted. Toasts take the scope where the host is
|
|
101
|
-
mounted
|
|
102
|
-
area's
|
|
103
|
-
|
|
104
|
-
[Agent Contract § Global Host Rule](./guides/agent-contract.md)).
|
|
101
|
+
mounted, and the plugin's host does not see a scope in `App.vue`: for
|
|
102
|
+
toasts in the area's look, place one `<BbHost />` inside each area's
|
|
103
|
+
layout, within its scope. It takes over from the plugin's while mounted
|
|
104
|
+
(see [Agent Contract § Global Host Rule](./guides/agent-contract.md)).
|
|
105
105
|
|
|
106
106
|
### When NOT to use it
|
|
107
107
|
|
|
@@ -113,7 +113,7 @@ The scope follows the **component tree**, not the DOM:
|
|
|
113
113
|
|
|
114
114
|
### Works well with
|
|
115
115
|
|
|
116
|
-
- `BbHost` —
|
|
116
|
+
- `BbHost` — place one inside each scoped area layout when toasts need the
|
|
117
117
|
area's look.
|
|
118
118
|
- The [passthrough guide](./guides/passthrough.md) — grammar, merging and the
|
|
119
119
|
full parts table.
|
package/dist/ai/BbRadio.md
CHANGED
|
@@ -377,7 +377,7 @@ included). The glyph is `icon` — there is no box.
|
|
|
377
377
|
:label="method.label"
|
|
378
378
|
name="merge-method"
|
|
379
379
|
pt:description="text-xs"
|
|
380
|
-
pt:icon:focused="
|
|
380
|
+
pt:icon:focused="outline-(--bb-primary) outline-offset-2"
|
|
381
381
|
pt:label="font-medium"
|
|
382
382
|
pt:label:checked="font-semibold"
|
|
383
383
|
:value="method.value"
|
|
@@ -475,6 +475,10 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
|
|
|
475
475
|
|
|
476
476
|
### Accessibility
|
|
477
477
|
|
|
478
|
+
- On a touch screen a lone radio's row gets an invisible hit area up to 44px
|
|
479
|
+
tall, centred, with nothing moving: the full 44px with no element beside the
|
|
480
|
+
field, 4px a side with one (8px apart, the areas meet in the gap). A group
|
|
481
|
+
component spaces its own rows for this.
|
|
478
482
|
- A radio must have a `value` and share an explicit `name` with its siblings, or
|
|
479
483
|
the browser won't treat them as one exclusive group — the generated fallback
|
|
480
484
|
name is per-button and groups nothing.
|
package/dist/ai/BbRadioGroup.md
CHANGED
|
@@ -400,7 +400,11 @@ const period = ref('Week');
|
|
|
400
400
|
|
|
401
401
|
The strip has its own tokens, named and valued as a tab strip's (`--list-bg`,
|
|
402
402
|
`--p`, `--trigger-px`, `--indicator-bg`, `--indicator-h`, `--active-fg`, …):
|
|
403
|
-
set them on `pt:list` to retune one group. A
|
|
403
|
+
set them on `pt:list` to retune one group. A strip has no `size`: it is
|
|
404
|
+
`--bb-control-h` tall like a field (`compact` drops it to 28px), and you size
|
|
405
|
+
it with `--list-h`, `--list-r`, `--fs`, `--p` and `--trigger-px` on
|
|
406
|
+
`.bb-radio-group__list--strip`; beside an `sm` button that is
|
|
407
|
+
`pt:list="[--list-h:24px] [--fs:12px] [--p:2px]"`. A look of your own app-wide is a
|
|
404
408
|
registered variant: `radioVariants: ['brand']` in the build plugin, then the
|
|
405
409
|
same tokens on `.bb-radio-group__list--brand` in your CSS. A tabs theme does
|
|
406
410
|
not reach a choice strip, nor the other way round.
|
|
@@ -425,7 +429,7 @@ dot hidden with `pt:icon="hidden"`, the checked label recoloured on
|
|
|
425
429
|
pt:icon="hidden"
|
|
426
430
|
pt:item="justify-items-center rounded-[calc(var(--bb-radius)-2px)] py-1.5"
|
|
427
431
|
pt:item:checked="bg-(--bb-primary)"
|
|
428
|
-
pt:item:focus-visible="ring-2 ring-(--bb-
|
|
432
|
+
pt:item:focus-visible="ring-2 ring-(--bb-ring)"
|
|
429
433
|
pt:label="text-sm"
|
|
430
434
|
pt:label:checked="text-(--bb-primary-fg)"
|
|
431
435
|
pt:list="[--gap:2px] [--tile-min-width:0px] rounded-(--bb-radius) border p-0.5"
|
|
@@ -1015,7 +1019,7 @@ for a preset that fits any row type (never `<any>`), not an imported
|
|
|
1015
1019
|
| `selectable` | `boolean \| ((item: T) => boolean) \| undefined` | `true` | | Defines whether options are selectable. Can be a global boolean that affects all options or a function that accepts an item and returns a boolean that only affects that item. Non-selectable options are rendered disabled. |
|
|
1016
1020
|
| `validationLabel` | `string \| undefined` | | | The field's name in validation messages (`{field}`): "Email is not valid". Defaults to the `label` (or `legend`), then "This field"; never the `name`. Set it when the label is hidden or reads badly in a sentence (icon-only, a question). `BbForm` only. |
|
|
1017
1021
|
| `validationMode` | `'aggressive'` \| `'balanced'` \| `'lazy'` \| `'submit-only'` \| `'submit-live'` | | | When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `formControls.validationMode` (`'balanced'`). `BbForm` only. |
|
|
1018
|
-
| `variant` | `'pill'` \| `'line'` | | | A tab-strip look
|
|
1022
|
+
| `variant` | `'pill'` \| `'line'` | | | A tab-strip look: `'pill'` (a raised pill under the pick) or `'line'` (a bar on a baseline); the indicator slides like a tab strip's. `list-layout="vertical"` stacks it. Register more with `radioVariants`. Unset: the group's own rows. |
|
|
1019
1023
|
| `warnings` | `string \| string[] \| undefined` | | | Warning messages under the field, a string or array: amber, in their own `aria-live` region and in the control's `aria-describedby` after the errors. Non-empty turns on the warning state; errors win when both are set. |
|
|
1020
1024
|
|
|
1021
1025
|
## Passthrough parts and states
|
|
@@ -1081,11 +1085,44 @@ States are listed in precedence order: when two are on at once and their entries
|
|
|
1081
1085
|
|
|
1082
1086
|
Set these on the element, or on a class you put on it, to retune this component alone — the sanctioned alternative to reaching past the API with `:deep()`. They are this component's own locals — a **Set on** of `pt:<part>` means the local lives on that part's element, so set it through that entry (`pt:box="[--border-color:var(--color-green-500)]"`); the global `--bb-*` theme tokens are a separate tier (see the [design-tokens guide](./guides/design-tokens.md), or the MCP `list_tokens` tool).
|
|
1083
1087
|
|
|
1084
|
-
| Property | Default | What it is |
|
|
1085
|
-
| --- | --- | --- |
|
|
1086
|
-
| `--gap` | `24px` | Space between rows on one line. |
|
|
1087
|
-
| `--row-gap` | `10px` | Space between wrapped lines. |
|
|
1088
|
-
| `--tile-min-width` | `96px` | How narrow a tile may get before the tiles wrap (`tiles` only). |
|
|
1088
|
+
| Property | Set on | Default | What it is |
|
|
1089
|
+
| --- | --- | --- | --- |
|
|
1090
|
+
| `--gap` | `.bb-radio-group__list` | `24px` | Space between rows on one line. |
|
|
1091
|
+
| `--row-gap` | `.bb-radio-group__list` | `10px` | Space between wrapped lines. |
|
|
1092
|
+
| `--tile-min-width` | `.bb-radio-group__list` | `96px` | How narrow a tile may get before the tiles wrap (`tiles` only). |
|
|
1093
|
+
| `--list-bg` | `.bb-radio-group__list--strip` | `color-mix(in oklab, var(--bb-text) 8%, transparent)` | The strip behind the triggers |
|
|
1094
|
+
| `--list-border` | `.bb-radio-group__list--strip` | `transparent` | The strip's edge line, --bb-border-w thick, painted inside the strip: under the triggers (beside them when vertical). `pill` draws none; `line` sets it to --bb-border |
|
|
1095
|
+
| `--p` | `.bb-radio-group__list--strip` | `3px` | strip inner padding — the gutter the indicator sits in, and the scroll inset |
|
|
1096
|
+
| `--list-r` | `.bb-radio-group__list--strip` | `var(--bb-radius)` | strip corners |
|
|
1097
|
+
| `--list-h` | `.bb-radio-group__list--strip` | `var(--bb-control-h)` | strip min height |
|
|
1098
|
+
| `--fs` | `.bb-radio-group__list--strip` | `var(--bb-fs)` | trigger label size |
|
|
1099
|
+
| `--trigger-gap` | `.bb-radio-group__list--strip` | `0px` | space between triggers |
|
|
1100
|
+
| `--trigger-px` | `.bb-radio-group__list--strip` | `10px` | trigger side padding |
|
|
1101
|
+
| `--trigger-r` | `.bb-radio-group__list--strip` | `calc(var(--list-r) - var(--p))` | Trigger corners, concentric inside --list-r |
|
|
1102
|
+
| `--trigger-min-h` | `.bb-radio-group__list--strip` | `calc(var(--list-h) - var(--p) * 2)` | Trigger height inside the padded strip |
|
|
1103
|
+
| `--list-fg` | `.bb-radio-group__list--strip` | `var(--bb-text-muted)` | unchecked trigger label |
|
|
1104
|
+
| `--hover-fg` | `.bb-radio-group__list--strip` | `var(--bb-text)` | hovered trigger label |
|
|
1105
|
+
| `--active-fg` | `.bb-radio-group__list--strip` | `var(--bb-text)` | checked trigger label |
|
|
1106
|
+
| `--active-fw` | `.bb-radio-group__list--strip` | `500` | checked trigger label weight (unchecked labels are 500) |
|
|
1107
|
+
| `--indicator-bg` | `.bb-radio-group__list--strip` | `var(--bb-panel)` | the indicator's fill |
|
|
1108
|
+
| `--indicator-border` | `.bb-radio-group__list--strip` | `color-mix(in oklab, var(--bb-text) 8%, transparent)` | The indicator's edge |
|
|
1109
|
+
| `--indicator-r` | `.bb-radio-group__list--strip` | `var(--trigger-r)` | The indicator's corners — the pill's, concentric inside --list-r |
|
|
1110
|
+
| `--indicator-h` | `.bb-radio-group__list--strip` | `initial` | The indicator's thickness: its height, its width on a vertical strip. `initial` fills the whole trigger box — the pill; a bar is `2px`, on the trigger's bottom edge (inline-end edge when vertical) |
|
|
1111
|
+
| `--indicator-inset` | `.bb-radio-group__list--strip` | `0px` | Inset of the indicator from the trigger box — shrinks the pill; a bar keeps its thickness, shortens by it at both ends and floats it above the edge |
|
|
1112
|
+
| `--elev` | `.bb-radio-group__list--strip` | `var(--bb-elev)` | The theme's resting lift, composed UNDER the indicator's own shadow |
|
|
1113
|
+
| `--indicator-shadow` | `.bb-radio-group__list--strip` | `var(--bb-shadow-sm)` | Indicator lift, painted on top of --elev |
|
|
1114
|
+
| `--list-bg` | `.bb-radio-group__list--line` | `transparent` | |
|
|
1115
|
+
| `--list-border` | `.bb-radio-group__list--line` | `var(--bb-border)` | |
|
|
1116
|
+
| `--p` | `.bb-radio-group__list--line` | `0px` | |
|
|
1117
|
+
| `--list-r` | `.bb-radio-group__list--line` | `0px` | |
|
|
1118
|
+
| `--trigger-r` | `.bb-radio-group__list--line` | `var(--bb-radius-sm)` | |
|
|
1119
|
+
| `--active-fw` | `.bb-radio-group__list--line` | `600` | |
|
|
1120
|
+
| `--indicator-bg` | `.bb-radio-group__list--line` | `var(--bb-primary)` | |
|
|
1121
|
+
| `--indicator-border` | `.bb-radio-group__list--line` | `transparent` | |
|
|
1122
|
+
| `--indicator-r` | `.bb-radio-group__list--line` | `0` | |
|
|
1123
|
+
| `--indicator-h` | `.bb-radio-group__list--line` | `2px` | |
|
|
1124
|
+
| `--indicator-shadow` | `.bb-radio-group__list--line` | `none` | |
|
|
1125
|
+
| `--elev` | `.bb-radio-group__list--line` | `none` | |
|
|
1089
1126
|
|
|
1090
1127
|
## Component tree
|
|
1091
1128
|
|
package/dist/ai/BbRating.md
CHANGED
|
@@ -481,7 +481,7 @@ renders SSR-safe markup in Nuxt and Inertia apps.
|
|
|
481
481
|
|
|
482
482
|
| Prop | Type | Default | Required | Description |
|
|
483
483
|
| --- | --- | --- | --- | --- |
|
|
484
|
-
| `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `description`, `hint`, `item`, `label`, `message`, `root`. States: `disabled`, `errors`, `hasValue`, `readonly`, `
|
|
484
|
+
| `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `description`, `hint`, `item`, `label`, `message`, `root`. States: `disabled`, `errors`, `hasValue`, `readonly`, `warnings`, `selected`. What each one is: _Passthrough parts and states_ below. `pt` is the object form with the same keys minus the prefix (`{ icon: '…', 'icon:loading': '…' }`). See `guides/passthrough.md`. In `<script>` a `pt` value is typed `BbRatingProps['pt']` (`PtValue` is not exported): § Typing `pt` in `<script>`. |
|
|
485
485
|
| `autofocus` | `Booleanish \| undefined` | | | Focuses the field when it mounts (a dialog already open included), unless the user is typing in another field. |
|
|
486
486
|
| `clearable` | `boolean \| undefined` | `false` | | Allows clearing the selected rating by clicking the current value. |
|
|
487
487
|
| `compact` | `boolean \| undefined` | `false` | | Compact density. Swaps `--bb-label-spacing-y` for `--bb-label-spacing-y-compact`, so tune a compact group's label gap with the `-compact` token, not the base one. |
|
|
@@ -525,7 +525,7 @@ renders SSR-safe markup in Nuxt and Inertia apps.
|
|
|
525
525
|
| `description` | The muted line under the legend (the `description` prop). |
|
|
526
526
|
| `message` | The errors / warnings line. A node of its own: it can show at the same time as `hint`. |
|
|
527
527
|
| `hint` | The helper line (the `hint` prop). |
|
|
528
|
-
| `item` | One star, the choice you click: the hidden radio, its screen-reader text and the glyph — a broadcast resolved per star. The hook for the hit area, the focus ring, spacing and the disabled cursor. NOT for colour: a `text-*` class here freezes the hover preview and the error tint; set `--accent` / `--empty` / `--border-color` on `root`. The glyph has no part of its own
|
|
528
|
+
| `item` | One star, the choice you click: the hidden radio, its screen-reader text and the glyph — a broadcast resolved per star. The hook for the hit area, the focus ring, spacing and the disabled cursor. NOT for colour: a `text-*` class here freezes the hover preview and the error tint; set `--accent` / `--empty` / `--border-color` on `root`. The glyph has no part of its own: its size is the `size` prop, its colour the variables. |
|
|
529
529
|
|
|
530
530
|
States are listed in precedence order: when two are on at once and their entries conflict, the later one wins.
|
|
531
531
|
|
|
@@ -568,10 +568,11 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
568
568
|
| --- | --- | --- | --- |
|
|
569
569
|
| `--accent` | `.bb-rating` | `var(--bb-primary)` | a filled star, and the hover preview |
|
|
570
570
|
| `--empty` | `.bb-rating` | `var(--bb-panel)` | an unfilled star |
|
|
571
|
-
| `--border-color` | `.bb-rating` | `var(--bb-text-faint)` | Every star's outline. `--bb-text-faint`, not `--bb-border
|
|
572
|
-
| `--space` | `.bb-rating` | `0px` | Gap between stars. On the root
|
|
571
|
+
| `--border-color` | `.bb-rating` | `var(--bb-text-faint)` | Every star's outline. `--bb-text-faint`, not `--bb-border`: an empty star is `--empty` (the panel) inside it, so the outline alone draws the star, and a hairline read ~1.5:1 — under 3:1 in both schemes. |
|
|
572
|
+
| `--space` | `.bb-rating` | `0px` | Gap between stars. On the root so `pt:root` reaches it; the star row inherits it. Named `--space`, not `--spacing`: Tailwind v4 builds its whole spacing scale on a variable of that name, and a local of the same name zeroed every spacing utility used inside the slots. |
|
|
573
573
|
| `--ring-color` | `.bb-rating__stars` | `var(--bb-ring)` | focus ring around the focused star |
|
|
574
574
|
| `--size` | `.bb-rating__stars` | `24px` | one star's box; overridden inline from the `size` prop |
|
|
575
|
+
| `--ring-t` | `.bb-rating__item` | `var(--bb-transition-medium)` | |
|
|
575
576
|
|
|
576
577
|
## Component tree
|
|
577
578
|
|