bitboss-ui 3.0.0-beta.69 → 3.0.0-beta.71
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 +20 -11
- package/bin/bitboss-ui-mcp.mjs +7 -4
- package/bin/bitboss-ui.mjs +0 -0
- package/bin/cli.mjs +47 -28
- package/dist/ai/BbBaseButton.md +4 -4
- package/dist/ai/BbBreadcrumbs.md +3 -0
- package/dist/ai/BbCarousel.md +32 -29
- package/dist/ai/BbCheckbox.md +5 -6
- package/dist/ai/BbCheckboxGroup.md +28 -26
- package/dist/ai/BbColorInput.md +9 -14
- package/dist/ai/BbDatePickerInput.md +3 -4
- package/dist/ai/BbDropdown.md +35 -1
- package/dist/ai/BbDropdownButton.md +4 -3
- package/dist/ai/BbDropzone.md +3 -3
- package/dist/ai/BbGallery.md +2034 -0
- package/dist/ai/BbNumberInput.md +3 -4
- package/dist/ai/BbPopover.md +12 -6
- package/dist/ai/BbRadio.md +5 -6
- package/dist/ai/BbRadioGroup.md +28 -31
- package/dist/ai/BbRating.md +6 -16
- package/dist/ai/BbSelect.md +10 -11
- package/dist/ai/BbSlider.md +3 -9
- package/dist/ai/BbSwitch.md +6 -6
- package/dist/ai/BbSwitchGroup.md +4 -7
- package/dist/ai/BbTag.md +3 -4
- package/dist/ai/BbTextInput.md +19 -19
- package/dist/ai/BbTextarea.md +8 -8
- package/dist/ai/BbTimePickerInput.md +3 -4
- package/dist/ai/BbTooltip.md +17 -13
- package/dist/ai/CommonField.md +2 -10
- package/dist/ai/OptionsContainer.md +7 -12
- package/dist/ai/changelog.json +119 -4
- package/dist/ai/components.json +37 -32
- package/dist/ai/guides/ai-router.md +3 -2
- package/dist/ai/guides/component-picker.md +1 -0
- package/dist/ai/guides/eslint-rules.md +3 -3
- package/dist/ai/guides/installation-and-plugin-setup.md +5 -5
- package/dist/ai/guides/migration/v2-to-v3.md +53 -1
- package/dist/ai/guides/migration/v3-beta-tooling.md +25 -15
- package/dist/ai/guides/passthrough.md +2 -1
- package/dist/ai/guides/preset-components.md +53 -19
- package/dist/ai/helpers/definePreset.json +8 -1
- package/dist/ai/helpers/definePreset.ts +42 -13
- package/dist/ai/helpers/inertia/manifest.json +1 -1
- package/dist/ai/index.md +2 -1
- package/dist/ai/manifest/common.json +2 -2
- package/dist/ai/manifest/components/BbBreadcrumbs.json +1 -1
- package/dist/ai/manifest/components/BbCarousel.json +3 -2
- package/dist/ai/manifest/components/BbCarousel.tree.json +7 -0
- package/dist/ai/manifest/components/BbCheckbox.json +2 -2
- package/dist/ai/manifest/components/BbCheckbox.tree.json +1 -1
- package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +10 -18
- package/dist/ai/manifest/components/BbColorInput.json +2 -2
- package/dist/ai/manifest/components/BbColorInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbConfigScope.json +1 -1
- package/dist/ai/manifest/components/BbDatePickerInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbDropdown.json +2 -2
- package/dist/ai/manifest/components/BbDropdownButton.json +2 -2
- package/dist/ai/manifest/components/BbGallery.json +54 -0
- package/dist/ai/manifest/components/BbGallery.tree.json +139 -0
- package/dist/ai/manifest/components/BbNumberInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbRadio.tree.json +1 -1
- package/dist/ai/manifest/components/BbRadioGroup.tree.json +9 -17
- package/dist/ai/manifest/components/BbRating.removed.json +1 -1
- package/dist/ai/manifest/components/BbRating.tree.json +1 -1
- package/dist/ai/manifest/components/BbSelect.json +15 -15
- package/dist/ai/manifest/components/BbSelect.tree.json +1 -1
- package/dist/ai/manifest/components/BbSlider.json +1 -1
- package/dist/ai/manifest/components/BbSlider.tree.json +1 -1
- package/dist/ai/manifest/components/BbSwitch.tree.json +1 -1
- package/dist/ai/manifest/components/BbSwitchGroup.tree.json +2 -2
- package/dist/ai/manifest/components/BbTabs.removed.json +4 -4
- package/dist/ai/manifest/components/BbTabsList.removed.json +4 -4
- package/dist/ai/manifest/components/BbTag.tree.json +1 -1
- package/dist/ai/manifest/components/BbTextInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbTextarea.tree.json +1 -1
- package/dist/ai/manifest/components/BbTimePickerInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbTooltip.json +1 -1
- package/dist/ai/manifest/components/BbTooltip.tree.json +2 -2
- package/dist/ai/manifest/components/CommonField.tree.json +5 -10
- package/dist/ai/manifest/components/OptionsContainer.tree.json +7 -12
- package/dist/ai/manifest/index.json +4 -3
- package/dist/ai/manifest/meta.json +5 -1
- package/dist/ai/manifest/types.advanced.json +4 -2
- package/dist/ai/manifest/types.api.json +3 -3
- package/dist/ai/manifest/types.wrapper.json +1 -0
- package/dist/ai/recipes/inertia/onboarding.md +5 -8
- package/dist/ai/recipes/inertia/record-form.md +33 -12
- package/dist/ai/recipes/nuxt/onboarding.md +5 -8
- package/dist/ai/recipes/nuxt/record-form.md +27 -11
- package/dist/ai/recipes/vue/onboarding.md +5 -8
- package/dist/ai/recipes/vue/record-form.md +25 -11
- package/dist/ai/source/BbBreadcrumbs.md +31 -12
- package/dist/ai/source/BbCalendar.md +2 -0
- package/dist/ai/source/BbCarousel.md +135 -32
- package/dist/ai/source/BbCheckbox.md +36 -42
- package/dist/ai/source/BbCheckboxGroup.md +2 -4
- package/dist/ai/source/BbColorInput.md +2 -4
- package/dist/ai/source/BbDatePickerInput.md +2 -4
- package/dist/ai/source/BbDropdown.md +13 -2
- package/dist/ai/source/BbDropdownButton.md +4 -1
- package/dist/ai/source/BbDropdownGroup.md +11 -2
- package/dist/ai/source/BbGallery.md +2027 -0
- package/dist/ai/source/BbNumberInput.md +2 -4
- package/dist/ai/source/BbRadio.md +36 -42
- package/dist/ai/source/BbRadioGroup.md +4 -6
- package/dist/ai/source/BbRating.md +2 -14
- package/dist/ai/source/BbSelect.md +30 -13
- package/dist/ai/source/BbSelectPopover.md +1 -0
- package/dist/ai/source/BbSlider.md +2 -4
- package/dist/ai/source/BbSwitch.md +34 -38
- package/dist/ai/source/BbSwitchGroup.md +1 -0
- package/dist/ai/source/BbTable.md +15 -8
- package/dist/ai/source/BbTag.md +2 -4
- package/dist/ai/source/BbTextInput.md +2 -4
- package/dist/ai/source/BbTextarea.md +2 -4
- package/dist/ai/source/BbTimePickerInput.md +2 -4
- package/dist/ai/source/BbTooltip.md +9 -3
- package/dist/ai/source/BbTree.md +7 -3
- package/dist/ai/source/CommonField.md +17 -106
- package/dist/ai/source/CommonPopover.md +13 -3
- package/dist/ai/source/FlatListBox.md +3 -3
- package/dist/ai/source/GroupedListBox.md +3 -3
- package/dist/ai/source/GuidesComponent.md +3 -0
- package/dist/ai/source/ListBox.md +4 -4
- package/dist/ai/source/OptionsContainer.md +4 -4
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +106 -106
- package/dist/components/BbBreadcrumbs/types.d.ts +6 -0
- package/dist/components/BbCalendar/useDayjsLocale.js +5 -3
- package/dist/components/BbCarousel/BbCarousel.vue.d.ts +1 -1
- package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +506 -481
- package/dist/components/BbCarousel/dragRelease.js +14 -0
- package/dist/components/BbCarousel/ptKeys.generated.d.ts +4 -0
- package/dist/components/BbCarousel/types.d.ts +11 -6
- package/dist/components/BbCarousel/types.js +1 -0
- package/dist/components/BbCheckbox/types.d.ts +2 -4
- package/dist/components/BbCheckboxGroup/types.d.ts +2 -4
- package/dist/components/BbColorInput/types.d.ts +2 -4
- package/dist/components/BbDatePickerInput/types.d.ts +2 -4
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +121 -120
- package/dist/components/BbDropdown/normalizeGroups.js +37 -33
- package/dist/components/BbDropdown/types.d.ts +9 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +95 -94
- package/dist/components/BbGallery/BbGallery.vue.d.ts +50 -0
- package/dist/components/BbGallery/BbGallery.vue.js +5 -0
- package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +587 -0
- package/dist/components/BbGallery/findItem.js +41 -0
- package/dist/components/BbGallery/ptKeys.generated.d.ts +112 -0
- package/dist/components/BbGallery/types.d.ts +177 -0
- package/dist/components/BbGallery/types.js +29 -0
- package/dist/components/BbNumberInput/types.d.ts +2 -4
- package/dist/components/BbOffCanvas/sheetSnap.d.ts +2 -0
- package/dist/components/BbOffCanvas/sheetSnap.js +5 -5
- package/dist/components/BbRadio/types.d.ts +2 -4
- package/dist/components/BbRadioGroup/types.d.ts +4 -6
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +116 -118
- package/dist/components/BbRating/types.d.ts +2 -4
- package/dist/components/BbSelect/BbSelect.vue.d.ts +10 -4
- package/dist/components/BbSelect/types.d.ts +4 -6
- package/dist/components/BbSlider/types.d.ts +2 -4
- package/dist/components/BbTable/types.d.ts +8 -8
- package/dist/components/BbTag/types.d.ts +2 -4
- package/dist/components/BbTextInput/types.d.ts +2 -4
- package/dist/components/BbTextarea/types.d.ts +2 -4
- package/dist/components/BbTimePickerInput/types.d.ts +2 -4
- package/dist/components/BbTooltip/ptKeys.generated.d.ts +4 -4
- package/dist/components/BbTooltip/types.d.ts +3 -1
- package/dist/components/BbTree/types.d.ts +3 -3
- package/dist/components/CommonField/types.d.ts +2 -4
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +28 -26
- package/dist/composables/overlayRegistry.d.ts +17 -0
- package/dist/composables/overlayRegistry.js +16 -9
- package/dist/composables/useChoiceIndicator.js +66 -63
- package/dist/deprecation/ai-deprecations.json.js +1 -1
- package/dist/directives/bbDropdown.js +1 -1
- package/dist/directives/bbGallery.d.ts +64 -0
- package/dist/directives/bbGallery.js +38 -0
- package/dist/i18n/locales/ar.json +3 -1
- package/dist/i18n/locales/cs.json +3 -1
- package/dist/i18n/locales/da.json +3 -1
- package/dist/i18n/locales/de-CH.json +3 -1
- package/dist/i18n/locales/de.json +3 -1
- package/dist/i18n/locales/el.json +3 -1
- package/dist/i18n/locales/en-GB.json +3 -1
- package/dist/i18n/locales/en.json +3 -1
- package/dist/i18n/locales/es-MX.json +3 -1
- package/dist/i18n/locales/es.json +3 -1
- package/dist/i18n/locales/fa.json +3 -1
- package/dist/i18n/locales/fi.json +3 -1
- package/dist/i18n/locales/fr.json +3 -1
- package/dist/i18n/locales/he.json +3 -1
- package/dist/i18n/locales/hu.json +3 -1
- package/dist/i18n/locales/it.json +3 -1
- package/dist/i18n/locales/ja.json +3 -1
- package/dist/i18n/locales/ko.json +3 -1
- package/dist/i18n/locales/nb.json +3 -1
- package/dist/i18n/locales/nl.json +3 -1
- package/dist/i18n/locales/pl.json +3 -1
- package/dist/i18n/locales/pt-BR.json +3 -1
- package/dist/i18n/locales/pt-PT.json +3 -1
- package/dist/i18n/locales/ro.json +3 -1
- package/dist/i18n/locales/ru.json +3 -1
- package/dist/i18n/locales/sv.json +3 -1
- package/dist/i18n/locales/tr.json +3 -1
- package/dist/i18n/locales/uk.json +3 -1
- package/dist/i18n/locales/zh-CN.json +3 -1
- package/dist/i18n/locales/zh-HK.json +3 -1
- package/dist/i18n/locales/zh-TW.json +3 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +38 -36
- package/dist/llms-full.txt +2534 -346
- package/dist/llms-medium.txt +10 -7
- package/dist/llms.txt +1 -1
- package/dist/locale-blueprint.json +3 -1
- package/dist/nuxt-auto-imports.js +1 -1
- package/dist/plugin.js +18 -17
- package/dist/project-dts.js +17 -16
- package/dist/runtime/nuxt-plugin.js +22 -21
- package/dist/scripts/lib/atomic-write.js +42 -0
- package/dist/styles.css +2 -2
- package/dist/types/FieldLayout.d.ts +4 -1
- package/dist/types/ItemAccessor.d.ts +3 -1
- package/dist/types/ItemPath.d.ts +33 -0
- package/dist/types/passthrough.d.ts +2 -2
- package/dist/types/ptComponentMap.d.ts +2 -1
- package/dist/utilities/calendar/canonicalParts.js +10 -2
- package/dist/utils/versionCheck.js +1 -1
- package/dist/vite.js +361 -331
- package/llms.txt +2 -2
- package/package.json +7 -4
- package/scripts/README.md +31 -29
- package/scripts/lib/agent-refresh.mjs +15 -9
- package/scripts/lib/agent-setup.mjs +46 -15
- package/scripts/lib/atomic-write.d.mts +6 -0
- package/scripts/lib/atomic-write.mjs +85 -0
- package/scripts/lib/define-preset-copy.mjs +24 -4
- package/scripts/lib/eslint-plugin.mjs +74 -36
- package/scripts/lib/hand-imported-styles.mjs +44 -99
- package/scripts/lib/helpers-add.mjs +3 -1
- package/scripts/lib/linked-target.mjs +1 -1
- package/scripts/lib/locale-check.mjs +41 -25
- package/scripts/lib/mcp-config.mjs +250 -133
- package/scripts/lib/mcp-sdk.mjs +24 -0
- package/scripts/lib/plugin-options-check.mjs +22 -15
- package/scripts/lib/pnp.mjs +1 -1
- package/scripts/lib/project-variant-dts.mjs +80 -136
- package/scripts/lib/release-results.mjs +331 -0
- package/scripts/lib/setup.mjs +61 -3
- package/scripts/lib/toolchain-check.mjs +134 -14
- package/scripts/lib/tooling-options.mjs +357 -38
- package/scripts/lib/validate-bb-markup.mjs +1 -1
- package/dist/components/BbBadge/BadgeBodyContent.vue.d.ts +0 -15
- package/dist/components/BbBadge/badgeButtonContext.d.ts +0 -55
- package/dist/components/BbBaseButton/RouterComponent.vue.d.ts +0 -18
- package/dist/components/BbBaseButton/useLinkState.d.ts +0 -43
- package/dist/components/BbBreadcrumbs/estimateBreadcrumbItemWidth.d.ts +0 -18
- package/dist/components/BbButton/toggleRoving.d.ts +0 -6
- package/dist/components/BbCalendar/CalendarMonthPanel.vue.d.ts +0 -5
- package/dist/components/BbCalendar/CalendarYearPanel.vue.d.ts +0 -5
- package/dist/components/BbCalendar/calendarHost.d.ts +0 -29
- package/dist/components/BbCalendar/calendarMath.d.ts +0 -102
- package/dist/components/BbCalendar/useCalendarContext.d.ts +0 -116
- package/dist/components/BbCalendar/useCalendarGrid.d.ts +0 -411
- package/dist/components/BbCalendar/useDayGrid.d.ts +0 -122
- package/dist/components/BbCalendar/useDayjsLocale.d.ts +0 -93
- package/dist/components/BbCalendar/useToday.d.ts +0 -25
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +0 -4
- package/dist/components/BbConfirm/BbConfirmHost.d.ts +0 -10
- package/dist/components/BbConfirm/confirmEntry.d.ts +0 -4
- package/dist/components/BbDatePickerInput/calendarFields.d.ts +0 -91
- package/dist/components/BbDatePickerInput/dateFieldLayout.d.ts +0 -29
- package/dist/components/BbDialog/useDialogStack.d.ts +0 -19
- package/dist/components/BbDropdown/AdaptiveDropdown.vue.d.ts +0 -26
- package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +0 -38
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue.d.ts +0 -16
- package/dist/components/BbDropdown/DropdownRow.vue.d.ts +0 -41
- package/dist/components/BbDropdown/normalizeGroups.d.ts +0 -39
- package/dist/components/BbDropdown/pointerTrail.d.ts +0 -5
- package/dist/components/BbDropdown/useDropdownContext.d.ts +0 -131
- package/dist/components/BbDropdown/useDropdownGroupRegistry.d.ts +0 -170
- package/dist/components/BbForm/BbFormCustomField.d.ts +0 -14
- package/dist/components/BbForm/bindFormField.d.ts +0 -56
- package/dist/components/BbForm/formFields.d.ts +0 -77
- package/dist/components/BbHost/BbHostOpening.d.ts +0 -27
- package/dist/components/BbHoverCard/hoverCardFocus.d.ts +0 -29
- package/dist/components/BbIcon/iconCache.d.ts +0 -63
- package/dist/components/BbNumberInput/numberDisplay.d.ts +0 -255
- package/dist/components/BbNumberInput/platform.d.ts +0 -7
- package/dist/components/BbOffCanvas/hostCloseLabel.d.ts +0 -3
- package/dist/components/BbOffCanvas/sheetAttrs.d.ts +0 -9
- package/dist/components/BbOffCanvas/useOffCanvasStack.d.ts +0 -37
- package/dist/components/BbPagination/paginationFit.d.ts +0 -38
- package/dist/components/BbSelectPopover/knownItems.d.ts +0 -65
- package/dist/components/BbSelectPopover/reclickClears.d.ts +0 -17
- package/dist/components/BbSelectPopover/sheetChipAttrs.d.ts +0 -18
- package/dist/components/BbTable/BbTableDataRow.d.ts +0 -204
- package/dist/components/BbTable/BbTableEdgeRow.d.ts +0 -112
- package/dist/components/BbTable/BbTableExpandRow.d.ts +0 -84
- package/dist/components/BbTable/BbTableSelectToggle.d.ts +0 -128
- package/dist/components/BbTable/estimatedFloors.golden.d.ts +0 -25
- package/dist/components/BbTable/gridWidgets.d.ts +0 -30
- package/dist/components/BbTable/measuredFloors.d.ts +0 -46
- package/dist/components/BbTable/measuredFloorsTestKit.d.ts +0 -27
- package/dist/components/BbTable/textRuler.d.ts +0 -73
- package/dist/components/BbTable/useRowReorder.d.ts +0 -60
- package/dist/components/BbTable/utils.d.ts +0 -375
- package/dist/components/BbTabs/tablistName.d.ts +0 -4
- package/dist/components/BbToast/BbToast.vue.d.ts +0 -5
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +0 -22
- package/dist/components/BbToast/BbToastRegion.vue.d.ts +0 -15
- package/dist/components/BbTooltip/tooltipWarmup.d.ts +0 -23
- package/dist/components/BbTree/BbTreeLevel.vue.d.ts +0 -19
- package/dist/components/BbTree/context.d.ts +0 -25
- package/dist/components/ChipsBox/ChipsBox.vue.d.ts +0 -21
- package/dist/components/ChipsBox/types.d.ts +0 -28
- package/dist/components/ClearableButton/ClearableButton.vue.d.ts +0 -6
- package/dist/components/ClearableButton/types.d.ts +0 -9
- package/dist/components/CloseIcon/CloseButton.vue.d.ts +0 -7
- package/dist/components/CloseIcon/types.d.ts +0 -2
- package/dist/components/CommaBox/CommaBox.vue.d.ts +0 -21
- package/dist/components/CommaBox/types.d.ts +0 -20
- package/dist/components/CommonField/CommonField.vue.d.ts +0 -20
- package/dist/components/CommonField/messageHeightMatrix.d.ts +0 -2
- package/dist/components/CommonFieldInput/CommonFieldInput.vue.d.ts +0 -22
- package/dist/components/CommonFieldInput/boxBorderMatrix.d.ts +0 -10
- package/dist/components/CommonFieldInput/types.d.ts +0 -114
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +0 -42
- package/dist/components/CommonPopover/resolvePlacement.d.ts +0 -9
- package/dist/components/CommonPopover/types.d.ts +0 -120
- package/dist/components/CommonTimeSelector/CommonTimeSelector.vue.d.ts +0 -48
- package/dist/components/CommonTimeSelector/useMeridiem.d.ts +0 -19
- package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +0 -7
- package/dist/components/ErrorIcon/types.d.ts +0 -3
- package/dist/components/FlatListBox/FlatListBox.vue.d.ts +0 -39
- package/dist/components/FlatListBox/types.d.ts +0 -140
- package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +0 -39
- package/dist/components/GroupedListBox/types.d.ts +0 -163
- package/dist/components/ListBox/ListBox.vue.d.ts +0 -39
- package/dist/components/ListBox/types.d.ts +0 -180
- package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +0 -20
- package/dist/components/OptionsContainer/types.d.ts +0 -168
- package/dist/components/Transitions/ScaleFade.vue.d.ts +0 -28
- package/dist/components/Transitions/Slide.vue.d.ts +0 -39
- package/dist/components/WarningIcon/WarningIcon.vue.d.ts +0 -7
- package/dist/components/WarningIcon/types.d.ts +0 -3
- package/dist/composables/__testResets.d.ts +0 -1
- package/dist/composables/autoHost.d.ts +0 -22
- package/dist/composables/formSubmitLock.d.ts +0 -48
- package/dist/composables/hostOpenings.d.ts +0 -88
- package/dist/composables/hostRegistry.d.ts +0 -47
- package/dist/composables/ssrMarker.d.ts +0 -15
- package/dist/composables/useActiveInactiveState.d.ts +0 -4
- package/dist/composables/useArray.d.ts +0 -7
- package/dist/composables/useBaseOptions.d.ts +0 -51
- package/dist/composables/useBodyScrollLock.d.ts +0 -4
- package/dist/composables/useBreakpoint.d.ts +0 -13
- package/dist/composables/useCancelableFunction.d.ts +0 -17
- package/dist/composables/useChoiceIndicator.d.ts +0 -58
- package/dist/composables/useClosingInert.d.ts +0 -28
- package/dist/composables/useCoarsePointer.d.ts +0 -9
- package/dist/composables/useCoherence.d.ts +0 -21
- package/dist/composables/useConfig.d.ts +0 -59
- package/dist/composables/useConfigDefaults.d.ts +0 -54
- package/dist/composables/useDirection.d.ts +0 -43
- package/dist/composables/useEscapeStackEntry.d.ts +0 -13
- package/dist/composables/useFrameworkDetection.d.ts +0 -12
- package/dist/composables/useHashedWatcher.d.ts +0 -19
- package/dist/composables/useHydrated.d.ts +0 -37
- package/dist/composables/useImeDismissBlur.d.ts +0 -103
- package/dist/composables/useIndexById.d.ts +0 -11
- package/dist/composables/useInertiaPage.d.ts +0 -10
- package/dist/composables/useItemText.d.ts +0 -17
- package/dist/composables/useItemValue.d.ts +0 -7
- package/dist/composables/useItemsGetter.d.ts +0 -83
- package/dist/composables/useKeyboardInset.d.ts +0 -28
- package/dist/composables/useListboxFocus.d.ts +0 -21
- package/dist/composables/useLocale.d.ts +0 -5
- package/dist/composables/useLogger.d.ts +0 -5
- package/dist/composables/useMinimalQueue.d.ts +0 -9
- package/dist/composables/useOnFalsy.d.ts +0 -2
- package/dist/composables/useOnTruthy.d.ts +0 -7
- package/dist/composables/useOverlayNavigation.d.ts +0 -37
- package/dist/composables/useOverlayYield.d.ts +0 -23
- package/dist/composables/usePrefill.d.ts +0 -44
- package/dist/composables/useQuery.d.ts +0 -39
- package/dist/composables/useRefusedCloseAnnouncement.d.ts +0 -13
- package/dist/composables/useRoute.d.ts +0 -3
- package/dist/composables/useRouter.d.ts +0 -2
- package/dist/composables/useSegmentedFields.d.ts +0 -129
- package/dist/composables/useServerPrefetch.d.ts +0 -28
- package/dist/composables/useSheetSurface.d.ts +0 -39
- package/dist/composables/useSsrState.d.ts +0 -28
- package/dist/composables/useTableWidthContext.d.ts +0 -73
- package/dist/composables/useToggleInput.d.ts +0 -44
- package/dist/composables/useTopLayer.d.ts +0 -9
- package/dist/composables/useTypeahead.d.ts +0 -112
- package/dist/composables/useUntil.d.ts +0 -7
- package/dist/composables/useUrlQueryParam.d.ts +0 -21
- package/dist/composables/useViewportWidth.d.ts +0 -14
- package/dist/deprecation/ai-deprecations.json.d.ts +0 -2984
- package/dist/deprecation/removedProps.d.ts +0 -3
- package/dist/directives/createPopoverDirective.d.ts +0 -111
- package/dist/directives/renderingInstance.d.ts +0 -2
- package/dist/i18n/eraNames.d.ts +0 -2
- package/dist/i18n/regionHints.d.ts +0 -16
- package/dist/icons-whitelist.d.ts +0 -9
- package/dist/reset.d.ts +0 -0
- package/dist/runtime/nuxt-plugin.d.ts +0 -2
- package/dist/styles.d.ts +0 -0
- package/dist/types/ExtractGenericFromComputedRef.d.ts +0 -2
- package/dist/types/ExtractGenericFromRef.d.ts +0 -2
- package/dist/types/NestedKeyOf.d.ts +0 -3
- package/dist/types/PrefixWith.d.ts +0 -1
- package/dist/types/ShapeErased.d.ts +0 -15
- package/dist/types/Simplify.d.ts +0 -6
- package/dist/utilities/calendar/canonicalParts.d.ts +0 -29
- package/dist/utilities/calendar/digits.d.ts +0 -18
- package/dist/utilities/calendar/gregorian.d.ts +0 -2
- package/dist/utilities/calendar/index.d.ts +0 -3
- package/dist/utilities/calendar/international.d.ts +0 -19
- package/dist/utilities/calendar/resolve.d.ts +0 -32
- package/dist/utilities/calendar/runtime.d.ts +0 -49
- package/dist/utilities/functions/animationsSettled.d.ts +0 -7
- package/dist/utilities/functions/bytesToUnit.d.ts +0 -2
- package/dist/utilities/functions/chunk.d.ts +0 -1
- package/dist/utilities/functions/clamp.d.ts +0 -9
- package/dist/utilities/functions/clampPrecision.d.ts +0 -1
- package/dist/utilities/functions/convertDateValue.d.ts +0 -57
- package/dist/utilities/functions/curry.d.ts +0 -6
- package/dist/utilities/functions/deburr.d.ts +0 -1
- package/dist/utilities/functions/elementLabel.d.ts +0 -8
- package/dist/utilities/functions/empty.d.ts +0 -1
- package/dist/utilities/functions/extractDomContainer.d.ts +0 -20
- package/dist/utilities/functions/findInTree.d.ts +0 -4
- package/dist/utilities/functions/flattenTree.d.ts +0 -1
- package/dist/utilities/functions/get.d.ts +0 -3
- package/dist/utilities/functions/hasVnodeListener.d.ts +0 -16
- package/dist/utilities/functions/hash.d.ts +0 -1
- package/dist/utilities/functions/head.d.ts +0 -2
- package/dist/utilities/functions/identity.d.ts +0 -1
- package/dist/utilities/functions/indexBy.d.ts +0 -11
- package/dist/utilities/functions/isDateDisabled.d.ts +0 -25
- package/dist/utilities/functions/isEqual.d.ts +0 -1
- package/dist/utilities/functions/isHex.d.ts +0 -1
- package/dist/utilities/functions/isImeComposing.d.ts +0 -7
- package/dist/utilities/functions/isNil.d.ts +0 -6
- package/dist/utilities/functions/isNotEmpty.d.ts +0 -1
- package/dist/utilities/functions/isNotNil.d.ts +0 -6
- package/dist/utilities/functions/isTextEntry.d.ts +0 -5
- package/dist/utilities/functions/isoWeek.d.ts +0 -36
- package/dist/utilities/functions/itemProps.d.ts +0 -46
- package/dist/utilities/functions/last.d.ts +0 -2
- package/dist/utilities/functions/negative.d.ts +0 -1
- package/dist/utilities/functions/noop.d.ts +0 -1
- package/dist/utilities/functions/normalizeDateBound.d.ts +0 -69
- package/dist/utilities/functions/parsePaginationNumber.d.ts +0 -22
- package/dist/utilities/functions/parseSize.d.ts +0 -3
- package/dist/utilities/functions/parseWidthString.d.ts +0 -6
- package/dist/utilities/functions/percentage.d.ts +0 -26
- package/dist/utilities/functions/pickBy.d.ts +0 -1
- package/dist/utilities/functions/range.d.ts +0 -1
- package/dist/utilities/functions/readableValue.d.ts +0 -6
- package/dist/utilities/functions/reject.d.ts +0 -25
- package/dist/utilities/functions/resolveEnumProp.d.ts +0 -19
- package/dist/utilities/functions/responsiveDefault.d.ts +0 -7
- package/dist/utilities/functions/searchRank.d.ts +0 -19
- package/dist/utilities/functions/settlesVisible.d.ts +0 -20
- package/dist/utilities/functions/snapToStep.d.ts +0 -1
- package/dist/utilities/functions/sort.d.ts +0 -6
- package/dist/utilities/functions/throttle.d.ts +0 -1
- package/dist/utilities/functions/toggleInput.d.ts +0 -114
- package/dist/utilities/functions/transpose.d.ts +0 -1
- package/dist/utilities/functions/validateDateFormat.d.ts +0 -8
- package/dist/utilities/functions/wait.d.ts +0 -2
- package/dist/utilities/functions/waitFor.d.ts +0 -9
- package/dist/utilities/functions/warnRemovedAttrs.d.ts +0 -49
- package/dist/utilities/functions/when.d.ts +0 -9
- package/dist/utilities/misc/autofocus.d.ts +0 -20
- package/dist/utilities/misc/iconsInjectionKey.d.ts +0 -15
- package/dist/utilities/misc/listboxMetrics.d.ts +0 -47
- package/dist/utilities/misc/maskaDataOptions.d.ts +0 -12
- package/dist/utilities/misc/pageText.d.ts +0 -16
- package/dist/utilities/misc/ssrValue.d.ts +0 -20
- package/dist/utilities/misc/transitions.d.ts +0 -5
- package/dist/utils/configDefaults.d.ts +0 -43
- package/dist/utils/configScope.d.ts +0 -43
- package/dist/utils/copyData.d.ts +0 -13
- package/dist/utils/focusVisibility.d.ts +0 -15
- package/dist/utils/injectLibraryStyles.d.ts +0 -8
- package/dist/utils/overlayEscapeStack.d.ts +0 -52
- package/dist/utils/overlaySurfaceIsolation.d.ts +0 -1
- package/dist/utils/passthroughDeduper.d.ts +0 -16
- package/dist/utils/releasedActivator.d.ts +0 -20
- package/dist/utils/versionCheck.d.ts +0 -19
package/dist/ai/BbTag.md
CHANGED
|
@@ -33,7 +33,6 @@
|
|
|
33
33
|
|
|
34
34
|
| Variable | Set through | Declared by | What it is |
|
|
35
35
|
| --- | --- | --- | --- |
|
|
36
|
-
| `--ctrl-line` | `pt:label` | `CommonField` | Where the control's first line is centred, from the top of the control column (half the box height by default); the label's first line aligns to it in side-by-side layouts. |
|
|
37
36
|
| `--bg` | `pt:box` | `CommonFieldInput` | the shell's fill |
|
|
38
37
|
| `--bg-hover` | `pt:box` | `CommonFieldInput` | fill under the pointer |
|
|
39
38
|
| `--bg-focus` | `pt:box` | `CommonFieldInput` | fill while focus is inside, and under --active |
|
|
@@ -511,9 +510,9 @@ only sets the label's text alignment.
|
|
|
511
510
|
| `hideLabel` | `boolean \| undefined` | `false` | | Visually hides the label of the input while maintaining accessibility. Pair it with a `placeholder`: an empty field otherwise shows nothing saying what it is for. |
|
|
512
511
|
| `hint` | `string \| undefined` | | | Text box to be displayed near the input, usually to indicate instructions. |
|
|
513
512
|
| `id` | `string \| undefined` | | | The `id` of the native control; the label's `for` and the description and message ids derive from it. Generated when omitted. |
|
|
514
|
-
| `inputAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted,
|
|
513
|
+
| `inputAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`. |
|
|
515
514
|
| `label` | `string` | | yes | Text content of the label of the element. |
|
|
516
|
-
| `labelAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted,
|
|
515
|
+
| `labelAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`. |
|
|
517
516
|
| `labelMode` | `"outside" \| "floating" \| "inside" \| undefined` | | | Where the label sits relative to the field: `outside` above it, `inside` within the control, or `floating` (starts inside, lifts on focus/value). Defaults to `all.labelMode`, like the other inputs. |
|
|
518
517
|
| `labelPosition` | `"end" \| "start" \| "center" \| "left" \| "right" \| undefined` | `'start'` | | Text alignment of the label. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction. |
|
|
519
518
|
| `layout` | `Responsive<FieldLayout> \| undefined` | | | How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`). |
|
|
@@ -620,7 +619,7 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
620
619
|
- Listed nodes are the ones `BbTag`'s API reaches or that declare a documented CSS variable; the rest fold into "also mounts". The complete tree, undocumented locals included, is `manifest/components/BbTag.tree.json` (a public component in it is a name: its own tree file has the rest).
|
|
621
620
|
|
|
622
621
|
- `BbTag` _(this component)_ — its own template binds: `controlAttrs` → `input.bb-tag__input`, `input` → `input.bb-tag__input`
|
|
623
|
-
- `CommonField` _(internal — not importable, reach it through `BbTag`)_ — `BbTag`'s pt parts land here: `root` → `div.bb-field`, `label` → `component`, `description` → `span.bb-field__description`, `hint` → `span.bb-field__hint`, `counter` → `span.bb-field__counter`, `message` → `div.bb-field__message`;
|
|
622
|
+
- `CommonField` _(internal — not importable, reach it through `BbTag`)_ — `BbTag`'s pt parts land here: `root` → `div.bb-field`, `label` → `component`, `description` → `span.bb-field__description`, `hint` → `span.bb-field__hint`, `counter` → `span.bb-field__counter`, `message` → `div.bb-field__message`; also mounts `BbAsterisk`
|
|
624
623
|
- `CommonFieldInput` _(internal — not importable, reach it through `BbTag`)_ — `BbTag`'s pt parts land here: `box` → `span.bb-field-input__box`, `prefix` → `span.bb-field-input__prefix`, `icon` → `BbIcon`, `clear` → `ClearableButton`, `spinner` → `BbSpinner`, `suffix` → `span.bb-field-input__suffix`; documented CSS variables: `--bg`, `--bg-hover`, `--bg-focus`, `--bg-disabled`, `--fg-disabled`, `--border-color`, `--border-focus`, `--ring-size`, `--ring-color`, `--elev`, `--frost`, `--ph`, `--inside-label-clearance`; also mounts `ErrorIcon`, `WarningIcon`, `ClearableButton`, `BbIcon`, `BbSpinner`
|
|
625
624
|
- `ChipsBox` _(internal — not importable, reach it through `BbTag`)_ — `BbTag`'s pt parts land here: `badge` → `BbBadge`
|
|
626
625
|
- `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/BbTextInput.md
CHANGED
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
|
|
32
32
|
| Variable | Set through | Declared by | What it is |
|
|
33
33
|
| --- | --- | --- | --- |
|
|
34
|
-
| `--ctrl-line` | `pt:label` | `CommonField` | Where the control's first line is centred, from the top of the control column (half the box height by default); the label's first line aligns to it in side-by-side layouts. |
|
|
35
34
|
| `--bg` | `pt:box` | `CommonFieldInput` | the shell's fill |
|
|
36
35
|
| `--bg-hover` | `pt:box` | `CommonFieldInput` | fill under the pointer |
|
|
37
36
|
| `--bg-focus` | `pt:box` | `CommonFieldInput` | fill while focus is inside, and under --active |
|
|
@@ -674,13 +673,14 @@ and three digits), and the chrome plus two characters for `BbSelect`
|
|
|
674
673
|
70px postal code is 70px). Size the field for the layout you want; set
|
|
675
674
|
`--min-w` on it to change the floor (`--min-w: 0px` removes it).
|
|
676
675
|
|
|
677
|
-
Side by side, the label
|
|
678
|
-
the field stays at the top of the row
|
|
679
|
-
label that wraps, never pulls the field down to the middle of the label
|
|
680
|
-
column. Every form control follows the same rule
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
676
|
+
Side by side, the label aligns to the **top**: its top meets the field's top,
|
|
677
|
+
and the field stays at the top of the row — a description under the label, or
|
|
678
|
+
a label that wraps, never pulls the field down to the middle of the label
|
|
679
|
+
column. Every form control follows the same column rule, so a column of
|
|
680
|
+
mixed fields lines up; inside its own column, a toggle's glyph (and a group
|
|
681
|
+
row's) still centres on its label's first line. `label-align="center"`
|
|
682
|
+
centres the label on a taller field instead. No `pt:label` padding is
|
|
683
|
+
needed for any of it.
|
|
684
684
|
|
|
685
685
|
**Horizontal row via layout (outside label)**
|
|
686
686
|
|
|
@@ -854,10 +854,9 @@ submit, format checks on blur, errors cleared as the user fixes them.
|
|
|
854
854
|
|
|
855
855
|
```vue
|
|
856
856
|
<template>
|
|
857
|
-
<
|
|
857
|
+
<BbForm
|
|
858
858
|
class="grid max-w-md gap-3 rounded-(--bb-radius) border p-4"
|
|
859
|
-
|
|
860
|
-
@submit.prevent="submit"
|
|
859
|
+
@submit="submit"
|
|
861
860
|
>
|
|
862
861
|
<div>
|
|
863
862
|
<p class="text-sm font-medium">
|
|
@@ -951,13 +950,14 @@ submit, format checks on blur, errors cleared as the user fixes them.
|
|
|
951
950
|
</p>
|
|
952
951
|
<BbButton variant="primary" @click="submit">Queue invoice</BbButton>
|
|
953
952
|
</div>
|
|
954
|
-
</
|
|
953
|
+
</BbForm>
|
|
955
954
|
</template>
|
|
956
955
|
<script setup lang="ts">
|
|
957
956
|
import { ref, reactive, computed } from 'vue';
|
|
958
957
|
import dayjs from 'dayjs';
|
|
959
958
|
import {
|
|
960
959
|
BbButton,
|
|
960
|
+
BbForm,
|
|
961
961
|
BbTextInput,
|
|
962
962
|
BbTextarea,
|
|
963
963
|
BbNumberInput,
|
|
@@ -1028,10 +1028,9 @@ Date, number and notes keep library chrome.
|
|
|
1028
1028
|
|
|
1029
1029
|
```vue
|
|
1030
1030
|
<template>
|
|
1031
|
-
<
|
|
1031
|
+
<BbForm
|
|
1032
1032
|
class="grid max-w-md gap-3 rounded-(--bb-radius) border border-(--bb-border) p-4"
|
|
1033
|
-
|
|
1034
|
-
@submit.prevent="onSubmit"
|
|
1033
|
+
@submit="onSubmit"
|
|
1035
1034
|
>
|
|
1036
1035
|
<div>
|
|
1037
1036
|
<p class="text-sm font-medium">
|
|
@@ -1132,7 +1131,7 @@ Date, number and notes keep library chrome.
|
|
|
1132
1131
|
</p>
|
|
1133
1132
|
<BbButton variant="primary" @click="onSubmit">Queue invoice</BbButton>
|
|
1134
1133
|
</div>
|
|
1135
|
-
</
|
|
1134
|
+
</BbForm>
|
|
1136
1135
|
</template>
|
|
1137
1136
|
|
|
1138
1137
|
<script setup lang="ts">
|
|
@@ -1140,6 +1139,7 @@ import { ref, reactive, computed } from 'vue';
|
|
|
1140
1139
|
import dayjs from 'dayjs';
|
|
1141
1140
|
import {
|
|
1142
1141
|
BbButton,
|
|
1142
|
+
BbForm,
|
|
1143
1143
|
BbTextInput,
|
|
1144
1144
|
BbTextarea,
|
|
1145
1145
|
BbNumberInput,
|
|
@@ -1307,10 +1307,10 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
|
|
|
1307
1307
|
| `hideLabel` | `boolean \| undefined` | `false` | | Visually hides the label of the input while maintaining accessibility. Pair it with a `placeholder`: an empty field otherwise shows nothing saying what it is for. |
|
|
1308
1308
|
| `hint` | `string \| undefined` | | | Text box to be displayed near the input, usually to indicate instructions. |
|
|
1309
1309
|
| `id` | `string \| undefined` | | | The `id` of the native control; the label's `for` and the description and message ids derive from it. Generated when omitted. |
|
|
1310
|
-
| `inputAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted,
|
|
1310
|
+
| `inputAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`. |
|
|
1311
1311
|
| `inputMode` | `"text" \| "search" \| "none" \| "tel" \| "url" \| "email" \| "numeric" \| "decimal" \| undefined` | | | The inputmode of the input. |
|
|
1312
1312
|
| `label` | `string` | | yes | Text content of the label of the element. |
|
|
1313
|
-
| `labelAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted,
|
|
1313
|
+
| `labelAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`. |
|
|
1314
1314
|
| `labelMode` | `"outside" \| "floating" \| "inside" \| undefined` | | | Label rendering mode. |
|
|
1315
1315
|
| `labelPosition` | `"end" \| "start" \| "center" \| "left" \| "right" \| undefined` | `'start'` | | Text alignment of the label. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction. |
|
|
1316
1316
|
| `layout` | `Responsive<FieldLayout> \| undefined` | | | How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`). |
|
|
@@ -1414,7 +1414,7 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
1414
1414
|
- Listed nodes are the ones `BbTextInput`'s API reaches or that declare a documented CSS variable; the rest fold into "also mounts". The complete tree, undocumented locals included, is `manifest/components/BbTextInput.tree.json` (a public component in it is a name: its own tree file has the rest).
|
|
1415
1415
|
|
|
1416
1416
|
- `BbTextInput` _(this component)_ — its own template binds: `input` → `input.bb-text-input__input`, `controlAttrs` → `input.bb-text-input__input`
|
|
1417
|
-
- `CommonField` _(internal — not importable, reach it through `BbTextInput`)_ — `BbTextInput`'s pt parts land here: `root` → `div.bb-field`, `label` → `component`, `description` → `span.bb-field__description`, `hint` → `span.bb-field__hint`, `counter` → `span.bb-field__counter`, `message` → `div.bb-field__message`;
|
|
1417
|
+
- `CommonField` _(internal — not importable, reach it through `BbTextInput`)_ — `BbTextInput`'s pt parts land here: `root` → `div.bb-field`, `label` → `component`, `description` → `span.bb-field__description`, `hint` → `span.bb-field__hint`, `counter` → `span.bb-field__counter`, `message` → `div.bb-field__message`; also mounts `BbAsterisk`
|
|
1418
1418
|
- `CommonFieldInput` _(internal — not importable, reach it through `BbTextInput`)_ — `BbTextInput`'s pt parts land here: `box` → `span.bb-field-input__box`, `prefix` → `span.bb-field-input__prefix`, `icon` → `BbIcon`, `clear` → `ClearableButton`, `spinner` → `BbSpinner`, `suffix` → `span.bb-field-input__suffix`; documented CSS variables: `--bg`, `--bg-hover`, `--bg-focus`, `--bg-disabled`, `--fg-disabled`, `--border-color`, `--border-focus`, `--ring-size`, `--ring-color`, `--elev`, `--frost`, `--ph`, `--inside-label-clearance`; also mounts `ErrorIcon`, `WarningIcon`, `ClearableButton`, `BbIcon`, `BbSpinner`
|
|
1419
1419
|
|
|
1420
1420
|
## See Also
|
package/dist/ai/BbTextarea.md
CHANGED
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
|
|
32
32
|
| Variable | Set through | Declared by | What it is |
|
|
33
33
|
| --- | --- | --- | --- |
|
|
34
|
-
| `--ctrl-line` | `pt:label` | `CommonField` | Where the control's first line is centred, from the top of the control column (half the box height by default); the label's first line aligns to it in side-by-side layouts. |
|
|
35
34
|
| `--bg` | `pt:box` | `CommonFieldInput` | the shell's fill |
|
|
36
35
|
| `--bg-hover` | `pt:box` | `CommonFieldInput` | fill under the pointer |
|
|
37
36
|
| `--bg-focus` | `pt:box` | `CommonFieldInput` | fill while focus is inside, and under --active |
|
|
@@ -777,9 +776,10 @@ const changelog = ref<string | null>(
|
|
|
777
776
|
```
|
|
778
777
|
|
|
779
778
|
- `label-align` / `input-align` (`top | center | bottom`) set where each
|
|
780
|
-
column sits vertically in a side-by-side row. Omitted,
|
|
781
|
-
|
|
782
|
-
the tall column, so `label-align="center"` puts the label,
|
|
779
|
+
column sits vertically in a side-by-side row. Omitted, both sit at the
|
|
780
|
+
top: the label's top meets the textarea's top. With a fixed `rows` the
|
|
781
|
+
textarea is the tall column, so `label-align="center"` puts the label,
|
|
782
|
+
description
|
|
783
783
|
included, on its middle; `input-align` would not move it. Not
|
|
784
784
|
`label-position`, which aligns the label text horizontally.
|
|
785
785
|
|
|
@@ -790,7 +790,7 @@ const changelog = ref<string | null>(
|
|
|
790
790
|
<div class="grid max-w-md gap-3 rounded-(--bb-radius) border p-4">
|
|
791
791
|
<!-- A fixed `rows` makes the textarea the tall column: `label-align`
|
|
792
792
|
moves the short one, so the label (and its description) sits on the
|
|
793
|
-
textarea's middle instead of its
|
|
793
|
+
textarea's middle instead of its top. -->
|
|
794
794
|
<BbTextarea
|
|
795
795
|
v-model="notes"
|
|
796
796
|
description="Visible to your team only."
|
|
@@ -1044,9 +1044,9 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
|
|
|
1044
1044
|
| `hideLabel` | `boolean \| undefined` | `false` | | Visually hides the label of the input while maintaining accessibility. Pair it with a `placeholder`: an empty field otherwise shows nothing saying what it is for. |
|
|
1045
1045
|
| `hint` | `string \| undefined` | | | Text box to be displayed near the input, usually to indicate instructions. |
|
|
1046
1046
|
| `id` | `string \| undefined` | | | The `id` of the native control; the label's `for` and the description and message ids derive from it. Generated when omitted. |
|
|
1047
|
-
| `inputAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted,
|
|
1047
|
+
| `inputAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`. |
|
|
1048
1048
|
| `label` | `string` | | yes | Text content of the label of the element. |
|
|
1049
|
-
| `labelAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted,
|
|
1049
|
+
| `labelAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`. |
|
|
1050
1050
|
| `labelMode` | `"outside" \| "floating" \| "inside" \| undefined` | | | Label rendering mode. `'outside'` (default) sits the label above/beside the field; `'floating'`/`'inside'` overlay it, like the other text inputs. |
|
|
1051
1051
|
| `labelPosition` | `"end" \| "start" \| "center" \| "left" \| "right" \| undefined` | `'start'` | | Text alignment of the label. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction. |
|
|
1052
1052
|
| `layout` | `Responsive<FieldLayout> \| undefined` | | | How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`). |
|
|
@@ -1152,7 +1152,7 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
1152
1152
|
- Listed nodes are the ones `BbTextarea`'s API reaches or that declare a documented CSS variable; the rest fold into "also mounts". The complete tree, undocumented locals included, is `manifest/components/BbTextarea.tree.json` (a public component in it is a name: its own tree file has the rest).
|
|
1153
1153
|
|
|
1154
1154
|
- `BbTextarea` _(this component)_ — its own template binds: `controlAttrs` → `textarea.bb-textarea__input`, `input` → `textarea.bb-textarea__input`
|
|
1155
|
-
- `CommonField` _(internal — not importable, reach it through `BbTextarea`)_ — `BbTextarea`'s pt parts land here: `root` → `div.bb-field`, `label` → `component`, `description` → `span.bb-field__description`, `hint` → `span.bb-field__hint`, `counter` → `span.bb-field__counter`, `message` → `div.bb-field__message`;
|
|
1155
|
+
- `CommonField` _(internal — not importable, reach it through `BbTextarea`)_ — `BbTextarea`'s pt parts land here: `root` → `div.bb-field`, `label` → `component`, `description` → `span.bb-field__description`, `hint` → `span.bb-field__hint`, `counter` → `span.bb-field__counter`, `message` → `div.bb-field__message`; also mounts `BbAsterisk`
|
|
1156
1156
|
- `CommonFieldInput` _(internal — not importable, reach it through `BbTextarea`)_ — `BbTextarea`'s pt parts land here: `box` → `span.bb-field-input__box`, `prefix` → `span.bb-field-input__prefix`, `icon` → `BbIcon`, `clear` → `ClearableButton`, `spinner` → `BbSpinner`, `suffix` → `span.bb-field-input__suffix`; documented CSS variables: `--bg`, `--bg-hover`, `--bg-focus`, `--bg-disabled`, `--fg-disabled`, `--border-color`, `--border-focus`, `--ring-size`, `--ring-color`, `--elev`, `--frost`, `--ph`, `--inside-label-clearance`; also mounts `ErrorIcon`, `WarningIcon`, `ClearableButton`, `BbIcon`, `BbSpinner`
|
|
1157
1157
|
- Also mounts `BbSmoothHeight`
|
|
1158
1158
|
|
|
@@ -36,7 +36,6 @@
|
|
|
36
36
|
|
|
37
37
|
| Variable | Set through | Declared by | What it is |
|
|
38
38
|
| --- | --- | --- | --- |
|
|
39
|
-
| `--ctrl-line` | `pt:label` | `CommonField` | Where the control's first line is centred, from the top of the control column (half the box height by default); the label's first line aligns to it in side-by-side layouts. |
|
|
40
39
|
| `--bg` | `pt:box` | `CommonFieldInput` | the shell's fill |
|
|
41
40
|
| `--bg-hover` | `pt:box` | `CommonFieldInput` | fill under the pointer |
|
|
42
41
|
| `--bg-focus` | `pt:box` | `CommonFieldInput` | fill while focus is inside, and under --active |
|
|
@@ -319,9 +318,9 @@ Messages _also_ render in an `aria-live="polite"` region.
|
|
|
319
318
|
| `hideLabel` | `boolean \| undefined` | `false` | | Visually hides the label of the input while maintaining accessibility. Pair it with a `placeholder`: an empty field otherwise shows nothing saying what it is for. |
|
|
320
319
|
| `hint` | `string \| undefined` | | | Text box to be displayed near the input, usually to indicate instructions. |
|
|
321
320
|
| `id` | `string \| undefined` | | | The `id` of the native control; the label's `for` and the description and message ids derive from it. Generated when omitted. |
|
|
322
|
-
| `inputAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted,
|
|
321
|
+
| `inputAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`. |
|
|
323
322
|
| `label` | `string` | | yes | Text content of the label of the element. |
|
|
324
|
-
| `labelAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted,
|
|
323
|
+
| `labelAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`. |
|
|
325
324
|
| `labelMode` | `"outside" \| "floating" \| "inside" \| undefined` | | | Label rendering mode. |
|
|
326
325
|
| `labelPosition` | `"end" \| "start" \| "center" \| "left" \| "right" \| undefined` | `'start'` | | Text alignment of the label. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction. |
|
|
327
326
|
| `layout` | `Responsive<FieldLayout> \| undefined` | | | How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`). |
|
|
@@ -432,7 +431,7 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
432
431
|
- `BbTimePickerInput` _(this component)_ — its own template binds: `controlAttrs` → `input.bb-segmented-field__input`, `input` → `input.bb-segmented-field__input`, `activator` → `button.bb-segmented-field__activator`, `suffix` → `span.bb-field-input__suffix`, `panel` → `div`, `panel` → `CommonPopover`; hands `BbOffCanvas` the pt map `{ panel: 'root', sheet: 'root' }` (ours → theirs)
|
|
433
432
|
- `BbOffCanvas` _(public — [contract](./BbOffCanvas.md))_ — its own pt parts (`BbOffCanvas`): `header` → `div.bb-offcanvas__header`, `title` → `span.bb-offcanvas__title`, `description` → `p.bb-offcanvas__description`, `close` → `CloseButton`, `content` → `div.bb-offcanvas__content`, `footer` → `div.bb-offcanvas__footer`; documented CSS variables: `--stack-x`, `--snap-y`, `--stack-fill`, `--stack-transition-duration`, `--px`, `--handle-w`, `--handle-h`, `--handle-bg`, `--safe-top`, `--close-size`
|
|
434
433
|
- `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`, `--icon-size`; also mounts `BbIcon`
|
|
435
|
-
- `CommonField` _(internal — not importable, reach it through `BbTimePickerInput`)_ — `BbTimePickerInput`'s pt parts land here: `root` → `div.bb-field`, `label` → `component`, `description` → `span.bb-field__description`, `hint` → `span.bb-field__hint`, `counter` → `span.bb-field__counter`, `message` → `div.bb-field__message`;
|
|
434
|
+
- `CommonField` _(internal — not importable, reach it through `BbTimePickerInput`)_ — `BbTimePickerInput`'s pt parts land here: `root` → `div.bb-field`, `label` → `component`, `description` → `span.bb-field__description`, `hint` → `span.bb-field__hint`, `counter` → `span.bb-field__counter`, `message` → `div.bb-field__message`; also mounts `BbAsterisk`
|
|
436
435
|
- `CommonFieldInput` _(internal — not importable, reach it through `BbTimePickerInput`)_ — `BbTimePickerInput`'s pt parts land here: `box` → `span.bb-field-input__box`, `prefix` → `span.bb-field-input__prefix`, `icon` → `BbIcon`, `clear` → `ClearableButton`, `spinner` → `BbSpinner`, `suffix` → `span.bb-field-input__suffix`; documented CSS variables: `--bg`, `--bg-hover`, `--bg-focus`, `--bg-disabled`, `--fg-disabled`, `--border-color`, `--border-focus`, `--ring-size`, `--ring-color`, `--elev`, `--frost`, `--ph`, `--inside-label-clearance`; also mounts `ErrorIcon`, `WarningIcon`, `ClearableButton`, `BbIcon`, `BbSpinner`
|
|
437
436
|
- `CommonTimeSelector` _(internal — not importable, reach it through `BbTimePickerInput`)_ — `BbTimePickerInput`'s pt parts land here: `header` → `div.bb-time-selector__header`, `cellColumnHeader` → `div.bb-time-selector__cell-column-header`, `item` → `BbBaseButton`; documented CSS variables: `--time-mark`
|
|
438
437
|
- `BbBaseButton` _(public — [contract](./BbBaseButton.md))_ — its own pt parts (`BbBaseButton`): `root` → `RouterComponent`, `root` → `a`, `root` → `component`; also mounts `RouterComponent`
|
package/dist/ai/BbTooltip.md
CHANGED
|
@@ -496,15 +496,17 @@ const files: SharedFile[] = [
|
|
|
496
496
|
|
|
497
497
|
`pt` reaches a named part of the tooltip with a class list — or, in the
|
|
498
498
|
object form, a style and attributes — optionally only while a state is on.
|
|
499
|
-
Parts: `root` (the floating element, arrow included) and `panel` (the
|
|
500
|
-
bubble). State: `open`. A `class`,
|
|
501
|
-
itself lands on `root` too.
|
|
499
|
+
Parts: `root` (the floating element, arrow included) and `panel` (the text
|
|
500
|
+
box inside the bubble, for spacing and type). State: `open`. A `class`,
|
|
501
|
+
`style` or attribute on `<BbTooltip>` itself lands on `root` too.
|
|
502
502
|
|
|
503
|
-
The document-toolbar hints, restyled through those parts:
|
|
504
|
-
|
|
505
|
-
while `pt:root:open`.
|
|
503
|
+
The document-toolbar hints, restyled through those parts: `pt:root` sets the
|
|
504
|
+
paint tokens (`--bg`, `--border-color`, `--fg`), so the bubble and its arrow
|
|
505
|
+
turn muted with a border together, plus a drop shadow while `pt:root:open`. A
|
|
506
|
+
background on `pt:panel` would paint only the text box, inside the primary
|
|
507
|
+
bubble. Hover a glyph; delay 400 matches dense toolbars.
|
|
506
508
|
|
|
507
|
-
**pt:
|
|
509
|
+
**pt:root — toolbar hints, a muted bubble**
|
|
508
510
|
|
|
509
511
|
```vue
|
|
510
512
|
<template>
|
|
@@ -534,7 +536,7 @@ while `pt:root:open`. Hover a glyph; delay 400 matches dense toolbars.
|
|
|
534
536
|
></span>
|
|
535
537
|
<BbTooltip
|
|
536
538
|
:delay="400"
|
|
537
|
-
pt:
|
|
539
|
+
pt:root="[--bg:var(--bb-muted)] [--border-color:var(--bb-border)] [--fg:var(--bb-text)]"
|
|
538
540
|
pt:root:open="drop-shadow-md"
|
|
539
541
|
:text="action.label"
|
|
540
542
|
>
|
|
@@ -563,8 +565,10 @@ type ToolbarAction = {
|
|
|
563
565
|
};
|
|
564
566
|
|
|
565
567
|
// Same document-toolbar hints as `IconButtonTooltips.vue`, restyled through
|
|
566
|
-
// passthrough:
|
|
567
|
-
//
|
|
568
|
+
// passthrough: `pt:root` sets the paint tokens (`--bg`, `--border-color`,
|
|
569
|
+
// `--fg`), so the bubble AND its arrow turn muted with a border together (a
|
|
570
|
+
// background on `pt:panel` would paint only the text box inside the primary
|
|
571
|
+
// bubble); `pt:root:open` adds a drop shadow while showing. Hover
|
|
568
572
|
// a glyph to see the pt; `delay` 400 (the default is 100) holds the first hint
|
|
569
573
|
// back in a dense toolbar, and the next glyph's hint opens at once (skip delay).
|
|
570
574
|
const actions: ToolbarAction[] = [
|
|
@@ -680,7 +684,7 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
|
|
|
680
684
|
| Part | What it is |
|
|
681
685
|
| --- | --- |
|
|
682
686
|
| `root` | The floating element, arrow included; a `class` on the component lands here. |
|
|
683
|
-
| `panel` | The
|
|
687
|
+
| `panel` | The text box inside the bubble: spacing and type. The bubble's and arrow's paint come from `--bg` / `--border-color` / `--fg` on root. |
|
|
684
688
|
|
|
685
689
|
States are listed in precedence order: when two are on at once and their entries conflict, the later one wins.
|
|
686
690
|
|
|
@@ -710,8 +714,8 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
710
714
|
| `--border-color` | `var(--bb-primary)` | |
|
|
711
715
|
| `--fs` | `calc(var(--bb-fs) - 2px)` | |
|
|
712
716
|
| `--max-w` | `40ch` | Default measure. CommonPopover caps the bubble at the viewport minus its `padding`, which on a wide screen is a single line running the width of the page — unreadable, and the reason a hint needs a cap of its own. `ch` (not px) so the column tracks the font: the same 40ch measure the dropdown item description uses. The `width` prop overrides it by writing `--max-w` inline on the content; a consumer can override it in CSS on this root. |
|
|
713
|
-
| `--px` | `
|
|
714
|
-
| `--py` | `
|
|
717
|
+
| `--px` | `8px` | |
|
|
718
|
+
| `--py` | `2px` | |
|
|
715
719
|
|
|
716
720
|
## Component tree
|
|
717
721
|
|
package/dist/ai/CommonField.md
CHANGED
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
| `hideLabel` | `boolean \| undefined` | `false` | | Hide the visual label while keeping it available to assistive technology. |
|
|
25
25
|
| `hint` | `string \| undefined` | | | Hint text rendered below the input. While shown, its id is exposed to the input slot via `ariaDescribedby` — last in the list, after any error/warning ids and the description id. |
|
|
26
26
|
| `id` | `string \| undefined` | | | Explicit id for the container and associated input. Falls back to an auto-generated id when omitted. |
|
|
27
|
-
| `inputAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted,
|
|
27
|
+
| `inputAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`. |
|
|
28
28
|
| `inputPosition` | `"end" \| "start" \| "center" \| "left" \| "right" \| undefined` | `'start'` | | Horizontal alignment of the input column in a side-by-side layout. `'start'` / `'end'` follow the page direction; `'left'` / `'right'` stay physical. Unset: `'end'` in a horizontal / ratio split, else `'start'`. |
|
|
29
29
|
| `label` | `string` | | yes | Visible label text for the field. Also used to derive a fallback name. |
|
|
30
|
-
| `labelAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted,
|
|
30
|
+
| `labelAlign` | `'center'` \| `'top'` \| `'bottom'` | | | Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`. |
|
|
31
31
|
| `labelMode` | `"outside" \| "floating" \| "inside" \| undefined` | | | Label rendering mode. |
|
|
32
32
|
| `labelPosition` | `"end" \| "start" \| "center" \| "left" \| "right" \| undefined` | `"start"` | | Horizontal alignment for the label column. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction. |
|
|
33
33
|
| `labelTag` | `'span'` \| `'label'` \| `'legend'` | `"label"` | | Element used for the label: `label` (default), `legend` inside a `fieldset` container, or `span` when the text must not steal the click because the control already carries its own label. |
|
|
@@ -54,14 +54,6 @@
|
|
|
54
54
|
- `input` — scope: `CommonFieldInputSlotProps` `{ id: string; name: string; hasErrors: boolean; hasWarnings: boolean; ariaDescribedby: string; ariaLabelledby: string }` — The form control to render, positioned in the input column. Receives pre-computed wiring attributes so the inner input can be correctly associated with the label and hint.
|
|
55
55
|
- `label` — scope: `CommonFieldLabelSlotProps` `{ showAsterisk?: boolean; text: string; hasErrors: boolean; hasWarnings: boolean }` — Replaces the default label text. The outer label element and its `for` association are always rendered.
|
|
56
56
|
|
|
57
|
-
## CSS custom properties
|
|
58
|
-
|
|
59
|
-
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).
|
|
60
|
-
|
|
61
|
-
| Property | Default | What it is |
|
|
62
|
-
| --- | --- | --- |
|
|
63
|
-
| `--ctrl-line` | `calc(var(--bb-input-h) / 2)` | Where the control's first line is centred, from the top of the control column (half the box height by default); the label's first line aligns to it in side-by-side layouts. |
|
|
64
|
-
|
|
65
57
|
## Component tree
|
|
66
58
|
|
|
67
59
|
`CommonField` is not one component: rendering it mounts every component below, and each one is live inside it. **Read this before styling, theming or debugging `CommonField`, and before concluding a part, a token or a behaviour does not exist** — it may live on a component further down. How to read it:
|
|
@@ -84,18 +84,13 @@ Set these on the element, or on a class you put on it, to retune this component
|
|
|
84
84
|
| `--indicator-h` | `.bb-radio-group__list--line` | `2px` | |
|
|
85
85
|
| `--indicator-shadow` | `.bb-radio-group__list--line` | `none` | |
|
|
86
86
|
| `--elev` | `.bb-radio-group__list--line` | `none` | |
|
|
87
|
-
| `--list-bg` | `.bb-radio-group__list--outline` | `
|
|
87
|
+
| `--list-bg` | `.bb-radio-group__list--outline` | `transparent` | |
|
|
88
88
|
| `--list-border` | `.bb-radio-group__list--outline` | `transparent` | |
|
|
89
|
+
| `--list-h` | `.bb-radio-group__list--outline` | `auto` | |
|
|
89
90
|
| `--p` | `.bb-radio-group__list--outline` | `0px` | |
|
|
90
|
-
| `--trigger-
|
|
91
|
+
| `--trigger-gap` | `.bb-radio-group__list--outline` | `8px` | |
|
|
92
|
+
| `--trigger-min-h` | `.bb-radio-group__list--outline` | `calc(var(--bb-control-h) - 4px)` | BbButton md |
|
|
91
93
|
| `--trigger-px` | `.bb-radio-group__list--outline` | `12px` | |
|
|
92
|
-
| `--
|
|
93
|
-
| `--
|
|
94
|
-
| `--
|
|
95
|
-
| `--active-fw` | `.bb-radio-group__list--outline` | `500` | |
|
|
96
|
-
| `--indicator-bg` | `.bb-radio-group__list--outline` | `var(--bb-primary)` | |
|
|
97
|
-
| `--indicator-border` | `.bb-radio-group__list--outline` | `transparent` | |
|
|
98
|
-
| `--indicator-r` | `.bb-radio-group__list--outline` | `0px` | |
|
|
99
|
-
| `--indicator-shadow` | `.bb-radio-group__list--outline` | `none` | |
|
|
100
|
-
| `--divider` | `.bb-radio-group__list--outline` | `var(--bb-outline-border)` | The frame and the lines between the segments |
|
|
101
|
-
| `--hover-bg` | `.bb-radio-group__list--outline` | `var(--bb-outline-hover)` | An unpicked segment under the pointer |
|
|
94
|
+
| `--fs` | `.bb-radio-group__list--outline` | `var(--bb-fs)` | |
|
|
95
|
+
| `--trigger-r` | `.bb-radio-group__list--outline` | `var(--bb-radius)` | |
|
|
96
|
+
| `--elev` | `.bb-radio-group__list--outline` | `var(--bb-elev)` | |
|
package/dist/ai/changelog.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 3,
|
|
3
3
|
"library": "bitboss-ui",
|
|
4
|
-
"version": "3.0.0-beta.
|
|
4
|
+
"version": "3.0.0-beta.71",
|
|
5
5
|
"upgrade": "v2-to-v3",
|
|
6
6
|
"guide": "ai/guides/migration/v2-to-v3.md",
|
|
7
7
|
"legend": {
|
|
@@ -78,7 +78,9 @@
|
|
|
78
78
|
"3.0.0-beta.66",
|
|
79
79
|
"3.0.0-beta.67",
|
|
80
80
|
"3.0.0-beta.68",
|
|
81
|
-
"3.0.0-beta.69"
|
|
81
|
+
"3.0.0-beta.69",
|
|
82
|
+
"3.0.0-beta.70",
|
|
83
|
+
"3.0.0-beta.71"
|
|
82
84
|
],
|
|
83
85
|
"unpublished": [
|
|
84
86
|
"3.0.0-alpha.2",
|
|
@@ -101,7 +103,7 @@
|
|
|
101
103
|
],
|
|
102
104
|
"summary": {
|
|
103
105
|
"renames": 230,
|
|
104
|
-
"behaviourBreaks":
|
|
106
|
+
"behaviourBreaks": 330,
|
|
105
107
|
"bySurface": {
|
|
106
108
|
"prop": 16,
|
|
107
109
|
"option": 1,
|
|
@@ -112,7 +114,7 @@
|
|
|
112
114
|
"class": 140
|
|
113
115
|
},
|
|
114
116
|
"unreleased": 0,
|
|
115
|
-
"added":
|
|
117
|
+
"added": 560
|
|
116
118
|
},
|
|
117
119
|
"added": {
|
|
118
120
|
"3.0.0-alpha.1": [
|
|
@@ -2618,6 +2620,11 @@
|
|
|
2618
2620
|
"ai-init · a CLAUDE.md that imports AGENTS.md, a skill for any UI work",
|
|
2619
2621
|
"mcp · the server's sdk ships bundled, an app's own pair wins",
|
|
2620
2622
|
"eslint · static-plugin-options flags computed tooling-read options",
|
|
2623
|
+
"gallery · prototype bbgallery, a thumbnail grid and a full-screen viewer",
|
|
2624
|
+
"gallery · story, review screenshots and notes",
|
|
2625
|
+
"gallery · design pass, error and loading states, balanced bar, caption type",
|
|
2626
|
+
"gallery · dev showcase and pt showcase",
|
|
2627
|
+
"gallery · guide, examples, ssr test, token fixes",
|
|
2621
2628
|
"setup · agent setup sync, update, setup command, ai option",
|
|
2622
2629
|
"setup · config edits for setup, babel parser bundled into dist/setup-kit.mjs",
|
|
2623
2630
|
"setup · yarn pnp support ported from the pnp lane, ai option in the key list",
|
|
@@ -2629,6 +2636,34 @@
|
|
|
2629
2636
|
"BbForm"
|
|
2630
2637
|
]
|
|
2631
2638
|
}
|
|
2639
|
+
],
|
|
2640
|
+
"3.0.0-beta.70": [
|
|
2641
|
+
"pack · ship only the declarations the exports reach",
|
|
2642
|
+
"gallery · generic item type for the slots",
|
|
2643
|
+
"gallery · viewer colours follow the bg and fg locals",
|
|
2644
|
+
"carousel · picker thumbnails are buttons",
|
|
2645
|
+
"i18n · add gallery more and less strings",
|
|
2646
|
+
"gallery · the caption in the bottom bar, in full from More",
|
|
2647
|
+
{
|
|
2648
|
+
"text": "carousel · mark the current thumb with a surface border",
|
|
2649
|
+
"components": [
|
|
2650
|
+
"BbGallery"
|
|
2651
|
+
]
|
|
2652
|
+
},
|
|
2653
|
+
"gallery · open the caption in place, more beside it",
|
|
2654
|
+
"gallery · make the more button a quiet link"
|
|
2655
|
+
],
|
|
2656
|
+
"3.0.0-beta.71": [
|
|
2657
|
+
"setup · strict v-model checks for demonstrably new projects",
|
|
2658
|
+
"gate · one gate command folds test and test:ci:gates",
|
|
2659
|
+
"gate · land a branch on v3 only through a green gate",
|
|
2660
|
+
{
|
|
2661
|
+
"text": "dropdown · a hidden flag on rows and groups",
|
|
2662
|
+
"components": [
|
|
2663
|
+
"BbBreadcrumbs",
|
|
2664
|
+
"BbDropdownButton"
|
|
2665
|
+
]
|
|
2666
|
+
}
|
|
2632
2667
|
]
|
|
2633
2668
|
},
|
|
2634
2669
|
"breaking": [
|
|
@@ -10032,6 +10067,86 @@
|
|
|
10032
10067
|
"description": "The agent setup deletes the legacy .cursor/rules/bitboss-ui.mdc and .windsurf/rules/bitboss-ui.md (when they carry our heading) and removes its block from .github/copilot-instructions.md: AGENTS.md covers those harnesses (Zed read the Copilot file instead of it)",
|
|
10033
10068
|
"guide": "v3-beta-tooling.md § Install and plugin setup",
|
|
10034
10069
|
"firstReleasedIn": "3.0.0-beta.69"
|
|
10070
|
+
},
|
|
10071
|
+
{
|
|
10072
|
+
"id": "f487",
|
|
10073
|
+
"kind": "behaviour",
|
|
10074
|
+
"summary": "The package ships a `.d.ts` only if `exports` reaches it: a deep type import from `bitboss-ui/dist/...` fails under `moduleResolution: node` (TS7016); import the type from `bitboss-ui`",
|
|
10075
|
+
"libraryWide": true,
|
|
10076
|
+
"description": "The package ships a .d.ts only when its exports entries reach it (the internals' .js still ship): a deep type import of an internal file, such as bitboss-ui/dist/components/BbTable/utils, used to resolve under moduleResolution: \"node\" and now fails with TS7016; import the type from bitboss-ui",
|
|
10077
|
+
"guide": "v3-beta-tooling.md § Types of files inside bitboss-ui/dist",
|
|
10078
|
+
"firstReleasedIn": "3.0.0-beta.70"
|
|
10079
|
+
},
|
|
10080
|
+
{
|
|
10081
|
+
"id": "f488",
|
|
10082
|
+
"kind": "behaviour",
|
|
10083
|
+
"summary": "BbCarousel `picker` hides its own arrows and dots: drop `pt` written to hide them; a `pt` style brings them back. With `autoplay` the pause button goes too",
|
|
10084
|
+
"components": [
|
|
10085
|
+
"BbCarousel"
|
|
10086
|
+
],
|
|
10087
|
+
"description": "BbCarousel picker: the strip's own arrows and dots are hidden, the thumbnails being the control, so pt:prev / pt:next / pt:dots written to hide them can go; bring them back with a pt style. With autoplay the hidden dots row also hides the pause button",
|
|
10088
|
+
"guide": "migration/v2-to-v3.md",
|
|
10089
|
+
"firstReleasedIn": "3.0.0-beta.70"
|
|
10090
|
+
},
|
|
10091
|
+
{
|
|
10092
|
+
"id": "f489",
|
|
10093
|
+
"kind": "behaviour",
|
|
10094
|
+
"summary": "BbCarousel `picker` built-in images are buttons (new `pt` part `thumb`) with `aria-current`, and the current one has a border; selectors counting buttons see one more per photo",
|
|
10095
|
+
"components": [
|
|
10096
|
+
"BbCarousel"
|
|
10097
|
+
],
|
|
10098
|
+
"description": "BbCarousel picker without a slide slot: each built-in image is a <button> (new pt part thumb), named by its alt else the go-to-slide text, aria-current on the current one, which also gets a border in the surface's text colour. Selectors or tests counting buttons see one more per photo",
|
|
10099
|
+
"guide": "migration/v2-to-v3.md",
|
|
10100
|
+
"firstReleasedIn": "3.0.0-beta.70"
|
|
10101
|
+
},
|
|
10102
|
+
{
|
|
10103
|
+
"id": "f481",
|
|
10104
|
+
"kind": "behaviour",
|
|
10105
|
+
"summary": "New component BbGallery: a full-screen photo viewer opened by v-model or v-bb-gallery (index or URL); swipe, keys, loop, zoom, swipe-down close; carousel image fields",
|
|
10106
|
+
"components": [
|
|
10107
|
+
"BbGallery"
|
|
10108
|
+
],
|
|
10109
|
+
"description": "New component BbGallery: a full-screen photo viewer (lightbox) that draws nothing on the page, opened from anything by v-model (the index shown, null closed) or the v-bb-gallery directive ('id' or { id, item }, item an index or one of the photo's URLs; a hover or focus starts loading it). Swipe on the browser's own scroll-snap, arrows, ← / → / Home / End, loop; zoom (double-click / double tap, pinch, ctrl + wheel, + / - / 0, pan); swipe down to close, closeOnBackdropClick opt-in. Items take BbCarousel's image fields (src or srcset, alt, sizes, a bare URL) plus caption, width, height. title and #title / #header / #footer slots (counter in the footer; a picker BbCarousel there is the filmstrip). pt parts root, header, title, close, slide, image, caption, prev, next, footer, counter, more, states zoomed (viewer-wide), active (the slide shown), disabled (an arrow at an end)",
|
|
10110
|
+
"guide": "none (new component)",
|
|
10111
|
+
"firstReleasedIn": "3.0.0-beta.70"
|
|
10112
|
+
},
|
|
10113
|
+
{
|
|
10114
|
+
"id": "f490",
|
|
10115
|
+
"kind": "behaviour",
|
|
10116
|
+
"summary": "`variant=\"outline\"` on BbRadioGroup / BbCheckboxGroup: separate buttons, 8px gap, the pick pressed, not primary; on a checkbox set the fill with `--indicator-bg`, not `pt:indicator`",
|
|
10117
|
+
"components": [
|
|
10118
|
+
"BbCheckboxGroup",
|
|
10119
|
+
"BbRadioGroup"
|
|
10120
|
+
],
|
|
10121
|
+
"description": "BbRadioGroup / BbCheckboxGroup variant=\"outline\": separate outline buttons with an 8px gap at BbButton's md height, the pick in the button's pressed state, wrapping onto further lines when they do not fit (was a joined segmented strip that scrolled, the pick filled with the primary colour). Since beta.71 each button paints like BbButton variant=\"outline\" (compact = sm) and outline renders no indicator: pt:indicator / --indicator-bg no longer apply",
|
|
10122
|
+
"guide": "migration/v2-to-v3.md",
|
|
10123
|
+
"firstReleasedIn": "3.0.0-beta.70"
|
|
10124
|
+
},
|
|
10125
|
+
{
|
|
10126
|
+
"id": "f491",
|
|
10127
|
+
"kind": "behaviour",
|
|
10128
|
+
"summary": "Side-by-side field labels align to the top by default; option glyphs still centre on their first line. `label-align=\"center\"` is closest to the old look; drop `--ctrl-line`",
|
|
10129
|
+
"components": [
|
|
10130
|
+
"BbCheckbox",
|
|
10131
|
+
"BbCheckboxGroup",
|
|
10132
|
+
"BbColorInput",
|
|
10133
|
+
"BbDatePickerInput",
|
|
10134
|
+
"BbNumberInput",
|
|
10135
|
+
"BbRadio",
|
|
10136
|
+
"BbRadioGroup",
|
|
10137
|
+
"BbRating",
|
|
10138
|
+
"BbSelect",
|
|
10139
|
+
"BbSlider",
|
|
10140
|
+
"BbSwitch",
|
|
10141
|
+
"BbSwitchGroup",
|
|
10142
|
+
"BbTag",
|
|
10143
|
+
"BbTextInput",
|
|
10144
|
+
"BbTextarea",
|
|
10145
|
+
"BbTimePickerInput"
|
|
10146
|
+
],
|
|
10147
|
+
"description": "Side-by-side fields (every control with layout): the label column aligns to the TOP of the row by default. The computed first-line offset between the columns is gone — the library no longer sets either column's padding-top. Option text is unchanged: a toggle's glyph, standalone or in a group row (described rows and tiles included), still centres on its label's first line. labelAlign / inputAlign omitted now mean 'top'; itemLabelAlign / itemInputAlign omitted keep the row's first-line alignment. label-align=\"center\" is the closest to the old look (on a described row, input-align=\"center\" / item-input-align=\"center\"). Vertical layouts unchanged. --ctrl-line and BbRating's root --star no longer exist",
|
|
10148
|
+
"guide": "migration/v2-to-v3.md",
|
|
10149
|
+
"firstReleasedIn": "3.0.0-beta.71"
|
|
10035
10150
|
}
|
|
10036
10151
|
]
|
|
10037
10152
|
}
|