bitboss-ui 3.0.0-beta.67 → 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 +1 -1
- package/bin/bitboss-ui-mcp.mjs +87 -19
- package/bin/bitboss-ui.mjs +6 -2
- package/dist/ai/BbAlert.md +15 -11
- package/dist/ai/BbAsterisk.md +1 -1
- package/dist/ai/BbAvatar.md +2 -2
- package/dist/ai/BbBadge.md +4 -4
- 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 +2 -2
- package/dist/ai/BbButton.md +62 -9
- package/dist/ai/BbCalendar.md +1 -1
- package/dist/ai/BbCheckbox.md +23 -5
- package/dist/ai/BbCheckboxGroup.md +52 -25
- package/dist/ai/BbColorInput.md +13 -12
- package/dist/ai/BbColorPalette.md +5 -5
- package/dist/ai/BbConfigScope.md +218 -0
- package/dist/ai/BbConfirm.md +24 -21
- package/dist/ai/BbDatePicker.md +4 -4
- package/dist/ai/BbDatePickerInput.md +16 -15
- package/dist/ai/BbDialog.md +10 -9
- package/dist/ai/BbDropdown.md +26 -16
- package/dist/ai/BbDropdownButton.md +18 -18
- package/dist/ai/BbDropzone.md +1 -1
- package/dist/ai/BbForm.md +6 -4
- 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 +17 -13
- package/dist/ai/BbOffCanvas.md +4 -3
- package/dist/ai/BbPagination.md +10 -2
- package/dist/ai/BbPopover.md +5 -5
- package/dist/ai/BbRadio.md +23 -4
- package/dist/ai/BbRadioGroup.md +69 -30
- package/dist/ai/BbRating.md +5 -5
- package/dist/ai/BbSelect.md +74 -39
- package/dist/ai/BbSelectPopover.md +28 -26
- package/dist/ai/BbSlider.md +258 -61
- package/dist/ai/BbSpinner.md +2 -2
- package/dist/ai/BbSwitch.md +27 -4
- package/dist/ai/BbSwitchGroup.md +22 -13
- package/dist/ai/BbTable.md +10 -5
- package/dist/ai/BbTabs.md +6 -6
- package/dist/ai/BbTabsRoot.md +1 -1
- package/dist/ai/BbTag.md +12 -11
- package/dist/ai/BbTextInput.md +25 -17
- package/dist/ai/BbTextarea.md +15 -14
- package/dist/ai/BbTimePicker.md +3 -3
- package/dist/ai/BbTimePickerInput.md +12 -11
- package/dist/ai/BbToast.md +65 -26
- package/dist/ai/BbTooltip.md +2 -2
- package/dist/ai/CommonField.md +2 -2
- package/dist/ai/CommonFieldInput.md +2 -1
- package/dist/ai/FlatListBox.md +4 -3
- package/dist/ai/GroupedListBox.md +4 -3
- package/dist/ai/ListBox.md +5 -4
- package/dist/ai/OptionsContainer.md +17 -1
- package/dist/ai/changelog.json +454 -7
- package/dist/ai/components.json +77 -69
- package/dist/ai/composables/useBbConfig.md +3 -3
- 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/design-language.md +17 -13
- package/dist/ai/guides/design-tokens.md +81 -42
- package/dist/ai/guides/eslint-rules.md +3 -1
- package/dist/ai/guides/fetch-items-playbook.md +1 -1
- package/dist/ai/guides/icons-policy.md +1 -1
- package/dist/ai/guides/inline-edit-playbook.md +1 -1
- package/dist/ai/guides/installation-and-plugin-setup.md +335 -161
- 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 +3 -3
- package/dist/ai/guides/migration/components/bb-slider.md +17 -2
- 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 +191 -56
- package/dist/ai/guides/migration/v3-beta-tooling.md +2 -2
- package/dist/ai/guides/passthrough.md +140 -131
- package/dist/ai/guides/typescript-generic-components.md +7 -7
- package/dist/ai/guides/validated-forms.md +5 -5
- package/dist/ai/guides/validation-libraries.md +4 -4
- package/dist/ai/helpers/inertia/manifest.json +1 -1
- package/dist/ai/index.md +3 -3
- package/dist/ai/manifest/common.json +9 -11
- package/dist/ai/manifest/components/BbAlert.json +3 -2
- package/dist/ai/manifest/components/BbAvatar.json +2 -1
- package/dist/ai/manifest/components/BbBadge.json +3 -2
- package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +5 -1
- package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +7 -3
- package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +9 -1
- package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
- package/dist/ai/manifest/components/BbButton.json +4 -3
- package/dist/ai/manifest/components/BbButton.tree.json +3 -1
- package/dist/ai/manifest/components/BbCalendar.tree.json +1 -0
- package/dist/ai/manifest/components/BbCheckbox.json +4 -3
- package/dist/ai/manifest/components/BbCheckbox.tree.json +1 -1
- 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 +6 -5
- package/dist/ai/manifest/components/BbColorInput.tree.json +4 -3
- package/dist/ai/manifest/components/BbColorPalette.json +2 -1
- 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 +2 -1
- package/dist/ai/manifest/components/BbConfirm.tree.json +2 -2
- package/dist/ai/manifest/components/BbDatePicker.json +2 -1
- package/dist/ai/manifest/components/BbDatePicker.tree.json +2 -2
- package/dist/ai/manifest/components/BbDatePickerInput.json +6 -5
- package/dist/ai/manifest/components/BbDatePickerInput.tree.json +6 -4
- package/dist/ai/manifest/components/BbDialog.json +3 -2
- package/dist/ai/manifest/components/BbDialog.tree.json +2 -2
- package/dist/ai/manifest/components/BbDropdown.json +7 -4
- package/dist/ai/manifest/components/BbDropdown.tree.json +1 -1
- package/dist/ai/manifest/components/BbDropdownButton.json +11 -8
- package/dist/ai/manifest/components/BbDropdownButton.tree.json +3 -3
- package/dist/ai/manifest/components/BbDropzone.json +1 -0
- 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 +5 -4
- package/dist/ai/manifest/components/BbNumberInput.tree.json +3 -2
- package/dist/ai/manifest/components/BbOffCanvas.json +2 -1
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
- package/dist/ai/manifest/components/BbPagination.json +1 -1
- package/dist/ai/manifest/components/BbPagination.tree.json +2 -1
- 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 +3 -2
- package/dist/ai/manifest/components/BbRadio.tree.json +1 -1
- 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 +3 -2
- package/dist/ai/manifest/components/BbSelect.json +11 -9
- package/dist/ai/manifest/components/BbSelect.tree.json +7 -5
- package/dist/ai/manifest/components/BbSelectPopover.json +11 -9
- package/dist/ai/manifest/components/BbSelectPopover.tree.json +5 -2
- package/dist/ai/manifest/components/BbSlider.json +20 -18
- 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 +2 -1
- package/dist/ai/manifest/components/BbSwitch.tree.json +1 -1
- package/dist/ai/manifest/components/BbSwitchGroup.json +7 -5
- 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 +3 -2
- package/dist/ai/manifest/components/BbTable.tree.json +4 -3
- package/dist/ai/manifest/components/BbTabs.json +3 -2
- package/dist/ai/manifest/components/BbTabsRoot.json +2 -2
- package/dist/ai/manifest/components/BbTag.json +6 -5
- package/dist/ai/manifest/components/BbTag.tree.json +3 -2
- package/dist/ai/manifest/components/BbTextInput.json +5 -4
- package/dist/ai/manifest/components/BbTextInput.tree.json +3 -2
- package/dist/ai/manifest/components/BbTextarea.json +6 -5
- package/dist/ai/manifest/components/BbTextarea.tree.json +3 -2
- package/dist/ai/manifest/components/BbTimePicker.json +2 -1
- package/dist/ai/manifest/components/BbTimePicker.tree.json +1 -1
- package/dist/ai/manifest/components/BbTimePickerInput.json +6 -5
- package/dist/ai/manifest/components/BbTimePickerInput.tree.json +5 -3
- package/dist/ai/manifest/components/BbToast.json +2 -1
- package/dist/ai/manifest/components/BbToast.tree.json +6 -1
- package/dist/ai/manifest/components/BbTooltip.json +1 -0
- package/dist/ai/manifest/components/CommonField.json +2 -2
- package/dist/ai/manifest/components/CommonFieldInput.json +2 -2
- package/dist/ai/manifest/components/CommonFieldInput.tree.json +2 -0
- package/dist/ai/manifest/components/FlatListBox.json +1 -1
- package/dist/ai/manifest/components/FlatListBox.tree.json +2 -1
- package/dist/ai/manifest/components/GroupedListBox.json +1 -1
- package/dist/ai/manifest/components/GroupedListBox.tree.json +2 -1
- package/dist/ai/manifest/components/ListBox.json +1 -1
- package/dist/ai/manifest/components/ListBox.tree.json +2 -2
- package/dist/ai/manifest/components/OptionsContainer.json +3 -2
- 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 +5 -6
- package/dist/ai/manifest/types.api.json +15 -6
- 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 +5 -4
- package/dist/ai/source/BbBadge.md +16 -9
- package/dist/ai/source/BbBadgeButton.md +1 -1
- package/dist/ai/source/BbBaseCheckboxIcon.md +7 -5
- package/dist/ai/source/BbBaseRadioIcon.md +17 -11
- package/dist/ai/source/BbBaseSwitchIcon.md +14 -9
- package/dist/ai/source/BbButton.md +38 -22
- package/dist/ai/source/BbCalendar.md +5 -30
- package/dist/ai/source/BbCheckbox.md +20 -7
- package/dist/ai/source/BbCheckboxGroup.md +66 -27
- package/dist/ai/source/BbColorInput.md +29 -22
- package/dist/ai/source/BbColorPalette.md +23 -22
- package/dist/ai/source/BbConfigScope.md +123 -0
- package/dist/ai/source/BbConfirm.md +5 -3
- package/dist/ai/source/BbDatePicker.md +18 -8
- package/dist/ai/source/BbDatePickerInput.md +44 -27
- package/dist/ai/source/BbDialog.md +23 -13
- package/dist/ai/source/BbDropdown.md +61 -25
- package/dist/ai/source/BbDropdownButton.md +67 -25
- package/dist/ai/source/BbDropdownGroup.md +38 -15
- 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 +44 -30
- package/dist/ai/source/BbOffCanvas.md +17 -10
- package/dist/ai/source/BbPagination.md +10 -18
- package/dist/ai/source/BbPopover.md +17 -9
- package/dist/ai/source/BbPopoverPortal.md +2 -2
- package/dist/ai/source/BbRadio.md +18 -7
- package/dist/ai/source/BbRadioGroup.md +67 -27
- package/dist/ai/source/BbRating.md +21 -11
- package/dist/ai/source/BbSelect.md +51 -32
- package/dist/ai/source/BbSelectPopover.md +81 -38
- package/dist/ai/source/BbSlider.md +929 -565
- package/dist/ai/source/BbSwitchGroup.md +28 -9
- package/dist/ai/source/BbTable.md +17 -30
- package/dist/ai/source/BbTabs.md +5 -2
- package/dist/ai/source/BbTabsList.md +1 -1
- package/dist/ai/source/BbTabsPanels.md +1 -1
- package/dist/ai/source/BbTabsRoot.md +1 -1
- package/dist/ai/source/BbTag.md +27 -20
- package/dist/ai/source/BbTextInput.md +29 -26
- package/dist/ai/source/BbTextarea.md +53 -45
- package/dist/ai/source/BbTimePicker.md +19 -7
- package/dist/ai/source/BbTimePickerInput.md +34 -21
- package/dist/ai/source/BbToast.md +18 -9
- package/dist/ai/source/BbToastPortal.md +14 -6
- package/dist/ai/source/BbTooltip.md +1 -1
- package/dist/ai/source/CommonFieldInput.md +9 -4
- package/dist/ai/source/FlatListBox.md +11 -1
- package/dist/ai/source/GroupedListBox.md +12 -1
- package/dist/ai/source/ListBox.md +1 -1
- package/dist/ai/source/OptionsContainer.md +48 -1
- package/dist/assets/svgs/arrow_up.svg_raw.js +3 -0
- package/dist/assets/svgs/caret_down.svg_raw.js +3 -0
- package/dist/assets/svgs/chevron_left_small.svg_raw.js +3 -0
- package/dist/assets/svgs/chevron_right_small.svg_raw.js +3 -0
- package/dist/assets/svgs/close.svg_raw.js +3 -0
- package/dist/assets/svgs/eyedropper.svg_raw.js +3 -0
- package/dist/assets/svgs/move.svg_raw.js +3 -0
- package/dist/assets/svgs/x.svg_raw.js +3 -0
- package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -0
- package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +48 -44
- package/dist/components/BbAlert/types.d.ts +1 -1
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
- package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +54 -53
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +60 -56
- package/dist/components/BbBadge/types.d.ts +1 -1
- package/dist/components/BbButton/BbButton.vue.d.ts +2 -0
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +110 -98
- package/dist/components/BbButton/types.d.ts +12 -10
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +17 -17
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +298 -313
- package/dist/components/BbCalendar/useCalendarGrid.js +3 -2
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -2
- package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +94 -82
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +78 -55
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +184 -151
- package/dist/components/BbCheckboxGroup/types.d.ts +10 -5
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +13 -11
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +82 -71
- package/dist/components/BbColorInput/types.d.ts +8 -8
- package/dist/components/BbColorInput/types.js +1 -1
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +180 -182
- package/dist/components/BbColorPalette/types.d.ts +2 -2
- 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_vue_type_script_setup_true_lang.js +3 -3
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +31 -31
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +171 -170
- package/dist/components/BbDatePicker/types.d.ts +2 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +110 -110
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +457 -441
- package/dist/components/BbDatePickerInput/types.d.ts +8 -8
- package/dist/components/BbDatePickerInput/types.js +1 -1
- package/dist/components/BbDialog/BbDialog.vue.d.ts +4 -3
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +204 -197
- package/dist/components/BbDialog/types.d.ts +2 -2
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +5 -4
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +302 -286
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +348 -344
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +97 -97
- package/dist/components/BbDropdown/DropdownRow.vue.d.ts +1 -1
- package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/BbDropdown/pointerTrail.d.ts +5 -0
- package/dist/components/BbDropdown/pointerTrail.js +26 -0
- package/dist/components/BbDropdown/types.d.ts +25 -13
- package/dist/components/BbDropdown/types.js +11 -2
- package/dist/components/BbDropdown/useDropdownContext.d.ts +1 -1
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -3
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +93 -69
- package/dist/components/BbDropdownButton/types.d.ts +30 -13
- package/dist/components/BbDropdownButton/types.js +7 -3
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +5 -5
- package/dist/components/BbForm/BbForm.vue.d.ts +2 -2
- package/dist/components/BbForm/BbFormCustomField.js +2 -2
- package/dist/components/BbForm/bindFormField.js +66 -66
- package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/BbHost/BbHostOpening.d.ts +1 -1
- 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_vue_type_script_setup_true_lang.js +158 -157
- package/dist/components/BbIcon/BbIcon.vue.d.ts +1 -1
- package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +41 -40
- package/dist/components/BbIndicator/types.d.ts +1 -1
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +12 -9
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +248 -232
- package/dist/components/BbNumberInput/types.d.ts +12 -11
- package/dist/components/BbNumberInput/types.js +1 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +275 -274
- package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +104 -108
- package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
- package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +90 -90
- package/dist/components/BbPopover/types.d.ts +2 -2
- package/dist/components/BbRadio/BbRadio.vue.d.ts +4 -2
- package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +105 -93
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +72 -49
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +214 -181
- package/dist/components/BbRadioGroup/types.d.ts +11 -5
- package/dist/components/BbRating/BbRating.vue.d.ts +7 -5
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +139 -128
- package/dist/components/BbSelect/BbSelect.vue.d.ts +174 -155
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +179 -158
- package/dist/components/BbSelect/types.d.ts +23 -19
- package/dist/components/BbSelect/types.js +4 -2
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +21 -16
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +637 -623
- package/dist/components/BbSelectPopover/reclickClears.d.ts +17 -0
- package/dist/components/BbSelectPopover/reclickClears.js +4 -0
- package/dist/components/BbSelectPopover/types.d.ts +21 -16
- package/dist/components/BbSelectPopover/types.js +3 -1
- package/dist/components/BbSlider/BbSlider.vue.d.ts +22 -15
- package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +382 -315
- package/dist/components/BbSlider/types.d.ts +136 -47
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -2
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +28 -27
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +3 -0
- package/dist/components/BbTable/BbTable.vue.d.ts +4 -4
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1128 -1135
- package/dist/components/BbTable/BbTableSelectToggle.d.ts +1 -1
- package/dist/components/BbTabs/BbTabs.vue.d.ts +21 -21
- package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +8 -2
- package/dist/components/BbTabs/types.d.ts +1 -1
- package/dist/components/BbTag/BbTag.vue.d.ts +15 -13
- package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +196 -185
- package/dist/components/BbTag/types.d.ts +7 -7
- package/dist/components/BbTag/types.js +1 -1
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +30 -30
- package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +66 -55
- package/dist/components/BbTextInput/types.d.ts +9 -9
- package/dist/components/BbTextInput/types.js +1 -1
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +30 -30
- package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +96 -86
- package/dist/components/BbTextarea/types.d.ts +8 -8
- package/dist/components/BbTextarea/types.js +1 -1
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +12 -12
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +131 -130
- package/dist/components/BbTimePicker/types.d.ts +2 -2
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +73 -73
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +286 -273
- package/dist/components/BbTimePickerInput/types.d.ts +8 -8
- package/dist/components/BbTimePickerInput/types.js +1 -1
- package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +3 -3
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +75 -80
- package/dist/components/BbToast/types.d.ts +2 -2
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -3
- package/dist/components/BbTooltip/types.d.ts +1 -1
- package/dist/components/BbTree/BbTree.vue.d.ts +1 -1
- package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
- package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +11 -16
- package/dist/components/CommonFieldInput/types.d.ts +1 -1
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +5 -2
- package/dist/components/FlatListBox/types.d.ts +1 -1
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +5 -2
- package/dist/components/GroupedListBox/types.d.ts +1 -1
- package/dist/components/ListBox/types.d.ts +1 -1
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +87 -69
- package/dist/components/OptionsContainer/types.d.ts +5 -0
- package/dist/components/Transitions/Slide.vue.d.ts +1 -1
- package/dist/composables/useBbTabs.js +94 -90
- package/dist/composables/useConfig.js +2 -9
- package/dist/composables/useConfigDefaults.d.ts +54 -0
- package/dist/composables/useConfigDefaults.js +56 -0
- package/dist/composables/useConfirm.d.ts +7 -7
- package/dist/composables/useFormBinding.d.ts +1 -1
- package/dist/composables/useFormBinding.js +3 -3
- package/dist/composables/usePassthrough.d.ts +7 -5
- package/dist/composables/usePassthrough.js +137 -133
- package/dist/composables/useToast.d.ts +5 -4
- package/dist/composables/useToast.js +47 -37
- package/dist/deprecation/ai-deprecations.json.d.ts +44 -15
- package/dist/deprecation/ai-deprecations.json.js +1 -1
- package/dist/directives/bbDropdown.js +7 -7
- package/dist/i18n/locales/cs.json +2 -1
- package/dist/i18n/locales/da.json +2 -1
- package/dist/i18n/locales/de-CH.json +2 -1
- package/dist/i18n/locales/de.json +2 -1
- package/dist/i18n/locales/el.json +2 -1
- package/dist/i18n/locales/en-GB.json +2 -1
- package/dist/i18n/locales/en.json +2 -1
- package/dist/i18n/locales/es-MX.json +2 -1
- package/dist/i18n/locales/es.json +2 -1
- package/dist/i18n/locales/fi.json +2 -1
- package/dist/i18n/locales/fr.json +2 -1
- package/dist/i18n/locales/hu.json +2 -1
- package/dist/i18n/locales/it.json +2 -1
- package/dist/i18n/locales/ja.json +2 -1
- package/dist/i18n/locales/ko.json +2 -1
- package/dist/i18n/locales/nb.json +2 -1
- package/dist/i18n/locales/nl.json +2 -1
- package/dist/i18n/locales/pl.json +2 -1
- package/dist/i18n/locales/pt-BR.json +2 -1
- package/dist/i18n/locales/pt-PT.json +2 -1
- package/dist/i18n/locales/ro.json +2 -1
- package/dist/i18n/locales/ru.json +2 -1
- package/dist/i18n/locales/sv.json +2 -1
- package/dist/i18n/locales/tr.json +2 -1
- package/dist/i18n/locales/uk.json +2 -1
- package/dist/i18n/locales/zh-CN.json +2 -1
- package/dist/i18n/locales/zh-HK.json +2 -1
- package/dist/i18n/locales/zh-TW.json +2 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/llms-full.txt +2273 -1243
- package/dist/llms-medium.txt +362 -184
- package/dist/llms.txt +4 -4
- package/dist/locale-blueprint.json +2 -1
- package/dist/nuxt-auto-imports.js +1 -1
- package/dist/nuxt-module.d.ts +1 -1
- package/dist/nuxt.js +17 -17
- package/dist/project-dts.d.ts +72 -10
- package/dist/project-dts.js +69 -21
- package/dist/styles.css +2 -2
- package/dist/types/AlertVariant.d.ts +1 -1
- package/dist/types/BadgeVariant.d.ts +1 -1
- package/dist/types/ButtonVariant.d.ts +1 -1
- package/dist/types/CheckboxVariant.d.ts +7 -4
- package/dist/types/CheckboxVariant.js +5 -1
- 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/DropdownItemVariant.d.ts +1 -1
- package/dist/types/FieldLayout.d.ts +3 -3
- package/dist/types/IndicatorVariant.d.ts +1 -1
- package/dist/types/InputVariant.d.ts +57 -24
- package/dist/types/RadioVariant.d.ts +7 -4
- package/dist/types/RadioVariant.js +5 -1
- 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/ToastVariant.d.ts +1 -1
- package/dist/types/TooltipVariant.d.ts +1 -1
- package/dist/types/passthrough.d.ts +6 -6
- package/dist/types/ptComponentMap.d.ts +14 -14
- package/dist/utilities/functions/searchRank.d.ts +19 -0
- package/dist/utilities/functions/searchRank.js +76 -0
- package/dist/utilities/misc/listboxMetrics.d.ts +1 -1
- 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/passthrough.d.ts +4 -7
- package/dist/utils/passthrough.js +31 -29
- package/dist/utils/versionCheck.js +1 -1
- package/dist/vite-plugin.d.ts +54 -191
- package/dist/vite.js +318 -367
- package/llms.txt +4 -4
- package/package.json +3 -3
- package/scripts/lib/adoption-checklist.json +2 -2
- package/scripts/lib/agent-manifest.mjs +2 -0
- package/scripts/lib/eslint-disable.mjs +2 -0
- package/scripts/lib/eslint-plugin.d.ts +4 -2
- package/scripts/lib/eslint-plugin.mjs +67 -0
- package/scripts/lib/idiom-scan.mjs +8 -7
- package/scripts/lib/project-variant-dts.mjs +105 -36
- package/scripts/lib/validate-bb-markup.mjs +73 -13
- 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 -4
- package/dist/components/BbPtScope/BbPtScope.vue_vue_type_script_setup_true_lang.js +0 -12
- package/dist/components/BbPtScope/types.d.ts +0 -15
- package/dist/types/PtScope.d.ts +0 -15
- package/dist/utilities/functions/head.js +0 -3
- package/dist/utilities/functions/matchAnyKey.d.ts +0 -8
- package/dist/utilities/functions/matchAnyKey.js +0 -14
- package/dist/utils/ptScope.d.ts +0 -8
- package/dist/utils/ptScope.js +0 -3
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<CommonField
|
|
10
10
|
:id="id"
|
|
11
11
|
class="bb-radio-group"
|
|
12
|
-
:compact="compact"
|
|
12
|
+
:compact="configDefaults.compact"
|
|
13
13
|
:description="description"
|
|
14
14
|
:disabled="disabled"
|
|
15
15
|
:errors="fieldErrors"
|
|
@@ -19,18 +19,18 @@
|
|
|
19
19
|
:hide-label="hideLegend"
|
|
20
20
|
:hint="hint"
|
|
21
21
|
:input-align="inputAlign"
|
|
22
|
-
:input-position="inputPosition"
|
|
22
|
+
:input-position="configDefaults.inputPosition"
|
|
23
23
|
:label="legend"
|
|
24
24
|
:label-align="labelAlign"
|
|
25
25
|
:label-mode="legendMode"
|
|
26
26
|
:label-position="legendPosition"
|
|
27
27
|
label-tag="legend"
|
|
28
|
-
:layout="layout"
|
|
28
|
+
:layout="configDefaults.layout"
|
|
29
29
|
:loading="loading"
|
|
30
30
|
:name="resolvedName"
|
|
31
31
|
:passthrough="containerPassthrough"
|
|
32
32
|
:readonly="fieldReadonly"
|
|
33
|
-
:reverse="reverse"
|
|
33
|
+
:reverse="configDefaults.reverse"
|
|
34
34
|
:show-asterisk="showAsterisk"
|
|
35
35
|
:show-hint="showHint"
|
|
36
36
|
:ssr-marker="ssrMarker"
|
|
@@ -65,9 +65,10 @@
|
|
|
65
65
|
:indicator-ready="indicatorReady"
|
|
66
66
|
:item-input-align="itemInputAlign"
|
|
67
67
|
:item-label-align="itemLabelAlign"
|
|
68
|
-
:item-layout="itemLayout"
|
|
69
|
-
:item-reverse="itemReverse"
|
|
70
|
-
:list-
|
|
68
|
+
:item-layout="configDefaults.itemLayout"
|
|
69
|
+
:item-reverse="configDefaults.itemReverse"
|
|
70
|
+
:list-block="configDefaults.block"
|
|
71
|
+
:list-layout="configDefaults.listLayout"
|
|
71
72
|
:loading="!!loading"
|
|
72
73
|
:loading-text="loadingText"
|
|
73
74
|
:options="options"
|
|
@@ -144,6 +145,7 @@
|
|
|
144
145
|
</template>
|
|
145
146
|
|
|
146
147
|
<script setup lang="ts" generic="T = any">
|
|
148
|
+
import { useConfigDefaults } from '@/composables/useConfigDefaults';
|
|
147
149
|
import type { FallthroughAttrs } from '@/types/fallthrough';
|
|
148
150
|
import { vAutofocus } from '@/utilities/misc/autofocus';
|
|
149
151
|
import CommonField from '../CommonField/CommonField.vue';
|
|
@@ -215,14 +217,30 @@ const declaredProps = withDefaults(
|
|
|
215
217
|
>
|
|
216
218
|
>(),
|
|
217
219
|
{
|
|
218
|
-
inputPosition:
|
|
220
|
+
inputPosition: undefined,
|
|
219
221
|
selectable: true,
|
|
222
|
+
// Tri-state: unset lets the components map show through.
|
|
223
|
+
compact: undefined,
|
|
224
|
+
// Tri-state: unset lets the components map show through.
|
|
225
|
+
itemReverse: undefined,
|
|
226
|
+
// Tri-state: unset lets the components map show through.
|
|
227
|
+
reverse: undefined,
|
|
228
|
+
// Tri-state: unset lets the components map show through.
|
|
229
|
+
block: undefined,
|
|
220
230
|
}
|
|
221
231
|
);
|
|
222
|
-
|
|
223
232
|
const declaredEmit = defineEmits<BbRadioGroupEvents>();
|
|
224
233
|
|
|
225
234
|
const slots = defineSlots<BbRadioGroupSlots<T>>();
|
|
235
|
+
|
|
236
|
+
const configDefaults = useConfigDefaults('BbRadioGroup', declaredProps, {
|
|
237
|
+
inputPosition: 'left',
|
|
238
|
+
compact: false,
|
|
239
|
+
itemReverse: false,
|
|
240
|
+
reverse: false,
|
|
241
|
+
block: false,
|
|
242
|
+
});
|
|
243
|
+
|
|
226
244
|
// Inside a BbForm the field joins it (Q54.4): `props` / `emit` are bound.
|
|
227
245
|
const {
|
|
228
246
|
props,
|
|
@@ -445,11 +463,8 @@ const passthrough = usePassthrough({
|
|
|
445
463
|
* BbTabs' look (`variant`, Q76.11 d): the indicators under the checked rows,
|
|
446
464
|
* measured on the list. One that slides from row to row.
|
|
447
465
|
*/
|
|
448
|
-
/** `list-layout="vertical"`
|
|
449
|
-
const stripVertical = computed(
|
|
450
|
-
() =>
|
|
451
|
-
props.listLayout === 'vertical' || props.listLayout === 'vertical-stretch'
|
|
452
|
-
);
|
|
466
|
+
/** `list-layout="vertical"` stacks the strip into a column. */
|
|
467
|
+
const stripVertical = computed(() => configDefaults.listLayout === 'vertical');
|
|
453
468
|
const {
|
|
454
469
|
boxes: indicatorBoxes,
|
|
455
470
|
ready: indicatorReady,
|
|
@@ -877,21 +892,28 @@ export type BbRadioGroupProps<T> = {
|
|
|
877
892
|
/**
|
|
878
893
|
* A tab-strip look: `'pill'` (a raised pill under the pick) or
|
|
879
894
|
* `'line'` (a bar on a baseline); the indicator slides like a tab strip's.
|
|
880
|
-
* `list-layout="vertical"` stacks it. Register more with `
|
|
895
|
+
* `list-layout="vertical"` stacks it. Register more with `components.BbRadioGroup.variants`.
|
|
881
896
|
* Unset: the group's own rows.
|
|
882
897
|
*/
|
|
883
898
|
variant?: RadioVariantType;
|
|
884
899
|
|
|
885
900
|
/**
|
|
886
901
|
* How the rows sit in the list: `'horizontal'` (on a line, wrapping),
|
|
887
|
-
* `'vertical'` (stacked)
|
|
888
|
-
* list
|
|
889
|
-
*
|
|
902
|
+
* `'vertical'` (stacked) or `'tiles'` (equal boxes; `--tile-min-width` on
|
|
903
|
+
* `pt:list` sets the narrowest). `block` makes the rows full width.
|
|
904
|
+
* Layout only: the cards are `pt` (guide § Radio cards).
|
|
890
905
|
*
|
|
891
906
|
* @defaultValue `'horizontal'`
|
|
892
907
|
*/
|
|
893
908
|
listLayout?: ListLayout;
|
|
894
909
|
|
|
910
|
+
/**
|
|
911
|
+
* The rows take the list's full width: on a line (`horizontal`, a
|
|
912
|
+
* `variant` strip) they share it equally, stacked (`vertical`) each row
|
|
913
|
+
* is full width. Every look: plain rows, `pill`, `line`, `outline`.
|
|
914
|
+
*/
|
|
915
|
+
block?: boolean;
|
|
916
|
+
|
|
895
917
|
/**
|
|
896
918
|
* String displayed while items are being loaded.
|
|
897
919
|
*/
|
|
@@ -1161,8 +1183,9 @@ export type BbRadioGroupSlots<T> = {
|
|
|
1161
1183
|
*
|
|
1162
1184
|
* `listLayout` picks the arrangement (`--<listLayout>`): `horizontal` puts
|
|
1163
1185
|
* the rows on a line and wraps, `vertical` stacks them at their own width,
|
|
1164
|
-
* `
|
|
1165
|
-
*
|
|
1186
|
+
* `tiles` makes equal-size boxes that wrap as the field narrows. `block`
|
|
1187
|
+
* (`--block`) gives the rows the list's width: equal shares on a line, full
|
|
1188
|
+
* width stacked (the whole row is the hit area).
|
|
1166
1189
|
* A row never takes layout from an ancestor, which is what lets `pt:list`
|
|
1167
1190
|
* re-lay the rows without reaching into them.
|
|
1168
1191
|
*/
|
|
@@ -1187,8 +1210,10 @@ export type BbRadioGroupSlots<T> = {
|
|
|
1187
1210
|
flex-direction: column;
|
|
1188
1211
|
}
|
|
1189
1212
|
|
|
1190
|
-
|
|
1191
|
-
|
|
1213
|
+
/* `block` stacked: every row as wide as the list. `:where` keeps it at
|
|
1214
|
+
one class. */
|
|
1215
|
+
&--block:where(.bb-radio-group__list--vertical) {
|
|
1216
|
+
align-items: stretch;
|
|
1192
1217
|
}
|
|
1193
1218
|
|
|
1194
1219
|
/* Equal columns that wrap: as many `--tile-min-width` tracks as fit, and
|
|
@@ -1209,6 +1234,13 @@ export type BbRadioGroupSlots<T> = {
|
|
|
1209
1234
|
}
|
|
1210
1235
|
}
|
|
1211
1236
|
|
|
1237
|
+
/* `block` on a line: the rows share the list's width equally (and still
|
|
1238
|
+
wrap once a row reaches its content's width). At the row's one class. */
|
|
1239
|
+
:where(.bb-radio-group__list--block.bb-radio-group__list--horizontal)
|
|
1240
|
+
> .bb-radio-group__item {
|
|
1241
|
+
flex: 1 1 0;
|
|
1242
|
+
}
|
|
1243
|
+
|
|
1212
1244
|
/* A per-breakpoint `layout` (Q67.3) places the list per tier, as
|
|
1213
1245
|
`--right` / `--center` do above: `--ly-lj` / `--ly-ls` from CommonField, at
|
|
1214
1246
|
the list's own one-class weight; a left tier sets neither (`initial`), so
|
|
@@ -1271,7 +1303,7 @@ export type BbRadioGroupSlots<T> = {
|
|
|
1271
1303
|
}
|
|
1272
1304
|
|
|
1273
1305
|
/* One side takes the free space — only visible once the row is wider than
|
|
1274
|
-
its content (`
|
|
1306
|
+
its content (`block`, `tiles`, a `pt:item` width). */
|
|
1275
1307
|
&--label-fill {
|
|
1276
1308
|
grid-template-columns: auto minmax(0, 1fr);
|
|
1277
1309
|
justify-content: stretch;
|
|
@@ -1508,8 +1540,10 @@ export type BbRadioGroupSlots<T> = {
|
|
|
1508
1540
|
* A row is one label line (`--bb-label-lh`, 18px) and the rows sit
|
|
1509
1541
|
* `--row-gap` (10px) apart. On a coarse pointer only, each row gets an
|
|
1510
1542
|
* invisible 44px `::after`, and the stacked (or wrapped) rows open to exactly
|
|
1511
|
-
* the gap that keeps those areas apart: `44px - the
|
|
1512
|
-
* `--row-gap` when wider.
|
|
1543
|
+
* the gap that keeps those areas apart: `44px - the row's height`, or the
|
|
1544
|
+
* consumer's `--row-gap` when wider. The height is the shortest row's, as
|
|
1545
|
+
* measured (`--row-h`, set by the list after mount), so a 32px `pt:item`
|
|
1546
|
+
* pill opens 12px, not 26px; until then one label line is assumed. That gap is the one visual change, and the least
|
|
1513
1547
|
* that fits a full target per row; a list of rows at a 44px pitch is the
|
|
1514
1548
|
* platform's own list rhythm. Sideways the area stops at half `--gap`, so
|
|
1515
1549
|
* rows on one line never overlap either. A described row is already taller,
|
|
@@ -1518,11 +1552,17 @@ export type BbRadioGroupSlots<T> = {
|
|
|
1518
1552
|
@media (pointer: coarse) {
|
|
1519
1553
|
.bb-radio-group__list {
|
|
1520
1554
|
--hit: 44px;
|
|
1521
|
-
--tap-row-gap: max(
|
|
1555
|
+
--tap-row-gap: max(
|
|
1556
|
+
var(--row-gap),
|
|
1557
|
+
calc(var(--hit) - var(--row-h, var(--bb-label-lh)))
|
|
1558
|
+
);
|
|
1522
1559
|
row-gap: var(--tap-row-gap);
|
|
1523
1560
|
|
|
1524
1561
|
&:has(.bb-radio-group__item--description) {
|
|
1525
|
-
--tap-row-gap: max(
|
|
1562
|
+
--tap-row-gap: max(
|
|
1563
|
+
var(--row-gap),
|
|
1564
|
+
calc(var(--hit) - var(--row-h, calc(var(--hit) - 8px)))
|
|
1565
|
+
);
|
|
1526
1566
|
}
|
|
1527
1567
|
|
|
1528
1568
|
&.bb-radio-group__list--tiles {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<CommonField
|
|
10
10
|
:id="id"
|
|
11
11
|
class="bb-rating"
|
|
12
|
-
:compact="compact"
|
|
12
|
+
:compact="configDefaults.compact"
|
|
13
13
|
:description="description"
|
|
14
14
|
:disabled="disabled"
|
|
15
15
|
:errors="fieldErrors"
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
:hide-label="hideLegend"
|
|
19
19
|
:hint="hint"
|
|
20
20
|
:input-align="inputAlign"
|
|
21
|
-
:input-position="inputPosition"
|
|
21
|
+
:input-position="configDefaults.inputPosition"
|
|
22
22
|
:label="legend"
|
|
23
23
|
:label-align="labelAlign"
|
|
24
24
|
:label-mode="legendMode"
|
|
25
25
|
:label-position="legendPosition"
|
|
26
26
|
label-tag="legend"
|
|
27
|
-
:layout="layout"
|
|
27
|
+
:layout="configDefaults.layout"
|
|
28
28
|
:name="resolvedName"
|
|
29
29
|
:passthrough="passthrough"
|
|
30
30
|
:readonly="fieldReadonly"
|
|
31
|
-
:reverse="reverse"
|
|
31
|
+
:reverse="configDefaults.reverse"
|
|
32
32
|
:show-asterisk="showAsterisk"
|
|
33
33
|
:show-hint="showHint"
|
|
34
34
|
:style="rootStyle"
|
|
@@ -145,7 +145,8 @@ import {
|
|
|
145
145
|
usePassthrough,
|
|
146
146
|
} from '@/composables/usePassthrough';
|
|
147
147
|
import { useActiveInactiveState } from '@/composables/useActiveInactiveState';
|
|
148
|
-
import {
|
|
148
|
+
import { useSizeMap, useConfigDefaults } from '@/composables/useConfigDefaults';
|
|
149
|
+
import { ICON_SIZES } from '@/types/SizeScale';
|
|
149
150
|
import { useFormBinding } from '@/composables/useFormBinding';
|
|
150
151
|
import { useId } from '@/composables/useId';
|
|
151
152
|
import { useLocale } from '@/composables/useLocale';
|
|
@@ -173,14 +174,24 @@ const declaredProps = withDefaults(
|
|
|
173
174
|
>(),
|
|
174
175
|
{
|
|
175
176
|
clearable: false,
|
|
176
|
-
inputPosition:
|
|
177
|
+
inputPosition: undefined,
|
|
177
178
|
stars: 5,
|
|
179
|
+
// Tri-state: unset lets the components map show through.
|
|
180
|
+
compact: undefined,
|
|
181
|
+
// Tri-state: unset lets the components map show through.
|
|
182
|
+
reverse: undefined,
|
|
178
183
|
}
|
|
179
184
|
);
|
|
180
|
-
|
|
181
185
|
const declaredEmit = defineEmits<BbRatingEvents>();
|
|
182
186
|
|
|
183
187
|
const slots = defineSlots<BbRatingSlots>();
|
|
188
|
+
|
|
189
|
+
const configDefaults = useConfigDefaults('BbRating', declaredProps, {
|
|
190
|
+
inputPosition: 'left',
|
|
191
|
+
compact: false,
|
|
192
|
+
reverse: false,
|
|
193
|
+
});
|
|
194
|
+
|
|
184
195
|
// Inside a BbForm the field joins it (Q54.4): `props` / `emit` are bound.
|
|
185
196
|
const {
|
|
186
197
|
props,
|
|
@@ -197,7 +208,7 @@ const {
|
|
|
197
208
|
leaveOn: 'inactive',
|
|
198
209
|
});
|
|
199
210
|
|
|
200
|
-
const
|
|
211
|
+
const sizeMap = useSizeMap('BbRating', ICON_SIZES);
|
|
201
212
|
const { t } = useLocale();
|
|
202
213
|
const logger = useLogger();
|
|
203
214
|
|
|
@@ -387,9 +398,8 @@ const eventListeners = {
|
|
|
387
398
|
const parsedSize = computed(() => {
|
|
388
399
|
if (props.size == null) return undefined;
|
|
389
400
|
try {
|
|
390
|
-
//
|
|
391
|
-
|
|
392
|
-
return parseSize(props.size, config.iconDefaultSizes);
|
|
401
|
+
// The star scale: the built-in icon scale under BbRating's own `sizeMap`.
|
|
402
|
+
return parseSize(props.size, sizeMap.value);
|
|
393
403
|
} catch {
|
|
394
404
|
logger.warn(
|
|
395
405
|
`Invalid size: "${props.size}" in BbRating. Falling back to the default star size.`
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
:id="id"
|
|
11
11
|
class="bb-select"
|
|
12
12
|
:clearable="isClearable"
|
|
13
|
-
:compact="compact"
|
|
13
|
+
:compact="configDefaults.compact"
|
|
14
14
|
:description="description"
|
|
15
15
|
:disabled="disabled"
|
|
16
16
|
:errors="fieldErrors"
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
:label-align="labelAlign"
|
|
25
25
|
:label-mode="resolvedLabelMode"
|
|
26
26
|
:label-position="labelPosition"
|
|
27
|
-
:layout="layout"
|
|
27
|
+
:layout="configDefaults.layout"
|
|
28
28
|
:loading="loading"
|
|
29
29
|
:mobile="isMobile"
|
|
30
30
|
:name="name"
|
|
31
31
|
:passthrough="passthrough"
|
|
32
32
|
:readonly="fieldReadonly"
|
|
33
|
-
:reverse="reverse"
|
|
33
|
+
:reverse="configDefaults.reverse"
|
|
34
34
|
:show-asterisk="showAsterisk"
|
|
35
35
|
:show-hint="showHint"
|
|
36
36
|
:warnings="warnings"
|
|
@@ -51,12 +51,12 @@
|
|
|
51
51
|
<KnownItemsScope :source="knownItemsSource">
|
|
52
52
|
<BbSelectPopover
|
|
53
53
|
:id="fieldId"
|
|
54
|
-
:adaptive="adaptive"
|
|
54
|
+
:adaptive="configDefaults.adaptive"
|
|
55
55
|
:anchor="wrapperRef"
|
|
56
56
|
:aria-describedby="ariaDescribedby"
|
|
57
57
|
:aria-invalid="fieldHasErrors || undefined"
|
|
58
|
-
:autocomplete="autocomplete"
|
|
59
|
-
:compact="compact"
|
|
58
|
+
:autocomplete="configDefaults.autocomplete"
|
|
59
|
+
:compact="configDefaults.compact"
|
|
60
60
|
:dependencies="dependencies"
|
|
61
61
|
:deps-debounce-time="depsDebounceTime"
|
|
62
62
|
:disable-writing="disableWriting"
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
'bb-select__field--readonly': fieldReadonly,
|
|
117
117
|
}"
|
|
118
118
|
:clearable="clearable"
|
|
119
|
-
:compact="compact"
|
|
119
|
+
:compact="configDefaults.compact"
|
|
120
120
|
:disabled="disabled"
|
|
121
121
|
:has-errors="fieldHasErrors"
|
|
122
122
|
:has-value="hasValue"
|
|
@@ -351,7 +351,7 @@ import {
|
|
|
351
351
|
type BbSelectSlotRow,
|
|
352
352
|
} from '../BbSelectPopover/types';
|
|
353
353
|
import { useMobile } from '@/composables/useMobile';
|
|
354
|
-
import {
|
|
354
|
+
import { useConfigDefaults } from '@/composables/useConfigDefaults';
|
|
355
355
|
import { useFormBinding } from '@/composables/useFormBinding';
|
|
356
356
|
import { useLocale } from '@/composables/useLocale';
|
|
357
357
|
import {
|
|
@@ -370,6 +370,7 @@ import { hash } from '@/utilities/functions/hash';
|
|
|
370
370
|
import { reject } from '@/utilities/functions/reject';
|
|
371
371
|
import chevronDownSvg from '@/assets/svgs/chevron_down.svg?raw';
|
|
372
372
|
import { provideSheetChipAttrs } from '../BbSelectPopover/sheetChipAttrs';
|
|
373
|
+
import { provideReclickClears } from '../BbSelectPopover/reclickClears';
|
|
373
374
|
import {
|
|
374
375
|
indexKnownRows,
|
|
375
376
|
KnownItemsScope,
|
|
@@ -405,7 +406,7 @@ const declaredProps = withDefaults(
|
|
|
405
406
|
// `undefined` (declared, not omitted) keeps `adaptive` three-state all the
|
|
406
407
|
// way to BbSelectPopover: it disables Vue's absent→`false` Boolean cast
|
|
407
408
|
// (which would pass an explicit `false` and defeat the global
|
|
408
|
-
// `
|
|
409
|
+
// `all.adaptive`), while keeping the Boolean type so the valueless
|
|
409
410
|
// `adaptive` shorthand still resolves to `true`.
|
|
410
411
|
adaptive: undefined,
|
|
411
412
|
// Same three-state reason as `adaptive`: an absent `disable-writing` must
|
|
@@ -424,6 +425,10 @@ const declaredProps = withDefaults(
|
|
|
424
425
|
// search-first. Unset resolves to `'interaction'` in `computedPrefill`.
|
|
425
426
|
prefill: undefined,
|
|
426
427
|
selectable: true,
|
|
428
|
+
// Tri-state: unset lets the components map show through.
|
|
429
|
+
compact: undefined,
|
|
430
|
+
// Tri-state: unset lets the components map show through.
|
|
431
|
+
reverse: undefined,
|
|
427
432
|
}
|
|
428
433
|
);
|
|
429
434
|
|
|
@@ -452,7 +457,6 @@ const activatorAriaRequired = computed(
|
|
|
452
457
|
() => fieldAriaRequired.value ?? (fieldRequired.value ? true : undefined)
|
|
453
458
|
);
|
|
454
459
|
|
|
455
|
-
const config = useConfig();
|
|
456
460
|
const { t } = useLocale();
|
|
457
461
|
|
|
458
462
|
if (process.env.NODE_ENV !== 'production')
|
|
@@ -463,9 +467,12 @@ const { isMobile } = useMobile();
|
|
|
463
467
|
const showHint = computed(() => props.persistentHint || active.value);
|
|
464
468
|
const hasValue = computed(() => isNotEmpty(props.modelValue));
|
|
465
469
|
const isClearable = computed(() => Boolean(props.clearable) && hasValue.value);
|
|
466
|
-
const
|
|
467
|
-
|
|
468
|
-
|
|
470
|
+
const configDefaults = useConfigDefaults('BbSelect', props, {
|
|
471
|
+
labelMode: 'outside',
|
|
472
|
+
compact: false,
|
|
473
|
+
reverse: false,
|
|
474
|
+
});
|
|
475
|
+
const resolvedLabelMode = computed(() => configDefaults.labelMode);
|
|
469
476
|
|
|
470
477
|
/**
|
|
471
478
|
* Whether the options surface is showing: on from the popover's `show` to its
|
|
@@ -506,6 +513,8 @@ const passthrough = usePassthrough({
|
|
|
506
513
|
// The phone sheet lists the selection as chips too; they take `pt:badge`
|
|
507
514
|
// exactly as the field's chips do (Q56.13).
|
|
508
515
|
provideSheetChipAttrs((item) => passthrough.part('badge', {}, item));
|
|
516
|
+
// Q86.10 (3): a single `clearable` select clears on re-clicking its pick.
|
|
517
|
+
provideReclickClears(() => Boolean(props.clearable));
|
|
509
518
|
|
|
510
519
|
const popoverPt = () => ({
|
|
511
520
|
...passthrough.forward(
|
|
@@ -513,7 +522,7 @@ const popoverPt = () => ({
|
|
|
513
522
|
BB_SELECT_POPOVER_PT.states.filter((state) => state !== 'disabled')
|
|
514
523
|
),
|
|
515
524
|
...passthrough.forward(
|
|
516
|
-
['option', 'itemText', 'itemIcon', 'itemDescription'],
|
|
525
|
+
['option', 'itemText', 'itemIcon', 'itemDescription', 'check'],
|
|
517
526
|
BB_SELECT_POPOVER_PT.states
|
|
518
527
|
),
|
|
519
528
|
});
|
|
@@ -729,7 +738,7 @@ watch(
|
|
|
729
738
|
);
|
|
730
739
|
|
|
731
740
|
watch(
|
|
732
|
-
() => [
|
|
741
|
+
() => [configDefaults.compact, props.comma, props['prepend:icon']] as const,
|
|
733
742
|
() => {
|
|
734
743
|
if (!usesOverflowCollapse.value) return;
|
|
735
744
|
nextTick(() => {
|
|
@@ -830,8 +839,8 @@ import type { BbSelectItemProps } from '@/types/ItemProps';
|
|
|
830
839
|
import {
|
|
831
840
|
INPUT_VARIANTS,
|
|
832
841
|
type InputVariantBuiltIn,
|
|
833
|
-
type
|
|
834
|
-
type
|
|
842
|
+
type SelectVariantRegistry,
|
|
843
|
+
type InputVariantOf,
|
|
835
844
|
} from '@/types/InputVariant';
|
|
836
845
|
import type {
|
|
837
846
|
PtCompoundProps,
|
|
@@ -862,7 +871,7 @@ import type { CommonFieldAsteriskSlotProps } from '../CommonField/types';
|
|
|
862
871
|
* control family parts, plus the options surface's, forwarded to its
|
|
863
872
|
* `BbSelectPopover`.
|
|
864
873
|
*
|
|
865
|
-
* Per-item functions: on the instance, an option part (`option`, `itemText`, `itemIcon`, `itemDescription`) and a selection part (`badge`, `comma` — called here, per selected value, with its raw item) also accept `({ item, selected, … }) => PtValue | false | null | undefined` — `item` is the raw item of that option, and every state a boolean beside it, on for it (`selected`, `disabled`, …) — in the `pt` object or the `:pt:<part>` attribute, never on a `<part>:<state>` key and never in the global map or a scope (they ship as JSON). The function travels to the popover with the part and is called there, per option; its result is merged last, after every state entry, through the same deduper; a falsy result leaves the option as it was. See the passthrough guide, _Per-item functions_.
|
|
874
|
+
* Per-item functions: on the instance, an option part (`option`, `itemText`, `itemIcon`, `itemDescription`, `check`) and a selection part (`badge`, `comma` — called here, per selected value, with its raw item) also accept `({ item, selected, … }) => PtValue | false | null | undefined` — `item` is the raw item of that option, and every state a boolean beside it, on for it (`selected`, `disabled`, …) — in the `pt` object or the `:pt:<part>` attribute, never on a `<part>:<state>` key and never in the global map or a scope (they ship as JSON). The function travels to the popover with the part and is called there, per option; its result is merged last, after every state entry, through the same deduper; a falsy result leaves the option as it was. See the passthrough guide, _Per-item functions_.
|
|
866
875
|
*
|
|
867
876
|
* @describedBy BbSelectPopoverPtPart
|
|
868
877
|
* @describedBy TextControlPtPart
|
|
@@ -917,6 +926,7 @@ export type BbSelectPtPart =
|
|
|
917
926
|
| 'itemText'
|
|
918
927
|
| 'itemIcon'
|
|
919
928
|
| 'itemDescription'
|
|
929
|
+
| 'check'
|
|
920
930
|
| 'badge'
|
|
921
931
|
| 'comma';
|
|
922
932
|
/** The field and surface parts — they take a `PtValue` only. */
|
|
@@ -948,15 +958,17 @@ export type BbSelectOptionPtPart =
|
|
|
948
958
|
| 'itemText'
|
|
949
959
|
| 'itemIcon'
|
|
950
960
|
| 'itemDescription'
|
|
961
|
+
| 'check'
|
|
951
962
|
| 'badge'
|
|
952
963
|
| 'comma';
|
|
953
964
|
/**
|
|
954
965
|
* Passthrough states of `BbSelect`, true while the matching `--` modifier is on.
|
|
955
966
|
*
|
|
956
|
-
* @state selected - Per node, on `option
|
|
957
|
-
* option.
|
|
967
|
+
* @state selected - Per node, on `option`, its `item-*` parts and `check`: a
|
|
968
|
+
* chosen option.
|
|
958
969
|
* @state disabled - Component-wide while the select is `disabled`; also per
|
|
959
|
-
* node, on `option
|
|
970
|
+
* node, on `option`, its `item-*` parts and `check`: an option that is
|
|
971
|
+
* disabled.
|
|
960
972
|
* @state open - Component-wide: the options surface is showing.
|
|
961
973
|
*/
|
|
962
974
|
export type BbSelectPtState = FormControlPtState | 'open' | 'selected';
|
|
@@ -985,6 +997,7 @@ export type BbSelectKeptPtPart =
|
|
|
985
997
|
| 'itemText'
|
|
986
998
|
| 'itemIcon'
|
|
987
999
|
| 'itemDescription'
|
|
1000
|
+
| 'check'
|
|
988
1001
|
| 'badge'
|
|
989
1002
|
| 'comma';
|
|
990
1003
|
/** An option's parts: the only ones the popover resolves `selected` on. */
|
|
@@ -992,7 +1005,8 @@ export type BbSelectRowPtPart =
|
|
|
992
1005
|
| 'option'
|
|
993
1006
|
| 'itemText'
|
|
994
1007
|
| 'itemIcon'
|
|
995
|
-
| 'itemDescription'
|
|
1008
|
+
| 'itemDescription'
|
|
1009
|
+
| 'check';
|
|
996
1010
|
/**
|
|
997
1011
|
* Every `part` / `part:state` key of `BbSelect` — only the pairs that land
|
|
998
1012
|
* (the variant keys aside). `PtKeysOf<typeof BB_SELECT_PT>` is the same union.
|
|
@@ -1047,6 +1061,7 @@ export const BB_SELECT_PT = {
|
|
|
1047
1061
|
'itemText',
|
|
1048
1062
|
'itemIcon',
|
|
1049
1063
|
'itemDescription',
|
|
1064
|
+
'check',
|
|
1050
1065
|
'badge',
|
|
1051
1066
|
'comma',
|
|
1052
1067
|
],
|
|
@@ -1076,6 +1091,7 @@ export const BB_SELECT_PT = {
|
|
|
1076
1091
|
itemText: ['selected'],
|
|
1077
1092
|
itemIcon: ['selected'],
|
|
1078
1093
|
itemDescription: ['selected'],
|
|
1094
|
+
check: ['selected'],
|
|
1079
1095
|
},
|
|
1080
1096
|
/** The ✕ is not rendered while the select is `disabled` or `readonly`. */
|
|
1081
1097
|
except: { clear: ['disabled', 'readonly'] },
|
|
@@ -1083,7 +1099,7 @@ export const BB_SELECT_PT = {
|
|
|
1083
1099
|
// the real states; a picker's panel and rows are not the field's.
|
|
1084
1100
|
variant: {
|
|
1085
1101
|
names: INPUT_VARIANTS,
|
|
1086
|
-
option: '
|
|
1102
|
+
option: 'selectVariants',
|
|
1087
1103
|
parts: [
|
|
1088
1104
|
'root',
|
|
1089
1105
|
'label',
|
|
@@ -1138,7 +1154,7 @@ export type BbSelectProps<
|
|
|
1138
1154
|
| `pt:${BbSelectVariantPtPart}:${InputVariantBuiltIn}`]?: PtValue;
|
|
1139
1155
|
} & /* @vue-ignore */ PtCompoundProps<
|
|
1140
1156
|
typeof BB_SELECT_PT,
|
|
1141
|
-
PtVariantAttrs<BbSelectVariantPtPart, keyof
|
|
1157
|
+
PtVariantAttrs<BbSelectVariantPtPart, keyof SelectVariantRegistry>
|
|
1142
1158
|
> & {
|
|
1143
1159
|
// The option parts also take a per-item function, typed on this select's
|
|
1144
1160
|
// item — a literal function type, not `PtItemFn` (T23).
|
|
@@ -1167,15 +1183,15 @@ export type BbSelectProps<
|
|
|
1167
1183
|
never,
|
|
1168
1184
|
BbSelectSlotRow<PtNoInfer<T>, PtNoInfer<Known>>
|
|
1169
1185
|
> & {
|
|
1170
|
-
[K in `${BbSelectVariantPtPart}:${InputVariantBuiltIn | keyof
|
|
1186
|
+
[K in `${BbSelectVariantPtPart}:${InputVariantBuiltIn | keyof SelectVariantRegistry}`]?: PtValue;
|
|
1171
1187
|
};
|
|
1172
1188
|
/* eslint-enable @typescript-eslint/consistent-indexed-object-style */
|
|
1173
1189
|
/**
|
|
1174
1190
|
* When `true`, the options panel opens as a bottom off-canvas sheet on mobile
|
|
1175
1191
|
* viewports instead of a floating popover; on desktop it stays a popover.
|
|
1176
1192
|
*
|
|
1177
|
-
* When unset, falls back to the global `
|
|
1178
|
-
* @defaultValue `
|
|
1193
|
+
* When unset, falls back to the global `all.adaptive`.
|
|
1194
|
+
* @defaultValue `all.adaptive` (`true`)
|
|
1179
1195
|
*/
|
|
1180
1196
|
adaptive?: boolean;
|
|
1181
1197
|
|
|
@@ -1224,6 +1240,7 @@ export type BbSelectProps<
|
|
|
1224
1240
|
|
|
1225
1241
|
/**
|
|
1226
1242
|
* Displays a clear button when the input has a value and is being interacted with.
|
|
1243
|
+
* A single select also clears when the picked option is clicked again.
|
|
1227
1244
|
*/
|
|
1228
1245
|
clearable?: boolean;
|
|
1229
1246
|
|
|
@@ -1245,11 +1262,11 @@ export type BbSelectProps<
|
|
|
1245
1262
|
* The field box's look, with `BbButton`'s names and tokens. Colours only,
|
|
1246
1263
|
* so a form never reflows; `'ghost'` has no border in any state, `'none'`
|
|
1247
1264
|
* no look at all (you own hover, focus and the states). Register more with
|
|
1248
|
-
* the plugin's `
|
|
1265
|
+
* the plugin's `components.BbSelect.variants`.
|
|
1249
1266
|
*
|
|
1250
1267
|
* @defaultValue `'outline'`
|
|
1251
1268
|
*/
|
|
1252
|
-
variant?:
|
|
1269
|
+
variant?: InputVariantOf<SelectVariantRegistry>;
|
|
1253
1270
|
|
|
1254
1271
|
/**
|
|
1255
1272
|
* Defines an array of dependencies that will trigger actions in the component upon change.
|
|
@@ -1307,8 +1324,9 @@ export type BbSelectProps<
|
|
|
1307
1324
|
/**
|
|
1308
1325
|
* What typing filters on: empty = the display text and description; item
|
|
1309
1326
|
* paths = those fields (`['name', 'email']`); `false` = no filtering.
|
|
1310
|
-
*
|
|
1311
|
-
* email
|
|
1327
|
+
* Ranked, case and accents ignored (guide § Search). Use `false` when the
|
|
1328
|
+
* provider matched the query on the server, or its email matches show as
|
|
1329
|
+
* "No results".
|
|
1312
1330
|
*
|
|
1313
1331
|
* @defaultValue `[]`
|
|
1314
1332
|
*/
|
|
@@ -1811,6 +1829,7 @@ export type BbSelectSlots<
|
|
|
1811
1829
|
## Styles
|
|
1812
1830
|
|
|
1813
1831
|
```css
|
|
1832
|
+
/* @inherit --ph — the placeholder colour, declared on the field box (CommonFieldInput) */
|
|
1814
1833
|
.bb-select {
|
|
1815
1834
|
/* The box row of the select: the activator overlay, the value face and the
|
|
1816
1835
|
chips row live inside it. */
|
|
@@ -1939,7 +1958,7 @@ export type BbSelectSlots<
|
|
|
1939
1958
|
}
|
|
1940
1959
|
|
|
1941
1960
|
&__placeholder {
|
|
1942
|
-
color: var(--
|
|
1961
|
+
color: var(--ph);
|
|
1943
1962
|
opacity: 1;
|
|
1944
1963
|
transition: opacity var(--bb-transition-fast) var(--bb-ease);
|
|
1945
1964
|
}
|