bitboss-ui 3.0.0-beta.66 → 3.0.0-beta.68
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 +4 -3
- package/bin/bitboss-ui-mcp.mjs +127 -28
- package/bin/bitboss-ui.mjs +6 -2
- package/dist/_virtual/_plugin-vue_export-helper.js +1 -2
- package/dist/ai/BbAlert.md +16 -12
- package/dist/ai/BbAsterisk.md +1 -1
- package/dist/ai/BbAvatar.md +3 -3
- package/dist/ai/BbBadge.md +5 -5
- package/dist/ai/BbBadgeButton.md +2 -2
- package/dist/ai/BbBaseButton.md +1 -1
- package/dist/ai/BbBaseCheckboxIcon.md +4 -0
- package/dist/ai/BbBaseRadioIcon.md +7 -3
- package/dist/ai/BbBaseSwitchIcon.md +11 -2
- package/dist/ai/BbBreadcrumbs.md +3 -3
- package/dist/ai/BbButton.md +69 -10
- package/dist/ai/BbCalendar.md +102 -22
- package/dist/ai/BbCheckbox.md +27 -5
- package/dist/ai/BbCheckboxGroup.md +52 -25
- package/dist/ai/BbColorInput.md +16 -14
- package/dist/ai/BbColorPalette.md +5 -5
- package/dist/ai/BbConfigScope.md +218 -0
- package/dist/ai/BbConfirm.md +26 -22
- package/dist/ai/BbDatePicker.md +33 -21
- package/dist/ai/BbDatePickerInput.md +99 -36
- package/dist/ai/BbDialog.md +16 -12
- package/dist/ai/BbDropdown.md +30 -20
- package/dist/ai/BbDropdownButton.md +22 -19
- package/dist/ai/BbDropzone.md +1 -1
- package/dist/ai/BbForm.md +10 -8
- package/dist/ai/BbHost.md +19 -13
- package/dist/ai/BbIcon.md +3 -3
- package/dist/ai/BbIndicator.md +4 -4
- package/dist/ai/BbNumberInput.md +33 -25
- package/dist/ai/BbOffCanvas.md +9 -8
- package/dist/ai/BbPagination.md +11 -3
- package/dist/ai/BbPopover.md +5 -5
- package/dist/ai/BbRadio.md +27 -4
- package/dist/ai/BbRadioGroup.md +69 -30
- package/dist/ai/BbRating.md +9 -9
- package/dist/ai/BbSelect.md +78 -42
- package/dist/ai/BbSelectPopover.md +30 -29
- package/dist/ai/BbSlider.md +259 -62
- package/dist/ai/BbSpinner.md +2 -2
- package/dist/ai/BbSwitch.md +31 -4
- package/dist/ai/BbSwitchGroup.md +22 -13
- package/dist/ai/BbTable.md +29 -11
- package/dist/ai/BbTabs.md +7 -7
- package/dist/ai/BbTabsList.md +1 -1
- package/dist/ai/BbTabsRoot.md +1 -1
- package/dist/ai/BbTag.md +14 -13
- package/dist/ai/BbTextInput.md +29 -21
- package/dist/ai/BbTextarea.md +16 -15
- package/dist/ai/BbTimePicker.md +6 -5
- package/dist/ai/BbTimePickerInput.md +19 -21
- package/dist/ai/BbToast.md +65 -26
- package/dist/ai/BbTooltip.md +4 -4
- package/dist/ai/BbTree.md +2 -2
- package/dist/ai/ChipsBox.md +1 -1
- package/dist/ai/CommonField.md +4 -4
- package/dist/ai/CommonFieldInput.md +3 -2
- package/dist/ai/FlatListBox.md +5 -4
- package/dist/ai/GroupedListBox.md +5 -4
- package/dist/ai/ListBox.md +6 -5
- package/dist/ai/OptionsContainer.md +18 -2
- package/dist/ai/changelog.json +695 -540
- package/dist/ai/components.json +85 -77
- package/dist/ai/composables/useBbConfig.md +5 -5
- package/dist/ai/composables/useBbDialog.md +1 -1
- package/dist/ai/composables/useBbFormField.md +1 -1
- package/dist/ai/composables/useConfirm.md +1 -1
- package/dist/ai/composables/useToast.md +16 -16
- package/dist/ai/design-tokens.json +10 -5
- package/dist/ai/guides/agent-contract.md +8 -8
- package/dist/ai/guides/ai-router.md +1 -1
- package/dist/ai/guides/app-layout.md +1 -1
- package/dist/ai/guides/component-picker.md +3 -2
- package/dist/ai/guides/design-language.md +41 -14
- package/dist/ai/guides/design-tokens.md +107 -54
- package/dist/ai/guides/eslint-rules.md +4 -2
- package/dist/ai/guides/fetch-items-playbook.md +2 -1
- package/dist/ai/guides/icons-policy.md +2 -2
- package/dist/ai/guides/inline-edit-playbook.md +2 -2
- package/dist/ai/guides/installation-and-plugin-setup.md +351 -177
- package/dist/ai/guides/migration/adoption-checklist.md +5 -5
- package/dist/ai/guides/migration/components/bb-alert.md +2 -2
- package/dist/ai/guides/migration/components/bb-badge.md +1 -1
- package/dist/ai/guides/migration/components/bb-checkbox-group.md +15 -15
- package/dist/ai/guides/migration/components/bb-dialog.md +2 -2
- package/dist/ai/guides/migration/components/bb-dropdown.md +1 -1
- package/dist/ai/guides/migration/components/bb-host.md +10 -8
- package/dist/ai/guides/migration/components/bb-offcanvas.md +1 -1
- package/dist/ai/guides/migration/components/bb-select-popover.md +2 -2
- package/dist/ai/guides/migration/components/bb-select.md +4 -5
- package/dist/ai/guides/migration/components/bb-slider.md +17 -2
- package/dist/ai/guides/migration/components/bb-table.md +3 -3
- package/dist/ai/guides/migration/components/bb-tabs.md +1 -1
- package/dist/ai/guides/migration/components/bb-toast.md +6 -6
- package/dist/ai/guides/migration/components/use-confirm.md +1 -1
- package/dist/ai/guides/migration/v2-to-v3.md +240 -57
- package/dist/ai/guides/migration/v3-beta-tooling.md +5 -5
- package/dist/ai/guides/passthrough.md +186 -136
- package/dist/ai/guides/typescript-generic-components.md +7 -7
- package/dist/ai/guides/validated-forms.md +8 -8
- package/dist/ai/guides/validation-libraries.md +15 -17
- package/dist/ai/helpers/inertia/manifest.json +2 -2
- package/dist/ai/index.md +3 -3
- package/dist/ai/manifest/common.json +12 -12
- package/dist/ai/manifest/components/BbAlert.json +3 -2
- package/dist/ai/manifest/components/BbAvatar.json +2 -1
- package/dist/ai/manifest/components/BbAvatar.tree.json +1 -1
- package/dist/ai/manifest/components/BbBadge.json +5 -4
- package/dist/ai/manifest/components/BbBadge.tree.json +1 -1
- package/dist/ai/manifest/components/BbBadgeButton.json +2 -2
- package/dist/ai/manifest/components/BbBadgeButton.tree.json +1 -1
- package/dist/ai/manifest/components/BbBaseButton.json +2 -2
- package/dist/ai/manifest/components/BbBaseCheckboxIcon.json +1 -1
- package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +5 -1
- package/dist/ai/manifest/components/BbBaseRadioIcon.json +1 -1
- package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +7 -3
- package/dist/ai/manifest/components/BbBaseSwitchIcon.json +1 -1
- package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +9 -1
- package/dist/ai/manifest/components/BbBreadcrumbs.json +3 -3
- package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
- package/dist/ai/manifest/components/BbButton.json +6 -5
- package/dist/ai/manifest/components/BbButton.tree.json +8 -1
- package/dist/ai/manifest/components/BbCalendar.json +27 -25
- package/dist/ai/manifest/components/BbCalendar.tree.json +17 -2
- package/dist/ai/manifest/components/BbCheckbox.json +5 -4
- package/dist/ai/manifest/components/BbCheckbox.tree.json +5 -2
- package/dist/ai/manifest/components/BbCheckboxGroup.json +17 -14
- package/dist/ai/manifest/components/BbCheckboxGroup.removed.json +1 -1
- package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +25 -4
- package/dist/ai/manifest/components/BbColorInput.json +23 -21
- package/dist/ai/manifest/components/BbColorInput.tree.json +4 -3
- package/dist/ai/manifest/components/BbColorPalette.json +3 -2
- package/dist/ai/manifest/components/BbColorPalette.tree.json +2 -1
- package/dist/ai/manifest/components/BbConfigScope.json +23 -0
- package/dist/ai/manifest/components/BbConfirm.json +4 -2
- package/dist/ai/manifest/components/BbConfirm.tree.json +2 -2
- package/dist/ai/manifest/components/BbDatePicker.json +30 -27
- package/dist/ai/manifest/components/BbDatePicker.tree.json +2 -2
- package/dist/ai/manifest/components/BbDatePickerInput.json +41 -38
- package/dist/ai/manifest/components/BbDatePickerInput.tree.json +8 -5
- package/dist/ai/manifest/components/BbDialog.json +6 -5
- package/dist/ai/manifest/components/BbDialog.tree.json +6 -3
- package/dist/ai/manifest/components/BbDropdown.json +15 -12
- package/dist/ai/manifest/components/BbDropdown.tree.json +2 -2
- package/dist/ai/manifest/components/BbDropdownButton.json +13 -10
- package/dist/ai/manifest/components/BbDropdownButton.tree.json +3 -3
- package/dist/ai/manifest/components/BbDropzone.json +2 -1
- package/dist/ai/manifest/components/BbForm.json +1 -1
- package/dist/ai/manifest/components/BbHost.tree.json +1 -1
- package/dist/ai/manifest/components/BbIcon.json +2 -1
- package/dist/ai/manifest/components/BbIndicator.json +2 -1
- package/dist/ai/manifest/components/BbNumberInput.json +12 -11
- package/dist/ai/manifest/components/BbNumberInput.tree.json +3 -2
- package/dist/ai/manifest/components/BbOffCanvas.json +5 -4
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +7 -4
- package/dist/ai/manifest/components/BbPagination.json +2 -2
- package/dist/ai/manifest/components/BbPagination.tree.json +3 -2
- package/dist/ai/manifest/components/BbPopover.json +2 -1
- package/dist/ai/manifest/components/BbPopover.tree.json +1 -1
- package/dist/ai/manifest/components/BbRadio.json +4 -3
- package/dist/ai/manifest/components/BbRadio.tree.json +5 -2
- package/dist/ai/manifest/components/BbRadioGroup.json +21 -18
- package/dist/ai/manifest/components/BbRadioGroup.removed.json +1 -1
- package/dist/ai/manifest/components/BbRadioGroup.tree.json +25 -4
- package/dist/ai/manifest/components/BbRating.json +10 -9
- package/dist/ai/manifest/components/BbRating.tree.json +2 -2
- package/dist/ai/manifest/components/BbSelect.json +31 -29
- package/dist/ai/manifest/components/BbSelect.tree.json +7 -5
- package/dist/ai/manifest/components/BbSelectPopover.json +19 -17
- package/dist/ai/manifest/components/BbSelectPopover.tree.json +6 -2
- package/dist/ai/manifest/components/BbSlider.json +28 -26
- package/dist/ai/manifest/components/BbSlider.removed.json +3 -0
- package/dist/ai/manifest/components/BbSlider.tree.json +4 -2
- package/dist/ai/manifest/components/BbSwitch.json +3 -2
- package/dist/ai/manifest/components/BbSwitch.tree.json +5 -2
- package/dist/ai/manifest/components/BbSwitchGroup.json +8 -6
- package/dist/ai/manifest/components/BbSwitchGroup.removed.json +1 -1
- package/dist/ai/manifest/components/BbSwitchGroup.tree.json +6 -2
- package/dist/ai/manifest/components/BbTable.json +25 -24
- package/dist/ai/manifest/components/BbTable.tree.json +7 -4
- package/dist/ai/manifest/components/BbTabs.json +9 -8
- package/dist/ai/manifest/components/BbTabsList.json +4 -4
- package/dist/ai/manifest/components/BbTabsPanels.json +2 -2
- package/dist/ai/manifest/components/BbTabsRoot.json +2 -2
- package/dist/ai/manifest/components/BbTag.json +7 -6
- package/dist/ai/manifest/components/BbTag.tree.json +3 -2
- package/dist/ai/manifest/components/BbTextInput.json +8 -7
- package/dist/ai/manifest/components/BbTextInput.tree.json +5 -4
- package/dist/ai/manifest/components/BbTextarea.json +7 -6
- package/dist/ai/manifest/components/BbTextarea.tree.json +3 -2
- package/dist/ai/manifest/components/BbTimePicker.json +8 -7
- package/dist/ai/manifest/components/BbTimePicker.tree.json +1 -1
- package/dist/ai/manifest/components/BbTimePickerInput.json +23 -22
- package/dist/ai/manifest/components/BbTimePickerInput.tree.json +5 -3
- package/dist/ai/manifest/components/BbToast.json +3 -2
- package/dist/ai/manifest/components/BbToast.tree.json +6 -1
- package/dist/ai/manifest/components/BbTooltip.json +1 -0
- package/dist/ai/manifest/components/BbTooltip.tree.json +2 -2
- package/dist/ai/manifest/components/BbTree.json +3 -3
- package/dist/ai/manifest/components/BbTree.tree.json +1 -1
- package/dist/ai/manifest/components/CommonField.json +4 -4
- package/dist/ai/manifest/components/CommonFieldInput.json +2 -2
- package/dist/ai/manifest/components/CommonFieldInput.tree.json +3 -1
- package/dist/ai/manifest/components/CommonPopover.tree.json +3 -0
- package/dist/ai/manifest/components/FlatListBox.json +2 -2
- package/dist/ai/manifest/components/FlatListBox.tree.json +2 -1
- package/dist/ai/manifest/components/GroupedListBox.json +2 -2
- package/dist/ai/manifest/components/GroupedListBox.tree.json +2 -1
- package/dist/ai/manifest/components/ListBox.json +2 -2
- package/dist/ai/manifest/components/ListBox.tree.json +2 -2
- package/dist/ai/manifest/components/OptionsContainer.json +4 -3
- package/dist/ai/manifest/components/OptionsContainer.tree.json +16 -1
- package/dist/ai/manifest/index.json +3 -3
- package/dist/ai/manifest/meta.json +16 -7
- package/dist/ai/manifest/types.advanced.json +6 -7
- package/dist/ai/manifest/types.api.json +16 -7
- package/dist/ai/manifest/types.wrapper.json +2 -2
- package/dist/ai/recipes/inertia/approvals-inbox.md +2 -2
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +13 -9
- package/dist/ai/recipes/inertia/onboarding.md +2 -2
- package/dist/ai/recipes/inertia/ownership-atlas.md +2 -2
- package/dist/ai/recipes/inertia/record-form.md +2 -2
- package/dist/ai/recipes/inertia/records-workspace.md +2 -2
- package/dist/ai/recipes/inertia/settings-workspace.md +5 -4
- package/dist/ai/recipes/inertia/upload-center.md +3 -3
- package/dist/ai/recipes/inertia/wizard-form.md +2 -2
- package/dist/ai/recipes/nuxt/approvals-inbox.md +2 -2
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +13 -9
- package/dist/ai/recipes/nuxt/onboarding.md +2 -2
- package/dist/ai/recipes/nuxt/ownership-atlas.md +2 -2
- package/dist/ai/recipes/nuxt/record-form.md +2 -2
- package/dist/ai/recipes/nuxt/records-workspace.md +2 -2
- package/dist/ai/recipes/nuxt/settings-workspace.md +5 -4
- package/dist/ai/recipes/nuxt/upload-center.md +4 -4
- package/dist/ai/recipes/nuxt/wizard-form.md +2 -2
- package/dist/ai/recipes/vue/approvals-inbox.md +2 -2
- package/dist/ai/recipes/vue/inline-edit-workspace.md +13 -9
- package/dist/ai/recipes/vue/onboarding.md +2 -2
- package/dist/ai/recipes/vue/ownership-atlas.md +2 -2
- package/dist/ai/recipes/vue/record-form.md +2 -2
- package/dist/ai/recipes/vue/records-workspace.md +2 -2
- package/dist/ai/recipes/vue/settings-workspace.md +5 -4
- package/dist/ai/recipes/vue/upload-center.md +4 -4
- package/dist/ai/recipes/vue/wizard-form.md +2 -2
- package/dist/ai/source/BbAlert.md +10 -4
- package/dist/ai/source/BbAvatar.md +6 -5
- package/dist/ai/source/BbBadge.md +46 -19
- package/dist/ai/source/BbBadgeButton.md +31 -11
- package/dist/ai/source/BbBaseButton.md +270 -267
- package/dist/ai/source/BbBaseCheckboxIcon.md +62 -56
- package/dist/ai/source/BbBaseRadioIcon.md +66 -56
- package/dist/ai/source/BbBaseSwitchIcon.md +70 -61
- package/dist/ai/source/BbBreadcrumbs.md +62 -47
- package/dist/ai/source/BbButton.md +127 -26
- package/dist/ai/source/BbCalendar.md +513 -148
- package/dist/ai/source/BbCheckbox.md +235 -178
- package/dist/ai/source/BbCheckboxGroup.md +86 -43
- package/dist/ai/source/BbColorInput.md +102 -39
- package/dist/ai/source/BbColorPalette.md +156 -141
- package/dist/ai/source/BbConfigScope.md +123 -0
- package/dist/ai/source/BbConfirm.md +30 -10
- package/dist/ai/source/BbConfirmPortal.md +16 -6
- package/dist/ai/source/BbDatePicker.md +220 -167
- package/dist/ai/source/BbDatePickerInput.md +331 -48
- package/dist/ai/source/BbDialog.md +166 -142
- package/dist/ai/source/BbDropdown.md +109 -35
- package/dist/ai/source/BbDropdownButton.md +123 -38
- package/dist/ai/source/BbDropdownGroup.md +86 -25
- package/dist/ai/source/BbDropzone.md +86 -78
- package/dist/ai/source/BbForm.md +1 -1
- package/dist/ai/source/BbHost.md +4 -4
- package/dist/ai/source/BbHoverCard.md +6 -2
- package/dist/ai/source/BbIcon.md +5 -4
- package/dist/ai/source/BbIndicator.md +1 -1
- package/dist/ai/source/BbNumberInput.md +103 -51
- package/dist/ai/source/BbOffCanvas.md +172 -150
- package/dist/ai/source/BbPagination.md +107 -103
- package/dist/ai/source/BbPopover.md +17 -9
- package/dist/ai/source/BbPopoverPortal.md +2 -2
- package/dist/ai/source/BbRadio.md +222 -167
- package/dist/ai/source/BbRadioGroup.md +84 -42
- package/dist/ai/source/BbRating.md +178 -155
- package/dist/ai/source/BbSelect.md +126 -38
- package/dist/ai/source/BbSelectPopover.md +453 -365
- package/dist/ai/source/BbSlider.md +1121 -744
- package/dist/ai/source/BbSwitch.md +79 -8
- package/dist/ai/source/BbSwitchGroup.md +48 -25
- package/dist/ai/source/BbTable.md +487 -416
- package/dist/ai/source/BbTabs.md +67 -24
- package/dist/ai/source/BbTabsList.md +63 -23
- package/dist/ai/source/BbTabsPanels.md +63 -23
- package/dist/ai/source/BbTabsRoot.md +63 -23
- package/dist/ai/source/BbTag.md +67 -40
- package/dist/ai/source/BbTextInput.md +73 -36
- package/dist/ai/source/BbTextarea.md +91 -51
- package/dist/ai/source/BbTimePicker.md +133 -108
- package/dist/ai/source/BbTimePickerInput.md +97 -28
- package/dist/ai/source/BbToast.md +44 -27
- package/dist/ai/source/BbToastPortal.md +40 -24
- package/dist/ai/source/BbTooltip.md +3 -3
- package/dist/ai/source/BbTree.md +16 -3
- package/dist/ai/source/CommonField.md +2 -2
- package/dist/ai/source/CommonFieldInput.md +11 -6
- package/dist/ai/source/CommonPopover.md +7 -0
- package/dist/ai/source/CommonTimeSelector.md +3 -1
- package/dist/ai/source/FlatListBox.md +12 -2
- package/dist/ai/source/GroupedListBox.md +13 -2
- package/dist/ai/source/ListBox.md +2 -2
- package/dist/ai/source/OptionsContainer.md +49 -2
- package/dist/assets/css/reset.css_inline.js +1 -2
- package/dist/assets/svgs/alert.svg_raw.js +1 -2
- package/dist/assets/svgs/arrow_up.svg_raw.js +3 -0
- package/dist/assets/svgs/calendar.svg_raw.js +1 -2
- package/dist/assets/svgs/caret_down.svg_raw.js +3 -0
- package/dist/assets/svgs/check_stroke.svg_raw.js +1 -2
- package/dist/assets/svgs/chevron_down.svg_raw.js +1 -2
- package/dist/assets/svgs/chevron_left_small.svg_raw.js +3 -0
- package/dist/assets/svgs/chevron_right.svg_raw.js +1 -2
- package/dist/assets/svgs/chevron_right_small.svg_raw.js +3 -0
- package/dist/assets/svgs/clear.svg_raw.js +1 -2
- package/dist/assets/svgs/clock.svg_raw.js +1 -2
- package/dist/assets/svgs/close.svg_raw.js +3 -0
- package/dist/assets/svgs/error.svg_raw.js +1 -2
- package/dist/assets/svgs/eyedropper.svg_raw.js +3 -0
- package/dist/assets/svgs/move.svg_raw.js +3 -0
- package/dist/assets/svgs/search.svg_raw.js +1 -2
- package/dist/assets/svgs/spinner.svg_raw.js +1 -2
- package/dist/assets/svgs/star.svg_raw.js +1 -2
- package/dist/assets/svgs/user.svg_raw.js +1 -2
- package/dist/assets/svgs/x.svg_raw.js +3 -0
- package/dist/components/BbAccordion/BbAccordion.vue.js +1 -2
- package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +21 -22
- package/dist/components/BbAccordion/types.js +1 -2
- package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -0
- package/dist/components/BbAlert/BbAlert.vue.js +1 -2
- package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +46 -43
- package/dist/components/BbAlert/types.d.ts +1 -1
- package/dist/components/BbAlert/types.js +1 -2
- package/dist/components/BbAsterisk/BbAsterisk.vue.js +1 -2
- package/dist/components/BbAsterisk/BbAsterisk.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/BbAsterisk/types.js +1 -2
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
- package/dist/components/BbAvatar/BbAvatar.vue.js +1 -2
- package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +52 -52
- package/dist/components/BbAvatar/types.js +1 -2
- package/dist/components/BbBadge/BadgeBodyContent.vue.js +1 -2
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +13 -14
- package/dist/components/BbBadge/BbBadge.vue.js +1 -2
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +73 -71
- package/dist/components/BbBadge/BbBadgeButton.vue.js +1 -2
- package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +11 -16
- package/dist/components/BbBadge/badgeButtonContext.js +1 -2
- package/dist/components/BbBadge/types.d.ts +21 -5
- package/dist/components/BbBadge/types.js +7 -2
- package/dist/components/BbBaseButton/BbBaseButton.vue.js +1 -2
- package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +12 -13
- package/dist/components/BbBaseButton/RouterComponent.vue.js +1 -2
- package/dist/components/BbBaseButton/RouterComponent.vue_vue_type_script_setup_true_lang.js +8 -9
- package/dist/components/BbBaseButton/types.d.ts +4 -2
- package/dist/components/BbBaseButton/types.js +6 -2
- package/dist/components/BbBaseButton/useLinkState.js +5 -6
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.js +1 -2
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue_vue_type_script_setup_true_lang.js +16 -17
- package/dist/components/BbBaseCheckboxIcon/types.d.ts +4 -2
- package/dist/components/BbBaseCheckboxIcon/types.js +3 -3
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.js +1 -2
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue_vue_type_script_setup_true_lang.js +13 -14
- package/dist/components/BbBaseRadioIcon/types.d.ts +4 -2
- package/dist/components/BbBaseRadioIcon/types.js +3 -3
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.js +1 -2
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue_vue_type_script_setup_true_lang.js +15 -16
- package/dist/components/BbBaseSwitchIcon/types.d.ts +4 -2
- package/dist/components/BbBaseSwitchIcon/types.js +3 -3
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.js +1 -2
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +156 -167
- package/dist/components/BbBreadcrumbs/estimateBreadcrumbItemWidth.js +1 -2
- package/dist/components/BbBreadcrumbs/types.d.ts +19 -5
- package/dist/components/BbBreadcrumbs/types.js +8 -3
- package/dist/components/BbButton/BbButton.vue.d.ts +2 -0
- package/dist/components/BbButton/BbButton.vue.js +1 -2
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +122 -111
- package/dist/components/BbButton/toggleRoving.js +2 -3
- package/dist/components/BbButton/types.d.ts +16 -12
- package/dist/components/BbButton/types.js +8 -2
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +47 -77
- package/dist/components/BbCalendar/BbCalendar.vue.js +1 -2
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +340 -374
- package/dist/components/BbCalendar/CalendarMonthPanel.vue.js +1 -2
- package/dist/components/BbCalendar/CalendarMonthPanel.vue_vue_type_script_setup_true_lang.js +15 -17
- package/dist/components/BbCalendar/CalendarYearPanel.vue.js +1 -2
- package/dist/components/BbCalendar/CalendarYearPanel.vue_vue_type_script_setup_true_lang.js +55 -57
- package/dist/components/BbCalendar/calendarHost.js +1 -2
- package/dist/components/BbCalendar/types.d.ts +75 -30
- package/dist/components/BbCalendar/types.js +54 -3
- package/dist/components/BbCalendar/useCalendarContext.js +1 -2
- package/dist/components/BbCalendar/useCalendarGrid.js +182 -194
- package/dist/components/BbCalendar/useDayGrid.d.ts +17 -0
- package/dist/components/BbCalendar/useDayGrid.js +159 -155
- package/dist/components/BbCalendar/useDayjsLocale.d.ts +6 -0
- package/dist/components/BbCalendar/useDayjsLocale.js +10 -4
- package/dist/components/BbCalendar/useToday.js +1 -2
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -2
- package/dist/components/BbCheckbox/BbCheckbox.vue.js +1 -2
- package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +99 -94
- package/dist/components/BbCheckbox/types.d.ts +4 -2
- package/dist/components/BbCheckbox/types.js +3 -3
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +95 -54
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.js +1 -2
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +206 -179
- package/dist/components/BbCheckboxGroup/types.d.ts +22 -11
- package/dist/components/BbCheckboxGroup/types.js +8 -9
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
- package/dist/components/BbCollapsible/BbCollapsible.vue.js +1 -2
- package/dist/components/BbCollapsible/BbCollapsible.vue_vue_type_script_setup_true_lang.js +12 -13
- package/dist/components/BbCollapsible/types.js +1 -2
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +13 -11
- package/dist/components/BbColorInput/BbColorInput.vue.js +1 -2
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +185 -154
- package/dist/components/BbColorInput/types.d.ts +33 -18
- package/dist/components/BbColorInput/types.js +19 -10
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
- package/dist/components/BbColorPalette/BbColorPalette.vue.js +1 -2
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +269 -279
- package/dist/components/BbColorPalette/types.d.ts +14 -6
- package/dist/components/BbColorPalette/types.js +4 -3
- package/dist/components/BbConfigScope/BbConfigScope.vue.d.ts +12 -0
- package/dist/components/BbConfigScope/BbConfigScope.vue.js +4 -0
- package/dist/components/BbConfigScope/BbConfigScope.vue_vue_type_script_setup_true_lang.js +37 -0
- package/dist/components/BbConfigScope/types.d.ts +20 -0
- package/dist/components/BbConfirm/BbConfirm.vue.js +1 -2
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +108 -97
- package/dist/components/BbConfirm/BbConfirmHost.js +9 -10
- package/dist/components/BbConfirm/BbConfirmPortal.vue.js +1 -2
- package/dist/components/BbConfirm/BbConfirmPortal.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/components/BbConfirm/confirmEntry.js +1 -2
- package/dist/components/BbConfirm/types.d.ts +8 -4
- package/dist/components/BbConfirm/types.js +3 -3
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +61 -105
- package/dist/components/BbDatePicker/BbDatePicker.vue.js +1 -2
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +206 -263
- package/dist/components/BbDatePicker/types.d.ts +46 -21
- package/dist/components/BbDatePicker/types.js +6 -3
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +154 -278
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.js +1 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +562 -661
- package/dist/components/BbDatePickerInput/dateFieldLayout.js +1 -2
- package/dist/components/BbDatePickerInput/types.d.ts +69 -21
- package/dist/components/BbDatePickerInput/types.js +68 -8
- package/dist/components/BbDialog/BbDialog.vue.d.ts +5 -4
- package/dist/components/BbDialog/BbDialog.vue.js +1 -2
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +227 -223
- package/dist/components/BbDialog/types.d.ts +7 -5
- package/dist/components/BbDialog/types.js +3 -3
- package/dist/components/BbDialog/useDialogStack.js +1 -2
- package/dist/components/BbDropdown/AdaptiveDropdown.vue.js +1 -2
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +56 -57
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +5 -4
- package/dist/components/BbDropdown/BbDropdown.vue.js +1 -2
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +377 -396
- package/dist/components/BbDropdown/BbDropdownGroup.vue.js +1 -2
- package/dist/components/BbDropdown/BbDropdownGroup.vue_vue_type_script_setup_true_lang.js +19 -22
- package/dist/components/BbDropdown/BbDropdownList.vue.js +1 -2
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +386 -399
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue.js +1 -2
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +114 -114
- package/dist/components/BbDropdown/DropdownRow.vue.d.ts +1 -1
- package/dist/components/BbDropdown/DropdownRow.vue.js +1 -2
- package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +22 -23
- package/dist/components/BbDropdown/normalizeGroups.js +20 -21
- package/dist/components/BbDropdown/pointerTrail.d.ts +5 -0
- package/dist/components/BbDropdown/pointerTrail.js +26 -0
- package/dist/components/BbDropdown/types.d.ts +44 -16
- package/dist/components/BbDropdown/types.js +39 -4
- package/dist/components/BbDropdown/useDropdownContext.d.ts +1 -1
- package/dist/components/BbDropdown/useDropdownContext.js +1 -2
- package/dist/components/BbDropdown/useDropdownGroupRegistry.js +1 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -3
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.js +1 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +126 -103
- package/dist/components/BbDropdownButton/types.d.ts +46 -18
- package/dist/components/BbDropdownButton/types.js +19 -10
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +13 -5
- package/dist/components/BbDropzone/BbDropzone.vue.js +1 -2
- package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +141 -150
- package/dist/components/BbDropzone/types.d.ts +4 -2
- package/dist/components/BbDropzone/types.js +8 -2
- package/dist/components/BbForm/BbForm.vue.d.ts +2 -2
- package/dist/components/BbForm/BbForm.vue.js +1 -2
- package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +154 -159
- package/dist/components/BbForm/BbFormCustomField.js +4 -5
- package/dist/components/BbForm/bindFormField.js +67 -68
- package/dist/components/BbForm/formFields.js +1 -2
- package/dist/components/BbForm/formSchema.js +15 -53
- package/dist/components/BbHost/BbHost.vue.js +1 -2
- package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/components/BbHost/BbHostOpening.d.ts +1 -1
- package/dist/components/BbHost/BbHostOpening.js +12 -14
- package/dist/components/BbHost/types.d.ts +2 -2
- package/dist/components/BbHoverCard/BbHoverCard.vue.d.ts +2 -2
- package/dist/components/BbHoverCard/BbHoverCard.vue.js +1 -2
- package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +149 -153
- package/dist/components/BbHoverCard/BbHoverCardPortal.vue.js +1 -2
- package/dist/components/BbHoverCard/BbHoverCardPortal.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/BbHoverCard/hoverCardFocus.js +1 -2
- package/dist/components/BbHoverCard/types.js +1 -2
- package/dist/components/BbIcon/BbIcon.vue.d.ts +1 -1
- package/dist/components/BbIcon/BbIcon.vue.js +1 -2
- package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +45 -45
- package/dist/components/BbIcon/iconCache.js +1 -2
- package/dist/components/BbIcon/types.js +1 -2
- package/dist/components/BbIndicator/BbIndicator.vue.js +1 -2
- package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +9 -10
- package/dist/components/BbIndicator/types.d.ts +1 -1
- package/dist/components/BbIndicator/types.js +1 -2
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +12 -9
- package/dist/components/BbNumberInput/BbNumberInput.vue.js +1 -2
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +357 -374
- package/dist/components/BbNumberInput/numberDisplay.js +1 -2
- package/dist/components/BbNumberInput/platform.js +1 -2
- package/dist/components/BbNumberInput/types.d.ts +38 -16
- package/dist/components/BbNumberInput/types.js +12 -11
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -3
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.js +1 -2
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +407 -429
- package/dist/components/BbOffCanvas/hostCloseLabel.js +1 -2
- package/dist/components/BbOffCanvas/sheetAttrs.js +1 -2
- package/dist/components/BbOffCanvas/sheetSnap.js +3 -8
- package/dist/components/BbOffCanvas/types.d.ts +5 -3
- package/dist/components/BbOffCanvas/types.js +3 -3
- package/dist/components/BbOffCanvas/useOffCanvasStack.js +1 -2
- package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
- package/dist/components/BbPagination/BbPagination.vue.js +1 -2
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +123 -128
- package/dist/components/BbPagination/paginationFit.js +0 -1
- package/dist/components/BbPagination/types.d.ts +12 -4
- package/dist/components/BbPagination/types.js +4 -3
- package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
- package/dist/components/BbPopover/BbPopover.vue.js +1 -2
- package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +144 -163
- package/dist/components/BbPopover/BbPopoverPortal.vue.js +1 -2
- package/dist/components/BbPopover/BbPopoverPortal.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/BbPopover/types.d.ts +2 -2
- package/dist/components/BbPopover/types.js +1 -2
- package/dist/components/BbProgress/BbProgress.vue.js +1 -2
- package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +16 -17
- package/dist/components/BbProgress/types.js +1 -2
- package/dist/components/BbRadio/BbRadio.vue.d.ts +4 -2
- package/dist/components/BbRadio/BbRadio.vue.js +1 -2
- package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +106 -98
- package/dist/components/BbRadio/types.d.ts +4 -2
- package/dist/components/BbRadio/types.js +3 -3
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +89 -48
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.js +1 -2
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +183 -156
- package/dist/components/BbRadioGroup/types.d.ts +23 -11
- package/dist/components/BbRadioGroup/types.js +8 -9
- package/dist/components/BbRating/BbRating.vue.d.ts +7 -5
- package/dist/components/BbRating/BbRating.vue.js +1 -2
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +171 -172
- package/dist/components/BbRating/types.d.ts +15 -5
- package/dist/components/BbRating/types.js +10 -3
- package/dist/components/BbSelect/BbSelect.vue.d.ts +203 -206
- package/dist/components/BbSelect/BbSelect.vue.js +1 -2
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +285 -296
- package/dist/components/BbSelect/types.d.ts +49 -21
- package/dist/components/BbSelect/types.js +20 -3
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +40 -37
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.js +1 -2
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +735 -783
- package/dist/components/BbSelectPopover/knownItems.js +1 -2
- package/dist/components/BbSelectPopover/reclickClears.d.ts +17 -0
- package/dist/components/BbSelectPopover/reclickClears.js +4 -0
- package/dist/components/BbSelectPopover/sheetChipAttrs.js +1 -2
- package/dist/components/BbSelectPopover/types.d.ts +41 -22
- package/dist/components/BbSelectPopover/types.js +11 -3
- package/dist/components/BbSlider/BbSlider.vue.d.ts +38 -30
- package/dist/components/BbSlider/BbSlider.vue.js +1 -2
- package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +412 -367
- package/dist/components/BbSlider/types.d.ts +143 -44
- package/dist/components/BbSlider/types.js +10 -3
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.js +1 -2
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue_vue_type_script_setup_true_lang.js +14 -21
- package/dist/components/BbSmoothHeight/types.js +1 -2
- package/dist/components/BbSpinner/BbSpinner.vue.js +1 -2
- package/dist/components/BbSpinner/BbSpinner.vue_vue_type_script_setup_true_lang.js +14 -15
- package/dist/components/BbSpinner/types.js +1 -2
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -2
- package/dist/components/BbSwitch/BbSwitch.vue.js +1 -2
- package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +110 -117
- package/dist/components/BbSwitch/types.d.ts +21 -2
- package/dist/components/BbSwitch/types.js +8 -5
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +42 -27
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.js +1 -2
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +158 -160
- package/dist/components/BbSwitchGroup/types.d.ts +11 -4
- package/dist/components/BbSwitchGroup/types.js +4 -5
- package/dist/components/BbTable/BbTable.vue.d.ts +4 -4
- package/dist/components/BbTable/BbTable.vue.js +1 -2
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1335 -1515
- package/dist/components/BbTable/BbTableDataRow.js +1 -2
- package/dist/components/BbTable/BbTableEdgeRow.js +1 -2
- package/dist/components/BbTable/BbTableExpandRow.js +1 -2
- package/dist/components/BbTable/BbTableSelectToggle.d.ts +1 -1
- package/dist/components/BbTable/BbTableSelectToggle.js +17 -18
- package/dist/components/BbTable/gridWidgets.js +2 -7
- package/dist/components/BbTable/measuredFloors.js +67 -65
- package/dist/components/BbTable/textRuler.d.ts +3 -1
- package/dist/components/BbTable/textRuler.js +40 -39
- package/dist/components/BbTable/types.d.ts +40 -8
- package/dist/components/BbTable/types.js +45 -3
- package/dist/components/BbTable/useRowReorder.js +179 -203
- package/dist/components/BbTable/utils.d.ts +7 -1
- package/dist/components/BbTable/utils.js +35 -40
- package/dist/components/BbTabs/BbTabs.vue.d.ts +39 -32
- package/dist/components/BbTabs/BbTabs.vue.js +1 -2
- package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +32 -32
- package/dist/components/BbTabs/BbTabsList.vue.js +1 -2
- package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +19 -24
- package/dist/components/BbTabs/BbTabsPanels.vue.js +1 -2
- package/dist/components/BbTabs/BbTabsPanels.vue_vue_type_script_setup_true_lang.js +4 -7
- package/dist/components/BbTabs/BbTabsRoot.vue.js +1 -2
- package/dist/components/BbTabs/BbTabsRoot.vue_vue_type_script_setup_true_lang.js +6 -7
- package/dist/components/BbTabs/tablistName.js +1 -2
- package/dist/components/BbTabs/types.d.ts +38 -11
- package/dist/components/BbTabs/types.js +11 -3
- package/dist/components/BbTag/BbTag.vue.d.ts +15 -13
- package/dist/components/BbTag/BbTag.vue.js +1 -2
- package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +232 -246
- package/dist/components/BbTag/types.d.ts +26 -18
- package/dist/components/BbTag/types.js +20 -10
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +49 -35
- package/dist/components/BbTextInput/BbTextInput.vue.js +1 -2
- package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +145 -140
- package/dist/components/BbTextInput/types.d.ts +23 -13
- package/dist/components/BbTextInput/types.js +23 -13
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +49 -35
- package/dist/components/BbTextarea/BbTextarea.vue.js +1 -2
- package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +146 -138
- package/dist/components/BbTextarea/types.d.ts +22 -12
- package/dist/components/BbTextarea/types.js +23 -13
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +24 -18
- package/dist/components/BbTimePicker/BbTimePicker.vue.js +1 -2
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +151 -156
- package/dist/components/BbTimePicker/types.d.ts +16 -6
- package/dist/components/BbTimePicker/types.js +4 -3
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +99 -99
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.js +1 -2
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +313 -332
- package/dist/components/BbTimePickerInput/types.d.ts +33 -12
- package/dist/components/BbTimePickerInput/types.js +18 -8
- package/dist/components/BbToast/BbToast.vue.js +1 -2
- package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +14 -19
- package/dist/components/BbToast/BbToastMessage.vue.js +1 -2
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +50 -57
- package/dist/components/BbToast/BbToastPortal.vue.js +1 -2
- package/dist/components/BbToast/BbToastPortal.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/components/BbToast/BbToastRegion.vue.js +1 -2
- package/dist/components/BbToast/BbToastRegion.vue_vue_type_script_setup_true_lang.js +31 -32
- package/dist/components/BbToast/types.d.ts +19 -7
- package/dist/components/BbToast/types.js +12 -13
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -3
- package/dist/components/BbTooltip/BbTooltip.vue.js +1 -2
- package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +120 -121
- package/dist/components/BbTooltip/tooltipWarmup.js +0 -1
- package/dist/components/BbTooltip/types.d.ts +1 -1
- package/dist/components/BbTooltip/types.js +1 -2
- package/dist/components/BbTree/BbTree.vue.d.ts +2 -3
- package/dist/components/BbTree/BbTree.vue.js +1 -2
- package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +28 -27
- package/dist/components/BbTree/BbTreeLevel.vue.js +1 -2
- package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +12 -20
- package/dist/components/BbTree/context.js +1 -2
- package/dist/components/BbTree/types.d.ts +13 -3
- package/dist/components/BbTree/types.js +4 -3
- package/dist/components/ChipsBox/ChipsBox.vue.js +1 -2
- package/dist/components/ChipsBox/ChipsBox.vue_vue_type_script_setup_true_lang.js +24 -26
- package/dist/components/ClearableButton/ClearableButton.vue.js +1 -2
- package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/CloseIcon/CloseButton.vue.js +2 -3
- package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +12 -18
- package/dist/components/CommaBox/CommaBox.vue.js +1 -2
- package/dist/components/CommaBox/CommaBox.vue_vue_type_script_setup_true_lang.js +20 -22
- package/dist/components/CommonField/CommonField.vue.js +1 -2
- package/dist/components/CommonField/CommonField.vue_vue_type_script_setup_true_lang.js +78 -73
- package/dist/components/CommonField/types.d.ts +2 -2
- package/dist/components/CommonFieldInput/CommonFieldInput.vue.js +1 -2
- package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +20 -21
- package/dist/components/CommonFieldInput/types.d.ts +1 -1
- package/dist/components/CommonPopover/CommonPopover.vue.js +1 -2
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +92 -91
- package/dist/components/CommonTimeSelector/CommonTimeSelector.vue.js +1 -2
- package/dist/components/CommonTimeSelector/CommonTimeSelector.vue_vue_type_script_setup_true_lang.js +29 -38
- package/dist/components/CommonTimeSelector/useMeridiem.js +1 -2
- package/dist/components/ErrorIcon/ErrorIcon.vue.js +1 -2
- package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/FlatListBox/FlatListBox.vue.js +1 -2
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +153 -157
- package/dist/components/FlatListBox/types.d.ts +2 -2
- package/dist/components/GroupedListBox/GroupedListBox.vue.js +1 -2
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +108 -112
- package/dist/components/GroupedListBox/types.d.ts +2 -2
- package/dist/components/ListBox/ListBox.vue.js +1 -2
- package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +21 -22
- package/dist/components/ListBox/types.d.ts +2 -2
- package/dist/components/OptionsContainer/OptionsContainer.vue.js +1 -2
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +92 -78
- package/dist/components/OptionsContainer/types.d.ts +6 -1
- package/dist/components/Transitions/ScaleFade.vue.js +1 -2
- package/dist/components/Transitions/ScaleFade.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/Transitions/Slide.vue.d.ts +1 -1
- package/dist/components/Transitions/Slide.vue.js +4 -5
- package/dist/components/Transitions/Slide.vue_vue_type_script_setup_true_lang.js +4 -5
- package/dist/components/WarningIcon/WarningIcon.vue.js +1 -2
- package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/composables/autoHost.js +1 -2
- package/dist/composables/formSubmitLock.js +1 -2
- package/dist/composables/hostOpenings.js +6 -11
- package/dist/composables/hostRegistry.js +1 -2
- package/dist/composables/overlayRegistry.js +2 -3
- package/dist/composables/ssrMarker.js +1 -2
- package/dist/composables/useActiveInactiveState.js +1 -2
- package/dist/composables/useArray.js +1 -2
- package/dist/composables/useBaseOptions.js +19 -20
- package/dist/composables/useBbConfig.js +1 -2
- package/dist/composables/useBbDialog.js +18 -22
- package/dist/composables/useBbDropdown.js +3 -4
- package/dist/composables/useBbForm.js +6 -10
- package/dist/composables/useBbFormField.js +1 -2
- package/dist/composables/useBbOffCanvas.js +4 -5
- package/dist/composables/useBbTable.js +2 -3
- package/dist/composables/useBbTabs.js +108 -116
- package/dist/composables/useBodyScrollLock.js +1 -2
- package/dist/composables/useBreakpoint.js +1 -2
- package/dist/composables/useCancelableFunction.js +1 -2
- package/dist/composables/useCharacterCounter.js +2 -3
- package/dist/composables/useChoiceIndicator.js +4 -9
- package/dist/composables/useClosingInert.js +3 -8
- package/dist/composables/useCoarsePointer.js +1 -2
- package/dist/composables/useCoherence.js +1 -2
- package/dist/composables/useConfig.js +3 -11
- package/dist/composables/useConfigDefaults.d.ts +54 -0
- package/dist/composables/useConfigDefaults.js +56 -0
- package/dist/composables/useConfirm.d.ts +29 -31
- package/dist/composables/useConfirm.js +7 -8
- package/dist/composables/useCountdown.js +6 -7
- package/dist/composables/useEscapeStackEntry.js +1 -2
- package/dist/composables/useFormBinding.d.ts +1 -1
- package/dist/composables/useFormBinding.js +7 -10
- package/dist/composables/useFrameworkDetection.js +1 -2
- package/dist/composables/useHashedWatcher.js +1 -2
- package/dist/composables/useHydrated.js +1 -2
- package/dist/composables/useId.js +1 -2
- package/dist/composables/useImeDismissBlur.js +2 -7
- package/dist/composables/useIndexById.js +1 -2
- package/dist/composables/useInertiaPage.js +1 -2
- package/dist/composables/useItemText.js +3 -3
- package/dist/composables/useItemValue.js +1 -2
- package/dist/composables/useItemsGetter.js +12 -19
- package/dist/composables/useKeyboardInset.js +0 -1
- package/dist/composables/useListboxFocus.js +1 -2
- package/dist/composables/useLocale.js +7 -8
- package/dist/composables/useLogger.js +1 -2
- package/dist/composables/useMobile.js +1 -2
- package/dist/composables/useOnDemandOpener.js +12 -13
- package/dist/composables/useOnFalsy.js +1 -2
- package/dist/composables/useOnTruthy.js +1 -2
- package/dist/composables/useOverlayNavigation.js +6 -11
- package/dist/composables/useOverlayYield.js +1 -2
- package/dist/composables/usePassthrough.d.ts +7 -5
- package/dist/composables/usePassthrough.js +235 -147
- package/dist/composables/usePrefill.js +11 -16
- package/dist/composables/useQuery.js +9 -22
- package/dist/composables/useRefusedCloseAnnouncement.js +1 -2
- package/dist/composables/useRoute.js +1 -2
- package/dist/composables/useRouter.js +1 -2
- package/dist/composables/useSafeArea.js +10 -11
- package/dist/composables/useSafeAreaInternal.js +4 -5
- package/dist/composables/useSegmentedFields.js +5 -17
- package/dist/composables/useServerPrefetch.js +1 -2
- package/dist/composables/useSheetSurface.js +1 -2
- package/dist/composables/useSsrState.js +1 -2
- package/dist/composables/useTableWidthContext.js +2 -3
- package/dist/composables/useToast.d.ts +5 -4
- package/dist/composables/useToast.js +48 -39
- package/dist/composables/useToggleInput.js +1 -2
- package/dist/composables/useTopLayer.js +1 -2
- package/dist/composables/useTypeahead.js +0 -1
- package/dist/composables/useUntil.js +1 -2
- package/dist/composables/useUrlQueryParam.d.ts +1 -1
- package/dist/composables/useUrlQueryParam.js +1 -2
- package/dist/composables/useViewportWidth.js +2 -3
- package/dist/deprecation/ai-deprecations.json.d.ts +44 -15
- package/dist/deprecation/ai-deprecations.json.js +2 -3
- package/dist/deprecation/removedProps.js +1 -2
- package/dist/directives/bbColor.js +7 -8
- package/dist/directives/bbDate.js +7 -8
- package/dist/directives/bbDialog.js +1 -2
- package/dist/directives/bbDropdown.js +18 -19
- package/dist/directives/bbHoverCard.js +8 -9
- package/dist/directives/bbOffCanvas.js +1 -2
- package/dist/directives/bbPopover.js +12 -13
- package/dist/directives/bbTime.js +7 -8
- package/dist/directives/bbTooltip.js +1 -2
- package/dist/directives/createPopoverDirective.js +6 -17
- package/dist/directives/directivePortal.js +1 -2
- package/dist/directives/overlayTrigger.js +24 -25
- package/dist/directives/renderingInstance.js +4 -8
- package/dist/i18n/locales/cs.json +10 -2
- package/dist/i18n/locales/da.json +10 -2
- package/dist/i18n/locales/de-CH.json +10 -2
- package/dist/i18n/locales/de.json +10 -2
- package/dist/i18n/locales/el.json +10 -2
- package/dist/i18n/locales/en-GB.json +10 -2
- package/dist/i18n/locales/en.json +10 -2
- package/dist/i18n/locales/es-MX.json +10 -2
- package/dist/i18n/locales/es.json +10 -2
- package/dist/i18n/locales/fi.json +10 -2
- package/dist/i18n/locales/fr.json +10 -2
- package/dist/i18n/locales/hu.json +10 -2
- package/dist/i18n/locales/it.json +10 -2
- package/dist/i18n/locales/ja.json +10 -2
- package/dist/i18n/locales/ko.json +10 -2
- package/dist/i18n/locales/nb.json +10 -2
- package/dist/i18n/locales/nl.json +10 -2
- package/dist/i18n/locales/pl.json +10 -2
- package/dist/i18n/locales/pt-BR.json +10 -2
- package/dist/i18n/locales/pt-PT.json +10 -2
- package/dist/i18n/locales/ro.json +10 -2
- package/dist/i18n/locales/ru.json +10 -2
- package/dist/i18n/locales/sv.json +10 -2
- package/dist/i18n/locales/tr.json +10 -2
- package/dist/i18n/locales/uk.json +10 -2
- package/dist/i18n/locales/zh-CN.json +10 -2
- package/dist/i18n/locales/zh-HK.json +10 -2
- package/dist/i18n/locales/zh-TW.json +10 -2
- package/dist/i18n/regionHints.js +1 -2
- package/dist/i18n/regions.js +1 -2
- package/dist/icon-scan.js +6 -11
- package/dist/index.d.ts +5 -5
- package/dist/index.js +87 -87
- package/dist/llms-full.txt +2809 -1459
- package/dist/llms-medium.txt +405 -203
- package/dist/llms.txt +4 -4
- package/dist/locale-blueprint.json +10 -2
- package/dist/nuxt-auto-imports.js +2 -3
- package/dist/nuxt-module.d.ts +1 -1
- package/dist/nuxt.js +25 -26
- package/dist/passthrough-deduper.js +1 -2
- package/dist/plugin.js +15 -16
- package/dist/project-dts.d.ts +72 -10
- package/dist/project-dts.js +70 -23
- package/dist/runtime/nuxt-plugin.js +25 -26
- package/dist/styles.css +2 -2
- package/dist/types/AlertVariant.d.ts +1 -1
- package/dist/types/AlertVariant.js +1 -2
- package/dist/types/BadgeVariant.d.ts +1 -1
- package/dist/types/BadgeVariant.js +1 -2
- package/dist/types/ButtonVariant.d.ts +1 -1
- package/dist/types/ButtonVariant.js +1 -2
- package/dist/types/CheckboxVariant.d.ts +7 -4
- package/dist/types/CheckboxVariant.js +6 -3
- package/dist/types/Config.d.ts +17 -103
- package/dist/types/ConfigDefaults.d.ts +352 -0
- package/dist/types/ConfigDefaults.js +115 -0
- package/dist/types/ConfirmVariant.d.ts +1 -1
- package/dist/types/ConfirmVariant.js +1 -2
- package/dist/types/DatePickerType.d.ts +10 -5
- package/dist/types/DatePickerType.js +3 -4
- package/dist/types/DropdownItemVariant.d.ts +1 -1
- package/dist/types/DropdownItemVariant.js +1 -2
- package/dist/types/FieldLayout.d.ts +3 -3
- package/dist/types/FieldLayout.js +1 -2
- package/dist/types/IndicatorVariant.d.ts +1 -1
- package/dist/types/IndicatorVariant.js +1 -2
- package/dist/types/InputVariant.d.ts +57 -24
- package/dist/types/InputVariant.js +1 -2
- package/dist/types/RadioVariant.d.ts +7 -4
- package/dist/types/RadioVariant.js +6 -3
- package/dist/types/SizeScale.d.ts +4 -0
- package/dist/types/SizeScale.js +17 -0
- package/dist/types/TabsVariant.d.ts +1 -1
- package/dist/types/TabsVariant.js +1 -2
- package/dist/types/ToastVariant.d.ts +1 -1
- package/dist/types/ToastVariant.js +1 -2
- package/dist/types/TooltipVariant.d.ts +1 -1
- package/dist/types/TooltipVariant.js +1 -2
- package/dist/types/passthrough.d.ts +116 -6
- package/dist/types/passthrough.js +19 -13
- package/dist/types/ptComponentMap.d.ts +34 -34
- package/dist/utilities/functions/animationsSettled.js +1 -2
- package/dist/utilities/functions/bytesToUnit.js +1 -2
- package/dist/utilities/functions/chunk.js +1 -2
- package/dist/utilities/functions/clamp.js +1 -2
- package/dist/utilities/functions/clampPrecision.js +1 -2
- package/dist/utilities/functions/convertDateValue.d.ts +5 -2
- package/dist/utilities/functions/convertDateValue.js +19 -13
- package/dist/utilities/functions/curry.js +1 -2
- package/dist/utilities/functions/deburr.js +1 -2
- package/dist/utilities/functions/elementLabel.js +1 -2
- package/dist/utilities/functions/empty.js +1 -2
- package/dist/utilities/functions/extractDomContainer.js +1 -2
- package/dist/utilities/functions/findInTree.js +1 -2
- package/dist/utilities/functions/flattenTree.js +1 -2
- package/dist/utilities/functions/get.js +1 -2
- package/dist/utilities/functions/hasVnodeListener.js +1 -2
- package/dist/utilities/functions/hash.js +1 -2
- package/dist/utilities/functions/identity.js +1 -2
- package/dist/utilities/functions/indexBy.js +1 -2
- package/dist/utilities/functions/isDateDisabled.js +23 -19
- package/dist/utilities/functions/isEqual.js +1 -2
- package/dist/utilities/functions/isHex.js +1 -2
- package/dist/utilities/functions/isImeComposing.js +1 -2
- package/dist/utilities/functions/isNil.js +1 -2
- package/dist/utilities/functions/isNotEmpty.js +1 -2
- package/dist/utilities/functions/isNotNil.js +1 -2
- package/dist/utilities/functions/isTextEntry.js +1 -2
- package/dist/utilities/functions/isoWeek.d.ts +36 -0
- package/dist/utilities/functions/isoWeek.js +21 -0
- package/dist/utilities/functions/itemProps.js +1 -2
- package/dist/utilities/functions/last.js +1 -2
- package/dist/utilities/functions/noop.js +1 -2
- package/dist/utilities/functions/normalizeDateBound.d.ts +4 -0
- package/dist/utilities/functions/normalizeDateBound.js +11 -10
- package/dist/utilities/functions/parsePaginationNumber.js +1 -2
- package/dist/utilities/functions/parseSize.js +1 -2
- package/dist/utilities/functions/parseWidthString.js +1 -2
- package/dist/utilities/functions/percentage.js +1 -2
- package/dist/utilities/functions/pickBy.js +1 -2
- package/dist/utilities/functions/range.js +1 -2
- package/dist/utilities/functions/readableValue.js +1 -2
- package/dist/utilities/functions/reject.js +1 -2
- package/dist/utilities/functions/resolveEnumProp.js +1 -2
- package/dist/utilities/functions/responsiveDefault.js +1 -2
- package/dist/utilities/functions/searchRank.d.ts +19 -0
- package/dist/utilities/functions/searchRank.js +76 -0
- package/dist/utilities/functions/settlesVisible.js +1 -2
- package/dist/utilities/functions/slotKey.js +1 -2
- package/dist/utilities/functions/snapToStep.js +1 -2
- package/dist/utilities/functions/sort.js +1 -2
- package/dist/utilities/functions/throttle.js +1 -2
- package/dist/utilities/functions/toggleInput.js +1 -2
- package/dist/utilities/functions/transpose.js +1 -2
- package/dist/utilities/functions/validateDateFormat.js +1 -2
- package/dist/utilities/functions/wait.js +1 -2
- package/dist/utilities/functions/waitFor.js +2 -7
- package/dist/utilities/functions/warnRemovedAttrs.js +2 -5
- package/dist/utilities/functions/when.js +1 -2
- package/dist/utilities/misc/autofocus.js +1 -2
- package/dist/utilities/misc/iconsInjectionKey.js +1 -2
- package/dist/utilities/misc/listboxMetrics.d.ts +1 -1
- package/dist/utilities/misc/listboxMetrics.js +1 -2
- package/dist/utilities/misc/maskaDataOptions.d.ts +12 -0
- package/dist/utilities/misc/maskaDataOptions.js +36 -0
- package/dist/utilities/misc/pageText.d.ts +16 -0
- package/dist/utilities/misc/pageText.js +10 -0
- package/dist/utilities/misc/ssrStateInjectionKey.js +1 -2
- package/dist/utilities/misc/ssrValue.js +1 -2
- package/dist/utilities/misc/transitions.js +1 -2
- package/dist/utils/configDefaults.d.ts +33 -0
- package/dist/utils/configDefaults.js +140 -0
- package/dist/utils/configScope.d.ts +43 -0
- package/dist/utils/configScope.js +13 -0
- package/dist/utils/copyData.js +1 -2
- package/dist/utils/cssLayers.js +1 -2
- package/dist/utils/focusVisibility.js +1 -2
- package/dist/utils/injectLibraryStyles.js +3 -12
- package/dist/utils/overlayEscapeStack.js +1 -2
- package/dist/utils/overlaySurfaceIsolation.js +1 -2
- package/dist/utils/passthrough.d.ts +4 -7
- package/dist/utils/passthrough.js +32 -31
- package/dist/utils/versionCheck.js +2 -3
- package/dist/vite-plugin.d.ts +55 -192
- package/dist/vite.js +415 -537
- package/llms.txt +4 -4
- package/package.json +15 -11
- package/scripts/lib/adoption-checklist.json +3 -3
- package/scripts/lib/agent-manifest.mjs +2 -0
- package/scripts/lib/check-queue.mjs +102 -0
- package/scripts/lib/consumer-install.mjs +64 -0
- package/scripts/lib/css-comment-text.mjs +16 -0
- package/scripts/lib/eslint-disable.mjs +2 -0
- package/scripts/lib/eslint-plugin.d.ts +4 -2
- package/scripts/lib/eslint-plugin.mjs +76 -7
- package/scripts/lib/hidden-label-placeholder.mjs +19 -6
- package/scripts/lib/idiom-scan.mjs +8 -7
- package/scripts/lib/mcp-config.mjs +1 -1
- package/scripts/lib/pack.mjs +55 -0
- package/scripts/lib/project-variant-dts.mjs +105 -36
- package/scripts/lib/quiet-gate.mjs +385 -0
- package/scripts/lib/reactive-v-model.mjs +11 -5
- package/scripts/lib/validate-bb-markup.mjs +150 -16
- package/dist/ai/BbPtScope.md +0 -138
- package/dist/ai/manifest/components/BbPtScope.json +0 -21
- package/dist/ai/source/BbPtScope.md +0 -54
- package/dist/components/BbPtScope/BbPtScope.vue.d.ts +0 -12
- package/dist/components/BbPtScope/BbPtScope.vue.js +0 -5
- package/dist/components/BbPtScope/BbPtScope.vue_vue_type_script_setup_true_lang.js +0 -13
- package/dist/components/BbPtScope/types.d.ts +0 -15
- package/dist/types/PtScope.d.ts +0 -15
- package/dist/utilities/functions/head.js +0 -4
- package/dist/utilities/functions/matchAnyKey.d.ts +0 -8
- package/dist/utilities/functions/matchAnyKey.js +0 -15
- package/dist/utils/ptScope.d.ts +0 -8
- package/dist/utils/ptScope.js +0 -4
package/dist/ai/BbRadioGroup.md
CHANGED
|
@@ -30,6 +30,10 @@
|
|
|
30
30
|
|
|
31
31
|
| Variable | Set through | Declared by | What it is |
|
|
32
32
|
| --- | --- | --- | --- |
|
|
33
|
+
| `--space` | `pt:icon` | `BbBaseRadioIcon` | the gap between the ring and the checked dot, per side |
|
|
34
|
+
| `--ring-color` | `pt:icon` | `BbBaseRadioIcon` | the gap between the ring and the checked dot, per side |
|
|
35
|
+
| `--bw` | `pt:icon` | `BbBaseRadioIcon` | The ring's border width: the nested hairline, like the switch track. |
|
|
36
|
+
| `--t` | `pt:icon` | `BbBaseRadioIcon` | State-change time: the fill fade and the dot scaling in. |
|
|
33
37
|
| `--elev` | `pt:icon` | `BbBaseRadioIcon` | Same resting lift as the checkbox glyph — see BbBaseCheckboxIcon. |
|
|
34
38
|
| `--bg` | `pt:icon` | `BbBaseRadioIcon` | The glyph plate. DECLARED here, not consumed bare, because this glyph renders inside surfaces that declare `--bg` themselves — a table row or header cell, a dialog, an off-canvas sheet. Without the declaration it would inherit that surface's fill, which happens to match at the shipped default and would diverge the moment anyone writes `.my-table { --bg: … }`. Identical to the raw tokens it replaces at every theme. |
|
|
35
39
|
| `--ctrl-line` | `pt:label` | `CommonField` | Where the control's first line is centred, from the top of the control column (half the box height by default); the label's first line aligns to it in side-by-side layouts. |
|
|
@@ -54,6 +58,8 @@
|
|
|
54
58
|
| `--indicator-inset` | `pt:list`, `pt:item`, `pt:label`, `pt:itemDescription` | `OptionsContainer` | Inset of the indicator from the trigger box — shrinks the pill; a bar keeps its thickness, shortens by it at both ends and floats it above the edge |
|
|
55
59
|
| `--elev` | `pt:list`, `pt:item`, `pt:label`, `pt:itemDescription` | `OptionsContainer` | The theme's resting lift, composed UNDER the indicator's own shadow |
|
|
56
60
|
| `--indicator-shadow` | `pt:list`, `pt:item`, `pt:label`, `pt:itemDescription` | `OptionsContainer` | Indicator lift, painted on top of --elev |
|
|
61
|
+
| `--divider` | `pt:list`, `pt:item`, `pt:label`, `pt:itemDescription` | `OptionsContainer` | The frame and the lines between the segments |
|
|
62
|
+
| `--hover-bg` | `pt:list`, `pt:item`, `pt:label`, `pt:itemDescription` | `OptionsContainer` | An unpicked segment under the pointer |
|
|
57
63
|
|
|
58
64
|
## Usage & Guidelines
|
|
59
65
|
|
|
@@ -236,13 +242,14 @@ Options flow in a **wrapping row by default** — `list-layout` falls back
|
|
|
236
242
|
to `'horizontal'`, which suits segmented-style choices (shipping
|
|
237
243
|
speed, billing cycle). Pass `list-layout="vertical"` to stack them one per
|
|
238
244
|
line, which is what you want for long option text or a scannable list;
|
|
239
|
-
`'
|
|
240
|
-
makes equal-size boxes that wrap as the field narrows
|
|
245
|
+
`'tiles'` makes equal-size boxes that wrap as the field narrows
|
|
241
246
|
(`pt:list="[--tile-min-width:160px]"` sets how narrow one gets). `list-layout`
|
|
242
247
|
is layout only, with no card look: the radio cards and selection tiles below
|
|
243
|
-
draw theirs with `pt`. `
|
|
248
|
+
draw theirs with `pt`. `block` gives the rows the list's full width: on a
|
|
249
|
+
line they share it equally, stacked each row is field-wide (every look, the
|
|
250
|
+
`variant` strips included). `item-layout` arranges each row's input against its
|
|
244
251
|
label with the keywords of `layout`, and `item-reverse` swaps the two; a
|
|
245
|
-
settings list is `list-layout="vertical
|
|
252
|
+
settings list is `list-layout="vertical" block item-layout="label-fill"
|
|
246
253
|
item-reverse` (the label takes the row, the radio sits at the trailing edge). `item-input-align` / `item-label-align`
|
|
247
254
|
(`top | center | bottom`) aim each row's cells vertically, as in the switch
|
|
248
255
|
group's settings list; the field's `input-align` / `label-align` move the
|
|
@@ -298,13 +305,14 @@ by side, see "Selection tiles" below.
|
|
|
298
305
|
<div class="max-w-md">
|
|
299
306
|
<BbRadioGroup
|
|
300
307
|
v-model="method"
|
|
308
|
+
block
|
|
301
309
|
item-layout="label-fill"
|
|
302
310
|
:item-props="{ description: 'eta' }"
|
|
303
311
|
item-text="name"
|
|
304
312
|
item-value="id"
|
|
305
313
|
:items="methods"
|
|
306
314
|
legend="Shipping"
|
|
307
|
-
list-layout="vertical
|
|
315
|
+
list-layout="vertical"
|
|
308
316
|
name="shipping"
|
|
309
317
|
pt:item="rounded-(--bb-radius) border px-4 py-3"
|
|
310
318
|
pt:item:checked="border-(--bb-primary) bg-(--bb-muted)"
|
|
@@ -326,7 +334,7 @@ import { BbRadioGroup } from 'bitboss-ui';
|
|
|
326
334
|
type Method = { id: string; name: string; price: string; eta: string };
|
|
327
335
|
|
|
328
336
|
// Radio cards: one full-width bordered row per option
|
|
329
|
-
// (`list-layout="vertical
|
|
337
|
+
// (`list-layout="vertical" block`), the radio first and the label cell
|
|
330
338
|
// filling the rest (`item-layout="label-fill"`), so a flex row in `#label`
|
|
331
339
|
// pushes the price to the trailing edge. The delivery time is the row's
|
|
332
340
|
// `itemProps.description`, which sits under the label, beside the radio.
|
|
@@ -350,18 +358,21 @@ const method = ref<string>('standard');
|
|
|
350
358
|
Pick a value → `BbRadioGroup`; switch views → `BbTabs`. A strip that picks a
|
|
351
359
|
value a form or a filter submits (a status filter, a period) is still a
|
|
352
360
|
radiogroup (arrow keys, "2 of 4"), so give the group a tab strip's look:
|
|
353
|
-
`variant="pill"` (a muted strip, a raised pill under the pick)
|
|
354
|
-
`variant="line"` (a baseline across the field, a bar under the pick)
|
|
361
|
+
`variant="pill"` (a muted strip, a raised pill under the pick),
|
|
362
|
+
`variant="line"` (a baseline across the field, a bar under the pick) or
|
|
363
|
+
`variant="outline"` (outline buttons side by side, the pick filled with the
|
|
364
|
+
primary colour). The
|
|
355
365
|
strip, its triggers and the indicator measure exactly as BbTabs', and the
|
|
356
366
|
indicator slides as a tab strip's does. The dot is hidden (an `icon` slot
|
|
357
367
|
shows before the label, like a tab's icon) and the strip never wraps (it
|
|
358
368
|
scrolls); `list-layout="vertical"` stacks it into a column (the indicator
|
|
359
|
-
slides on the Y axis), `
|
|
360
|
-
layouts and `item-layout` do not apply. The legend, errors, `compact` and
|
|
369
|
+
slides on the Y axis), `block` spans the field (the triggers share its width
|
|
370
|
+
equally on a row), and the other layouts and `item-layout` do not apply. The legend, errors, `compact` and
|
|
361
371
|
`hide-legend` work as on any group. `pt:indicator` reaches the pill or the
|
|
362
|
-
bar, and `pt:<part>:pill` /
|
|
372
|
+
bar (the filled segment on `outline`), and `pt:<part>:pill` /
|
|
373
|
+
`pt:<part>:line` / `pt:<part>:outline` style a part in one look only.
|
|
363
374
|
|
|
364
|
-
**Pick a value with
|
|
375
|
+
**Pick a value with a strip look**
|
|
365
376
|
|
|
366
377
|
```vue
|
|
367
378
|
<template>
|
|
@@ -380,6 +391,14 @@ bar, and `pt:<part>:pill` / `pt:<part>:line` style a part in one look only.
|
|
|
380
391
|
legend="Period"
|
|
381
392
|
variant="line"
|
|
382
393
|
/>
|
|
394
|
+
<BbRadioGroup
|
|
395
|
+
v-model="cycle"
|
|
396
|
+
block
|
|
397
|
+
hide-legend
|
|
398
|
+
:items="cycles"
|
|
399
|
+
legend="Billing cycle"
|
|
400
|
+
variant="outline"
|
|
401
|
+
/>
|
|
383
402
|
</div>
|
|
384
403
|
</template>
|
|
385
404
|
|
|
@@ -387,14 +406,17 @@ bar, and `pt:<part>:pill` / `pt:<part>:line` style a part in one look only.
|
|
|
387
406
|
import { ref } from 'vue';
|
|
388
407
|
import { BbRadioGroup } from 'bitboss-ui';
|
|
389
408
|
|
|
390
|
-
//
|
|
391
|
-
// under the pick)
|
|
392
|
-
//
|
|
409
|
+
// Three strip looks on a value picker: `pill` (a muted strip, a raised pill
|
|
410
|
+
// under the pick), `line` (a baseline across the field, a bar under the pick)
|
|
411
|
+
// and `outline` (outline buttons, the pick filled; `block` spans the field in
|
|
412
|
+
// equal shares). The indicator slides like a tab strip's, and it is still a
|
|
393
413
|
// radiogroup: arrow keys move and pick, a form submits the value.
|
|
394
414
|
const statuses = ['All', 'Open', 'Closed', 'Archived'];
|
|
395
415
|
const status = ref('Open');
|
|
396
416
|
const periods = ['Day', 'Week', 'Month', 'Year'];
|
|
397
417
|
const period = ref('Week');
|
|
418
|
+
const cycles = ['Monthly', 'Yearly'];
|
|
419
|
+
const cycle = ref('Yearly');
|
|
398
420
|
</script>
|
|
399
421
|
```
|
|
400
422
|
|
|
@@ -405,7 +427,7 @@ set them on `pt:list` to retune one group. A strip has no `size`: it is
|
|
|
405
427
|
it with `--list-h`, `--list-r`, `--fs`, `--p` and `--trigger-px` on
|
|
406
428
|
`.bb-radio-group__list--strip`; beside an `sm` button that is
|
|
407
429
|
`pt:list="[--list-h:24px] [--fs:12px] [--p:2px]"`. A look of your own app-wide is a
|
|
408
|
-
registered variant: `
|
|
430
|
+
registered variant: `components: { BbRadioGroup: { variants: ['brand'] } }` in the build plugin, then the
|
|
409
431
|
same tokens on `.bb-radio-group__list--brand` in your CSS. A tabs theme does
|
|
410
432
|
not reach a choice strip, nor the other way round.
|
|
411
433
|
|
|
@@ -742,7 +764,7 @@ Two width facts worth knowing before you reach for `width: 100%` anywhere:
|
|
|
742
764
|
outright on a layered build.
|
|
743
765
|
- The list fills its column (`.bb-field__input-wrapper`, the whole field unless
|
|
744
766
|
`layout` puts the legend beside it): tiles share the field,
|
|
745
|
-
`
|
|
767
|
+
`block` rows are field-wide, and
|
|
746
768
|
`pt:list="grid grid-cols-3"` spreads its tracks across it. The exception is
|
|
747
769
|
`input-position="right"` / `"center"`: there the list shrink-wraps its rows
|
|
748
770
|
and sits at that edge, so stacked rows keep one shared left edge.
|
|
@@ -781,8 +803,8 @@ The theme tiles above, restyled through those parts. The layout is two props
|
|
|
781
803
|
— `list-layout="tiles"` for equal boxes, `item-layout="vertical"` to stack the
|
|
782
804
|
glyph over the caption — so `pt:item` is only the tile's look, a broadcast;
|
|
783
805
|
the selected accent is `pt:item:checked`. For full-width tiles stacked one per
|
|
784
|
-
line,
|
|
785
|
-
|
|
806
|
+
line, set `list-layout="vertical" block` and change nothing else: the list
|
|
807
|
+
becomes a column and every tile fills it.
|
|
786
808
|
|
|
787
809
|
**The glyph is the row's input cell** — there is no wrapper around it, so
|
|
788
810
|
whatever you would do to that cell, do on `pt:icon`: `pt:icon="self-start"`
|
|
@@ -889,7 +911,7 @@ type Theme = { id: string; label: string; icon: string };
|
|
|
889
911
|
// The layout is two props — `list-layout="tiles"` for equal boxes,
|
|
890
912
|
// `item-layout="vertical"` to stack the glyph over the caption — so `pt:item`
|
|
891
913
|
// is only the tile's look (centred, bordered) and `pt:item:checked` the
|
|
892
|
-
// accent.
|
|
914
|
+
// accent. Set `list-layout="vertical" block` and the same tiles stack,
|
|
893
915
|
// each as wide as the field — nothing else changes. `#icon` replaces the
|
|
894
916
|
// radio dot, and with it the dot's focus ring, so `pt:item:focus-visible`
|
|
895
917
|
// rings the tile for keyboard users.
|
|
@@ -973,9 +995,10 @@ for a preset that fits any row type (never `<any>`), not an imported
|
|
|
973
995
|
|
|
974
996
|
| Prop | Type | Default | Required | Description |
|
|
975
997
|
| --- | --- | --- | --- | --- |
|
|
976
|
-
| `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `description`, `hint`, `icon`, `indicator`, `item`, `itemDescription`, `label`, `legend`, `list`, `message`, `root`. States: `disabled`, `errors`, `hasValue`, `line`, `loading`, `pill`, `readonly`, `warnings`, `checked`, `focused`, `focusVisible`. What each one is: _Passthrough parts and states_ below. `pt` is the object form with the same keys minus the prefix (`{ icon: '…', 'icon:loading': '…' }`). See `guides/passthrough.md`. In `<script>` a `pt` value is typed `BbRadioGroupProps<Row>['pt']` (`BbRadioGroupProps<object>['pt']` for a preset that fits any row type, never `<any>`) (`PtValue` is not exported): § Typing `pt` in `<script>`. |
|
|
998
|
+
| `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `description`, `hint`, `icon`, `indicator`, `item`, `itemDescription`, `label`, `legend`, `list`, `message`, `root`. States: `disabled`, `errors`, `hasValue`, `line`, `loading`, `outline`, `pill`, `readonly`, `warnings`, `checked`, `focused`, `focusVisible`. What each one is: _Passthrough parts and states_ below. `pt` is the object form with the same keys minus the prefix (`{ icon: '…', 'icon:loading': '…' }`). See `guides/passthrough.md`. In `<script>` a `pt` value is typed `BbRadioGroupProps<Row>['pt']` (`BbRadioGroupProps<object>['pt']` for a preset that fits any row type, never `<any>`) (`PtValue` is not exported): § Typing `pt` in `<script>`. |
|
|
977
999
|
| `autofocus` | `Booleanish \| undefined` | | | Focuses the field when it mounts (a dialog already open included), unless the user is typing in another field. |
|
|
978
|
-
| `
|
|
1000
|
+
| `block` | `boolean \| undefined` | `undefined` | | The rows take the list's full width: on a line (`horizontal`, a `variant` strip) they share it equally, stacked (`vertical`) each row is full width. Every look: plain rows, `pill`, `line`, `outline`. |
|
|
1001
|
+
| `compact` | `boolean \| undefined` | `undefined` | | Compact density. Swaps `--bb-label-spacing-y` for `--bb-label-spacing-y-compact`, so tune a compact group's label gap with the `-compact` token, not the base one. |
|
|
979
1002
|
| `dependencies` | `unknown[] \| undefined` | | | Defines an array of dependencies that will trigger actions in the component upon change. |
|
|
980
1003
|
| `depsDebounceTime` | `number \| undefined` | | | Timeout used to debounce response to changes to dependencies. |
|
|
981
1004
|
| `description` | `string \| undefined` | | | Text between the label and the input. Unlike the hint it is always visible; it joins the input's `aria-describedby` after any `errors` / `warnings`, before the `hint`. |
|
|
@@ -992,12 +1015,12 @@ for a preset that fits any row type (never `<any>`), not an imported
|
|
|
992
1015
|
| `hint` | `string \| undefined` | | | Text box to be displayed near the input, usually to indicate instructions. |
|
|
993
1016
|
| `id` | `string \| undefined` | | | Prefix for the ids of each option's input and of the label, description and message. Generated when omitted. |
|
|
994
1017
|
| `inputAlign` | `'top'` \| `'center'` \| `'bottom'` | | | Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, the control's first line meets the label's. |
|
|
995
|
-
| `inputPosition` | `"
|
|
1018
|
+
| `inputPosition` | `"center" \| "left" \| "right" \| undefined` | `'left'` | | Sets the alignment of the input. Since inputs are inline block they can be aligned just as text can. |
|
|
996
1019
|
| `itemInputAlign` | `'top'` \| `'center'` \| `'bottom'` | | | Vertical position of each option's control in its row; `'center'` is the middle of the label plus its description. Omitted, it sits on the label's first line. |
|
|
997
1020
|
| `itemLabelAlign` | `'top'` \| `'center'` \| `'bottom'` | | | Vertical position of each option's label in its row. Omitted, it stays as it is. |
|
|
998
1021
|
| `itemLayout` | `FieldLayout \| undefined` | `'auto'` | | How each row's input and label sit together, in the `layout` keywords: `'auto'`, `'vertical'`, `'horizontal'`, `'label-fill'`, `'input-fill'`, or a two-word ratio pattern like `'xx xxxxx'`. |
|
|
999
1022
|
| `itemProps` | `BbOptionGroupItemProps<T> \| undefined` | | | ADDITIONAL row fields, never the text or value: `description`, a muted line under the label (it may wrap; announced as the option's description). An object of paths or getters, or a function of the item; nothing is read implicitly. |
|
|
1000
|
-
| `itemReverse` | `boolean \| undefined` | `
|
|
1023
|
+
| `itemReverse` | `boolean \| undefined` | `undefined` | | Swaps each row's input and label from their natural order (input first), in every `item-layout`. `reverse` swaps the legend and the options instead. |
|
|
1001
1024
|
| `items` | `T[] \| ((context: BbRadioGroupItemsContext) => T[] \| Promise<T[]>)` | | yes | The options: an array, or a provider called with a `BbRadioGroupItemsContext` (`reason`, `modelValue`, `signal`), sync or async. A provider fails by THROWING, never by returning `[]`: the rows clear and `#empty` gets the `error`. |
|
|
1002
1025
|
| `itemText` | `ItemAccessor<T, string> \| undefined` | `own `label`, else `text`, else `JSON.stringify(item)`` | | Defines a path that returns a property of the object to use as text or a function that returns a string. Unset: own `label`, else `text` (`{ label, value }` needs no accessor). |
|
|
1003
1026
|
| `itemValue` | `ItemAccessor<T> \| undefined` | `own `value`, else the whole item` | | Defines a path that returns a property of the object to use as value or a function that returns any value. Unset: own `value`, even `null`. |
|
|
@@ -1005,8 +1028,8 @@ for a preset that fits any row type (never `<any>`), not an imported
|
|
|
1005
1028
|
| `layout` | `Responsive<FieldLayout> \| undefined` | | | How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`). |
|
|
1006
1029
|
| `legend` | `string` | | yes | Text content of the legend. |
|
|
1007
1030
|
| `legendMode` | `"outside" \| "inside" \| undefined` | | | Legend rendering mode. `'outside'` renders the legend above the fieldset in the normal flow; `'inside'` overlays the legend inside the fieldset border. Floating mode is not supported for radio groups. |
|
|
1008
|
-
| `legendPosition` | `"
|
|
1009
|
-
| `listLayout` | `'horizontal'` \| `'vertical'` \| `'
|
|
1031
|
+
| `legendPosition` | `"center" \| "left" \| "right" \| undefined` | | | Sets the text alignment of the label. |
|
|
1032
|
+
| `listLayout` | `'horizontal'` \| `'vertical'` \| `'tiles'` | `'horizontal'` | | How the rows sit in the list: `'horizontal'` (on a line, wrapping), `'vertical'` (stacked) or `'tiles'` (equal boxes; `--tile-min-width` on `pt:list` sets the narrowest). `block` makes the rows full width. Layout only: the cards are `pt` (guide § Radio cards). |
|
|
1010
1033
|
| `loadingText` | `string \| undefined` | | | String displayed while items are being loaded. |
|
|
1011
1034
|
| `modelValue` | `any` | | | Used by v-model. Can be any serializable type. |
|
|
1012
1035
|
| `modelValueDebounceTime` | `number \| undefined` | | | Timeout used to debounce response to changes to modelValue. |
|
|
@@ -1014,12 +1037,12 @@ for a preset that fits any row type (never `<any>`), not an imported
|
|
|
1014
1037
|
| `persistentHint` | `boolean \| undefined` | `false` | | Keeps the hint displayed. |
|
|
1015
1038
|
| `readonly` | `boolean \| undefined` | `false` | | Sets the input in a readonly state. |
|
|
1016
1039
|
| `required` | `boolean \| undefined` | `false` | | Sets the input as required. |
|
|
1017
|
-
| `reverse` | `boolean \| undefined` | `
|
|
1040
|
+
| `reverse` | `boolean \| undefined` | `undefined` | | Reverses the layout. Applicable in every direction the order of the label and the input is swapped. |
|
|
1018
1041
|
| `rules` | `RuleExpression<any>` | | | vee-validate rules for this field. Only inside a `BbForm`. |
|
|
1019
1042
|
| `selectable` | `boolean \| ((item: T) => boolean) \| undefined` | `true` | | Defines whether options are selectable. Can be a global boolean that affects all options or a function that accepts an item and returns a boolean that only affects that item. Non-selectable options are rendered disabled. |
|
|
1020
1043
|
| `validationLabel` | `string \| undefined` | | | The field's name in validation messages (`{field}`): "Email is not valid". Defaults to the `label` (or `legend`), then "This field"; never the `name`. Set it when the label is hidden or reads badly in a sentence (icon-only, a question). `BbForm` only. |
|
|
1021
|
-
| `validationMode` | `'aggressive'` \| `'balanced'` \| `'lazy'` \| `'submit-only'` \| `'submit-live'` | | | When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `
|
|
1022
|
-
| `variant` | `'pill'` \| `'line'` | | | A tab-strip look
|
|
1044
|
+
| `validationMode` | `'aggressive'` \| `'balanced'` \| `'lazy'` \| `'submit-only'` \| `'submit-live'` | | | When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `all.validationMode` (`'balanced'`). `BbForm` only. |
|
|
1045
|
+
| `variant` | `'outline'` \| `'pill'` \| `'line'` | | | A tab-strip look: `'pill'` (a raised pill under the pick) or `'line'` (a bar on a baseline); the indicator slides like a tab strip's. `list-layout="vertical"` stacks it. Register more with `components.BbRadioGroup.variants`. Unset: the group's own rows. |
|
|
1023
1046
|
| `warnings` | `string \| string[] \| undefined` | | | Warning messages under the field, a string or array: amber, in their own `aria-live` region and in the control's `aria-describedby` after the errors. Non-empty turns on the warning state; errors win when both are set. |
|
|
1024
1047
|
|
|
1025
1048
|
## Passthrough parts and states
|
|
@@ -1054,6 +1077,7 @@ States are listed in precedence order: when two are on at once and their entries
|
|
|
1054
1077
|
| `focusVisible` | Per row, on the row parts: that option's focus is keyboard-visible — where a focus ring belongs. |
|
|
1055
1078
|
| `loading` | Component-wide: the items are being fetched. |
|
|
1056
1079
|
| `line` | On every part: `variant: 'line'`. Below the real states, like every variant. |
|
|
1080
|
+
| `outline` | On every part: `variant: 'outline'`. Below the real states, like every variant. |
|
|
1057
1081
|
| `pill` | On every part: `variant: 'pill'`. Merged after the part's base entry and before its states, so the real states still win. |
|
|
1058
1082
|
|
|
1059
1083
|
## Events
|
|
@@ -1123,6 +1147,21 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
1123
1147
|
| `--indicator-h` | `.bb-radio-group__list--line` | `2px` | |
|
|
1124
1148
|
| `--indicator-shadow` | `.bb-radio-group__list--line` | `none` | |
|
|
1125
1149
|
| `--elev` | `.bb-radio-group__list--line` | `none` | |
|
|
1150
|
+
| `--list-bg` | `.bb-radio-group__list--outline` | `var(--bb-outline)` | |
|
|
1151
|
+
| `--list-border` | `.bb-radio-group__list--outline` | `transparent` | |
|
|
1152
|
+
| `--p` | `.bb-radio-group__list--outline` | `0px` | |
|
|
1153
|
+
| `--trigger-r` | `.bb-radio-group__list--outline` | `0px` | |
|
|
1154
|
+
| `--trigger-px` | `.bb-radio-group__list--outline` | `12px` | |
|
|
1155
|
+
| `--list-fg` | `.bb-radio-group__list--outline` | `var(--bb-outline-fg)` | |
|
|
1156
|
+
| `--hover-fg` | `.bb-radio-group__list--outline` | `var(--bb-outline-fg)` | |
|
|
1157
|
+
| `--active-fg` | `.bb-radio-group__list--outline` | `var(--bb-primary-fg)` | |
|
|
1158
|
+
| `--active-fw` | `.bb-radio-group__list--outline` | `500` | |
|
|
1159
|
+
| `--indicator-bg` | `.bb-radio-group__list--outline` | `var(--bb-primary)` | |
|
|
1160
|
+
| `--indicator-border` | `.bb-radio-group__list--outline` | `transparent` | |
|
|
1161
|
+
| `--indicator-r` | `.bb-radio-group__list--outline` | `0px` | |
|
|
1162
|
+
| `--indicator-shadow` | `.bb-radio-group__list--outline` | `none` | |
|
|
1163
|
+
| `--divider` | `.bb-radio-group__list--outline` | `var(--bb-outline-border)` | The frame and the lines between the segments |
|
|
1164
|
+
| `--hover-bg` | `.bb-radio-group__list--outline` | `var(--bb-outline-hover)` | An unpicked segment under the pointer |
|
|
1126
1165
|
|
|
1127
1166
|
## Component tree
|
|
1128
1167
|
|
|
@@ -1135,7 +1174,7 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
1135
1174
|
|
|
1136
1175
|
- `BbRadioGroup` _(this component)_ — its own template binds: `indicator` → `span.bb-radio-group__indicator`, `icon` → `BbBaseRadioIcon`
|
|
1137
1176
|
- `CommonField` _(internal — not importable, reach it through `BbRadioGroup`)_ — `BbRadioGroup`'s pt parts land here: `root` → `div.bb-field`, `label` → `component`, `description` → `span.bb-field__description`, `hint` → `span.bb-field__hint`, `counter` → `span.bb-field__counter`, `message` → `div.bb-field__message`; documented CSS variables: `--ctrl-line`; also mounts `BbAsterisk`
|
|
1138
|
-
- `OptionsContainer` _(internal — not importable, reach it through `BbRadioGroup`)_ — `BbRadioGroup`'s pt parts land here: `list` → `span`, `item` → `label`, `label` → `span`, `itemDescription` → `span`; documented CSS variables: `--list-bg`, `--list-border`, `--p`, `--list-r`, `--list-h`, `--fs`, `--trigger-gap`, `--trigger-px`, `--trigger-r`, `--trigger-min-h`, `--list-fg`, `--hover-fg`, `--active-fg`, `--active-fw`, `--indicator-bg`, `--indicator-border`, `--indicator-r`, `--indicator-h`, `--indicator-inset`, `--elev`, `--indicator-shadow`
|
|
1177
|
+
- `OptionsContainer` _(internal — not importable, reach it through `BbRadioGroup`)_ — `BbRadioGroup`'s pt parts land here: `list` → `span`, `item` → `label`, `label` → `span`, `itemDescription` → `span`; documented CSS variables: `--list-bg`, `--list-border`, `--p`, `--list-r`, `--list-h`, `--fs`, `--trigger-gap`, `--trigger-px`, `--trigger-r`, `--trigger-min-h`, `--list-fg`, `--hover-fg`, `--active-fg`, `--active-fw`, `--indicator-bg`, `--indicator-border`, `--indicator-r`, `--indicator-h`, `--indicator-inset`, `--elev`, `--indicator-shadow`, `--divider`, `--hover-bg`
|
|
1139
1178
|
- Also mounts `BbBaseRadioIcon`
|
|
1140
1179
|
|
|
1141
1180
|
## See Also
|
package/dist/ai/BbRating.md
CHANGED
|
@@ -481,10 +481,10 @@ renders SSR-safe markup in Nuxt and Inertia apps.
|
|
|
481
481
|
|
|
482
482
|
| Prop | Type | Default | Required | Description |
|
|
483
483
|
| --- | --- | --- | --- | --- |
|
|
484
|
-
| `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `description`, `hint`, `item`, `label`, `message`, `root`. States: `disabled`, `errors`, `hasValue`, `readonly`, `
|
|
484
|
+
| `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `description`, `hint`, `item`, `label`, `message`, `root`. States: `disabled`, `errors`, `hasValue`, `readonly`, `warnings`, `selected`. What each one is: _Passthrough parts and states_ below. `pt` is the object form with the same keys minus the prefix (`{ icon: '…', 'icon:loading': '…' }`). See `guides/passthrough.md`. In `<script>` a `pt` value is typed `BbRatingProps['pt']` (`PtValue` is not exported): § Typing `pt` in `<script>`. |
|
|
485
485
|
| `autofocus` | `Booleanish \| undefined` | | | Focuses the field when it mounts (a dialog already open included), unless the user is typing in another field. |
|
|
486
486
|
| `clearable` | `boolean \| undefined` | `false` | | Allows clearing the selected rating by clicking the current value. |
|
|
487
|
-
| `compact` | `boolean \| undefined` | `
|
|
487
|
+
| `compact` | `boolean \| undefined` | `undefined` | | Compact density. Swaps `--bb-label-spacing-y` for `--bb-label-spacing-y-compact`, so tune a compact group's label gap with the `-compact` token, not the base one. |
|
|
488
488
|
| `description` | `string \| undefined` | | | Text between the label and the input. Unlike the hint it is always visible; it joins the input's `aria-describedby` after any `errors` / `warnings`, before the `hint`. |
|
|
489
489
|
| `disabled` | `boolean \| undefined` | `false` | | Disables the component. |
|
|
490
490
|
| `errors` | `string \| string[] \| undefined` | | | Error messages under the field, a string or array, in an `aria-live="polite"` region and first in the control's `aria-describedby`, so they are re-read when it regains focus. |
|
|
@@ -495,23 +495,23 @@ renders SSR-safe markup in Nuxt and Inertia apps.
|
|
|
495
495
|
| `hint` | `string \| undefined` | | | Text box to be displayed near the input, usually to indicate instructions. |
|
|
496
496
|
| `id` | `string \| undefined` | | | Prefix for the ids of each option's input and of the label, description and message. Generated when omitted. |
|
|
497
497
|
| `inputAlign` | `'top'` \| `'center'` \| `'bottom'` | | | Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, the control's first line meets the label's. |
|
|
498
|
-
| `inputPosition` | `"
|
|
498
|
+
| `inputPosition` | `"center" \| "left" \| "right" \| undefined` | `'left'` | | Sets the alignment of the input. Since inputs are inline block they can be aligned just as text can. |
|
|
499
499
|
| `labelAlign` | `'top'` \| `'center'` \| `'bottom'` | | | Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, the label's first line meets the control's. |
|
|
500
500
|
| `layout` | `Responsive<FieldLayout> \| undefined` | | | How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`). |
|
|
501
501
|
| `legend` | `string` | | yes | Text content of the legend. |
|
|
502
502
|
| `legendMode` | `"outside" \| "inside" \| undefined` | | | Legend rendering mode. `'outside'` renders the legend above the fieldset in the normal flow; `'inside'` overlays the legend inside the fieldset border. Floating mode is not supported for rating groups. |
|
|
503
|
-
| `legendPosition` | `"
|
|
503
|
+
| `legendPosition` | `"center" \| "left" \| "right" \| undefined` | | | Sets the text alignment of the legend. |
|
|
504
504
|
| `modelValue` | `number \| null \| undefined` | | | Used by v-model. |
|
|
505
505
|
| `name` | `string \| undefined` | | | Name of the star radio inputs. Optional: the stars live in one component instance, so an omitted name falls back to a generated one that groups them correctly. Pass one only when a native (non-JS) form post must submit the value under a known key. |
|
|
506
506
|
| `persistentHint` | `boolean \| undefined` | `false` | | Keeps the hint displayed. |
|
|
507
507
|
| `readonly` | `boolean \| undefined` | `false` | | Sets the input in a readonly state. |
|
|
508
508
|
| `required` | `boolean \| undefined` | `false` | | Sets the input as required. |
|
|
509
|
-
| `reverse` | `boolean \| undefined` | `
|
|
509
|
+
| `reverse` | `boolean \| undefined` | `undefined` | | Reverses the layout. Applicable in every direction the order of the label and the input is swapped. |
|
|
510
510
|
| `rules` | `RuleExpression<number \| null>` | | | vee-validate rules for this field. Only inside a `BbForm`. |
|
|
511
511
|
| `size` | `number \| CssSize \| keyof Sizes \| undefined` | `'md'` | | Defines the component size. Accepted values: - A key from the provided size map (`keyof T`), e.g. `'sm' \| 'md' \| 'lg'` - A custom CSS size string (e.g. `'20px'`, `'1.5rem'`, `'2em'`) - A number, typically interpreted as pixels by size parsers |
|
|
512
512
|
| `stars` | `number \| undefined` | `5` | | Maximum number of stars to render and maximum value of the component. |
|
|
513
513
|
| `validationLabel` | `string \| undefined` | | | The field's name in validation messages (`{field}`): "Email is not valid". Defaults to the `label` (or `legend`), then "This field"; never the `name`. Set it when the label is hidden or reads badly in a sentence (icon-only, a question). `BbForm` only. |
|
|
514
|
-
| `validationMode` | `'aggressive'` \| `'balanced'` \| `'lazy'` \| `'submit-only'` \| `'submit-live'` | | | When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `
|
|
514
|
+
| `validationMode` | `'aggressive'` \| `'balanced'` \| `'lazy'` \| `'submit-only'` \| `'submit-live'` | | | When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `all.validationMode` (`'balanced'`). `BbForm` only. |
|
|
515
515
|
| `warnings` | `string \| string[] \| undefined` | | | Warning messages under the field, a string or array: amber, in their own `aria-live` region and in the control's `aria-describedby` after the errors. Non-empty turns on the warning state; errors win when both are set. |
|
|
516
516
|
|
|
517
517
|
## Passthrough parts and states
|
|
@@ -525,7 +525,7 @@ renders SSR-safe markup in Nuxt and Inertia apps.
|
|
|
525
525
|
| `description` | The muted line under the legend (the `description` prop). |
|
|
526
526
|
| `message` | The errors / warnings line. A node of its own: it can show at the same time as `hint`. |
|
|
527
527
|
| `hint` | The helper line (the `hint` prop). |
|
|
528
|
-
| `item` | One star, the choice you click: the hidden radio, its screen-reader text and the glyph — a broadcast resolved per star. The hook for the hit area, the focus ring, spacing and the disabled cursor. NOT for colour: a `text-*` class here freezes the hover preview and the error tint; set `--accent` / `--empty` / `--border-color` on `root`. The glyph has no part of its own
|
|
528
|
+
| `item` | One star, the choice you click: the hidden radio, its screen-reader text and the glyph — a broadcast resolved per star. The hook for the hit area, the focus ring, spacing and the disabled cursor. NOT for colour: a `text-*` class here freezes the hover preview and the error tint; set `--accent` / `--empty` / `--border-color` on `root`. The glyph has no part of its own: its size is the `size` prop, its colour the variables. |
|
|
529
529
|
|
|
530
530
|
States are listed in precedence order: when two are on at once and their entries conflict, the later one wins.
|
|
531
531
|
|
|
@@ -568,8 +568,8 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
568
568
|
| --- | --- | --- | --- |
|
|
569
569
|
| `--accent` | `.bb-rating` | `var(--bb-primary)` | a filled star, and the hover preview |
|
|
570
570
|
| `--empty` | `.bb-rating` | `var(--bb-panel)` | an unfilled star |
|
|
571
|
-
| `--border-color` | `.bb-rating` | `var(--bb-text-faint)` | Every star's outline. `--bb-text-faint`, not `--bb-border
|
|
572
|
-
| `--space` | `.bb-rating` | `0px` | Gap between stars. On the root
|
|
571
|
+
| `--border-color` | `.bb-rating` | `var(--bb-text-faint)` | Every star's outline. `--bb-text-faint`, not `--bb-border`: an empty star is `--empty` (the panel) inside it, so the outline alone draws the star, and a hairline read ~1.5:1 — under 3:1 in both schemes. |
|
|
572
|
+
| `--space` | `.bb-rating` | `0px` | Gap between stars. On the root so `pt:root` reaches it; the star row inherits it. Named `--space`, not `--spacing`: Tailwind v4 builds its whole spacing scale on a variable of that name, and a local of the same name zeroed every spacing utility used inside the slots. |
|
|
573
573
|
| `--ring-color` | `.bb-rating__stars` | `var(--bb-ring)` | focus ring around the focused star |
|
|
574
574
|
| `--size` | `.bb-rating__stars` | `24px` | one star's box; overridden inline from the `size` prop |
|
|
575
575
|
| `--ring-t` | `.bb-rating__item` | `var(--bb-transition-medium)` | |
|