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
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "BbGallery",
|
|
3
|
+
"tree": {
|
|
4
|
+
"bindings": [
|
|
5
|
+
{"part":"header","target":"div.bb-gallery__header"},
|
|
6
|
+
{"part":"title","target":"p.bb-gallery__title"},
|
|
7
|
+
{"part":"close","target":"CloseButton"},
|
|
8
|
+
{"part":"slide","target":"figure.bb-gallery__slide"},
|
|
9
|
+
{"part":"image","target":"img.bb-gallery__image"},
|
|
10
|
+
{"part":"prev","target":"button.bb-gallery__nav"},
|
|
11
|
+
{"part":"next","target":"button.bb-gallery__nav"},
|
|
12
|
+
{"part":"footer","target":"div.bb-gallery__footer"},
|
|
13
|
+
{"part":"caption","target":"p.bb-gallery__caption"},
|
|
14
|
+
{"part":"more","target":"button.bb-gallery__more"},
|
|
15
|
+
{"part":"counter","target":"p.bb-gallery__counter"}
|
|
16
|
+
],
|
|
17
|
+
"nodes": [
|
|
18
|
+
{"name":"BbIcon","kind":"public"},
|
|
19
|
+
{"name":"CloseButton","kind":"internal","cssProps":[{"name":"--size","documented":true,"readBy":["bb-close-button"]},{"name":"--p","documented":true,"readBy":["bb-close-button"]},{"name":"--icon-size","documented":true},{"name":"--ring-t","documented":false,"readBy":["bb-close-button"]}],"children":[{"name":"BbIcon","kind":"public"}]}
|
|
20
|
+
]
|
|
21
|
+
},
|
|
22
|
+
"css": {
|
|
23
|
+
"classes": {
|
|
24
|
+
"bb-gallery": [
|
|
25
|
+
"",
|
|
26
|
+
"--dismissing",
|
|
27
|
+
"--gesture",
|
|
28
|
+
"--open",
|
|
29
|
+
"--quiet",
|
|
30
|
+
"--visible",
|
|
31
|
+
"--zoomed",
|
|
32
|
+
"__bar",
|
|
33
|
+
"__caption",
|
|
34
|
+
"__caption--open",
|
|
35
|
+
"__caption-text",
|
|
36
|
+
"__close",
|
|
37
|
+
"__counter",
|
|
38
|
+
"__footer",
|
|
39
|
+
"__frame",
|
|
40
|
+
"__header",
|
|
41
|
+
"__image",
|
|
42
|
+
"__image--sized",
|
|
43
|
+
"__missing",
|
|
44
|
+
"__missing--blank",
|
|
45
|
+
"__more",
|
|
46
|
+
"__nav",
|
|
47
|
+
"__nav--next",
|
|
48
|
+
"__nav--prev",
|
|
49
|
+
"__slide",
|
|
50
|
+
"__slide--active",
|
|
51
|
+
"__stage",
|
|
52
|
+
"__title",
|
|
53
|
+
"__track"
|
|
54
|
+
],
|
|
55
|
+
"bb-gallery-caption-": [
|
|
56
|
+
"*"
|
|
57
|
+
],
|
|
58
|
+
"bb-gallery-title-": [
|
|
59
|
+
"*"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"locals": [
|
|
63
|
+
"--arh",
|
|
64
|
+
"--arw",
|
|
65
|
+
"--bar-px",
|
|
66
|
+
"--color-gray-200",
|
|
67
|
+
"--d",
|
|
68
|
+
"--dismiss",
|
|
69
|
+
"--dismiss-y",
|
|
70
|
+
"--nav-size",
|
|
71
|
+
"--page-ff",
|
|
72
|
+
"--page-fs",
|
|
73
|
+
"--page-lh",
|
|
74
|
+
"--plate",
|
|
75
|
+
"--scrollbar-width",
|
|
76
|
+
"--viewer-bg",
|
|
77
|
+
"--viewer-fg",
|
|
78
|
+
"--viewer-muted",
|
|
79
|
+
"--w"
|
|
80
|
+
],
|
|
81
|
+
"surface": {
|
|
82
|
+
"stable": [
|
|
83
|
+
{"class":"bb-gallery","tag":"dialog","part":"root","reads":["--d","--dismiss","--viewer-bg","--viewer-fg"]},
|
|
84
|
+
{"class":"bb-gallery__header","tag":"div","part":"header","reads":["--bar-px","--dismiss","--nav-size","--viewer-bg"]},
|
|
85
|
+
{"class":"bb-gallery__title","tag":"p","part":"title","reads":["--viewer-fg"]},
|
|
86
|
+
{"class":"bb-gallery__close","tag":"CloseButton","part":"close","reads":["--nav-size","--viewer-fg"]},
|
|
87
|
+
{"class":"bb-gallery__slide","tag":"figure","part":"slide","reads":["--bar-px","--nav-size"]},
|
|
88
|
+
{"class":"bb-gallery__image","tag":"img","part":"image","reads":["--dismiss","--dismiss-y","--viewer-fg"]},
|
|
89
|
+
{"class":"bb-gallery__caption","tag":"p","part":"caption","reads":["--viewer-fg","--viewer-muted"]},
|
|
90
|
+
{"class":"bb-gallery__footer","tag":"div","part":"footer","reads":["--bar-px","--dismiss","--nav-size","--viewer-bg"]},
|
|
91
|
+
{"class":"bb-gallery__counter","tag":"p","part":"counter","reads":["--viewer-muted"]},
|
|
92
|
+
{"class":"bb-gallery__more","tag":"button","part":"more","reads":["--viewer-fg"]},
|
|
93
|
+
{"class":"bb-gallery__slide--active","tag":"figure","state":"active"},
|
|
94
|
+
{"class":"bb-gallery--zoomed","tag":"dialog","state":"zoomed"}
|
|
95
|
+
],
|
|
96
|
+
"internal": [
|
|
97
|
+
{"class":"bb-gallery--dismissing","tag":"dialog"},
|
|
98
|
+
{"class":"bb-gallery--gesture","tag":"dialog"},
|
|
99
|
+
{"class":"bb-gallery--open","tag":"dialog"},
|
|
100
|
+
{"class":"bb-gallery--quiet","tag":"dialog"},
|
|
101
|
+
{"class":"bb-gallery--visible","tag":"dialog","reads":["--scrollbar-width"]},
|
|
102
|
+
{"class":"bb-gallery__bar","tag":"div"},
|
|
103
|
+
{"class":"bb-gallery__caption--open","tag":"p","reads":["--bar-px","--viewer-bg","--viewer-fg"]},
|
|
104
|
+
{"class":"bb-gallery__caption-text","tag":"span"},
|
|
105
|
+
{"class":"bb-gallery__frame","tag":"div"},
|
|
106
|
+
{"class":"bb-gallery__image--sized","tag":"img","reads":["--arh","--arw","--w"]},
|
|
107
|
+
{"class":"bb-gallery__missing","tag":"p","reads":["--viewer-muted"]},
|
|
108
|
+
{"class":"bb-gallery__missing--blank","tag":"p","reads":["--viewer-fg"]},
|
|
109
|
+
{"class":"bb-gallery__nav","tag":"button","reads":["--nav-size","--plate","--viewer-bg","--viewer-fg"]},
|
|
110
|
+
{"class":"bb-gallery__nav--next","tag":"button","reads":["--bar-px"]},
|
|
111
|
+
{"class":"bb-gallery__nav--prev","tag":"button","reads":["--bar-px"]},
|
|
112
|
+
{"class":"bb-gallery__stage","tag":"div"},
|
|
113
|
+
{"class":"bb-gallery__track","tag":"div"}
|
|
114
|
+
],
|
|
115
|
+
"lands": [
|
|
116
|
+
{"part":"prev","target":"button.bb-gallery__nav"},
|
|
117
|
+
{"part":"next","target":"button.bb-gallery__nav"}
|
|
118
|
+
],
|
|
119
|
+
"unaligned": {
|
|
120
|
+
"states": [
|
|
121
|
+
"disabled"
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"cssProps": [
|
|
127
|
+
{"name":"--viewer-bg","value":"rgb(12 12 12)","selector":".bb-gallery","description":"The viewer's own: its plate and text, the bars' padding, the buttons. Every colour follows `--viewer-bg` / `--viewer-fg` (the muted text the ink, the arrows' plate the plate colour), so a light viewer is those two plus `color-scheme: light`; a derived local set directly wins."},
|
|
128
|
+
{"name":"--viewer-fg","value":"rgb(244 244 242)","selector":".bb-gallery"},
|
|
129
|
+
{"name":"--viewer-muted","value":"color-mix(in oklab, var(--viewer-fg) 75%, transparent)","selector":".bb-gallery"},
|
|
130
|
+
{"name":"--mark","value":"var(--viewer-fg)","selector":".bb-gallery","description":"A picker strip inside takes its current and focus marks from here."},
|
|
131
|
+
{"name":"--mark-bg","value":"var(--viewer-bg)","selector":".bb-gallery"},
|
|
132
|
+
{"name":"--bar-px","value":"max(16px, env(safe-area-inset-left), env(safe-area-inset-right))","selector":".bb-gallery"},
|
|
133
|
+
{"name":"--nav-size","value":"44px","selector":".bb-gallery"},
|
|
134
|
+
{"name":"--plate","value":"color-mix(in oklab, var(--viewer-bg) 60%, transparent)","selector":".bb-gallery"},
|
|
135
|
+
{"name":"--dismiss","value":"0","selector":".bb-gallery"},
|
|
136
|
+
{"name":"--dismiss-y","value":"0px","selector":".bb-gallery"},
|
|
137
|
+
{"name":"--d","value":"var(--bb-transition-medium)","selector":".bb-gallery"}
|
|
138
|
+
]
|
|
139
|
+
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
{"part":"controlAttrs","target":"input"}
|
|
8
8
|
],
|
|
9
9
|
"nodes": [
|
|
10
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbNumberInput","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":"CommonField","kind":"internal","vocabulary":"BbNumberInput","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"}]},
|
|
11
11
|
{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbNumberInput","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"}]}
|
|
12
12
|
]
|
|
13
13
|
},
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{"part":"icon","target":"BbBaseRadioIcon"}
|
|
6
6
|
],
|
|
7
7
|
"nodes": [
|
|
8
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbRadio","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":"BbRadio","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":"BbBaseRadioIcon","kind":"public"}
|
|
10
10
|
]
|
|
11
11
|
},
|
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
{"part":"icon","target":"BbBaseRadioIcon"}
|
|
7
7
|
],
|
|
8
8
|
"nodes": [
|
|
9
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbRadioGroup","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":"BbRadioGroup","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":"BbRadioGroup","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":"BbRadioGroup","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":"BbBaseRadioIcon","kind":"public"}
|
|
12
12
|
]
|
|
13
13
|
},
|
|
@@ -56,13 +56,11 @@
|
|
|
56
56
|
"--active-fg",
|
|
57
57
|
"--active-fw",
|
|
58
58
|
"--color-gray-200",
|
|
59
|
-
"--divider",
|
|
60
59
|
"--elev",
|
|
61
60
|
"--fs",
|
|
62
61
|
"--gap",
|
|
63
62
|
"--height",
|
|
64
63
|
"--hit",
|
|
65
|
-
"--hover-bg",
|
|
66
64
|
"--hover-fg",
|
|
67
65
|
"--indicator-bg",
|
|
68
66
|
"--indicator-border",
|
|
@@ -87,7 +85,6 @@
|
|
|
87
85
|
"--row-h",
|
|
88
86
|
"--row-ie",
|
|
89
87
|
"--row-is",
|
|
90
|
-
"--seam",
|
|
91
88
|
"--size",
|
|
92
89
|
"--tap-row-gap",
|
|
93
90
|
"--tile-min-width",
|
|
@@ -194,20 +191,15 @@
|
|
|
194
191
|
{"name":"--indicator-h","value":"2px","selector":".bb-radio-group__list--line"},
|
|
195
192
|
{"name":"--indicator-shadow","value":"none","selector":".bb-radio-group__list--line"},
|
|
196
193
|
{"name":"--elev","value":"none","selector":".bb-radio-group__list--line"},
|
|
197
|
-
{"name":"--list-bg","value":"
|
|
194
|
+
{"name":"--list-bg","value":"transparent","selector":".bb-radio-group__list--outline"},
|
|
198
195
|
{"name":"--list-border","value":"transparent","selector":".bb-radio-group__list--outline"},
|
|
196
|
+
{"name":"--list-h","value":"auto","selector":".bb-radio-group__list--outline"},
|
|
199
197
|
{"name":"--p","value":"0px","selector":".bb-radio-group__list--outline"},
|
|
200
|
-
{"name":"--trigger-
|
|
198
|
+
{"name":"--trigger-gap","value":"8px","selector":".bb-radio-group__list--outline"},
|
|
199
|
+
{"name":"--trigger-min-h","value":"calc(var(--bb-control-h) - 4px)","selector":".bb-radio-group__list--outline","description":"BbButton md"},
|
|
201
200
|
{"name":"--trigger-px","value":"12px","selector":".bb-radio-group__list--outline"},
|
|
202
|
-
{"name":"--
|
|
203
|
-
{"name":"--
|
|
204
|
-
{"name":"--
|
|
205
|
-
{"name":"--active-fw","value":"500","selector":".bb-radio-group__list--outline"},
|
|
206
|
-
{"name":"--indicator-bg","value":"var(--bb-primary)","selector":".bb-radio-group__list--outline"},
|
|
207
|
-
{"name":"--indicator-border","value":"transparent","selector":".bb-radio-group__list--outline"},
|
|
208
|
-
{"name":"--indicator-r","value":"0px","selector":".bb-radio-group__list--outline"},
|
|
209
|
-
{"name":"--indicator-shadow","value":"none","selector":".bb-radio-group__list--outline"},
|
|
210
|
-
{"name":"--divider","value":"var(--bb-outline-border)","selector":".bb-radio-group__list--outline","description":"The frame and the lines between the segments"},
|
|
211
|
-
{"name":"--hover-bg","value":"var(--bb-outline-hover)","selector":".bb-radio-group__list--outline","description":"An unpicked segment under the pointer"}
|
|
201
|
+
{"name":"--fs","value":"var(--bb-fs)","selector":".bb-radio-group__list--outline"},
|
|
202
|
+
{"name":"--trigger-r","value":"var(--bb-radius)","selector":".bb-radio-group__list--outline"},
|
|
203
|
+
{"name":"--elev","value":"var(--bb-elev)","selector":".bb-radio-group__list--outline"}
|
|
212
204
|
]
|
|
213
205
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
{"name":"color","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-rating.md","silent":true,"fix":{"kind":"manual"}},
|
|
5
5
|
{"name":"hasWarning","new":"hasWarnings","since":"3.0.0-beta.26","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},
|
|
6
6
|
{"name":"direction","new":"layout","since":"3.0.0-beta.33","migration":"ai/guides/migration/components/bb-rating.md","silent":true,"fix":{"kind":"rename"}},
|
|
7
|
-
{"name":"pt:label","new":"pt:legend","surface":"pt","since":"3.0.0-
|
|
7
|
+
{"name":"pt:label","new":"pt:legend","surface":"pt","since":"3.0.0-beta.69","migration":"ai/guides/migration/v3-beta-css-classes.md","silent":true,"fix":{"kind":"rename"}},
|
|
8
8
|
{"name":"vid","new":null,"hint":"a display name (v2: `vid=\"Email address\"`) is now `validation-label`; a field path (3.0 betas: `vid=\"address.city\"`) is now `name` (brackets for a native post: `address[city]`). `check --fix` picks by the value","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"byValue","display":"validationLabel","key":"name"}},
|
|
9
9
|
{"name":"validateOn","new":"validationMode","hint":"an array of events became one mode (`aggressive` | `balanced` | `lazy` | `submit-only` | `submit-live`). The old defaults (`['blur']`, `['inactive']`, a toggle's `['update:modelValue', 'change', 'blur']`) are `balanced`, the new default: delete the prop. A text field on `['update:modelValue']` is `validation-mode=\"aggressive\"`. Set it once on `<BbForm validation-mode>` instead of per field","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"manual"}}
|
|
10
10
|
]
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
],
|
|
7
7
|
"nodes": [
|
|
8
8
|
{"name":"BbIcon","kind":"public"},
|
|
9
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbRating","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"}],"
|
|
9
|
+
{"name":"CommonField","kind":"internal","vocabulary":"BbRating","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
10
|
]
|
|
11
11
|
},
|
|
12
12
|
"css": {
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
{"name":"id","common":true},
|
|
35
35
|
{"name":"inputAlign","common":true},
|
|
36
36
|
{"name":"itemHeight","type":"number","default":"28","description":"Height of the options in the listbox (px). Defaults to 28px (24px compact; 44px / 36px on mobile viewports). An explicit value wins on every viewport."},
|
|
37
|
-
{"name":"itemProps","type":"BbSelectItemProps
|
|
37
|
+
{"name":"itemProps","type":"BbSelectItemProps","description":"ADDITIONAL row fields, never the text or value: `description` (a muted line under the label), `prepend:icon`, `append:icon`. An object of paths or getters per field, or a function of the item. Nothing is read implicitly; none shows in the trigger or the chips."},
|
|
38
38
|
{"name":"items","type":"T[] | ((context: BbSelectItemsContext) => T[] | Promise<T[]>)","required":true,"description":"The options: an array, or a provider called with a `BbSelectItemsContext` (`query`, `reason`, `modelValue`, `signal`), sync or async. Branch on `reason !== 'search'` to resolve the selection by id. A provider fails by THROWING, never by returning `[]`."},
|
|
39
|
-
{"name":"itemText","
|
|
40
|
-
{"name":"itemValue","
|
|
39
|
+
{"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)."},
|
|
40
|
+
{"name":"itemValue","type":"ItemAccessor","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`."},
|
|
41
41
|
{"name":"knownItems","type":"([Known] extends [undefined] ? BbSelectKnownItems : Known)","description":"`{ value, label }` rows naming the value the app already holds, whatever the options' shape: no request until the first open (`prefill: true` still loads). Not options; the options' accessors never run on them; slots get the row as `item`, with `known: true`, until the list brings its own."},
|
|
42
42
|
{"name":"label","type":"string","required":true,"description":"Text content of the label of the element."},
|
|
43
43
|
{"name":"labelAlign","common":true},
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
{"name":"maxSelectedLabels","type":"number","default":"Infinity","description":"Maximum number of labels shown before collapsing to a count summary. Unset, the labels collapse only when they overflow the field."},
|
|
51
51
|
{"name":"modelValue","common":true},
|
|
52
52
|
{"name":"modelValueDebounceTime","type":"number","default":"0","description":"Timeout used to debounce response to changes to modelValue."},
|
|
53
|
-
{"name":"multiple","type":"boolean","
|
|
53
|
+
{"name":"multiple","type":"boolean","description":"Allows the selection of multiple items."},
|
|
54
54
|
{"name":"name","common":true},
|
|
55
55
|
{"name":"offCanvasProps","type":"Partial<BbOffCanvasProps>","description":"Props for the phone sheet (the `BbOffCanvas` that `adaptive` renders on mobile), spread over its defaults. A `pt` inside it styles only the sheet (passthrough guide § Inside the sheet)."},
|
|
56
56
|
{"name":"persistentHint","common":true},
|
|
57
57
|
{"name":"placeholder","type":"string","description":"Text shown in the field while nothing is picked (an empty list has `emptyText`)."},
|
|
58
58
|
{"name":"prefill","type":"boolean | \"interaction\"","default":"'interaction'","description":"When the options first load: `'interaction'` on first open, `true` on mount, `false` only once the user types (on open with `disable-writing`). An array `items` or a seeded model always loads at once."},
|
|
59
59
|
{"name":"prepend:icon","common":true},
|
|
60
|
-
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"activator\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"panel\", \"sheet\", \"header\", \"footer\", \"list\", \"option\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"badge\", \"comma\"]; readonly states: readonly [\"hasValue\", \"selected\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly node: { readonly option: readonly [\"selected\"]; readonly itemText: readonly [\"selected\"]; readonly itemIcon: readonly [\"selected\"]; readonly itemDescription: readonly [\"selected\"]; readonly check: readonly [\"selected\"]; }; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"selectVariants\"; readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"activator\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\"]; }; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; label?: PtValue | undefined; prefix?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined; panel?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"icon:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; spinner?: PtValue | undefined; clear?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"spinner:loading\"?: PtValue | undefined; \"clear:loading\"?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; \"spinner:disabled\"?: PtValue | undefined; \"header:disabled\"?: PtValue | undefined; description?: PtValue | undefined; message?: PtValue | undefined; hint?: PtValue | undefined; \"label:disabled\"?: PtValue | undefined; \"label:errors\"?: PtValue | undefined; \"label:warnings\"?: PtValue | undefined; \"label:readonly\"?: PtValue | undefined; \"icon:errors\"?: PtValue | undefined; \"icon:warnings\"?: PtValue | undefined; \"icon:readonly\"?: PtValue | undefined; \"description:disabled\"?: PtValue | undefined; \"description:errors\"?: PtValue | undefined; \"description:warnings\"?: PtValue | undefined; \"description:readonly\"?: PtValue | undefined; \"message:disabled\"?: PtValue | undefined; \"message:errors\"?: PtValue | undefined; \"message:warnings\"?: PtValue | undefined; \"message:readonly\"?: PtValue | undefined; \"hint:disabled\"?: PtValue | undefined; \"hint:errors\"?: PtValue | undefined; \"hint:warnings\"?: PtValue | undefined; \"hint:readonly\"?: PtValue | undefined; \"label:loading\"?: PtValue | undefined; \"label:hasValue\"?: PtValue | undefined; \"list:loading\"?: PtValue | undefined; \"list:disabled\"?: PtValue | undefined; \"list:errors\"?: PtValue | undefined; \"list:warnings\"?: PtValue | undefined; \"list:readonly\"?: PtValue | undefined; \"list:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"icon:hasValue\"?: PtValue | undefined; \"description:loading\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:loading\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:loading\"?: PtValue | undefined; \"hint:hasValue\"?: PtValue | undefined; \"itemDescription:loading\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; \"itemDescription:errors\"?: PtValue | undefined; \"itemDescription:warnings\"?: PtValue | undefined; \"itemDescription:readonly\"?: PtValue | undefined; \"itemDescription:hasValue\"?: PtValue | undefined; box?: PtValue | undefined; suffix?: PtValue | undefined; sheet?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"input:loading\"?: PtValue | undefined; \"input:disabled\"?: PtValue | undefined; \"input:errors\"?: PtValue | undefined; \"input:warnings\"?: PtValue | undefined; \"input:readonly\"?: PtValue | undefined; \"input:hasValue\"?: PtValue | undefined; \"label:open\"?: PtValue | undefined; \"prefix:open\"?: PtValue | undefined; \"prefix:loading\"?: PtValue | undefined; \"prefix:disabled\"?: PtValue | undefined; \"prefix:errors\"?: PtValue | undefined; \"prefix:warnings\"?: PtValue | undefined; \"prefix:readonly\"?: PtValue | undefined; \"prefix:hasValue\"?: PtValue | undefined; \"panel:loading\"?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"panel:errors\"?: PtValue | undefined; \"panel:warnings\"?: PtValue | undefined; \"panel:readonly\"?: PtValue | undefined; \"panel:hasValue\"?: PtValue | undefined; \"spinner:open\"?: PtValue | undefined; \"spinner:errors\"?: PtValue | undefined; \"spinner:warnings\"?: PtValue | undefined; \"spinner:readonly\"?: PtValue | undefined; \"spinner:hasValue\"?: PtValue | undefined; \"clear:open\"?: PtValue | undefined; \"clear:errors\"?: PtValue | undefined; \"clear:warnings\"?: PtValue | undefined; \"clear:hasValue\"?: PtValue | undefined; \"description:open\"?: PtValue | undefined; \"message:open\"?: PtValue | undefined; \"hint:open\"?: PtValue | undefined; \"box:open\"?: PtValue | undefined; \"box:loading\"?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:errors\"?: PtValue | undefined; \"box:warnings\"?: PtValue | undefined; \"box:readonly\"?: PtValue | undefined; \"box:hasValue\"?: PtValue | undefined; \"suffix:open\"?: PtValue | undefined; \"suffix:loading\"?: PtValue | undefined; \"suffix:disabled\"?: PtValue | undefined; \"suffix:errors\"?: PtValue | undefined; \"suffix:warnings\"?: PtValue | undefined; \"suffix:readonly\"?: PtValue | undefined; \"suffix:hasValue\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"sheet:loading\"?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"sheet:errors\"?: PtValue | undefined; \"sheet:warnings\"?: PtValue | undefined; \"sheet:readonly\"?: PtValue | undefined; \"sheet:hasValue\"?: PtValue | undefined; \"footer:open\"?: PtValue | undefined; activator?: PtValue | undefined; \"header:loading\"?: PtValue | undefined; \"header:errors\"?: PtValue | undefined; \"header:warnings\"?: PtValue | undefined; \"header:readonly\"?: PtValue | undefined; \"header:hasValue\"?: PtValue | undefined; \"activator:open\"?: PtValue | undefined; \"activator:loading\"?: PtValue | undefined; \"activator:disabled\"?: PtValue | undefined; \"activator:errors\"?: PtValue | undefined; \"activator:warnings\"?: PtValue | undefined; \"activator:readonly\"?: PtValue | undefined; \"activator:hasValue\"?: PtValue | undefined; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"footer:loading\"?: PtValue | undefined; \"footer:disabled\"?: PtValue | undefined; \"itemText:loading\"?: PtValue | undefined; \"itemIcon:loading\"?: PtValue | undefined; \"check:loading\"?: PtValue | undefined; \"footer:errors\"?: PtValue | undefined; \"footer:warnings\"?: PtValue | undefined; \"footer:readonly\"?: PtValue | undefined; \"footer:hasValue\"?: PtValue | undefined; \"option:open\"?: PtValue | undefined; \"option:loading\"?: PtValue | undefined; \"option:disabled\"?: PtValue | undefined; \"option:errors\"?: PtValue | undefined; \"option:warnings\"?: PtValue | undefined; \"option:readonly\"?: PtValue | undefined; \"option:hasValue\"?: PtValue | undefined; \"itemText:errors\"?: PtValue | undefined; \"itemText:warnings\"?: PtValue | undefined; \"itemText:readonly\"?: PtValue | undefined; \"itemText:hasValue\"?: PtValue | undefined; \"itemIcon:errors\"?: PtValue | undefined; \"itemIcon:warnings\"?: PtValue | undefined; \"itemIcon:readonly\"?: PtValue | undefined; \"itemIcon:hasValue\"?: PtValue | undefined; \"check:errors\"?: PtValue | undefined; \"check:warnings\"?: PtValue | undefined; \"check:readonly\"?: PtValue | undefined; \"check:hasValue\"?: PtValue | undefined; \"badge:open\"?: PtValue | undefined; \"badge:loading\"?: PtValue | undefined; \"badge:disabled\"?: PtValue | undefined; \"badge:errors\"?: PtValue | undefined; \"badge:warnings\"?: PtValue | undefined; \"badge:readonly\"?: PtValue | undefined; \"badge:hasValue\"?: PtValue | undefined; \"comma:open\"?: PtValue | undefined; \"comma:loading\"?: PtValue | undefined; \"comma:disabled\"?: PtValue | undefined; \"comma:errors\"?: PtValue | undefined; \"comma:warnings\"?: PtValue | undefined; \"comma:readonly\"?: PtValue | undefined; \"comma:hasValue\"?: PtValue | undefined; \"option:selected\"?: PtValue | undefined; } & { option?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; itemDescription?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; itemText?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; itemIcon?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; check?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; badge?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; comma?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; } & { \"root:outline\"?: PtValue | undefined; \"icon:outline\"?: PtValue | undefined; \"root:secondary\"?: PtValue | undefined; \"icon:secondary\"?: PtValue | undefined; \"spinner:outline\"?: PtValue | undefined; \"spinner:secondary\"?: PtValue | undefined; \"clear:outline\"?: PtValue | undefined; \"clear:secondary\"?: PtValue | undefined; \"root:ghost\"?: PtValue | undefined; \"icon:ghost\"?: PtValue | undefined; \"spinner:ghost\"?: PtValue | undefined; \"label:outline\"?: PtValue | undefined; \"description:outline\"?: PtValue | undefined; \"message:outline\"?: PtValue | undefined; \"hint:outline\"?: PtValue | undefined; \"label:secondary\"?: PtValue | undefined; \"label:ghost\"?: PtValue | undefined; \"prefix:outline\"?: PtValue | undefined; \"prefix:secondary\"?: PtValue | undefined; \"prefix:ghost\"?: PtValue | undefined; \"clear:ghost\"?: PtValue | undefined; \"description:secondary\"?: PtValue | undefined; \"description:ghost\"?: PtValue | undefined; \"message:secondary\"?: PtValue | undefined; \"message:ghost\"?: PtValue | undefined; \"hint:secondary\"?: PtValue | undefined; \"hint:ghost\"?: PtValue | undefined; \"box:outline\"?: PtValue | undefined; \"box:secondary\"?: PtValue | undefined; \"box:ghost\"?: PtValue | undefined; \"suffix:outline\"?: PtValue | undefined; \"suffix:secondary\"?: PtValue | undefined; \"suffix:ghost\"?: PtValue | undefined; \"activator:outline\"?: PtValue | undefined; \"activator:secondary\"?: PtValue | undefined; \"activator:ghost\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
|
|
60
|
+
{"name":"pt","type":"PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"activator\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"panel\", \"sheet\", \"header\", \"footer\", \"list\", \"option\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"badge\", \"comma\"]; readonly states: readonly [\"hasValue\", \"selected\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly node: { readonly option: readonly [\"selected\"]; readonly itemText: readonly [\"selected\"]; readonly itemIcon: readonly [\"selected\"]; readonly itemDescription: readonly [\"selected\"]; readonly check: readonly [\"selected\"]; }; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"selectVariants\"; readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"activator\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\"]; }; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; label?: PtValue | undefined; prefix?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined; panel?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"icon:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; spinner?: PtValue | undefined; clear?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"spinner:loading\"?: PtValue | undefined; \"clear:loading\"?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; \"spinner:disabled\"?: PtValue | undefined; \"header:disabled\"?: PtValue | undefined; description?: PtValue | undefined; message?: PtValue | undefined; hint?: PtValue | undefined; \"label:disabled\"?: PtValue | undefined; \"label:errors\"?: PtValue | undefined; \"label:warnings\"?: PtValue | undefined; \"label:readonly\"?: PtValue | undefined; \"icon:errors\"?: PtValue | undefined; \"icon:warnings\"?: PtValue | undefined; \"icon:readonly\"?: PtValue | undefined; \"description:disabled\"?: PtValue | undefined; \"description:errors\"?: PtValue | undefined; \"description:warnings\"?: PtValue | undefined; \"description:readonly\"?: PtValue | undefined; \"message:disabled\"?: PtValue | undefined; \"message:errors\"?: PtValue | undefined; \"message:warnings\"?: PtValue | undefined; \"message:readonly\"?: PtValue | undefined; \"hint:disabled\"?: PtValue | undefined; \"hint:errors\"?: PtValue | undefined; \"hint:warnings\"?: PtValue | undefined; \"hint:readonly\"?: PtValue | undefined; \"label:loading\"?: PtValue | undefined; \"label:hasValue\"?: PtValue | undefined; \"list:loading\"?: PtValue | undefined; \"list:disabled\"?: PtValue | undefined; \"list:errors\"?: PtValue | undefined; \"list:warnings\"?: PtValue | undefined; \"list:readonly\"?: PtValue | undefined; \"list:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"icon:hasValue\"?: PtValue | undefined; \"description:loading\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:loading\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:loading\"?: PtValue | undefined; \"hint:hasValue\"?: PtValue | undefined; \"itemDescription:loading\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; \"itemDescription:errors\"?: PtValue | undefined; \"itemDescription:warnings\"?: PtValue | undefined; \"itemDescription:readonly\"?: PtValue | undefined; \"itemDescription:hasValue\"?: PtValue | undefined; box?: PtValue | undefined; suffix?: PtValue | undefined; sheet?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"input:loading\"?: PtValue | undefined; \"input:disabled\"?: PtValue | undefined; \"input:errors\"?: PtValue | undefined; \"input:warnings\"?: PtValue | undefined; \"input:readonly\"?: PtValue | undefined; \"input:hasValue\"?: PtValue | undefined; \"label:open\"?: PtValue | undefined; \"prefix:open\"?: PtValue | undefined; \"prefix:loading\"?: PtValue | undefined; \"prefix:disabled\"?: PtValue | undefined; \"prefix:errors\"?: PtValue | undefined; \"prefix:warnings\"?: PtValue | undefined; \"prefix:readonly\"?: PtValue | undefined; \"prefix:hasValue\"?: PtValue | undefined; \"panel:loading\"?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"panel:errors\"?: PtValue | undefined; \"panel:warnings\"?: PtValue | undefined; \"panel:readonly\"?: PtValue | undefined; \"panel:hasValue\"?: PtValue | undefined; \"spinner:open\"?: PtValue | undefined; \"spinner:errors\"?: PtValue | undefined; \"spinner:warnings\"?: PtValue | undefined; \"spinner:readonly\"?: PtValue | undefined; \"spinner:hasValue\"?: PtValue | undefined; \"clear:open\"?: PtValue | undefined; \"clear:errors\"?: PtValue | undefined; \"clear:warnings\"?: PtValue | undefined; \"clear:hasValue\"?: PtValue | undefined; \"description:open\"?: PtValue | undefined; \"message:open\"?: PtValue | undefined; \"hint:open\"?: PtValue | undefined; \"box:open\"?: PtValue | undefined; \"box:loading\"?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:errors\"?: PtValue | undefined; \"box:warnings\"?: PtValue | undefined; \"box:readonly\"?: PtValue | undefined; \"box:hasValue\"?: PtValue | undefined; \"suffix:open\"?: PtValue | undefined; \"suffix:loading\"?: PtValue | undefined; \"suffix:disabled\"?: PtValue | undefined; \"suffix:errors\"?: PtValue | undefined; \"suffix:warnings\"?: PtValue | undefined; \"suffix:readonly\"?: PtValue | undefined; \"suffix:hasValue\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"sheet:loading\"?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"sheet:errors\"?: PtValue | undefined; \"sheet:warnings\"?: PtValue | undefined; \"sheet:readonly\"?: PtValue | undefined; \"sheet:hasValue\"?: PtValue | undefined; \"footer:open\"?: PtValue | undefined; activator?: PtValue | undefined; \"header:loading\"?: PtValue | undefined; \"header:errors\"?: PtValue | undefined; \"header:warnings\"?: PtValue | undefined; \"header:readonly\"?: PtValue | undefined; \"header:hasValue\"?: PtValue | undefined; \"activator:open\"?: PtValue | undefined; \"activator:loading\"?: PtValue | undefined; \"activator:disabled\"?: PtValue | undefined; \"activator:errors\"?: PtValue | undefined; \"activator:warnings\"?: PtValue | undefined; \"activator:readonly\"?: PtValue | undefined; \"activator:hasValue\"?: PtValue | undefined; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"footer:loading\"?: PtValue | undefined; \"footer:disabled\"?: PtValue | undefined; \"itemText:loading\"?: PtValue | undefined; \"itemIcon:loading\"?: PtValue | undefined; \"check:loading\"?: PtValue | undefined; \"footer:errors\"?: PtValue | undefined; \"footer:warnings\"?: PtValue | undefined; \"footer:readonly\"?: PtValue | undefined; \"footer:hasValue\"?: PtValue | undefined; \"option:open\"?: PtValue | undefined; \"option:loading\"?: PtValue | undefined; \"option:disabled\"?: PtValue | undefined; \"option:errors\"?: PtValue | undefined; \"option:warnings\"?: PtValue | undefined; \"option:readonly\"?: PtValue | undefined; \"option:hasValue\"?: PtValue | undefined; \"itemText:errors\"?: PtValue | undefined; \"itemText:warnings\"?: PtValue | undefined; \"itemText:readonly\"?: PtValue | undefined; \"itemText:hasValue\"?: PtValue | undefined; \"itemIcon:errors\"?: PtValue | undefined; \"itemIcon:warnings\"?: PtValue | undefined; \"itemIcon:readonly\"?: PtValue | undefined; \"itemIcon:hasValue\"?: PtValue | undefined; \"check:errors\"?: PtValue | undefined; \"check:warnings\"?: PtValue | undefined; \"check:readonly\"?: PtValue | undefined; \"check:hasValue\"?: PtValue | undefined; \"badge:open\"?: PtValue | undefined; \"badge:loading\"?: PtValue | undefined; \"badge:disabled\"?: PtValue | undefined; \"badge:errors\"?: PtValue | undefined; \"badge:warnings\"?: PtValue | undefined; \"badge:readonly\"?: PtValue | undefined; \"badge:hasValue\"?: PtValue | undefined; \"comma:open\"?: PtValue | undefined; \"comma:loading\"?: PtValue | undefined; \"comma:disabled\"?: PtValue | undefined; \"comma:errors\"?: PtValue | undefined; \"comma:warnings\"?: PtValue | undefined; \"comma:readonly\"?: PtValue | undefined; \"comma:hasValue\"?: PtValue | undefined; \"option:selected\"?: PtValue | undefined; } & { option?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow> | undefined; itemDescription?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow> | undefined; itemText?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow> | undefined; itemIcon?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow> | undefined; check?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow> | undefined; badge?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow> | undefined; comma?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow> | undefined; } & { \"root:outline\"?: PtValue | undefined; \"icon:outline\"?: PtValue | undefined; \"root:secondary\"?: PtValue | undefined; \"icon:secondary\"?: PtValue | undefined; \"spinner:outline\"?: PtValue | undefined; \"spinner:secondary\"?: PtValue | undefined; \"clear:outline\"?: PtValue | undefined; \"clear:secondary\"?: PtValue | undefined; \"root:ghost\"?: PtValue | undefined; \"icon:ghost\"?: PtValue | undefined; \"spinner:ghost\"?: PtValue | undefined; \"label:outline\"?: PtValue | undefined; \"description:outline\"?: PtValue | undefined; \"message:outline\"?: PtValue | undefined; \"hint:outline\"?: PtValue | undefined; \"label:secondary\"?: PtValue | undefined; \"label:ghost\"?: PtValue | undefined; \"prefix:outline\"?: PtValue | undefined; \"prefix:secondary\"?: PtValue | undefined; \"prefix:ghost\"?: PtValue | undefined; \"clear:ghost\"?: PtValue | undefined; \"description:secondary\"?: PtValue | undefined; \"description:ghost\"?: PtValue | undefined; \"message:secondary\"?: PtValue | undefined; \"message:ghost\"?: PtValue | undefined; \"hint:secondary\"?: PtValue | undefined; \"hint:ghost\"?: PtValue | undefined; \"box:outline\"?: PtValue | undefined; \"box:secondary\"?: PtValue | undefined; \"box:ghost\"?: PtValue | undefined; \"suffix:outline\"?: PtValue | undefined; \"suffix:secondary\"?: PtValue | undefined; \"suffix:ghost\"?: PtValue | undefined; \"activator:outline\"?: PtValue | undefined; \"activator:secondary\"?: PtValue | undefined; \"activator:ghost\"?: PtValue | undefined; }","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
|
|
61
61
|
{"name":"queryDebounceTime","type":"number","default":"500","description":"Time to wait when the user stops writing in the input before querying data."},
|
|
62
62
|
{"name":"readonly","common":true},
|
|
63
63
|
{"name":"required","common":true},
|
|
@@ -90,15 +90,15 @@
|
|
|
90
90
|
"slots": [
|
|
91
91
|
{"name":"append","type":"{ query: string; focus: () => void; close: () => Promise<void>; }","description":"Content appended inside the input field, after the value area."},
|
|
92
92
|
{"name":"append:outer","type":"{ query: string; close: () => Promise<void>; }","description":"Content appended outside the input field wrapper."},
|
|
93
|
-
{"name":"chip","type":"BbSelectChipSlotProps
|
|
93
|
+
{"name":"chip","type":"BbSelectChipSlotProps","fields":["known: boolean","item: BbSelectKnownItem | T","text: string","value: any","disabled: boolean","deselect: () => void"],"description":"Replaces the default badge rendered for each selection in `multiple` mode. Not called in `comma` mode, nor for the collapsed \"+N\" summary. With `known-items` bound, `item` is the known `{ value, label }` row (`known: true`) until the list brings the real one."},
|
|
94
94
|
{"name":"description","type":"BbSelectDescriptionSlotProps","fields":["text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the description text. Provided alone (no `description` prop) it still renders the description region and wires it into `aria-describedby`."},
|
|
95
95
|
{"name":"empty","type":"{ query: string; focus: () => void; close: () => Promise<void>; error: unknown; }","description":"Content shown when no options match the query or the list is empty. `error` is what the latest failed load threw, untouched (`null` when none). `close()` closes the panel, for an action that does not move focus out of it."},
|
|
96
96
|
{"name":"footer","type":"BbSelectPanelSlotProps","fields":["close: () => Promise<void>","clear: () => void","empty: boolean","focus: () => void","query: string","selectedOptions: BbSelectResolvedOption[]"],"description":"Content pinned to the bottom of the options panel, below the options list. Rendered in both the desktop popover and the adaptive sheet."},
|
|
97
|
-
{"name":"group","type":"BbSelectGroupSlotProps
|
|
97
|
+
{"name":"group","type":"BbSelectGroupSlotProps","fields":["text: string","item: T","index: number","length: number","disabled: boolean"],"description":"Replaces the default group header rendered above grouped options. Not called for rows with no group (`group-by` gives `null`/`undefined`, known rows): they are listed without a header."},
|
|
98
98
|
{"name":"header","type":"BbSelectPanelSlotProps","fields":["close: () => Promise<void>","clear: () => void","empty: boolean","focus: () => void","query: string","selectedOptions: BbSelectResolvedOption[]"],"description":"Content pinned to the top of the options panel, above the search field. Rendered in both the desktop popover and the adaptive sheet."},
|
|
99
99
|
{"name":"label","type":"BbSelectLabelSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default label text rendered above the input."},
|
|
100
100
|
{"name":"loading","type":"{ query: string; }","description":"Content shown inside the options dropdown while items are loading."},
|
|
101
|
-
{"name":"option","type":"BbSelectOptionSlotProps
|
|
101
|
+
{"name":"option","type":"BbSelectOptionSlotProps","fields":["known: boolean","item: BbSelectKnownItem | T","disabled: boolean","focused: boolean","index: number","hasErrors?: boolean","loading: boolean","selected: boolean","text: string","value: any","description: string"],"description":"Replaces the default rendering of each option row in the dropdown. With `known-items` bound, a row the list has not brought yet is the known `{ value, label }` row, `known: true`: check `known` before reading an option field off `item`."},
|
|
102
102
|
{"name":"prefix","type":"object","description":"Content rendered as an inline prefix inside the input field."},
|
|
103
103
|
{"name":"prepend","type":"{ query: string; focus: () => void; close: () => Promise<void>; }","description":"Content prepended inside the input field, before the value area."},
|
|
104
104
|
{"name":"prepend:outer","type":"{ query: string; close: () => Promise<void>; }","description":"Content prepended outside the input field wrapper."},
|
|
@@ -128,13 +128,13 @@
|
|
|
128
128
|
{"name":"header","description":"The band around your `#header` slot: at the top of the flyout on desktop, the sheet's header on a phone.","states":["disabled","errors","hasValue","loading","open","readonly","warnings"]},
|
|
129
129
|
{"name":"footer","description":"The band around your `#footer` slot: at the bottom of the flyout on desktop, the sheet's footer on a phone.","states":["disabled","errors","hasValue","loading","open","readonly","warnings"]},
|
|
130
130
|
{"name":"list","description":"The `role=\"listbox\"` node that holds the options. Virtualised: its height is written inline and its rows are positioned by the list, which limits what a layout utility can do there. The listbox's groups and the chips are not parts.","states":["disabled","errors","hasValue","loading","open","readonly","warnings"]},
|
|
131
|
-
{"name":"option","description":"One listbox option — a broadcast resolved per option. Also takes a per-item function, called with the option's raw item.","states":["disabled","errors","hasValue","loading","open","readonly","selected","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow
|
|
132
|
-
{"name":"itemText","description":"An option's label — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function.","states":["disabled","errors","hasValue","loading","open","readonly","selected","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow
|
|
133
|
-
{"name":"itemIcon","description":"An option's prepend / append icons (`itemProps`) — resolved with that option's states. Also takes a per-item function.","states":["disabled","errors","hasValue","loading","open","readonly","selected","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow
|
|
134
|
-
{"name":"itemDescription","description":"An option's second line (its description) — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function.","states":["disabled","errors","hasValue","loading","open","readonly","selected","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow
|
|
135
|
-
{"name":"check","description":"The tick on the chosen option, at the row's end — mounted on every option and drawn on the chosen ones; a custom `#option` slot keeps it. `pt:check=\"hidden\"` removes it and leaves a glyph your slot draws alone. Also takes a per-item function.","states":["disabled","errors","hasValue","loading","open","readonly","selected","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow
|
|
136
|
-
{"name":"badge","description":"Each selected value's `BbBadge` root with `multiple` — a broadcast resolved per value, on the field's chips and on the phone sheet's. The badge's own ✕ is chrome, never `clear`. In the field, not rendered when the `#chip` slot replaces it, nor in `comma` mode; the sheet's chips are always badges.","states":["disabled","errors","hasValue","loading","open","readonly","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow
|
|
137
|
-
{"name":"comma","description":"Each selected value with `multiple` and `comma` — a broadcast resolved per value.","states":["disabled","errors","hasValue","loading","open","readonly","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow
|
|
131
|
+
{"name":"option","description":"One listbox option — a broadcast resolved per option. Also takes a per-item function, called with the option's raw item.","states":["disabled","errors","hasValue","loading","open","readonly","selected","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow>) => PtItemResult) | undefined"},
|
|
132
|
+
{"name":"itemText","description":"An option's label — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function.","states":["disabled","errors","hasValue","loading","open","readonly","selected","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow>) => PtItemResult) | undefined"},
|
|
133
|
+
{"name":"itemIcon","description":"An option's prepend / append icons (`itemProps`) — resolved with that option's states. Also takes a per-item function.","states":["disabled","errors","hasValue","loading","open","readonly","selected","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow>) => PtItemResult) | undefined"},
|
|
134
|
+
{"name":"itemDescription","description":"An option's second line (its description) — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function.","states":["disabled","errors","hasValue","loading","open","readonly","selected","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow>) => PtItemResult) | undefined"},
|
|
135
|
+
{"name":"check","description":"The tick on the chosen option, at the row's end — mounted on every option and drawn on the chosen ones; a custom `#option` slot keeps it. `pt:check=\"hidden\"` removes it and leaves a glyph your slot draws alone. Also takes a per-item function.","states":["disabled","errors","hasValue","loading","open","readonly","selected","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow>) => PtItemResult) | undefined"},
|
|
136
|
+
{"name":"badge","description":"Each selected value's `BbBadge` root with `multiple` — a broadcast resolved per value, on the field's chips and on the phone sheet's. The badge's own ✕ is chrome, never `clear`. In the field, not rendered when the `#chip` slot replaces it, nor in `comma` mode; the sheet's chips are always badges.","states":["disabled","errors","hasValue","loading","open","readonly","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow>) => PtItemResult) | undefined"},
|
|
137
|
+
{"name":"comma","description":"Each selected value with `multiple` and `comma` — a broadcast resolved per value.","states":["disabled","errors","hasValue","loading","open","readonly","warnings"],"rowType":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow>) => PtItemResult) | undefined"}
|
|
138
138
|
],
|
|
139
139
|
"states": [
|
|
140
140
|
{"name":"hasValue","description":"Component-wide: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`)."},
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
{"to":"BbSelectPopover","mapping":"{ panel: 'panel', sheet: 'sheet', header: 'header', footer: 'footer', input: 'input', list: 'list', option: 'option', itemText: 'itemText', itemIcon: 'itemIcon', itemDescription: 'itemDescription', check: 'check' }"}
|
|
16
16
|
],
|
|
17
17
|
"nodes": [
|
|
18
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbSelect","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"}],"
|
|
18
|
+
{"name":"CommonField","kind":"internal","vocabulary":"BbSelect","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"}]},
|
|
19
19
|
{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbSelect","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"}]},
|
|
20
20
|
{"name":"BbBadge","kind":"public"},
|
|
21
21
|
{"name":"BbSelectPopover","kind":"public"}
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
{"name":"multiple","type":"boolean | number","description":"Several thumbs: `multiple` is two (a min–max interval), `:multiple=\"3\"` three (at least 2). `modelValue` holds one value per thumb, always sorted, or is empty (`[]` / `null`) to start unset; another length throws. Thumbs may cross.","default":"false"},
|
|
35
35
|
{"name":"name","common":true},
|
|
36
36
|
{"name":"persistentHint","common":true},
|
|
37
|
-
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"track\", \"bar\", \"ticks\", \"tick\", \"thumb\"]; readonly states: readonly [\"hasValue\", \"inRange\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"active\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"active\"]; readonly node: { readonly tick: readonly [\"inRange\"]; }; }> & { label?: PtValue | undefined; track?: PtValue | undefined; root?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; description?: PtValue | undefined; message?: PtValue | undefined; hint?: PtValue | undefined; \"label:disabled\"?: PtValue | undefined; \"label:errors\"?: PtValue | undefined; \"label:warnings\"?: PtValue | undefined; \"label:readonly\"?: PtValue | undefined; \"description:disabled\"?: PtValue | undefined; \"description:errors\"?: PtValue | undefined; \"description:warnings\"?: PtValue | undefined; \"description:readonly\"?: PtValue | undefined; \"message:disabled\"?: PtValue | undefined; \"message:errors\"?: PtValue | undefined; \"message:warnings\"?: PtValue | undefined; \"message:readonly\"?: PtValue | undefined; \"hint:disabled\"?: PtValue | undefined; \"hint:errors\"?: PtValue | undefined; \"hint:warnings\"?: PtValue | undefined; \"hint:readonly\"?: PtValue | undefined; \"label:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:hasValue\"?: PtValue | undefined; box?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:errors\"?: PtValue | undefined; \"box:warnings\"?: PtValue | undefined; \"box:readonly\"?: PtValue | undefined; \"box:hasValue\"?: PtValue | undefined; \"root:active\"?: PtValue | undefined; \"message:active\"?: PtValue | undefined; ticks?: PtValue | undefined;
|
|
37
|
+
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"track\", \"bar\", \"ticks\", \"tick\", \"thumb\"]; readonly states: readonly [\"hasValue\", \"inRange\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"active\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"active\"]; readonly node: { readonly tick: readonly [\"inRange\"]; }; }> & { label?: PtValue | undefined; track?: PtValue | undefined; root?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; description?: PtValue | undefined; thumb?: PtValue | undefined; message?: PtValue | undefined; hint?: PtValue | undefined; \"label:disabled\"?: PtValue | undefined; \"label:errors\"?: PtValue | undefined; \"label:warnings\"?: PtValue | undefined; \"label:readonly\"?: PtValue | undefined; \"description:disabled\"?: PtValue | undefined; \"description:errors\"?: PtValue | undefined; \"description:warnings\"?: PtValue | undefined; \"description:readonly\"?: PtValue | undefined; \"message:disabled\"?: PtValue | undefined; \"message:errors\"?: PtValue | undefined; \"message:warnings\"?: PtValue | undefined; \"message:readonly\"?: PtValue | undefined; \"hint:disabled\"?: PtValue | undefined; \"hint:errors\"?: PtValue | undefined; \"hint:warnings\"?: PtValue | undefined; \"hint:readonly\"?: PtValue | undefined; \"label:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:hasValue\"?: PtValue | undefined; box?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:errors\"?: PtValue | undefined; \"box:warnings\"?: PtValue | undefined; \"box:readonly\"?: PtValue | undefined; \"box:hasValue\"?: PtValue | undefined; \"root:active\"?: PtValue | undefined; \"message:active\"?: PtValue | undefined; ticks?: PtValue | undefined; \"label:active\"?: PtValue | undefined; \"track:disabled\"?: PtValue | undefined; \"track:errors\"?: PtValue | undefined; \"track:warnings\"?: PtValue | undefined; \"track:readonly\"?: PtValue | undefined; \"track:active\"?: PtValue | undefined; \"track:hasValue\"?: PtValue | undefined; \"description:active\"?: PtValue | undefined; \"thumb:disabled\"?: PtValue | undefined; \"thumb:errors\"?: PtValue | undefined; \"thumb:warnings\"?: PtValue | undefined; \"thumb:readonly\"?: PtValue | undefined; \"thumb:active\"?: PtValue | undefined; \"thumb:hasValue\"?: PtValue | undefined; \"hint:active\"?: PtValue | undefined; \"box:active\"?: PtValue | undefined; \"bar:disabled\"?: PtValue | undefined; \"bar:errors\"?: PtValue | undefined; \"bar:warnings\"?: PtValue | undefined; \"bar:readonly\"?: PtValue | undefined; \"bar:active\"?: PtValue | undefined; \"bar:hasValue\"?: PtValue | undefined; \"ticks:disabled\"?: PtValue | undefined; \"ticks:errors\"?: PtValue | undefined; \"ticks:warnings\"?: PtValue | undefined; \"ticks:readonly\"?: PtValue | undefined; \"ticks:active\"?: PtValue | undefined; \"ticks:hasValue\"?: PtValue | undefined; \"tick:disabled\"?: PtValue | undefined; \"tick:errors\"?: PtValue | undefined; \"tick:warnings\"?: PtValue | undefined; \"tick:readonly\"?: PtValue | undefined; \"tick:active\"?: PtValue | undefined; \"tick:hasValue\"?: PtValue | undefined; \"tick:inRange\"?: PtValue | undefined; } & { bar?: PtValue | PtItemFn<BbSliderSegment, BbSliderPtState, never, { readonly item: BbSliderSegment; }> | undefined; tick?: PtValue | PtItemFn<BbSliderSegment, BbSliderPtState, never, { readonly item: BbSliderSegment; }> | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
|
|
38
38
|
{"name":"readonly","common":true},
|
|
39
39
|
{"name":"reverse","common":true},
|
|
40
40
|
{"name":"rules","type":"RuleExpression<string | number | (string | number)[] | null>","description":"vee-validate rules for this field. Only inside a `BbForm`."},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
{"part":"thumb","target":"span.bb-slider__thumb"}
|
|
11
11
|
],
|
|
12
12
|
"nodes": [
|
|
13
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbSlider","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"}],"
|
|
13
|
+
{"name":"CommonField","kind":"internal","vocabulary":"BbSlider","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"}]}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
16
|
"css": {
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{"part":"icon","target":"BbBaseSwitchIcon"}
|
|
6
6
|
],
|
|
7
7
|
"nodes": [
|
|
8
|
-
{"name":"CommonField","kind":"internal","vocabulary":"BbSwitch","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":"BbSwitch","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":"BbBaseSwitchIcon","kind":"public"}
|
|
10
10
|
]
|
|
11
11
|
},
|