bitboss-ui 3.0.0-beta.74 → 3.0.0-beta.76
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 +5 -5
- package/bin/cli.mjs +16 -10
- package/dist/ai/BbAlert.md +1 -1
- package/dist/ai/BbAvatar.md +86 -58
- package/dist/ai/BbBadge.md +1 -1
- package/dist/ai/BbBreadcrumbs.md +3 -3
- package/dist/ai/BbButton.md +4 -4
- package/dist/ai/BbCalendar.md +5 -2
- package/dist/ai/BbCheckboxGroup.md +5 -4
- package/dist/ai/BbColorInput.md +13 -1
- package/dist/ai/BbColorPalette.md +12 -7
- package/dist/ai/BbConfirm.md +1 -1
- package/dist/ai/BbDatePicker.md +13 -1
- package/dist/ai/BbDatePickerInput.md +18 -2
- package/dist/ai/BbDialog.md +6 -3
- package/dist/ai/BbDropdown.md +174 -77
- package/dist/ai/BbDropdownButton.md +37 -16
- package/dist/ai/BbGallery.md +3 -2
- package/dist/ai/BbIcon.md +10 -10
- package/dist/ai/BbNumberInput.md +3 -1
- package/dist/ai/BbOffCanvas.md +3 -2
- package/dist/ai/BbPopover.md +1 -1
- package/dist/ai/BbRadioGroup.md +4 -4
- package/dist/ai/BbSelect.md +227 -105
- package/dist/ai/BbSelectPopover.md +139 -14
- package/dist/ai/BbSwitchGroup.md +5 -4
- package/dist/ai/BbTable.md +18 -17
- package/dist/ai/BbTimePicker.md +13 -1
- package/dist/ai/BbTimePickerInput.md +16 -2
- package/dist/ai/BbToast.md +3 -2
- package/dist/ai/BbTree.md +5 -1
- package/dist/ai/CommonPopover.md +1 -0
- package/dist/ai/FlatListBox.md +1 -0
- package/dist/ai/GroupedListBox.md +3 -2
- package/dist/ai/ListBox.md +4 -2
- package/dist/ai/OptionsContainer.md +4 -4
- package/dist/ai/changelog.json +310 -7
- package/dist/ai/components.json +33 -35
- package/dist/ai/composables/useToast.md +2 -2
- package/dist/ai/design-tokens.json +60 -0
- package/dist/ai/guides/agent-contract.md +9 -5
- package/dist/ai/guides/calendars-and-digits.md +1 -1
- package/dist/ai/guides/design-tokens.md +13 -0
- package/dist/ai/guides/eslint-rules.md +1 -1
- package/dist/ai/guides/fetch-items-playbook.md +7 -11
- package/dist/ai/guides/icons-policy.md +32 -11
- package/dist/ai/guides/installation-and-plugin-setup.md +24 -23
- package/dist/ai/guides/migration/adoption-checklist.md +1 -1
- package/dist/ai/guides/migration/components/bb-color-palette.md +11 -11
- package/dist/ai/guides/migration/components/bb-dropdown-button.md +1 -0
- package/dist/ai/guides/migration/components/bb-dropdown.md +1 -0
- package/dist/ai/guides/migration/components/bb-icon.md +4 -4
- package/dist/ai/guides/migration/components/bb-table.md +2 -1
- package/dist/ai/guides/migration/components/bb-toast.md +2 -2
- package/dist/ai/guides/migration/v2-to-v3.md +70 -24
- package/dist/ai/guides/migration/v3-beta-css-classes.md +18 -3
- package/dist/ai/guides/migration/v3-beta-tooling.md +1 -0
- package/dist/ai/guides/passthrough.md +58 -58
- package/dist/ai/helpers/inertia/manifest.json +1 -1
- package/dist/ai/index.md +1 -1
- package/dist/ai/manifest/common.json +1 -0
- package/dist/ai/manifest/components/BbAvatar.json +5 -2
- package/dist/ai/manifest/components/BbAvatar.tree.json +32 -2
- package/dist/ai/manifest/components/BbCarousel.json +0 -3
- package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
- package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +2 -0
- package/dist/ai/manifest/components/BbColorInput.json +5 -2
- package/dist/ai/manifest/components/BbColorPalette.json +5 -2
- package/dist/ai/manifest/components/BbColorPalette.removed.json +1 -2
- package/dist/ai/manifest/components/BbDatePicker.json +3 -0
- package/dist/ai/manifest/components/BbDatePickerInput.json +3 -0
- package/dist/ai/manifest/components/BbDialog.tree.json +3 -1
- package/dist/ai/manifest/components/BbDropdown.json +36 -28
- package/dist/ai/manifest/components/BbDropdown.removed.json +2 -1
- package/dist/ai/manifest/components/BbDropdown.tree.json +21 -11
- package/dist/ai/manifest/components/BbDropdownButton.json +24 -16
- package/dist/ai/manifest/components/BbDropdownButton.removed.json +2 -1
- package/dist/ai/manifest/components/BbDropdownButton.tree.json +4 -0
- package/dist/ai/manifest/components/BbGallery.tree.json +1 -1
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +3 -1
- package/dist/ai/manifest/components/BbRadioGroup.json +2 -2
- package/dist/ai/manifest/components/BbRadioGroup.tree.json +2 -0
- package/dist/ai/manifest/components/BbSelect.json +47 -40
- package/dist/ai/manifest/components/BbSelect.tree.json +2 -1
- package/dist/ai/manifest/components/BbSelectPopover.json +14 -7
- package/dist/ai/manifest/components/BbSelectPopover.tree.json +9 -2
- package/dist/ai/manifest/components/BbSwitchGroup.json +2 -2
- package/dist/ai/manifest/components/BbSwitchGroup.tree.json +2 -0
- package/dist/ai/manifest/components/BbTable.json +6 -6
- package/dist/ai/manifest/components/BbTable.tree.json +9 -1
- package/dist/ai/manifest/components/BbTimePicker.json +5 -2
- package/dist/ai/manifest/components/BbTimePickerInput.json +5 -2
- package/dist/ai/manifest/components/BbTree.json +1 -1
- package/dist/ai/manifest/components/CommonPopover.json +1 -0
- package/dist/ai/manifest/components/FlatListBox.json +2 -1
- package/dist/ai/manifest/components/GroupedListBox.json +3 -2
- package/dist/ai/manifest/components/GroupedListBox.tree.json +1 -0
- package/dist/ai/manifest/components/ListBox.json +3 -2
- package/dist/ai/manifest/components/ListBox.tree.json +1 -1
- package/dist/ai/manifest/components/OptionsContainer.json +6 -4
- package/dist/ai/manifest/index.json +2 -2
- package/dist/ai/manifest/meta.json +0 -3
- package/dist/ai/manifest/types.advanced.json +6 -6
- package/dist/ai/manifest/types.api.json +1 -3
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/inertia/onboarding.md +1 -1
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/nuxt/onboarding.md +1 -1
- package/dist/ai/recipes/vue/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/vue/onboarding.md +2 -2
- package/dist/ai/source/BbAccordion.md +4 -5
- package/dist/ai/source/BbAvatar.md +128 -11
- package/dist/ai/source/BbBadge.md +18 -7
- package/dist/ai/source/BbBreadcrumbs.md +57 -56
- package/dist/ai/source/BbButton.md +41 -25
- package/dist/ai/source/BbCalendar.md +8 -6
- package/dist/ai/source/BbCarousel.md +41 -34
- package/dist/ai/source/BbCheckboxGroup.md +15 -9
- package/dist/ai/source/BbColorInput.md +19 -0
- package/dist/ai/source/BbColorPalette.md +23 -2
- package/dist/ai/source/BbDatePicker.md +18 -0
- package/dist/ai/source/BbDatePickerInput.md +47 -3
- package/dist/ai/source/BbDialog.md +14 -1
- package/dist/ai/source/BbDropdown.md +296 -99
- package/dist/ai/source/BbDropdownButton.md +61 -19
- package/dist/ai/source/BbDropdownGroup.md +189 -98
- package/dist/ai/source/BbGallery.md +82 -60
- package/dist/ai/source/BbHost.md +12 -0
- package/dist/ai/source/BbNumberInput.md +17 -10
- package/dist/ai/source/BbOffCanvas.md +14 -1
- package/dist/ai/source/BbPagination.md +12 -28
- package/dist/ai/source/BbRadioGroup.md +12 -5
- package/dist/ai/source/BbRating.md +4 -4
- package/dist/ai/source/BbSelect.md +151 -112
- package/dist/ai/source/BbSelectPopover.md +244 -29
- package/dist/ai/source/BbSwitchGroup.md +11 -4
- package/dist/ai/source/BbTable.md +114 -35
- package/dist/ai/source/BbTimePicker.md +19 -0
- package/dist/ai/source/BbTimePickerInput.md +21 -2
- package/dist/ai/source/BbToast.md +2 -2
- package/dist/ai/source/BbToastPortal.md +2 -2
- package/dist/ai/source/BbTree.md +1 -1
- package/dist/ai/source/ClearableButton.md +4 -2
- package/dist/ai/source/CommonPopover.md +24 -1
- package/dist/ai/source/ErrorIcon.md +4 -3
- package/dist/ai/source/FlatListBox.md +33 -7
- package/dist/ai/source/GroupedListBox.md +85 -14
- package/dist/ai/source/ListBox.md +11 -1
- package/dist/ai/source/OptionsContainer.md +29 -11
- package/dist/ai/source/WarningIcon.md +4 -3
- package/dist/assets/svgs/close.svg_raw.js +1 -1
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
- package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +35 -34
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -0
- package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +62 -43
- package/dist/components/BbAvatar/avatarIdentity.js +25 -0
- package/dist/components/BbAvatar/ptKeys.generated.d.ts +5 -1
- package/dist/components/BbAvatar/types.d.ts +24 -5
- package/dist/components/BbAvatar/types.js +5 -1
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +24 -23
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +66 -64
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +141 -146
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +100 -85
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +1 -1
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +240 -239
- package/dist/components/BbCalendar/useDayGrid.js +120 -123
- package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +503 -502
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +4 -4
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +126 -122
- package/dist/components/BbCheckboxGroup/types.d.ts +7 -11
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +2 -0
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +148 -141
- package/dist/components/BbColorInput/types.d.ts +7 -0
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -0
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +208 -196
- package/dist/components/BbColorPalette/types.d.ts +7 -0
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +3 -1
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +84 -73
- package/dist/components/BbDatePicker/types.d.ts +7 -0
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +496 -510
- package/dist/components/BbDatePickerInput/types.d.ts +7 -0
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +219 -211
- package/dist/components/BbDialog/leaveGhost.js +22 -17
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +106 -100
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -0
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +416 -369
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +404 -354
- package/dist/components/BbDropdown/DropdownFailures.vue.js +4 -0
- package/dist/components/BbDropdown/DropdownFailures.vue_vue_type_script_setup_true_lang.js +24 -0
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +117 -102
- package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +67 -38
- package/dist/components/BbDropdown/normalizeGroups.js +6 -2
- package/dist/components/BbDropdown/ptKeys.generated.d.ts +44 -20
- package/dist/components/BbDropdown/types.d.ts +109 -87
- package/dist/components/BbDropdown/types.js +3 -0
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +3 -1
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +101 -65
- package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +153 -57
- package/dist/components/BbDropdownButton/types.d.ts +23 -10
- package/dist/components/BbDropdownButton/types.js +4 -0
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
- package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +335 -312
- package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +7 -1
- package/dist/components/BbIcon/iconCache.js +1 -1
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +9 -5
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +152 -144
- package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -2
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +138 -136
- package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -4
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +108 -104
- package/dist/components/BbRadioGroup/types.d.ts +4 -7
- package/dist/components/BbRating/BbRating.vue.d.ts +1 -1
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +100 -99
- package/dist/components/BbSelect/BbSelect.vue.d.ts +32 -20
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +217 -196
- package/dist/components/BbSelect/ptKeys.generated.d.ts +128 -96
- package/dist/components/BbSelect/types.d.ts +110 -111
- package/dist/components/BbSelect/types.js +1 -27
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +8 -3
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +728 -653
- package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +22 -10
- package/dist/components/BbSelectPopover/types.d.ts +32 -17
- package/dist/components/BbSelectPopover/types.js +3 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +159 -155
- package/dist/components/BbSwitchGroup/types.d.ts +3 -6
- package/dist/components/BbTable/BbTable.vue.d.ts +2 -4
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1171 -1152
- package/dist/components/BbTable/BbTableDataRow.js +97 -90
- package/dist/components/BbTable/types.d.ts +11 -10
- package/dist/components/BbTabs/BbTabs.vue.d.ts +3 -3
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +4 -2
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +145 -134
- package/dist/components/BbTimePicker/types.d.ts +7 -0
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +4 -2
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +290 -280
- package/dist/components/BbTimePickerInput/types.d.ts +7 -0
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +79 -78
- package/dist/components/BbToast/types.d.ts +2 -2
- package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +56 -46
- package/dist/components/BbTree/types.d.ts +1 -1
- package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +9 -8
- package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
- package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +9 -7
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +13 -1
- package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +8 -6
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +122 -102
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +182 -153
- package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +7 -4
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +86 -77
- package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +8 -6
- package/dist/composables/useInternalIcon.js +25 -0
- package/dist/composables/useItemsGetter.js +34 -32
- package/dist/composables/useOpenModel.js +20 -0
- package/dist/deprecation/ai-deprecations.json.js +1 -1
- package/dist/i18n/locales/ar.json +2 -0
- package/dist/i18n/locales/cs.json +2 -0
- package/dist/i18n/locales/da.json +2 -0
- package/dist/i18n/locales/de-CH.json +2 -0
- package/dist/i18n/locales/de.json +2 -0
- package/dist/i18n/locales/el.json +2 -0
- package/dist/i18n/locales/en-GB.json +2 -0
- package/dist/i18n/locales/en.json +2 -0
- package/dist/i18n/locales/es-MX.json +2 -0
- package/dist/i18n/locales/es.json +2 -0
- package/dist/i18n/locales/fa.json +2 -0
- package/dist/i18n/locales/fi.json +2 -0
- package/dist/i18n/locales/fr.json +2 -0
- package/dist/i18n/locales/he.json +2 -0
- package/dist/i18n/locales/hu.json +2 -0
- package/dist/i18n/locales/it.json +2 -0
- package/dist/i18n/locales/ja.json +2 -0
- package/dist/i18n/locales/ko.json +2 -0
- package/dist/i18n/locales/nb.json +2 -0
- package/dist/i18n/locales/nl.json +2 -0
- package/dist/i18n/locales/pl.json +2 -0
- package/dist/i18n/locales/pt-BR.json +2 -0
- package/dist/i18n/locales/pt-PT.json +2 -0
- package/dist/i18n/locales/ro.json +2 -0
- package/dist/i18n/locales/ru.json +2 -0
- package/dist/i18n/locales/sv.json +2 -0
- package/dist/i18n/locales/tr.json +2 -0
- package/dist/i18n/locales/uk.json +2 -0
- package/dist/i18n/locales/zh-CN.json +2 -0
- package/dist/i18n/locales/zh-HK.json +2 -0
- package/dist/i18n/locales/zh-TW.json +2 -0
- package/dist/icon-scan.d.ts +1 -1
- package/dist/icon-scan.js +68 -61
- package/dist/index.d.ts +2 -2
- package/dist/llms-full.txt +1038 -451
- package/dist/llms-medium.txt +33 -28
- package/dist/llms.txt +2 -2
- package/dist/locale-blueprint.json +2 -0
- package/dist/nuxt.js +1 -1
- package/dist/styles.css +2 -2
- package/dist/types/ActionButton.d.ts +2 -3
- package/dist/types/Config.d.ts +8 -1
- package/dist/types/ConfigDefaults.d.ts +10 -2
- package/dist/types/Option.d.ts +10 -0
- package/dist/types/internalIcons.d.ts +89 -0
- package/dist/types/internalIcons.js +158 -0
- package/dist/types/ptComponentMap.d.ts +5 -5
- package/dist/utilities/functions/slotContent.js +19 -0
- package/dist/utils/configDefaults.js +75 -64
- package/dist/utils/iconsOption.js +48 -0
- package/dist/utils/loadRetry.js +8 -0
- package/dist/utils/versionCheck.js +1 -1
- package/dist/vite-plugin.d.ts +10 -16
- package/dist/vite.js +323 -307
- package/llms.txt +2 -2
- package/package.json +3 -1
- package/scripts/README.md +2 -0
- package/scripts/lib/adoption-checklist.json +1 -1
- package/scripts/lib/agent-setup.mjs +44 -26
- package/scripts/lib/update-install.mjs +48 -0
- package/scripts/lib/validate-bb-markup.mjs +93 -12
- package/dist/ai/manifest/components/BbAvatar.removed.json +0 -6
- package/dist/assets/svgs/caret_down.svg_raw.js +0 -3
|
@@ -81,8 +81,8 @@ Nothing catches this for you — `dismissAll` is not a template attribute, so
|
|
|
81
81
|
`rg -n 'dismissAll' --type ts --type js --type vue`. Hits on a `useConfirm()`
|
|
82
82
|
destructure are fine: `dismissAll` is **new** there, and unrelated.
|
|
83
83
|
|
|
84
|
-
Notes on `actions` (additive but with rules): handlers run with a spinner
|
|
85
|
-
|
|
84
|
+
Notes on `actions` (additive but with rules): handlers run with a spinner,
|
|
85
|
+
siblings ignore clicks meanwhile, and they hold the dismiss timer; portal toasts ignore `actions`.
|
|
86
86
|
Styling hooks moved from `theme` classes to `bb-toast__panel--<variant>` —
|
|
87
87
|
custom looks register through the plugin's `components.BbToast.variants` option
|
|
88
88
|
([main guide §4](../v2-to-v3.md)).
|
|
@@ -149,7 +149,7 @@ export default defineConfig({
|
|
|
149
149
|
plugins: [
|
|
150
150
|
vue(),
|
|
151
151
|
bitbossUi({
|
|
152
|
-
|
|
152
|
+
icons: { dir: './src/assets/icons' }, // required — create the folder
|
|
153
153
|
}),
|
|
154
154
|
],
|
|
155
155
|
});
|
|
@@ -167,14 +167,14 @@ app.mount('#app');
|
|
|
167
167
|
|
|
168
168
|
Migration deltas, one by one:
|
|
169
169
|
|
|
170
|
-
| v2 | v3
|
|
171
|
-
| -------------------------------------------------------------------------- |
|
|
172
|
-
| `import 'bitboss-ui/styles.css'` in the entry file | **Delete it.** The runtime plugin auto-injects styles (`injectStyles` defaults `true`). Keep a manual import only if you set `injectStyles: false` — see the Tailwind exception below.
|
|
173
|
-
| No build plugin | **Add `bitbossUi({
|
|
174
|
-
| `app.use(BbTooltipDirectivePlugin)` / `app.use(BbDropdownDirectivePlugin)` | **Delete both.** `bitbossUiPlugin` registers `v-bb-tooltip` and `v-bb-dropdown` itself (opt out with `injectDirectives: false` if the names collide).
|
|
175
|
-
| No reset stylesheet | Optional: `resetCss: true` or `import 'bitboss-ui/reset.css'`. Skip in Tailwind apps — Preflight already does this.
|
|
176
|
-
| Icons registered by augmenting the `IconRegistry` type | **Gone** (the `IconRegistry` export no longer exists — see section 5). Drop `.svg` files into `
|
|
177
|
-
| A hand-rolled icon plugin doing `app.provide('icons', { … })` | **Delete it** and move the art into `
|
|
170
|
+
| v2 | v3 |
|
|
171
|
+
| -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
172
|
+
| `import 'bitboss-ui/styles.css'` in the entry file | **Delete it.** The runtime plugin auto-injects styles (`injectStyles` defaults `true`). Keep a manual import only if you set `injectStyles: false` — see the Tailwind exception below. |
|
|
173
|
+
| No build plugin | **Add `bitbossUi({ icons: { dir } })`** to `vite.config.ts` (or the `bitboss-ui/nuxt` module). The app does not build without it — components import the virtual config module. |
|
|
174
|
+
| `app.use(BbTooltipDirectivePlugin)` / `app.use(BbDropdownDirectivePlugin)` | **Delete both.** `bitbossUiPlugin` registers `v-bb-tooltip` and `v-bb-dropdown` itself (opt out with `injectDirectives: false` if the names collide). |
|
|
175
|
+
| No reset stylesheet | Optional: `resetCss: true` or `import 'bitboss-ui/reset.css'`. Skip in Tailwind apps — Preflight already does this. |
|
|
176
|
+
| Icons registered by augmenting the `IconRegistry` type | **Gone** (the `IconRegistry` export no longer exists — see section 5). Drop `.svg` files into `icons.dir` and reference them as `local:<name>`; provider icons (`lucide:*`, `mdi:*`, …) need the matching `@iconify-json/*` dev dependency. |
|
|
177
|
+
| A hand-rolled icon plugin doing `app.provide('icons', { … })` | **Delete it** and move the art into `icons.dir`. See the shadowing warning below — this one is silent. |
|
|
178
178
|
|
|
179
179
|
### ⚠ silent — a hand-rolled `provide('icons', …)` is shadowed, not merged
|
|
180
180
|
|
|
@@ -184,7 +184,7 @@ icon plugin typically uses. `BbIcon` reads the **Symbol first**
|
|
|
184
184
|
(`inject(ICONS_INJECTION_KEY) ?? inject('icons')`), so once the library plugin
|
|
185
185
|
is installed your own `provide('icons', …)` map never wins. Any glyph that
|
|
186
186
|
existed only in that map stops resolving, and nothing warns. Move those SVGs
|
|
187
|
-
into `
|
|
187
|
+
into `icons.dir` and reference them as `local:<name>`.
|
|
188
188
|
|
|
189
189
|
App code that still calls `inject('icons')` now receives the **library's**
|
|
190
190
|
registry object, not yours. The string key is a one-release compatibility shim
|
|
@@ -205,7 +205,7 @@ manual import and turn injection off:
|
|
|
205
205
|
|
|
206
206
|
```ts
|
|
207
207
|
// vite.config.ts
|
|
208
|
-
bitbossUi({
|
|
208
|
+
bitbossUi({ icons: { dir: './src/assets/icons' }, injectStyles: false });
|
|
209
209
|
```
|
|
210
210
|
|
|
211
211
|
```ts
|
|
@@ -227,7 +227,7 @@ v3 ships a module that does both halves — do **not** also call `app.use`:
|
|
|
227
227
|
export default defineNuxtConfig({
|
|
228
228
|
modules: ['bitboss-ui/nuxt'],
|
|
229
229
|
bitboss: {
|
|
230
|
-
|
|
230
|
+
icons: { dir: './assets/icons' },
|
|
231
231
|
},
|
|
232
232
|
});
|
|
233
233
|
```
|
|
@@ -241,8 +241,8 @@ not rewriting setup.
|
|
|
241
241
|
|
|
242
242
|
| `@bitboss-dev/bitboss-ui-nuxt` option | v3 `bitboss-ui/nuxt` |
|
|
243
243
|
| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
244
|
-
| `icons.path` | `
|
|
245
|
-
| `icons.enabled: false` | **Gone** — the icon pipeline is not optional in v3; components import the virtual icon module. Point `
|
|
244
|
+
| `icons.path` | `icons.dir`. Same job. |
|
|
245
|
+
| `icons.enabled: false` | **Gone** — the icon pipeline is not optional in v3; components import the virtual icon module. Point `icons.dir` at an empty folder if you ship no local art. |
|
|
246
246
|
| `styles.enabled` | `injectStyles` (still defaults `true`). |
|
|
247
247
|
| `styles.index` | **Gone**, and nothing replaces it — see the ordering note below. |
|
|
248
248
|
| `link.name` | `nuxtLinkName` (still defaults `'NuxtLink'`). |
|
|
@@ -264,7 +264,7 @@ or opt back in:
|
|
|
264
264
|
export default defineNuxtConfig({
|
|
265
265
|
modules: ['bitboss-ui/nuxt'],
|
|
266
266
|
bitboss: {
|
|
267
|
-
|
|
267
|
+
icons: { dir: './assets/icons' },
|
|
268
268
|
autoImport: true, // BbForm and the form controls included
|
|
269
269
|
},
|
|
270
270
|
});
|
|
@@ -331,7 +331,7 @@ the `components` map:
|
|
|
331
331
|
```ts
|
|
332
332
|
// v3
|
|
333
333
|
bitbossUi({
|
|
334
|
-
|
|
334
|
+
icons: { dir: './src/assets/icons' },
|
|
335
335
|
inertiaLinkName: 'Link',
|
|
336
336
|
mobileMaxWidth: 768,
|
|
337
337
|
components: { BbDialog: { sizeMap: { md: 700 } } },
|
|
@@ -375,7 +375,7 @@ without any error. If your app relied on the v2 widths, pin them explicitly:
|
|
|
375
375
|
|
|
376
376
|
```ts
|
|
377
377
|
bitbossUi({
|
|
378
|
-
|
|
378
|
+
icons: { dir: '…' },
|
|
379
379
|
components: {
|
|
380
380
|
BbDialog: { sizeMap: { md: 652, lg: 896 } },
|
|
381
381
|
BbOffCanvas: { sizeMap: { md: 652, lg: 896 } },
|
|
@@ -802,7 +802,7 @@ modifier class), register the name and ship its CSS:
|
|
|
802
802
|
```ts
|
|
803
803
|
// vite.config.ts
|
|
804
804
|
bitbossUi({
|
|
805
|
-
|
|
805
|
+
icons: { dir: '…' },
|
|
806
806
|
components: {
|
|
807
807
|
BbButton: { variants: ['brand'] },
|
|
808
808
|
BbBadge: { variants: ['soft-blue'] },
|
|
@@ -853,7 +853,7 @@ every occurrence; this section explains each pattern once.
|
|
|
853
853
|
| `BbRatio` (+ `BbRatioProps`, `.bb-ratio`) | **removed** | No replacement — it was a one-rule wrapper. Use the `aspect-ratio` CSS property, or copy the v2 component. |
|
|
854
854
|
| `useQueue`, `useQuery` | **removed** | Both were public v2 exports and neither has a v3 equivalent; the import fails at build. Copy the v2 implementations out of the 2.1.135 tarball (`dist/composables/useQueue.d.ts`, `useQuery.d.ts`) into your app, or replace them with `@vueuse/core` equivalents. |
|
|
855
855
|
| `BbToastMessage` type export | **removed** | Use `BbToastOptions` (the `toast()` options shape). |
|
|
856
|
-
| `IconRegistry` / `IconNameFromRegistry` exports | **removed** | Icon names are plain strings now. Local art goes in `
|
|
856
|
+
| `IconRegistry` / `IconNameFromRegistry` exports | **removed** | Icon names are plain strings now. Local art goes in `icons.dir` as `local:<name>`; delete your `IconRegistry` augmentation. |
|
|
857
857
|
| `BbConfirm` + `BbToast` (the hosts; `BbConfirmProps`, `BbToastProps`) | **removed** — delete the tags: the plugin renders `<BbHost />` | Delete both tags: the plugin renders a `<BbHost />` beside the app (after 3.0.0-beta.65; one placed at the app root since beta.56 keeps working). It renders every `confirm()` and `toast()`, takes no props, and a second one renders nothing. Their settings moved to the plugin config: `<BbConfirm size>` → `confirm: { defaultSize }`, `<BbToast position>` → `toastPosition`, the hosts' `pt` / `pt:*` → the build-time `pt.BbConfirm` / `pt.BbToast` maps. `<BbConfirmPortal>`, `<BbToastPortal>`, `confirm()` and `toast()` are unchanged. With no host, `confirm()` now resolves `false` after one second instead of hanging. |
|
|
858
858
|
|
|
859
859
|
### 5.2 The polarity wave: booleans now read as opt-in
|
|
@@ -1018,6 +1018,14 @@ to the new name (`hide-close`).
|
|
|
1018
1018
|
work. The v3 prereleases up to beta.32 exported this union as
|
|
1019
1019
|
`InputDirection`; that type export is gone — import `FieldLayout` (for
|
|
1020
1020
|
`layout` / `itemLayout`) or `ListLayout` (for `listLayout`) instead.
|
|
1021
|
+
- **Slot scope types**: each component exports its whole slots type
|
|
1022
|
+
(`BbCarouselSlots<T>`, `BbDropdownSlots`); index it for one slot. The v3
|
|
1023
|
+
prereleases up to beta.74 also exported `BbCarouselSlotProps` and
|
|
1024
|
+
`BbDropdownItemSlotProps`; those exports are gone — write
|
|
1025
|
+
`Parameters<BbCarouselSlots<Photo>['slide']>[0]` or
|
|
1026
|
+
`Parameters<BbDropdownSlots['item:prepend']>[0]`. The portal scopes
|
|
1027
|
+
(`BbConfirmPortalSlotProps`, `BbHoverCardPortalSlotProps`,
|
|
1028
|
+
`BbPopoverPortalSlotProps`, `DirectivePortalSlotProps`) stay.
|
|
1021
1029
|
|
|
1022
1030
|
- **Fall-through attributes are typed** (after 3.0.0-beta.65): each
|
|
1023
1031
|
component's props type carries Vue's attribute type of the element its
|
|
@@ -1674,11 +1682,13 @@ Nothing here fails to compile — these change what existing code does.
|
|
|
1674
1682
|
Two behaviours moved with it. **A provider signals a failure by throwing**,
|
|
1675
1683
|
never by returning `[]` (an empty array is a real, applied result): the
|
|
1676
1684
|
rows are cleared so stale rows never sit under a new filter, nothing is
|
|
1677
|
-
pruned, nothing reaches the SSR payload, and the
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
`
|
|
1685
|
+
pruned, nothing reaches the SSR payload, and the component shows its own
|
|
1686
|
+
failure row: the new `failed-text` prop — default "Couldn't load items"
|
|
1687
|
+
— then a "Try again" button that runs the failed call again. `#empty`
|
|
1688
|
+
means empty: it never renders for a failure, and its scope has no
|
|
1689
|
+
`error` (the v3 prereleases up to beta.74 handed it one; move that
|
|
1690
|
+
branch's copy to `failed-text` and drop any retry counter you listed in
|
|
1691
|
+
`dependencies`). And **one coherence rule for every family**:
|
|
1682
1692
|
`enforce-coherence` prunes only after an applied, successful, non-search
|
|
1683
1693
|
load — an EMPTY one included, so a legitimately empty dependent list drops
|
|
1684
1694
|
its stale picks. `BbDropdown` used to skip empty results; if a group relied
|
|
@@ -2964,6 +2974,42 @@ nullValue }, BbTextarea: { nullValue } }`, same values (`'null'` /
|
|
|
2964
2974
|
A nested table still paints nothing. A `background: var(--bg)` on a
|
|
2965
2975
|
`.bb-table.card` class is now redundant.
|
|
2966
2976
|
|
|
2977
|
+
168. **A creatable select shows a "Create «query»" row** (after
|
|
2978
|
+
3.0.0-beta.74). With an `option:add` listener, a typed query that no
|
|
2979
|
+
option matches exactly gets a create row: last after the matches, or
|
|
2980
|
+
alone in place of the no-results text and `#empty`. Its click (and the
|
|
2981
|
+
arrow keys + Enter) emits `option:add`, as Enter already did. A
|
|
2982
|
+
`#empty` that offered a create link or button is redundant: drop it.
|
|
2983
|
+
|
|
2984
|
+
169. **The icon options move under `icons`** (after 3.0.0-beta.75).
|
|
2985
|
+
`iconDir` is `icons.dir` and `iconWhitelist` is `icons.whitelist`,
|
|
2986
|
+
in `bitbossUi()` and in Nuxt's `bitboss` key; the old keys fail the
|
|
2987
|
+
build naming the new ones. `iconsScanner` stays where it is.
|
|
2988
|
+
|
|
2989
|
+
```ts
|
|
2990
|
+
bitbossUi({
|
|
2991
|
+
icons: { dir: './src/assets/icons', whitelist: ['tabler:crown'] },
|
|
2992
|
+
});
|
|
2993
|
+
```
|
|
2994
|
+
|
|
2995
|
+
170. **BbSelect / BbSelectPopover take `v-model:query`** (after
|
|
2996
|
+
3.0.0-beta.75). The search field's text, bound: written back raw on
|
|
2997
|
+
every committed keystroke and `''` when the component empties the
|
|
2998
|
+
field (close, a pick that closes, `option:add`, the ✕). A write
|
|
2999
|
+
searches at once and is held while closed, so a cancelled create can
|
|
3000
|
+
reopen on its search: `query = text; open = true`. On the phone
|
|
3001
|
+
sheet the query now clears when the close begins, not after the
|
|
3002
|
+
slide-out.
|
|
3003
|
+
|
|
3004
|
+
171. **Dropdown group titles are `group-label`, `groupBy` headings
|
|
3005
|
+
`group-header`** (after 3.0.0-beta.75). `.bb-dropdown__group-title`
|
|
3006
|
+
is `.bb-dropdown__group-label` (its `group-title__*` children follow),
|
|
3007
|
+
and a `groupBy` heading carries only `.bb-dropdown__group-header` (was
|
|
3008
|
+
`__group-title __section-title`; its wrapper `__section` is
|
|
3009
|
+
`__group-section`). Rename them in your CSS, or better, style them
|
|
3010
|
+
through the new parts: `pt:group-label` on BbDropdown and
|
|
3011
|
+
`pt:group-header` on BbDropdown and BbSelect.
|
|
3012
|
+
|
|
2967
3013
|
## 7. Class overrides → variants
|
|
2968
3014
|
|
|
2969
3015
|
### The v2 pattern to hunt down
|
|
@@ -35,7 +35,7 @@ Each `pt` part now has a class with the same name, on the same element:
|
|
|
35
35
|
|
|
36
36
|
<!-- generated:count -->
|
|
37
37
|
|
|
38
|
-
In numbers: **
|
|
38
|
+
In numbers: **94** classes renamed, **23** added beside an existing class, and **7** new state classes and elements.
|
|
39
39
|
|
|
40
40
|
<!-- /generated:count -->
|
|
41
41
|
|
|
@@ -75,7 +75,7 @@ bash and zsh. On Windows, use Git Bash or WSL.
|
|
|
75
75
|
|
|
76
76
|
```sh
|
|
77
77
|
rg -nP --glob '!node_modules' --glob '!dist' --glob '!rename-bb-classes.mjs' \
|
|
78
|
-
'(?<![\w-])(bb-checkbox-group-item__description|bb-switch-group-item__description|bb-radio-group-item__description|bb-dropdown-button__dropdown-btn|bb-segmented-field__trigger-btn|bb-select-popover__search-input|bb-select-popover__search-clear|bb-listbox__option-description|bb-dropzone__interactive-label|bb-time-picker-input-offcanvas|bb-checkbox-group-item__label|bb-dropdown__items-container|bb-dropdown-button__main-btn|bb-pagination__page-chevron|bb-switch-group-item__label|bb-table-column-ghost__icon|bb-select-popover-offcanvas|bb-radio-group-item__label|bb-color-palette-offcanvas|bb-checkbox-group__no-data|bb-segmented-field__field|bb-time-selector__readout|bb-toast-message__content|bb-toast-message__actions|bb-color-palette__popover|bb-commabox-item--focused|bb-listbox__option-label|bb-calendar__header-cell|bb-calendar__date-button|bb-time-selector__header|bb-date-picker-offcanvas|bb-time-picker-offcanvas|bb-calendar__date-append|bb-switch-group__no-data|bb-indicator__indicator|bb-toast-message__title|bb-toast-message__close|bb-date-picker__popover|bb-time-picker__popover|bb-toast-message__inner|bb-radio-group__no-data|bb-badge__clear-button|bb-checkbox-group-item|bb-toast-message__icon|bb-toast-message__text|bb-table-no-data__cell|bb-table-no-data__text|bb-select__comma-item|bb-calendar__controls|bb-time-selector__btn|bb-tabs-list__tablist|bb-table-no-data__row|bb-offcanvas--stacked|bb-calendar__nav-btn|bb-switch-group-item|bb-popover-offcanvas|bb-field__hint-text|bb-tooltip__content|bb-radio-group-item|bb-table-header-row|bb-table-sort__icon|bb-table-data__cell|bb-listbox--no-data|bb-listbox__no-data|bb-tag__text-input|bb-button__content|bb-table-data__row|bb-offcanvas__body|bb-calendar__month|bb-dialog--stacked|bb-badge__content|bb-calendar__date|item__description|bb-rating__option|bb-badge--focused|bb-button--active|bb-chipsbox-item|bb-commabox-item|bb-table-caption|bb-tabs__trigger|bb-toast-message|bb-select__chip|bb-table-header|bb-dialog__body|bb-tree__node|bb-tabs-panes|bb-tabs__pane|item__text)(?![\w]|-(?!-))'
|
|
78
|
+
'(?<![\w-])(bb-checkbox-group-item__description|bb-switch-group-item__description|bb-radio-group-item__description|bb-dropdown-button__dropdown-btn|bb-segmented-field__trigger-btn|bb-select-popover__search-input|bb-select-popover__search-clear|bb-listbox__option-description|bb-dropzone__interactive-label|bb-time-picker-input-offcanvas|bb-checkbox-group-item__label|bb-dropdown__items-container|bb-dropdown-button__main-btn|bb-pagination__page-chevron|bb-switch-group-item__label|bb-table-column-ghost__icon|bb-select-popover-offcanvas|bb-radio-group-item__label|bb-color-palette-offcanvas|bb-checkbox-group__no-data|bb-dropdown__section-title|bb-segmented-field__field|bb-time-selector__readout|bb-toast-message__content|bb-toast-message__actions|bb-color-palette__popover|bb-commabox-item--focused|group-title__prepend-icon|bb-listbox__option-label|bb-calendar__header-cell|bb-calendar__date-button|bb-time-selector__header|bb-date-picker-offcanvas|bb-time-picker-offcanvas|bb-calendar__date-append|bb-switch-group__no-data|bb-dropdown__group-title|group-title__append-icon|bb-indicator__indicator|bb-toast-message__title|bb-toast-message__close|bb-date-picker__popover|bb-time-picker__popover|bb-toast-message__inner|bb-radio-group__no-data|bb-badge__clear-button|bb-checkbox-group-item|bb-toast-message__icon|bb-toast-message__text|bb-table-no-data__cell|bb-table-no-data__text|bb-select__comma-item|bb-calendar__controls|bb-time-selector__btn|bb-tabs-list__tablist|bb-table-no-data__row|bb-offcanvas--stacked|bb-calendar__nav-btn|bb-switch-group-item|bb-popover-offcanvas|group-title__content|bb-dropdown__section|bb-field__hint-text|bb-tooltip__content|bb-radio-group-item|bb-table-header-row|bb-table-sort__icon|bb-table-data__cell|bb-listbox--no-data|bb-listbox__no-data|bb-tag__text-input|bb-button__content|bb-table-data__row|bb-offcanvas__body|bb-calendar__month|bb-dialog--stacked|bb-badge__content|bb-calendar__date|item__description|bb-rating__option|bb-badge--focused|bb-button--active|bb-chipsbox-item|bb-commabox-item|bb-table-caption|bb-tabs__trigger|bb-toast-message|bb-select__chip|bb-table-header|bb-dialog__body|bb-tree__node|bb-tabs-panes|bb-tabs__pane|item__text)(?![\w]|-(?!-))'
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
<!-- /generated:find -->
|
|
@@ -98,7 +98,7 @@ List the nested selectors that may spell an old name:
|
|
|
98
98
|
|
|
99
99
|
```sh
|
|
100
100
|
rg -nP --glob '*.{css,scss,sass,less,styl,pcss,postcss,vue,svelte,astro}' --glob '!node_modules' --glob '!dist' \
|
|
101
|
-
'(?:&|#\{&\})(-picker-input-offcanvas|__option-description|__interactive-label|-popover-offcanvas|-palette-offcanvas|__items-container|-picker-offcanvas|-input-offcanvas|__dropdown-btn|__search-input|__search-clear|__page-chevron|-item--focused|__option-label|__clear-button|__description|__trigger-btn|-column-ghost|__header-cell|__date-button|__date-append|-description|__comma-item|__text-input|-group-item|__indicator|__hint-text|-header-row|-offcanvas|-container|__main-btn|__controls|__no-data|__readout|-selector|__content|__actions|__popover|--focused|__tablist|--stacked|__nav-btn|--no-data|__trigger|-popover|-chevron|-message|-palette|-focused|__header|-no-data|-stacked|__option|--active|-caption|-button|__label|__field|-append|__title|__close|-picker|__inner|__month|-active|-header|-field|-input|-clear|-label|__icon|-ghost|-group|__text|__cell|__body|__date|__chip|__node|-panes|__pane|-item|-data|-cell|__btn|-list|__row|-text|-sort|-btn|-row)(?=[\s,{:.>+~\[)]|__|--|$)'
|
|
101
|
+
'(?:&|#\{&\})(-picker-input-offcanvas|__option-description|__interactive-label|-popover-offcanvas|-palette-offcanvas|__items-container|-picker-offcanvas|-input-offcanvas|__section-title|__dropdown-btn|__search-input|__search-clear|__page-chevron|-item--focused|__option-label|__clear-button|__description|__trigger-btn|-column-ghost|__header-cell|__date-button|__date-append|__group-title|-description|__comma-item|__text-input|-group-item|__indicator|__hint-text|-header-row|-offcanvas|-container|__main-btn|__controls|__no-data|__readout|-selector|__content|__actions|__popover|--focused|__tablist|--stacked|__nav-btn|__section|--no-data|__trigger|-popover|-chevron|-message|-palette|-focused|__header|-no-data|-stacked|__option|--active|-caption|-button|__label|__field|-append|__title|__close|-picker|__inner|__month|-active|-header|-field|-input|-clear|-label|__icon|-ghost|-group|-title|__text|__cell|__body|__date|__chip|__node|-panes|__pane|-item|-data|-cell|__btn|-list|__row|-text|-sort|-btn|-row)(?=[\s,{:.>+~\[)]|__|--|$)'
|
|
102
102
|
```
|
|
103
103
|
|
|
104
104
|
<!-- /generated:nested -->
|
|
@@ -260,6 +260,9 @@ const MAP = {
|
|
|
260
260
|
'bb-table-no-data__text': 'bb-table-empty__text',
|
|
261
261
|
'bb-dialog--stacked': 'bb-dialog--above',
|
|
262
262
|
'bb-offcanvas--stacked': 'bb-offcanvas--above',
|
|
263
|
+
'bb-dropdown__group-title': 'bb-dropdown__group-label',
|
|
264
|
+
'bb-dropdown__section-title': 'bb-dropdown__group-header',
|
|
265
|
+
'bb-dropdown__section': 'bb-dropdown__group-section',
|
|
263
266
|
};
|
|
264
267
|
|
|
265
268
|
/**
|
|
@@ -282,6 +285,12 @@ const MANUAL = {
|
|
|
282
285
|
'bb-dropdown__item-text — only inside a .bb-dropdown / .bb-dropdown-button selector (the name has no bb- prefix: yours stay)',
|
|
283
286
|
item__description:
|
|
284
287
|
'bb-dropdown__item-description — only inside a .bb-dropdown / .bb-dropdown-button selector (the name has no bb- prefix: yours stay)',
|
|
288
|
+
'group-title__content':
|
|
289
|
+
'group-label__content — only inside a .bb-dropdown / .bb-dropdown-button selector (the name has no bb- prefix: yours stay)',
|
|
290
|
+
'group-title__prepend-icon':
|
|
291
|
+
'group-label__prepend-icon — only inside a .bb-dropdown / .bb-dropdown-button selector (the name has no bb- prefix: yours stay)',
|
|
292
|
+
'group-title__append-icon':
|
|
293
|
+
'group-label__append-icon — only inside a .bb-dropdown / .bb-dropdown-button selector (the name has no bb- prefix: yours stay)',
|
|
285
294
|
};
|
|
286
295
|
|
|
287
296
|
const USAGE =
|
|
@@ -765,5 +774,11 @@ consistent.
|
|
|
765
774
|
| `.bb-checkbox-group__no-data` | `.bb-checkbox-group__empty` | `empty` | |
|
|
766
775
|
| `.bb-radio-group__no-data` | `.bb-radio-group__empty` | `empty` | |
|
|
767
776
|
| `.bb-switch-group__no-data` | `.bb-switch-group__empty` | `empty` | |
|
|
777
|
+
| `.bb-dropdown__group-title` | `.bb-dropdown__group-label` | `groupLabel` | |
|
|
778
|
+
| `.group-title__content` | `.group-label__content` | _internal_ | |
|
|
779
|
+
| `.group-title__prepend-icon` | `.group-label__prepend-icon` | _internal_ | |
|
|
780
|
+
| `.group-title__append-icon` | `.group-label__append-icon` | _internal_ | |
|
|
781
|
+
| `.bb-dropdown__section-title` | `.bb-dropdown__group-header` | `groupHeader` | A `groupBy` heading. It no longer carries `.bb-dropdown__group-title` (a group's own label row, now `__group-label`): the two share rules, not a class. Its content span is `.group-header__content`. |
|
|
782
|
+
| `.bb-dropdown__section` | `.bb-dropdown__group-section` | _internal_ | |
|
|
768
783
|
|
|
769
784
|
<!-- /generated:renames -->
|
|
@@ -290,3 +290,4 @@ What changed in the install and build-plugin setup during the 3.0 betas, for an
|
|
|
290
290
|
| `allowComponents` for `check` | `package.json` `"bitboss-ui": { "allowComponents": [...] }` or `bitboss-ui.check.json` | Read only from the build plugin, as a literal (3.0.0-beta.69); the old places are ignored, so those tags are reported again | Move the list into `bitbossUi({ allowComponents: [...] })` (Nuxt: `bitboss`). `registeredRules` and `dialogIdsWhitelist` stay in `bitboss-ui.check.json` |
|
|
291
291
|
| Reporting opt-out | None: an app could not turn reporting off | `"bitboss-ui": { "report": false }` in `package.json` (3.0.0-beta.74): no `report` command, no MCP `report_issue`, no reporting section in the agent files | Add it to opt out; on by default |
|
|
292
292
|
| Cursor, Windsurf and Copilot rule files | `ai-init` wrote `.cursor/rules/bitboss-ui.mdc`, `.windsurf/rules/bitboss-ui.md` and a block in `.github/copilot-instructions.md` | Removed by `setup` and `update` (3.0.0-beta.69): those harnesses read `AGENTS.md`, and Zed read the Copilot file instead of it | Commit the deletions |
|
|
293
|
+
| Agent files on a dev server start | Up to 3.0.0-beta.74 a dev, build or test start also deleted the old rule files and edited `CLAUDE.md` | Only installs (the postinstall) and `update` / `setup` delete files or edit `CLAUDE.md`; a dev start writes our own blocks and files | After changing `ai`, run `npx bitboss-ui update --no-install` |
|