bitboss-ui 2.1.135 → 3.0.0-alpha.4
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/LICENSE +21 -0
- package/README.md +274 -24
- package/bin/bitboss-ui-mcp.mjs +662 -0
- package/bin/bitboss-ui.mjs +710 -0
- package/bin/bitboss-ui.node.test.mjs +113 -0
- package/dist/ai/BbAccordion.md +528 -113
- package/dist/ai/BbAlert.md +380 -197
- package/dist/ai/BbAsterisk.md +46 -0
- package/dist/ai/BbAvatar.md +458 -178
- package/dist/ai/BbBadge.md +697 -225
- package/dist/ai/BbBadgeButton.md +54 -0
- package/dist/ai/BbBaseButton.md +491 -0
- package/dist/ai/BbBaseCheckbox.md +49 -0
- package/dist/ai/BbBaseCheckboxGroup.md +64 -0
- package/dist/ai/BbBaseCheckboxIcon.md +176 -0
- package/dist/ai/BbBaseColorInput.md +64 -0
- package/dist/ai/BbBaseColorPalette.md +39 -0
- package/dist/ai/BbBaseDatePicker.md +42 -0
- package/dist/ai/BbBaseDatePickerInput.md +73 -0
- package/dist/ai/BbBaseInputContainer.md +48 -0
- package/dist/ai/BbBaseNumberInput.md +71 -0
- package/dist/ai/BbBaseRadio.md +46 -0
- package/dist/ai/BbBaseRadioGroup.md +64 -0
- package/dist/ai/BbBaseRadioIcon.md +191 -0
- package/dist/ai/BbBaseRating.md +51 -0
- package/dist/ai/BbBaseSelect.md +88 -0
- package/dist/ai/BbBaseSlider.md +56 -0
- package/dist/ai/BbBaseSwitch.md +49 -0
- package/dist/ai/BbBaseSwitchGroup.md +64 -0
- package/dist/ai/BbBaseSwitchIcon.md +186 -0
- package/dist/ai/BbBaseTag.md +68 -0
- package/dist/ai/BbBaseTextInput.md +75 -0
- package/dist/ai/BbBaseTextarea.md +62 -0
- package/dist/ai/BbBaseTimePickerInput.md +62 -0
- package/dist/ai/BbBreadcrumbs.md +553 -503
- package/dist/ai/BbButton.md +841 -636
- package/dist/ai/BbCheckbox.md +585 -254
- package/dist/ai/BbCheckboxGroup.md +573 -361
- package/dist/ai/BbCollapsible.md +425 -103
- package/dist/ai/BbColorInput.md +536 -323
- package/dist/ai/BbColorPalette.md +569 -330
- package/dist/ai/BbConfirm.md +659 -136
- package/dist/ai/BbConfirmPortal.md +28 -0
- package/dist/ai/BbDatePicker.md +244 -0
- package/dist/ai/BbDatePickerInput.md +720 -388
- package/dist/ai/BbDialog.md +778 -99
- package/dist/ai/BbDropdown.md +1072 -763
- package/dist/ai/BbDropdownButton.md +525 -614
- package/dist/ai/BbDropdownGroup.md +34 -0
- package/dist/ai/BbDropzone.md +1206 -436
- package/dist/ai/BbForm.md +239 -0
- package/dist/ai/BbIcon.md +382 -212
- package/dist/ai/BbIndicator.md +283 -0
- package/dist/ai/BbNumberInput.md +717 -355
- package/dist/ai/BbOffCanvas.md +897 -498
- package/dist/ai/BbPagination.md +489 -535
- package/dist/ai/BbPopover.md +591 -546
- package/dist/ai/BbProgress.md +462 -69
- package/dist/ai/BbRadio.md +352 -229
- package/dist/ai/BbRadioGroup.md +437 -353
- package/dist/ai/BbRating.md +372 -225
- package/dist/ai/BbSelect.md +1399 -536
- package/dist/ai/BbSelectPopover.md +1255 -1578
- package/dist/ai/BbSlider.md +500 -256
- package/dist/ai/BbSmoothHeight.md +485 -139
- package/dist/ai/BbSpinner.md +718 -131
- package/dist/ai/BbSwitch.md +573 -119
- package/dist/ai/BbSwitchGroup.md +521 -214
- package/dist/ai/BbTable.md +1996 -2365
- package/dist/ai/BbTabs.md +1147 -0
- package/dist/ai/BbTabsList.md +29 -0
- package/dist/ai/BbTabsPanes.md +27 -0
- package/dist/ai/BbTabsRoot.md +57 -0
- package/dist/ai/BbTag.md +416 -292
- package/dist/ai/BbTextInput.md +878 -333
- package/dist/ai/BbTextarea.md +850 -255
- package/dist/ai/BbTimePicker.md +231 -0
- package/dist/ai/BbTimePickerInput.md +200 -0
- package/dist/ai/BbToast.md +669 -196
- package/dist/ai/BbToastPortal.md +28 -0
- package/dist/ai/BbTooltip.md +453 -346
- package/dist/ai/BbTree.md +993 -234
- package/dist/ai/ChipsBox.md +27 -199
- package/dist/ai/ClearableButton.md +21 -55
- package/dist/ai/CommaBox.md +25 -200
- package/dist/ai/CommonInputWrapper.md +42 -0
- package/dist/ai/CommonPopover.md +30 -510
- package/dist/ai/ErrorIcon.md +19 -56
- package/dist/ai/FlatListBox.md +35 -379
- package/dist/ai/GroupedListBox.md +37 -535
- package/dist/ai/GuidesComponent.md +21 -0
- package/dist/ai/ListBox.md +38 -231
- package/dist/ai/OptionsContainer.md +34 -253
- package/dist/ai/WarningIcon.md +21 -0
- package/dist/ai/components.json +15897 -0
- package/dist/ai/composables/useBbConfig.md +80 -0
- package/dist/ai/composables/useBbFormContext.md +110 -0
- package/dist/ai/composables/useBbTableContext.md +167 -0
- package/dist/ai/composables/useBbTabsContext.md +118 -0
- package/dist/ai/composables/useBroadcastChannelInstance.md +97 -0
- package/dist/ai/composables/useConfirm.md +313 -0
- package/dist/ai/composables/useCountdown.md +86 -0
- package/dist/ai/composables/useId.md +60 -0
- package/dist/ai/composables/useMobile.md +85 -0
- package/dist/ai/composables/useToast.md +238 -0
- package/dist/ai/guides/agent-contract.md +165 -0
- package/dist/ai/guides/ai-router.md +113 -0
- package/dist/ai/guides/app-layout.md +318 -0
- package/dist/ai/guides/coherence-playbook.md +136 -0
- package/dist/ai/guides/component-picker.md +236 -0
- package/dist/ai/guides/design-language.md +478 -0
- package/dist/ai/guides/design-tokens.md +450 -0
- package/dist/ai/guides/fetch-items-playbook.md +161 -0
- package/dist/ai/guides/floating-bottom-panel.md +130 -0
- package/dist/ai/guides/icons-policy.md +257 -0
- package/dist/ai/guides/inertia-helpers.md +1443 -0
- package/dist/ai/guides/inline-edit-playbook.md +267 -0
- package/dist/ai/guides/installation-and-plugin-setup.md +440 -0
- package/dist/ai/guides/migration/components/bb-alert.md +37 -0
- package/dist/ai/guides/migration/components/bb-avatar.md +24 -0
- package/dist/ai/guides/migration/components/bb-badge.md +110 -0
- package/dist/ai/guides/migration/components/bb-breadcrumbs.md +26 -0
- package/dist/ai/guides/migration/components/bb-button.md +55 -0
- package/dist/ai/guides/migration/components/bb-checkbox-group.md +54 -0
- package/dist/ai/guides/migration/components/bb-checkbox.md +45 -0
- package/dist/ai/guides/migration/components/bb-chip.md +35 -0
- package/dist/ai/guides/migration/components/bb-collapsible.md +26 -0
- package/dist/ai/guides/migration/components/bb-color-input.md +23 -0
- package/dist/ai/guides/migration/components/bb-color-palette.md +31 -0
- package/dist/ai/guides/migration/components/bb-date-picker-input.md +84 -0
- package/dist/ai/guides/migration/components/bb-dialog.md +46 -0
- package/dist/ai/guides/migration/components/bb-dropdown-button.md +31 -0
- package/dist/ai/guides/migration/components/bb-dropdown.md +36 -0
- package/dist/ai/guides/migration/components/bb-dropzone.md +27 -0
- package/dist/ai/guides/migration/components/bb-icon.md +27 -0
- package/dist/ai/guides/migration/components/bb-offcanvas.md +63 -0
- package/dist/ai/guides/migration/components/bb-pagination.md +24 -0
- package/dist/ai/guides/migration/components/bb-popover.md +52 -0
- package/dist/ai/guides/migration/components/bb-rating.md +24 -0
- package/dist/ai/guides/migration/components/bb-select-popover.md +59 -0
- package/dist/ai/guides/migration/components/bb-select.md +69 -0
- package/dist/ai/guides/migration/components/bb-slider.md +25 -0
- package/dist/ai/guides/migration/components/bb-smooth-height.md +45 -0
- package/dist/ai/guides/migration/components/bb-spinner.md +23 -0
- package/dist/ai/guides/migration/components/bb-table.md +66 -0
- package/dist/ai/guides/migration/components/bb-tabs.md +47 -0
- package/dist/ai/guides/migration/components/bb-tag.md +29 -0
- package/dist/ai/guides/migration/components/bb-text-input.md +37 -0
- package/dist/ai/guides/migration/components/bb-toast.md +47 -0
- package/dist/ai/guides/migration/components/bb-tooltip.md +34 -0
- package/dist/ai/guides/migration/components/bb-tree.md +77 -0
- package/dist/ai/guides/migration/components/use-confirm.md +46 -0
- package/dist/ai/guides/migration/v2-to-v3.md +649 -0
- package/dist/ai/guides/options-items-playbook.md +222 -0
- package/dist/ai/guides/page-shell.md +113 -0
- package/dist/ai/guides/validated-forms.md +177 -0
- package/dist/ai/index.md +158 -32
- package/dist/ai/recipes/inertia/approvals-inbox.md +1635 -0
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +1765 -0
- package/dist/ai/recipes/inertia/layout-scaffold.md +385 -0
- package/dist/ai/recipes/inertia/onboarding.md +1791 -0
- package/dist/ai/recipes/inertia/ownership-atlas.md +1327 -0
- package/dist/ai/recipes/inertia/record-form.md +1489 -0
- package/dist/ai/recipes/inertia/records-workspace.md +1416 -0
- package/dist/ai/recipes/inertia/upload-center.md +2003 -0
- package/dist/ai/recipes/inertia/wizard-form.md +1500 -0
- package/dist/ai/recipes/nuxt/approvals-inbox.md +1578 -0
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1703 -0
- package/dist/ai/recipes/nuxt/layout-scaffold.md +385 -0
- package/dist/ai/recipes/nuxt/onboarding.md +1724 -0
- package/dist/ai/recipes/nuxt/record-form.md +1502 -0
- package/dist/ai/recipes/nuxt/records-workspace.md +1329 -0
- package/dist/ai/recipes/nuxt/upload-center.md +1886 -0
- package/dist/ai/recipes/nuxt/wizard-form.md +1509 -0
- package/dist/ai/recipes/vue/approvals-inbox.md +1496 -0
- package/dist/ai/recipes/vue/inline-edit-workspace.md +1594 -0
- package/dist/ai/recipes/vue/layout-scaffold.md +385 -0
- package/dist/ai/recipes/vue/onboarding.md +1679 -0
- package/dist/ai/recipes/vue/record-form.md +1586 -0
- package/dist/ai/recipes/vue/records-workspace.md +1245 -0
- package/dist/ai/recipes/vue/upload-center.md +1845 -0
- package/dist/ai/recipes/vue/wizard-form.md +1441 -0
- package/dist/ai/source/BbAccordion.md +123 -0
- package/dist/ai/source/BbAlert.md +401 -0
- package/dist/ai/source/BbAsterisk.md +32 -0
- package/dist/ai/source/BbAvatar.md +258 -0
- package/dist/ai/source/BbBadge.md +560 -0
- package/dist/ai/source/BbBadgeButton.md +490 -0
- package/dist/ai/source/BbBaseButton.md +682 -0
- package/dist/ai/source/BbBaseCheckbox.md +461 -0
- package/dist/ai/source/BbBaseCheckboxGroup.md +554 -0
- package/dist/ai/source/BbBaseCheckboxIcon.md +201 -0
- package/dist/ai/source/BbBaseColorInput.md +416 -0
- package/dist/ai/source/BbBaseColorPalette.md +934 -0
- package/dist/ai/source/BbBaseDatePicker.md +1001 -0
- package/dist/ai/source/BbBaseDatePickerInput.md +1785 -0
- package/dist/ai/source/BbBaseInputContainer.md +1210 -0
- package/dist/ai/source/BbBaseNumberInput.md +617 -0
- package/dist/ai/source/BbBaseRadio.md +377 -0
- package/dist/ai/source/BbBaseRadioGroup.md +533 -0
- package/dist/ai/source/BbBaseRadioIcon.md +153 -0
- package/dist/ai/source/BbBaseRating.md +573 -0
- package/dist/ai/source/BbBaseSelect.md +898 -0
- package/dist/ai/source/BbBaseSlider.md +1085 -0
- package/dist/ai/source/BbBaseSwitch.md +246 -0
- package/dist/ai/source/BbBaseSwitchGroup.md +302 -0
- package/dist/ai/source/BbBaseSwitchIcon.md +206 -0
- package/dist/ai/source/BbBaseTag.md +694 -0
- package/dist/ai/source/BbBaseTextInput.md +511 -0
- package/dist/ai/source/BbBaseTextarea.md +480 -0
- package/dist/ai/source/BbBaseTimePickerInput.md +1031 -0
- package/dist/ai/source/BbBreadcrumbs.md +815 -0
- package/dist/ai/source/BbButton.md +1006 -0
- package/dist/ai/source/BbCheckbox.md +326 -0
- package/dist/ai/source/BbCheckboxGroup.md +419 -0
- package/dist/ai/source/BbCollapsible.md +137 -0
- package/dist/ai/source/BbColorInput.md +322 -0
- package/dist/ai/source/BbColorPalette.md +371 -0
- package/dist/ai/source/BbConfirm.md +193 -0
- package/dist/ai/source/BbConfirmPortal.md +74 -0
- package/dist/ai/source/BbDatePicker.md +729 -0
- package/dist/ai/source/BbDatePickerInput.md +525 -0
- package/dist/ai/source/BbDialog.md +818 -0
- package/dist/ai/source/BbDropdown.md +2387 -0
- package/dist/ai/source/BbDropdownButton.md +315 -0
- package/dist/ai/source/BbDropdownGroup.md +1259 -0
- package/dist/ai/source/BbDropzone.md +864 -0
- package/dist/ai/source/BbForm.md +100 -0
- package/dist/ai/source/BbIcon.md +214 -0
- package/dist/ai/source/BbIndicator.md +298 -0
- package/dist/ai/source/BbNumberInput.md +374 -0
- package/dist/ai/source/BbOffCanvas.md +1266 -0
- package/dist/ai/source/BbPagination.md +835 -0
- package/dist/ai/source/BbPopover.md +860 -0
- package/dist/ai/source/BbProgress.md +140 -0
- package/dist/ai/source/BbRadio.md +303 -0
- package/dist/ai/source/BbRadioGroup.md +420 -0
- package/dist/ai/source/BbRating.md +369 -0
- package/dist/ai/source/BbSelect.md +688 -0
- package/dist/ai/source/BbSelectPopover.md +2234 -0
- package/dist/ai/source/BbSlider.md +378 -0
- package/dist/ai/source/BbSmoothHeight.md +265 -0
- package/dist/ai/source/BbSpinner.md +127 -0
- package/dist/ai/source/BbSwitch.md +175 -0
- package/dist/ai/source/BbSwitchGroup.md +240 -0
- package/dist/ai/source/BbTable.md +3433 -0
- package/dist/ai/source/BbTabs.md +403 -0
- package/dist/ai/source/BbTabsList.md +578 -0
- package/dist/ai/source/BbTabsPanes.md +368 -0
- package/dist/ai/source/BbTabsRoot.md +372 -0
- package/dist/ai/source/BbTag.md +390 -0
- package/dist/ai/source/BbTextInput.md +352 -0
- package/dist/ai/source/BbTextarea.md +337 -0
- package/dist/ai/source/BbTimePicker.md +595 -0
- package/dist/ai/source/BbTimePickerInput.md +376 -0
- package/dist/ai/source/BbToast.md +525 -0
- package/dist/ai/source/BbToastPortal.md +482 -0
- package/dist/ai/source/BbTooltip.md +522 -0
- package/dist/ai/source/BbTree.md +323 -0
- package/dist/ai/source/ChipsBox.md +201 -0
- package/dist/ai/source/ClearableButton.md +70 -0
- package/dist/ai/source/CommaBox.md +202 -0
- package/dist/ai/source/CommonInputWrapper.md +554 -0
- package/dist/ai/source/CommonPopover.md +616 -0
- package/dist/ai/source/ErrorIcon.md +43 -0
- package/dist/ai/source/FlatListBox.md +396 -0
- package/dist/ai/source/GroupedListBox.md +540 -0
- package/dist/ai/source/GuidesComponent.md +383 -0
- package/dist/ai/source/ListBox.md +238 -0
- package/dist/ai/source/OptionsContainer.md +191 -0
- package/dist/ai/source/WarningIcon.md +47 -0
- package/dist/alert-variants.d.ts +19 -0
- package/dist/assets/css/reset.css_inline.js +4 -0
- package/dist/assets/svgs/alert.svg_raw.js +4 -0
- package/dist/assets/svgs/calendar.svg_raw.js +4 -0
- package/dist/assets/svgs/check_stroke.svg_raw.js +4 -0
- package/dist/assets/svgs/chevron_down.svg_raw.js +4 -0
- package/dist/assets/svgs/chevron_right.svg_raw.js +4 -0
- package/dist/assets/svgs/clear.svg_raw.js +4 -0
- package/dist/assets/svgs/clock.svg_raw.js +4 -0
- package/dist/assets/svgs/error.svg_raw.js +4 -0
- package/dist/assets/svgs/search.svg_raw.js +4 -0
- package/dist/assets/svgs/sort.svg_raw.js +4 -0
- package/dist/assets/svgs/spinner.svg_raw.js +4 -0
- package/dist/assets/svgs/user.svg_raw.js +4 -0
- package/dist/badge-variants.d.ts +19 -0
- package/dist/button-variants.d.ts +21 -0
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +9 -3
- package/dist/components/BbAccordion/BbAccordion.vue.js +6 -0
- package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +66 -0
- package/dist/components/BbAccordion/types.d.ts +12 -8
- package/dist/components/BbAlert/BbAlert.vue.d.ts +12 -3
- package/dist/components/BbAlert/BbAlert.vue.js +6 -0
- package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +65 -0
- package/dist/components/BbAlert/types.d.ts +56 -12
- package/dist/components/BbAsterisk/BbAsterisk.vue.d.ts +3 -0
- package/dist/components/BbAsterisk/BbAsterisk.vue.js +6 -0
- package/dist/components/BbAsterisk/BbAsterisk.vue_vue_type_script_setup_true_lang.js +13 -0
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +5 -0
- package/dist/components/BbAvatar/BbAvatar.vue.js +6 -0
- package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +78 -0
- package/dist/components/BbAvatar/types.d.ts +6 -5
- package/dist/components/BbBadge/BadgeAppendIcon.vue.d.ts +3 -0
- package/dist/components/BbBadge/BadgeAppendIcon.vue.js +5 -0
- package/dist/components/BbBadge/BadgeAppendIcon.vue_vue_type_script_setup_true_lang.js +22 -0
- package/dist/components/BbBadge/BadgeBodyContent.vue.d.ts +15 -0
- package/dist/components/BbBadge/BadgeBodyContent.vue.js +5 -0
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +34 -0
- package/dist/components/BbBadge/BbBadge.vue.d.ts +8 -1
- package/dist/components/BbBadge/BbBadge.vue.js +6 -0
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +83 -0
- package/dist/components/BbBadge/BbBadgeButton.vue.d.ts +12 -0
- package/dist/components/BbBadge/BbBadgeButton.vue.js +5 -0
- package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +54 -0
- package/dist/components/BbBadge/badgeButtonContext.d.ts +27 -0
- package/dist/components/BbBadge/badgeButtonContext.js +5 -0
- package/dist/components/BbBadge/types.d.ts +61 -16
- package/dist/components/BbBaseButton/BbBaseButton.vue.d.ts +13 -0
- package/dist/components/BbBaseButton/BbBaseButton.vue.js +6 -0
- package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +171 -0
- package/dist/components/BbBaseButton/RouterComponent.vue.js +5 -0
- package/dist/components/BbBaseButton/RouterComponent.vue_vue_type_script_setup_true_lang.js +29 -0
- package/dist/components/BbBaseButton/types.d.ts +191 -0
- package/dist/components/BbBaseButton/types.js +33 -0
- package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue.d.ts +40 -0
- package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue.js +6 -0
- package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue_vue_type_script_setup_true_lang.js +145 -0
- package/dist/components/BbBaseCheckbox/types.d.ts +224 -0
- package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue.d.ts +19 -0
- package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue.js +6 -0
- package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue_vue_type_script_setup_true_lang.js +190 -0
- package/dist/components/BbBaseCheckboxGroup/types.d.ts +257 -0
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.d.ts +4 -0
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.js +6 -0
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue_vue_type_script_setup_true_lang.js +43 -0
- package/dist/components/BbBaseCheckboxIcon/types.d.ts +47 -0
- package/dist/components/BbBaseColorInput/BbBaseColorInput.vue.d.ts +42 -0
- package/dist/components/BbBaseColorInput/BbBaseColorInput.vue.js +6 -0
- package/dist/components/BbBaseColorInput/BbBaseColorInput.vue_vue_type_script_setup_true_lang.js +178 -0
- package/dist/components/BbBaseColorInput/types.d.ts +210 -0
- package/dist/components/BbBaseColorPalette/BbBaseColorPalette.vue.d.ts +13 -0
- package/dist/components/BbBaseColorPalette/BbBaseColorPalette.vue.js +6 -0
- package/dist/components/BbBaseColorPalette/BbBaseColorPalette.vue_vue_type_script_setup_true_lang.js +395 -0
- package/dist/components/BbBaseColorPalette/types.d.ts +40 -0
- package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue.js +6 -0
- package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue_vue_type_script_setup_true_lang.js +300 -0
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue.d.ts +44 -0
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue.js +5 -0
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue_vue_type_script_setup_true_lang.js +310 -0
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue.d.ts +5 -0
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue.js +5 -0
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue_vue_type_script_setup_true_lang.js +63 -0
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerYearSelector.vue.d.ts +5 -0
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerYearSelector.vue.js +5 -0
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerYearSelector.vue_vue_type_script_setup_true_lang.js +75 -0
- package/dist/components/BbBaseDatePicker/typeahead.d.ts +112 -0
- package/dist/components/BbBaseDatePicker/typeahead.js +37 -0
- package/dist/components/BbBaseDatePicker/types.d.ts +97 -0
- package/dist/components/BbBaseDatePicker/useDatePickerContext.d.ts +58 -0
- package/dist/components/BbBaseDatePicker/useDatePickerContext.js +11 -0
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue.d.ts +30 -0
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue.js +6 -0
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue_vue_type_script_setup_true_lang.js +716 -0
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue.d.ts +30 -0
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue.js +6 -0
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue_vue_type_script_setup_true_lang.js +204 -0
- package/dist/components/BbBaseDatePickerInput/types.d.ts +311 -0
- package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue.d.ts +17 -0
- package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue.js +6 -0
- package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue_vue_type_script_setup_true_lang.js +191 -0
- package/dist/components/BbBaseInputContainer/types.d.ts +197 -0
- package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue.d.ts +52 -0
- package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue.js +6 -0
- package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue_vue_type_script_setup_true_lang.js +215 -0
- package/dist/components/BbBaseNumberInput/types.d.ts +211 -0
- package/dist/components/BbBaseRadio/BbBaseRadio.vue.d.ts +33 -0
- package/dist/components/BbBaseRadio/BbBaseRadio.vue.js +6 -0
- package/dist/components/BbBaseRadio/BbBaseRadio.vue_vue_type_script_setup_true_lang.js +114 -0
- package/dist/components/BbBaseRadio/types.d.ts +179 -0
- package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue.d.ts +19 -0
- package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue.js +6 -0
- package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue_vue_type_script_setup_true_lang.js +177 -0
- package/dist/components/BbBaseRadioGroup/types.d.ts +223 -0
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.d.ts +4 -0
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.js +6 -0
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue_vue_type_script_setup_true_lang.js +28 -0
- package/dist/components/BbBaseRadioIcon/types.d.ts +41 -0
- package/dist/components/BbBaseRating/BbBaseRating.vue.d.ts +38 -0
- package/dist/components/BbBaseRating/BbBaseRating.vue.js +6 -0
- package/dist/components/BbBaseRating/BbBaseRating.vue_vue_type_script_setup_true_lang.js +184 -0
- package/dist/components/BbBaseRating/types.d.ts +168 -0
- package/dist/components/BbBaseSelect/BbBaseSelect.vue.d.ts +19 -0
- package/dist/components/BbBaseSelect/BbBaseSelect.vue.js +6 -0
- package/dist/components/BbBaseSelect/BbBaseSelect.vue_vue_type_script_setup_true_lang.js +307 -0
- package/dist/components/BbBaseSelect/types.d.ts +297 -0
- package/dist/components/BbBaseSlider/BbBaseSlider.vue.d.ts +35 -0
- package/dist/components/BbBaseSlider/BbBaseSlider.vue.js +6 -0
- package/dist/components/BbBaseSlider/BbBaseSlider.vue_vue_type_script_setup_true_lang.js +324 -0
- package/dist/components/BbBaseSlider/types.d.ts +200 -0
- package/dist/components/BbBaseSwitch/BbBaseSwitch.vue.d.ts +35 -0
- package/dist/components/BbBaseSwitch/BbBaseSwitch.vue.js +6 -0
- package/dist/components/BbBaseSwitch/BbBaseSwitch.vue_vue_type_script_setup_true_lang.js +146 -0
- package/dist/components/BbBaseSwitch/types.d.ts +10 -0
- package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue.d.ts +19 -0
- package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue.js +6 -0
- package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue_vue_type_script_setup_true_lang.js +190 -0
- package/dist/components/BbBaseSwitchGroup/types.d.ts +8 -0
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.d.ts +4 -0
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.js +6 -0
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue_vue_type_script_setup_true_lang.js +30 -0
- package/dist/components/BbBaseSwitchIcon/types.d.ts +48 -0
- package/dist/components/BbBaseTag/BbBaseTag.vue.d.ts +50 -0
- package/dist/components/BbBaseTag/BbBaseTag.vue.js +6 -0
- package/dist/components/BbBaseTag/BbBaseTag.vue_vue_type_script_setup_true_lang.js +266 -0
- package/dist/components/BbBaseTag/types.d.ts +160 -0
- package/dist/components/BbBaseTextInput/BbBaseTextInput.vue.d.ts +45 -0
- package/dist/components/BbBaseTextInput/BbBaseTextInput.vue.js +6 -0
- package/dist/components/BbBaseTextInput/BbBaseTextInput.vue_vue_type_script_setup_true_lang.js +200 -0
- package/dist/components/BbBaseTextInput/types.d.ts +209 -0
- package/dist/components/BbBaseTextarea/BbBaseTextarea.vue.d.ts +39 -0
- package/dist/components/BbBaseTextarea/BbBaseTextarea.vue.js +6 -0
- package/dist/components/BbBaseTextarea/BbBaseTextarea.vue_vue_type_script_setup_true_lang.js +175 -0
- package/dist/components/BbBaseTextarea/types.d.ts +170 -0
- package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue.d.ts +27 -0
- package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue.js +6 -0
- package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue_vue_type_script_setup_true_lang.js +522 -0
- package/dist/components/BbBaseTimePickerInput/types.d.ts +151 -0
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +0 -1
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.js +6 -0
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +224 -0
- package/dist/components/BbBreadcrumbs/estimateBreadcrumbItemWidth.js +47 -0
- package/dist/components/BbBreadcrumbs/types.d.ts +37 -22
- package/dist/components/BbButton/BbButton.vue.d.ts +6 -5
- package/dist/components/BbButton/BbButton.vue.js +6 -0
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +181 -0
- package/dist/components/BbButton/types.d.ts +48 -47
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -3
- package/dist/components/BbCheckbox/BbCheckbox.vue.js +6 -0
- package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +146 -0
- package/dist/components/BbCheckbox/types.d.ts +31 -10
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +2 -13
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.js +6 -0
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +190 -0
- package/dist/components/BbCheckboxGroup/types.d.ts +51 -23
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +2 -1
- package/dist/components/BbCollapsible/BbCollapsible.vue.js +6 -0
- package/dist/components/BbCollapsible/BbCollapsible.vue_vue_type_script_setup_true_lang.js +31 -0
- package/dist/components/BbCollapsible/types.d.ts +13 -8
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +10 -1
- package/dist/components/BbColorInput/BbColorInput.vue.js +6 -0
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +177 -0
- package/dist/components/BbColorInput/types.d.ts +44 -11
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +5 -8
- package/dist/components/BbColorPalette/BbColorPalette.vue.js +5 -0
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +126 -0
- package/dist/components/BbColorPalette/types.d.ts +71 -52
- package/dist/components/BbConfirm/BbConfirm.vue.js +6 -0
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +138 -0
- package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +5 -6
- package/dist/components/BbConfirm/BbConfirmPortal.vue.js +5 -0
- package/dist/components/BbConfirm/BbConfirmPortal.vue_vue_type_script_setup_true_lang.js +19 -0
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +37 -0
- package/dist/components/BbDatePicker/BbDatePicker.vue.js +6 -0
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +319 -0
- package/dist/components/BbDatePicker/types.d.ts +159 -0
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +3 -1
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.js +6 -0
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +179 -0
- package/dist/components/BbDatePickerInput/types.d.ts +134 -16
- package/dist/components/BbDialog/BbDialog.vue.d.ts +14 -6
- package/dist/components/BbDialog/BbDialog.vue.js +6 -0
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +214 -0
- package/dist/components/BbDialog/types.d.ts +146 -1
- package/dist/components/BbDialog/useDialogStack.d.ts +5 -0
- package/dist/components/BbDialog/useDialogStack.js +20 -0
- package/dist/components/BbDropdown/AdaptiveDropdown.vue.d.ts +24 -0
- package/dist/components/BbDropdown/AdaptiveDropdown.vue.js +6 -0
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +116 -0
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +14 -7
- package/dist/components/BbDropdown/BbDropdown.vue.js +6 -0
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +561 -0
- package/dist/components/BbDropdown/BbDropdownGroup.vue.d.ts +44 -0
- package/dist/components/BbDropdown/BbDropdownGroup.vue.js +5 -0
- package/dist/components/BbDropdown/BbDropdownGroup.vue_vue_type_script_setup_true_lang.js +36 -0
- package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +31 -0
- package/dist/components/BbDropdown/BbDropdownList.vue.js +6 -0
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +470 -0
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue.d.ts +16 -0
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue.js +5 -0
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +168 -0
- package/dist/components/BbDropdown/normalizeGroups.d.ts +18 -0
- package/dist/components/BbDropdown/normalizeGroups.js +46 -0
- package/dist/components/BbDropdown/types.d.ts +468 -46
- package/dist/components/BbDropdown/types.js +4 -0
- package/dist/components/BbDropdown/useDropdownContext.d.ts +89 -0
- package/dist/components/BbDropdown/useDropdownContext.js +9 -0
- package/dist/components/BbDropdown/useDropdownGroupRegistry.d.ts +108 -0
- package/dist/components/BbDropdown/useDropdownGroupRegistry.js +5 -0
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +3 -3
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.js +6 -0
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +119 -0
- package/dist/components/BbDropdownButton/types.d.ts +47 -52
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +5 -4
- package/dist/components/BbDropzone/BbDropzone.vue.js +6 -0
- package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +308 -0
- package/dist/components/BbDropzone/types.d.ts +77 -8
- package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -2
- package/dist/components/BbIcon/BbIcon.vue.js +6 -0
- package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +65 -0
- package/dist/components/BbIcon/types.d.ts +6 -19
- package/dist/components/BbIndicator/BbIndicator.vue.d.ts +14 -0
- package/dist/components/BbIndicator/BbIndicator.vue.js +6 -0
- package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +56 -0
- package/dist/components/BbIndicator/types.d.ts +49 -0
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +12 -6
- package/dist/components/BbNumberInput/BbNumberInput.vue.js +6 -0
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +194 -0
- package/dist/components/BbNumberInput/types.d.ts +40 -4
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +16 -10
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.js +6 -0
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +284 -0
- package/dist/components/BbOffCanvas/types.d.ts +71 -39
- package/dist/components/BbOffCanvas/useOffCanvasStack.d.ts +25 -0
- package/dist/components/BbOffCanvas/useOffCanvasStack.js +68 -0
- package/dist/components/BbPagination/BbPagination.vue.d.ts +9 -4
- package/dist/components/BbPagination/BbPagination.vue.js +6 -0
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +244 -0
- package/dist/components/BbPagination/paginationFit.d.ts +38 -0
- package/dist/components/BbPagination/paginationFit.js +13 -0
- package/dist/components/BbPagination/types.d.ts +51 -16
- package/dist/components/BbPopover/BbPopover.vue.d.ts +16 -15
- package/dist/components/BbPopover/BbPopover.vue.js +6 -0
- package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +309 -0
- package/dist/components/BbPopover/escapeStack.d.ts +6 -0
- package/dist/components/BbPopover/escapeStack.js +10 -0
- package/dist/components/BbPopover/types.d.ts +90 -31
- package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -0
- package/dist/components/BbProgress/BbProgress.vue.js +6 -0
- package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +36 -0
- package/dist/components/BbProgress/types.d.ts +15 -1
- package/dist/components/BbRadio/BbRadio.vue.d.ts +5 -3
- package/dist/components/BbRadio/BbRadio.vue.js +6 -0
- package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +133 -0
- package/dist/components/BbRadio/types.d.ts +32 -9
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -14
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.js +6 -0
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +186 -0
- package/dist/components/BbRadioGroup/types.d.ts +48 -22
- package/dist/components/BbRating/BbRating.vue.d.ts +4 -1
- package/dist/components/BbRating/BbRating.vue.js +6 -0
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +150 -0
- package/dist/components/BbRating/types.d.ts +44 -10
- package/dist/components/BbSelect/BbSelect.vue.d.ts +2 -11
- package/dist/components/BbSelect/BbSelect.vue.js +6 -0
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +241 -0
- package/dist/components/BbSelect/types.d.ts +112 -59
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +1 -10
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.js +6 -0
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +639 -0
- package/dist/components/BbSelectPopover/types.d.ts +197 -105
- package/dist/components/BbSlider/BbSlider.vue.d.ts +3 -6
- package/dist/components/BbSlider/BbSlider.vue.js +6 -0
- package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +166 -0
- package/dist/components/BbSlider/types.d.ts +44 -13
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -1
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.js +6 -0
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue_vue_type_script_setup_true_lang.js +79 -0
- package/dist/components/BbSmoothHeight/types.d.ts +17 -2
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +1 -1
- package/dist/components/BbSpinner/BbSpinner.vue.js +6 -0
- package/dist/components/BbSpinner/BbSpinner.vue_vue_type_script_setup_true_lang.js +30 -0
- package/dist/components/BbSpinner/types.d.ts +10 -3
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +5 -3
- package/dist/components/BbSwitch/BbSwitch.vue.js +6 -0
- package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +142 -0
- package/dist/components/BbSwitch/types.d.ts +3 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +4 -14
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.js +6 -0
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +190 -0
- package/dist/components/BbSwitchGroup/types.d.ts +3 -22
- package/dist/components/BbTable/BbTable.vue.d.ts +58 -31
- package/dist/components/BbTable/BbTable.vue.js +6 -0
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +900 -0
- package/dist/components/BbTable/types.d.ts +213 -37
- package/dist/components/BbTable/utils.d.ts +9 -1
- package/dist/components/BbTable/utils.js +53 -0
- package/dist/components/BbTabs/BbTabs.vue.d.ts +20 -0
- package/dist/components/BbTabs/BbTabs.vue.js +6 -0
- package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +64 -0
- package/dist/components/BbTabs/BbTabsList.vue.d.ts +19 -0
- package/dist/components/BbTabs/BbTabsList.vue.js +6 -0
- package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +123 -0
- package/dist/components/BbTabs/BbTabsPanes.vue.d.ts +16 -0
- package/dist/components/BbTabs/BbTabsPanes.vue.js +6 -0
- package/dist/components/BbTabs/BbTabsPanes.vue_vue_type_script_setup_true_lang.js +35 -0
- package/dist/components/BbTabs/BbTabsRoot.vue.d.ts +20 -0
- package/dist/components/BbTabs/BbTabsRoot.vue.js +5 -0
- package/dist/components/BbTabs/BbTabsRoot.vue_vue_type_script_setup_true_lang.js +55 -0
- package/dist/components/BbTabs/types.d.ts +264 -0
- package/dist/components/BbTag/BbTag.vue.d.ts +19 -6
- package/dist/components/BbTag/BbTag.vue.js +6 -0
- package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +187 -0
- package/dist/components/BbTag/types.d.ts +55 -17
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +10 -1
- package/dist/components/BbTextInput/BbTextInput.vue.js +6 -0
- package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +195 -0
- package/dist/components/BbTextInput/types.d.ts +31 -4
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +10 -1
- package/dist/components/BbTextarea/BbTextarea.vue.js +6 -0
- package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +178 -0
- package/dist/components/BbTextarea/types.d.ts +33 -2
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +33 -0
- package/dist/components/BbTimePicker/BbTimePicker.vue.js +6 -0
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +244 -0
- package/dist/components/BbTimePicker/types.d.ts +133 -0
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +25 -0
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.js +6 -0
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +157 -0
- package/dist/components/BbTimePickerInput/types.d.ts +174 -0
- package/dist/components/BbToast/BbToast.vue.d.ts +2 -3
- package/dist/components/BbToast/BbToast.vue.js +6 -0
- package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +39 -0
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +17 -8
- package/dist/components/BbToast/BbToastMessage.vue.js +5 -0
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +170 -0
- package/dist/components/BbToast/BbToastPortal.vue.d.ts +30 -0
- package/dist/components/BbToast/BbToastPortal.vue.js +5 -0
- package/dist/components/BbToast/BbToastPortal.vue_vue_type_script_setup_true_lang.js +19 -0
- package/dist/components/BbToast/BbToastRegion.vue.d.ts +8 -0
- package/dist/components/BbToast/BbToastRegion.vue.js +5 -0
- package/dist/components/BbToast/BbToastRegion.vue_vue_type_script_setup_true_lang.js +100 -0
- package/dist/components/BbToast/types.d.ts +69 -5
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +10 -3
- package/dist/components/BbTooltip/BbTooltip.vue.js +6 -0
- package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +160 -0
- package/dist/components/BbTooltip/types.d.ts +69 -11
- package/dist/components/BbTree/BbTree.vue.d.ts +28 -13
- package/dist/components/BbTree/BbTree.vue.js +6 -0
- package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +55 -0
- package/dist/components/BbTree/BbTreeLevel.vue.d.ts +19 -0
- package/dist/components/BbTree/BbTreeLevel.vue.js +5 -0
- package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +94 -0
- package/dist/components/BbTree/context.d.ts +17 -0
- package/dist/components/BbTree/context.js +4 -0
- package/dist/components/BbTree/types.d.ts +94 -41
- package/dist/components/ChipsBox/ChipsBox.vue.d.ts +2 -1
- package/dist/components/ChipsBox/ChipsBox.vue.js +5 -0
- package/dist/components/ChipsBox/ChipsBox.vue_vue_type_script_setup_true_lang.js +98 -0
- package/dist/components/ChipsBox/types.d.ts +12 -5
- package/dist/components/ClearableButton/ClearableButton.vue.d.ts +2 -1
- package/dist/components/ClearableButton/ClearableButton.vue.js +6 -0
- package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +19 -0
- package/dist/components/ClearableButton/types.d.ts +7 -1
- package/dist/components/CloseIcon/CloseButton.vue.d.ts +5 -0
- package/dist/components/CloseIcon/CloseButton.vue.js +7 -0
- package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +23 -0
- package/dist/components/CloseIcon/types.d.ts +2 -0
- package/dist/components/CommaBox/CommaBox.vue.d.ts +2 -1
- package/dist/components/CommaBox/CommaBox.vue.js +6 -0
- package/dist/components/CommaBox/CommaBox.vue_vue_type_script_setup_true_lang.js +81 -0
- package/dist/components/CommaBox/types.d.ts +6 -7
- package/dist/components/CommonInputWrapper/CommonInputWrapper.vue.d.ts +19 -0
- package/dist/components/CommonInputWrapper/CommonInputWrapper.vue.js +6 -0
- package/dist/components/CommonInputWrapper/CommonInputWrapper.vue_vue_type_script_setup_true_lang.js +107 -0
- package/dist/components/CommonInputWrapper/types.d.ts +96 -0
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +9 -3
- package/dist/components/CommonPopover/CommonPopover.vue.js +6 -0
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +160 -0
- package/dist/components/CommonPopover/types.d.ts +65 -16
- package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +2 -0
- package/dist/components/ErrorIcon/ErrorIcon.vue.js +6 -0
- package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +16 -0
- package/dist/components/FlatListBox/FlatListBox.vue.d.ts +2 -5
- package/dist/components/FlatListBox/FlatListBox.vue.js +5 -0
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +167 -0
- package/dist/components/FlatListBox/types.d.ts +1 -1
- package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +2 -5
- package/dist/components/GroupedListBox/GroupedListBox.vue.js +5 -0
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +218 -0
- package/dist/components/ListBox/ListBox.vue.d.ts +3 -6
- package/dist/components/ListBox/ListBox.vue.js +5 -0
- package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +112 -0
- package/dist/components/ListBox/types.d.ts +1 -1
- package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +1 -0
- package/dist/components/OptionsContainer/OptionsContainer.vue.js +5 -0
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +52 -0
- package/dist/components/OptionsContainer/types.d.ts +14 -24
- package/dist/components/Transitions/ScaleFade.vue.d.ts +2 -2
- package/dist/components/Transitions/ScaleFade.vue.js +5 -0
- package/dist/components/Transitions/ScaleFade.vue_vue_type_script_setup_true_lang.js +47 -0
- package/dist/components/Transitions/Slide.vue.d.ts +15 -0
- package/dist/components/Transitions/Slide.vue.js +7 -0
- package/dist/components/Transitions/Slide.vue_vue_type_script_setup_true_lang.js +28 -0
- package/dist/components/WarningIcon/WarningIcon.vue.d.ts +5 -0
- package/dist/components/WarningIcon/WarningIcon.vue.js +6 -0
- package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +16 -0
- package/dist/components/WarningIcon/types.d.ts +3 -0
- package/dist/composables/__testResets.d.ts +1 -0
- package/dist/composables/useActiveInactiveState.d.ts +4 -0
- package/dist/composables/useActiveInactiveState.js +21 -0
- package/dist/composables/useBaseOptions.d.ts +3 -3
- package/dist/composables/useBaseOptions.js +31 -0
- package/dist/composables/useBbConfig.d.ts +8 -37
- package/dist/composables/useBbConfig.js +5 -0
- package/dist/composables/useBbDropdownContext.d.ts +89 -0
- package/dist/composables/useBbDropdownContext.js +46 -0
- package/dist/composables/useBbFormContext.d.ts +90 -0
- package/dist/composables/useBbFormContext.js +69 -0
- package/dist/composables/useBbTableContext.d.ts +195 -0
- package/dist/composables/useBbTableContext.js +208 -0
- package/dist/composables/useBbTabsContext.d.ts +111 -0
- package/dist/composables/useBbTabsContext.js +225 -0
- package/dist/composables/useBreakpoint.d.ts +13 -0
- package/dist/composables/useBreakpoint.js +39 -0
- package/dist/composables/useBroadcastChannelInstance.d.ts +1 -3
- package/dist/composables/useBroadcastChannelInstance.js +39 -0
- package/dist/composables/useCancelableFunction.js +37 -0
- package/dist/composables/useClosingInert.d.ts +28 -0
- package/dist/composables/useClosingInert.js +23 -0
- package/dist/composables/useCoherence.js +16 -0
- package/dist/composables/useConfirm.d.ts +278 -68
- package/dist/composables/useConfirm.js +130 -0
- package/dist/composables/useCountdown.js +42 -0
- package/dist/composables/useHashedWatcher.d.ts +17 -0
- package/dist/composables/useHashedWatcher.js +14 -0
- package/dist/composables/useId.d.ts +3 -2
- package/dist/composables/useIndexById.js +16 -0
- package/dist/composables/useInertiaPage.d.ts +10 -0
- package/dist/composables/useInertiaPage.js +8 -0
- package/dist/composables/useItemText.js +17 -0
- package/dist/composables/useItemValue.js +9 -0
- package/dist/composables/useItemsGetter.d.ts +1 -1
- package/dist/composables/useItemsGetter.js +30 -0
- package/dist/composables/useListboxFocus.js +66 -0
- package/dist/composables/useLocale.d.ts +1 -1
- package/dist/composables/useLocale.js +11 -0
- package/dist/composables/useLogger.d.ts +1 -1
- package/dist/composables/useLogger.js +10 -0
- package/dist/composables/useMinimalQueue.d.ts +1 -1
- package/dist/composables/useMobile.js +7 -0
- package/dist/composables/useOnFalsy.d.ts +2 -0
- package/dist/composables/useOnFalsy.js +9 -0
- package/dist/composables/useOnTruthy.d.ts +7 -0
- package/dist/composables/useOnTruthy.js +9 -0
- package/dist/composables/usePrefill.d.ts +2 -1
- package/dist/composables/usePrefill.js +24 -0
- package/dist/composables/useQuery.d.ts +15 -3
- package/dist/composables/useQuery.js +42 -0
- package/dist/composables/useRoute.js +11 -0
- package/dist/composables/useRouter.js +8 -0
- package/dist/composables/useSafeArea.d.ts +51 -0
- package/dist/composables/useSafeArea.js +16 -0
- package/dist/composables/useSegmentedFields.d.ts +104 -0
- package/dist/composables/useSegmentedFields.js +159 -0
- package/dist/composables/useTableWidthContext.d.ts +5 -0
- package/dist/composables/useTableWidthContext.js +42 -0
- package/dist/composables/useToast.d.ts +40 -70
- package/dist/composables/useToast.js +58 -0
- package/dist/composables/useTopLayer.d.ts +9 -0
- package/dist/composables/useTopLayer.js +7 -0
- package/dist/composables/useUntil.js +13 -0
- package/dist/composables/useViewportWidth.d.ts +17 -0
- package/dist/composables/useViewportWidth.js +6 -0
- package/dist/confirm-variants.d.ts +17 -0
- package/dist/deprecation/ai-deprecations.json.d.ts +784 -0
- package/dist/deprecation/ai-deprecations.json.js +4 -0
- package/dist/deprecation/removedProps.d.ts +3 -0
- package/dist/deprecation/removedProps.js +13 -0
- package/dist/directives/bbColor.d.ts +65 -0
- package/dist/directives/bbColor.js +24 -0
- package/dist/directives/bbDate.d.ts +66 -0
- package/dist/directives/bbDate.js +24 -0
- package/dist/directives/bbDropdown.d.ts +15 -11
- package/dist/directives/bbDropdown.js +23 -0
- package/dist/directives/bbTime.d.ts +64 -0
- package/dist/directives/bbTime.js +24 -0
- package/dist/directives/bbTooltip.d.ts +16 -11
- package/dist/directives/bbTooltip.js +24 -0
- package/dist/directives/createPopoverDirective.js +54 -0
- package/dist/dropdown-item-variants.d.ts +17 -0
- package/dist/i18n/index.d.ts +51 -3
- package/dist/i18n/index.js +27 -0
- package/dist/i18n/locales/cs.json +115 -0
- package/dist/i18n/locales/da.json +115 -0
- package/dist/i18n/locales/de.json +115 -0
- package/dist/i18n/locales/el.json +115 -0
- package/dist/i18n/locales/en.json +115 -0
- package/dist/i18n/locales/es.json +115 -0
- package/dist/i18n/locales/fi.json +115 -0
- package/dist/i18n/locales/fr.json +115 -0
- package/dist/i18n/locales/hu.json +115 -0
- package/dist/i18n/locales/it.json +115 -0
- package/dist/i18n/locales/ja.json +115 -0
- package/dist/i18n/locales/ko.json +115 -0
- package/dist/i18n/locales/nb.json +115 -0
- package/dist/i18n/locales/nl.json +115 -0
- package/dist/i18n/locales/pl.json +115 -0
- package/dist/i18n/locales/pt.json +115 -0
- package/dist/i18n/locales/ro.json +115 -0
- package/dist/i18n/locales/ru.json +115 -0
- package/dist/i18n/locales/sv.json +115 -0
- package/dist/i18n/locales/tr.json +115 -0
- package/dist/i18n/locales/uk.json +115 -0
- package/dist/i18n/locales/zh-cn.json +115 -0
- package/dist/icons-whitelist.d.ts +8 -0
- package/dist/index.d.ts +96 -79
- package/dist/index.js +76 -82
- package/dist/indicator-variants.d.ts +20 -0
- package/dist/llms-full.txt +79703 -0
- package/dist/llms-medium.txt +1514 -0
- package/dist/llms.txt +105 -0
- package/dist/locale-blueprint.json +141 -0
- package/dist/locale-registry.d.ts +37 -0
- package/dist/nuxt-module.d.ts +3 -0
- package/dist/nuxt.js +19 -0
- package/dist/plugin.d.ts +4 -0
- package/dist/plugin.js +22 -0
- package/dist/reset.css +1 -0
- package/dist/reset.d.ts +0 -0
- package/dist/runtime/nuxt-plugin.d.ts +2 -0
- package/dist/runtime/nuxt-plugin.js +24 -0
- package/dist/styles.css +2 -0
- package/dist/styles.d.ts +0 -0
- package/dist/toast-variants.d.ts +20 -0
- package/dist/tooltip-variants.d.ts +17 -0
- package/dist/types/ActionButton.d.ts +32 -0
- package/dist/types/AlertVariant.d.ts +16 -0
- package/dist/types/BadgeVariant.d.ts +16 -0
- package/dist/types/ButtonVariant.d.ts +17 -0
- package/dist/types/Classes.d.ts +1 -1
- package/dist/types/ColumnName.d.ts +1 -1
- package/dist/types/CommonProps.d.ts +68 -277
- package/dist/types/Config.d.ts +84 -0
- package/dist/types/ConfirmVariant.d.ts +15 -0
- package/dist/types/DropdownItemVariant.d.ts +18 -0
- package/dist/types/Icon.d.ts +5 -7
- package/dist/types/IndicatorVariant.d.ts +16 -0
- package/dist/types/InputDirection.d.ts +15 -0
- package/dist/types/ItemAccessor.d.ts +21 -0
- package/dist/types/Placement.d.ts +6 -0
- package/dist/types/ResponsiveSize.d.ts +20 -0
- package/dist/types/SizeScale.d.ts +8 -0
- package/dist/types/ToastVariant.d.ts +17 -0
- package/dist/types/TooltipVariant.d.ts +18 -0
- package/dist/utilities/functions/bytesToUnit.d.ts +2 -0
- package/dist/utilities/functions/bytesToUnit.js +18 -0
- package/dist/utilities/functions/clampPrecision.js +10 -0
- package/dist/utilities/functions/convertDateValue.d.ts +23 -10
- package/dist/utilities/functions/convertDateValue.js +12 -0
- package/dist/utilities/functions/deburr.js +5 -0
- package/dist/utilities/functions/empty.js +5 -0
- package/dist/utilities/functions/flattenTree.d.ts +1 -1
- package/dist/utilities/functions/hash.js +5 -0
- package/dist/utilities/functions/isDateDisabled.d.ts +1 -0
- package/dist/utilities/functions/isDateDisabled.js +20 -0
- package/dist/utilities/functions/isEqual.js +5 -0
- package/dist/utilities/functions/isNotEmpty.js +5 -0
- package/dist/utilities/functions/matchAnyKey.d.ts +1 -1
- package/dist/utilities/functions/matchAnyKey.js +15 -0
- package/dist/utilities/functions/parseSize.d.ts +1 -1
- package/dist/utilities/functions/parseSize.js +15 -0
- package/dist/utilities/functions/percentage.js +11 -0
- package/dist/utilities/functions/pipe.d.ts +1 -1
- package/dist/utilities/functions/reject.d.ts +25 -0
- package/dist/utilities/functions/reject.js +28 -0
- package/dist/utilities/functions/resolveEnumProp.d.ts +19 -0
- package/dist/utilities/functions/resolveEnumProp.js +5 -0
- package/dist/utilities/functions/slotKey.d.ts +13 -0
- package/dist/utilities/functions/slotKey.js +4 -0
- package/dist/utilities/functions/sort.d.ts +2 -2
- package/dist/utilities/functions/sort.js +19 -0
- package/dist/utilities/functions/throttle.js +5 -0
- package/dist/utilities/functions/waitFor.d.ts +9 -2
- package/dist/utilities/functions/waitFor.js +14 -0
- package/dist/utilities/functions/warnRemovedAttrs.d.ts +11 -0
- package/dist/utilities/functions/warnRemovedAttrs.js +20 -0
- package/dist/utilities/functions/when.js +5 -0
- package/dist/utilities/misc/iconsInjectionKey.d.ts +15 -0
- package/dist/utilities/misc/iconsInjectionKey.js +4 -0
- package/dist/utilities/misc/transitions.d.ts +5 -0
- package/dist/utilities/misc/transitions.js +8 -0
- package/dist/utils/injectLibraryStyles.d.ts +6 -0
- package/dist/utils/injectLibraryStyles.js +38 -0
- package/dist/validated/BbCheckbox.vue.d.ts +29 -0
- package/dist/validated/BbCheckbox.vue.js +5 -0
- package/dist/validated/BbCheckbox.vue_vue_type_script_setup_true_lang.js +75 -0
- package/dist/validated/BbCheckboxGroup.vue.d.ts +34 -0
- package/dist/validated/BbCheckboxGroup.vue.js +5 -0
- package/dist/validated/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +82 -0
- package/dist/validated/BbColorInput.vue.d.ts +36 -0
- package/dist/validated/BbColorInput.vue.js +5 -0
- package/dist/validated/BbColorInput.vue_vue_type_script_setup_true_lang.js +71 -0
- package/dist/validated/BbDatePickerInput.vue.d.ts +41 -0
- package/dist/validated/BbDatePickerInput.vue.js +5 -0
- package/dist/validated/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +90 -0
- package/dist/validated/BbDropzone.vue.d.ts +24 -0
- package/dist/validated/BbDropzone.vue.js +5 -0
- package/dist/validated/BbDropzone.vue_vue_type_script_setup_true_lang.js +45 -0
- package/dist/validated/BbForm.vue.d.ts +28 -0
- package/dist/validated/BbForm.vue.js +5 -0
- package/dist/validated/BbForm.vue_vue_type_script_setup_true_lang.js +42 -0
- package/dist/validated/BbNumberInput.vue.d.ts +36 -0
- package/dist/validated/BbNumberInput.vue.js +5 -0
- package/dist/validated/BbNumberInput.vue_vue_type_script_setup_true_lang.js +72 -0
- package/dist/validated/BbRadioGroup.vue.d.ts +34 -0
- package/dist/validated/BbRadioGroup.vue.js +5 -0
- package/dist/validated/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +78 -0
- package/dist/validated/BbRating.vue.d.ts +30 -0
- package/dist/validated/BbRating.vue.js +5 -0
- package/dist/validated/BbRating.vue_vue_type_script_setup_true_lang.js +63 -0
- package/dist/validated/BbSelect.vue.d.ts +46 -0
- package/dist/validated/BbSelect.vue.js +5 -0
- package/dist/validated/BbSelect.vue_vue_type_script_setup_true_lang.js +109 -0
- package/dist/validated/BbSlider.vue.d.ts +36 -0
- package/dist/validated/BbSlider.vue.js +5 -0
- package/dist/validated/BbSlider.vue_vue_type_script_setup_true_lang.js +69 -0
- package/dist/validated/BbSwitch.vue.d.ts +29 -0
- package/dist/validated/BbSwitch.vue.js +5 -0
- package/dist/validated/BbSwitch.vue_vue_type_script_setup_true_lang.js +75 -0
- package/dist/validated/BbSwitchGroup.vue.d.ts +34 -0
- package/dist/validated/BbSwitchGroup.vue.js +5 -0
- package/dist/validated/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +82 -0
- package/dist/validated/BbTag.vue.d.ts +36 -0
- package/dist/validated/BbTag.vue.js +5 -0
- package/dist/validated/BbTag.vue_vue_type_script_setup_true_lang.js +72 -0
- package/dist/validated/BbTextInput.vue.d.ts +36 -0
- package/dist/validated/BbTextInput.vue.js +5 -0
- package/dist/validated/BbTextInput.vue_vue_type_script_setup_true_lang.js +72 -0
- package/dist/validated/BbTextarea.vue.d.ts +36 -0
- package/dist/validated/BbTextarea.vue.js +5 -0
- package/dist/validated/BbTextarea.vue_vue_type_script_setup_true_lang.js +70 -0
- package/dist/validated/BbTimePickerInput.vue.d.ts +37 -0
- package/dist/validated/BbTimePickerInput.vue.js +5 -0
- package/dist/validated/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +81 -0
- package/dist/validated/index.d.ts +29 -0
- package/dist/validated/useValidatedField.d.ts +93 -0
- package/dist/validated/useValidatedField.js +51 -0
- package/dist/validated.js +21 -0
- package/dist/vite-plugin.d.ts +261 -0
- package/dist/vite.js +603 -0
- package/llms.txt +107 -0
- package/package.json +181 -60
- package/scripts/lib/__fixtures__/validated-manifest.json +65 -0
- package/scripts/lib/ensure-manifest.mjs +39 -0
- package/scripts/lib/eslint-plugin-autofix.node.test.mjs +109 -0
- package/scripts/lib/eslint-plugin-recommended.node.test.mjs +87 -0
- package/scripts/lib/eslint-plugin-slots.node.test.mjs +271 -0
- package/scripts/lib/eslint-plugin.mjs +702 -0
- package/scripts/lib/eslint-plugin.node.test.mjs +193 -0
- package/scripts/lib/html-attributes.mjs +191 -0
- package/scripts/lib/mcp-config.mjs +126 -0
- package/scripts/lib/migrate-fix.mjs +115 -0
- package/scripts/lib/validate-bb-markup.mjs +488 -0
- package/dist/ai/BaseButton.md +0 -449
- package/dist/ai/BaseCheckbox.md +0 -512
- package/dist/ai/BaseCheckboxGroup.md +0 -597
- package/dist/ai/BaseColorInput.md +0 -461
- package/dist/ai/BaseDatePicker.md +0 -739
- package/dist/ai/BaseDatePickerInput.md +0 -1517
- package/dist/ai/BaseDialog.md +0 -610
- package/dist/ai/BaseInputContainer.md +0 -570
- package/dist/ai/BaseNumberInput.md +0 -509
- package/dist/ai/BaseRadio.md +0 -405
- package/dist/ai/BaseRadioGroup.md +0 -535
- package/dist/ai/BaseRating.md +0 -489
- package/dist/ai/BaseSelect.md +0 -1742
- package/dist/ai/BaseSlider.md +0 -871
- package/dist/ai/BaseSwitch.md +0 -322
- package/dist/ai/BaseSwitchGroup.md +0 -298
- package/dist/ai/BaseTag.md +0 -623
- package/dist/ai/BaseTextInput.md +0 -392
- package/dist/ai/BaseTextarea.md +0 -398
- package/dist/ai/BbChip.md +0 -147
- package/dist/ai/BbIntersection.md +0 -120
- package/dist/ai/BbRatio.md +0 -61
- package/dist/ai/BbRows.md +0 -307
- package/dist/ai/BbTab.md +0 -950
- package/dist/ai/CommonInputInnerContainer.md +0 -414
- package/dist/ai/CommonInputOuterContainer.md +0 -55
- package/dist/components/BaseButton/BaseButton.vue.d.ts +0 -14
- package/dist/components/BaseButton/types.d.ts +0 -159
- package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +0 -39
- package/dist/components/BaseCheckbox/types.d.ts +0 -213
- package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +0 -30
- package/dist/components/BaseCheckboxGroup/types.d.ts +0 -282
- package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +0 -35
- package/dist/components/BaseColorInput/ColorPalette.vue.d.ts +0 -13
- package/dist/components/BaseColorInput/types.d.ts +0 -233
- package/dist/components/BaseDatePicker/BaseDatePickerHeader.vue.d.ts +0 -15
- package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +0 -58
- package/dist/components/BaseDatePicker/BaseDatePickerMonthSelector.vue.d.ts +0 -12
- package/dist/components/BaseDatePicker/BaseDatePickerYearSelector.vue.d.ts +0 -12
- package/dist/components/BaseDatePicker/types.d.ts +0 -100
- package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +0 -26
- package/dist/components/BaseDatePickerInput/types.d.ts +0 -206
- package/dist/components/BaseDialog/BaseDialog.vue.d.ts +0 -37
- package/dist/components/BaseDialog/types.d.ts +0 -180
- package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +0 -18
- package/dist/components/BaseInputContainer/types.d.ts +0 -126
- package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +0 -46
- package/dist/components/BaseNumberInput/types.d.ts +0 -191
- package/dist/components/BaseRadio/BaseRadio.vue.d.ts +0 -31
- package/dist/components/BaseRadio/types.d.ts +0 -173
- package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +0 -30
- package/dist/components/BaseRadioGroup/types.d.ts +0 -240
- package/dist/components/BaseRating/BaseRating.vue.d.ts +0 -35
- package/dist/components/BaseRating/types.d.ts +0 -144
- package/dist/components/BaseSelect/BaseSelect.vue.d.ts +0 -28
- package/dist/components/BaseSelect/types.d.ts +0 -470
- package/dist/components/BaseSlider/BaseSlider.vue.d.ts +0 -38
- package/dist/components/BaseSlider/types.d.ts +0 -201
- package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +0 -34
- package/dist/components/BaseSwitch/types.d.ts +0 -25
- package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +0 -30
- package/dist/components/BaseSwitchGroup/types.d.ts +0 -8
- package/dist/components/BaseTag/BaseTag.vue.d.ts +0 -37
- package/dist/components/BaseTag/types.d.ts +0 -136
- package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +0 -33
- package/dist/components/BaseTextInput/types.d.ts +0 -166
- package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +0 -31
- package/dist/components/BaseTextarea/types.d.ts +0 -151
- package/dist/components/BbChip/BbChip.vue.d.ts +0 -17
- package/dist/components/BbChip/types.d.ts +0 -23
- package/dist/components/BbIntersection/BbIntersection.vue.d.ts +0 -23
- package/dist/components/BbIntersection/types.d.ts +0 -36
- package/dist/components/BbRatio/BbRatio.vue.d.ts +0 -14
- package/dist/components/BbRatio/types.d.ts +0 -15
- package/dist/components/BbRows/BbRows.vue.d.ts +0 -62
- package/dist/components/BbRows/types.d.ts +0 -21
- package/dist/components/BbTab/BbTab.vue.d.ts +0 -27
- package/dist/components/BbTab/types.d.ts +0 -186
- package/dist/components/CommonInputInnerContainer/CommonInputInnerContainer.vue.d.ts +0 -15
- package/dist/components/CommonInputInnerContainer/types.d.ts +0 -47
- package/dist/components/CommonInputOuterContainer/CommonInputOuterContainer.vue.d.ts +0 -11
- package/dist/components/CommonInputOuterContainer/types.d.ts +0 -16
- package/dist/composables/useModalsState.d.ts +0 -5
- package/dist/composables/useQueue.d.ts +0 -58
- package/dist/composables/useWizard.d.ts +0 -85
- package/dist/i18n/en.d.ts +0 -67
- package/dist/i18n/it.d.ts +0 -67
- package/dist/index.css +0 -2
- package/dist/index100.js +0 -6
- package/dist/index101.js +0 -300
- package/dist/index102.js +0 -16
- package/dist/index103.js +0 -16
- package/dist/index104.js +0 -27
- package/dist/index109.js +0 -19
- package/dist/index11.js +0 -42
- package/dist/index110.js +0 -12
- package/dist/index111.js +0 -19
- package/dist/index112.js +0 -25
- package/dist/index114.js +0 -7
- package/dist/index115.js +0 -241
- package/dist/index116.js +0 -5
- package/dist/index117.js +0 -42
- package/dist/index118.js +0 -5
- package/dist/index119.js +0 -53
- package/dist/index120.js +0 -5
- package/dist/index121.js +0 -32
- package/dist/index122.js +0 -5
- package/dist/index124.js +0 -52
- package/dist/index125.js +0 -5
- package/dist/index126.js +0 -223
- package/dist/index128.js +0 -6
- package/dist/index129.js +0 -162
- package/dist/index13.js +0 -92
- package/dist/index130.js +0 -25
- package/dist/index131.js +0 -51
- package/dist/index132.js +0 -5
- package/dist/index133.js +0 -607
- package/dist/index135.js +0 -6
- package/dist/index136.js +0 -14
- package/dist/index137.js +0 -153
- package/dist/index139.js +0 -6
- package/dist/index14.js +0 -306
- package/dist/index140.js +0 -224
- package/dist/index141.js +0 -5
- package/dist/index143.js +0 -128
- package/dist/index145.js +0 -6
- package/dist/index146.js +0 -8
- package/dist/index147.js +0 -182
- package/dist/index149.js +0 -6
- package/dist/index15.js +0 -10
- package/dist/index151.js +0 -4
- package/dist/index152.js +0 -95
- package/dist/index154.js +0 -6
- package/dist/index155.js +0 -168
- package/dist/index157.js +0 -6
- package/dist/index158.js +0 -145
- package/dist/index16.js +0 -59
- package/dist/index160.js +0 -6
- package/dist/index161.js +0 -53
- package/dist/index163.js +0 -6
- package/dist/index164.js +0 -16
- package/dist/index166.js +0 -35
- package/dist/index168.js +0 -6
- package/dist/index169.js +0 -89
- package/dist/index171.js +0 -6
- package/dist/index172.js +0 -82
- package/dist/index174.js +0 -6
- package/dist/index175.js +0 -38
- package/dist/index176.js +0 -461
- package/dist/index177.js +0 -28
- package/dist/index178.js +0 -66
- package/dist/index18.js +0 -35
- package/dist/index180.js +0 -162
- package/dist/index181.js +0 -5
- package/dist/index182.js +0 -217
- package/dist/index183.js +0 -5
- package/dist/index184.js +0 -112
- package/dist/index185.js +0 -5
- package/dist/index186.js +0 -459
- package/dist/index188.js +0 -6
- package/dist/index19.js +0 -4
- package/dist/index192.js +0 -268
- package/dist/index194.js +0 -6
- package/dist/index195.js +0 -124
- package/dist/index197.js +0 -6
- package/dist/index198.js +0 -174
- package/dist/index2.js +0 -20
- package/dist/index20.js +0 -9
- package/dist/index200.js +0 -6
- package/dist/index201.js +0 -224
- package/dist/index203.js +0 -6
- package/dist/index204.js +0 -135
- package/dist/index206.js +0 -6
- package/dist/index207.js +0 -5
- package/dist/index208.js +0 -170
- package/dist/index21.js +0 -35
- package/dist/index210.js +0 -6
- package/dist/index211.js +0 -37
- package/dist/index213.js +0 -6
- package/dist/index214.js +0 -63
- package/dist/index216.js +0 -6
- package/dist/index217.js +0 -74
- package/dist/index219.js +0 -6
- package/dist/index22.js +0 -6
- package/dist/index220.js +0 -65
- package/dist/index222.js +0 -6
- package/dist/index223.js +0 -67
- package/dist/index225.js +0 -6
- package/dist/index226.js +0 -41
- package/dist/index228.js +0 -6
- package/dist/index229.js +0 -10
- package/dist/index23.js +0 -7
- package/dist/index230.js +0 -22
- package/dist/index232.js +0 -8
- package/dist/index233.js +0 -297
- package/dist/index235.js +0 -6
- package/dist/index236.js +0 -47
- package/dist/index237.js +0 -165
- package/dist/index239.js +0 -6
- package/dist/index24.js +0 -9
- package/dist/index241.js +0 -159
- package/dist/index243.js +0 -6
- package/dist/index244.js +0 -134
- package/dist/index246.js +0 -6
- package/dist/index247.js +0 -167
- package/dist/index249.js +0 -6
- package/dist/index25.js +0 -24
- package/dist/index250.js +0 -147
- package/dist/index252.js +0 -6
- package/dist/index253.js +0 -35
- package/dist/index255.js +0 -6
- package/dist/index256.js +0 -65
- package/dist/index258.js +0 -6
- package/dist/index259.js +0 -19
- package/dist/index260.js +0 -5
- package/dist/index261.js +0 -160
- package/dist/index263.js +0 -6
- package/dist/index264.js +0 -60
- package/dist/index266.js +0 -6
- package/dist/index267.js +0 -134
- package/dist/index269.js +0 -6
- package/dist/index27.js +0 -4
- package/dist/index271.js +0 -206
- package/dist/index273.js +0 -6
- package/dist/index274.js +0 -85
- package/dist/index275.js +0 -5
- package/dist/index276.js +0 -55
- package/dist/index277.js +0 -5
- package/dist/index278.js +0 -164
- package/dist/index28.js +0 -8
- package/dist/index280.js +0 -6
- package/dist/index281.js +0 -145
- package/dist/index283.js +0 -6
- package/dist/index284.js +0 -11
- package/dist/index285.js +0 -200
- package/dist/index287.js +0 -6
- package/dist/index288.js +0 -241
- package/dist/index29.js +0 -7
- package/dist/index290.js +0 -6
- package/dist/index291.js +0 -21
- package/dist/index293.js +0 -6
- package/dist/index294.js +0 -125
- package/dist/index296.js +0 -6
- package/dist/index297.js +0 -161
- package/dist/index299.js +0 -6
- package/dist/index30.js +0 -118
- package/dist/index300.js +0 -127
- package/dist/index302.js +0 -6
- package/dist/index303.js +0 -20
- package/dist/index305.js +0 -6
- package/dist/index306.js +0 -116
- package/dist/index307.js +0 -5
- package/dist/index308.js +0 -507
- package/dist/index31.js +0 -10
- package/dist/index310.js +0 -6
- package/dist/index311.js +0 -196
- package/dist/index313.js +0 -6
- package/dist/index314.js +0 -142
- package/dist/index316.js +0 -6
- package/dist/index317.js +0 -134
- package/dist/index319.js +0 -6
- package/dist/index32.js +0 -28
- package/dist/index320.js +0 -162
- package/dist/index322.js +0 -6
- package/dist/index323.js +0 -319
- package/dist/index325.js +0 -6
- package/dist/index326.js +0 -40
- package/dist/index327.js +0 -43
- package/dist/index328.js +0 -665
- package/dist/index33.js +0 -5
- package/dist/index330.js +0 -6
- package/dist/index331.js +0 -155
- package/dist/index333.js +0 -6
- package/dist/index334.js +0 -142
- package/dist/index336.js +0 -6
- package/dist/index337.js +0 -155
- package/dist/index339.js +0 -6
- package/dist/index34.js +0 -112
- package/dist/index340.js +0 -58
- package/dist/index341.js +0 -5
- package/dist/index342.js +0 -20
- package/dist/index344.js +0 -6
- package/dist/index345.js +0 -142
- package/dist/index347.js +0 -6
- package/dist/index349.js +0 -109
- package/dist/index351.js +0 -6
- package/dist/index352.js +0 -55
- package/dist/index353.js +0 -24
- package/dist/index354.js +0 -23
- package/dist/index355.js +0 -839
- package/dist/index356.js +0 -474
- package/dist/index357.js +0 -52
- package/dist/index358.js +0 -7
- package/dist/index36.js +0 -6
- package/dist/index38.js +0 -63
- package/dist/index39.js +0 -63
- package/dist/index40.js +0 -9
- package/dist/index42.js +0 -8
- package/dist/index43.js +0 -179
- package/dist/index44.js +0 -21
- package/dist/index46.js +0 -385
- package/dist/index48.js +0 -6
- package/dist/index49.js +0 -33
- package/dist/index5.js +0 -34
- package/dist/index50.js +0 -12
- package/dist/index51.js +0 -8
- package/dist/index52.js +0 -106
- package/dist/index53.js +0 -330
- package/dist/index54.js +0 -97
- package/dist/index55.js +0 -328
- package/dist/index56.js +0 -28
- package/dist/index57.js +0 -102
- package/dist/index58.js +0 -157
- package/dist/index6.js +0 -38
- package/dist/index60.js +0 -6
- package/dist/index61.js +0 -131
- package/dist/index62.js +0 -5
- package/dist/index65.js +0 -35
- package/dist/index66.js +0 -26
- package/dist/index68.js +0 -6
- package/dist/index69.js +0 -54
- package/dist/index7.js +0 -58
- package/dist/index71.js +0 -6
- package/dist/index72.js +0 -14
- package/dist/index74.js +0 -6
- package/dist/index75.js +0 -159
- package/dist/index77.js +0 -6
- package/dist/index78.js +0 -4
- package/dist/index79.js +0 -4
- package/dist/index80.js +0 -54
- package/dist/index81.js +0 -5
- package/dist/index82.js +0 -5
- package/dist/index83.js +0 -141
- package/dist/index85.js +0 -6
- package/dist/index86.js +0 -65
- package/dist/index88.js +0 -6
- package/dist/index89.js +0 -30
- package/dist/index9.js +0 -11
- package/dist/index90.js +0 -19
- package/dist/index91.js +0 -17
- package/dist/index92.js +0 -9
- package/dist/index93.js +0 -34
- package/dist/index95.js +0 -16
- package/dist/index96.js +0 -10
- package/dist/index97.js +0 -18
- package/dist/index98.js +0 -189
- package/dist/types/VoidHtmlElements.d.ts +0 -1
- package/dist/utilities/functions/add.d.ts +0 -1
- package/dist/utilities/functions/booleanishToBoolean.d.ts +0 -6
- package/dist/utilities/functions/capitalize.d.ts +0 -4
- package/dist/utilities/functions/cloneDeep.d.ts +0 -1
- package/dist/utilities/functions/debounce.d.ts +0 -1
- package/dist/utilities/functions/drop.d.ts +0 -1
- package/dist/utilities/functions/exceedsPrecision.d.ts +0 -1
- package/dist/utilities/functions/findRight.d.ts +0 -4
- package/dist/utilities/functions/findRightIndex.d.ts +0 -4
- package/dist/utilities/functions/flow.d.ts +0 -1
- package/dist/utilities/functions/getHueFromRGB.d.ts +0 -9
- package/dist/utilities/functions/groupBy.d.ts +0 -6
- package/dist/utilities/functions/gt.d.ts +0 -7
- package/dist/utilities/functions/hexToRGB.d.ts +0 -7
- package/dist/utilities/functions/hslToHex.d.ts +0 -1
- package/dist/utilities/functions/includes.d.ts +0 -1
- package/dist/utilities/functions/initial.d.ts +0 -1
- package/dist/utilities/functions/isCssColor.d.ts +0 -5
- package/dist/utilities/functions/lt.d.ts +0 -7
- package/dist/utilities/functions/makeUrl.d.ts +0 -1
- package/dist/utilities/functions/mapKeys.d.ts +0 -5
- package/dist/utilities/functions/mapValues.d.ts +0 -1
- package/dist/utilities/functions/matchesPropertyInsensitive.d.ts +0 -1
- package/dist/utilities/functions/max.d.ts +0 -2
- package/dist/utilities/functions/mean.d.ts +0 -4
- package/dist/utilities/functions/merge.d.ts +0 -11
- package/dist/utilities/functions/millisecondsTo.d.ts +0 -1
- package/dist/utilities/functions/negate.d.ts +0 -4
- package/dist/utilities/functions/normalizeItemGroups.d.ts +0 -13
- package/dist/utilities/functions/omit.d.ts +0 -2
- package/dist/utilities/functions/overEvery.d.ts +0 -4
- package/dist/utilities/functions/pick.d.ts +0 -1
- package/dist/utilities/functions/replace.d.ts +0 -1
- package/dist/utilities/functions/replaceInTree.d.ts +0 -4
- package/dist/utilities/functions/retry.d.ts +0 -5
- package/dist/utilities/functions/roundToTheNearest.d.ts +0 -8
- package/dist/utilities/functions/set.d.ts +0 -15
- package/dist/utilities/functions/stub.d.ts +0 -6
- package/dist/utilities/functions/transposePercent.d.ts +0 -9
- package/dist/utilities/functions/tryTo.d.ts +0 -2
- package/dist/utilities/functions/uniqBy.d.ts +0 -1
- /package/dist/{index64.js → _virtual/_plugin-vue_export-helper.js} +0 -0
- /package/dist/components/{BaseButton → BbBaseButton}/RouterComponent.vue.d.ts +0 -0
- /package/dist/components/{BaseDatePicker/BaseDatePicker.vue.d.ts → BbBaseDatePicker/BbBaseDatePicker.vue.d.ts} +0 -0
- /package/dist/{index165.js → composables/useArray.js} +0 -0
- /package/dist/{index17.js → composables/useFrameworkDetection.js} +0 -0
- /package/dist/{index12.js → composables/useId.js} +0 -0
- /package/dist/{index107.js → utilities/functions/chunk.js} +0 -0
- /package/dist/{index8.js → utilities/functions/clamp.js} +0 -0
- /package/dist/{index150.js → utilities/functions/curry.js} +0 -0
- /package/dist/{index45.js → utilities/functions/extractDomContainer.js} +0 -0
- /package/dist/{index270.js → utilities/functions/findInTree.js} +0 -0
- /package/dist/{index348.js → utilities/functions/flattenTree.js} +0 -0
- /package/dist/{index41.js → utilities/functions/get.js} +0 -0
- /package/dist/{index189.js → utilities/functions/head.js} +0 -0
- /package/dist/{index108.js → utilities/functions/identity.js} +0 -0
- /package/dist/{index179.js → utilities/functions/indexBy.js} +0 -0
- /package/dist/{index37.js → utilities/functions/isHex.js} +0 -0
- /package/dist/{index94.js → utilities/functions/isNil.js} +0 -0
- /package/dist/{index26.js → utilities/functions/isNotNil.js} +0 -0
- /package/dist/{index105.js → utilities/functions/last.js} +0 -0
- /package/dist/{index142.js → utilities/functions/noop.js} +0 -0
- /package/dist/{index231.js → utilities/functions/parseWidthString.js} +0 -0
- /package/dist/{index240.js → utilities/functions/pickBy.js} +0 -0
- /package/dist/{index123.js → utilities/functions/range.js} +0 -0
- /package/dist/{index190.js → utilities/functions/snapToStep.js} +0 -0
- /package/dist/{index191.js → utilities/functions/transpose.js} +0 -0
- /package/dist/{index106.js → utilities/functions/validateDateFormat.js} +0 -0
- /package/dist/{index10.js → utilities/functions/wait.js} +0 -0
package/dist/ai/BbBreadcrumbs.md
CHANGED
|
@@ -1,535 +1,585 @@
|
|
|
1
1
|
# BbBreadcrumbs
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## Agent Contract
|
|
4
|
+
|
|
5
|
+
- Safety level: **Consumer API**
|
|
6
|
+
- Group: **Navigation**
|
|
7
|
+
- Description: Renders hierarchical navigation paths.
|
|
8
|
+
- Usage rule: Prefer this component for consumer-facing implementations.
|
|
9
|
+
- Implementation source (only when the contract below is not enough): [source/BbBreadcrumbs.md](./source/BbBreadcrumbs.md)
|
|
10
|
+
|
|
11
|
+
## Usage & Guidelines
|
|
12
|
+
|
|
13
|
+
### When to use
|
|
14
|
+
|
|
15
|
+
Reach for `BbBreadcrumbs` to show the user's position inside a hierarchy and to
|
|
16
|
+
let them jump back up it: `Workspace → Project → Invoice #1042`. It answers
|
|
17
|
+
"where am I and how do I get back", so put it at the top of a detail view.
|
|
18
|
+
|
|
19
|
+
It is not a content switcher — for peer views of the _same_ page (Overview /
|
|
20
|
+
Activity / Settings) use `BbTabs`, and for stepping through a paged result set
|
|
21
|
+
use `BbPagination`. Show at most one breadcrumb trail per view.
|
|
22
|
+
|
|
23
|
+
### Build the trail from `items`
|
|
24
|
+
|
|
25
|
+
Each item is `{ key, text }` plus a navigation target. `key` must be unique (it
|
|
26
|
+
also becomes the crumb's named-slot name and the label fallback when `text` is
|
|
27
|
+
missing). Navigation is always the item's job — give a crumb an `href` (or
|
|
28
|
+
`to`, or an `onClick`) and it renders as a real link; **never** wrap a crumb in
|
|
29
|
+
your own click-to-route handler. Leave the **last** item without a target: it
|
|
30
|
+
is the current page, and the component marks it `aria-current="page"`
|
|
31
|
+
automatically.
|
|
32
|
+
|
|
33
|
+
**A page location trail**
|
|
34
|
+
|
|
35
|
+
```vue
|
|
36
|
+
<BbBreadcrumbs
|
|
37
|
+
:items="[
|
|
38
|
+
{ key: 'dashboard', text: 'Dashboard', href: '#dashboard' },
|
|
39
|
+
{ key: 'billing', text: 'Billing', href: '#billing' },
|
|
40
|
+
{ key: 'invoices', text: 'Invoices', href: '#invoices' },
|
|
41
|
+
{ key: 'invoice', text: 'Invoice #1042' },
|
|
42
|
+
]"
|
|
43
|
+
/>
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
A crumb accepts the standard `BbBaseButton` navigation surface: `href`, `to`,
|
|
47
|
+
`target`/`rel`, `replace`, `activeClass`/`exactActiveClass`, the Inertia visit
|
|
48
|
+
options (`method`, `data`, `headers`, `only`, `preserveScroll`,
|
|
49
|
+
`preserveState`, lifecycle hooks), plus `onClick` and a per-item `disabled`.
|
|
50
|
+
Three base-button props are deliberately **not** part of the item grammar:
|
|
51
|
+
`block`, `tag`, and `type`. Per-crumb icons use the item fields `prepend:icon`
|
|
52
|
+
and `append:icon` (rendered outside the link); reach for slots only when the
|
|
53
|
+
icon needs to vary beyond a static name.
|
|
54
|
+
|
|
55
|
+
`disabled` works at two levels: on one item (that crumb loses its `href` and
|
|
56
|
+
gains `aria-disabled`) or on the whole component (every crumb and the overflow
|
|
57
|
+
button freeze). Use it for trails pointing into content the user can no longer
|
|
58
|
+
open — never ship a dead link.
|
|
59
|
+
|
|
60
|
+
#### Settings › Team › Members
|
|
61
|
+
|
|
62
|
+
The classic product trail is a settings hierarchy with real links on every
|
|
63
|
+
ancestor. Hash `href`s keep the example from navigating away; in an app use
|
|
64
|
+
route paths or `to`.
|
|
65
|
+
|
|
66
|
+
**Settings › Team › Members**
|
|
4
67
|
|
|
5
68
|
```vue
|
|
6
69
|
<template>
|
|
7
|
-
<
|
|
8
|
-
:
|
|
9
|
-
class="bb-breadcrumbs"
|
|
10
|
-
ref="navRef"
|
|
11
|
-
:style="breadcrumbsCssVariables"
|
|
70
|
+
<div
|
|
71
|
+
class="max-w-md overflow-hidden rounded-[var(--bb-radius)] border border-[color:var(--bb-border)]"
|
|
12
72
|
>
|
|
13
|
-
<div class="bb-
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
class="
|
|
17
|
-
|
|
18
|
-
|
|
73
|
+
<div class="space-y-2 border-b border-[color:var(--bb-border)] p-3">
|
|
74
|
+
<BbBreadcrumbs :items="trail" :offset-width="54" />
|
|
75
|
+
<div class="flex flex-col gap-0.5">
|
|
76
|
+
<p class="text-sm font-medium">Members</p>
|
|
77
|
+
<p class="text-xs text-[color:var(--bb-text-muted)]">
|
|
78
|
+
Northwind Billing · invite and manage workspace access.
|
|
79
|
+
</p>
|
|
19
80
|
</div>
|
|
20
|
-
|
|
21
|
-
<!-- Overflow ellipsis + dropdown (shown when some items are hidden) -->
|
|
22
|
-
<template v-if="overflowCount > 0">
|
|
23
|
-
<li class="bb-breadcrumbs__item">
|
|
24
|
-
<BbDropdown
|
|
25
|
-
:items="overflowDropdownItems"
|
|
26
|
-
placement="bottom-start"
|
|
27
|
-
:boundary="navRef"
|
|
28
|
-
:padding="0"
|
|
29
|
-
>
|
|
30
|
-
<template #activator="{ props: activatorProps }">
|
|
31
|
-
<slot
|
|
32
|
-
name="ellipsis"
|
|
33
|
-
v-bind="{
|
|
34
|
-
props: activatorProps,
|
|
35
|
-
disabled,
|
|
36
|
-
overflowCount,
|
|
37
|
-
ellipsisWidth: resolvedEllipsisWidth,
|
|
38
|
-
}"
|
|
39
|
-
>
|
|
40
|
-
<span class="bb-breadcrumbs__breadcrumb-container">
|
|
41
|
-
<button
|
|
42
|
-
v-bind="activatorProps"
|
|
43
|
-
:aria-label="resolvedEllipsisAriaLabel"
|
|
44
|
-
class="bb-breadcrumbs__ellipsis"
|
|
45
|
-
:disabled="disabled"
|
|
46
|
-
type="button"
|
|
47
|
-
>
|
|
48
|
-
…
|
|
49
|
-
</button>
|
|
50
|
-
</span>
|
|
51
|
-
</slot>
|
|
52
|
-
</template>
|
|
53
|
-
</BbDropdown>
|
|
54
|
-
<span
|
|
55
|
-
v-if="overflowCount < items.length"
|
|
56
|
-
aria-hidden="true"
|
|
57
|
-
class="bb-breadcrumbs__divider"
|
|
58
|
-
>
|
|
59
|
-
<slot name="divider">{{ props.divider }}</slot>
|
|
60
|
-
</span>
|
|
61
|
-
</li>
|
|
62
|
-
</template>
|
|
81
|
+
</div>
|
|
63
82
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
<slot
|
|
70
|
-
:disabled="!!(item.disabled || disabled)"
|
|
71
|
-
:index="index"
|
|
72
|
-
:item="items[index]"
|
|
73
|
-
name="item:prepend"
|
|
74
|
-
:text="item.text"
|
|
75
|
-
/>
|
|
76
|
-
<BaseButton
|
|
77
|
-
v-bind="item"
|
|
78
|
-
:aria-current="
|
|
79
|
-
index === items.length - 1 ? 'page' : undefined
|
|
80
|
-
"
|
|
81
|
-
class="bb-breadcrumbs__breadcrumb"
|
|
82
|
-
:disabled="item.disabled || disabled"
|
|
83
|
-
>
|
|
84
|
-
<slot
|
|
85
|
-
:disabled="!!(item.disabled || disabled)"
|
|
86
|
-
:index="index"
|
|
87
|
-
:item="items[index]"
|
|
88
|
-
:name="`${item.key}`"
|
|
89
|
-
:text="item.text"
|
|
90
|
-
/>
|
|
91
|
-
</BaseButton>
|
|
92
|
-
<slot
|
|
93
|
-
:disabled="!!(item.disabled || disabled)"
|
|
94
|
-
:index="index"
|
|
95
|
-
:item="items[index]"
|
|
96
|
-
name="item:append"
|
|
97
|
-
:text="item.text"
|
|
98
|
-
/>
|
|
99
|
-
</span>
|
|
100
|
-
<span
|
|
101
|
-
v-if="index < items.length - 1"
|
|
102
|
-
aria-hidden="true"
|
|
103
|
-
class="bb-breadcrumbs__divider"
|
|
104
|
-
>
|
|
105
|
-
<slot name="divider">{{ props.divider }}</slot>
|
|
106
|
-
</span>
|
|
107
|
-
</li>
|
|
108
|
-
</template>
|
|
109
|
-
</template>
|
|
110
|
-
</ol>
|
|
111
|
-
<div
|
|
112
|
-
v-if="$slots.append"
|
|
113
|
-
class="bb-breadcrumbs__edge bb-breadcrumbs__edge--append"
|
|
83
|
+
<ul class="divide-y divide-[color:var(--bb-border)] px-3">
|
|
84
|
+
<li
|
|
85
|
+
v-for="member in members"
|
|
86
|
+
:key="member.email"
|
|
87
|
+
class="flex items-center justify-between gap-2 py-2 text-sm"
|
|
114
88
|
>
|
|
115
|
-
<
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
89
|
+
<span class="min-w-0 truncate">
|
|
90
|
+
<span class="font-medium">{{ member.name }}</span>
|
|
91
|
+
<span class="text-xs text-[color:var(--bb-text-muted)]">
|
|
92
|
+
· {{ member.email }}</span
|
|
93
|
+
>
|
|
94
|
+
</span>
|
|
95
|
+
<span class="shrink-0 text-xs text-[color:var(--bb-text-muted)]">{{
|
|
96
|
+
member.role
|
|
97
|
+
}}</span>
|
|
98
|
+
</li>
|
|
99
|
+
</ul>
|
|
100
|
+
</div>
|
|
119
101
|
</template>
|
|
120
102
|
|
|
121
103
|
<script setup lang="ts">
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
defineSlots<BbBreadcrumbsSlots>();
|
|
147
|
-
|
|
148
|
-
// Template refs
|
|
149
|
-
const navRef = ref<HTMLElement | null>(null);
|
|
150
|
-
|
|
151
|
-
const overflowCount = ref(0);
|
|
152
|
-
const resolvedGapWidth = computed(() => props.gapWidth);
|
|
153
|
-
const resolvedOffsetWidth = computed(() => Math.max(0, props.offsetWidth));
|
|
154
|
-
const resolvedEstimationBias = computed(() => props.estimationBias);
|
|
155
|
-
const resolvedEllipsisWidth = computed(
|
|
156
|
-
() => props.ellipsisWidth ?? estimateEllipsisWidth(FONT_WIDTH)
|
|
157
|
-
);
|
|
158
|
-
const resolvedAriaLabel = computed(() => t('breadcrumbs.label').value);
|
|
159
|
-
const resolvedEllipsisAriaLabel = computed(
|
|
160
|
-
() => t('breadcrumbs.openHiddenLabelCount', overflowCount.value).value
|
|
161
|
-
);
|
|
104
|
+
import { BbBreadcrumbs } from 'bitboss-ui';
|
|
105
|
+
import type { BbBreadcrumbsItem } from 'bitboss-ui';
|
|
106
|
+
|
|
107
|
+
// Settings › Team › Members — routed trail. Ancestors use hash `href` so the
|
|
108
|
+
// crumb is a real link; the current page stays without a target.
|
|
109
|
+
const trail: BbBreadcrumbsItem[] = [
|
|
110
|
+
{
|
|
111
|
+
key: 'settings',
|
|
112
|
+
text: 'Settings',
|
|
113
|
+
href: '#settings',
|
|
114
|
+
'prepend:icon': 'lucide:settings',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
key: 'team',
|
|
118
|
+
text: 'Team',
|
|
119
|
+
href: '#team',
|
|
120
|
+
'prepend:icon': 'lucide:users',
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
key: 'members',
|
|
124
|
+
text: 'Members',
|
|
125
|
+
'prepend:icon': 'lucide:user-round',
|
|
126
|
+
},
|
|
127
|
+
];
|
|
162
128
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
fontWidth: FONT_WIDTH,
|
|
171
|
-
});
|
|
172
|
-
};
|
|
129
|
+
const members = [
|
|
130
|
+
{ name: 'Alex Rivera', email: 'alex@northwind.io', role: 'Owner' },
|
|
131
|
+
{ name: 'Sam Chen', email: 'sam@northwind.io', role: 'Admin' },
|
|
132
|
+
{ name: 'Jordan Lee', email: 'jordan@northwind.io', role: 'Editor' },
|
|
133
|
+
];
|
|
134
|
+
</script>
|
|
135
|
+
```
|
|
173
136
|
|
|
174
|
-
|
|
175
|
-
const n = props.items.length;
|
|
176
|
-
if (n === 0) {
|
|
177
|
-
return 0;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
const dividerW = props.dividerWidth;
|
|
181
|
-
const gapW = resolvedGapWidth.value;
|
|
182
|
-
const itemWidths = props.items.map(estimateItemWidth);
|
|
183
|
-
const itemsWidth = itemWidths.reduce((sum, width) => sum + width, 0);
|
|
184
|
-
const dividerAndGapWidth = n > 1 ? (n - 1) * (dividerW + 2 * gapW) : 0;
|
|
185
|
-
|
|
186
|
-
return (
|
|
187
|
-
itemsWidth +
|
|
188
|
-
dividerAndGapWidth +
|
|
189
|
-
resolvedOffsetWidth.value +
|
|
190
|
-
SAFETY_MARGIN_WIDTH +
|
|
191
|
-
FLEX_BASIS_OFFSET_WIDTH
|
|
192
|
-
);
|
|
193
|
-
});
|
|
194
|
-
|
|
195
|
-
const breadcrumbsCssVariables = computed(() => ({
|
|
196
|
-
'--bb-breadcrumbs-flex-basis': `${Math.ceil(estimatedRequiredWidth.value)}px`,
|
|
197
|
-
// Allow recovery from collapsed states while keeping non-greedy behavior when fully visible.
|
|
198
|
-
'--bb-breadcrumbs-flex-grow': overflowCount.value > 0 ? '1' : '0',
|
|
199
|
-
}));
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* Computes the overflow count from estimated content widths.
|
|
203
|
-
*/
|
|
204
|
-
const recompute = (availableWidth: number) => {
|
|
205
|
-
const n = props.items.length;
|
|
206
|
-
if (n === 0) {
|
|
207
|
-
overflowCount.value = 0;
|
|
208
|
-
return;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
const effectiveAvailableWidth = Math.max(
|
|
212
|
-
0,
|
|
213
|
-
availableWidth -
|
|
214
|
-
COLLAPSE_BUFFER -
|
|
215
|
-
resolvedOffsetWidth.value -
|
|
216
|
-
SAFETY_MARGIN_WIDTH
|
|
217
|
-
);
|
|
218
|
-
const dividerW = props.dividerWidth;
|
|
219
|
-
const ellipsisW = resolvedEllipsisWidth.value;
|
|
220
|
-
const gapW = resolvedGapWidth.value;
|
|
221
|
-
const itemWidths = props.items.map(estimateItemWidth);
|
|
222
|
-
const suffixSums = Array.from({ length: n + 1 }, () => 0);
|
|
223
|
-
for (let index = n - 1; index >= 0; index--) {
|
|
224
|
-
suffixSums[index] = suffixSums[index + 1] + itemWidths[index];
|
|
225
|
-
}
|
|
226
|
-
const isNearThreshold = (width: number) =>
|
|
227
|
-
effectiveAvailableWidth - width <= SAFETY_MARGIN_WIDTH / 2;
|
|
228
|
-
|
|
229
|
-
// Total width with all items and no ellipsis:
|
|
230
|
-
// item0 [gap] div0 [gap] item1 ... item_{n-1} (last divider is display:none)
|
|
231
|
-
// = sum(items) + (n-1)*(dividerW + 2*GAP)
|
|
232
|
-
const totalNoOverflow =
|
|
233
|
-
suffixSums[0] + (n > 1 ? (n - 1) * (dividerW + 2 * gapW) : 0);
|
|
234
|
-
|
|
235
|
-
if (totalNoOverflow <= effectiveAvailableWidth) {
|
|
236
|
-
if (n > 1 && isNearThreshold(totalNoOverflow)) {
|
|
237
|
-
overflowCount.value = 1;
|
|
238
|
-
return;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
overflowCount.value = 0;
|
|
242
|
-
return;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
// Find the largest M (items visible from the end) such that
|
|
246
|
-
// ellipsis + M items fit: ellipsisW + M*(dividerW + 2*GAP) + sum(last M items) <= available
|
|
247
|
-
// When M=0: only ellipsis shown (the trailing divider is hidden by :last-of-type)
|
|
248
|
-
for (let M = n - 1; M >= 0; M--) {
|
|
249
|
-
const lastMSum = suffixSums[n - M];
|
|
250
|
-
const totalWithEllipsis = ellipsisW + M * (dividerW + 2 * gapW) + lastMSum;
|
|
251
|
-
if (totalWithEllipsis <= effectiveAvailableWidth) {
|
|
252
|
-
if (M > 0 && isNearThreshold(totalWithEllipsis)) {
|
|
253
|
-
overflowCount.value = n - (M - 1);
|
|
254
|
-
return;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
overflowCount.value = n - M;
|
|
258
|
-
return;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
// Ellipsis alone doesn't fit — overflow everything anyway
|
|
263
|
-
overflowCount.value = n;
|
|
264
|
-
};
|
|
137
|
+
### Long trails collapse on their own
|
|
265
138
|
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
let scheduledFrameId: number | null = null;
|
|
273
|
-
|
|
274
|
-
const flushScheduledRecompute = () => {
|
|
275
|
-
scheduledFrameId = null;
|
|
276
|
-
if (scheduledWidth == null) {
|
|
277
|
-
return;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
const width = scheduledWidth;
|
|
281
|
-
scheduledWidth = null;
|
|
282
|
-
recompute(width);
|
|
283
|
-
};
|
|
139
|
+
You do not manage overflow. When the trail is wider than its container the
|
|
140
|
+
**earliest** crumbs fold, root-first, into an ellipsis menu (a `BbDropdown`)
|
|
141
|
+
that lists the hidden levels — the current page and its nearest ancestors stay
|
|
142
|
+
visible. Hidden crumbs keep their full navigation target inside the menu, so
|
|
143
|
+
nothing becomes unreachable. Just pass the full `items` array and let the
|
|
144
|
+
component measure — narrow the frame below to watch it collapse.
|
|
284
145
|
|
|
285
|
-
|
|
286
|
-
scheduledWidth = availableWidth;
|
|
287
|
-
if (scheduledFrameId != null) {
|
|
288
|
-
return;
|
|
289
|
-
}
|
|
146
|
+
**Overflow folds into an ellipsis menu**
|
|
290
147
|
|
|
291
|
-
|
|
292
|
-
|
|
148
|
+
```vue
|
|
149
|
+
<div class="max-w-xs">
|
|
150
|
+
<BbBreadcrumbs
|
|
151
|
+
:items="[
|
|
152
|
+
{ key: 'workspace', text: 'Workspace', href: '#workspace' },
|
|
153
|
+
{ key: 'engineering', text: 'Engineering', href: '#engineering' },
|
|
154
|
+
{ key: 'frontend', text: 'Frontend', href: '#frontend' },
|
|
155
|
+
{ key: 'design-system', text: 'Design System', href: '#design-system' },
|
|
156
|
+
{ key: 'components', text: 'Components', href: '#components' },
|
|
157
|
+
{ key: 'breadcrumbs', text: 'Breadcrumbs' },
|
|
158
|
+
]"
|
|
159
|
+
/>
|
|
160
|
+
</div>
|
|
161
|
+
```
|
|
293
162
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
// Recompute when items change (text may change width)
|
|
299
|
-
watch(
|
|
300
|
-
[
|
|
301
|
-
breadcrumbsEl,
|
|
302
|
-
itemsWidthSignature,
|
|
303
|
-
() => props.dividerWidth,
|
|
304
|
-
() => props.gapWidth,
|
|
305
|
-
() => props.offsetWidth,
|
|
306
|
-
() => props.estimationBias,
|
|
307
|
-
() => props.ellipsisWidth,
|
|
308
|
-
],
|
|
309
|
-
([currentBreadcrumbsEl]) => {
|
|
310
|
-
if (currentBreadcrumbsEl) {
|
|
311
|
-
scheduleRecompute(currentBreadcrumbsEl.clientWidth);
|
|
312
|
-
}
|
|
313
|
-
},
|
|
314
|
-
{ immediate: true }
|
|
315
|
-
);
|
|
163
|
+
The collapse math is an **estimate**, not a DOM measurement: item widths are
|
|
164
|
+
derived from their label text at the component's built-in type scale, then
|
|
165
|
+
compared with the observed container width on every resize (coalesced to one
|
|
166
|
+
recompute per frame). Estimation-side props tune it when reality diverges:
|
|
316
167
|
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
</script>
|
|
168
|
+
- `offset-width` — extra one-off pixels the estimator can't see: your
|
|
169
|
+
`prepend`/`append`/per-item slot content. The single most common knob.
|
|
170
|
+
- `estimation-bias` — multiplier on every estimated item width; raise it if
|
|
171
|
+
crumbs clip before collapsing (e.g. a wider custom font), lower it if the
|
|
172
|
+
trail collapses too eagerly.
|
|
173
|
+
- `divider-width` / `gap-width` — tell the estimator about a resized divider
|
|
174
|
+
slot or a changed gap (`gap-width` also drives the rendered gap).
|
|
175
|
+
- `ellipsis-width` — explicit reserved width when you replace the `ellipsis`
|
|
176
|
+
slot with something wider than the default `…`.
|
|
177
|
+
|
|
178
|
+
Leave them all at their defaults until you see a wrong fold; then reach for the
|
|
179
|
+
one matching what you changed. There is no "max visible items" prop — the fold
|
|
180
|
+
point is always width-driven.
|
|
331
181
|
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
182
|
+
#### Give it a stable basis in a flex row
|
|
183
|
+
|
|
184
|
+
The component measures its own width to decide the fold, so in a flex parent —
|
|
185
|
+
a topbar with the trail on the left and a search/actions cluster on the right is
|
|
186
|
+
the classic case — hand it a **stable basis** and let the siblings hold their
|
|
187
|
+
size:
|
|
188
|
+
|
|
189
|
+
```vue
|
|
190
|
+
<div class="flex items-center justify-between gap-4">
|
|
191
|
+
<!-- Takes the row's slack and shrinks/overflows on a stable basis. -->
|
|
192
|
+
<BbBreadcrumbs class="min-w-0 flex-auto" :items="trail" />
|
|
193
|
+
<div class="flex shrink-0 items-center gap-2"><!-- search, actions --></div>
|
|
194
|
+
</div>
|
|
335
195
|
```
|
|
336
196
|
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
* Click handler of the button.
|
|
346
|
-
*/
|
|
347
|
-
onClick?: (...args: any[]) => any;
|
|
348
|
-
/**
|
|
349
|
-
* Key that uniquely identifies the breadcrumb.
|
|
350
|
-
*/
|
|
351
|
-
key: string | number;
|
|
352
|
-
};
|
|
197
|
+
Without `flex-auto` (`flex: 1 1 auto`) the trail is **content-sized**: every
|
|
198
|
+
overflow toggle changes its width, the resize observer sees the change and
|
|
199
|
+
recomputes, and the recompute toggles the width again — a per-frame feedback
|
|
200
|
+
loop that glitches visibly. `min-w-0` lets it actually shrink to trigger the
|
|
201
|
+
overflow menu; `shrink-0` on the sibling keeps the search/actions from being
|
|
202
|
+
squeezed first. The component now detects and aborts a runaway loop (and warns
|
|
203
|
+
in dev — `"BbBreadcrumbs: aborted a runaway resize→recompute loop"`), but that
|
|
204
|
+
warning is a smell: fix the container instead of relying on the guard.
|
|
353
205
|
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* Array of items that describe how the breadcrumbs should behave.
|
|
357
|
-
* Compatible with navigating through `a` or `router-link`.
|
|
358
|
-
*/
|
|
359
|
-
items: Item[];
|
|
360
|
-
/**
|
|
361
|
-
* Text content of the divider.
|
|
362
|
-
*/
|
|
363
|
-
divider?: string;
|
|
364
|
-
/**
|
|
365
|
-
* Width of the divider in pixels.
|
|
366
|
-
* @defaultValue `5`
|
|
367
|
-
*/
|
|
368
|
-
dividerWidth?: number;
|
|
369
|
-
/**
|
|
370
|
-
* Horizontal gap between breadcrumb elements in pixels.
|
|
371
|
-
*/
|
|
372
|
-
gapWidth?: number;
|
|
373
|
-
/**
|
|
374
|
-
* Extra one-off width in pixels added to the total estimate
|
|
375
|
-
* (e.g. prepend/append/item slot content).
|
|
376
|
-
*/
|
|
377
|
-
offsetWidth?: number;
|
|
378
|
-
/**
|
|
379
|
-
* Multiplier applied to each estimated item width.
|
|
380
|
-
* A higher value will result in more over-estimation.
|
|
381
|
-
* @defaultValue `1.12`
|
|
382
|
-
*/
|
|
383
|
-
estimationBias?: number;
|
|
384
|
-
/**
|
|
385
|
-
* Explicit width used by the estimator for the ellipsis activator.
|
|
386
|
-
*/
|
|
387
|
-
ellipsisWidth?: number;
|
|
388
|
-
};
|
|
206
|
+
### Leading icons and edge regions
|
|
389
207
|
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
disabled?: boolean;
|
|
394
|
-
};
|
|
208
|
+
Prefer the item fields `prepend:icon` / `append:icon` for a static glyph per
|
|
209
|
+
crumb (see Settings › Team › Members above). When you need richer edge content —
|
|
210
|
+
a status mark, a dynamic icon, or a fixed trail hint — use slots:
|
|
395
211
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
212
|
+
- `item:prepend` / `item:append` — before/after every crumb's label; scope is
|
|
213
|
+
`{ item, index, text, disabled }`.
|
|
214
|
+
- `prepend` / `append` — fixed content on either end of the whole trail; scope
|
|
215
|
+
is `{ disabled }`.
|
|
216
|
+
|
|
217
|
+
When slot (or icon) content adds width the estimator cannot see, set
|
|
218
|
+
`offset-width` so the collapse math stays honest.
|
|
219
|
+
|
|
220
|
+
**Trail hint via prepend + per-item icons**
|
|
221
|
+
|
|
222
|
+
```vue
|
|
223
|
+
<BbBreadcrumbs
|
|
224
|
+
:offset-width="96"
|
|
225
|
+
:items="[
|
|
226
|
+
{ key: 'settings', text: 'Settings', href: '#settings' },
|
|
227
|
+
{ key: 'notifications', text: 'Notifications' },
|
|
228
|
+
]"
|
|
229
|
+
>
|
|
230
|
+
<template #prepend>
|
|
231
|
+
<span class="text-xs text-[color:var(--bb-text-muted)]">You are here</span>
|
|
232
|
+
</template>
|
|
233
|
+
<template #item:prepend="{ item }">
|
|
234
|
+
<BbIcon
|
|
235
|
+
class="mr-1"
|
|
236
|
+
:icon="item.key === 'settings' ? 'lucide:settings' : 'lucide:bell'"
|
|
237
|
+
size="14"
|
|
238
|
+
/>
|
|
239
|
+
</template>
|
|
240
|
+
</BbBreadcrumbs>
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
The `append` edge is the natural home for compact page actions on a detail
|
|
244
|
+
header — the trail says where you are, the actions act on what you're looking
|
|
245
|
+
at. Keep them `size="xs"` and account for them with `offset-width`:
|
|
407
246
|
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
247
|
+
**File header with trailing actions**
|
|
248
|
+
|
|
249
|
+
```vue
|
|
250
|
+
<template>
|
|
251
|
+
<div
|
|
252
|
+
class="max-w-md overflow-hidden rounded-[var(--bb-radius)] border border-[color:var(--bb-border)]"
|
|
253
|
+
>
|
|
254
|
+
<div
|
|
255
|
+
class="flex items-center gap-2 border-b border-[color:var(--bb-border)] px-2.5 py-1.5"
|
|
256
|
+
>
|
|
257
|
+
<span
|
|
258
|
+
class="min-w-0 flex-auto truncate text-xs text-[color:var(--bb-text-muted)]"
|
|
259
|
+
>
|
|
260
|
+
acme-ui / src / components
|
|
261
|
+
</span>
|
|
262
|
+
<span class="shrink-0 text-xs text-[color:var(--bb-text-muted)]"
|
|
263
|
+
>12.4 KB · TSX</span
|
|
264
|
+
>
|
|
265
|
+
</div>
|
|
266
|
+
|
|
267
|
+
<div class="p-3">
|
|
268
|
+
<BbBreadcrumbs :items="items" :offset-width="130">
|
|
269
|
+
<template #append>
|
|
270
|
+
<span class="flex shrink-0 items-center gap-1.5">
|
|
271
|
+
<BbButton href="#raw" size="xs" variant="outline">Raw</BbButton>
|
|
272
|
+
<BbButton size="xs" variant="outline" @click="onCopyPath">
|
|
273
|
+
{{ copied ? 'Copied' : 'Copy path' }}
|
|
274
|
+
</BbButton>
|
|
275
|
+
</span>
|
|
276
|
+
</template>
|
|
277
|
+
</BbBreadcrumbs>
|
|
278
|
+
</div>
|
|
279
|
+
</div>
|
|
280
|
+
</template>
|
|
281
|
+
|
|
282
|
+
<script setup lang="ts">
|
|
283
|
+
import { ref } from 'vue';
|
|
284
|
+
import { BbBreadcrumbs, BbButton } from 'bitboss-ui';
|
|
285
|
+
import type { BbBreadcrumbsItem } from 'bitboss-ui';
|
|
286
|
+
|
|
287
|
+
// File-view header: trail says where you are; compact `append` actions act on
|
|
288
|
+
// the file. Declare their width with `offset-width` so overflow stays honest.
|
|
289
|
+
const items: BbBreadcrumbsItem[] = [
|
|
290
|
+
{ key: 'repo', text: 'acme-ui', href: '#repo' },
|
|
291
|
+
{ key: 'src', text: 'src', href: '#src' },
|
|
292
|
+
{ key: 'components', text: 'components', href: '#components' },
|
|
293
|
+
{ key: 'button', text: 'Button.tsx' },
|
|
294
|
+
];
|
|
295
|
+
|
|
296
|
+
const copied = ref(false);
|
|
297
|
+
|
|
298
|
+
/** Brief copy affordance; no clipboard write in the guide harness. */
|
|
299
|
+
const onCopyPath = () => {
|
|
300
|
+
copied.value = true;
|
|
301
|
+
setTimeout(() => {
|
|
302
|
+
copied.value = false;
|
|
303
|
+
}, 900);
|
|
421
304
|
};
|
|
305
|
+
</script>
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
### Own one crumb's label with its named slot
|
|
309
|
+
|
|
310
|
+
Every item also gets a slot named after its `key`, replacing that crumb's
|
|
311
|
+
default text (same scope as `item:prepend`). Use it when a single crumb needs
|
|
312
|
+
richer content — a status dot on the current record, a badge on one level —
|
|
313
|
+
while the rest of the trail stays plain. Because keys become slot names, avoid
|
|
314
|
+
keys that collide with the reserved slots (`prepend`, `append`, `divider`,
|
|
315
|
+
`ellipsis`, `item:prepend`, `item:append`).
|
|
316
|
+
|
|
317
|
+
**A status dot on the current record**
|
|
318
|
+
|
|
319
|
+
```vue
|
|
320
|
+
<BbBreadcrumbs
|
|
321
|
+
:items="[
|
|
322
|
+
{ key: 'deployments', text: 'Deployments', href: '#deployments' },
|
|
323
|
+
{ key: 'release', text: 'v2.4.0' },
|
|
324
|
+
]"
|
|
325
|
+
>
|
|
326
|
+
<template #release="{ text }">
|
|
327
|
+
<span class="inline-flex items-center gap-1.5">
|
|
328
|
+
<span
|
|
329
|
+
class="size-2 rounded-full bg-[color:var(--bb-primary)]"
|
|
330
|
+
></span>
|
|
331
|
+
{{ text }}
|
|
332
|
+
</span>
|
|
333
|
+
</template>
|
|
334
|
+
</BbBreadcrumbs>
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
### Custom divider and overflow button
|
|
338
|
+
|
|
339
|
+
The `divider` slot replaces the separator between crumbs (the default is a
|
|
340
|
+
small chevron icon — there is **no** `divider` prop). Dividers are decorative
|
|
341
|
+
and stay `aria-hidden`. The `ellipsis` slot replaces the content of the
|
|
342
|
+
overflow button; its scope includes `overflowCount` (how many crumbs are
|
|
343
|
+
hidden), so the trigger can say how much is folded. If your replacement is
|
|
344
|
+
wider than `…`, pair it with `ellipsis-width`.
|
|
345
|
+
|
|
346
|
+
**Slash dividers and a counting overflow button**
|
|
347
|
+
|
|
348
|
+
```vue
|
|
349
|
+
<div class="max-w-56">
|
|
350
|
+
<BbBreadcrumbs
|
|
351
|
+
:ellipsis-width="40"
|
|
352
|
+
:items="[
|
|
353
|
+
{ key: 'library', text: 'Library', href: '#library' },
|
|
354
|
+
{ key: 'photos', text: 'Photos', href: '#photos' },
|
|
355
|
+
{ key: 'albums', text: 'Albums', href: '#albums' },
|
|
356
|
+
{ key: 'summer', text: 'Summer 2026' },
|
|
357
|
+
]"
|
|
358
|
+
>
|
|
359
|
+
<template #divider>
|
|
360
|
+
<span class="text-[color:var(--bb-text-muted)]">/</span>
|
|
361
|
+
</template>
|
|
362
|
+
<template #ellipsis="{ overflowCount }">
|
|
363
|
+
<span class="text-xs font-medium">+{{ overflowCount }}</span>
|
|
364
|
+
</template>
|
|
365
|
+
</BbBreadcrumbs>
|
|
366
|
+
</div>
|
|
367
|
+
```
|
|
422
368
|
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
369
|
+
### In-app trails without URLs
|
|
370
|
+
|
|
371
|
+
When the hierarchy lives in client state (a file browser, a nested picker)
|
|
372
|
+
rather than in routes, give **ancestor** crumbs an `onClick` and leave the
|
|
373
|
+
current level without a target. The component still renders proper buttons and
|
|
374
|
+
keeps `aria-current` on the last crumb — you only supply the handler. Crumbs
|
|
375
|
+
folded into the overflow menu keep their `onClick` too.
|
|
376
|
+
|
|
377
|
+
**File-browser path**
|
|
378
|
+
|
|
379
|
+
```vue
|
|
380
|
+
<template>
|
|
381
|
+
<div
|
|
382
|
+
class="max-w-md overflow-hidden rounded-[var(--bb-radius)] border border-[color:var(--bb-border)]"
|
|
383
|
+
>
|
|
384
|
+
<div
|
|
385
|
+
class="flex items-center gap-1.5 border-b border-[color:var(--bb-border)] px-2.5 py-1.5"
|
|
386
|
+
>
|
|
387
|
+
<BbIcon
|
|
388
|
+
class="text-[color:var(--bb-text-muted)]"
|
|
389
|
+
icon="lucide:folder"
|
|
390
|
+
size="sm"
|
|
391
|
+
/>
|
|
392
|
+
<span class="text-xs font-medium">Files</span>
|
|
393
|
+
<span class="ml-auto text-xs text-[color:var(--bb-text-muted)]"
|
|
394
|
+
>northwind-docs</span
|
|
395
|
+
>
|
|
396
|
+
</div>
|
|
397
|
+
|
|
398
|
+
<div class="space-y-2 p-3">
|
|
399
|
+
<BbBreadcrumbs :items="items" :offset-width="iconOffset" />
|
|
400
|
+
<ul class="divide-y divide-[color:var(--bb-border)] text-sm">
|
|
401
|
+
<li
|
|
402
|
+
v-for="entry in entries"
|
|
403
|
+
:key="entry.name"
|
|
404
|
+
class="flex items-center gap-1.5 py-1.5"
|
|
405
|
+
>
|
|
406
|
+
<BbIcon
|
|
407
|
+
class="shrink-0 text-[color:var(--bb-text-muted)]"
|
|
408
|
+
:icon="entry.kind === 'folder' ? 'lucide:folder' : 'lucide:file'"
|
|
409
|
+
size="sm"
|
|
410
|
+
/>
|
|
411
|
+
<span class="min-w-0 truncate">{{ entry.name }}</span>
|
|
412
|
+
<span
|
|
413
|
+
class="ml-auto shrink-0 text-xs text-[color:var(--bb-text-muted)]"
|
|
414
|
+
>{{ entry.meta }}</span
|
|
415
|
+
>
|
|
416
|
+
</li>
|
|
417
|
+
</ul>
|
|
418
|
+
</div>
|
|
419
|
+
</div>
|
|
420
|
+
</template>
|
|
421
|
+
|
|
422
|
+
<script setup lang="ts">
|
|
423
|
+
import { computed, ref } from 'vue';
|
|
424
|
+
import { BbBreadcrumbs, BbIcon } from 'bitboss-ui';
|
|
425
|
+
import type { BbBreadcrumbsItem } from 'bitboss-ui';
|
|
426
|
+
|
|
427
|
+
// File-browser trail: hierarchy lives in client state, so ancestors use
|
|
428
|
+
// `onClick` (not `href`/`to`). The current folder stays target-less.
|
|
429
|
+
type Folder = 'Documents' | 'Brand' | 'Icons';
|
|
430
|
+
|
|
431
|
+
const path = ref<Folder[]>(['Documents', 'Brand', 'Icons']);
|
|
432
|
+
|
|
433
|
+
const catalog: Record<
|
|
434
|
+
Folder,
|
|
435
|
+
Array<{ name: string; kind: 'folder' | 'file'; meta: string }>
|
|
436
|
+
> = {
|
|
437
|
+
Documents: [
|
|
438
|
+
{ name: 'Brand', kind: 'folder', meta: '12 items' },
|
|
439
|
+
{ name: 'Contracts', kind: 'folder', meta: '4 items' },
|
|
440
|
+
{ name: 'Q2 summary.pdf', kind: 'file', meta: '240 KB' },
|
|
441
|
+
],
|
|
442
|
+
Brand: [
|
|
443
|
+
{ name: 'Icons', kind: 'folder', meta: '48 items' },
|
|
444
|
+
{ name: 'Logos', kind: 'folder', meta: '6 items' },
|
|
445
|
+
{ name: 'guidelines.md', kind: 'file', meta: '18 KB' },
|
|
446
|
+
],
|
|
447
|
+
Icons: [
|
|
448
|
+
{ name: 'mark.svg', kind: 'file', meta: '2 KB' },
|
|
449
|
+
{ name: 'favicon.ico', kind: 'file', meta: '4 KB' },
|
|
450
|
+
{ name: 'wordmark.svg', kind: 'file', meta: '3 KB' },
|
|
451
|
+
],
|
|
454
452
|
};
|
|
453
|
+
|
|
454
|
+
const current = computed(() => path.value[path.value.length - 1]!);
|
|
455
|
+
const entries = computed(() => catalog[current.value]);
|
|
456
|
+
const iconOffset = computed(() => path.value.length * 18);
|
|
457
|
+
|
|
458
|
+
const items = computed<BbBreadcrumbsItem[]>(() =>
|
|
459
|
+
path.value.map((name, index) => {
|
|
460
|
+
const isCurrent = index === path.value.length - 1;
|
|
461
|
+
return {
|
|
462
|
+
key: `${index}-${name}`,
|
|
463
|
+
text: name,
|
|
464
|
+
'prepend:icon': 'lucide:folder',
|
|
465
|
+
...(isCurrent
|
|
466
|
+
? {}
|
|
467
|
+
: {
|
|
468
|
+
onClick: () => {
|
|
469
|
+
path.value = path.value.slice(0, index + 1) as Folder[];
|
|
470
|
+
},
|
|
471
|
+
}),
|
|
472
|
+
};
|
|
473
|
+
})
|
|
474
|
+
);
|
|
475
|
+
</script>
|
|
455
476
|
```
|
|
456
477
|
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
.
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
align-items: center;
|
|
486
|
-
column-gap: 12px;
|
|
487
|
-
display: flex;
|
|
488
|
-
flex: 0 1 auto;
|
|
489
|
-
flex-wrap: nowrap;
|
|
490
|
-
list-style: none;
|
|
491
|
-
margin: 0;
|
|
492
|
-
max-width: 100%;
|
|
493
|
-
overflow: hidden;
|
|
494
|
-
padding: 0;
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
.bb-breadcrumbs__item {
|
|
498
|
-
align-items: center;
|
|
499
|
-
column-gap: 12px;
|
|
500
|
-
display: inline-flex;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
.bb-breadcrumbs__breadcrumb-container {
|
|
504
|
-
align-items: center;
|
|
505
|
-
display: inline-flex;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
.bb-breadcrumbs__breadcrumb {
|
|
509
|
-
line-height: normal;
|
|
510
|
-
}
|
|
511
|
-
|
|
512
|
-
.bb-breadcrumbs__ellipsis {
|
|
513
|
-
background: none;
|
|
514
|
-
border: none;
|
|
515
|
-
color: inherit;
|
|
516
|
-
cursor: pointer;
|
|
517
|
-
font-size: inherit;
|
|
518
|
-
line-height: normal;
|
|
519
|
-
min-height: 0;
|
|
520
|
-
padding: 0;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
.bb-breadcrumbs__divider {
|
|
524
|
-
line-height: normal;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
.bb-breadcrumbs__item:last-of-type .bb-breadcrumbs__divider {
|
|
528
|
-
display: none;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
.bb-dropdown {
|
|
532
|
-
--bb-arrow: 0;
|
|
533
|
-
}
|
|
534
|
-
}
|
|
478
|
+
### Router and Inertia links
|
|
479
|
+
|
|
480
|
+
The crumb's target is the standard navigation surface, so the same trail works
|
|
481
|
+
across platforms. With Vue Router or Nuxt, pass a route location to `to` — the
|
|
482
|
+
active-class props are wired for you:
|
|
483
|
+
|
|
484
|
+
```vue
|
|
485
|
+
<BbBreadcrumbs
|
|
486
|
+
:items="[
|
|
487
|
+
{ key: 'home', text: 'Home', to: { name: 'index' } },
|
|
488
|
+
{ key: 'team', text: 'Team', to: '/team' },
|
|
489
|
+
{ key: 'member', text: 'Ada Lovelace' },
|
|
490
|
+
]"
|
|
491
|
+
/>
|
|
492
|
+
```
|
|
493
|
+
|
|
494
|
+
In an Inertia app a crumb's `href` renders an Inertia link; attach `method`,
|
|
495
|
+
`data`, `headers` or `preserveScroll` per item when a crumb triggers a non-GET
|
|
496
|
+
visit:
|
|
497
|
+
|
|
498
|
+
```vue
|
|
499
|
+
<BbBreadcrumbs
|
|
500
|
+
:items="[
|
|
501
|
+
{ key: 'dashboard', text: 'Dashboard', href: '/dashboard' },
|
|
502
|
+
{ key: 'orders', text: 'Orders', href: '/orders', preserveScroll: true },
|
|
503
|
+
{ key: 'order', text: 'Order #8842' },
|
|
504
|
+
]"
|
|
505
|
+
/>
|
|
535
506
|
```
|
|
507
|
+
|
|
508
|
+
The component is SSR-safe: the full trail renders on the server, and the
|
|
509
|
+
overflow calculation runs after hydration once real widths exist.
|
|
510
|
+
|
|
511
|
+
### Works well with
|
|
512
|
+
|
|
513
|
+
- `BbTabs` — breadcrumbs above, tabs below is the canonical detail-page header:
|
|
514
|
+
the trail answers "where am I", the tabs switch peer views of the record.
|
|
515
|
+
- `BbTable` + `BbPagination` — a listing page links each row to a detail view
|
|
516
|
+
whose breadcrumb trail leads back to the (paged) list.
|
|
517
|
+
- `BbButton` page actions — keep the trail on its own line, or put compact
|
|
518
|
+
actions in the `append` slot and declare their width via `offset-width`.
|
|
519
|
+
|
|
520
|
+
### Gotchas and anti-patterns
|
|
521
|
+
|
|
522
|
+
- **Don't give the last item a target.** It always carries
|
|
523
|
+
`aria-current="page"` and the theme makes it inert (`pointer-events: none`),
|
|
524
|
+
so an `href` on it renders a link nobody can click.
|
|
525
|
+
- **The divider is slot-only.** A `divider` prop does not exist (older versions
|
|
526
|
+
had one); passing it just leaks an attribute onto the markup. The default is
|
|
527
|
+
a chevron icon, not a `/` glyph.
|
|
528
|
+
- **Don't pre-slice `items` to "manage" overflow** — you would fight the
|
|
529
|
+
built-in estimator and lose the accessible overflow menu.
|
|
530
|
+
- **Keys are slot names.** Duplicate keys break rendering; keys equal to
|
|
531
|
+
reserved slot names collide with them.
|
|
532
|
+
- **Slot content is invisible to the estimator.** If crumbs start clipping
|
|
533
|
+
after you add icons or edge content, set `offset-width` — don't shrink the
|
|
534
|
+
trail with CSS overrides.
|
|
535
|
+
- **In a flex row, give it `min-w-0 flex-auto`.** A content-sized trail whose
|
|
536
|
+
width the overflow toggle changes will fight its own resize observer every
|
|
537
|
+
frame. Put the trail on a stable basis and keep siblings `shrink-0` — see
|
|
538
|
+
"Give it a stable basis in a flex row" above.
|
|
539
|
+
- **One trail per view.** Multiple breadcrumb landmarks on a page confuse
|
|
540
|
+
screen-reader landmark navigation and users alike.
|
|
541
|
+
|
|
542
|
+
### Accessibility
|
|
543
|
+
|
|
544
|
+
- The trail is a `nav` landmark labelled from the active locale
|
|
545
|
+
(`breadcrumbs.label`; set `locale` in the plugin config). There is no
|
|
546
|
+
per-instance label prop.
|
|
547
|
+
- The last item is the current page: leave it without a navigation target so it
|
|
548
|
+
renders as plain, non-interactive text with `aria-current="page"`. Do not
|
|
549
|
+
link the page the user is already on.
|
|
550
|
+
- The overflow button is a real `button` with a localized, count-aware label
|
|
551
|
+
("Show N hidden breadcrumbs"); its menu is a `BbDropdown` with full keyboard
|
|
552
|
+
support — nothing to add on your side.
|
|
553
|
+
- The dividers are decorative (`aria-hidden`); never encode meaning in them.
|
|
554
|
+
- `disabled` on the component (or an item) removes `href` and exposes
|
|
555
|
+
`aria-disabled` instead of shipping a dead link.
|
|
556
|
+
|
|
557
|
+
## Props
|
|
558
|
+
|
|
559
|
+
| Prop | Type | Default | Required | Description |
|
|
560
|
+
| --- | --- | --- | --- | --- |
|
|
561
|
+
| `disabled` | `boolean \| undefined` | | | Disables the component |
|
|
562
|
+
| `dividerWidth` | `number \| undefined` | `16` | | Width of the divider in pixels. |
|
|
563
|
+
| `ellipsisWidth` | `number \| undefined` | | | Explicit width used by the estimator for the ellipsis activator. |
|
|
564
|
+
| `estimationBias` | `number \| undefined` | `1.12` | | Multiplier applied to each estimated item width. A higher value will result in more over-estimation. |
|
|
565
|
+
| `gapWidth` | `number \| undefined` | `4` | | Horizontal gap between breadcrumb elements in pixels. |
|
|
566
|
+
| `items` | `Item[]` | | yes | Array of items that describe how the breadcrumbs should behave. Compatible with navigating through `a` or `router-link`. |
|
|
567
|
+
| `offsetWidth` | `number \| undefined` | `0` | | Extra one-off width in pixels added to the total estimate (e.g. prepend/append/item slot content). |
|
|
568
|
+
|
|
569
|
+
## Events
|
|
570
|
+
|
|
571
|
+
- None.
|
|
572
|
+
|
|
573
|
+
## Slots
|
|
574
|
+
|
|
575
|
+
- `append` — scope: `BbBreadcrumbsEdgeSlotProps` — Content rendered after the breadcrumb list, in a dedicated append region.
|
|
576
|
+
- `divider` — scope: `Record<string, never>` — Replaces the default separator rendered between breadcrumb items.
|
|
577
|
+
- `ellipsis` — scope: `BbBreadcrumbsEllipsisSlotProps` — Replaces the default `…` overflow button shown when items overflow.
|
|
578
|
+
- `item:append` — scope: `BbBreadcrumbsItemSlotProps` — Content rendered after **every** breadcrumb item's link/button. Generic fallback below a per-item `<key>:append` slot and above the item's `append:icon`.
|
|
579
|
+
- `item:prepend` — scope: `BbBreadcrumbsItemSlotProps` — Content rendered before **every** breadcrumb item's link/button, in the leading edge region. Generic fallback: a per-item `<key>:prepend` slot takes precedence, and the item's `prepend:icon` is used when neither slot is present.
|
|
580
|
+
- `prepend` — scope: `BbBreadcrumbsEdgeSlotProps` — Content rendered before the breadcrumb list, in a dedicated prepend region.
|
|
581
|
+
|
|
582
|
+
## See Also
|
|
583
|
+
|
|
584
|
+
- [BbBaseButton](./BbBaseButton.md) — Unstyled button/link primitive: element resolution (button/anchor/router link) and the full navigation engine, with no visual chrome. Use for any clickable or navigable surface that is not a variant-first BbButton — cards, list rows, custom links.
|
|
585
|
+
- [BbDropdown](./BbDropdown.md) — Displays contextual action menus and menu content.
|