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
|
@@ -63,14 +63,14 @@
|
|
|
63
63
|
{"name":"enforceCoherence","type":"boolean","default":"false","description":"After every applied, successful load (an empty one included), drops the model values the options no longer contain (a single value resets to `null`). A failed load never prunes."},
|
|
64
64
|
{"name":"failedText","type":"string","default":"the localized `common.failedText` (\"Couldn't load items\")","description":"String displayed in the empty state while the latest load FAILED (the `items` provider threw): the twin of `emptyText` for that case."},
|
|
65
65
|
{"name":"hideLegend","type":"boolean","default":"false","description":"Visually hides the legend of the fieldset while maintaining accessibility."},
|
|
66
|
-
{"name":"inputAlign","type":"FieldCrossAlign","values":["center","top","bottom"],"description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted,
|
|
66
|
+
{"name":"inputAlign","type":"FieldCrossAlign","values":["center","top","bottom"],"description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`."},
|
|
67
67
|
{"name":"itemInputAlign","type":"FieldCrossAlign","values":["center","top","bottom"],"description":"Vertical position of each option's control in its row; `'center'` is the middle of the label plus its description. Omitted, it sits on the label's first line."},
|
|
68
68
|
{"name":"itemLabelAlign","type":"FieldCrossAlign","values":["center","top","bottom"],"description":"Vertical position of each option's label in its row. Omitted, it stays as it is."},
|
|
69
69
|
{"name":"itemLayout","type":"FieldLayout","default":"'auto'","description":"How each row's input and label sit together, in the `layout` keywords: `'auto'`, `'vertical'`, `'horizontal'`, `'label-fill'`, `'input-fill'`, or a two-word ratio pattern like `'xx xxxxx'`."},
|
|
70
70
|
{"name":"itemProps","type":"BbOptionGroupItemProps<T>","description":"ADDITIONAL row fields, never the text or value: `description`, a muted line under the label (it may wrap; announced as the option's description). An object of paths or getters, or a function of the item; nothing is read implicitly."},
|
|
71
71
|
{"name":"itemText","type":"ItemAccessor<T, string>","default":"own `label`, else `text`, else `JSON.stringify(item)`","description":"Defines a path that returns a property of the object to use as text or a function that returns a string.\n\nUnset: own `label`, else `text` (`{ label, value }` needs no accessor)."},
|
|
72
72
|
{"name":"itemValue","type":"ItemAccessor<T>","default":"own `value`, else the whole item","description":"Defines a path that returns a property of the object to use as value or a function that returns any value.\n\nUnset: own `value`, even `null`."},
|
|
73
|
-
{"name":"labelAlign","type":"FieldCrossAlign","values":["center","top","bottom"],"description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted,
|
|
73
|
+
{"name":"labelAlign","type":"FieldCrossAlign","values":["center","top","bottom"],"description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`."},
|
|
74
74
|
{"name":"layout","type":"Responsive<FieldLayout>","description":"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' }`)."},
|
|
75
75
|
{"name":"legendPosition","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\"","default":"'start'","description":"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."},
|
|
76
76
|
{"name":"loadingText","type":"string","description":"String displayed while items are being loaded."},
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
"nav"
|
|
47
47
|
],
|
|
48
48
|
"types": [
|
|
49
|
-
{"name":"BbBreadcrumbsItem","usedAs":["prop items"],"definition":"type BbBreadcrumbsItem = Omit<BbBaseButtonProps, 'block' | 'tag' | 'type' | 'text'> & { onClick?: (event: MouseEvent) => void | Promise<void>; label?: string; value?: string; key?: never; text?: never; 'prepend:icon'?: IconType; 'append:icon'?: IconType; };"}
|
|
49
|
+
{"name":"BbBreadcrumbsItem","usedAs":["prop items"],"definition":"type BbBreadcrumbsItem = Omit<BbBaseButtonProps, 'block' | 'tag' | 'type' | 'text'> & { onClick?: (event: MouseEvent) => void | Promise<void>; label?: string; value?: string; hidden?: boolean; key?: never; text?: never; 'prepend:icon'?: IconType; 'append:icon'?: IconType; };"}
|
|
50
50
|
]
|
|
51
51
|
}
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
{"name":"loop","type":"boolean","default":"false","description":"An endless run: buttons, keys, autoplay, a swipe and a mouse drag all carry on past the last slide into the first (and back), with no rewind."},
|
|
16
16
|
{"name":"modelValue","type":"number","default":"0","description":"The current slide, 0-based, never clamped to a scroll position: the view shows the page that holds it. Out of range, it is brought back and written back. The current slide: any slide, 0 to the last. The view shows the page that holds it; a value out of range is brought back in and written back."},
|
|
17
17
|
{"name":"perView","type":"number","default":"`undefined` (the local's own default: 1)","description":"Slides in view; a fraction shows a peek of the next (`1.2`). Sets the `--per-view` local. Leave it out to set the local yourself, for instance per breakpoint (`class=\"[--per-view:1.2] md:[--per-view:3]\"`); never both (`bitboss-ui/carousel-prop-or-local`)."},
|
|
18
|
-
{"name":"picker","type":"boolean","default":"false","description":"A strip that picks the current slide
|
|
19
|
-
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"slide\", \"image\", \"overlay\", \"prev\", \"next\", \"dots\", \"dot\", \"pause\"]; readonly states: readonly [\"current\", \"disabled\", \"active\"]; readonly wide: readonly []; readonly node: { readonly slide: readonly [\"active\", \"current\"]; readonly dot: readonly [\"active\"]; readonly prev: readonly [\"disabled\"]; readonly next: readonly [\"disabled\"]; }; }> & { image?: PtValue | undefined; pause?: PtValue | undefined; next?: PtValue | undefined; root?: PtValue | undefined; slide?: PtValue | undefined; overlay?: PtValue | undefined; prev?: PtValue | undefined; dots?: PtValue | undefined; dot?: PtValue | undefined; \"slide:active\"?: PtValue | undefined; \"dot:active\"?: PtValue | undefined; \"slide:current\"?: PtValue | undefined; \"next:disabled\"?: PtValue | undefined; \"prev:disabled\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix."}
|
|
18
|
+
{"name":"picker","type":"boolean","default":"false","description":"A strip that picks the current slide (thumbnails under a big photo on the same `v-model`): steps one at a time, keeps the current one in the middle slot, a swipe only browses. Its arrows and dots stay hidden (`pt` brings them back); without a `slide` slot each built-in image is a button."},
|
|
19
|
+
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"slide\", \"image\", \"thumb\", \"overlay\", \"prev\", \"next\", \"dots\", \"dot\", \"pause\"]; readonly states: readonly [\"current\", \"disabled\", \"active\"]; readonly wide: readonly []; readonly node: { readonly slide: readonly [\"active\", \"current\"]; readonly dot: readonly [\"active\"]; readonly prev: readonly [\"disabled\"]; readonly next: readonly [\"disabled\"]; }; }> & { image?: PtValue | undefined; pause?: PtValue | undefined; next?: PtValue | undefined; root?: PtValue | undefined; slide?: PtValue | undefined; thumb?: PtValue | undefined; overlay?: PtValue | undefined; prev?: PtValue | undefined; dots?: PtValue | undefined; dot?: PtValue | undefined; \"slide:active\"?: PtValue | undefined; \"dot:active\"?: PtValue | undefined; \"slide:current\"?: PtValue | undefined; \"next:disabled\"?: PtValue | undefined; \"prev:disabled\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix."}
|
|
20
20
|
],
|
|
21
21
|
"events": [
|
|
22
22
|
{"name":"update:modelValue","signature":"(value: number): void","description":"Emitted with the new value whenever `v-model` changes."}
|
|
@@ -37,6 +37,7 @@
|
|
|
37
37
|
{"name":"root","description":"The carousel region (`aria-roledescription=\"carousel\"`). Its locals size the slides: `--per-view` (slides in view, default `1`) and `--gap` (between slides, default `16px`). Set them per breakpoint with utilities (`class=\"md:[--per-view:2]\"`). `--bleed` (`auto` or a length; per side `--bleed-start` / `--bleed-end`) lets the slides run past the root to the page edge while they still snap to the root's edge. `--speed` (default `300ms`) is how long a move takes. The root also carries what looks like the strip's own styling: a background behind the slides, a border or a shadow around them, the corners (`--r`).","states":[]},
|
|
38
38
|
{"name":"slide","description":"One slide (`aria-roledescription=\"slide\"`, \"3 of 8\").","states":["active","current"]},
|
|
39
39
|
{"name":"image","description":"The image an image-URL entry of `items`, or an entry with a `src` or a `srcset`, renders without a `slide` slot. Its crop is the root's `--ratio` local (default `16 / 9`), or the root's height when it has one. The track (the scroller between the root and the slides) is deliberately NOT a part: its gap, overflow, snapping and padding are the carousel's geometry (the slide widths, the snap points and the bleed are computed from the same values), so a class there breaks the carousel, and the root already covers every look a consumer needs. Weigh any change that would expose it, or add to what it does, against that.","states":[]},
|
|
40
|
+
{"name":"thumb","description":"The button a `picker` wraps each built-in image in (never around `slide` slot content): named by the image's `alt`, else the go-to-slide text, with the current slide's carrying `aria-current`. Only with `picker`.","states":[]},
|
|
40
41
|
{"name":"overlay","description":"The layer the `overlay` slot renders on top of each slide: the slide's size, empty by default, letting taps through where it has no content.","states":[]},
|
|
41
42
|
{"name":"prev","description":"The previous-slide button.","states":["disabled"]},
|
|
42
43
|
{"name":"next","description":"The next-slide button.","states":["disabled"]},
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
{"part":"prev","target":"button.bb-carousel__arrow"},
|
|
9
9
|
{"part":"next","target":"button.bb-carousel__arrow"},
|
|
10
10
|
{"part":"slide","target":"div.bb-carousel__slide"},
|
|
11
|
+
{"part":"thumb","target":"button.bb-carousel__thumb"},
|
|
11
12
|
{"part":"image","target":"img.bb-carousel__image"},
|
|
12
13
|
{"part":"overlay","target":"div.bb-carousel__overlay"}
|
|
13
14
|
],
|
|
@@ -27,6 +28,7 @@
|
|
|
27
28
|
"--dragging",
|
|
28
29
|
"--framed",
|
|
29
30
|
"--loop",
|
|
31
|
+
"--picker",
|
|
30
32
|
"--py",
|
|
31
33
|
"__arrow",
|
|
32
34
|
"__dot",
|
|
@@ -46,6 +48,7 @@
|
|
|
46
48
|
"__slide--clone",
|
|
47
49
|
"__slide--current",
|
|
48
50
|
"__slide--page",
|
|
51
|
+
"__thumb",
|
|
49
52
|
"__track"
|
|
50
53
|
]
|
|
51
54
|
},
|
|
@@ -63,6 +66,8 @@
|
|
|
63
66
|
"--hit",
|
|
64
67
|
"--inset",
|
|
65
68
|
"--m",
|
|
69
|
+
"--mark",
|
|
70
|
+
"--mark-bg",
|
|
66
71
|
"--per-view",
|
|
67
72
|
"--py",
|
|
68
73
|
"--r",
|
|
@@ -74,6 +79,7 @@
|
|
|
74
79
|
{"class":"bb-carousel","tag":"section","part":"root","reads":["--_bleed-end","--_bleed-start","--bleed","--bleed-end","--bleed-start","--gap","--per-view"]},
|
|
75
80
|
{"class":"bb-carousel__slide","tag":"div","part":"slide","reads":["--gap","--per-view"]},
|
|
76
81
|
{"class":"bb-carousel__image","tag":"img","part":"image","reads":["--r","--ratio"]},
|
|
82
|
+
{"class":"bb-carousel__thumb","tag":"button","part":"thumb","reads":["--mark","--mark-bg","--r"]},
|
|
77
83
|
{"class":"bb-carousel__overlay","tag":"div","part":"overlay","reads":["--r"]},
|
|
78
84
|
{"class":"bb-carousel__prev","tag":"button","part":"prev","reads":["--_bs","--inset"]},
|
|
79
85
|
{"class":"bb-carousel__next","tag":"button","part":"next","reads":["--_be","--inset"]},
|
|
@@ -93,6 +99,7 @@
|
|
|
93
99
|
{"class":"bb-carousel--dragging"},
|
|
94
100
|
{"class":"bb-carousel--framed","tag":"section"},
|
|
95
101
|
{"class":"bb-carousel--loop","tag":"section"},
|
|
102
|
+
{"class":"bb-carousel--picker","tag":"section"},
|
|
96
103
|
{"class":"bb-carousel--py","tag":"section"},
|
|
97
104
|
{"class":"bb-carousel__arrow","tag":"button","reads":["--_dots-band","--arrow","--hit"]},
|
|
98
105
|
{"class":"bb-carousel__dot--far"},
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
{"name":"hint","common":true},
|
|
22
22
|
{"name":"id","common":true},
|
|
23
23
|
{"name":"indeterminate","type":"boolean","default":"false","description":"Sets the input in an indeterminate state."},
|
|
24
|
-
{"name":"inputAlign","type":"FieldCrossAlign","description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted,
|
|
24
|
+
{"name":"inputAlign","type":"FieldCrossAlign","description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`."},
|
|
25
25
|
{"name":"inputPosition","common":true},
|
|
26
26
|
{"name":"label","type":"string","required":true,"description":"Text content of the label of the element."},
|
|
27
|
-
{"name":"labelAlign","type":"FieldCrossAlign","description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted,
|
|
27
|
+
{"name":"labelAlign","type":"FieldCrossAlign","description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`."},
|
|
28
28
|
{"name":"labelPosition","common":true},
|
|
29
29
|
{"name":"layout","type":"Responsive<FieldLayout>","default":"'auto'","description":"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' }`)."},
|
|
30
30
|
{"name":"modelValue","common":true},
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{"part":"icon","target":"BbBaseCheckboxIcon"}
|
|
6
6
|
],
|
|
7
7
|
"nodes": [
|
|
8
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbCheckbox","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"
|
|
8
|
+
{"name":"CommonField","kind":"internal","vocabulary":"BbCheckbox","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},
|
|
9
9
|
{"name":"BbBaseCheckboxIcon","kind":"public"}
|
|
10
10
|
]
|
|
11
11
|
},
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
{"part":"icon","target":"BbBaseCheckboxIcon"}
|
|
7
7
|
],
|
|
8
8
|
"nodes": [
|
|
9
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbCheckboxGroup","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"
|
|
10
|
-
{"name":"OptionsContainer","kind":"internal","vocabulary":"BbCheckboxGroup","bindings":[{"part":"list","target":"span"},{"part":"item","target":"label"},{"part":"label","target":"span"},{"part":"itemDescription","target":"span"}],"cssProps":[{"name":"--list-bg","documented":true},{"name":"--list-border","documented":true,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--p","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--list-r","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip"]},{"name":"--list-h","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip"]},{"name":"--fs","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-gap","documented":true},{"name":"--trigger-px","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-r","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--trigger-min-h","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--list-fg","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--hover-fg","documented":true},{"name":"--active-fg","documented":true,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--active-fw","documented":true,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--indicator-bg","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-border","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-r","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-h","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-inset","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--elev","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-shadow","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--list-bg","documented":false},{"name":"--list-border","documented":false,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--p","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--list-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip"]},{"name":"--trigger-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--active-fw","documented":false,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--indicator-bg","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-border","documented":false,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-r","documented":false,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-h","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-shadow","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--elev","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--list-bg","documented":false},{"name":"--list-border","documented":false,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--
|
|
9
|
+
{"name":"CommonField","kind":"internal","vocabulary":"BbCheckboxGroup","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},
|
|
10
|
+
{"name":"OptionsContainer","kind":"internal","vocabulary":"BbCheckboxGroup","bindings":[{"part":"list","target":"span"},{"part":"item","target":"label"},{"part":"label","target":"span"},{"part":"itemDescription","target":"span"}],"cssProps":[{"name":"--list-bg","documented":true},{"name":"--list-border","documented":true,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--p","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item","bb-checkbox-group__list--outline"]},{"name":"--list-r","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip"]},{"name":"--list-h","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__list--outline"]},{"name":"--fs","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-gap","documented":true},{"name":"--trigger-px","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-r","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--trigger-min-h","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--list-fg","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--hover-fg","documented":true},{"name":"--active-fg","documented":true,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--active-fw","documented":true,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--indicator-bg","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-border","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-r","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-h","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-inset","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--elev","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected","bb-checkbox-group__item"]},{"name":"--indicator-shadow","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--list-bg","documented":false},{"name":"--list-border","documented":false,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--p","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item","bb-checkbox-group__list--outline"]},{"name":"--list-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip"]},{"name":"--trigger-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--active-fw","documented":false,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--indicator-bg","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-border","documented":false,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-r","documented":false,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-h","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-shadow","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--elev","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected","bb-checkbox-group__item"]},{"name":"--list-bg","documented":false},{"name":"--list-border","documented":false,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--list-h","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__list--outline"]},{"name":"--p","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item","bb-checkbox-group__list--outline"]},{"name":"--trigger-gap","documented":false},{"name":"--trigger-min-h","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-px","documented":false,"readBy":["bb-checkbox-group__item"]},{"name":"--fs","documented":false,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--elev","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected","bb-checkbox-group__item"]}]},
|
|
11
11
|
{"name":"BbBaseCheckboxIcon","kind":"public"}
|
|
12
12
|
]
|
|
13
13
|
},
|
|
@@ -59,13 +59,11 @@
|
|
|
59
59
|
"--active-fg",
|
|
60
60
|
"--active-fw",
|
|
61
61
|
"--color-gray-200",
|
|
62
|
-
"--divider",
|
|
63
62
|
"--elev",
|
|
64
63
|
"--fs",
|
|
65
64
|
"--gap",
|
|
66
65
|
"--height",
|
|
67
66
|
"--hit",
|
|
68
|
-
"--hover-bg",
|
|
69
67
|
"--hover-fg",
|
|
70
68
|
"--indicator-bg",
|
|
71
69
|
"--indicator-border",
|
|
@@ -90,7 +88,6 @@
|
|
|
90
88
|
"--row-h",
|
|
91
89
|
"--row-ie",
|
|
92
90
|
"--row-is",
|
|
93
|
-
"--seam",
|
|
94
91
|
"--size",
|
|
95
92
|
"--tap-row-gap",
|
|
96
93
|
"--tile-min-width",
|
|
@@ -115,7 +112,7 @@
|
|
|
115
112
|
{"class":"bb-checkbox-group__item--focused","state":"focused"},
|
|
116
113
|
{"class":"bb-checkbox-group__item--focus-visible","state":"focusVisible"},
|
|
117
114
|
{"class":"bb-checkbox-group__list--line","state":"line"},
|
|
118
|
-
{"class":"bb-checkbox-group__list--outline","state":"outline"}
|
|
115
|
+
{"class":"bb-checkbox-group__list--outline","state":"outline","reads":["--list-h","--p"]}
|
|
119
116
|
],
|
|
120
117
|
"internal": [
|
|
121
118
|
{"class":"bb-checkbox-group__empty"},
|
|
@@ -198,20 +195,15 @@
|
|
|
198
195
|
{"name":"--indicator-h","value":"2px","selector":".bb-checkbox-group__list--line"},
|
|
199
196
|
{"name":"--indicator-shadow","value":"none","selector":".bb-checkbox-group__list--line"},
|
|
200
197
|
{"name":"--elev","value":"none","selector":".bb-checkbox-group__list--line"},
|
|
201
|
-
{"name":"--list-bg","value":"
|
|
198
|
+
{"name":"--list-bg","value":"transparent","selector":".bb-checkbox-group__list--outline"},
|
|
202
199
|
{"name":"--list-border","value":"transparent","selector":".bb-checkbox-group__list--outline"},
|
|
200
|
+
{"name":"--list-h","value":"auto","selector":".bb-checkbox-group__list--outline"},
|
|
203
201
|
{"name":"--p","value":"0px","selector":".bb-checkbox-group__list--outline"},
|
|
204
|
-
{"name":"--trigger-
|
|
202
|
+
{"name":"--trigger-gap","value":"8px","selector":".bb-checkbox-group__list--outline"},
|
|
203
|
+
{"name":"--trigger-min-h","value":"calc(var(--bb-control-h) - 4px)","selector":".bb-checkbox-group__list--outline","description":"BbButton md"},
|
|
205
204
|
{"name":"--trigger-px","value":"12px","selector":".bb-checkbox-group__list--outline"},
|
|
206
|
-
{"name":"--
|
|
207
|
-
{"name":"--
|
|
208
|
-
{"name":"--
|
|
209
|
-
{"name":"--active-fw","value":"500","selector":".bb-checkbox-group__list--outline"},
|
|
210
|
-
{"name":"--indicator-bg","value":"var(--bb-primary)","selector":".bb-checkbox-group__list--outline"},
|
|
211
|
-
{"name":"--indicator-border","value":"transparent","selector":".bb-checkbox-group__list--outline"},
|
|
212
|
-
{"name":"--indicator-r","value":"0px","selector":".bb-checkbox-group__list--outline"},
|
|
213
|
-
{"name":"--indicator-shadow","value":"none","selector":".bb-checkbox-group__list--outline"},
|
|
214
|
-
{"name":"--divider","value":"var(--bb-outline-border)","selector":".bb-checkbox-group__list--outline","description":"The frame and the lines between the segments"},
|
|
215
|
-
{"name":"--hover-bg","value":"var(--bb-outline-hover)","selector":".bb-checkbox-group__list--outline","description":"An unpicked segment under the pointer"}
|
|
205
|
+
{"name":"--fs","value":"var(--bb-fs)","selector":".bb-checkbox-group__list--outline"},
|
|
206
|
+
{"name":"--trigger-r","value":"var(--bb-radius)","selector":".bb-checkbox-group__list--outline"},
|
|
207
|
+
{"name":"--elev","value":"var(--bb-elev)","selector":".bb-checkbox-group__list--outline"}
|
|
216
208
|
]
|
|
217
209
|
}
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
{"name":"hideLabel","common":true},
|
|
25
25
|
{"name":"hint","common":true},
|
|
26
26
|
{"name":"id","common":true},
|
|
27
|
-
{"name":"inputAlign","type":"FieldCrossAlign","description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted,
|
|
27
|
+
{"name":"inputAlign","type":"FieldCrossAlign","description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`."},
|
|
28
28
|
{"name":"label","type":"string","required":true,"description":"Text content of the label of the element."},
|
|
29
|
-
{"name":"labelAlign","type":"FieldCrossAlign","description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted,
|
|
29
|
+
{"name":"labelAlign","type":"FieldCrossAlign","description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`."},
|
|
30
30
|
{"name":"labelMode","type":"\"outside\" | \"floating\" | \"inside\"","description":"Label rendering mode: `outside` places the label above the input, `floating` overlays it on the field and shrinks it when a value is set, `inside` keeps it inside the field."},
|
|
31
31
|
{"name":"labelPosition","common":true},
|
|
32
32
|
{"name":"layout","common":true},
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
{"to":"BbColorPalette","mapping":"{ panel: 'panel', sheet: 'sheet', swatch: 'swatch' }"}
|
|
12
12
|
],
|
|
13
13
|
"nodes": [
|
|
14
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbColorInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"
|
|
14
|
+
{"name":"CommonField","kind":"internal","vocabulary":"BbColorInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},
|
|
15
15
|
{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbColorInput","bindings":[{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"icon","target":"BbIcon"},{"part":"clear","target":"ClearableButton"},{"part":"spinner","target":"BbSpinner"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"cssProps":[{"name":"--bg","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--bg-hover","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-disabled","documented":true,"readBy":["bb-field-input__box"]},{"name":"--fg-disabled","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix","bb-field-input__prepend-icon","bb-field-input__append-icon"]},{"name":"--border-color","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--border-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-size","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-color","documented":true,"readBy":["bb-field-input__box"]},{"name":"--elev","documented":true,"readBy":["bb-field-input__box"]},{"name":"--frost","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ph","documented":true},{"name":"--inside-label-clearance","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix"]},{"name":"--ring-t","documented":false,"readBy":["bb-field-input__box"]}],"children":[{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"WarningIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-warning-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"ClearableButton","kind":"internal","children":[{"name":"BbIcon","kind":"public"}]},{"name":"BbIcon","kind":"public"},{"name":"BbSpinner","kind":"public"}]},
|
|
16
16
|
{"name":"BbColorPalette","kind":"public"}
|
|
17
17
|
]
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"exposed": [],
|
|
18
18
|
"models": [],
|
|
19
19
|
"types": [
|
|
20
|
-
{"name":"BbComponentsMap","usedAs":["prop config"],"definition":"type BbComponentsMap<Mode extends 'global' | 'scope' = 'global', V = BbUninferredVariants> = { all?: BbAllConfig; } & { [C in AnyComponent]?: Mode extends 'scope' ? ScopeEntry<C, V> : BbComponentConfig<C, V>; };","fields":["all?: BbAllConfig","BbAccordion?: unknown","BbAlert?: unknown","BbAsterisk?: unknown","BbAvatar?: unknown","BbBadge?: unknown","BbBaseButton?: unknown","BbBaseCheckboxIcon?: unknown","BbBaseRadioIcon?: unknown","BbBaseSwitchIcon?: unknown","BbBreadcrumbs?: unknown","BbButton?: unknown","BbCalendar?: unknown","BbCarousel?: unknown","BbCheckbox?: unknown","BbCheckboxGroup?: unknown","BbCollapsible?: unknown","BbColorInput?: unknown","BbColorPalette?: unknown","BbConfirm?: unknown","BbDatePicker?: unknown","BbDatePickerInput?: unknown","BbDialog?: unknown","BbDropdown?: unknown","BbDropdownButton?: unknown","BbDropzone?: unknown","BbHoverCard?: unknown","BbIcon?: unknown","BbIndicator?: unknown","BbNumberInput?: unknown","BbOffCanvas?: unknown","BbPagination?: unknown","BbPopover?: unknown","BbProgress?: unknown","BbRadio?: unknown","BbRadioGroup?: unknown","BbRating?: unknown","BbSelect?: unknown","BbSelectPopover?: unknown","BbSlider?: unknown","BbSmoothHeight?: unknown","BbSpinner?: unknown","BbSwitch?: unknown","BbSwitchGroup?: unknown","BbTable?: unknown","BbTabs?: unknown","BbTabsList?: unknown","BbTabsPanels?: unknown","BbTag?: unknown","BbTextInput?: unknown","BbTextarea?: unknown","BbTimePicker?: unknown","BbTimePickerInput?: unknown","BbToast?: unknown","BbTooltip?: unknown","BbTree?: unknown"]},
|
|
20
|
+
{"name":"BbComponentsMap","usedAs":["prop config"],"definition":"type BbComponentsMap<Mode extends 'global' | 'scope' = 'global', V = BbUninferredVariants> = { all?: BbAllConfig; } & { [C in AnyComponent]?: Mode extends 'scope' ? ScopeEntry<C, V> : BbComponentConfig<C, V>; };","fields":["all?: BbAllConfig","BbAccordion?: unknown","BbAlert?: unknown","BbAsterisk?: unknown","BbAvatar?: unknown","BbBadge?: unknown","BbBaseButton?: unknown","BbBaseCheckboxIcon?: unknown","BbBaseRadioIcon?: unknown","BbBaseSwitchIcon?: unknown","BbBreadcrumbs?: unknown","BbButton?: unknown","BbCalendar?: unknown","BbCarousel?: unknown","BbCheckbox?: unknown","BbCheckboxGroup?: unknown","BbCollapsible?: unknown","BbColorInput?: unknown","BbColorPalette?: unknown","BbConfirm?: unknown","BbDatePicker?: unknown","BbDatePickerInput?: unknown","BbDialog?: unknown","BbDropdown?: unknown","BbDropdownButton?: unknown","BbDropzone?: unknown","BbGallery?: unknown","BbHoverCard?: unknown","BbIcon?: unknown","BbIndicator?: unknown","BbNumberInput?: unknown","BbOffCanvas?: unknown","BbPagination?: unknown","BbPopover?: unknown","BbProgress?: unknown","BbRadio?: unknown","BbRadioGroup?: unknown","BbRating?: unknown","BbSelect?: unknown","BbSelectPopover?: unknown","BbSlider?: unknown","BbSmoothHeight?: unknown","BbSpinner?: unknown","BbSwitch?: unknown","BbSwitchGroup?: unknown","BbTable?: unknown","BbTabs?: unknown","BbTabsList?: unknown","BbTabsPanels?: unknown","BbTag?: unknown","BbTextInput?: unknown","BbTextarea?: unknown","BbTimePicker?: unknown","BbTimePickerInput?: unknown","BbToast?: unknown","BbTooltip?: unknown","BbTree?: unknown"]},
|
|
21
21
|
{"name":"BbConfigScopeName","usedAs":["prop name"],"definition":"type BbConfigScopeName = RegistryKey<ConfigScopeRegistry, 'bitboss-ui: no configScopes configured — add configScopes to bitbossUi() and commit bitboss-ui.d.ts'>;","extensibleVia":"ConfigScopeRegistry"}
|
|
22
22
|
]
|
|
23
23
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"nodes": [
|
|
14
14
|
{"name":"BbDatePicker","kind":"public"},
|
|
15
15
|
{"name":"BbIcon","kind":"public"},
|
|
16
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbDatePickerInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"
|
|
16
|
+
{"name":"CommonField","kind":"internal","vocabulary":"BbDatePickerInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},
|
|
17
17
|
{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbDatePickerInput","bindings":[{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"icon","target":"BbIcon"},{"part":"clear","target":"ClearableButton"},{"part":"spinner","target":"BbSpinner"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"cssProps":[{"name":"--bg","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--bg-hover","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-disabled","documented":true,"readBy":["bb-field-input__box"]},{"name":"--fg-disabled","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix","bb-field-input__prepend-icon","bb-field-input__append-icon"]},{"name":"--border-color","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--border-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-size","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-color","documented":true,"readBy":["bb-field-input__box"]},{"name":"--elev","documented":true,"readBy":["bb-field-input__box"]},{"name":"--frost","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ph","documented":true},{"name":"--inside-label-clearance","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix"]},{"name":"--ring-t","documented":false,"readBy":["bb-field-input__box"]}],"children":[{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"WarningIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-warning-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"ClearableButton","kind":"internal","children":[{"name":"BbIcon","kind":"public"}]},{"name":"BbIcon","kind":"public"},{"name":"BbSpinner","kind":"public"}]}
|
|
18
18
|
]
|
|
19
19
|
},
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
{"name":"placement","type":"\"cursor\" | Placement","default":"\"bottom\"","values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end","cursor"],"description":"Position of the dropdown relative to the activator. Use `'cursor'` to anchor at the mouse/touch coordinates. (No arrow is drawn either way — arrows are tooltip-only in v3.)"},
|
|
28
28
|
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"header\", \"footer\", \"input\", \"list\", \"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"submenu\"]; readonly states: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\", \"open\"]; readonly wide: readonly [\"open\"]; readonly node: { readonly item: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemText: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemIcon: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemDescription: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly check: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; }; readonly variant: { readonly names: readonly [\"default\", \"destructive\"]; readonly option: \"dropdownItemVariants\"; readonly parts: readonly [\"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\"]; }; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; sheet?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"footer:open\"?: PtValue | undefined; \"item:open\"?: PtValue | undefined; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"submenu:open\"?: PtValue | undefined; \"item:activeLink\"?: PtValue | undefined; \"item:exactActiveLink\"?: PtValue | undefined; \"itemDescription:activeLink\"?: PtValue | undefined; \"itemDescription:exactActiveLink\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:activeLink\"?: PtValue | undefined; \"itemText:exactActiveLink\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:activeLink\"?: PtValue | undefined; \"itemIcon:exactActiveLink\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:activeLink\"?: PtValue | undefined; \"check:exactActiveLink\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"item:default\"?: PtValue | undefined; \"item:destructive\"?: PtValue | undefined; \"itemDescription:default\"?: PtValue | undefined; \"itemDescription:destructive\"?: PtValue | undefined; \"itemText:default\"?: PtValue | undefined; \"itemText:destructive\"?: PtValue | undefined; \"itemIcon:default\"?: PtValue | undefined; \"itemIcon:destructive\"?: PtValue | undefined; \"check:default\"?: PtValue | undefined; \"check:destructive\"?: PtValue | undefined; } & { item?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemDescription?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemText?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemIcon?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; check?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; submenu?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
|
|
29
29
|
{"name":"queryDebounceTime","type":"number","default":"300","description":"Debounce (ms) applied to the async re-fetch a `searchable` group fires as the user types. Applies to every searchable group in the menu."},
|
|
30
|
-
{"name":"transitionDuration","type":"number","default":"150","description":"The open / close transition in milliseconds. Menus take the fast one (150), not the popovers' medium 250: a menu is
|
|
30
|
+
{"name":"transitionDuration","type":"number","default":"150","description":"The open / close transition in milliseconds. Menus take the fast one (150), not the popovers' medium 250: a menu is picked from and gone, so it answers faster than a panel you read or edit in."},
|
|
31
31
|
{"name":"trigger","type":"DropdownTrigger | DropdownTrigger[]","default":"\"click\"","description":"Interaction(s) that open the dropdown. Accepts a single trigger or an array to combine them.\n- `'click'` — left-click / tap (default)\n- `'contextMenu'` — right-click on desktop, long-press on mobile"},
|
|
32
32
|
{"name":"width","type":"string | number","default":"\"auto\"","description":"Width of the dropdown in pixels, percentage, or 'auto' to fit content."}
|
|
33
33
|
],
|
|
@@ -92,7 +92,7 @@
|
|
|
92
92
|
],
|
|
93
93
|
"config": "adaptive*, compact*, variants",
|
|
94
94
|
"types": [
|
|
95
|
-
{"name":"BbDropdownItem","usedAs":["prop items"],"definition":"type BbDropdownItem = InternalItem | InternalGroup | BbDropdownItem[];","members":{"InternalItem":["except?: string[]","disabled?: boolean","rel?: string","target?: string","activeClass?: string","ariaCurrentValue?: \"page\" | \"step\" | \"location\" | \"date\" | \"time\" | \"true\" | \"false\"","data?: object","exactActiveClass?: string","headers?: object","href?: string | { url: string; method: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"; }","download?: string | boolean","external?: boolean","method?: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"","onBefore?: (() => void)","onCancel?: (() => void)","onCancelToken?: ((cancelToken: unknown) => void)","onFinish?: (() => void)","only?: string[]","onProgress?: ((progress: { percentage: number | undefined; }) => void)","onStart?: (() => void)","onSuccess?: (() => void)","preserveScroll?: boolean | ((props: Record<string, unknown>) => boolean)","preserveState?: boolean | ((props: Record<string, unknown>) => boolean) | null","queryStringArrayFormat?: \"brackets\" | \"indices\"","replace?: boolean","to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric","async?: boolean","cacheFor?: string | number | (string | number)[]","cacheTags?: string | string[]","component?: string","instant?: boolean","onError?: ((errors: Record<string, string>) => void)","onPrefetched?: (() => void)","onPrefetching?: (() => void)","pageProps?: Record<string, unknown> | ((currentProps: Record<string, unknown>, sharedProps: Record<string, unknown>) => Record<string, unknown>) | null","prefetch?: string | boolean | string[]","preserveUrl?: boolean","viewTransition?: boolean","items?: BbDropdownItem[]","onClick?: ((...args: any[]) => any)","append:icon?: string","meta?: any","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","label: string","value?: unknown","keyless?: true","rowKey?: string","domKey?: string","description?: string","placeholder?: \"loading\" | \"failed\" | \"empty\"","error?: unknown","fetched?: true","slotKey?: string"],"InternalGroup":["append:icon?: string","meta?: any","onClick?: ((...args: any[]) => any)","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","id?: string","dependencies?: unknown[]","depsDebounceTime?: number","enforceCoherence?: boolean","filterBy?: false | string[]","group?: true","items: any[] | DropdownGroupItemsGetter | (InternalItem | InternalItem[])[]","itemText?: string | ((item: any) => string)","itemProps?: BbDropdownItemProps<any>","itemValue?: string | ((item: any) => any)","loadingText?: string","max?: number","maxHeight?: string | number","multiple?: boolean","clearable?: boolean","emptyText?: string","failedText?: string","prefill?: boolean | \"interaction\"","searchable?: boolean","searchPlaceholder?: string","groupBy?: string | ((row: any) => string | null | undefined)","selectable?: boolean | ((item: any) => boolean)","stash?: boolean","label?: string","hideLabel?: boolean"]}},
|
|
95
|
+
{"name":"BbDropdownItem","usedAs":["prop items"],"definition":"type BbDropdownItem = InternalItem | InternalGroup | BbDropdownItem[];","members":{"InternalItem":["except?: string[]","disabled?: boolean","rel?: string","target?: string","activeClass?: string","ariaCurrentValue?: \"page\" | \"step\" | \"location\" | \"date\" | \"time\" | \"true\" | \"false\"","data?: object","exactActiveClass?: string","headers?: object","href?: string | { url: string; method: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"; }","download?: string | boolean","external?: boolean","method?: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"","onBefore?: (() => void)","onCancel?: (() => void)","onCancelToken?: ((cancelToken: unknown) => void)","onFinish?: (() => void)","only?: string[]","onProgress?: ((progress: { percentage: number | undefined; }) => void)","onStart?: (() => void)","onSuccess?: (() => void)","preserveScroll?: boolean | ((props: Record<string, unknown>) => boolean)","preserveState?: boolean | ((props: Record<string, unknown>) => boolean) | null","queryStringArrayFormat?: \"brackets\" | \"indices\"","replace?: boolean","to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric","async?: boolean","cacheFor?: string | number | (string | number)[]","cacheTags?: string | string[]","component?: string","instant?: boolean","onError?: ((errors: Record<string, string>) => void)","onPrefetched?: (() => void)","onPrefetching?: (() => void)","pageProps?: Record<string, unknown> | ((currentProps: Record<string, unknown>, sharedProps: Record<string, unknown>) => Record<string, unknown>) | null","prefetch?: string | boolean | string[]","preserveUrl?: boolean","viewTransition?: boolean","items?: BbDropdownItem[]","onClick?: ((...args: any[]) => any)","append:icon?: string","hidden?: boolean","meta?: any","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","label: string","value?: unknown","keyless?: true","rowKey?: string","domKey?: string","description?: string","placeholder?: \"loading\" | \"failed\" | \"empty\"","error?: unknown","fetched?: true","slotKey?: string"],"InternalGroup":["append:icon?: string","hidden?: boolean","meta?: any","onClick?: ((...args: any[]) => any)","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","id?: string","dependencies?: unknown[]","depsDebounceTime?: number","enforceCoherence?: boolean","filterBy?: false | string[]","group?: true","items: any[] | DropdownGroupItemsGetter | (InternalItem | InternalItem[])[]","itemText?: string | ((item: any) => string)","itemProps?: BbDropdownItemProps<any>","itemValue?: string | ((item: any) => any)","loadingText?: string","max?: number","maxHeight?: string | number","multiple?: boolean","clearable?: boolean","emptyText?: string","failedText?: string","prefill?: boolean | \"interaction\"","searchable?: boolean","searchPlaceholder?: string","groupBy?: string | ((row: any) => string | null | undefined)","selectable?: boolean | ((item: any) => boolean)","stash?: boolean","label?: string","hideLabel?: boolean"]}},
|
|
96
96
|
{"name":"BbDropdownItemSlotProps","usedAs":["slot item:append","slot item:prepend","slot <value>","slot <value>:prepend","slot <value>:append","slot <groupId>:item","slot <groupId>:item:prepend","slot <groupId>:item:append","slot <groupId>","slot <groupId>:prepend","slot <groupId>:append"],"fields":["description?: string","disabled?: boolean","group: BbDropdownSlotGroup","groupTitle: boolean","level: number","index: number","item: InternalItem","loading: boolean","open: boolean","placement: Placement | \"cursor\"","selected: boolean","label: string","activeLink?: boolean","exactActiveLink?: boolean"]},
|
|
97
97
|
{"name":"BbOffCanvasProps","usedAs":["prop offCanvasProps"]},
|
|
98
98
|
{"name":"ElementOrComponentRef","usedAs":["prop activator","prop anchor","prop boundary"],"definition":"type ElementOrComponentRef = Element | ComponentPublicInstance | Pick<ComponentPublicInstance, '$el'> | { el: Element | null; } | null;"},
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
{"name":"text","common":true},
|
|
67
67
|
{"name":"to","type":"string | et | X","description":"Route Location the link should navigate to when clicked on."},
|
|
68
68
|
{"name":"toggle:icon","type":"string","description":"Replaces the chevron shown inside the dropdown toggle button. A constrained alternative to a slot: only the toggle's icon changes, so the button keeps its semantics. Named after the part it sits in (the `toggle`), the way `prepend:icon` / `append:icon` name theirs."},
|
|
69
|
-
{"name":"transitionDuration","type":"number","default":"150","description":"The open / close transition in milliseconds. Menus take the fast one (150), not the popovers' medium 250: a menu is
|
|
69
|
+
{"name":"transitionDuration","type":"number","default":"150","description":"The open / close transition in milliseconds. Menus take the fast one (150), not the popovers' medium 250: a menu is picked from and gone, so it answers faster than a panel you read or edit in."},
|
|
70
70
|
{"name":"type","type":"\"button\" | \"reset\" | \"submit\"","description":"Gets the classification and default behavior of the button."},
|
|
71
71
|
{"name":"variant","type":"ButtonVariantType","default":"`components.BbButton.variant`, else `'primary'`","values":["outline","primary","destructive","secondary","none","ghost","link"],"description":"Visual variant shared by both buttons of the split control. `'none'` takes no look (you own hover, focus and disabled); register a real one with the plugin's `components.BbButton.variants` and style `.bb-button--<name>`. Unset: `BbButton`'s `components` entry (the app's or a config scope's)."},
|
|
72
72
|
{"name":"viewTransition","common":true},
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
],
|
|
148
148
|
"config": "block*",
|
|
149
149
|
"types": [
|
|
150
|
-
{"name":"BbDropdownItem","usedAs":["prop items"],"definition":"type BbDropdownItem = InternalItem | InternalGroup | BbDropdownItem[];","members":{"InternalItem":["except?: string[]","disabled?: boolean","rel?: string","target?: string","activeClass?: string","ariaCurrentValue?: \"page\" | \"step\" | \"location\" | \"date\" | \"time\" | \"true\" | \"false\"","data?: object","exactActiveClass?: string","headers?: object","href?: string | { url: string; method: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"; }","download?: string | boolean","external?: boolean","method?: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"","onBefore?: (() => void)","onCancel?: (() => void)","onCancelToken?: ((cancelToken: unknown) => void)","onFinish?: (() => void)","only?: string[]","onProgress?: ((progress: { percentage: number | undefined; }) => void)","onStart?: (() => void)","onSuccess?: (() => void)","preserveScroll?: boolean | ((props: Record<string, unknown>) => boolean)","preserveState?: boolean | ((props: Record<string, unknown>) => boolean) | null","queryStringArrayFormat?: \"brackets\" | \"indices\"","replace?: boolean","to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric","async?: boolean","cacheFor?: string | number | (string | number)[]","cacheTags?: string | string[]","component?: string","instant?: boolean","onError?: ((errors: Record<string, string>) => void)","onPrefetched?: (() => void)","onPrefetching?: (() => void)","pageProps?: Record<string, unknown> | ((currentProps: Record<string, unknown>, sharedProps: Record<string, unknown>) => Record<string, unknown>) | null","prefetch?: string | boolean | string[]","preserveUrl?: boolean","viewTransition?: boolean","items?: BbDropdownItem[]","onClick?: ((...args: any[]) => any)","append:icon?: string","meta?: any","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","label: string","value?: unknown","keyless?: true","rowKey?: string","domKey?: string","description?: string","placeholder?: \"loading\" | \"failed\" | \"empty\"","error?: unknown","fetched?: true","slotKey?: string"],"InternalGroup":["append:icon?: string","meta?: any","onClick?: ((...args: any[]) => any)","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","id?: string","dependencies?: unknown[]","depsDebounceTime?: number","enforceCoherence?: boolean","filterBy?: false | string[]","group?: true","items: any[] | DropdownGroupItemsGetter | (InternalItem | InternalItem[])[]","itemText?: string | ((item: any) => string)","itemProps?: BbDropdownItemProps<any>","itemValue?: string | ((item: any) => any)","loadingText?: string","max?: number","maxHeight?: string | number","multiple?: boolean","clearable?: boolean","emptyText?: string","failedText?: string","prefill?: boolean | \"interaction\"","searchable?: boolean","searchPlaceholder?: string","groupBy?: string | ((row: any) => string | null | undefined)","selectable?: boolean | ((item: any) => boolean)","stash?: boolean","label?: string","hideLabel?: boolean"]}},
|
|
150
|
+
{"name":"BbDropdownItem","usedAs":["prop items"],"definition":"type BbDropdownItem = InternalItem | InternalGroup | BbDropdownItem[];","members":{"InternalItem":["except?: string[]","disabled?: boolean","rel?: string","target?: string","activeClass?: string","ariaCurrentValue?: \"page\" | \"step\" | \"location\" | \"date\" | \"time\" | \"true\" | \"false\"","data?: object","exactActiveClass?: string","headers?: object","href?: string | { url: string; method: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"; }","download?: string | boolean","external?: boolean","method?: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"","onBefore?: (() => void)","onCancel?: (() => void)","onCancelToken?: ((cancelToken: unknown) => void)","onFinish?: (() => void)","only?: string[]","onProgress?: ((progress: { percentage: number | undefined; }) => void)","onStart?: (() => void)","onSuccess?: (() => void)","preserveScroll?: boolean | ((props: Record<string, unknown>) => boolean)","preserveState?: boolean | ((props: Record<string, unknown>) => boolean) | null","queryStringArrayFormat?: \"brackets\" | \"indices\"","replace?: boolean","to?: string | RouteLocationAsRelativeGeneric | RouteLocationAsPathGeneric","async?: boolean","cacheFor?: string | number | (string | number)[]","cacheTags?: string | string[]","component?: string","instant?: boolean","onError?: ((errors: Record<string, string>) => void)","onPrefetched?: (() => void)","onPrefetching?: (() => void)","pageProps?: Record<string, unknown> | ((currentProps: Record<string, unknown>, sharedProps: Record<string, unknown>) => Record<string, unknown>) | null","prefetch?: string | boolean | string[]","preserveUrl?: boolean","viewTransition?: boolean","items?: BbDropdownItem[]","onClick?: ((...args: any[]) => any)","append:icon?: string","hidden?: boolean","meta?: any","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","label: string","value?: unknown","keyless?: true","rowKey?: string","domKey?: string","description?: string","placeholder?: \"loading\" | \"failed\" | \"empty\"","error?: unknown","fetched?: true","slotKey?: string"],"InternalGroup":["append:icon?: string","hidden?: boolean","meta?: any","onClick?: ((...args: any[]) => any)","prepend:icon?: string","variant?: keyof DropdownItemVariantRegistry","id?: string","dependencies?: unknown[]","depsDebounceTime?: number","enforceCoherence?: boolean","filterBy?: false | string[]","group?: true","items: any[] | DropdownGroupItemsGetter | (InternalItem | InternalItem[])[]","itemText?: string | ((item: any) => string)","itemProps?: BbDropdownItemProps<any>","itemValue?: string | ((item: any) => any)","loadingText?: string","max?: number","maxHeight?: string | number","multiple?: boolean","clearable?: boolean","emptyText?: string","failedText?: string","prefill?: boolean | \"interaction\"","searchable?: boolean","searchPlaceholder?: string","groupBy?: string | ((row: any) => string | null | undefined)","selectable?: boolean | ((item: any) => boolean)","stash?: boolean","label?: string","hideLabel?: boolean"]}},
|
|
151
151
|
{"name":"BbDropdownItemSlotProps","usedAs":["slot <value>","slot <value>:prepend","slot <value>:append","slot <groupId>:item","slot <groupId>:item:prepend","slot <groupId>:item:append","slot <groupId>","slot <groupId>:prepend","slot <groupId>:append"],"fields":["description?: string","disabled?: boolean","group: BbDropdownSlotGroup","groupTitle: boolean","level: number","index: number","item: InternalItem","loading: boolean","open: boolean","placement: Placement | \"cursor\"","selected: boolean","label: string","activeLink?: boolean","exactActiveLink?: boolean"]},
|
|
152
152
|
{"name":"BbOffCanvasProps","usedAs":["prop offCanvasProps"]},
|
|
153
153
|
{"name":"ButtonVariantType","usedAs":["prop variant"],"definition":"type ButtonVariantType = ButtonVariantFromRegistry | 'none';","values":["primary","outline","secondary","ghost","destructive","link","none"],"extensibleVia":"ButtonVariantRegistry"},
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "BbGallery",
|
|
3
|
+
"group": "Data Display",
|
|
4
|
+
"description": "A full-screen photo viewer (lightbox): swipe, arrows, keys, zoom; also the v-bb-gallery directive.",
|
|
5
|
+
"referenceOnly": false,
|
|
6
|
+
"hasGuide": true,
|
|
7
|
+
"contract": "ai/BbGallery.md",
|
|
8
|
+
"source": "ai/source/BbGallery.md",
|
|
9
|
+
"props": [
|
|
10
|
+
{"name":"closeOnBackdropClick","type":"boolean","default":"false","description":"A click (or a tap) on the dark area around the photo closes the viewer. Off, it does nothing there (a tap still hides the bars); Escape, the close button and a swipe down always close."},
|
|
11
|
+
{"name":"id","type":"string","default":"undefined","description":"The name `v-bb-gallery` opens it by, nearest to the trigger first. Also the viewer's DOM id."},
|
|
12
|
+
{"name":"items","type":"readonly (string | T)[]","required":true,"description":"The photos, in order: `{ src, alt, caption, … }` entries or image URLs."},
|
|
13
|
+
{"name":"loop","type":"boolean","default":"false","description":"Previous on the first photo goes to the last, next on the last to the first (buttons, keys and a swipe)."},
|
|
14
|
+
{"name":"modelValue","type":"number | null","default":"null","description":"The photo in the viewer, `null` while it is closed. Bind it to open the viewer yourself; `v-bb-gallery` opens it without one."},
|
|
15
|
+
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"header\", \"title\", \"close\", \"slide\", \"image\", \"caption\", \"prev\", \"next\", \"footer\", \"counter\", \"more\"]; readonly states: readonly [\"disabled\", \"active\", \"zoomed\"]; readonly wide: readonly [\"zoomed\"]; readonly node: { readonly slide: readonly [\"active\"]; readonly prev: readonly [\"disabled\"]; readonly next: readonly [\"disabled\"]; }; }> & { caption?: PtValue | undefined; footer?: PtValue | undefined; header?: PtValue | undefined; title?: PtValue | undefined; image?: PtValue | undefined; next?: PtValue | undefined; root?: PtValue | undefined; close?: PtValue | undefined; slide?: PtValue | undefined; prev?: PtValue | undefined; \"slide:active\"?: PtValue | undefined; \"next:disabled\"?: PtValue | undefined; \"prev:disabled\"?: PtValue | undefined; counter?: PtValue | undefined; more?: PtValue | undefined; \"caption:zoomed\"?: PtValue | undefined; \"footer:zoomed\"?: PtValue | undefined; \"header:zoomed\"?: PtValue | undefined; \"title:zoomed\"?: PtValue | undefined; \"image:zoomed\"?: PtValue | undefined; \"next:zoomed\"?: PtValue | undefined; \"root:zoomed\"?: PtValue | undefined; \"close:zoomed\"?: PtValue | undefined; \"slide:zoomed\"?: PtValue | undefined; \"prev:zoomed\"?: PtValue | undefined; \"counter:zoomed\"?: PtValue | undefined; \"more:zoomed\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix."},
|
|
16
|
+
{"name":"title","type":"string","default":"undefined","description":"A title in the top bar, also the viewer's accessible name. Unset, the bar shows only the close button and the name is the locale's \"Gallery\"."}
|
|
17
|
+
],
|
|
18
|
+
"events": [
|
|
19
|
+
{"name":"update:modelValue","signature":"(value: number | null): void","description":"Emitted with the new value whenever `v-model` changes."}
|
|
20
|
+
],
|
|
21
|
+
"slots": [
|
|
22
|
+
{"name":"footer","type":"BbGallerySlotProps<T>","fields":["index: number","count: number","item: T","go: (index: number) => void","close: () => void"],"description":"Replaces the counter with a row of your own across the bottom bar: your own counter, actions, or a filmstrip that calls `go`. The caption keeps its own one-line row directly above yours (there whenever any photo has one), so the photo never jumps."},
|
|
23
|
+
{"name":"header","type":"BbGalleryHeaderSlotProps<T>","fields":["index: number","count: number","item: T","go: (index: number) => void","close: () => void","titleId: string","title: string"],"description":"Replaces the whole top bar (title and close button), so it owns closing: wire your control to `close`, and `titleId` onto your title."},
|
|
24
|
+
{"name":"title","type":"BbGalleryTitleSlotProps<T>","fields":["index: number","count: number","item: T","go: (index: number) => void","close: () => void","text: string"],"description":"Replaces the title text in the top bar; it still names the viewer."}
|
|
25
|
+
],
|
|
26
|
+
"exposed": [],
|
|
27
|
+
"models": [
|
|
28
|
+
{"name":"modelValue","type":"number | null | undefined"}
|
|
29
|
+
],
|
|
30
|
+
"pt": {
|
|
31
|
+
"parts": [
|
|
32
|
+
{"name":"root","description":"The full-screen viewer (a native modal `dialog`).","states":["zoomed"]},
|
|
33
|
+
{"name":"header","description":"The top bar.","states":["zoomed"]},
|
|
34
|
+
{"name":"title","description":"The title line in the bar. Not rendered when a `#header` slot replaces the bar.","states":["zoomed"]},
|
|
35
|
+
{"name":"close","description":"The close button. Not rendered when a `#header` slot replaces the bar.","states":["zoomed"]},
|
|
36
|
+
{"name":"slide","description":"Each slide (`figure`), per item (`active` on the one shown).","states":["active","zoomed"]},
|
|
37
|
+
{"name":"image","description":"Each photo.","states":["zoomed"]},
|
|
38
|
+
{"name":"caption","description":"The caption in the bottom bar: one line, or the full text running upward from it when opened.","states":["zoomed"]},
|
|
39
|
+
{"name":"prev","description":"The previous button (`disabled` on the first photo, never with `loop`).","states":["disabled","zoomed"]},
|
|
40
|
+
{"name":"next","description":"The next button (`disabled` on the last photo, never with `loop`).","states":["disabled","zoomed"]},
|
|
41
|
+
{"name":"footer","description":"The bottom bar.","states":["zoomed"]},
|
|
42
|
+
{"name":"counter","description":"The \"3 / 12\" in the bottom bar. Not rendered when a `#footer` slot replaces it.","states":["zoomed"]},
|
|
43
|
+
{"name":"more","description":"The button that reads a caption too long for its line in full (\"More\", and \"Less\" while it is open). Only there while the photo shown has such a caption.","states":["zoomed"]}
|
|
44
|
+
],
|
|
45
|
+
"states": [
|
|
46
|
+
{"name":"disabled","description":"Per node: `prev` on the first photo, `next` on the last."},
|
|
47
|
+
{"name":"active","description":"Per node: the slide shown."},
|
|
48
|
+
{"name":"zoomed","description":"Component-wide: the photo shown is zoomed in."}
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"attrTargets": [
|
|
52
|
+
"dialog"
|
|
53
|
+
]
|
|
54
|
+
}
|