bitboss-ui 3.0.0-beta.63 → 3.0.0-beta.65
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 +25 -20
- package/bin/bitboss-ui.mjs +73 -7
- package/dist/ai/BbAlert.md +10 -1
- package/dist/ai/BbBadge.md +35 -3
- package/dist/ai/BbBadgeButton.md +4 -2
- package/dist/ai/BbBaseButton.md +9 -3
- package/dist/ai/BbBreadcrumbs.md +2 -2
- package/dist/ai/BbButton.md +113 -8
- package/dist/ai/BbCheckbox.md +1 -1
- package/dist/ai/BbCheckboxGroup.md +94 -6
- package/dist/ai/BbColorInput.md +4 -1
- package/dist/ai/BbColorPalette.md +2 -1
- package/dist/ai/BbConfirm.md +7 -3
- package/dist/ai/BbDatePicker.md +2 -1
- package/dist/ai/BbDatePickerInput.md +4 -1
- package/dist/ai/BbDialog.md +12 -11
- package/dist/ai/BbDropdown.md +189 -38
- package/dist/ai/BbDropdownButton.md +27 -7
- package/dist/ai/BbForm.md +55 -22
- package/dist/ai/BbHost.md +2 -2
- package/dist/ai/BbHoverCard.md +7 -3
- package/dist/ai/BbIcon.md +12 -6
- package/dist/ai/BbIndicator.md +11 -1
- package/dist/ai/BbNumberInput.md +4 -1
- package/dist/ai/BbOffCanvas.md +37 -3
- package/dist/ai/BbPopover.md +2 -1
- package/dist/ai/BbRadio.md +1 -1
- package/dist/ai/BbRadioGroup.md +102 -10
- package/dist/ai/BbSelect.md +52 -17
- package/dist/ai/BbSelectPopover.md +93 -26
- package/dist/ai/BbSwitch.md +1 -1
- package/dist/ai/BbSwitchGroup.md +30 -3
- package/dist/ai/BbTable.md +17 -10
- package/dist/ai/BbTabs.md +8 -3
- package/dist/ai/BbTabsList.md +4 -1
- package/dist/ai/BbTag.md +5 -2
- package/dist/ai/BbTextInput.md +4 -1
- package/dist/ai/BbTextarea.md +4 -1
- package/dist/ai/BbTimePicker.md +2 -1
- package/dist/ai/BbTimePickerInput.md +4 -1
- package/dist/ai/BbToast.md +9 -3
- package/dist/ai/BbTooltip.md +71 -9
- package/dist/ai/ChipsBox.md +1 -1
- package/dist/ai/CommonField.md +1 -1
- package/dist/ai/OptionsContainer.md +42 -0
- package/dist/ai/changelog.json +494 -6
- package/dist/ai/components.json +50 -48
- package/dist/ai/composables/useBbConfig.md +8 -1
- package/dist/ai/composables/useConfirm.md +39 -1
- package/dist/ai/design-tokens.json +6 -6
- package/dist/ai/guides/agent-contract.md +2 -2
- package/dist/ai/guides/ai-router.md +24 -23
- package/dist/ai/guides/app-layout.md +5 -0
- package/dist/ai/guides/component-picker.md +9 -2
- package/dist/ai/guides/design-language.md +24 -24
- package/dist/ai/guides/design-tokens.md +15 -8
- package/dist/ai/guides/icons-policy.md +9 -2
- package/dist/ai/guides/inertia-helpers.md +1183 -301
- package/dist/ai/guides/installation-and-plugin-setup.md +12 -2
- package/dist/ai/guides/migration/adoption-checklist.md +235 -0
- package/dist/ai/guides/migration/components/bb-checkbox-group.md +16 -15
- package/dist/ai/guides/migration/components/bb-dialog.md +9 -9
- package/dist/ai/guides/migration/components/bb-dropdown.md +7 -2
- package/dist/ai/guides/migration/components/bb-popover.md +4 -2
- package/dist/ai/guides/migration/components/bb-select.md +19 -0
- package/dist/ai/guides/migration/components/bb-table.md +1 -0
- package/dist/ai/guides/migration/components/bb-toast.md +4 -0
- package/dist/ai/guides/migration/components/bb-tooltip.md +15 -12
- package/dist/ai/guides/migration/components/use-confirm.md +25 -2
- package/dist/ai/guides/migration/v2-to-v3.md +211 -9
- package/dist/ai/guides/migration/v3-beta-css-classes.md +7 -3
- package/dist/ai/guides/options-items-playbook.md +2 -1
- package/dist/ai/guides/passthrough.md +149 -85
- package/dist/ai/guides/preset-components.md +140 -15
- package/dist/ai/helpers/definePreset.json +7 -0
- package/dist/ai/helpers/definePreset.ts +123 -11
- package/dist/ai/helpers/inertia/manifest.json +151 -62
- package/dist/ai/helpers/inertia/messages.ts +33 -0
- package/dist/ai/helpers/inertia/useConfirmOnRouteLeave.ts +120 -20
- package/dist/ai/helpers/inertia/useHasChanged.ts +34 -16
- package/dist/ai/helpers/inertia/useLazyProp.ts +102 -36
- package/dist/ai/helpers/inertia/useLazyPropGetter.ts +3 -1
- package/dist/ai/helpers/inertia/usePaginatedResponseContext.ts +154 -34
- package/dist/ai/helpers/inertia/usePromiseForm.ts +121 -14
- package/dist/ai/helpers/inertia/useQuery.ts +133 -11
- package/dist/ai/helpers/inertia/useQueryObject.ts +74 -67
- package/dist/ai/helpers/inertia/useResourceContext.ts +60 -14
- package/dist/ai/helpers/inertia/useRouteQuery.ts +38 -27
- package/dist/ai/helpers/inertia/useScreenSizes.ts +9 -7
- package/dist/ai/helpers/inertia/useTableContext.ts +5 -2
- package/dist/ai/helpers/inertia/utils.ts +14 -0
- package/dist/ai/index.md +1 -0
- package/dist/ai/manifest/common.json +0 -1
- package/dist/ai/manifest/components/BbAlert.json +7 -2
- package/dist/ai/manifest/components/BbBadge.json +13 -4
- package/dist/ai/manifest/components/BbBadge.tree.json +2 -0
- package/dist/ai/manifest/components/BbBadgeButton.json +4 -2
- package/dist/ai/manifest/components/BbBaseButton.json +4 -2
- package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
- package/dist/ai/manifest/components/BbButton.json +14 -3
- package/dist/ai/manifest/components/BbButton.tree.json +5 -1
- package/dist/ai/manifest/components/BbCheckboxGroup.json +13 -8
- package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +11 -1
- package/dist/ai/manifest/components/BbColorInput.json +18 -15
- package/dist/ai/manifest/components/BbColorPalette.json +1 -1
- package/dist/ai/manifest/components/BbConfirm.json +4 -2
- package/dist/ai/manifest/components/BbConfirm.tree.json +1 -1
- package/dist/ai/manifest/components/BbDatePicker.json +1 -1
- package/dist/ai/manifest/components/BbDatePickerInput.json +17 -14
- package/dist/ai/manifest/components/BbDialog.tree.json +2 -1
- package/dist/ai/manifest/components/BbDropdown.json +24 -19
- package/dist/ai/manifest/components/BbDropdown.tree.json +9 -2
- package/dist/ai/manifest/components/BbDropdownButton.json +33 -20
- package/dist/ai/manifest/components/BbDropdownButton.tree.json +2 -2
- package/dist/ai/manifest/components/BbForm.json +2 -2
- package/dist/ai/manifest/components/BbHost.tree.json +1 -1
- package/dist/ai/manifest/components/BbHoverCard.json +1 -1
- package/dist/ai/manifest/components/BbIndicator.json +8 -2
- package/dist/ai/manifest/components/BbNumberInput.json +5 -2
- package/dist/ai/manifest/components/BbOffCanvas.json +2 -2
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
- package/dist/ai/manifest/components/BbPopover.json +1 -1
- package/dist/ai/manifest/components/BbRadioGroup.json +17 -12
- package/dist/ai/manifest/components/BbRadioGroup.tree.json +8 -1
- package/dist/ai/manifest/components/BbSelect.json +21 -18
- package/dist/ai/manifest/components/BbSelect.tree.json +2 -2
- package/dist/ai/manifest/components/BbSelectPopover.json +10 -10
- package/dist/ai/manifest/components/BbSelectPopover.tree.json +3 -2
- package/dist/ai/manifest/components/BbSwitchGroup.json +1 -1
- package/dist/ai/manifest/components/BbSwitchGroup.tree.json +3 -1
- package/dist/ai/manifest/components/BbTable.tree.json +14 -1
- package/dist/ai/manifest/components/BbTabs.json +9 -6
- package/dist/ai/manifest/components/BbTabs.tree.json +1 -1
- package/dist/ai/manifest/components/BbTabsList.json +6 -3
- package/dist/ai/manifest/components/BbTag.json +19 -16
- package/dist/ai/manifest/components/BbTag.tree.json +1 -1
- package/dist/ai/manifest/components/BbTextInput.json +6 -3
- package/dist/ai/manifest/components/BbTextarea.json +6 -3
- package/dist/ai/manifest/components/BbTimePicker.json +1 -1
- package/dist/ai/manifest/components/BbTimePickerInput.json +10 -7
- package/dist/ai/manifest/components/BbToast.json +7 -2
- package/dist/ai/manifest/components/BbToast.tree.json +4 -2
- package/dist/ai/manifest/components/BbTooltip.json +6 -5
- package/dist/ai/manifest/components/ChipsBox.tree.json +1 -1
- package/dist/ai/manifest/components/CommonField.json +1 -1
- package/dist/ai/manifest/components/OptionsContainer.json +3 -1
- package/dist/ai/manifest/components/OptionsContainer.tree.json +38 -0
- package/dist/ai/manifest/index.json +3 -3
- package/dist/ai/manifest/meta.json +5 -3
- package/dist/ai/manifest/types.advanced.json +5 -2
- package/dist/ai/manifest/types.api.json +9 -7
- package/dist/ai/recipes/inertia/approvals-inbox.md +1 -1
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/inertia/layout-scaffold.md +19 -6
- package/dist/ai/recipes/inertia/ownership-atlas.md +1 -1
- package/dist/ai/recipes/inertia/records-workspace.md +50 -14
- package/dist/ai/recipes/inertia/upload-center.md +1 -1
- package/dist/ai/recipes/nuxt/layout-scaffold.md +19 -6
- package/dist/ai/recipes/nuxt/records-workspace.md +42 -12
- package/dist/ai/recipes/vue/layout-scaffold.md +19 -6
- package/dist/ai/recipes/vue/records-workspace.md +42 -12
- package/dist/ai/source/BbAlert.md +94 -76
- package/dist/ai/source/BbBadge.md +174 -72
- package/dist/ai/source/BbBadgeButton.md +130 -65
- package/dist/ai/source/BbBaseButton.md +46 -124
- package/dist/ai/source/BbBaseCheckboxIcon.md +38 -0
- package/dist/ai/source/BbBaseRadioIcon.md +18 -0
- package/dist/ai/source/BbBaseSwitchIcon.md +51 -0
- package/dist/ai/source/BbButton.md +153 -36
- package/dist/ai/source/BbCheckboxGroup.md +142 -18
- package/dist/ai/source/BbColorInput.md +240 -204
- package/dist/ai/source/BbColorPalette.md +7 -4
- package/dist/ai/source/BbConfirm.md +34 -11
- package/dist/ai/source/BbConfirmPortal.md +24 -9
- package/dist/ai/source/BbDatePicker.md +11 -7
- package/dist/ai/source/BbDatePickerInput.md +306 -269
- package/dist/ai/source/BbDialog.md +49 -14
- package/dist/ai/source/BbDropdown.md +314 -197
- package/dist/ai/source/BbDropdownButton.md +197 -31
- package/dist/ai/source/BbDropdownGroup.md +274 -176
- package/dist/ai/source/BbForm.md +50 -6
- package/dist/ai/source/BbHoverCard.md +12 -5
- package/dist/ai/source/BbIcon.md +4 -3
- package/dist/ai/source/BbIndicator.md +73 -52
- package/dist/ai/source/BbNumberInput.md +293 -257
- package/dist/ai/source/BbOffCanvas.md +55 -29
- package/dist/ai/source/BbPopover.md +14 -10
- package/dist/ai/source/BbRadioGroup.md +413 -297
- package/dist/ai/source/BbSelect.md +549 -435
- package/dist/ai/source/BbSelectPopover.md +153 -34
- package/dist/ai/source/BbSwitchGroup.md +70 -10
- package/dist/ai/source/BbTable.md +369 -37
- package/dist/ai/source/BbTabs.md +115 -39
- package/dist/ai/source/BbTabsList.md +106 -38
- package/dist/ai/source/BbTabsPanels.md +96 -36
- package/dist/ai/source/BbTabsRoot.md +96 -36
- package/dist/ai/source/BbTag.md +267 -233
- package/dist/ai/source/BbTextInput.md +261 -225
- package/dist/ai/source/BbTextarea.md +251 -215
- package/dist/ai/source/BbTimePicker.md +11 -7
- package/dist/ai/source/BbTimePickerInput.md +257 -220
- package/dist/ai/source/BbToast.md +73 -32
- package/dist/ai/source/BbToastPortal.md +65 -30
- package/dist/ai/source/BbTooltip.md +148 -113
- package/dist/ai/source/CommonPopover.md +6 -1
- package/dist/ai/source/FlatListBox.md +19 -9
- package/dist/ai/source/GroupedListBox.md +19 -9
- package/dist/ai/source/OptionsContainer.md +25 -9
- package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +61 -36
- package/dist/components/BbAlert/types.d.ts +9 -5
- package/dist/components/BbAlert/types.js +8 -3
- package/dist/components/BbBadge/BadgeBodyContent.vue.d.ts +3 -3
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +26 -17
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +103 -50
- package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +20 -15
- package/dist/components/BbBadge/badgeButtonContext.d.ts +12 -1
- package/dist/components/BbBadge/types.d.ts +45 -15
- package/dist/components/BbBadge/types.js +12 -3
- package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +89 -126
- package/dist/components/BbBaseButton/types.d.ts +23 -4
- package/dist/components/BbBaseButton/types.js +7 -1
- package/dist/components/BbBaseButton/useLinkState.d.ts +41 -0
- package/dist/components/BbBaseButton/useLinkState.js +70 -0
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +130 -74
- package/dist/components/BbButton/types.d.ts +50 -13
- package/dist/components/BbButton/types.js +10 -3
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +148 -95
- package/dist/components/BbCheckboxGroup/types.d.ts +34 -11
- package/dist/components/BbCheckboxGroup/types.js +9 -4
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +134 -93
- package/dist/components/BbColorInput/types.d.ts +11 -4
- package/dist/components/BbColorInput/types.js +9 -3
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +82 -59
- package/dist/components/BbConfirm/types.d.ts +9 -4
- package/dist/components/BbConfirm/types.js +8 -3
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +1 -1
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +68 -67
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -1
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +259 -215
- package/dist/components/BbDatePickerInput/types.d.ts +12 -5
- package/dist/components/BbDatePickerInput/types.js +9 -3
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +223 -219
- package/dist/components/BbDialog/useDialogStack.d.ts +1 -1
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +104 -89
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -0
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +323 -285
- package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +1 -0
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +411 -319
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +100 -98
- package/dist/components/BbDropdown/DropdownRow.vue.d.ts +4 -3
- package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +49 -28
- package/dist/components/BbDropdown/normalizeGroups.d.ts +6 -0
- package/dist/components/BbDropdown/normalizeGroups.js +21 -15
- package/dist/components/BbDropdown/types.d.ts +59 -12
- package/dist/components/BbDropdown/types.js +16 -3
- package/dist/components/BbDropdown/useDropdownContext.d.ts +6 -0
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +2 -1
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +179 -68
- package/dist/components/BbDropdownButton/types.d.ts +44 -16
- package/dist/components/BbDropdownButton/types.js +28 -3
- package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +111 -89
- package/dist/components/BbForm/formSchema.d.ts +13 -0
- package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +100 -100
- package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +40 -25
- package/dist/components/BbIndicator/types.d.ts +9 -5
- package/dist/components/BbIndicator/types.js +8 -3
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +243 -202
- package/dist/components/BbNumberInput/types.d.ts +12 -5
- package/dist/components/BbNumberInput/types.js +9 -3
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +401 -399
- package/dist/components/BbOffCanvas/types.d.ts +6 -2
- package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +81 -80
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +158 -105
- package/dist/components/BbRadioGroup/types.d.ts +21 -7
- package/dist/components/BbRadioGroup/types.js +9 -4
- package/dist/components/BbSelect/BbSelect.vue.d.ts +4 -3
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +181 -137
- package/dist/components/BbSelect/types.d.ts +36 -22
- package/dist/components/BbSelect/types.js +22 -3
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +4 -4
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +600 -577
- package/dist/components/BbSelectPopover/knownItems.d.ts +5 -0
- package/dist/components/BbSelectPopover/types.d.ts +46 -12
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +1 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/BbSwitchGroup/types.d.ts +14 -4
- package/dist/components/BbSwitchGroup/types.js +8 -3
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1102 -995
- package/dist/components/BbTable/estimatedFloors.golden.d.ts +25 -0
- package/dist/components/BbTable/measuredFloors.d.ts +46 -0
- package/dist/components/BbTable/measuredFloors.js +322 -0
- package/dist/components/BbTable/measuredFloorsTestKit.d.ts +27 -0
- package/dist/components/BbTable/textRuler.d.ts +71 -0
- package/dist/components/BbTable/textRuler.js +121 -0
- package/dist/components/BbTable/utils.d.ts +113 -6
- package/dist/components/BbTable/utils.js +118 -65
- package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +53 -35
- package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +62 -45
- package/dist/components/BbTabs/types.d.ts +26 -11
- package/dist/components/BbTabs/types.js +23 -8
- package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +205 -164
- package/dist/components/BbTag/types.d.ts +11 -4
- package/dist/components/BbTag/types.js +9 -3
- package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +98 -57
- package/dist/components/BbTextInput/types.d.ts +12 -5
- package/dist/components/BbTextInput/types.js +9 -3
- package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +137 -96
- package/dist/components/BbTextarea/types.d.ts +12 -5
- package/dist/components/BbTextarea/types.js +9 -3
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +105 -104
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +241 -197
- package/dist/components/BbTimePickerInput/types.d.ts +12 -5
- package/dist/components/BbTimePickerInput/types.js +9 -3
- package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +74 -32
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +47 -47
- package/dist/components/BbToast/types.d.ts +10 -5
- package/dist/components/BbToast/types.js +18 -3
- package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +85 -71
- package/dist/components/BbTooltip/types.d.ts +13 -8
- package/dist/components/BbTooltip/types.js +8 -3
- package/dist/components/CommonField/CommonField.vue.d.ts +1 -1
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +1 -1
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +69 -69
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +53 -50
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +146 -143
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +7 -2
- package/dist/components/OptionsContainer/types.d.ts +14 -3
- package/dist/composables/useBbConfig.d.ts +1 -0
- package/dist/composables/useBbConfig.js +11 -7
- package/dist/composables/useBbFormContext.d.ts +4 -3
- package/dist/composables/useBbTabsContext.js +99 -85
- package/dist/composables/useChoiceIndicator.d.ts +58 -0
- package/dist/composables/useChoiceIndicator.js +197 -0
- package/dist/composables/useConfirm.d.ts +4 -4
- package/dist/composables/usePassthrough.d.ts +54 -1
- package/dist/composables/usePassthrough.js +100 -71
- package/dist/directives/bbTooltip.d.ts +12 -6
- package/dist/directives/createPopoverDirective.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/llms-full.txt +3467 -801
- package/dist/llms-medium.txt +71 -53
- package/dist/llms.txt +2 -1
- package/dist/passthrough-deduper.js +6 -3
- package/dist/project-dts.d.ts +24 -0
- package/dist/project-dts.js +43 -17
- package/dist/styles.css +2 -2
- package/dist/types/AlertVariant.d.ts +14 -0
- package/dist/types/AlertVariant.js +9 -0
- package/dist/types/BadgeVariant.d.ts +14 -0
- package/dist/types/BadgeVariant.js +9 -0
- package/dist/types/ButtonVariant.d.ts +16 -0
- package/dist/types/ButtonVariant.js +11 -0
- package/dist/types/CheckboxVariant.d.ts +38 -0
- package/dist/types/CheckboxVariant.js +4 -0
- package/dist/types/CommonProps.d.ts +4 -3
- package/dist/types/Config.d.ts +7 -0
- package/dist/types/ConfirmVariant.d.ts +12 -0
- package/dist/types/ConfirmVariant.js +4 -0
- package/dist/types/DropdownItemVariant.d.ts +12 -0
- package/dist/types/DropdownItemVariant.js +4 -0
- package/dist/types/IndicatorVariant.d.ts +15 -0
- package/dist/types/IndicatorVariant.js +10 -0
- package/dist/types/InputVariant.d.ts +13 -0
- package/dist/types/InputVariant.js +8 -0
- package/dist/types/RadioVariant.d.ts +38 -0
- package/dist/types/RadioVariant.js +4 -0
- package/dist/types/TabsVariant.d.ts +13 -0
- package/dist/types/TabsVariant.js +8 -0
- package/dist/types/ToastVariant.d.ts +15 -0
- package/dist/types/ToastVariant.js +10 -0
- package/dist/types/TooltipVariant.d.ts +12 -0
- package/dist/types/TooltipVariant.js +4 -0
- package/dist/types/passthrough.d.ts +83 -15
- package/dist/types/passthrough.js +2 -2
- package/dist/types/ptComponentMap.d.ts +35 -23
- package/dist/utilities/functions/extractDomContainer.d.ts +20 -1
- package/dist/utilities/functions/extractDomContainer.js +8 -3
- package/dist/utils/focusVisibility.d.ts +6 -0
- package/dist/utils/focusVisibility.js +4 -1
- package/dist/utils/passthroughDeduper.d.ts +14 -0
- package/dist/utils/versionCheck.js +1 -1
- package/dist/vite-plugin.d.ts +64 -7
- package/dist/vite.js +385 -259
- package/llms.txt +2 -1
- package/package.json +5 -4
- package/scripts/lib/adoption-checklist.json +312 -0
- package/scripts/lib/eslint-plugin.d.ts +13 -0
- package/scripts/lib/eslint-plugin.mjs +75 -11
- package/scripts/lib/helpers-add.mjs +26 -2
- package/scripts/lib/idiom-scan.mjs +65 -0
- package/scripts/lib/mcp-config.mjs +203 -9
- package/scripts/lib/migrate-fix.mjs +42 -1
- package/scripts/lib/project-variant-dts.mjs +18 -0
- package/scripts/lib/validate-bb-markup.mjs +99 -2
package/dist/ai/BbTooltip.md
CHANGED
|
@@ -34,7 +34,9 @@ Do **not** put interactive content in a tooltip (links, buttons, form fields):
|
|
|
34
34
|
- A menu of actions → `BbDropdown`.
|
|
35
35
|
|
|
36
36
|
A tooltip is a supplement, never the only source of information — critical text
|
|
37
|
-
must live in the page, not hide behind a hover.
|
|
37
|
+
must live in the page, not hide behind a hover. Host it on something keyboard
|
|
38
|
+
focus reaches (a button or link); an info icon is an icon-only ghost
|
|
39
|
+
`BbButton` (see [The `v-bb-tooltip` directive](#the-v-bb-tooltip-directive)).
|
|
38
40
|
|
|
39
41
|
### Text via `text` or the default slot
|
|
40
42
|
|
|
@@ -90,6 +92,22 @@ bubble (`top` by default; the `top` / `right` / `bottom` / `left` families with
|
|
|
90
92
|
</p>
|
|
91
93
|
```
|
|
92
94
|
|
|
95
|
+
### A trigger you don't render
|
|
96
|
+
|
|
97
|
+
When the trigger isn't yours to wrap (an element another component renders,
|
|
98
|
+
like the native input of a selection tile), pass it as `activator` instead of
|
|
99
|
+
using the slot: an element, a component ref, or a CSS selector string, looked
|
|
100
|
+
up in the document once the tooltip mounts. The tooltip then wires its
|
|
101
|
+
listeners and its description onto that element. The `v-bb-tooltip` directive
|
|
102
|
+
always uses the element it sits on.
|
|
103
|
+
|
|
104
|
+
```vue
|
|
105
|
+
<BbTooltip
|
|
106
|
+
activator="#export-format-csv"
|
|
107
|
+
text="Comma-separated, opens in any spreadsheet"
|
|
108
|
+
/>
|
|
109
|
+
```
|
|
110
|
+
|
|
93
111
|
### Variant
|
|
94
112
|
|
|
95
113
|
`variant` tints the bubble. Two variants ship styles out of the box:
|
|
@@ -249,7 +267,8 @@ is concerned — the whole label (shortcut included) is flattened into the
|
|
|
249
267
|
### Placement, timing, width and disabling
|
|
250
268
|
|
|
251
269
|
- `placement` — as above; the `top`/`right`/`bottom`/`left` families with
|
|
252
|
-
`-start`/`-end` variants, auto-flipping near an edge.
|
|
270
|
+
`-start`/`-end` variants, auto-flipping near an edge. Read at open: a change
|
|
271
|
+
while open applies at the next open.
|
|
253
272
|
- `delay` (ms, default `100`) holds the tooltip back until the pointer settles,
|
|
254
273
|
so a cursor passing over a row of buttons doesn't flash a bubble at each one;
|
|
255
274
|
raise it on dense toolbars. It delays only the **open**, and only for a
|
|
@@ -333,7 +352,13 @@ The value grammar has three forms, plus a directive argument for placement:
|
|
|
333
352
|
|
|
334
353
|
```vue
|
|
335
354
|
<!-- string (or number) shorthand: the value is the tooltip text -->
|
|
336
|
-
<
|
|
355
|
+
<BbButton
|
|
356
|
+
variant="ghost"
|
|
357
|
+
icon="lucide:info"
|
|
358
|
+
v-bb-tooltip="'Prices include VAT'"
|
|
359
|
+
>
|
|
360
|
+
About prices
|
|
361
|
+
</BbButton>
|
|
337
362
|
|
|
338
363
|
<!-- the directive argument sets placement -->
|
|
339
364
|
<BbButton
|
|
@@ -344,21 +369,36 @@ The value grammar has three forms, plus a directive argument for placement:
|
|
|
344
369
|
|
|
345
370
|
<!-- object form: a required `text` plus any BbTooltip prop
|
|
346
371
|
(placement, delay, variant, width, disabled, …) -->
|
|
347
|
-
<
|
|
372
|
+
<BbButton
|
|
348
373
|
v-bb-tooltip="{
|
|
349
374
|
text: 'Opens after 300ms, anchored right',
|
|
350
375
|
placement: 'right',
|
|
351
376
|
delay: 300,
|
|
352
377
|
variant: 'destructive',
|
|
353
378
|
}"
|
|
379
|
+
variant="ghost"
|
|
380
|
+
icon="lucide:trash-2"
|
|
354
381
|
>
|
|
355
|
-
|
|
356
|
-
</
|
|
382
|
+
Delete draft
|
|
383
|
+
</BbButton>
|
|
357
384
|
|
|
358
385
|
<!-- an empty value attaches nothing — safe to bind conditionally -->
|
|
359
386
|
<span v-bb-tooltip="isTruncated ? label : ''">{{ label }}</span>
|
|
360
387
|
```
|
|
361
388
|
|
|
389
|
+
**Put it on something keyboard focus reaches.** The tooltip opens on hover and
|
|
390
|
+
on keyboard focus, so its host decides who can read it. On a button or a link
|
|
391
|
+
everyone can. On a non-interactive element (a bare `BbIcon`, a `<span>`, an
|
|
392
|
+
`<svg>`) it is a pointer-only hint: it works, but keyboard and touch never open
|
|
393
|
+
it, so use that only when the tip repeats text already on the page (the
|
|
394
|
+
truncated cell above). An info icon is an icon-only ghost `BbButton`, its slot
|
|
395
|
+
text the name and the tip the description:
|
|
396
|
+
`<BbButton variant="ghost" icon="lucide:info" v-bb-tooltip="'Prices include VAT'">About prices</BbButton>`.
|
|
397
|
+
Text that must be readable on touch belongs in a `BbPopover` toggletip
|
|
398
|
+
(see the BbPopover guide, "Inline field help"). Never add a `tabindex` to an
|
|
399
|
+
icon to make it reachable: a focusable icon is a tab stop with no role, and it
|
|
400
|
+
takes the opening focus of a dialog or popover it sits in.
|
|
401
|
+
|
|
362
402
|
These grammar fences are intentionally **static** (not runnable): the guide's
|
|
363
403
|
live-example compiler mounts a bare template and cannot register a directive.
|
|
364
404
|
In a real SFC the directive just works — either globally (plugin) or by
|
|
@@ -456,7 +496,8 @@ const files: SharedFile[] = [
|
|
|
456
496
|
`pt` reaches a named part of the tooltip with a class list — or, in the
|
|
457
497
|
object form, a style and attributes — optionally only while a state is on.
|
|
458
498
|
Parts: `root` (the floating element, arrow included) and `panel` (the
|
|
459
|
-
bubble). State: `open`.
|
|
499
|
+
bubble). State: `open`. A `class`, `style` or attribute on `<BbTooltip>`
|
|
500
|
+
itself lands on `root` too.
|
|
460
501
|
|
|
461
502
|
The document-toolbar hints, restyled through those parts: a muted wash on
|
|
462
503
|
`pt:panel` (the bubble — default is the inverted primary), a drop shadow
|
|
@@ -564,6 +605,13 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
|
|
|
564
605
|
- **Keep the activator's `aria-label`.** The tooltip describes the control, it
|
|
565
606
|
does not name it — dropping the label because "the tooltip already says it"
|
|
566
607
|
breaks assistive tech (see Accessibility).
|
|
608
|
+
- **A `class` on `<BbTooltip>` styles the floating element, not the trigger
|
|
609
|
+
or the bubble's paint.** Attributes land on `root`, which wraps the bubble
|
|
610
|
+
and the arrow, and exists only from the first open. To style the trigger,
|
|
611
|
+
put the class on your element in `#activator`; to recolour the bubble and
|
|
612
|
+
its arrow, set `--bg` and `--border-color` (and `--fg`) on the tag
|
|
613
|
+
(`:style="{ '--bg': '#334155', '--border-color': '#334155' }"`); for the bubble's
|
|
614
|
+
spacing or type, use `pt:panel`.
|
|
567
615
|
- **Custom variant strings ship no CSS.** Anything beyond `'default'` and
|
|
568
616
|
`'destructive'` is a bare `bb-tooltip--<name>` class hook — if you haven't
|
|
569
617
|
written that CSS, the bubble silently renders with default paint.
|
|
@@ -584,8 +632,20 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
|
|
|
584
632
|
thing you just clicked.
|
|
585
633
|
- Because the bubble is not focusable and holds no interactive content, never
|
|
586
634
|
place a link or button inside it — use `BbPopover` for that.
|
|
635
|
+
- The visible bubble is `aria-hidden`: its text reaches assistive tech only as
|
|
636
|
+
the activator's description, so a tooltip rendered inside a `<label>` never
|
|
637
|
+
joins the control's name. Tests assert the activator's description, not a
|
|
638
|
+
`tooltip` role.
|
|
587
639
|
- The tooltip supplements an accessible name; it does not provide one. Icon-only
|
|
588
640
|
triggers still need their own `aria-label`.
|
|
641
|
+
- A tip whose text repeats the control's accessible name (the icon-only button
|
|
642
|
+
above) adds nothing for screen readers, which hear the name and then the same
|
|
643
|
+
words as the description: make the tip add information (a shortcut, a
|
|
644
|
+
consequence), or accept the repeat.
|
|
645
|
+
- Keyboard and touch reach the tip only through a focusable host: on a bare
|
|
646
|
+
icon or `<span>` it is pointer-only (see
|
|
647
|
+
[The `v-bb-tooltip` directive](#the-v-bb-tooltip-directive) for the info-tip
|
|
648
|
+
button).
|
|
589
649
|
|
|
590
650
|
## v-model
|
|
591
651
|
|
|
@@ -595,8 +655,8 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
|
|
|
595
655
|
|
|
596
656
|
| Prop | Type | Default | Required | Description |
|
|
597
657
|
| --- | --- | --- | --- | --- |
|
|
598
|
-
| `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: `panel`, `root`. States: `open`. 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 `BbTooltipProps['pt']` (`PtValue` is not exported): § Typing `pt` in `<script>`. |
|
|
599
|
-
| `activator` | `
|
|
658
|
+
| `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: `panel`, `root`. States: `default`, `destructive`, `open`. 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 `BbTooltipProps['pt']` (`PtValue` is not exported): § Typing `pt` in `<script>`. |
|
|
659
|
+
| `activator` | `ElementOrComponentRefOrSelector \| undefined` | | | External activator: an HTMLElement, a Vue component ref, or a CSS selector string (looked up in the document once the tooltip mounts). When provided, the activator slot is not rendered and event listeners are attached programmatically to the referenced element. |
|
|
600
660
|
| `arrowPadding` | `number \| undefined` | `10` | | Space the arrow will maintain to the edge of the tooltip bubble. Useful when the floating element has border radius so it won't appear broken |
|
|
601
661
|
| `boundary` | `ElementOrComponentRefOrSelector \| undefined` | | | Constrains the tooltip within a bounding element: it stays inside it alongside its trigger (sideways for a tooltip above or below); away from the trigger it may pass the edge, and it flips at the viewport only. Accepts an HTMLElement, a Vue component ref, or a CSS selector string. |
|
|
602
662
|
| `delay` | `number \| undefined` | `100` | | Milliseconds a pointer rests on the activator before the tooltip shows (`0`: at once). Keyboard focus shows it at once, and so does a pointer arriving while another tooltip shows or within 300 ms of one closing. |
|
|
@@ -626,6 +686,8 @@ States are listed in precedence order: when two are on at once and their entries
|
|
|
626
686
|
| State | When it is on |
|
|
627
687
|
| --- | --- |
|
|
628
688
|
| `open` | Component-wide: the tooltip is showing. |
|
|
689
|
+
| `default` | Component-wide: `variant: 'default'`. Merged after the part's base entry and before its states, so the real states still win. |
|
|
690
|
+
| `destructive` | Component-wide: `variant: 'destructive'`. Below the real states, like every variant. |
|
|
629
691
|
|
|
630
692
|
## Events
|
|
631
693
|
|
package/dist/ai/ChipsBox.md
CHANGED
|
@@ -79,4 +79,4 @@
|
|
|
79
79
|
- Listed nodes are the ones `ChipsBox`'s API reaches or that declare a documented CSS variable; the rest fold into "also mounts". The complete tree, repeats and undocumented locals included, is `manifest/components/ChipsBox.tree.json`.
|
|
80
80
|
|
|
81
81
|
- `ChipsBox` _(this component)_ — its own template binds: `badge` → `BbBadge`
|
|
82
|
-
- `BbBadge` _(public — [contract](./BbBadge.md))_ — its own pt parts (`BbBadge`): `spinner` → `BbSpinner`, `icon` → `BbIcon`, `clear` → `button.bb-badge__clear`; documented CSS variables: `--bg`, `--fg`, `--bw`, `--ring-color`, `--ring-size`, `--min-size-md`, `--min-size`, `--elev`, `--r`, `--fs`, `--icon-size`, `--gap`, `--px`, `--clear-size`, `--bg-disabled`, `--fg-disabled`, `--border-disabled`, `--pad-left`; also mounts `BbIcon`, `BbSpinner`, `BadgeBodyContent`
|
|
82
|
+
- `BbBadge` _(public — [contract](./BbBadge.md))_ — its own pt parts (`BbBadge`): `spinner` → `BbSpinner`, `icon` → `span.bb-badge__append-icon`, `icon` → `BbIcon`, `clear` → `button.bb-badge__clear`; documented CSS variables: `--bg`, `--fg`, `--bw`, `--ring-color`, `--ring-size`, `--min-size-md`, `--min-size`, `--elev`, `--r`, `--fs`, `--icon-size`, `--gap`, `--px`, `--clear-size`, `--bg-disabled`, `--fg-disabled`, `--border-disabled`, `--pad-left`; also mounts `BbIcon`, `BbSpinner`, `BadgeBodyContent`
|
package/dist/ai/CommonField.md
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
| `loading` | `boolean \| undefined` | `false` | | Whether the inner control is in a loading state. |
|
|
36
36
|
| `mobile` | `boolean \| undefined` | `false` | | Whether the inner control is in mobile viewport mode. |
|
|
37
37
|
| `name` | `string \| undefined` | | | Explicit name attribute forwarded to the input. When omitted, a slug derived from `label` is used. |
|
|
38
|
-
| `passthrough` | `(Partial<Record<FieldPtPart, Record<string, unknown>>> & { part?: ((part: FieldPtPart, states: Partial<Record<string, boolean>>, item?: unknown
|
|
38
|
+
| `passthrough` | `(Partial<Record<FieldPtPart, Record<string, unknown>>> & { part?: ((part: FieldPtPart, states: Partial<Record<string, boolean>>, item?: unknown, variant?: strin…` | | | Passthrough bindings resolved by the public control, one `v-bind` object per part (`root`, `label`, `description`, `message`: the errors OR the warnings), bound last. Internal: the public `pt:*` props are the surface. |
|
|
39
39
|
| `readonly` | `boolean \| undefined` | `false` | | Whether the inner control is readonly. |
|
|
40
40
|
| `reverse` | `boolean \| undefined` | `false` | | Swap the label and input columns. |
|
|
41
41
|
| `showAsterisk` | `boolean \| undefined` | `false` | | Render the required marker (`BbAsterisk`) after the label text. The control decides (useFormBinding); a `#label` slot gets it as `showAsterisk` and renders its own. |
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
| `hasErrors` | `boolean \| undefined` | `false` | | Define if the component should be in an error state. It usually attaches a CSS class for styling purposes. |
|
|
20
20
|
| `hasWarnings` | `boolean \| undefined` | `false` | | Define if the component should be in a warning state. Attaches a `--warnings` CSS class; suppressed when `hasErrors` is true. |
|
|
21
21
|
| `hideLabel` | `boolean \| undefined` | `false` | | Visually hides the label of the input while maintaining accessibility. |
|
|
22
|
+
| `indicatorReady` | `boolean \| undefined` | `false` | | With a `variant`: the indicators have been measured and painted, so they may transition. Until then the list is `--no-transition`. |
|
|
22
23
|
| `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. |
|
|
23
24
|
| `itemLabelAlign` | `'top'` \| `'center'` \| `'bottom'` | | | Vertical position of each option's label in its row. Omitted, it stays as it is. |
|
|
24
25
|
| `itemLayout` | `FieldLayout \| undefined` | `'auto'` | | How one row's input and label sit together: the keywords of a field's `layout`. Placed by the `-item--<keyword>` modifier. |
|
|
@@ -28,6 +29,7 @@
|
|
|
28
29
|
| `loadingText` | `string \| undefined` | | | String displayed while items are being loaded. |
|
|
29
30
|
| `options` | `Option<T>[]` | | yes | List of options to render. |
|
|
30
31
|
| `passthrough` | `PtBindings<"icon" \| "label" \| "item" \| "list" \| "itemDescription", RowPtState> \| undefined` | | | Passthrough resolver from the public owner: `list` (bound whole, group-wide states), `item` and `label` (per row, with its own on-state and `disabled`). The on-state goes under both `selected` and `checked`; a resolver ignores a state its component lacks. Internal. |
|
|
32
|
+
| `variant` | `string \| undefined` | | | A tab-strip look on the list (Q76.11 d): `--strip` plus the variant's class hook (`--pill`, `--line`, a registered name), the strip and its triggers (choice-strip.css). The owning group renders the indicators. |
|
|
31
33
|
|
|
32
34
|
## Events
|
|
33
35
|
|
|
@@ -41,3 +43,43 @@
|
|
|
41
43
|
- `label` — scope: `OptionsContainerLabelSlotProps<T>` `{ checked: boolean; item: T; text: string; description: string }` — Replaces the default label text for each option.
|
|
42
44
|
- `loading` — scope: `object` — Content shown while options are loading (replaces the default loading text).
|
|
43
45
|
- `prepend` — scope: `object` — Content rendered before the first option, inside the options container.
|
|
46
|
+
|
|
47
|
+
## CSS custom properties
|
|
48
|
+
|
|
49
|
+
Set these on the element, or on a class you put on it, to retune this component alone — the sanctioned alternative to reaching past the API with `:deep()`. They are this component's own locals — a **Set on** of `pt:<part>` means the local lives on that part's element, so set it through that entry (`pt:box="[--border-color:var(--color-green-500)]"`); the global `--bb-*` theme tokens are a separate tier (see the [design-tokens guide](./guides/design-tokens.md), or the MCP `list_tokens` tool).
|
|
50
|
+
|
|
51
|
+
| Property | Set on | Default | What it is |
|
|
52
|
+
| --- | --- | --- | --- |
|
|
53
|
+
| `--list-bg` | `.bb-radio-group__list--strip` | `color-mix(in oklab, var(--bb-text) 8%, transparent)` | The strip behind the triggers |
|
|
54
|
+
| `--list-border` | `.bb-radio-group__list--strip` | `transparent` | The strip's edge line, --bb-border-w thick, painted inside the strip: under the triggers (beside them when vertical). `pill` draws none; `line` sets it to --bb-border |
|
|
55
|
+
| `--p` | `.bb-radio-group__list--strip` | `3px` | strip inner padding — the gutter the indicator sits in, and the scroll inset |
|
|
56
|
+
| `--list-r` | `.bb-radio-group__list--strip` | `var(--bb-radius)` | strip corners |
|
|
57
|
+
| `--list-h` | `.bb-radio-group__list--strip` | `var(--bb-control-h)` | strip min height |
|
|
58
|
+
| `--fs` | `.bb-radio-group__list--strip` | `var(--bb-fs)` | trigger label size |
|
|
59
|
+
| `--trigger-gap` | `.bb-radio-group__list--strip` | `0px` | space between triggers |
|
|
60
|
+
| `--trigger-px` | `.bb-radio-group__list--strip` | `10px` | trigger side padding |
|
|
61
|
+
| `--trigger-r` | `.bb-radio-group__list--strip` | `calc(var(--list-r) - var(--p))` | Trigger corners, concentric inside --list-r |
|
|
62
|
+
| `--trigger-min-h` | `.bb-radio-group__list--strip` | `calc(var(--list-h) - var(--p) * 2)` | Trigger height inside the padded strip |
|
|
63
|
+
| `--list-fg` | `.bb-radio-group__list--strip` | `var(--bb-text-muted)` | unchecked trigger label |
|
|
64
|
+
| `--hover-fg` | `.bb-radio-group__list--strip` | `var(--bb-text)` | hovered trigger label |
|
|
65
|
+
| `--active-fg` | `.bb-radio-group__list--strip` | `var(--bb-text)` | checked trigger label |
|
|
66
|
+
| `--active-fw` | `.bb-radio-group__list--strip` | `500` | checked trigger label weight (unchecked labels are 500) |
|
|
67
|
+
| `--indicator-bg` | `.bb-radio-group__list--strip` | `var(--bb-panel)` | the indicator's fill |
|
|
68
|
+
| `--indicator-border` | `.bb-radio-group__list--strip` | `color-mix(in oklab, var(--bb-text) 8%, transparent)` | The indicator's edge |
|
|
69
|
+
| `--indicator-r` | `.bb-radio-group__list--strip` | `var(--trigger-r)` | The indicator's corners — the pill's, concentric inside --list-r |
|
|
70
|
+
| `--indicator-h` | `.bb-radio-group__list--strip` | `initial` | The indicator's thickness: its height, its width on a vertical strip. `initial` fills the whole trigger box — the pill; a bar is `2px`, on the trigger's bottom edge (inline-end edge when vertical) |
|
|
71
|
+
| `--indicator-inset` | `.bb-radio-group__list--strip` | `0px` | Inset of the indicator from the trigger box — shrinks the pill; a bar keeps its thickness, shortens by it at both ends and floats it above the edge |
|
|
72
|
+
| `--elev` | `.bb-radio-group__list--strip` | `var(--bb-elev)` | The theme's resting lift, composed UNDER the indicator's own shadow |
|
|
73
|
+
| `--indicator-shadow` | `.bb-radio-group__list--strip` | `var(--bb-shadow-sm)` | Indicator lift, painted on top of --elev |
|
|
74
|
+
| `--list-bg` | `.bb-radio-group__list--line` | `transparent` | |
|
|
75
|
+
| `--list-border` | `.bb-radio-group__list--line` | `var(--bb-border)` | |
|
|
76
|
+
| `--p` | `.bb-radio-group__list--line` | `0px` | |
|
|
77
|
+
| `--list-r` | `.bb-radio-group__list--line` | `0px` | |
|
|
78
|
+
| `--trigger-r` | `.bb-radio-group__list--line` | `var(--bb-radius-sm)` | |
|
|
79
|
+
| `--active-fw` | `.bb-radio-group__list--line` | `600` | |
|
|
80
|
+
| `--indicator-bg` | `.bb-radio-group__list--line` | `var(--bb-primary)` | |
|
|
81
|
+
| `--indicator-border` | `.bb-radio-group__list--line` | `transparent` | |
|
|
82
|
+
| `--indicator-r` | `.bb-radio-group__list--line` | `0` | |
|
|
83
|
+
| `--indicator-h` | `.bb-radio-group__list--line` | `2px` | |
|
|
84
|
+
| `--indicator-shadow` | `.bb-radio-group__list--line` | `none` | |
|
|
85
|
+
| `--elev` | `.bb-radio-group__list--line` | `none` | |
|