bitboss-ui 3.0.0-beta.4 → 3.0.0-beta.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +317 -98
- package/bin/bitboss-ui-mcp.mjs +1566 -75
- package/bin/bitboss-ui.mjs +716 -72
- package/dist/ai/BbAccordion.md +178 -56
- package/dist/ai/BbAlert.md +140 -28
- package/dist/ai/BbAsterisk.md +61 -4
- package/dist/ai/BbAvatar.md +194 -53
- package/dist/ai/BbBadge.md +250 -50
- package/dist/ai/BbBadgeButton.md +74 -21
- package/dist/ai/BbBaseButton.md +132 -51
- package/dist/ai/BbBaseCheckboxIcon.md +118 -26
- package/dist/ai/BbBaseRadioIcon.md +115 -26
- package/dist/ai/BbBaseSwitchIcon.md +123 -28
- package/dist/ai/BbBreadcrumbs.md +221 -51
- package/dist/ai/BbButton.md +389 -107
- package/dist/ai/BbCalendar.md +667 -0
- package/dist/ai/BbCheckbox.md +242 -80
- package/dist/ai/BbCheckboxGroup.md +575 -66
- package/dist/ai/BbCollapsible.md +158 -39
- package/dist/ai/BbColorInput.md +322 -82
- package/dist/ai/BbColorPalette.md +261 -61
- package/dist/ai/BbConfirm.md +220 -51
- package/dist/ai/BbConfirmPortal.md +1 -1
- package/dist/ai/BbDatePicker.md +272 -37
- package/dist/ai/BbDatePickerInput.md +321 -92
- package/dist/ai/BbDialog.md +492 -87
- package/dist/ai/BbDropdown.md +1182 -104
- package/dist/ai/BbDropdownButton.md +239 -61
- package/dist/ai/BbDropdownGroup.md +5 -5
- package/dist/ai/BbDropzone.md +140 -36
- package/dist/ai/BbForm.md +1165 -40
- package/dist/ai/BbIcon.md +100 -33
- package/dist/ai/BbIndicator.md +79 -12
- package/dist/ai/BbNumberInput.md +257 -87
- package/dist/ai/BbOffCanvas.md +396 -91
- package/dist/ai/BbPagination.md +199 -32
- package/dist/ai/BbPopover.md +219 -54
- package/dist/ai/BbProgress.md +137 -71
- package/dist/ai/BbPtScope.md +136 -0
- package/dist/ai/BbRadio.md +234 -43
- package/dist/ai/BbRadioGroup.md +529 -91
- package/dist/ai/BbRating.md +243 -61
- package/dist/ai/BbSelect.md +690 -120
- package/dist/ai/BbSelectPopover.md +434 -122
- package/dist/ai/BbSlider.md +275 -79
- package/dist/ai/BbSmoothHeight.md +142 -34
- package/dist/ai/BbSpinner.md +179 -81
- package/dist/ai/BbSwitch.md +249 -63
- package/dist/ai/BbSwitchGroup.md +394 -65
- package/dist/ai/BbTable.md +1666 -222
- package/dist/ai/BbTabs.md +898 -178
- package/dist/ai/BbTabsList.md +81 -7
- package/dist/ai/BbTabsPanels.md +77 -0
- package/dist/ai/BbTabsRoot.md +16 -15
- package/dist/ai/BbTag.md +256 -76
- package/dist/ai/BbTextInput.md +480 -102
- package/dist/ai/BbTextarea.md +310 -96
- package/dist/ai/BbTimePicker.md +159 -24
- package/dist/ai/BbTimePickerInput.md +277 -46
- package/dist/ai/BbToast.md +286 -40
- package/dist/ai/BbToastPortal.md +3 -3
- package/dist/ai/BbTooltip.md +187 -34
- package/dist/ai/BbTree.md +260 -85
- package/dist/ai/ChipsBox.md +43 -2
- package/dist/ai/ClearableButton.md +12 -0
- package/dist/ai/CommaBox.md +2 -1
- package/dist/ai/CommonField.md +63 -0
- package/dist/ai/CommonFieldInput.md +90 -0
- package/dist/ai/CommonPopover.md +17 -12
- package/dist/ai/CommonTimeSelector.md +63 -0
- package/dist/ai/ErrorIcon.md +20 -0
- package/dist/ai/FlatListBox.md +41 -11
- package/dist/ai/GroupedListBox.md +42 -12
- package/dist/ai/ListBox.md +46 -11
- package/dist/ai/OptionsContainer.md +13 -10
- package/dist/ai/WarningIcon.md +20 -0
- package/dist/ai/changelog.json +4025 -141
- package/dist/ai/components.json +51872 -10136
- package/dist/ai/composables/useBbConfig.md +72 -11
- package/dist/ai/composables/useBbDropdownContext.md +168 -0
- package/dist/ai/composables/useBbFormContext.md +51 -24
- package/dist/ai/composables/useBbFormField.md +134 -0
- package/dist/ai/composables/useBbTableContext.md +41 -19
- package/dist/ai/composables/useConfirm.md +16 -8
- package/dist/ai/composables/useCountdown.md +1 -1
- package/dist/ai/composables/useId.md +10 -10
- package/dist/ai/composables/useMobile.md +17 -10
- package/dist/ai/composables/useToast.md +25 -19
- package/dist/ai/design-tokens.json +940 -0
- package/dist/ai/design-tokens.manifest.yaml +175 -0
- package/dist/ai/guides/agent-contract.md +168 -22
- package/dist/ai/guides/ai-router.md +79 -40
- package/dist/ai/guides/app-layout.md +8 -4
- package/dist/ai/guides/coherence-playbook.md +8 -8
- package/dist/ai/guides/component-picker.md +42 -34
- package/dist/ai/guides/design-language.md +274 -97
- package/dist/ai/guides/design-tokens.md +493 -105
- package/dist/ai/guides/fetch-items-playbook.md +22 -16
- package/dist/ai/guides/icons-policy.md +67 -35
- package/dist/ai/guides/inertia-helpers.md +4 -1
- package/dist/ai/guides/inline-edit-playbook.md +13 -6
- package/dist/ai/guides/installation-and-plugin-setup.md +817 -73
- package/dist/ai/guides/migration/components/bb-accordion.md +37 -0
- package/dist/ai/guides/migration/components/bb-alert.md +2 -2
- package/dist/ai/guides/migration/components/bb-avatar.md +13 -14
- package/dist/ai/guides/migration/components/bb-badge.md +5 -5
- package/dist/ai/guides/migration/components/bb-breadcrumbs.md +9 -8
- package/dist/ai/guides/migration/components/bb-button.md +80 -20
- package/dist/ai/guides/migration/components/bb-checkbox-group.md +116 -29
- package/dist/ai/guides/migration/components/bb-checkbox.md +53 -10
- package/dist/ai/guides/migration/components/bb-chip.md +6 -6
- package/dist/ai/guides/migration/components/bb-collapsible.md +5 -5
- package/dist/ai/guides/migration/components/bb-color-input.md +5 -5
- package/dist/ai/guides/migration/components/bb-color-palette.md +16 -9
- package/dist/ai/guides/migration/components/bb-date-picker-input.md +45 -35
- package/dist/ai/guides/migration/components/bb-dialog.md +69 -36
- package/dist/ai/guides/migration/components/bb-dropdown-button.md +7 -1
- package/dist/ai/guides/migration/components/bb-dropdown.md +31 -8
- package/dist/ai/guides/migration/components/bb-dropzone.md +8 -0
- package/dist/ai/guides/migration/components/bb-icon.md +7 -7
- package/dist/ai/guides/migration/components/bb-intersection.md +1 -1
- package/dist/ai/guides/migration/components/bb-offcanvas.md +29 -31
- package/dist/ai/guides/migration/components/bb-pagination.md +10 -0
- package/dist/ai/guides/migration/components/bb-popover.md +19 -11
- package/dist/ai/guides/migration/components/bb-radio-group.md +14 -0
- package/dist/ai/guides/migration/components/bb-rating.md +61 -24
- package/dist/ai/guides/migration/components/bb-select-popover.md +9 -1
- package/dist/ai/guides/migration/components/bb-select.md +21 -4
- package/dist/ai/guides/migration/components/bb-slider.md +14 -6
- package/dist/ai/guides/migration/components/bb-switch-group.md +14 -0
- package/dist/ai/guides/migration/components/bb-table.md +574 -33
- package/dist/ai/guides/migration/components/bb-tabs.md +91 -41
- package/dist/ai/guides/migration/components/bb-tag.md +9 -7
- package/dist/ai/guides/migration/components/bb-text-input.md +12 -12
- package/dist/ai/guides/migration/components/bb-toast.md +2 -2
- package/dist/ai/guides/migration/components/bb-tooltip.md +18 -0
- package/dist/ai/guides/migration/components/bb-tree.md +11 -9
- package/dist/ai/guides/migration/components/use-confirm.md +9 -1
- package/dist/ai/guides/migration/v2-to-v3.md +828 -240
- package/dist/ai/guides/migration/v3-beta-css-classes.md +751 -0
- package/dist/ai/guides/migration/v3-beta-tooling.md +119 -0
- package/dist/ai/guides/options-items-playbook.md +161 -12
- package/dist/ai/guides/page-shell.md +1 -1
- package/dist/ai/guides/passthrough.md +958 -0
- package/dist/ai/guides/preset-components.md +361 -0
- package/dist/ai/guides/ssr-prefill.md +127 -0
- package/dist/ai/guides/validated-forms.md +466 -55
- package/dist/ai/guides/validation-libraries.md +171 -0
- package/dist/ai/guides/validation-providers.md +113 -0
- package/dist/ai/index.md +45 -44
- package/dist/ai/recipes/inertia/approvals-inbox.md +26 -10
- package/dist/ai/recipes/inertia/command-palette.md +2 -2
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +46 -30
- package/dist/ai/recipes/inertia/layout-scaffold.md +6 -2
- package/dist/ai/recipes/inertia/onboarding.md +30 -8
- package/dist/ai/recipes/inertia/ownership-atlas.md +72 -49
- package/dist/ai/recipes/inertia/record-form.md +53 -19
- package/dist/ai/recipes/inertia/records-workspace.md +201 -49
- package/dist/ai/recipes/inertia/settings-workspace.md +3809 -0
- package/dist/ai/recipes/inertia/upload-center.md +54 -43
- package/dist/ai/recipes/inertia/wizard-form.md +98 -14
- package/dist/ai/recipes/nuxt/approvals-inbox.md +26 -10
- package/dist/ai/recipes/nuxt/command-palette.md +2 -2
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +68 -52
- package/dist/ai/recipes/nuxt/layout-scaffold.md +6 -2
- package/dist/ai/recipes/nuxt/onboarding.md +30 -8
- package/dist/ai/recipes/nuxt/record-form.md +66 -22
- package/dist/ai/recipes/nuxt/records-workspace.md +199 -48
- package/dist/ai/recipes/nuxt/settings-workspace.md +3898 -0
- package/dist/ai/recipes/nuxt/upload-center.md +52 -41
- package/dist/ai/recipes/nuxt/wizard-form.md +98 -14
- package/dist/ai/recipes/vue/approvals-inbox.md +28 -12
- package/dist/ai/recipes/vue/command-palette.md +2 -2
- package/dist/ai/recipes/vue/inline-edit-workspace.md +69 -53
- package/dist/ai/recipes/vue/layout-scaffold.md +6 -2
- package/dist/ai/recipes/vue/onboarding.md +32 -8
- package/dist/ai/recipes/vue/record-form.md +81 -54
- package/dist/ai/recipes/vue/records-workspace.md +198 -49
- package/dist/ai/recipes/vue/settings-workspace.md +3836 -0
- package/dist/ai/recipes/vue/upload-center.md +53 -42
- package/dist/ai/recipes/vue/wizard-form.md +97 -14
- package/dist/ai/source/BbAccordion.md +90 -24
- package/dist/ai/source/BbAlert.md +209 -62
- package/dist/ai/source/BbAsterisk.md +54 -4
- package/dist/ai/source/BbAvatar.md +73 -16
- package/dist/ai/source/BbBadge.md +265 -97
- package/dist/ai/source/BbBadgeButton.md +218 -79
- package/dist/ai/source/BbBaseButton.md +108 -12
- package/dist/ai/source/BbBaseCheckboxIcon.md +151 -36
- package/dist/ai/source/BbBaseRadioIcon.md +121 -17
- package/dist/ai/source/BbBaseSwitchIcon.md +138 -28
- package/dist/ai/source/BbBreadcrumbs.md +363 -69
- package/dist/ai/source/BbButton.md +563 -174
- package/dist/ai/source/BbCalendar.md +1744 -0
- package/dist/ai/source/BbCheckbox.md +470 -68
- package/dist/ai/source/BbCheckboxGroup.md +976 -95
- package/dist/ai/source/BbCollapsible.md +96 -8
- package/dist/ai/source/BbColorInput.md +597 -67
- package/dist/ai/source/BbColorPalette.md +1284 -65
- package/dist/ai/source/BbConfirm.md +149 -7
- package/dist/ai/source/BbConfirmPortal.md +89 -3
- package/dist/ai/source/BbDatePicker.md +527 -381
- package/dist/ai/source/BbDatePickerInput.md +2015 -118
- package/dist/ai/source/BbDialog.md +531 -64
- package/dist/ai/source/BbDropdown.md +885 -175
- package/dist/ai/source/BbDropdownButton.md +377 -79
- package/dist/ai/source/BbDropdownGroup.md +687 -96
- package/dist/ai/source/BbDropzone.md +140 -31
- package/dist/ai/source/BbForm.md +875 -17
- package/dist/ai/source/BbIcon.md +130 -52
- package/dist/ai/source/BbIndicator.md +117 -60
- package/dist/ai/source/BbNumberInput.md +667 -84
- package/dist/ai/source/BbOffCanvas.md +1007 -261
- package/dist/ai/source/BbPagination.md +203 -31
- package/dist/ai/source/BbPopover.md +267 -90
- package/dist/ai/source/BbProgress.md +88 -26
- package/dist/ai/source/BbPtScope.md +54 -0
- package/dist/ai/source/BbRadio.md +388 -58
- package/dist/ai/source/BbRadioGroup.md +940 -109
- package/dist/ai/source/BbRating.md +736 -84
- package/dist/ai/source/BbSelect.md +1096 -96
- package/dist/ai/source/BbSelectPopover.md +807 -114
- package/dist/ai/source/BbSlider.md +1390 -98
- package/dist/ai/source/BbSmoothHeight.md +48 -2
- package/dist/ai/source/BbSpinner.md +62 -6
- package/dist/ai/source/BbSwitch.md +297 -60
- package/dist/ai/source/BbSwitchGroup.md +761 -83
- package/dist/ai/source/BbTable.md +6950 -1864
- package/dist/ai/source/BbTabs.md +368 -111
- package/dist/ai/source/BbTabsList.md +503 -146
- package/dist/ai/source/BbTabsPanels.md +625 -0
- package/dist/ai/source/BbTabsRoot.md +319 -100
- package/dist/ai/source/BbTag.md +796 -87
- package/dist/ai/source/BbTextInput.md +497 -68
- package/dist/ai/source/BbTextarea.md +550 -65
- package/dist/ai/source/BbTimePicker.md +395 -69
- package/dist/ai/source/BbTimePickerInput.md +1233 -106
- package/dist/ai/source/BbToast.md +250 -74
- package/dist/ai/source/BbToastPortal.md +210 -66
- package/dist/ai/source/BbTooltip.md +181 -30
- package/dist/ai/source/BbTree.md +76 -11
- package/dist/ai/source/ChipsBox.md +25 -5
- package/dist/ai/source/CommaBox.md +21 -6
- package/dist/ai/source/{BbBaseInputContainer.md → CommonField.md} +467 -250
- package/dist/ai/source/CommonFieldInput.md +848 -0
- package/dist/ai/source/CommonPopover.md +116 -30
- package/dist/ai/source/CommonTimeSelector.md +726 -0
- package/dist/ai/source/ErrorIcon.md +2 -2
- package/dist/ai/source/FlatListBox.md +188 -17
- package/dist/ai/source/GroupedListBox.md +236 -44
- package/dist/ai/source/GuidesComponent.md +14 -7
- package/dist/ai/source/ListBox.md +46 -8
- package/dist/ai/source/OptionsContainer.md +288 -60
- package/dist/ai/source/WarningIcon.md +2 -2
- package/dist/assets/css/reset.css_inline.js +1 -1
- package/dist/assets/svgs/star.svg_raw.js +4 -0
- package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +49 -32
- package/dist/components/BbAccordion/types.d.ts +35 -3
- package/dist/components/BbAccordion/types.js +11 -0
- package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +46 -30
- package/dist/components/BbAlert/types.d.ts +37 -3
- package/dist/components/BbAlert/types.js +13 -0
- package/dist/components/BbAsterisk/BbAsterisk.vue.d.ts +3 -1
- package/dist/components/BbAsterisk/BbAsterisk.vue_vue_type_script_setup_true_lang.js +23 -8
- package/dist/components/BbAsterisk/types.d.ts +18 -0
- package/dist/components/BbAsterisk/types.js +7 -0
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
- package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +57 -44
- package/dist/components/BbAvatar/types.d.ts +23 -0
- package/dist/components/BbAvatar/types.js +7 -0
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +24 -18
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +96 -53
- package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +27 -8
- package/dist/components/BbBadge/badgeButtonContext.d.ts +25 -8
- package/dist/components/BbBadge/types.d.ts +46 -3
- package/dist/components/BbBadge/types.js +13 -0
- package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +109 -96
- package/dist/components/BbBaseButton/RouterComponent.vue_vue_type_script_setup_true_lang.js +11 -11
- package/dist/components/BbBaseButton/types.d.ts +33 -3
- package/dist/components/BbBaseButton/types.js +9 -2
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue_vue_type_script_setup_true_lang.js +50 -18
- package/dist/components/BbBaseCheckboxIcon/types.d.ts +31 -2
- package/dist/components/BbBaseCheckboxIcon/types.js +8 -0
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue_vue_type_script_setup_true_lang.js +45 -15
- package/dist/components/BbBaseRadioIcon/types.d.ts +31 -2
- package/dist/components/BbBaseRadioIcon/types.js +8 -0
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue_vue_type_script_setup_true_lang.js +48 -16
- package/dist/components/BbBaseSwitchIcon/types.d.ts +31 -2
- package/dist/components/BbBaseSwitchIcon/types.js +8 -0
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +187 -132
- package/dist/components/BbBreadcrumbs/types.d.ts +45 -3
- package/dist/components/BbBreadcrumbs/types.js +12 -0
- package/dist/components/BbButton/BbButton.vue.d.ts +5 -0
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +107 -81
- package/dist/components/BbButton/types.d.ts +113 -2
- package/dist/components/BbButton/types.js +12 -0
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +34 -0
- package/dist/components/BbCalendar/BbCalendar.vue.js +6 -0
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +608 -0
- package/dist/components/BbCalendar/CalendarMonthPanel.vue.js +5 -0
- package/dist/components/BbCalendar/CalendarMonthPanel.vue_vue_type_script_setup_true_lang.js +124 -0
- package/dist/components/BbCalendar/CalendarYearPanel.vue.js +5 -0
- package/dist/components/BbCalendar/CalendarYearPanel.vue_vue_type_script_setup_true_lang.js +126 -0
- package/dist/components/BbCalendar/calendarHost.d.ts +29 -0
- package/dist/components/BbCalendar/calendarHost.js +10 -0
- package/dist/components/BbCalendar/types.d.ts +225 -0
- package/dist/components/BbCalendar/types.js +29 -0
- package/dist/components/{BbBaseDatePicker/useDatePickerContext.d.ts → BbCalendar/useCalendarContext.d.ts} +10 -7
- package/dist/components/BbCalendar/useCalendarContext.js +11 -0
- package/dist/components/BbCalendar/useCalendarGrid.d.ts +208 -0
- package/dist/components/BbCalendar/useCalendarGrid.js +274 -0
- package/dist/components/BbCalendar/useDayGrid.d.ts +79 -0
- package/dist/components/BbCalendar/useDayGrid.js +204 -0
- package/dist/components/BbCalendar/useToday.d.ts +23 -0
- package/dist/components/BbCalendar/useToday.js +21 -0
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +7 -7
- package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +214 -72
- package/dist/components/BbCheckbox/types.d.ts +180 -13
- package/dist/components/BbCheckbox/types.js +8 -0
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +15 -3
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +338 -90
- package/dist/components/BbCheckboxGroup/types.d.ts +195 -20
- package/dist/components/BbCheckboxGroup/types.js +10 -0
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +2 -1
- package/dist/components/BbCollapsible/BbCollapsible.vue_vue_type_script_setup_true_lang.js +41 -19
- package/dist/components/BbCollapsible/types.d.ts +44 -1
- package/dist/components/BbCollapsible/types.js +7 -0
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +17 -7
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +330 -86
- package/dist/components/BbColorInput/types.d.ts +230 -12
- package/dist/components/BbColorInput/types.js +24 -0
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +10 -2
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +515 -108
- package/dist/components/BbColorPalette/types.d.ts +76 -7
- package/dist/components/BbColorPalette/types.js +12 -0
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +2 -1
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +125 -76
- package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +1 -0
- package/dist/components/BbConfirm/types.d.ts +49 -0
- package/dist/components/BbConfirm/types.js +17 -0
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +16 -10
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +320 -223
- package/dist/components/BbDatePicker/types.d.ts +111 -17
- package/dist/components/BbDatePicker/types.js +33 -0
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +16 -4
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +1172 -87
- package/dist/components/BbDatePickerInput/types.d.ts +224 -19
- package/dist/components/BbDatePickerInput/types.js +39 -0
- package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -3
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +227 -136
- package/dist/components/BbDialog/types.d.ts +92 -3
- package/dist/components/BbDialog/types.js +16 -0
- package/dist/components/BbDialog/useDialogStack.d.ts +12 -0
- package/dist/components/BbDialog/useDialogStack.js +9 -2
- package/dist/components/BbDropdown/AdaptiveDropdown.vue.d.ts +2 -0
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +108 -96
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +10 -2
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +337 -268
- package/dist/components/BbDropdown/BbDropdownGroup.vue.d.ts +5 -1
- package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +8 -2
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +377 -293
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +129 -118
- package/dist/components/BbDropdown/normalizeGroups.js +55 -31
- package/dist/components/BbDropdown/types.d.ts +288 -30
- package/dist/components/BbDropdown/types.js +21 -2
- package/dist/components/BbDropdown/useDropdownContext.d.ts +10 -4
- package/dist/components/BbDropdown/useDropdownGroupRegistry.d.ts +1 -0
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +18 -3
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +172 -40
- package/dist/components/BbDropdownButton/types.d.ts +137 -8
- package/dist/components/BbDropdownButton/types.js +35 -0
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +2 -2
- package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +186 -144
- package/dist/components/BbDropzone/types.d.ts +38 -4
- package/dist/components/BbDropzone/types.js +16 -0
- package/dist/components/BbForm/BbForm.vue.d.ts +94 -0
- package/dist/{validated → components/BbForm}/BbForm.vue.js +1 -1
- package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +317 -0
- package/dist/components/BbForm/BbFormCustomField.d.ts +14 -0
- package/dist/components/BbForm/BbFormCustomField.js +43 -0
- package/dist/components/BbForm/bindFormField.d.ts +16 -0
- package/dist/components/BbForm/bindFormField.js +85 -0
- package/dist/components/BbForm/formFields.d.ts +64 -0
- package/dist/components/BbForm/formFields.js +11 -0
- package/dist/components/BbForm/formSchema.d.ts +56 -0
- package/dist/components/BbForm/formSchema.js +196 -0
- package/dist/components/BbForm/standardSchema.d.ts +59 -0
- package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +58 -48
- package/dist/components/BbIcon/iconCache.d.ts +63 -0
- package/dist/components/BbIcon/iconCache.js +35 -0
- package/dist/components/BbIcon/types.d.ts +22 -2
- package/dist/components/BbIcon/types.js +7 -0
- package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +34 -21
- package/dist/components/BbIndicator/types.d.ts +24 -0
- package/dist/components/BbIndicator/types.js +7 -0
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +12 -8
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +308 -85
- package/dist/components/BbNumberInput/types.d.ts +201 -18
- package/dist/components/BbNumberInput/types.js +8 -0
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -3
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +311 -210
- package/dist/components/BbOffCanvas/types.d.ts +79 -6
- package/dist/components/BbOffCanvas/types.js +15 -0
- package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -2
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +125 -90
- package/dist/components/BbPagination/types.d.ts +38 -0
- package/dist/components/BbPagination/types.js +13 -0
- package/dist/components/BbPopover/BbPopover.vue.d.ts +4 -4
- package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +219 -179
- package/dist/components/BbPopover/types.d.ts +51 -5
- package/dist/components/BbPopover/types.js +14 -0
- package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +29 -16
- package/dist/components/BbProgress/types.d.ts +25 -0
- package/dist/components/BbProgress/types.js +7 -0
- package/dist/components/BbPtScope/BbPtScope.vue.d.ts +12 -0
- package/dist/components/BbPtScope/BbPtScope.vue.js +5 -0
- package/dist/components/BbPtScope/BbPtScope.vue_vue_type_script_setup_true_lang.js +13 -0
- package/dist/components/BbPtScope/types.d.ts +15 -0
- package/dist/components/BbRadio/BbRadio.vue.d.ts +7 -7
- package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +172 -59
- package/dist/components/BbRadio/types.d.ts +152 -13
- package/dist/components/BbRadio/types.js +8 -0
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +14 -2
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +319 -92
- package/dist/components/BbRadioGroup/types.d.ts +198 -22
- package/dist/components/BbRadioGroup/types.js +10 -0
- package/dist/components/BbRating/BbRating.vue.d.ts +10 -8
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +259 -78
- package/dist/components/BbRating/types.d.ts +174 -13
- package/dist/components/BbRating/types.js +21 -0
- package/dist/components/BbSelect/BbSelect.vue.d.ts +17 -3
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +553 -83
- package/dist/components/BbSelect/types.d.ts +235 -20
- package/dist/components/BbSelect/types.js +41 -0
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +15 -1
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +541 -391
- package/dist/components/BbSelectPopover/types.d.ts +124 -8
- package/dist/components/BbSelectPopover/types.js +24 -0
- package/dist/components/BbSlider/BbSlider.vue.d.ts +13 -8
- package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +472 -96
- package/dist/components/BbSlider/types.d.ts +202 -13
- package/dist/components/BbSlider/types.js +26 -0
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +1 -1
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue_vue_type_script_setup_true_lang.js +60 -48
- package/dist/components/BbSmoothHeight/types.d.ts +19 -0
- package/dist/components/BbSmoothHeight/types.js +7 -0
- package/dist/components/BbSpinner/BbSpinner.vue_vue_type_script_setup_true_lang.js +27 -14
- package/dist/components/BbSpinner/types.d.ts +22 -1
- package/dist/components/BbSpinner/types.js +7 -0
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +7 -7
- package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +220 -78
- package/dist/components/BbSwitch/types.d.ts +25 -10
- package/dist/components/BbSwitch/types.js +5 -0
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +14 -2
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +338 -90
- package/dist/components/BbSwitchGroup/types.d.ts +30 -7
- package/dist/components/BbSwitchGroup/types.js +5 -0
- package/dist/components/BbTable/BbTable.vue.d.ts +27 -6
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +2013 -685
- package/dist/components/BbTable/BbTableDataRow.d.ts +196 -0
- package/dist/components/BbTable/BbTableDataRow.js +151 -0
- package/dist/components/BbTable/BbTableExpandRow.d.ts +84 -0
- package/dist/components/BbTable/BbTableExpandRow.js +62 -0
- package/dist/components/BbTable/BbTableSelectToggle.d.ts +120 -0
- package/dist/components/BbTable/BbTableSelectToggle.js +122 -0
- package/dist/components/BbTable/gridWidgets.d.ts +30 -0
- package/dist/components/BbTable/gridWidgets.js +14 -0
- package/dist/components/BbTable/types.d.ts +473 -123
- package/dist/components/BbTable/types.js +31 -0
- package/dist/components/BbTable/utils.d.ts +145 -4
- package/dist/components/BbTable/utils.js +154 -37
- package/dist/components/BbTabs/BbTabs.vue.d.ts +3 -1
- package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +62 -26
- package/dist/components/BbTabs/BbTabsList.vue.d.ts +3 -10
- package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +143 -81
- package/dist/components/BbTabs/BbTabsPanels.vue.d.ts +12 -0
- package/dist/components/{BbBaseSwitch/BbBaseSwitch.vue.js → BbTabs/BbTabsPanels.vue.js} +2 -2
- package/dist/components/BbTabs/BbTabsPanels.vue_vue_type_script_setup_true_lang.js +59 -0
- package/dist/components/BbTabs/BbTabsRoot.vue.d.ts +3 -1
- package/dist/components/BbTabs/BbTabsRoot.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/BbTabs/types.d.ts +183 -23
- package/dist/components/BbTabs/types.js +34 -0
- package/dist/components/BbTag/BbTag.vue.d.ts +13 -10
- package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +383 -92
- package/dist/components/BbTag/types.d.ts +139 -14
- package/dist/components/BbTag/types.js +22 -0
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +10 -8
- package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +257 -84
- package/dist/components/BbTextInput/types.d.ts +168 -13
- package/dist/components/BbTextInput/types.js +8 -0
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +7 -7
- package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +291 -94
- package/dist/components/BbTextarea/types.d.ts +158 -14
- package/dist/components/BbTextarea/types.js +8 -0
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +12 -4
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +199 -122
- package/dist/components/BbTimePicker/types.d.ts +94 -7
- package/dist/components/BbTimePicker/types.js +18 -0
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +14 -4
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +749 -86
- package/dist/components/BbTimePickerInput/types.d.ts +171 -22
- package/dist/components/BbTimePickerInput/types.js +25 -0
- package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +63 -25
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +4 -1
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +79 -76
- package/dist/components/BbToast/BbToastPortal.vue.d.ts +1 -0
- package/dist/components/BbToast/BbToastRegion.vue.d.ts +4 -1
- package/dist/components/BbToast/BbToastRegion.vue_vue_type_script_setup_true_lang.js +72 -64
- package/dist/components/BbToast/types.d.ts +54 -1
- package/dist/components/BbToast/types.js +28 -0
- package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +104 -87
- package/dist/components/BbTooltip/types.d.ts +40 -2
- package/dist/components/BbTooltip/types.js +7 -0
- package/dist/components/BbTree/BbTree.vue.d.ts +15 -3
- package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +51 -29
- package/dist/components/BbTree/BbTreeLevel.vue.d.ts +1 -1
- package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +17 -16
- package/dist/components/BbTree/context.d.ts +9 -1
- package/dist/components/BbTree/types.d.ts +40 -5
- package/dist/components/BbTree/types.js +7 -0
- package/dist/components/ChipsBox/ChipsBox.vue_vue_type_script_setup_true_lang.js +46 -44
- package/dist/components/ChipsBox/types.d.ts +7 -0
- package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/components/CommaBox/CommaBox.vue_vue_type_script_setup_true_lang.js +11 -7
- package/dist/components/CommaBox/types.d.ts +7 -0
- package/dist/components/{BbBaseInputContainer/BbBaseInputContainer.vue.d.ts → CommonField/CommonField.vue.d.ts} +5 -5
- package/dist/components/{BbBaseRadio/BbBaseRadio.vue.js → CommonField/CommonField.vue.js} +2 -2
- package/dist/components/CommonField/CommonField.vue_vue_type_script_setup_true_lang.js +189 -0
- package/dist/components/CommonField/messageHeightMatrix.d.ts +2 -0
- package/dist/components/{BbBaseInputContainer → CommonField}/types.d.ts +52 -16
- package/dist/components/{CommonInputWrapper/CommonInputWrapper.vue.d.ts → CommonFieldInput/CommonFieldInput.vue.d.ts} +5 -4
- package/dist/components/{BbBaseRadioGroup/BbBaseRadioGroup.vue.js → CommonFieldInput/CommonFieldInput.vue.js} +2 -2
- package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +120 -0
- package/dist/components/CommonFieldInput/boxBorderMatrix.d.ts +10 -0
- package/dist/components/{CommonInputWrapper → CommonFieldInput}/types.d.ts +27 -8
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +11 -2
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +76 -63
- package/dist/components/CommonPopover/types.d.ts +27 -8
- package/dist/components/{BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue.d.ts → CommonTimeSelector/CommonTimeSelector.vue.d.ts} +21 -2
- package/dist/components/{BbBaseColorPalette/BbBaseColorPalette.vue.js → CommonTimeSelector/CommonTimeSelector.vue.js} +2 -2
- package/dist/components/CommonTimeSelector/CommonTimeSelector.vue_vue_type_script_setup_true_lang.js +232 -0
- package/dist/components/CommonTimeSelector/types.d.ts +6 -0
- package/dist/components/FlatListBox/FlatListBox.vue.d.ts +5 -1
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +165 -95
- package/dist/components/FlatListBox/types.d.ts +24 -2
- package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +5 -1
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +217 -134
- package/dist/components/GroupedListBox/types.d.ts +24 -2
- package/dist/components/ListBox/ListBox.vue.d.ts +5 -1
- package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +95 -69
- package/dist/components/ListBox/types.d.ts +24 -2
- package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +1 -1
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +109 -37
- package/dist/components/OptionsContainer/types.d.ts +53 -9
- package/dist/components/Transitions/ScaleFade.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/components/Transitions/Slide.vue.js +1 -1
- package/dist/composables/useBaseOptions.d.ts +12 -1
- package/dist/composables/useBaseOptions.js +77 -37
- package/dist/composables/useBbConfig.d.ts +27 -6
- package/dist/composables/useBbConfig.js +8 -2
- package/dist/composables/useBbDropdownContext.d.ts +5 -0
- package/dist/composables/useBbFormContext.d.ts +131 -8
- package/dist/composables/useBbFormContext.js +49 -30
- package/dist/composables/useBbFormField.d.ts +40 -0
- package/dist/composables/useBbFormField.js +39 -0
- package/dist/composables/useBbTableContext.d.ts +45 -1
- package/dist/composables/useBbTableContext.js +93 -87
- package/dist/composables/useBbTabsContext.d.ts +15 -9
- package/dist/composables/useBbTabsContext.js +121 -90
- package/dist/composables/useClosingInert.d.ts +4 -4
- package/dist/composables/useCoarsePointer.js +7 -10
- package/dist/composables/useCoherence.js +1 -1
- package/dist/composables/useConfig.d.ts +59 -0
- package/dist/composables/useConfig.js +15 -0
- package/dist/composables/useConfirm.d.ts +39 -7
- package/dist/composables/useConfirm.js +50 -41
- package/dist/composables/useEscapeStackEntry.d.ts +13 -0
- package/dist/composables/useEscapeStackEntry.js +16 -0
- package/dist/composables/useFormBinding.d.ts +116 -0
- package/dist/composables/useFormBinding.js +34 -0
- package/dist/composables/useHydrated.d.ts +18 -0
- package/dist/composables/useHydrated.js +13 -7
- package/dist/composables/useId.d.ts +4 -3
- package/dist/composables/useId.js +1 -7
- package/dist/composables/useItemsGetter.d.ts +11 -0
- package/dist/composables/useItemsGetter.js +44 -18
- package/dist/composables/useKeyboardInset.d.ts +28 -0
- package/dist/composables/useKeyboardInset.js +32 -0
- package/dist/composables/useLocale.js +10 -7
- package/dist/composables/useMobile.js +7 -10
- package/dist/composables/usePassthrough.d.ts +228 -0
- package/dist/composables/usePassthrough.js +247 -0
- package/dist/composables/usePrefill.d.ts +22 -2
- package/dist/composables/usePrefill.js +35 -19
- package/dist/composables/useSafeAreaInternal.js +1 -1
- package/dist/composables/useSegmentedFields.d.ts +2 -2
- package/dist/composables/useSsrState.d.ts +20 -0
- package/dist/composables/useSsrState.js +13 -0
- package/dist/composables/useTableWidthContext.d.ts +24 -4
- package/dist/composables/useTableWidthContext.js +31 -28
- package/dist/composables/useToast.d.ts +18 -1
- package/dist/composables/useToast.js +31 -18
- package/dist/composables/useToggleInput.d.ts +44 -0
- package/dist/composables/useToggleInput.js +39 -0
- package/dist/composables/useViewportWidth.d.ts +5 -25
- package/dist/composables/useViewportWidth.js +14 -7
- package/dist/deprecation/ai-deprecations.json.d.ts +1977 -289
- package/dist/deprecation/ai-deprecations.json.js +1 -1
- package/dist/deprecation/removedProps.js +9 -4
- package/dist/directives/bbDropdown.d.ts +15 -4
- package/dist/directives/bbDropdown.js +31 -9
- package/dist/directives/bbTooltip.d.ts +6 -0
- package/dist/directives/createPopoverDirective.d.ts +62 -0
- package/dist/directives/createPopoverDirective.js +92 -37
- package/dist/i18n/index.d.ts +10 -16
- package/dist/i18n/locales/cs.json +9 -5
- package/dist/i18n/locales/da.json +9 -5
- package/dist/i18n/locales/de.json +9 -5
- package/dist/i18n/locales/el.json +9 -5
- package/dist/i18n/locales/en.json +9 -5
- package/dist/i18n/locales/es.json +9 -5
- package/dist/i18n/locales/fi.json +9 -5
- package/dist/i18n/locales/fr.json +9 -5
- package/dist/i18n/locales/hu.json +9 -5
- package/dist/i18n/locales/it.json +9 -5
- package/dist/i18n/locales/ja.json +9 -5
- package/dist/i18n/locales/ko.json +9 -5
- package/dist/i18n/locales/nb.json +9 -5
- package/dist/i18n/locales/nl.json +9 -5
- package/dist/i18n/locales/pl.json +9 -5
- package/dist/i18n/locales/pt.json +9 -5
- package/dist/i18n/locales/ro.json +9 -5
- package/dist/i18n/locales/ru.json +9 -5
- package/dist/i18n/locales/sv.json +9 -5
- package/dist/i18n/locales/tr.json +9 -5
- package/dist/i18n/locales/uk.json +9 -5
- package/dist/i18n/locales/zh-cn.json +9 -5
- package/dist/icon-scan.d.ts +276 -0
- package/dist/icon-scan.js +485 -0
- package/dist/icons-whitelist.d.ts +5 -4
- package/dist/index.d.ts +40 -21
- package/dist/index.js +78 -71
- package/dist/llms-full.txt +61164 -27972
- package/dist/llms-medium.txt +1482 -366
- package/dist/llms.txt +32 -15
- package/dist/locale-blueprint.json +9 -5
- package/dist/nuxt-auto-imports.d.ts +76 -0
- package/dist/nuxt-auto-imports.js +32 -0
- package/dist/nuxt-module.d.ts +30 -15
- package/dist/nuxt.js +35 -9
- package/dist/passthrough-deduper.js +5 -0
- package/dist/plugin.d.ts +10 -1
- package/dist/plugin.js +29 -19
- package/dist/project-dts.d.ts +84 -0
- package/dist/project-dts.js +170 -0
- package/dist/reset.css +1 -1
- package/dist/runtime/nuxt-plugin.js +34 -21
- package/dist/styles.css +3 -2
- package/dist/types/AlertVariant.d.ts +10 -1
- package/dist/types/BadgeVariant.d.ts +16 -5
- package/dist/types/ButtonVariant.d.ts +12 -1
- package/dist/types/ColumnName.d.ts +30 -3
- package/dist/types/CommonProps.d.ts +2 -2
- package/dist/types/Config.d.ts +94 -1
- package/dist/types/ConfirmVariant.d.ts +8 -1
- package/dist/types/DropdownItemVariant.d.ts +8 -1
- package/dist/types/FieldLayout.d.ts +32 -0
- package/dist/types/IndicatorVariant.d.ts +11 -1
- package/dist/types/InputVariant.d.ts +30 -0
- package/dist/types/ItemProps.d.ts +50 -0
- package/dist/types/Option.d.ts +6 -0
- package/dist/types/PtScope.d.ts +15 -0
- package/dist/types/RegistryKey.d.ts +10 -0
- package/dist/types/TabsVariant.d.ts +25 -0
- package/dist/types/ToastVariant.d.ts +12 -2
- package/dist/types/TooltipVariant.d.ts +8 -1
- package/dist/types/passthrough.d.ts +362 -0
- package/dist/types/passthrough.js +78 -0
- package/dist/types/ptComponentMap.d.ts +62 -0
- package/dist/utilities/functions/hasVnodeListener.d.ts +16 -0
- package/dist/utilities/functions/hasVnodeListener.js +12 -0
- package/dist/utilities/functions/isImeComposing.d.ts +7 -0
- package/dist/utilities/functions/isImeComposing.js +4 -0
- package/dist/utilities/functions/itemProps.d.ts +46 -0
- package/dist/utilities/functions/itemProps.js +47 -0
- package/dist/utilities/functions/slotKey.d.ts +13 -8
- package/dist/utilities/functions/slotKey.js +78 -2
- package/dist/utilities/functions/snapToStep.js +2 -1
- package/dist/utilities/functions/toggleInput.d.ts +98 -0
- package/dist/utilities/functions/toggleInput.js +56 -0
- package/dist/utilities/functions/warnRemovedAttrs.d.ts +27 -1
- package/dist/utilities/functions/warnRemovedAttrs.js +75 -14
- package/dist/utilities/misc/listboxMetrics.d.ts +9 -3
- package/dist/utilities/misc/listboxMetrics.js +5 -2
- package/dist/utilities/misc/ssrStateInjectionKey.d.ts +42 -0
- package/dist/utilities/misc/ssrStateInjectionKey.js +4 -0
- package/dist/utils/cssLayers.d.ts +91 -0
- package/dist/utils/cssLayers.js +43 -0
- package/dist/utils/injectLibraryStyles.d.ts +3 -1
- package/dist/utils/injectLibraryStyles.js +24 -23
- package/dist/utils/overlayEscapeStack.d.ts +10 -0
- package/dist/utils/overlayEscapeStack.js +5 -3
- package/dist/utils/passthrough.d.ts +67 -0
- package/dist/utils/passthrough.js +100 -0
- package/dist/utils/passthroughDeduper.d.ts +2 -0
- package/dist/utils/ptScope.d.ts +8 -0
- package/dist/utils/ptScope.js +4 -0
- package/dist/utils/versionCheck.d.ts +19 -0
- package/dist/utils/versionCheck.js +18 -0
- package/dist/vite-plugin.d.ts +301 -53
- package/dist/vite.js +547 -375
- package/llms.txt +33 -16
- package/package.json +49 -27
- package/scripts/lib/check-fix.mjs +129 -0
- package/scripts/lib/component-attr-targets.ts +123 -0
- package/scripts/lib/component-tree.ts +648 -0
- package/scripts/lib/css-class-check.mjs +326 -0
- package/scripts/lib/css-class-surface.mjs +292 -0
- package/scripts/lib/css-color-resolve.mjs +172 -0
- package/scripts/lib/css-local-check.mjs +267 -0
- package/scripts/lib/design-token-manifest.mjs +499 -0
- package/scripts/lib/doc-sections.mjs +248 -0
- package/scripts/lib/ensure-manifest.mjs +28 -5
- package/scripts/lib/eslint-disable.mjs +141 -0
- package/scripts/lib/eslint-plugin.d.ts +64 -1
- package/scripts/lib/eslint-plugin.mjs +1285 -30
- package/scripts/lib/hand-imported-styles.mjs +326 -0
- package/scripts/lib/hand-roll-hints.mjs +50 -6
- package/scripts/lib/html-attributes.mjs +353 -0
- package/scripts/lib/local-components.mjs +177 -0
- package/scripts/lib/mcp-config.mjs +87 -58
- package/scripts/lib/migrate-fix.mjs +62 -3
- package/scripts/lib/project-variant-dts.mjs +122 -0
- package/scripts/lib/public-type-exports.mjs +273 -0
- package/scripts/lib/slot-key.mjs +147 -0
- package/scripts/lib/slot-renames.mjs +46 -0
- package/scripts/lib/squashed-slot-words.mjs +133 -0
- package/scripts/lib/validate-bb-markup.mjs +2213 -76
- package/scripts/lib/wrapper-props.mjs +188 -0
- package/dist/ai/BbBaseCheckbox.md +0 -49
- package/dist/ai/BbBaseCheckboxGroup.md +0 -64
- package/dist/ai/BbBaseColorInput.md +0 -65
- package/dist/ai/BbBaseColorPalette.md +0 -39
- package/dist/ai/BbBaseDatePicker.md +0 -43
- package/dist/ai/BbBaseDatePickerInput.md +0 -73
- package/dist/ai/BbBaseInputContainer.md +0 -48
- package/dist/ai/BbBaseNumberInput.md +0 -71
- package/dist/ai/BbBaseRadio.md +0 -46
- package/dist/ai/BbBaseRadioGroup.md +0 -64
- package/dist/ai/BbBaseRating.md +0 -52
- package/dist/ai/BbBaseSelect.md +0 -88
- package/dist/ai/BbBaseSlider.md +0 -56
- package/dist/ai/BbBaseSwitch.md +0 -49
- package/dist/ai/BbBaseSwitchGroup.md +0 -64
- package/dist/ai/BbBaseTag.md +0 -68
- package/dist/ai/BbBaseTextInput.md +0 -75
- package/dist/ai/BbBaseTextarea.md +0 -62
- package/dist/ai/BbBaseTimePickerInput.md +0 -62
- package/dist/ai/BbTabsPanes.md +0 -27
- package/dist/ai/CommonInputWrapper.md +0 -42
- package/dist/ai/source/BbBaseCheckbox.md +0 -461
- package/dist/ai/source/BbBaseCheckboxGroup.md +0 -554
- package/dist/ai/source/BbBaseColorInput.md +0 -431
- package/dist/ai/source/BbBaseColorPalette.md +0 -942
- package/dist/ai/source/BbBaseDatePicker.md +0 -1448
- package/dist/ai/source/BbBaseDatePickerInput.md +0 -1940
- package/dist/ai/source/BbBaseNumberInput.md +0 -617
- package/dist/ai/source/BbBaseRadio.md +0 -381
- package/dist/ai/source/BbBaseRadioGroup.md +0 -539
- package/dist/ai/source/BbBaseRating.md +0 -607
- package/dist/ai/source/BbBaseSelect.md +0 -945
- package/dist/ai/source/BbBaseSlider.md +0 -1144
- package/dist/ai/source/BbBaseSwitch.md +0 -246
- package/dist/ai/source/BbBaseSwitchGroup.md +0 -302
- package/dist/ai/source/BbBaseTag.md +0 -694
- package/dist/ai/source/BbBaseTextInput.md +0 -511
- package/dist/ai/source/BbBaseTextarea.md +0 -504
- package/dist/ai/source/BbBaseTimePickerInput.md +0 -1037
- package/dist/ai/source/BbTabsPanes.md +0 -377
- package/dist/ai/source/CommonInputWrapper.md +0 -584
- package/dist/alert-variants.d.ts +0 -19
- package/dist/assets/svgs/sort.svg_raw.js +0 -4
- package/dist/badge-variants.d.ts +0 -19
- package/dist/button-variants.d.ts +0 -21
- package/dist/components/BbBadge/BadgeAppendIcon.vue.d.ts +0 -3
- package/dist/components/BbBadge/BadgeAppendIcon.vue.js +0 -5
- package/dist/components/BbBadge/BadgeAppendIcon.vue_vue_type_script_setup_true_lang.js +0 -22
- package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue.d.ts +0 -40
- package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue.js +0 -6
- package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue_vue_type_script_setup_true_lang.js +0 -145
- package/dist/components/BbBaseCheckbox/types.d.ts +0 -224
- package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue.d.ts +0 -19
- package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue.js +0 -6
- package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue_vue_type_script_setup_true_lang.js +0 -190
- package/dist/components/BbBaseCheckboxGroup/types.d.ts +0 -257
- package/dist/components/BbBaseColorInput/BbBaseColorInput.vue.d.ts +0 -43
- package/dist/components/BbBaseColorInput/BbBaseColorInput.vue.js +0 -6
- package/dist/components/BbBaseColorInput/BbBaseColorInput.vue_vue_type_script_setup_true_lang.js +0 -184
- package/dist/components/BbBaseColorInput/types.d.ts +0 -219
- package/dist/components/BbBaseColorPalette/BbBaseColorPalette.vue.d.ts +0 -13
- package/dist/components/BbBaseColorPalette/BbBaseColorPalette.vue_vue_type_script_setup_true_lang.js +0 -395
- package/dist/components/BbBaseColorPalette/types.d.ts +0 -40
- package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue.d.ts +0 -20
- package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue.js +0 -6
- package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue_vue_type_script_setup_true_lang.js +0 -407
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue.d.ts +0 -47
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue.js +0 -5
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue_vue_type_script_setup_true_lang.js +0 -318
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue.js +0 -5
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue_vue_type_script_setup_true_lang.js +0 -115
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerYearSelector.vue.js +0 -5
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerYearSelector.vue_vue_type_script_setup_true_lang.js +0 -116
- package/dist/components/BbBaseDatePicker/types.d.ts +0 -108
- package/dist/components/BbBaseDatePicker/useDatePickerContext.js +0 -11
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue.d.ts +0 -31
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue.js +0 -6
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue_vue_type_script_setup_true_lang.js +0 -737
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue.js +0 -6
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue_vue_type_script_setup_true_lang.js +0 -204
- package/dist/components/BbBaseDatePickerInput/types.d.ts +0 -325
- package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue.js +0 -6
- package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue_vue_type_script_setup_true_lang.js +0 -190
- package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue.d.ts +0 -52
- package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue.js +0 -6
- package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue_vue_type_script_setup_true_lang.js +0 -215
- package/dist/components/BbBaseNumberInput/types.d.ts +0 -211
- package/dist/components/BbBaseRadio/BbBaseRadio.vue.d.ts +0 -33
- package/dist/components/BbBaseRadio/BbBaseRadio.vue_vue_type_script_setup_true_lang.js +0 -113
- package/dist/components/BbBaseRadio/types.d.ts +0 -179
- package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue.d.ts +0 -19
- package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue_vue_type_script_setup_true_lang.js +0 -179
- package/dist/components/BbBaseRadioGroup/types.d.ts +0 -223
- package/dist/components/BbBaseRating/BbBaseRating.vue.d.ts +0 -38
- package/dist/components/BbBaseRating/BbBaseRating.vue.js +0 -6
- package/dist/components/BbBaseRating/BbBaseRating.vue_vue_type_script_setup_true_lang.js +0 -192
- package/dist/components/BbBaseRating/types.d.ts +0 -176
- package/dist/components/BbBaseSelect/BbBaseSelect.vue.d.ts +0 -19
- package/dist/components/BbBaseSelect/BbBaseSelect.vue.js +0 -6
- package/dist/components/BbBaseSelect/BbBaseSelect.vue_vue_type_script_setup_true_lang.js +0 -311
- package/dist/components/BbBaseSelect/types.d.ts +0 -297
- package/dist/components/BbBaseSlider/BbBaseSlider.vue.d.ts +0 -35
- package/dist/components/BbBaseSlider/BbBaseSlider.vue.js +0 -6
- package/dist/components/BbBaseSlider/BbBaseSlider.vue_vue_type_script_setup_true_lang.js +0 -340
- package/dist/components/BbBaseSlider/types.d.ts +0 -200
- package/dist/components/BbBaseSwitch/BbBaseSwitch.vue.d.ts +0 -35
- package/dist/components/BbBaseSwitch/BbBaseSwitch.vue_vue_type_script_setup_true_lang.js +0 -146
- package/dist/components/BbBaseSwitch/types.d.ts +0 -10
- package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue.d.ts +0 -19
- package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue.js +0 -6
- package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue_vue_type_script_setup_true_lang.js +0 -190
- package/dist/components/BbBaseSwitchGroup/types.d.ts +0 -8
- package/dist/components/BbBaseTag/BbBaseTag.vue.d.ts +0 -50
- package/dist/components/BbBaseTag/BbBaseTag.vue.js +0 -6
- package/dist/components/BbBaseTag/BbBaseTag.vue_vue_type_script_setup_true_lang.js +0 -266
- package/dist/components/BbBaseTag/types.d.ts +0 -160
- package/dist/components/BbBaseTextInput/BbBaseTextInput.vue.d.ts +0 -45
- package/dist/components/BbBaseTextInput/BbBaseTextInput.vue.js +0 -6
- package/dist/components/BbBaseTextInput/BbBaseTextInput.vue_vue_type_script_setup_true_lang.js +0 -200
- package/dist/components/BbBaseTextInput/types.d.ts +0 -209
- package/dist/components/BbBaseTextarea/BbBaseTextarea.vue.d.ts +0 -39
- package/dist/components/BbBaseTextarea/BbBaseTextarea.vue.js +0 -6
- package/dist/components/BbBaseTextarea/BbBaseTextarea.vue_vue_type_script_setup_true_lang.js +0 -187
- package/dist/components/BbBaseTextarea/types.d.ts +0 -170
- package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue.d.ts +0 -27
- package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue.js +0 -6
- package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue_vue_type_script_setup_true_lang.js +0 -519
- package/dist/components/BbBaseTimePickerInput/types.d.ts +0 -151
- package/dist/components/BbTabs/BbTabsPanes.vue.d.ts +0 -16
- package/dist/components/BbTabs/BbTabsPanes.vue.js +0 -6
- package/dist/components/BbTabs/BbTabsPanes.vue_vue_type_script_setup_true_lang.js +0 -35
- package/dist/components/CommonInputWrapper/CommonInputWrapper.vue.js +0 -6
- package/dist/components/CommonInputWrapper/CommonInputWrapper.vue_vue_type_script_setup_true_lang.js +0 -107
- package/dist/confirm-variants.d.ts +0 -17
- package/dist/dropdown-item-variants.d.ts +0 -17
- package/dist/indicator-variants.d.ts +0 -20
- package/dist/locale-registry.d.ts +0 -37
- package/dist/toast-variants.d.ts +0 -20
- package/dist/tooltip-variants.d.ts +0 -17
- package/dist/types/InputDirection.d.ts +0 -15
- package/dist/validated/BbCheckbox.vue.d.ts +0 -29
- package/dist/validated/BbCheckbox.vue.js +0 -5
- package/dist/validated/BbCheckbox.vue_vue_type_script_setup_true_lang.js +0 -75
- package/dist/validated/BbCheckboxGroup.vue.d.ts +0 -34
- package/dist/validated/BbCheckboxGroup.vue.js +0 -5
- package/dist/validated/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +0 -82
- package/dist/validated/BbColorInput.vue.d.ts +0 -37
- package/dist/validated/BbColorInput.vue.js +0 -5
- package/dist/validated/BbColorInput.vue_vue_type_script_setup_true_lang.js +0 -75
- package/dist/validated/BbDatePickerInput.vue.d.ts +0 -41
- package/dist/validated/BbDatePickerInput.vue.js +0 -5
- package/dist/validated/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +0 -90
- package/dist/validated/BbDropzone.vue.d.ts +0 -24
- package/dist/validated/BbDropzone.vue.js +0 -5
- package/dist/validated/BbDropzone.vue_vue_type_script_setup_true_lang.js +0 -45
- package/dist/validated/BbForm.vue.d.ts +0 -28
- package/dist/validated/BbForm.vue_vue_type_script_setup_true_lang.js +0 -42
- package/dist/validated/BbNumberInput.vue.d.ts +0 -36
- package/dist/validated/BbNumberInput.vue.js +0 -5
- package/dist/validated/BbNumberInput.vue_vue_type_script_setup_true_lang.js +0 -72
- package/dist/validated/BbRadioGroup.vue.d.ts +0 -34
- package/dist/validated/BbRadioGroup.vue.js +0 -5
- package/dist/validated/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +0 -78
- package/dist/validated/BbRating.vue.d.ts +0 -30
- package/dist/validated/BbRating.vue.js +0 -5
- package/dist/validated/BbRating.vue_vue_type_script_setup_true_lang.js +0 -63
- package/dist/validated/BbSelect.vue.d.ts +0 -46
- package/dist/validated/BbSelect.vue.js +0 -5
- package/dist/validated/BbSelect.vue_vue_type_script_setup_true_lang.js +0 -109
- package/dist/validated/BbSlider.vue.d.ts +0 -36
- package/dist/validated/BbSlider.vue.js +0 -5
- package/dist/validated/BbSlider.vue_vue_type_script_setup_true_lang.js +0 -69
- package/dist/validated/BbSwitch.vue.d.ts +0 -29
- package/dist/validated/BbSwitch.vue.js +0 -5
- package/dist/validated/BbSwitch.vue_vue_type_script_setup_true_lang.js +0 -75
- package/dist/validated/BbSwitchGroup.vue.d.ts +0 -34
- package/dist/validated/BbSwitchGroup.vue.js +0 -5
- package/dist/validated/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +0 -82
- package/dist/validated/BbTag.vue.d.ts +0 -36
- package/dist/validated/BbTag.vue.js +0 -5
- package/dist/validated/BbTag.vue_vue_type_script_setup_true_lang.js +0 -72
- package/dist/validated/BbTextInput.vue.d.ts +0 -36
- package/dist/validated/BbTextInput.vue.js +0 -5
- package/dist/validated/BbTextInput.vue_vue_type_script_setup_true_lang.js +0 -72
- package/dist/validated/BbTextarea.vue.d.ts +0 -36
- package/dist/validated/BbTextarea.vue.js +0 -5
- package/dist/validated/BbTextarea.vue_vue_type_script_setup_true_lang.js +0 -70
- package/dist/validated/BbTimePickerInput.vue.d.ts +0 -37
- package/dist/validated/BbTimePickerInput.vue.js +0 -5
- package/dist/validated/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +0 -81
- package/dist/validated/index.d.ts +0 -43
- package/dist/validated/useValidatedField.d.ts +0 -93
- package/dist/validated/useValidatedField.js +0 -51
- package/dist/validated.js +0 -21
- /package/dist/components/{BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue.d.ts → BbCalendar/CalendarMonthPanel.vue.d.ts} +0 -0
- /package/dist/components/{BbBaseDatePicker/BbBaseDatePickerYearSelector.vue.d.ts → BbCalendar/CalendarYearPanel.vue.d.ts} +0 -0
- /package/dist/{components/BbBaseDatePicker/typeahead.d.ts → composables/useTypeahead.d.ts} +0 -0
- /package/dist/{components/BbBaseDatePicker/typeahead.js → composables/useTypeahead.js} +0 -0
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Validation libraries (Zod, Valibot, ArkType, Yup, Joi, Effect, string rules)
|
|
3
|
+
summary: Which validation library does what inside BbForm's `schema` — a measured compatibility matrix (errors by path, messages per path, transforms, async, typed @submit, required asterisk, emptied-field messages), what each needs tweaked, and what changes in an app when you switch from one library to another, with the same sign-up form in each.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Validation libraries in `BbForm`
|
|
7
|
+
|
|
8
|
+
`BbForm`'s `schema` takes any
|
|
9
|
+
[Standard Schema](https://standardschema.dev) as it is, with no adapter;
|
|
10
|
+
per-field `rules="required|email"` strings are the other way. The prop is
|
|
11
|
+
`schema` (`:schema="signup"`), as in Nuxt UI's `UForm` and vee-validate's
|
|
12
|
+
`<Form>`. Every cell below
|
|
13
|
+
is measured by `src/components/BbForm/BbForm.libraries.test.ts` (one sign-up form, the
|
|
14
|
+
same six fields and scenarios for each library, in a real browser). Setup and
|
|
15
|
+
the form itself: [Validated Forms](./validated-forms.md),
|
|
16
|
+
[BbForm](../BbForm.md).
|
|
17
|
+
|
|
18
|
+
## The matrix
|
|
19
|
+
|
|
20
|
+
| Library (tested version) | Errors by path (nested, `lines.0.qty`) | Messages per path (2 checks fail) | Transforms reach `@submit` | Async refinement | Typed `@submit` | Required asterisk from the schema |
|
|
21
|
+
| ---------------------------------------------------- | -------------------------------------- | --------------------------------------- | -------------------------- | ------------------------------------- | --------------- | --------------------------------- |
|
|
22
|
+
| Zod 4 (4.4) | ✅ | all (2) | ✅ | ✅ `refine` | ✅ | ✅ |
|
|
23
|
+
| Zod 3 (3.24) | ✅ | all (2) | ✅ | ✅ `refine` | ✅ | ✅ |
|
|
24
|
+
| Valibot 1 (1.5) | ✅ | all (2) | ✅ | ✅ `*Async` | ✅ | ✅ |
|
|
25
|
+
| ArkType 2 (2.2) | ✅ | one, combined | ✅ | ✗ (`narrow` is sync) | ✅ | ✅ |
|
|
26
|
+
| Yup 1.7+ (1.7) | ✅ | all (2) | ✅ | ✅ async `test` | ✅ | ✅ |
|
|
27
|
+
| Joi 18 (18.2) | ✅ | all, with `abortEarly: false` | ✅ | ✗ (`external` is not Standard Schema) | ✗ `any` | ✅ |
|
|
28
|
+
| Effect Schema 3 (3.22), `Schema.standardSchemaV1(s)` | ✅ | one (a pipe stops at its first failure) | ✅ | not tested | ✅ | ✅ |
|
|
29
|
+
| vee-validate string rules (`@vee-validate/rules`) | ✅ (per field) | one (rules bail) | — (no transforms) | ✅ async rule | — (plain map) | ✅ from `required` in the string |
|
|
30
|
+
|
|
31
|
+
➖ **Not supported** (no Standard Schema interface, checked in their packages):
|
|
32
|
+
Superstruct 2, TypeBox 0.34, runtypes 7. Wrap one in a vee-validate
|
|
33
|
+
`TypedSchema` yourself, or move to a library above. Regle is a form library
|
|
34
|
+
(an alternative to vee-validate), not a schema.
|
|
35
|
+
|
|
36
|
+
## What needs a tweak
|
|
37
|
+
|
|
38
|
+
- **Empty text fields.** By default an emptied `BbTextInput` / `BbTextarea`
|
|
39
|
+
holds `null`, not `''`. You choose which, app-wide, with the plugin option
|
|
40
|
+
`formControls: { textInputNullValue, textareaNullValue }` (`null` or `''`):
|
|
41
|
+
- **`''` mode** (`textInputNullValue: ''`, `textareaNullValue: ''`): write
|
|
42
|
+
the schema the usual way, `z.string().min(1, 'Required')` /
|
|
43
|
+
`v.pipe(v.string(), v.minLength(1, 'Required'))`, and your message shows.
|
|
44
|
+
Start your text values as `''` as well: the option changes what an
|
|
45
|
+
EMPTIED field emits, not the value your page starts it with.
|
|
46
|
+
- **`null` mode (the default):** give the TYPE the message, or the library's
|
|
47
|
+
own "expected string, received null" shows:
|
|
48
|
+
|
|
49
|
+
| Library | The message on an emptied field |
|
|
50
|
+
| ------- | -------------------------------------------------------------------------- |
|
|
51
|
+
| Zod 4 | `z.string('Required').min(1, 'Required')` |
|
|
52
|
+
| Zod 3 | `z.string({ invalid_type_error: 'Required', required_error: 'Required' })` |
|
|
53
|
+
| Valibot | `v.pipe(v.string('Required'), v.minLength(1, 'Required'))` |
|
|
54
|
+
| ArkType | `type('string').configure({ message: 'Required' })` on the BASE type |
|
|
55
|
+
| Yup | `.required('Required')` already covers `null` |
|
|
56
|
+
| Joi | `.required().messages({ '*': 'Required' })` |
|
|
57
|
+
| Effect | `Schema.String.annotations({ message: () => 'Required' })` |
|
|
58
|
+
|
|
59
|
+
An optional text field is `nullable` / `nullish` (`z.string().nullish()`,
|
|
60
|
+
`v.nullish(v.string())`, `'string | null'`, `yup.string().nullable()`,
|
|
61
|
+
`Joi.string().allow(null, '')`, `Schema.NullOr(Schema.String)`).
|
|
62
|
+
|
|
63
|
+
- **The asterisk** comes from every schema library in the matrix, with
|
|
64
|
+
nothing to add: Zod 4, ArkType and Joi through their JSON Schema, Zod 3,
|
|
65
|
+
Yup, Valibot and Effect through their own schema shape. A key is "required"
|
|
66
|
+
when it is not optional, has no default and is not nullable.
|
|
67
|
+
- **Joi** needs `.prefs({ abortEarly: false })` to report every field, and
|
|
68
|
+
gives an untyped `@submit` (`any`).
|
|
69
|
+
- **Yup below 1.7** has no Standard Schema: vee-validate then runs it itself,
|
|
70
|
+
and its transforms never reach `@submit` (a vee-validate 4.15 bug: it reads
|
|
71
|
+
`value`, its Yup adapter returns `output`). Upgrade Yup.
|
|
72
|
+
- **A number field** (`BbNumberInput`) already holds a `number` (or `null`):
|
|
73
|
+
use `z.number()` / `v.number()`, not a coercion.
|
|
74
|
+
- **Messages per path** differ (the matrix): `fields[path].errors` and
|
|
75
|
+
`errors[path]` hold them all, a control shows them all.
|
|
76
|
+
|
|
77
|
+
## Switching from X to Y — what changes
|
|
78
|
+
|
|
79
|
+
**Stays the same:** the markup. Field paths are the fields' `name`s
|
|
80
|
+
(`address[city]` or `address.city`), so the schema's keys must name the same
|
|
81
|
+
paths; `@submit`, `errors`, `fields`, `setErrors` and focus behave the same.
|
|
82
|
+
|
|
83
|
+
**Changes:** the schema code, the message texts (each library has its own
|
|
84
|
+
defaults; `@vee-validate/i18n` translates string rules only), the asterisk
|
|
85
|
+
(see the matrix), how many messages a field gets, and the `@submit` type.
|
|
86
|
+
|
|
87
|
+
The same sign-up (name trimmed, email, password ≥ 8, nested city) in each:
|
|
88
|
+
|
|
89
|
+
```ts
|
|
90
|
+
// Zod 4
|
|
91
|
+
import { z } from 'zod';
|
|
92
|
+
const signup = z.object({
|
|
93
|
+
name: z.string('Required').trim().min(1, 'Required'),
|
|
94
|
+
email: z.email('Enter a valid email'),
|
|
95
|
+
password: z.string('Required').min(8, 'At least 8 characters'),
|
|
96
|
+
address: z.object({ city: z.string('Required').min(1, 'Required') }),
|
|
97
|
+
});
|
|
98
|
+
type Values = z.output<typeof signup>;
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
```ts
|
|
102
|
+
// Valibot
|
|
103
|
+
import * as v from 'valibot';
|
|
104
|
+
const signup = v.object({
|
|
105
|
+
name: v.pipe(v.string('Required'), v.trim(), v.minLength(1, 'Required')),
|
|
106
|
+
email: v.pipe(v.string('Required'), v.email('Enter a valid email')),
|
|
107
|
+
password: v.pipe(
|
|
108
|
+
v.string('Required'),
|
|
109
|
+
v.minLength(8, 'At least 8 characters')
|
|
110
|
+
),
|
|
111
|
+
address: v.object({
|
|
112
|
+
city: v.pipe(v.string('Required'), v.minLength(1, 'Required')),
|
|
113
|
+
}),
|
|
114
|
+
});
|
|
115
|
+
type Values = v.InferOutput<typeof signup>;
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
```ts
|
|
119
|
+
// ArkType — the message on the base type
|
|
120
|
+
import { type } from 'arktype';
|
|
121
|
+
const text = type('string').configure({ message: 'Required' });
|
|
122
|
+
const signup = type({
|
|
123
|
+
name: text
|
|
124
|
+
.pipe((s) => s.trim())
|
|
125
|
+
.to(type('string > 0').configure({ message: 'Required' })),
|
|
126
|
+
email: type('string.email').configure({ message: 'Enter a valid email' }),
|
|
127
|
+
password: type('string >= 8').configure({ message: 'At least 8 characters' }),
|
|
128
|
+
address: { city: type('string > 0').configure({ message: 'Required' }) },
|
|
129
|
+
});
|
|
130
|
+
type Values = typeof signup.infer;
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
```ts
|
|
134
|
+
// Yup
|
|
135
|
+
import * as yup from 'yup';
|
|
136
|
+
const signup = yup.object({
|
|
137
|
+
name: yup.string().trim().required('Required'),
|
|
138
|
+
email: yup.string().required('Required').email('Enter a valid email'),
|
|
139
|
+
password: yup.string().required('Required').min(8, 'At least 8 characters'),
|
|
140
|
+
address: yup.object({ city: yup.string().required('Required') }),
|
|
141
|
+
});
|
|
142
|
+
type Values = yup.InferType<typeof signup>;
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
```vue
|
|
146
|
+
<!-- string rules: no schema, the rules live on the fields -->
|
|
147
|
+
<BbForm @submit="save">
|
|
148
|
+
<BbTextInput label="Name" name="name" rules="required" />
|
|
149
|
+
<BbTextInput label="Email" name="email" rules="required|email" />
|
|
150
|
+
<BbTextInput label="Password" name="password" rules="required|min:8" />
|
|
151
|
+
<BbTextInput label="City" name="address[city]" rules="required" />
|
|
152
|
+
</BbForm>
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
### Checklists
|
|
156
|
+
|
|
157
|
+
- **Zod → Valibot**: rewrite the schema; `z.output<>` → `v.InferOutput<>`;
|
|
158
|
+
the message on `v.string(msg)` for an emptied field.
|
|
159
|
+
- **Zod 4 → Yup**: `z.output<>` → `yup.InferType<>`; Yup's `.required(msg)`
|
|
160
|
+
also covers `null`, and a field without `.required()` is optional (no
|
|
161
|
+
asterisk).
|
|
162
|
+
- **Any schema → ArkType**: one combined message per path instead of one per
|
|
163
|
+
check; async refinements move to the submit handler or the server.
|
|
164
|
+
- **String rules → a schema**: move every `rules` into the schema, keyed by the
|
|
165
|
+
field's `name`, and delete the `rules` (they are ignored while a schema is
|
|
166
|
+
set); `@submit` becomes the schema's output (transforms applied, typed);
|
|
167
|
+
messages come from the schema, not `@vee-validate/i18n`.
|
|
168
|
+
- **A schema → string rules**: remove `schema` (a form mounted
|
|
169
|
+
without one uses the rules); put `rules` on each field; transforms and the
|
|
170
|
+
typed payload go away (`@submit` gets the raw values); cross-field checks
|
|
171
|
+
become a custom rule.
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: Error providers (Inertia, Laravel, Precognition, vee-validate, Nuxt UI) into BbForm
|
|
3
|
+
summary: Where a bitboss-ui app's form errors come from — Inertia visits and useForm (error bags included), a Laravel 422 over fetch/axios, Laravel Precognition, plain vee-validate, Nuxt UI UForm, API Platform — each provider's real error shape and key format, the one-line bridge into BbForm's `setErrors`, where each message then shows (`fields`, `errors`, `unmatchedErrors`), and a checklist for porting a form from each.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Error providers into `BbForm`
|
|
7
|
+
|
|
8
|
+
Whatever produced the errors, `BbForm` takes them in one call and shows them
|
|
9
|
+
in one place:
|
|
10
|
+
|
|
11
|
+
- **`setErrors(map)`** (on `useBbFormContext(id)` and in the `BbForm` slot)
|
|
12
|
+
takes `{ [path]: string | string[] }`. Paths are field `name`s, dots or
|
|
13
|
+
brackets (`address.city`, `address[city]`, `items.0.qty`, `items[0].qty`).
|
|
14
|
+
It returns nothing.
|
|
15
|
+
- **`errors`** is every error of a field in `fields`, `{ [path]: string[] }`;
|
|
16
|
+
**`unmatchedErrors`** is every other one (no field has that path), same
|
|
17
|
+
shape, never blocking a submit. They never share a path:
|
|
18
|
+
`{ ...errors, ...unmatchedErrors }` is every error.
|
|
19
|
+
- A field's server error clears when the user edits the field or it is
|
|
20
|
+
validated again; `unmatchedErrors` clears when a submit starts, on reset and
|
|
21
|
+
on the next `setErrors`.
|
|
22
|
+
|
|
23
|
+
Every row below is tested with the provider's real shape
|
|
24
|
+
(`src/components/BbForm/BbForm.providers.test.ts`); the Inertia and Laravel rows also run as
|
|
25
|
+
real round trips against the Inertia fixture
|
|
26
|
+
(`fixtures/inertia/e2e/validated-server-errors.e2e.mjs`).
|
|
27
|
+
|
|
28
|
+
## The providers
|
|
29
|
+
|
|
30
|
+
| Provider (checked version) | Its error shape | Keys | Messages per key | It clears them | Bridge into BbForm |
|
|
31
|
+
| ----------------------------------------------------- | ---------------------------------------------------------- | ------------------------------------ | --------------------------------------- | ---------------------------------------------- | ------------------------------------------------------ |
|
|
32
|
+
| Inertia router visit (v2.3, v3.7) | `onError(errors)`, `$page.props.errors`: `{ k: string }` | Laravel's: dots, `items.0.qty` | one (`string[]` with `errorValueType`) | replaced on every visit | `onError: (errors) => form.setErrors(errors)` |
|
|
33
|
+
| Inertia with an error bag | `$page.props.errors[bag]`; `onError` gets the bag only | as above | one | per visit | same: `onError` is already scoped to the bag |
|
|
34
|
+
| Inertia `useForm` (v2.3, v3.7) | `form.errors: { k: string }` | dots | one (all with `withAllErrors()`) | `clearErrors().setError(errors)` per `onError` | `onError: () => form.setErrors(inertiaForm.errors)` |
|
|
35
|
+
| Laravel 422 JSON (fetch / axios) | `{ message, errors: { k: string[] } }` | dots, `items.0.qty` | all | — | `form.setErrors(body.errors)` |
|
|
36
|
+
| Laravel Precognition 2.0 (`laravel-precognition-vue`) | `validator.errors(): { k: string[] }`; `form.errors` first | dots | all (`form.errors`: first) | per field on its next `validate()` | `form.setErrors(precognitionForm.errors)` in a `watch` |
|
|
37
|
+
| plain vee-validate 4.15 (`useForm`) | `errors: { k: string }`, `errorBag: { k: string[] }` | brackets for indices, `items[0].qty` | first / all | on the field's next validation | `form.setErrors(errorBag.value)` |
|
|
38
|
+
| Nuxt UI 4 `UForm` | `FormError[]`: `{ name, message, id? }` | dots | one per entry, several entries per name | on the next validate | group by `name` (below) |
|
|
39
|
+
| API Platform / Symfony 422 | `violations: [{ propertyPath, message }]` | dots, `items[0].qty` | one per entry | — | group by `propertyPath` (below) |
|
|
40
|
+
|
|
41
|
+
```ts
|
|
42
|
+
// Nuxt UI FormError[] / API Platform violations → the map setErrors takes
|
|
43
|
+
const byPath = (list: Array<{ name?: string; message: string }>) =>
|
|
44
|
+
list.reduce<Record<string, string[]>>((map, { name, message }) => {
|
|
45
|
+
(map[name || '_request'] ??= []).push(message);
|
|
46
|
+
return map;
|
|
47
|
+
}, {});
|
|
48
|
+
form.setErrors(byPath(formErrors));
|
|
49
|
+
form.setErrors(
|
|
50
|
+
byPath(
|
|
51
|
+
body.violations.map((v) => ({ name: v.propertyPath, message: v.message }))
|
|
52
|
+
)
|
|
53
|
+
);
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
A **request-level message** (Laravel's `message` on a 403, a 500 text) has
|
|
57
|
+
no path: `form.setErrors({ ...body.errors, _request: [body.message] })` puts it in
|
|
58
|
+
`unmatchedErrors`, next to the keys no field has — in the SAME call: each
|
|
59
|
+
`setErrors` replaces the previous one's errors.
|
|
60
|
+
|
|
61
|
+
## Showing them
|
|
62
|
+
|
|
63
|
+
```vue
|
|
64
|
+
<script setup lang="ts">
|
|
65
|
+
import { computed } from 'vue';
|
|
66
|
+
import { BbAlert, useBbFormContext } from 'bitboss-ui';
|
|
67
|
+
|
|
68
|
+
const form = useBbFormContext('signup');
|
|
69
|
+
// Every error, one list: never overwrites (the two never share a path).
|
|
70
|
+
const summary = computed(() =>
|
|
71
|
+
Object.entries({ ...form.errors.value, ...form.unmatchedErrors.value })
|
|
72
|
+
);
|
|
73
|
+
</script>
|
|
74
|
+
|
|
75
|
+
<template>
|
|
76
|
+
<BbAlert v-if="summary.length" variant="destructive">
|
|
77
|
+
<p v-for="[path, messages] in summary" :key="path">{{ messages[0] }}</p>
|
|
78
|
+
</BbAlert>
|
|
79
|
+
</template>
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Field errors also show under their fields on their own. `errors.email` is an
|
|
83
|
+
array: read `errors.email?.[0]` for the first message. On a wizard with
|
|
84
|
+
`keep-values-on-unmount`, a field on a step you left stays in `fields`
|
|
85
|
+
(`mounted: false`) and keeps its server error; count them per step to jump
|
|
86
|
+
there ([BbForm § Server errors](../BbForm.md#server-errors-seterrors-and-fields)).
|
|
87
|
+
|
|
88
|
+
## Porting a form from each
|
|
89
|
+
|
|
90
|
+
- **Inertia `useForm`** → keep Inertia for the request (`router.post` or
|
|
91
|
+
`useForm().post`), move the fields into `BbForm` with `name`s equal to the
|
|
92
|
+
Laravel keys, and replace `:errors="form.errors.email"` on each input with
|
|
93
|
+
`form.setErrors(errors)` in `onError`. `form.processing` → the slot's
|
|
94
|
+
`isSubmitting`. Client-side checks move to `rules` or a
|
|
95
|
+
`schema`.
|
|
96
|
+
- **Inertia router with an error bag** → nothing extra: `onError` is already
|
|
97
|
+
scoped. `$page.props.errors.<bag>` readers become `errors` / `fields`.
|
|
98
|
+
- **Laravel 422 over fetch / axios** → `if (status === 422)
|
|
99
|
+
form.setErrors(body.errors)`; put `body.message` in `_request` only if you
|
|
100
|
+
want it shown.
|
|
101
|
+
- **Laravel Precognition** → keep its client for the live `validate()` calls
|
|
102
|
+
and mirror its errors: `watch(() => precognitionForm.errors, (e) =>
|
|
103
|
+
form.setErrors(e), { deep: true })`, or let `BbForm` validate on the
|
|
104
|
+
client and use Precognition only on submit.
|
|
105
|
+
- **plain vee-validate** → `useForm` becomes `<BbForm>`, `useField` becomes a
|
|
106
|
+
form control inside it with `name` = the path; `validationSchema`
|
|
107
|
+
becomes `BbForm`'s `schema` (no `toTypedSchema` needed); `errors.x` (a
|
|
108
|
+
string) becomes `errors.x?.[0]`; `setErrors` works with the same keys.
|
|
109
|
+
- **Nuxt UI `UForm`** → `:schema` stays `:schema` (the same Standard
|
|
110
|
+
Schema), `:state` → a `v-model` per field, `UFormField name` → the
|
|
111
|
+
control's `name`; `@error` → `@invalid` (BbForm already focuses the first
|
|
112
|
+
invalid field); `form.setErrors(FormError[])` → `form.setErrors(byPath(…))`.
|
|
113
|
+
- **API Platform** → `form.setErrors(byPath(violations…))`, as above.
|
package/dist/ai/index.md
CHANGED
|
@@ -10,9 +10,10 @@ This index helps agents quickly find component intent and authored guides before
|
|
|
10
10
|
|
|
11
11
|
- Default policy: recommend `Bb*` components first and treat low-level/internal primitives as reference-only.
|
|
12
12
|
- Setup policy: verify installation + plugin setup before proposing usage code.
|
|
13
|
+
- Naming policy: never name your own components `Bb…` — that prefix is bitboss-ui's. Use your app's prefix (`App…`, `Acme…`).
|
|
13
14
|
- Icon policy: discover available icons first and use only existing icon names.
|
|
14
15
|
- Contract-first policy: each component link below is a typed contract (props/events/slots/v-model). Read `source/<Name>.md` only when the contract is not enough.
|
|
15
|
-
- Machine-readable manifest: [components.json](./components.json) lists every component API surface for programmatic validation.
|
|
16
|
+
- Machine-readable manifest: [components.json](./components.json) lists every component API surface for programmatic validation, plus a `types` array of the public TYPE exports (`BbTableColumn`, `BbDropdownItem`, …) naming the prop each one types and a `usage` tier — `api` is the two dozen you actually reach for, `wrapper` is for wrapping our components in yours, `advanced` is registries and contexts. Those are not components: import them, never write them as a tag.
|
|
16
17
|
- Package path: use `dist/ai/guides/ai-router.md` (then `dist/ai/index.md`) inside the installed `bitboss-ui` package (`node_modules/bitboss-ui/dist/ai/`).
|
|
17
18
|
|
|
18
19
|
## Recipes (Page-Level Assemblies)
|
|
@@ -38,6 +39,9 @@ Start from a recipe when building a whole page or flow — they encode the idiom
|
|
|
38
39
|
- [Records Workspace (Inertia)](./recipes/inertia/records-workspace.md) - Full-anatomy invoices workspace for Laravel + Inertia — breadcrumbs + page search, chip filter rail (one Filters menu + editable filter chips), server-visit tabs with counts, one-click status cells via promise-wrapped visits, bulk bottom panel with select-all-across-pages, and a stacked peek sidebar, all through one page context that coopts the Inertia Helpers toolkit.
|
|
39
40
|
- [Records Workspace (Nuxt)](./recipes/nuxt/records-workspace.md) - Full-anatomy invoices workspace for Nuxt — breadcrumbs + page search, chip filter rail (one Filters menu + editable filter chips), href tabs with counts, one-click status cells, bulk bottom panel, and a stacked peek sidebar, filters URL-synced and data fetched with useAsyncData, all through one coopting page context.
|
|
40
41
|
- [Records Workspace (Vue)](./recipes/vue/records-workspace.md) - Full-anatomy invoices workspace for a vue-router SPA — breadcrumbs + page search, chip filter rail (one Filters menu + editable filter chips), href tabs with counts, one-click status cells, bulk bottom panel, and a stacked peek sidebar, all through one coopting page context.
|
|
42
|
+
- [Settings Workspace (Inertia)](./recipes/inertia/settings-workspace.md) - Full settings area for Laravel + Inertia — one BbTabs side nav deep-linked through ?section= (a scrolling strip on a phone), sections as page props mirrored into local refs, every write a promise-wrapped partial-reload visit, Inertia errors straight into BbForm setErrors, an explicit-save Zod profile guarded by useConfirmOnRouteLeave, instant notification toggles that revert, members with one-click roles, a one-render flash for the reveal-once API key secret, read-only billing and a typed-name danger zone, all through one coopting page context.
|
|
43
|
+
- [Settings Workspace (Nuxt)](./recipes/nuxt/settings-workspace.md) - Full settings area for Nuxt — one BbTabs side nav deep-linked through ?section= (a scrolling strip on a phone), SSR-rendered sections read with useFetch and awaited before render, $fetch writes with FetchError 422s through BbForm setErrors and a 409 revert, an explicit-save Zod profile with a leave guard, instant notification toggles, members with one-click roles, read-only billing, reveal-once API keys and a typed-name danger zone, all through one coopting page context.
|
|
44
|
+
- [Settings Workspace (Vue)](./recipes/vue/settings-workspace.md) - Full settings area for a vue-router SPA — one BbTabs side nav deep-linked through ?section= (a scrolling strip on a phone), an explicit-save Profile on BbForm + a Zod schema with the server 422 through setErrors, a dirty dot and a route-leave guard, instant-save notification switches and a checkbox matrix that revert on failure, a members table with one-click roles, invite dialog and confirmed removal, read-only billing, reveal-once API keys, and a typed-name danger zone, all through one coopting page context.
|
|
41
45
|
- [Upload Center (Inertia)](./recipes/inertia/upload-center.md) - Full-anatomy expense-receipts upload center for Laravel + Inertia — multi-file dropzone into an inline-editable table (text, category popover, amount, date cells), per-file progress with inline retry via a direct fetch/XHR upload path, submit-all with count via promise-wrapped visits, bulk bottom panel, and a stacked receipt/merchant peek sidebar, all through one page context that coopts the Inertia Helpers toolkit.
|
|
42
46
|
- [Upload Center (Nuxt)](./recipes/nuxt/upload-center.md) - Full-anatomy expense-receipts upload center for Nuxt — multi-file dropzone into an inline-editable table (text, category popover, amount, date cells), per-file progress with inline retry, submit-all with count, bulk bottom panel, and a stacked receipt/merchant peek sidebar, filters URL-synced and drafts fetched with useAsyncData while the upload queue stays client-only, all through one coopting page context.
|
|
43
47
|
- [Upload Center (Vue)](./recipes/vue/upload-center.md) - Full-anatomy expense-receipts upload center for a vue-router SPA — multi-file dropzone into an inline-editable table (text, category popover, amount, date cells), per-file progress with inline retry, submit-all with count, bulk bottom panel, and a stacked receipt/merchant peek sidebar, all through one coopting page context.
|
|
@@ -59,22 +63,23 @@ Start from a recipe when building a whole page or flow — they encode the idiom
|
|
|
59
63
|
### Feedback
|
|
60
64
|
|
|
61
65
|
- [BbAlert](./BbAlert.md) - Shows contextual status messages.
|
|
62
|
-
- [BbBadge](./BbBadge.md) - Displays compact status
|
|
66
|
+
- [BbBadge](./BbBadge.md) - Displays a compact inline status counter or label. It sits in the flow — for a bubble or dot anchored OVER another element, use BbIndicator (includes the co-located BbBadgeButton export).
|
|
63
67
|
- [BbBadgeButton](./BbBadgeButton.md) - Makes a badge's body interactive: slotted as a direct child of BbBadge it renders the badge body as a real button/link with full BbBaseButton parity, leaving `clearable` free to remain a separate control.
|
|
64
|
-
- [BbIndicator](./BbIndicator.md) - Anchors a notification bubble (count/short text) or a dot over a wrapped element
|
|
68
|
+
- [BbIndicator](./BbIndicator.md) - Anchors a notification bubble (count/short text) or a dot over a wrapped element.
|
|
65
69
|
- [BbProgress](./BbProgress.md) - Visualizes task or operation progress state.
|
|
66
70
|
- [BbSpinner](./BbSpinner.md) - Indicates ongoing loading or pending operations.
|
|
67
|
-
- [BbToast](./BbToast.md) - Shows transient notification messages.
|
|
71
|
+
- [BbToast](./BbToast.md) - Shows transient notification messages (includes the co-located BbToastPortal export).
|
|
68
72
|
- [BbToastPortal](./BbToastPortal.md) - Registers named slot content that toast() renders via `portal`.
|
|
69
73
|
|
|
70
74
|
### Inputs
|
|
71
75
|
|
|
72
76
|
- [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.
|
|
73
77
|
- [BbButton](./BbButton.md) - Button with loading state, tooltip, and icon support.
|
|
78
|
+
- [BbCalendar](./BbCalendar.md) - A calendar in place — the month grid (or month / year grid, or day grid plus time rail) with no popover and no field chrome; v-model of a day, range, set, month, year or datetime.
|
|
74
79
|
- [BbColorInput](./BbColorInput.md) - Captures color values through input controls.
|
|
75
80
|
- [BbDatePickerInput](./BbDatePickerInput.md) - Combines date selection with text input behavior.
|
|
76
81
|
- [BbDropzone](./BbDropzone.md) - Supports drag-and-drop file input flows.
|
|
77
|
-
- [BbForm](./BbForm.md) - Form host for
|
|
82
|
+
- [BbForm](./BbForm.md) - Form host for the form controls inside it: owns the vee-validate form (useForm), validates every field on submit, and emits `submit` with the collected values only when the form is valid. `schema` takes any Standard Schema (Zod, Valibot, ArkType, Yup) as it is; a failed submit focuses the first invalid field on screen and emits `invalid`. Server errors (a 422): `setErrors(errors)` from the slot or `useBbFormContext(id)` puts each on its field.
|
|
78
83
|
- [BbNumberInput](./BbNumberInput.md) - Captures and validates numeric form values, emits a number value.
|
|
79
84
|
- [BbTag](./BbTag.md) - Captures and displays tag-like token values.
|
|
80
85
|
- [BbTextarea](./BbTextarea.md) - Captures multi-line text values.
|
|
@@ -83,6 +88,7 @@ Start from a recipe when building a whole page or flow — they encode the idiom
|
|
|
83
88
|
|
|
84
89
|
### Layout & Utility
|
|
85
90
|
|
|
91
|
+
- [BbPtScope](./BbPtScope.md) - Renderless provider that switches on a named passthrough scope (`ptScopes` in the plugin config) for its subtree — a backoffice and a member area with different looks in one app.
|
|
86
92
|
- [BbSmoothHeight](./BbSmoothHeight.md) - Animates height transitions for dynamic content.
|
|
87
93
|
|
|
88
94
|
### Navigation
|
|
@@ -91,15 +97,15 @@ Start from a recipe when building a whole page or flow — they encode the idiom
|
|
|
91
97
|
- [BbBreadcrumbs](./BbBreadcrumbs.md) - Renders hierarchical navigation paths.
|
|
92
98
|
- [BbCollapsible](./BbCollapsible.md) - Toggles visibility of collapsible content blocks.
|
|
93
99
|
- [BbPagination](./BbPagination.md) - Navigates paginated data sets by page index.
|
|
94
|
-
- [BbTabs](./BbTabs.md) - Switches between tabbed content views (shadcn-like strip;
|
|
100
|
+
- [BbTabs](./BbTabs.md) - Switches between tabbed content views (shadcn-like strip; the co-located BbTabsRoot / BbTabsList / BbTabsPanels exports enable split layouts).
|
|
95
101
|
- [BbTabsList](./BbTabsList.md) - The trigger strip of a split BbTabsRoot layout (renders the tab buttons only).
|
|
96
|
-
- [
|
|
97
|
-
- [BbTabsRoot](./BbTabsRoot.md) - Provide/inject root that lets BbTabsList and
|
|
102
|
+
- [BbTabsPanels](./BbTabsPanels.md) - The panel host of a split BbTabsRoot layout (renders the tab content only).
|
|
103
|
+
- [BbTabsRoot](./BbTabsRoot.md) - Provide/inject root that lets BbTabsList and BbTabsPanels live in separate layout slots.
|
|
98
104
|
- [BbTree](./BbTree.md) - Renders hierarchical expandable tree structures.
|
|
99
105
|
|
|
100
106
|
### Other
|
|
101
107
|
|
|
102
|
-
- [BbAsterisk](./BbAsterisk.md) - Presentational required-field marker (red "*"). No props/slots/events; placed in custom label content.
|
|
108
|
+
- [BbAsterisk](./BbAsterisk.md) - Presentational required-field marker (red "*"). No behaviour props/slots/events (only `pt`); placed in custom label content.
|
|
103
109
|
|
|
104
110
|
### Overlay
|
|
105
111
|
|
|
@@ -108,7 +114,7 @@ Start from a recipe when building a whole page or flow — they encode the idiom
|
|
|
108
114
|
- [BbConfirmPortal](./BbConfirmPortal.md) - Registers named slot content that confirm() renders via `portal`.
|
|
109
115
|
- [BbDatePicker](./BbDatePicker.md) - Opens an anchored calendar (and optional time rail) popover on a trigger you own — the date analog of BbColorPalette; also the v-bb-date directive.
|
|
110
116
|
- [BbDialog](./BbDialog.md) - Presents modal dialogs for focused user interactions.
|
|
111
|
-
- [BbDropdown](./BbDropdown.md) - Displays contextual action menus and menu content.
|
|
117
|
+
- [BbDropdown](./BbDropdown.md) - Displays contextual action menus and menu content (includes the co-located BbDropdownGroup export, which is how a selectable group is bound).
|
|
112
118
|
- [BbDropdownButton](./BbDropdownButton.md) - A button with primary action and all other actions collected in a dropdown.
|
|
113
119
|
- [BbDropdownGroup](./BbDropdownGroup.md) - Renderless v-model companion for a group declared in BbDropdown.items, bound by id.
|
|
114
120
|
- [BbOffCanvas](./BbOffCanvas.md) - Shows side-panel overlay content outside normal layout flow.
|
|
@@ -118,9 +124,9 @@ Start from a recipe when building a whole page or flow — they encode the idiom
|
|
|
118
124
|
|
|
119
125
|
### Selection
|
|
120
126
|
|
|
121
|
-
- [BbBaseCheckboxIcon](./BbBaseCheckboxIcon.md) - Standalone checkbox glyph (box + checkmark SVG). Presentational only — no input, no events. Compose it into a fully custom checkbox design, or let BbCheckbox
|
|
122
|
-
- [BbBaseRadioIcon](./BbBaseRadioIcon.md) - Standalone radio glyph (ring + dot). Presentational only — no input, no events. Compose it into a fully custom radio design, or let BbRadio
|
|
123
|
-
- [BbBaseSwitchIcon](./BbBaseSwitchIcon.md) - Standalone switch glyph (track + thumb). Presentational only — no input, no events. Compose it into a fully custom switch design, or let BbSwitch
|
|
127
|
+
- [BbBaseCheckboxIcon](./BbBaseCheckboxIcon.md) - Standalone checkbox glyph (box + checkmark SVG). Presentational only — no input, no events. Compose it into a fully custom checkbox design, or let BbCheckbox, BbCheckboxGroup or BbTable render it.
|
|
128
|
+
- [BbBaseRadioIcon](./BbBaseRadioIcon.md) - Standalone radio glyph (ring + dot). Presentational only — no input, no events. Compose it into a fully custom radio design, or let BbRadio, BbRadioGroup or BbTable render it.
|
|
129
|
+
- [BbBaseSwitchIcon](./BbBaseSwitchIcon.md) - Standalone switch glyph (track + thumb). Presentational only — no input, no events. Compose it into a fully custom switch design, or let BbSwitch or BbSwitchGroup render it.
|
|
124
130
|
- [BbCheckbox](./BbCheckbox.md) - Toggles a single boolean option.
|
|
125
131
|
- [BbCheckboxGroup](./BbCheckboxGroup.md) - Manages multiple checkbox options as a group.
|
|
126
132
|
- [BbRadio](./BbRadio.md) - Represents a single choice in exclusive options.
|
|
@@ -143,14 +149,14 @@ Do not use these components directly in consumer code unless the user explicitly
|
|
|
143
149
|
|
|
144
150
|
### Inputs
|
|
145
151
|
|
|
146
|
-
- [BbBaseColorPalette](./BbBaseColorPalette.md) - Internal low-level color palette panel used by BbColorPalette and BbColorInput.
|
|
147
152
|
- [ClearableButton](./ClearableButton.md) - Action button for clearing current input value.
|
|
153
|
+
- [CommonTimeSelector](./CommonTimeSelector.md) - Shared hour/minute(/second/AM-PM) time rail used by BbDatePicker, BbTimePicker and BbTimePickerInput.
|
|
148
154
|
|
|
149
155
|
### Layout & Utility
|
|
150
156
|
|
|
151
157
|
- [ChipsBox](./ChipsBox.md) - Layout helper for rendering chip collections.
|
|
152
158
|
- [CommaBox](./CommaBox.md) - Utility for comma-separated content rendering.
|
|
153
|
-
- [
|
|
159
|
+
- [CommonFieldInput](./CommonFieldInput.md) - Shared wrapper utility for composed input controls.
|
|
154
160
|
- [GuidesComponent](./GuidesComponent.md) - Dev-only showcase that auto-collects examples/*.vue files with live preview and extractable source. Not part of the consumer API.
|
|
155
161
|
- [OptionsContainer](./OptionsContainer.md) - Container utility for option list composition.
|
|
156
162
|
|
|
@@ -160,24 +166,7 @@ Do not use these components directly in consumer code unless the user explicitly
|
|
|
160
166
|
|
|
161
167
|
### Reference Only - Base Primitive
|
|
162
168
|
|
|
163
|
-
- [
|
|
164
|
-
- [BbBaseCheckboxGroup](./BbBaseCheckboxGroup.md) - Internal low-level grouped checkbox primitive.
|
|
165
|
-
- [BbBaseColorInput](./BbBaseColorInput.md) - Internal low-level color input primitive.
|
|
166
|
-
- [BbBaseDatePicker](./BbBaseDatePicker.md) - Internal low-level date picker primitive.
|
|
167
|
-
- [BbBaseDatePickerInput](./BbBaseDatePickerInput.md) - Internal low-level date-picker input primitive.
|
|
168
|
-
- [BbBaseInputContainer](./BbBaseInputContainer.md) - Internal wrapper for labels, hints, validation, and shared input layout.
|
|
169
|
-
- [BbBaseNumberInput](./BbBaseNumberInput.md) - Internal low-level numeric input primitive.
|
|
170
|
-
- [BbBaseRadio](./BbBaseRadio.md) - Internal low-level radio primitive.
|
|
171
|
-
- [BbBaseRadioGroup](./BbBaseRadioGroup.md) - Internal low-level radio-group primitive.
|
|
172
|
-
- [BbBaseRating](./BbBaseRating.md) - Internal low-level rating primitive.
|
|
173
|
-
- [BbBaseSelect](./BbBaseSelect.md) - Internal low-level select/listbox primitive.
|
|
174
|
-
- [BbBaseSlider](./BbBaseSlider.md) - Internal low-level slider primitive.
|
|
175
|
-
- [BbBaseSwitch](./BbBaseSwitch.md) - Internal low-level switch primitive.
|
|
176
|
-
- [BbBaseSwitchGroup](./BbBaseSwitchGroup.md) - Internal low-level grouped switch primitive.
|
|
177
|
-
- [BbBaseTag](./BbBaseTag.md) - Internal low-level tag input primitive.
|
|
178
|
-
- [BbBaseTextarea](./BbBaseTextarea.md) - Internal low-level textarea primitive.
|
|
179
|
-
- [BbBaseTextInput](./BbBaseTextInput.md) - Internal low-level text input primitive.
|
|
180
|
-
- [BbBaseTimePickerInput](./BbBaseTimePickerInput.md) - Internal low-level time-picker input primitive.
|
|
169
|
+
- [CommonField](./CommonField.md) - Internal wrapper for labels, hints, validation, and shared input layout.
|
|
181
170
|
|
|
182
171
|
### Selection
|
|
183
172
|
|
|
@@ -188,8 +177,10 @@ Do not use these components directly in consumer code unless the user explicitly
|
|
|
188
177
|
## Composables
|
|
189
178
|
|
|
190
179
|
- [useBbConfig](./composables/useBbConfig.md) - Patch the library's runtime-editable configuration — today that is exactly one key, locale.
|
|
180
|
+
- [useBbDropdownContext](./composables/useBbDropdownContext.md) - Read a BbDropdown's live state from anywhere by id — open flag, selectable groups, their v-model values and resolved selectedOptions, without a second fetch.
|
|
191
181
|
- [useBbFormContext](./composables/useBbFormContext.md) - Read and drive a BbForm from anywhere by id — validity, dirtiness, values, errors, plus submit/reset/validate — with no template ref and no shared subtree.
|
|
192
|
-
- [
|
|
182
|
+
- [useBbFormField](./composables/useBbFormField.md) - Make a custom control of your own (a button that opens a palette, a bespoke picker) a field of a BbForm, found by the form's id — its value is submitted, reset and validated on submit, with aria wiring and focus included.
|
|
183
|
+
- [useBbTableContext](./composables/useBbTableContext.md) - Drive and read a BbTable's state (selection, sort, column order, highlight, pagination) from anywhere by id — no prop drilling, no template refs.
|
|
193
184
|
- [useBbTabsContext](./composables/useBbTabsContext.md) - Read and drive a BbTabs/BbTabsRoot group from anywhere by id — writable current tab, goTo/select, no template refs.
|
|
194
185
|
- [useConfirm](./composables/useConfirm.md) - Promise-based confirm dialogs — await the user's yes/no, with yes/no button configs, async onClick busy states, and portal content. Requires exactly one <BbConfirm /> host, mounted at the app root.
|
|
195
186
|
- [useCountdown](./composables/useCountdown.md) - Reactive countdown timer with start, pause, reset, and formatted time output.
|
|
@@ -207,42 +198,48 @@ Do not use these components directly in consumer code unless the user explicitly
|
|
|
207
198
|
- [Component Picker](./guides/component-picker.md) - Decision guide for choosing the right component for common UI needs.
|
|
208
199
|
- [Design Language](./guides/design-language.md) - Token vocabulary, variants, sizing, dark mode, and how to style around the components when building on-system UIs.
|
|
209
200
|
- [Design Tokens](./guides/design-tokens.md) - The token architecture of bitboss-ui — tiers, naming rules, the emphasis ladder, and the theming contract.
|
|
201
|
+
- [Error providers (Inertia, Laravel, Precognition, vee-validate, Nuxt UI) into BbForm](./guides/validation-providers.md) - Where a bitboss-ui app's form errors come from — Inertia visits and useForm (error bags included), a Laravel 422 over fetch/axios, Laravel Precognition, plain vee-validate, Nuxt UI UForm, API Platform — each provider's real error shape and key format, the one-line bridge into BbForm's `setErrors`, where each message then shows (`fields`, `errors`, `unmatchedErrors`), and a checklist for porting a form from each.
|
|
210
202
|
- [Fetch Data Items Playbook](./guides/fetch-items-playbook.md) - Item-provider signatures as actually invoked per component family, prefill semantics, dependencies-driven refetching, and canonical API request patterns.
|
|
211
203
|
- [Floating Bottom Panel](./guides/floating-bottom-panel.md) - App-side selection action bar — a panel-colored dock that floats up from the bottom when table rows are selected and dispatches bulk actions. The implementation ships in the per-platform Layout Scaffold recipe; this guide covers when and how to use it.
|
|
212
204
|
- [Icons Policy](./guides/icons-policy.md) - Provider-first icon usage (`lucide:*` via `@iconify-json/*` packages), `local:*` for brand art, how the plugin resolves names, and a catalog of every surface that accepts an icon.
|
|
213
205
|
- [Inertia Helpers](./guides/inertia-helpers.md) - App-side toolkit for Laravel + Inertia apps — typed page props, lazy props, URL-driven filters, paginated/selection page contexts, promise forms, and navigation guards that pair with bitboss-ui pages.
|
|
214
206
|
- [Inline Edit Playbook](./guides/inline-edit-playbook.md) - Who owns the edit? Choosing between draft-map, autosave, and write-back persistence for inline-editing tables — commit rules per control kind, optimistic overlays with rollback, and the dirty-ring / chevron-to-spinner feedback grammar.
|
|
215
207
|
- [Installation and Plugin Setup](./guides/installation-and-plugin-setup.md) - Canonical installation, style handling, and full plugin option reference for Vite, Nuxt, and Inertia consumers.
|
|
208
|
+
- [Migration 3.0 beta.35 → beta.36: CSS classes follow the pt parts](./guides/migration/v3-beta-css-classes.md) - 3.0.0-beta.36 renames bitboss-ui classes so each pt part has a class of the same name. Styles that target the old names stop matching silently. A find-and-replace script, the renames that also change meaning, and the full tables.
|
|
209
|
+
- [Migration 3.0 betas: the machine-readable files](./guides/migration/v3-beta-tooling.md) - For scripts and agents that PARSE bitboss-ui's own files (changelog.json, components.json, check --json, the MCP answers). What changed in their shape during the 3.0 betas, and what to update in the parser.
|
|
216
210
|
- [Migration v2 → v3](./guides/migration/v2-to-v3.md) - Complete upgrade guide from bitboss-ui 2.x to 3.0 — plugin-based setup, token overhaul, variant registries, global behavioral changes, and the silent-failure audit playbook.
|
|
211
|
+
- [Migration v2→v3: BbAccordion](./guides/migration/components/bb-accordion.md) - The panel is its own box inside the collapsible — `.bb-accordion__panel`, where padding now collapses (was `__content` on the collapsible's root).
|
|
217
212
|
- [Migration v2→v3: BbAlert](./guides/migration/components/bb-alert.md) - showClose inverted to hideClose, theme replaced by typed variant.
|
|
218
|
-
- [Migration v2→v3: BbAvatar](./guides/migration/components/bb-avatar.md) - The color prop is removed — retheme the fallback through the --bg
|
|
213
|
+
- [Migration v2→v3: BbAvatar](./guides/migration/components/bb-avatar.md) - The color prop is removed — retheme the fallback through the --bg / --fg locals.
|
|
219
214
|
- [Migration v2→v3: BbBadge (and where your v2 badges went)](./guides/migration/components/bb-badge.md) - The v2 BbBadge (floating count/dot) is now BbIndicator; the v3 BbBadge is a new inline pill that also replaces BbChip.
|
|
220
215
|
- [Migration v2→v3: BbBreadcrumbs](./guides/migration/components/bb-breadcrumbs.md) - Item keys must be strings, the text divider prop is gone, per-item slot names are normalized.
|
|
221
|
-
- [Migration v2→v3: BbButton](./guides/migration/components/bb-button.md) - Async click handlers now auto-track loading (behavior flip), built-in tooltip props removed, variant locked to the registry.
|
|
216
|
+
- [Migration v2→v3: BbButton](./guides/migration/components/bb-button.md) - Async click handlers now auto-track loading (behavior flip), built-in tooltip props removed, variant locked to the registry. Leftover v2 --border-color on .bb-button* still paints.
|
|
222
217
|
- [Migration v2→v3: BbCheckbox / BbRadio / BbSwitch](./guides/migration/components/bb-checkbox.md) - reverse polarity inverted (explicit values flip, default layout unchanged), checked narrowed to boolean, color removed, BbRadio's name no longer required.
|
|
223
|
-
- [Migration v2→v3: BbCheckboxGroup / BbRadioGroup / BbSwitchGroup](./guides/migration/components/bb-checkbox-group.md) - labelPosition renamed legendPosition, per-item disabled is now inert (use selectable), color and the option affix slots removed, BbRadioGroup's name no longer required,
|
|
218
|
+
- [Migration v2→v3: BbCheckboxGroup / BbRadioGroup / BbSwitchGroup](./guides/migration/components/bb-checkbox-group.md) - labelPosition renamed legendPosition, per-item disabled is now inert (use selectable), color and the option affix slots removed, BbRadioGroup's name no longer required, the shared bb-cr-container CSS block split into one per group, and the --bb-checkbox-* / --bb-radio-* / --bb-switch-* globals replaced by glyph locals.
|
|
224
219
|
- [Migration v2→v3: BbChip (removed)](./guides/migration/components/bb-chip.md) - BbChip is gone — BbBadge with clearable is the replacement; non-clearable chips were badges all along.
|
|
225
|
-
- [Migration v2→v3: BbCollapsible](./guides/migration/components/bb-collapsible.md) -
|
|
220
|
+
- [Migration v2→v3: BbCollapsible](./guides/migration/components/bb-collapsible.md) - `tag` narrows to `'span' | 'div'` and defaults to `span`; the inner element mirrors it.
|
|
226
221
|
- [Migration v2→v3: BbColorInput](./guides/migration/components/bb-color-input.md) - picker renamed to eyeDropper.
|
|
227
222
|
- [Migration v2→v3: BbColorPalette](./guides/migration/components/bb-color-palette.md) - flip inverted to disableFlip, showArrow removed, picker renamed eyeDropper, update:open dropped, model updates never emit null.
|
|
228
223
|
- [Migration v2→v3: BbDatePickerInput](./guides/migration/components/bb-date-picker-input.md) - allowWriting inverted to disableWriting and hidePopover renamed to disableCalendar, both with a changed token set; the width prop is removed; adaptive mobile sheet by default; non-floating output carries the local offset instead of UTC `Z` (new `utc` prop restores v2 output).
|
|
229
|
-
- [Migration v2→v3: BbDialog](./guides/migration/components/bb-dialog.md) - showClose inverted to hideClose,
|
|
224
|
+
- [Migration v2→v3: BbDialog](./guides/migration/components/bb-dialog.md) - showClose inverted to hideClose, #close removed (description restored in beta.19), default widths changed, adaptive bottom sheet on mobile by default, --bb-dialog-* tokens replaced by --bb-panel-p plus locals.
|
|
230
225
|
- [Migration v2→v3: BbDropdown](./guides/migration/components/bb-dropdown.md) - Items now expect text as the label and can carry variants/submenus; arrowPadding removed; adaptive mobile sheet on by default.
|
|
231
226
|
- [Migration v2→v3: BbDropdownButton](./guides/migration/components/bb-dropdown-button.md) - autoLoading renamed to disableAutoLoading, disabledWhileLoading and theme removed.
|
|
232
227
|
- [Migration v2→v3: BbDropzone](./guides/migration/components/bb-dropzone.md) - modelValue is typed, accept no longer throws and takes bare tokens, and the hidden native-submit input only renders when name is set.
|
|
233
228
|
- [Migration v2→v3: BbIcon](./guides/migration/components/bb-icon.md) - The required prop is renamed type→icon, color is removed, and the xxl size key becomes 2xl.
|
|
234
229
|
- [Migration v2→v3: BbIntersection](./guides/migration/components/bb-intersection.md) - Removed with no replacement — it wrapped IntersectionObserver and carried no styling; use @vueuse/core's useIntersectionObserver.
|
|
235
|
-
- [Migration v2→v3: BbOffCanvas](./guides/migration/components/bb-offcanvas.md) - direction→side; showClose→hideClose;
|
|
230
|
+
- [Migration v2→v3: BbOffCanvas](./guides/migration/components/bb-offcanvas.md) - direction→side; showClose→hideClose; #close removed (description restored in beta.19); size defaults change; adaptive drawer configs unify on offCanvasProps.
|
|
236
231
|
- [Migration v2→v3: BbPagination](./guides/migration/components/bb-pagination.md) - querykey renamed to queryKey; the loading prop is removed.
|
|
237
232
|
- [Migration v2→v3: BbPopover](./guides/migration/components/bb-popover.md) - Built-in close button, restoreFocus, theme, and the arrow are gone; close affordances move into your content.
|
|
238
|
-
- [Migration v2→v3:
|
|
233
|
+
- [Migration v2→v3: BbRadioGroup](./guides/migration/components/bb-radio-group.md) - Shares its migration with BbCheckboxGroup — see bb-checkbox-group.md.
|
|
234
|
+
- [Migration v2→v3: BbRating](./guides/migration/components/bb-rating.md) - color removed; name no longer required; the star classes moved from .bb-base-rating to the .bb-rating block (--highlighted became --filled/--empty); --bb-rating-size demoted to a local --size on .bb-rating__stars; input-position finally works.
|
|
239
235
|
- [Migration v2→v3: BbSelect](./guides/migration/components/bb-select.md) - allowWriting inverted to disableWriting, filterBy narrowed to string[], prefill value renamed, chevron/options slots removed, and two behavior changes (second click, mount-time coherence).
|
|
240
236
|
- [Migration v2→v3: BbSelectPopover](./guides/migration/components/bb-select-popover.md) - flip and allowWriting inverted, arrow props removed, filterBy narrowed, options slots replaced by header/footer; shares BbSelect's behavior changes.
|
|
241
237
|
- [Migration v2→v3: BbSlider](./guides/migration/components/bb-slider.md) - thumbTranslate inverted to disableThumbTranslate; string model values and color removed.
|
|
242
238
|
- [Migration v2→v3: BbSmoothHeight](./guides/migration/components/bb-smooth-height.md) - The `tag` prop is narrowed to `div | span`, and the inner measuring element now mirrors it instead of always being a `<div>`.
|
|
243
239
|
- [Migration v2→v3: BbSpinner](./guides/migration/components/bb-spinner.md) - The color prop is removed; spinners follow currentColor.
|
|
244
|
-
- [Migration v2→v3:
|
|
245
|
-
- [Migration v2→v3:
|
|
240
|
+
- [Migration v2→v3: BbSwitchGroup](./guides/migration/components/bb-switch-group.md) - Shares its migration with BbCheckboxGroup — see bb-checkbox-group.md.
|
|
241
|
+
- [Migration v2→v3: BbTable](./guides/migration/components/bb-table.md) - The table renders as a CSS grid of divs with ARIA roles, not a <table> — every element selector (table/thead/tbody/tr/th/td) under .bb-table matches nothing, #thead/#tbody/#tfoot take role-complete div rows, --fill/--natural-width are gone, column widths drift within documented bounds, copy-to-spreadsheet and print header repetition degrade; allowSelectAll inverted to disableSelectAll; loading no longer blanks populated tables and now inerts rows; #loading is first-load-only; #empty fills a full-width cell instead of replacing the row; row events drop the selected argument; columns gained sortable + rowClass, which collide with same-named consumer fields.
|
|
242
|
+
- [Migration v2→v3: BbTabs (was BbTab)](./guides/migration/components/bb-tabs.md) - Component renamed; querykey→queryKey; animations default on; label slots renamed, header:* slots → wrapper:*, and all dynamic names/URL slugs normalized; the entire .bb-tab BEM tree renamed to .bb-tabs / .bb-tabs-list / .bb-tabs-panels.
|
|
246
243
|
- [Migration v2→v3: BbTag](./guides/migration/components/bb-tag.md) - modelValue is strictly string[] now, multiple is removed, and duplicates are rejected case-insensitively by default.
|
|
247
244
|
- [Migration v2→v3: BbTextInput](./guides/migration/components/bb-text-input.md) - The type prop narrows to the text-like input types — number/date values must move to their dedicated components; a bare `floating` attribute was never a prop, the spelling is label-mode="floating".
|
|
248
245
|
- [Migration v2→v3: BbToast and toast()](./guides/migration/components/bb-toast.md) - Host placement becomes position with a corner-based value set; toast() options rewritten (variant, duration, actions, portal).
|
|
@@ -252,4 +249,8 @@ Do not use these components directly in consumer code unless the user explicitly
|
|
|
252
249
|
- [Migration v2→v3: useBroadcastChannelInstance](./guides/migration/components/use-broadcast-channel-instance.md) - Removed — cross-tab messaging is not a UI concern; use useBroadcastChannel from @vueuse/core.
|
|
253
250
|
- [Options and Items Playbook](./guides/options-items-playbook.md) - How item-driven components turn raw domain items into options — mapping, value identity, model seeding, and the supported ways to disable choices.
|
|
254
251
|
- [Page Shell](./guides/page-shell.md) - App-side page layout — topbar, content, and a right details sidebar driven by a stack-based context (push a record to peek it, pop to go back). The implementation ships in the per-platform Layout Scaffold recipe; this guide covers when and how to use it.
|
|
255
|
-
- [
|
|
252
|
+
- [Passthrough (pt)](./guides/passthrough.md) - Reach a named part of a component — its icon, its field box, a table row, a menu entry — with a class list, a style or an attribute, optionally only while a named state is on. One grammar for every component, typed and linted. A pt value typed in <script> (a const, a preset, a wrapper's prop, a split global map) uses <Component>Props['pt'] and definePt; the Pt* types are not exported.
|
|
253
|
+
- [Preset Components](./guides/preset-components.md) - Make an app component that is a bitboss-ui component with some props and slots already set (a CustomerSelect, a SearchInput) in one definePreset call, with no SFC, no re-emit and a typed v-model.
|
|
254
|
+
- [SSR prefill](./guides/ssr-prefill.md) - Item providers run on the server only with an SSR-state adapter (bitboss-ui/nuxt installs one).
|
|
255
|
+
- [Validated Forms (vee-validate)](./guides/validated-forms.md) - Forms with validation — the form controls join a BbForm (vee-validate underneath). Validate with one schema for the whole form (any Standard Schema — Zod, Valibot, ArkType, Yup — on BbForm's `schema`, no adapter) or with per-field `rules="required|email"` strings; BbForm hosts the form, focuses the first invalid field on a failed submit and emits `invalid`; requiredAsterisk marks required fields.
|
|
256
|
+
- [Validation libraries (Zod, Valibot, ArkType, Yup, Joi, Effect, string rules)](./guides/validation-libraries.md) - Which validation library does what inside BbForm's `schema` — a measured compatibility matrix (errors by path, messages per path, transforms, async, typed @submit, required asterisk, emptied-field messages), what each needs tweaked, and what changes in an app when you switch from one library to another, with the same sign-up form in each.
|