bitboss-ui 3.0.0-beta.71 → 3.0.0-beta.73
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 +2 -2
- package/bin/cli.mjs +9 -3
- package/dist/ai/BbAccordion.md +38 -19
- package/dist/ai/BbBadge.md +25 -22
- package/dist/ai/BbBreadcrumbs.md +1 -1
- package/dist/ai/BbButton.md +32 -27
- package/dist/ai/BbCalendar.md +1 -0
- package/dist/ai/BbCarousel.md +6 -4
- package/dist/ai/BbCheckboxGroup.md +2 -1
- package/dist/ai/BbColorInput.md +1 -1
- package/dist/ai/BbConfirm.md +65 -81
- package/dist/ai/BbConfirmPortal.md +2 -2
- package/dist/ai/BbDatePicker.md +1 -6
- package/dist/ai/BbDatePickerInput.md +2 -2
- package/dist/ai/BbDialog.md +233 -164
- package/dist/ai/BbDropdown.md +52 -16
- package/dist/ai/BbDropdownButton.md +11 -12
- package/dist/ai/BbDropzone.md +12 -8
- package/dist/ai/BbForm.md +100 -13
- package/dist/ai/BbHost.md +2 -2
- package/dist/ai/BbHoverCardPortal.md +1 -1
- package/dist/ai/BbIcon.md +1 -1
- package/dist/ai/BbIndicator.md +17 -15
- package/dist/ai/BbNumberInput.md +7 -5
- package/dist/ai/BbOffCanvas.md +29 -7
- package/dist/ai/BbPagination.md +2 -2
- package/dist/ai/BbPopover.md +15 -9
- package/dist/ai/BbPopoverPortal.md +1 -1
- package/dist/ai/BbRadioGroup.md +29 -7
- package/dist/ai/BbRating.md +8 -7
- package/dist/ai/BbSelect.md +29 -8
- package/dist/ai/BbSelectPopover.md +9 -3
- package/dist/ai/BbSlider.md +12 -8
- package/dist/ai/BbSpinner.md +3 -2
- package/dist/ai/BbSwitch.md +3 -3
- package/dist/ai/BbSwitchGroup.md +7 -6
- package/dist/ai/BbTable.md +205 -82
- package/dist/ai/BbTabs.md +29 -4
- package/dist/ai/BbTag.md +1 -1
- package/dist/ai/BbTextInput.md +7 -5
- package/dist/ai/BbTextarea.md +4 -3
- package/dist/ai/BbTimePickerInput.md +1 -1
- package/dist/ai/BbToast.md +3 -2
- package/dist/ai/BbTooltip.md +22 -17
- package/dist/ai/BbTree.md +49 -24
- package/dist/ai/CommonFieldInput.md +1 -1
- package/dist/ai/changelog.json +242 -9
- package/dist/ai/components.json +52 -51
- package/dist/ai/composables/useBbDialog.md +5 -8
- package/dist/ai/composables/useBbForm.md +3 -0
- package/dist/ai/composables/useConfirm.md +65 -56
- package/dist/ai/composables/useToast.md +2 -1
- package/dist/ai/guides/agent-contract.md +3 -3
- package/dist/ai/guides/app-layout.md +3 -2
- package/dist/ai/guides/eslint-rules.md +3 -1
- package/dist/ai/guides/fetch-items-playbook.md +1 -1
- package/dist/ai/guides/floating-bottom-panel.md +3 -2
- package/dist/ai/guides/icons-policy.md +7 -5
- package/dist/ai/guides/inertia-helpers.md +35 -30
- package/dist/ai/guides/installation-and-plugin-setup.md +17 -14
- package/dist/ai/guides/migration/adoption-checklist.md +2 -2
- package/dist/ai/guides/migration/components/bb-badge.md +12 -1
- package/dist/ai/guides/migration/components/bb-button.md +24 -0
- package/dist/ai/guides/migration/components/bb-dropdown-button.md +11 -0
- package/dist/ai/guides/migration/components/bb-tabs.md +2 -2
- package/dist/ai/guides/migration/components/bb-toast.md +11 -0
- package/dist/ai/guides/migration/components/use-confirm.md +72 -26
- package/dist/ai/guides/migration/v2-to-v3.md +52 -10
- package/dist/ai/guides/migration/v3-beta-css-classes.md +1 -1
- package/dist/ai/guides/options-items-playbook.md +4 -3
- package/dist/ai/guides/passthrough.md +2 -2
- package/dist/ai/helpers/inertia/manifest.json +28 -15
- package/dist/ai/helpers/inertia/messages.ts +3 -3
- package/dist/ai/helpers/inertia/useConfirmOnRouteLeave.ts +10 -10
- package/dist/ai/helpers/inertia/usePromiseForm.ts +1 -1
- package/dist/ai/helpers/inertia/usePromiseRouter.ts +7 -2
- package/dist/ai/index.md +3 -3
- package/dist/ai/manifest/common.json +3 -3
- package/dist/ai/manifest/components/BbAccordion.json +8 -5
- package/dist/ai/manifest/components/BbAccordion.tree.json +1 -0
- package/dist/ai/manifest/components/BbBadge.json +8 -7
- package/dist/ai/manifest/components/BbBadge.removed.json +3 -1
- package/dist/ai/manifest/components/BbBadge.tree.json +73 -0
- package/dist/ai/manifest/components/BbBreadcrumbs.json +1 -1
- package/dist/ai/manifest/components/BbButton.json +5 -6
- package/dist/ai/manifest/components/BbButton.removed.json +3 -1
- package/dist/ai/manifest/components/BbButton.tree.json +24 -7
- package/dist/ai/manifest/components/BbCalendar.json +2 -1
- package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
- package/dist/ai/manifest/components/BbColorInput.json +1 -1
- package/dist/ai/manifest/components/BbColorInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbConfirm.json +2 -2
- package/dist/ai/manifest/components/BbConfirm.removed.json +9 -0
- package/dist/ai/manifest/components/BbConfirm.tree.json +4 -5
- package/dist/ai/manifest/components/BbConfirmPortal.json +3 -3
- package/dist/ai/manifest/components/BbConfirmPortal.removed.json +7 -0
- package/dist/ai/manifest/components/BbDatePicker.json +2 -1
- package/dist/ai/manifest/components/BbDatePicker.tree.json +0 -6
- package/dist/ai/manifest/components/BbDatePickerInput.json +2 -2
- package/dist/ai/manifest/components/BbDatePickerInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbDialog.json +6 -1
- package/dist/ai/manifest/components/BbDialog.tree.json +41 -1
- package/dist/ai/manifest/components/BbDropdown.json +9 -8
- package/dist/ai/manifest/components/BbDropdown.tree.json +4 -0
- package/dist/ai/manifest/components/BbDropdownButton.json +8 -9
- package/dist/ai/manifest/components/BbDropdownButton.removed.json +3 -1
- package/dist/ai/manifest/components/BbForm.json +3 -1
- package/dist/ai/manifest/components/BbNumberInput.json +1 -1
- package/dist/ai/manifest/components/BbNumberInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbOffCanvas.json +6 -1
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +40 -0
- package/dist/ai/manifest/components/BbPagination.json +1 -1
- package/dist/ai/manifest/components/BbRadioGroup.json +4 -3
- package/dist/ai/manifest/components/BbRating.json +2 -2
- package/dist/ai/manifest/components/BbSelect.json +16 -15
- package/dist/ai/manifest/components/BbSelect.tree.json +1 -1
- package/dist/ai/manifest/components/BbSelectPopover.json +1 -0
- package/dist/ai/manifest/components/BbSwitch.json +4 -4
- package/dist/ai/manifest/components/BbSwitchGroup.json +7 -7
- package/dist/ai/manifest/components/BbTable.json +15 -14
- package/dist/ai/manifest/components/BbTable.tree.json +2 -0
- package/dist/ai/manifest/components/BbTabs.json +3 -3
- package/dist/ai/manifest/components/BbTabsList.json +1 -1
- package/dist/ai/manifest/components/BbTabsRoot.json +1 -1
- package/dist/ai/manifest/components/BbTag.json +1 -1
- package/dist/ai/manifest/components/BbTag.tree.json +1 -1
- package/dist/ai/manifest/components/BbTextInput.json +1 -1
- package/dist/ai/manifest/components/BbTextInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbTextarea.json +1 -1
- package/dist/ai/manifest/components/BbTextarea.tree.json +1 -1
- package/dist/ai/manifest/components/BbTimePicker.json +1 -1
- package/dist/ai/manifest/components/BbTimePickerInput.json +1 -1
- package/dist/ai/manifest/components/BbTimePickerInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbToast.removed.json +2 -1
- package/dist/ai/manifest/components/BbTree.json +2 -2
- package/dist/ai/manifest/components/CommonFieldInput.tree.json +3 -3
- package/dist/ai/manifest/index.json +4 -4
- package/dist/ai/manifest/meta.json +5 -1
- package/dist/ai/manifest/types.advanced.json +9 -9
- package/dist/ai/manifest/types.api.json +6 -5
- package/dist/ai/recipes/inertia/approvals-inbox.md +23 -16
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +12 -5
- package/dist/ai/recipes/inertia/layout-scaffold.md +5 -3
- package/dist/ai/recipes/inertia/onboarding.md +23 -12
- package/dist/ai/recipes/inertia/ownership-atlas.md +34 -18
- package/dist/ai/recipes/inertia/record-form.md +12 -8
- package/dist/ai/recipes/inertia/records-workspace.md +14 -7
- package/dist/ai/recipes/inertia/settings-workspace.md +75 -60
- package/dist/ai/recipes/inertia/upload-center.md +17 -9
- package/dist/ai/recipes/inertia/wizard-form.md +2 -2
- package/dist/ai/recipes/nuxt/approvals-inbox.md +23 -16
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +12 -5
- package/dist/ai/recipes/nuxt/layout-scaffold.md +5 -3
- package/dist/ai/recipes/nuxt/onboarding.md +5 -4
- package/dist/ai/recipes/nuxt/ownership-atlas.md +34 -18
- package/dist/ai/recipes/nuxt/record-form.md +14 -10
- package/dist/ai/recipes/nuxt/records-workspace.md +14 -7
- package/dist/ai/recipes/nuxt/settings-workspace.md +70 -60
- package/dist/ai/recipes/nuxt/upload-center.md +17 -9
- package/dist/ai/recipes/nuxt/wizard-form.md +4 -4
- package/dist/ai/recipes/vue/approvals-inbox.md +23 -16
- package/dist/ai/recipes/vue/inline-edit-workspace.md +12 -5
- package/dist/ai/recipes/vue/layout-scaffold.md +5 -3
- package/dist/ai/recipes/vue/onboarding.md +5 -4
- package/dist/ai/recipes/vue/ownership-atlas.md +34 -18
- package/dist/ai/recipes/vue/record-form.md +14 -10
- package/dist/ai/recipes/vue/records-workspace.md +14 -7
- package/dist/ai/recipes/vue/settings-workspace.md +70 -60
- package/dist/ai/recipes/vue/upload-center.md +17 -9
- package/dist/ai/recipes/vue/wizard-form.md +4 -4
- package/dist/ai/source/BbAccordion.md +50 -16
- package/dist/ai/source/BbBadge.md +420 -26
- package/dist/ai/source/BbBadgeButton.md +378 -12
- package/dist/ai/source/BbButton.md +205 -55
- package/dist/ai/source/BbCalendar.md +5 -0
- package/dist/ai/source/BbCheckboxGroup.md +38 -13
- package/dist/ai/source/BbConfigScope.md +19 -2
- package/dist/ai/source/BbConfirm.md +74 -80
- package/dist/ai/source/BbConfirmPortal.md +6 -6
- package/dist/ai/source/BbDatePicker.md +9 -2
- package/dist/ai/source/BbDatePickerInput.md +3 -1
- package/dist/ai/source/BbDialog.md +53 -2
- package/dist/ai/source/BbDropdown.md +350 -98
- package/dist/ai/source/BbDropdownButton.md +20 -12
- package/dist/ai/source/BbDropdownGroup.md +136 -58
- package/dist/ai/source/BbForm.md +152 -11
- package/dist/ai/source/BbOffCanvas.md +53 -2
- package/dist/ai/source/BbPagination.md +1 -1
- package/dist/ai/source/BbRadioGroup.md +72 -10
- package/dist/ai/source/BbRating.md +30 -22
- package/dist/ai/source/BbSelect.md +11 -1
- package/dist/ai/source/BbSelectPopover.md +105 -34
- package/dist/ai/source/BbSwitch.md +23 -8
- package/dist/ai/source/BbSwitchGroup.md +67 -21
- package/dist/ai/source/BbTable.md +359 -48
- package/dist/ai/source/BbTabs.md +6 -0
- package/dist/ai/source/BbTabsList.md +10 -0
- package/dist/ai/source/BbTabsPanels.md +6 -0
- package/dist/ai/source/BbTabsRoot.md +6 -0
- package/dist/ai/source/BbTree.md +14 -4
- package/dist/ai/source/CommonFieldInput.md +2 -1
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +7 -3
- package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +52 -38
- package/dist/components/BbAccordion/ptKeys.generated.d.ts +20 -0
- package/dist/components/BbAccordion/types.d.ts +21 -7
- package/dist/components/BbAccordion/types.js +1 -1
- package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -1
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/components/BbBadge/BbBadge.vue.d.ts +1 -1
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +65 -42
- package/dist/components/BbBadge/types.d.ts +15 -12
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +79 -73
- package/dist/components/BbButton/types.d.ts +7 -6
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +2 -1
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/BbCalendar/types.d.ts +5 -0
- package/dist/components/BbCalendar/useCalendarGrid.js +1 -1
- package/dist/components/BbCalendar/useDayGrid.js +1 -1
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +10 -4
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/BbCheckboxGroup/types.d.ts +2 -2
- package/dist/components/BbConfigScope/BbConfigScope.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +71 -132
- package/dist/components/BbConfirm/ptKeys.generated.d.ts +5 -5
- package/dist/components/BbConfirm/types.d.ts +5 -5
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +2 -1
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +3 -0
- package/dist/components/BbDatePicker/types.d.ts +5 -0
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -1
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/components/BbDatePickerInput/types.d.ts +2 -1
- package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -0
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +263 -235
- package/dist/components/BbDialog/overlayActions.js +94 -0
- package/dist/components/BbDialog/types.d.ts +24 -0
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +4 -3
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +382 -332
- package/dist/components/BbDropdown/dropdownHandle.js +6 -0
- package/dist/components/BbDropdown/normalizeGroups.js +58 -48
- package/dist/components/BbDropdown/types.d.ts +107 -48
- package/dist/components/BbDropdown/types.js +2 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +71 -71
- package/dist/components/BbDropdownButton/types.d.ts +2 -4
- package/dist/components/BbForm/BbForm.vue.d.ts +2 -1
- package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +241 -199
- package/dist/components/BbForm/recognizeValidation.d.ts +9 -0
- package/dist/components/BbForm/recognizeValidation.js +55 -0
- package/dist/components/BbForm/validationError.d.ts +10 -0
- package/dist/components/BbForm/validationError.js +11 -0
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -0
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +414 -389
- package/dist/components/BbOffCanvas/sheetAttrs.js +5 -5
- package/dist/components/BbOffCanvas/types.d.ts +24 -0
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +3 -3
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +10 -4
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +173 -157
- package/dist/components/BbRadioGroup/types.d.ts +9 -3
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +112 -103
- package/dist/components/BbRating/types.d.ts +3 -2
- package/dist/components/BbSelect/BbSelect.vue.d.ts +9 -8
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +3 -1
- package/dist/components/BbSelect/types.d.ts +8 -0
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +11 -4
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +513 -502
- package/dist/components/BbSelectPopover/types.d.ts +10 -2
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -0
- package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +85 -73
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +10 -4
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +171 -152
- package/dist/components/BbSwitchGroup/types.d.ts +1 -1
- package/dist/components/BbTable/BbTable.vue.d.ts +36 -25
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1338 -1215
- package/dist/components/BbTable/BbTableDataRow.js +2 -1
- package/dist/components/BbTable/BbTableRowMenu.js +36 -0
- package/dist/components/BbTable/types.d.ts +32 -17
- package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/BbTabs/types.d.ts +6 -0
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +1 -1
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +1 -1
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +1 -1
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +88 -94
- package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +9 -9
- package/dist/components/BbTree/types.d.ts +8 -2
- package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +39 -39
- package/dist/composables/formSubmitLock.js +15 -8
- package/dist/composables/overlayRegistry.d.ts +5 -0
- package/dist/composables/overlayRegistry.js +154 -148
- package/dist/composables/useBbDropdown.d.ts +8 -0
- package/dist/composables/useBbDropdown.js +3 -1
- package/dist/composables/useBbTabs.js +138 -138
- package/dist/composables/useConfirm.d.ts +63 -52
- package/dist/composables/useConfirm.js +22 -18
- package/dist/deprecation/ai-deprecations.json.js +1 -1
- package/dist/directives/bbDropdown.d.ts +7 -7
- package/dist/directives/bbDropdown.js +21 -14
- package/dist/directives/bbTooltip.d.ts +3 -3
- package/dist/directives/createPopoverDirective.js +57 -35
- package/dist/i18n/locales/ar.json +5 -1
- package/dist/i18n/locales/cs.json +5 -1
- package/dist/i18n/locales/da.json +5 -1
- package/dist/i18n/locales/de-CH.json +5 -1
- package/dist/i18n/locales/de.json +5 -1
- package/dist/i18n/locales/el.json +5 -1
- package/dist/i18n/locales/en-GB.json +5 -1
- package/dist/i18n/locales/en.json +5 -1
- package/dist/i18n/locales/es-MX.json +5 -1
- package/dist/i18n/locales/es.json +5 -1
- package/dist/i18n/locales/fa.json +5 -1
- package/dist/i18n/locales/fi.json +5 -1
- package/dist/i18n/locales/fr.json +5 -1
- package/dist/i18n/locales/he.json +5 -1
- package/dist/i18n/locales/hu.json +5 -1
- package/dist/i18n/locales/it.json +5 -1
- package/dist/i18n/locales/ja.json +5 -1
- package/dist/i18n/locales/ko.json +5 -1
- package/dist/i18n/locales/nb.json +5 -1
- package/dist/i18n/locales/nl.json +5 -1
- package/dist/i18n/locales/pl.json +5 -1
- package/dist/i18n/locales/pt-BR.json +5 -1
- package/dist/i18n/locales/pt-PT.json +5 -1
- package/dist/i18n/locales/ro.json +5 -1
- package/dist/i18n/locales/ru.json +5 -1
- package/dist/i18n/locales/sv.json +5 -1
- package/dist/i18n/locales/tr.json +5 -1
- package/dist/i18n/locales/uk.json +5 -1
- package/dist/i18n/locales/zh-CN.json +5 -1
- package/dist/i18n/locales/zh-HK.json +5 -1
- package/dist/i18n/locales/zh-TW.json +5 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -3
- package/dist/llms-full.txt +1997 -1151
- package/dist/llms-medium.txt +21 -18
- package/dist/llms.txt +2 -2
- package/dist/locale-blueprint.json +5 -1
- package/dist/plugin.js +17 -40
- package/dist/pluginCore.js +30 -0
- package/dist/styles.css +2 -2
- package/dist/types/ActionButton.d.ts +26 -5
- package/dist/types/ActionButton.js +11 -0
- package/dist/types/ConfigDefaults.d.ts +34 -3
- package/dist/types/ConfigDefaults.js +14 -8
- package/dist/types/ItemPath.d.ts +33 -4
- package/dist/types/ptComponentMap.d.ts +1 -1
- package/dist/utilities/functions/clickCount.js +14 -0
- package/dist/utilities/functions/hash.js +90 -3
- package/dist/utilities/functions/isEqual.js +61 -3
- package/dist/utils/versionCheck.js +1 -1
- package/dist/vite.js +0 -1
- package/llms.txt +2 -2
- package/package.json +12 -2
- package/scripts/README.md +43 -39
- package/scripts/lib/adoption-checklist.json +2 -2
- package/scripts/lib/eslint-disable.mjs +5 -3
- package/scripts/lib/eslint-plugin.d.ts +2 -0
- package/scripts/lib/eslint-plugin.mjs +213 -1
- package/scripts/lib/helpers-add.mjs +21 -2
- package/scripts/lib/redundant-item-accessor.mjs +4 -1
- package/scripts/lib/release-results.mjs +180 -5
- package/scripts/lib/renamed-item-field.mjs +4 -1
- package/scripts/lib/tab-links.mjs +4 -1
- package/scripts/lib/tree-default-expandable.mjs +53 -0
- package/scripts/lib/validate-bb-markup.mjs +536 -52
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
"source": "ai/source/BbSwitchGroup.md",
|
|
9
9
|
"props": [
|
|
10
10
|
{"name":"autofocus","common":true},
|
|
11
|
-
{"name":"block","type":"boolean","default":"
|
|
12
|
-
{"name":"compact","type":"boolean","default":"
|
|
11
|
+
{"name":"block","type":"boolean","default":"undefined","description":"The rows take the list's full width: on a line (`horizontal`, a `variant` strip) they share it equally, stacked (`vertical`) each row is full width. Every look: plain rows, `pill`, `line`, `outline`."},
|
|
12
|
+
{"name":"compact","type":"boolean","default":"undefined","description":"Compact density. Swaps `--bb-label-spacing-y` for `--bb-label-spacing-y-compact`, so tune a compact group's label gap with the `-compact` token, not the base one."},
|
|
13
13
|
{"name":"dependencies","common":true},
|
|
14
14
|
{"name":"depsDebounceTime","common":true},
|
|
15
15
|
{"name":"description","common":true},
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
{"name":"hint","common":true},
|
|
27
27
|
{"name":"id","type":"string","description":"Prefix for the ids of each option's input and of the label, description and message. Generated when omitted."},
|
|
28
28
|
{"name":"inputAlign","common":true},
|
|
29
|
-
{"name":"inputPosition","
|
|
29
|
+
{"name":"inputPosition","common":true},
|
|
30
30
|
{"name":"itemInputAlign","common":true},
|
|
31
31
|
{"name":"itemLabelAlign","common":true},
|
|
32
32
|
{"name":"itemLayout","common":true},
|
|
33
33
|
{"name":"itemProps","common":true},
|
|
34
|
-
{"name":"itemReverse","
|
|
34
|
+
{"name":"itemReverse","common":true},
|
|
35
35
|
{"name":"items","type":"T[] | ((context: BbCheckboxGroupItemsContext) => T[] | Promise<T[]>)","required":true,"description":"The options: an array, or a provider called with a `BbCheckboxGroupItemsContext` (`BbSwitchGroupItemsContext` on a switch group) (`reason`, `modelValue`, `signal`), sync or async. A provider fails by THROWING, never by returning `[]`: the rows clear and `#empty` gets the `error`."},
|
|
36
36
|
{"name":"itemText","common":true},
|
|
37
37
|
{"name":"itemValue","common":true},
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
{"name":"multiple","type":"boolean","default":"true","description":"Enables multi-selection behavior. When true, `modelValue` must be an array. When false, `modelValue` should be a single value."},
|
|
49
49
|
{"name":"name","common":true},
|
|
50
50
|
{"name":"persistentHint","common":true},
|
|
51
|
-
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"legend\", \"description\", \"message\", \"hint\", \"list\", \"item\", \"icon\", \"label\", \"itemDescription\"]; readonly states: readonly [\"hasValue\", \"checked\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"focused\", \"focusVisible\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"loading\"]; readonly node: { readonly item: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly icon: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly label: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly itemDescription: readonly [\"checked\", \"focused\", \"focusVisible\"]; }; }> & { legend?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; \"root:
|
|
51
|
+
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"legend\", \"description\", \"message\", \"hint\", \"list\", \"item\", \"icon\", \"label\", \"itemDescription\"]; readonly states: readonly [\"hasValue\", \"checked\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"focused\", \"focusVisible\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"loading\"]; readonly node: { readonly item: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly icon: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly label: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly itemDescription: readonly [\"checked\", \"focused\", \"focusVisible\"]; }; }> & { legend?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; \"item: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; \"label:checked\"?: PtValue | undefined; \"label:focused\"?: PtValue | undefined; \"label:focusVisible\"?: PtValue | undefined; \"icon:errors\"?: PtValue | undefined; \"icon:warnings\"?: PtValue | undefined; \"icon:readonly\"?: PtValue | undefined; \"icon:checked\"?: PtValue | undefined; \"icon:focused\"?: PtValue | undefined; \"icon:focusVisible\"?: 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; \"legend:disabled\"?: PtValue | undefined; \"legend:loading\"?: PtValue | undefined; \"legend:errors\"?: PtValue | undefined; \"legend:warnings\"?: PtValue | undefined; \"legend:readonly\"?: PtValue | undefined; \"legend:hasValue\"?: PtValue | undefined; \"list:disabled\"?: PtValue | undefined; \"list:loading\"?: 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; \"item:loading\"?: PtValue | undefined; \"item:errors\"?: PtValue | undefined; \"item:warnings\"?: PtValue | undefined; \"item:readonly\"?: PtValue | undefined; \"item: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:disabled\"?: PtValue | undefined; \"itemDescription:loading\"?: PtValue | undefined; \"itemDescription:errors\"?: PtValue | undefined; \"itemDescription:warnings\"?: PtValue | undefined; \"itemDescription:readonly\"?: PtValue | undefined; \"itemDescription:hasValue\"?: PtValue | undefined; \"item:checked\"?: PtValue | undefined; \"item:focused\"?: PtValue | undefined; \"item:focusVisible\"?: PtValue | undefined; \"itemDescription:checked\"?: PtValue | undefined; \"itemDescription:focused\"?: PtValue | undefined; \"itemDescription:focusVisible\"?: PtValue | undefined; } & { label?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; icon?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; item?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; itemDescription?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
|
|
52
52
|
{"name":"readonly","common":true},
|
|
53
|
-
{"name":"reverse","
|
|
53
|
+
{"name":"reverse","common":true},
|
|
54
54
|
{"name":"rules","common":true},
|
|
55
55
|
{"name":"selectable","common":true},
|
|
56
56
|
{"name":"validationLabel","common":true},
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"attrTargets": [
|
|
113
113
|
"div"
|
|
114
114
|
],
|
|
115
|
-
"config": "validationMode*",
|
|
115
|
+
"config": "validationMode*, compact*, layout*, listLayout*, itemLayout*, itemReverse*, reverse*, inputPosition*, block*",
|
|
116
116
|
"types": [
|
|
117
117
|
{"name":"BbCheckboxGroupItemsContext","usedAs":["prop items"],"definition":"type BbCheckboxGroupItemsContext<M = any> = BbItemsProviderContext<M> & { reason: 'initial' | 'dependencies' | 'model'; };"},
|
|
118
118
|
{"name":"BbOptionGroupItemProps","usedAs":["prop itemProps"],"definition":"type BbOptionGroupItemProps<T = any> = ItemProps<T, OptionGroupItemFields>;","fields":["description?: ItemAccessor<T, string | null | undefined>"]},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
{"name":"fixedSelect","type":"boolean","default":"false","description":"Pins the selection column to the left edge, `position: sticky`, in place. It has no column definition, so this is its `column.fixed`. No effect unless the table is `selectable`."},
|
|
31
31
|
{"name":"headerRowClass","type":"Classes","description":"Classes for the header row."},
|
|
32
32
|
{"name":"highlightable","type":"boolean | ((item: Item) => boolean)","default":"undefined","description":"Which rows a click, Enter or `toggleHighlighted` may highlight: `false` for none, or a function of the row's item. Unset: every row, when `highlighted` is bound. A value the app sets still shows on a refused row."},
|
|
33
|
-
{"name":"highlighted","type":"any","default":"undefined","description":"Used by `v-model:highlighted`: the one row the UI is about (say, whose details are open), a single item value or `null`. Opt-in: bound, a row click highlights; unbound, it only emits `click:row`. The row gets `aria-current=\"true\"` and a shipped tint."},
|
|
33
|
+
{"name":"highlighted","type":"any","default":"`undefined` (unset: whether it is bound is read off it)","description":"Used by `v-model:highlighted`: the one row the UI is about (say, whose details are open), a single item value or `null`. Opt-in: bound, a row click highlights; unbound, it only emits `click:row`. The row gets `aria-current=\"true\"` and a shipped tint."},
|
|
34
34
|
{"name":"id","type":"string","description":"Stable id for this table's width context. When omitted a unique id is generated. Nested tables use the nearest ancestor id to inherit widths."},
|
|
35
35
|
{"name":"inheritColumnWidths","type":"string | boolean","description":"Snaps a nested table's columns to an ancestor table's tracks: `true` = the nearest one, a table `id` = that one (when a table in between has a different column count). Off by default: a nested table sizes itself."},
|
|
36
36
|
{"name":"interactiveWhileLoading","type":"boolean","default":"false","description":"Keeps the header and rows interactive while loading (by default they are `inert`: a refetch is about to replace them). For background refreshes that must not interrupt an open editor."},
|
|
@@ -48,12 +48,13 @@
|
|
|
48
48
|
{"name":"order","type":"string[]","default":"[]","description":"Used by `v-model:order`: the column keys in render order. Columns it omits follow in declaration order; unknown keys stay put. A `reorderable` move writes it back complete. Works unbound, like `sort`; never holds `select` / `actions`."},
|
|
49
49
|
{"name":"page","type":"string | number","description":"Current page (from 1), for the rows' `aria-rowindex` and a `BbPagination` paired through `id`. Doesn't slice `items`: pass the current page's rows. Numeric strings are coerced."},
|
|
50
50
|
{"name":"perPage","type":"string | number","description":"Rows per page, for `aria-rowindex` and a paired `BbPagination`. Doesn't slice `items`. Unset, an array `items` infers it from its length. Numeric strings are coerced."},
|
|
51
|
-
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"caption\", \"table\", \"head\", \"headerRow\", \"cellColumnHeader\", \"sortIcon\", \"body\", \"row\", \"cell\", \"expand\", \"firstRow\", \"lastRow\", \"selectIcon\", \"dragIcon\", \"dragHandle\", \"foot\"]; readonly states: readonly [\"value\", \"placeholder\", \"empty\", \"sorted\", \"sortedDesc\", \"selected\", \"indeterminate\", \"disabled\", \"expanded\", \"highlighted\", \"loading\"]; readonly wide: readonly [\"empty\", \"loading\"]; readonly node: { readonly cellColumnHeader: readonly [\"sorted\", \"sortedDesc\"]; readonly sortIcon: readonly [\"sorted\", \"sortedDesc\"]; readonly row: readonly [\"selected\", \"disabled\", \"expanded\", \"highlighted\"]; readonly cell: readonly [\"value\", \"placeholder\", \"selected\", \"disabled\", \"expanded\", \"highlighted\"]; readonly dragHandle: readonly [\"selected\", \"disabled\", \"expanded\", \"highlighted\"]; readonly expand: readonly [\"selected\", \"expanded\", \"highlighted\"]; readonly selectIcon: readonly [\"selected\", \"indeterminate\", \"disabled\"]; }; readonly except: { readonly row: readonly [\"empty\"]; readonly cell: readonly [\"empty\"]; readonly expand: readonly [\"empty\"]; readonly firstRow: readonly [\"empty\"]; readonly lastRow: readonly [\"empty\"]; readonly dragHandle: readonly [\"empty\"]; }; }> & { body?: PtValue | undefined; caption?: PtValue | undefined; head?: PtValue | undefined; table?: PtValue | undefined; root?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; \"cellColumnHeader:loading\"?: PtValue | undefined; foot?: PtValue | undefined; headerRow?: PtValue | undefined; sortIcon?: PtValue | undefined; cell?: PtValue | undefined; firstRow?: PtValue | undefined; lastRow?: PtValue | undefined; selectIcon?: PtValue | undefined; dragIcon?: PtValue | undefined; dragHandle?: PtValue | undefined; \"body:loading\"?: PtValue | undefined; \"body:empty\"?: PtValue | undefined; \"caption:loading\"?: PtValue | undefined; \"caption:empty\"?: PtValue | undefined; \"head:loading\"?: PtValue | undefined; \"head:empty\"?: PtValue | undefined; \"table:loading\"?: PtValue | undefined; \"table:empty\"?: PtValue | undefined; \"root:empty\"?: PtValue | undefined; \"cellColumnHeader:empty\"?: PtValue | undefined; \"foot:loading\"?: PtValue | undefined; \"foot:empty\"?: PtValue | undefined; \"headerRow:loading\"?: PtValue | undefined; \"headerRow:empty\"?: PtValue | undefined; \"sortIcon:loading\"?: PtValue | undefined; \"sortIcon:empty\"?: PtValue | undefined; \"row:loading\"?: PtValue | undefined; \"cell:loading\"?: PtValue | undefined; \"expand:loading\"?: PtValue | undefined; \"firstRow:loading\"?: PtValue | undefined; \"lastRow:loading\"?: PtValue | undefined; \"selectIcon:loading\"?: PtValue | undefined; \"selectIcon:empty\"?: PtValue | undefined; \"dragIcon:loading\"?: PtValue | undefined; \"dragIcon:empty\"?: PtValue | undefined; \"dragHandle:loading\"?: PtValue | undefined; \"cellColumnHeader:sorted\"?: PtValue | undefined; \"cellColumnHeader:sortedDesc\"?: PtValue | undefined; \"sortIcon:sorted\"?: PtValue | undefined; \"sortIcon:sortedDesc\"?: PtValue | undefined; \"row:disabled\"?: PtValue | undefined; \"row:selected\"?: PtValue | undefined; \"row:highlighted\"?: PtValue | undefined; \"row:expanded\"?: PtValue | undefined; \"cell:placeholder\"?: PtValue | undefined; \"cell:
|
|
51
|
+
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"caption\", \"table\", \"head\", \"headerRow\", \"cellColumnHeader\", \"sortIcon\", \"body\", \"row\", \"cell\", \"expand\", \"firstRow\", \"lastRow\", \"selectIcon\", \"dragIcon\", \"dragHandle\", \"foot\"]; readonly states: readonly [\"value\", \"placeholder\", \"empty\", \"sorted\", \"sortedDesc\", \"selected\", \"indeterminate\", \"disabled\", \"expanded\", \"highlighted\", \"loading\"]; readonly wide: readonly [\"empty\", \"loading\"]; readonly node: { readonly cellColumnHeader: readonly [\"sorted\", \"sortedDesc\"]; readonly sortIcon: readonly [\"sorted\", \"sortedDesc\"]; readonly row: readonly [\"selected\", \"disabled\", \"expanded\", \"highlighted\"]; readonly cell: readonly [\"value\", \"placeholder\", \"selected\", \"disabled\", \"expanded\", \"highlighted\"]; readonly dragHandle: readonly [\"selected\", \"disabled\", \"expanded\", \"highlighted\"]; readonly expand: readonly [\"selected\", \"expanded\", \"highlighted\"]; readonly selectIcon: readonly [\"selected\", \"indeterminate\", \"disabled\"]; }; readonly except: { readonly row: readonly [\"empty\"]; readonly cell: readonly [\"empty\"]; readonly expand: readonly [\"empty\"]; readonly firstRow: readonly [\"empty\"]; readonly lastRow: readonly [\"empty\"]; readonly dragHandle: readonly [\"empty\"]; }; }> & { body?: PtValue | undefined; caption?: PtValue | undefined; head?: PtValue | undefined; table?: PtValue | undefined; root?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; \"cellColumnHeader:loading\"?: PtValue | undefined; foot?: PtValue | undefined; headerRow?: PtValue | undefined; sortIcon?: PtValue | undefined; cell?: PtValue | undefined; firstRow?: PtValue | undefined; lastRow?: PtValue | undefined; selectIcon?: PtValue | undefined; dragIcon?: PtValue | undefined; dragHandle?: PtValue | undefined; \"body:loading\"?: PtValue | undefined; \"body:empty\"?: PtValue | undefined; \"caption:loading\"?: PtValue | undefined; \"caption:empty\"?: PtValue | undefined; \"head:loading\"?: PtValue | undefined; \"head:empty\"?: PtValue | undefined; \"table:loading\"?: PtValue | undefined; \"table:empty\"?: PtValue | undefined; \"root:empty\"?: PtValue | undefined; \"cellColumnHeader:empty\"?: PtValue | undefined; \"foot:loading\"?: PtValue | undefined; \"foot:empty\"?: PtValue | undefined; \"headerRow:loading\"?: PtValue | undefined; \"headerRow:empty\"?: PtValue | undefined; \"sortIcon:loading\"?: PtValue | undefined; \"sortIcon:empty\"?: PtValue | undefined; \"row:loading\"?: PtValue | undefined; \"cell:loading\"?: PtValue | undefined; \"expand:loading\"?: PtValue | undefined; \"firstRow:loading\"?: PtValue | undefined; \"lastRow:loading\"?: PtValue | undefined; \"selectIcon:loading\"?: PtValue | undefined; \"selectIcon:empty\"?: PtValue | undefined; \"dragIcon:loading\"?: PtValue | undefined; \"dragIcon:empty\"?: PtValue | undefined; \"dragHandle:loading\"?: PtValue | undefined; \"cellColumnHeader:sorted\"?: PtValue | undefined; \"cellColumnHeader:sortedDesc\"?: PtValue | undefined; \"sortIcon:sorted\"?: PtValue | undefined; \"sortIcon:sortedDesc\"?: PtValue | undefined; \"row:disabled\"?: PtValue | undefined; \"row:selected\"?: PtValue | undefined; \"row:highlighted\"?: PtValue | undefined; \"row:expanded\"?: PtValue | undefined; \"cell:placeholder\"?: PtValue | undefined; \"cell:value\"?: PtValue | undefined; \"cell:disabled\"?: PtValue | undefined; \"cell:selected\"?: PtValue | undefined; \"cell:highlighted\"?: PtValue | undefined; \"cell:expanded\"?: PtValue | undefined; \"expand:selected\"?: PtValue | undefined; \"expand:highlighted\"?: PtValue | undefined; \"expand:expanded\"?: PtValue | undefined; \"selectIcon:disabled\"?: PtValue | undefined; \"selectIcon:indeterminate\"?: PtValue | undefined; \"selectIcon:selected\"?: PtValue | undefined; \"dragHandle:disabled\"?: PtValue | undefined; \"dragHandle:selected\"?: PtValue | undefined; \"dragHandle:highlighted\"?: PtValue | undefined; \"dragHandle:expanded\"?: PtValue | undefined; } & { row?: PtValue | PtItemFn<Item, BbTablePtState, never, { readonly item: Item; }> | undefined; expand?: PtValue | PtItemFn<Item, BbTablePtState, never, { readonly item: Item; }> | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
|
|
52
52
|
{"name":"readonly","common":true},
|
|
53
53
|
{"name":"reorderable","type":"boolean","default":"false","description":"Lets the user reorder the data columns: drag a header, or Shift+←/→ on a focused header. Every move writes `v-model:order`; a column panel that only writes `order` does not need it. `select` / `actions` and a custom `#thead` never move."},
|
|
54
54
|
{"name":"reorderableRows","type":"boolean","default":"false","description":"Adds a drag handle at the start of each row: the user drags a row, or lifts it with Space / Enter and the arrow keys, and `reorder:rows` reports `{ item, from, to }`. The table never reorders `items`: splice it in the handler."},
|
|
55
55
|
{"name":"resizable","type":"boolean","default":"false","description":"Lets the user resize the data columns (drag a header's trailing edge, or Alt+←/→; double-click resets). Each commit fires `resize:column(key, width)` once: write the width back into the column definition to keep it. Ignored when inheriting widths."},
|
|
56
56
|
{"name":"rowClass","type":"BbTableRowClasses<Item>","description":"Classes for each data row, or a function of the row's item."},
|
|
57
|
+
{"name":"rowMenu","type":"((item: Item) => Item[])","description":"A row's context menu: right-click, a long press on touch, or Shift+F10 / the Menu key on a focused row open one shared menu with these items. Never on an in-row control; with no visible item the browser's menu shows. Reuse it for the visible `#actions` menu."},
|
|
57
58
|
{"name":"selectable","type":"boolean | ((item: Item) => boolean)","description":"Makes rows selectable: a boolean for every row, or a function of the row's item deciding for that row."},
|
|
58
59
|
{"name":"selectAll","type":"boolean","default":"false","description":"Whether the \"Select all\" checkbox is checked."},
|
|
59
60
|
{"name":"selectAllLabel","type":"string","description":"Label of the \"Select all\" checkbox."},
|
|
@@ -71,32 +72,32 @@
|
|
|
71
72
|
{"name":"contextmenu:row","signature":"(event: MouseEvent, item: Item): void","description":"A body row was right-clicked. Carries the DOM `MouseEvent` and the raw record."},
|
|
72
73
|
{"name":"dblclick:row","signature":"(event: MouseEvent, item: Item): void","description":"A body row was double-clicked. Carries the DOM `MouseEvent` and the raw record."},
|
|
73
74
|
{"name":"hide:column","signature":"(key: string): void","description":"A column was hidden through a header slot's `hideColumn()`. Fired once; write `hidden: true` into the column definition to persist it."},
|
|
74
|
-
{"name":"item:selected","signature":"(value:
|
|
75
|
-
{"name":"item:unselected","signature":"(value:
|
|
75
|
+
{"name":"item:selected","signature":"(value: TableValueOf<Item, A>): void","description":"The user selected one row. Carries the row's value (read through `itemValue`, the same value the selection v-model holds)."},
|
|
76
|
+
{"name":"item:unselected","signature":"(value: TableValueOf<Item, A>): void","description":"The user unselected one row. Carries the row's value, like `item:selected`."},
|
|
76
77
|
{"name":"reorder:rows","signature":"(payload: { item: Item; from: number; to: number; }): void","description":"A row was moved (`reorderable-rows`): `item` is your object, `from` / `to` index the `items` the table holds. Splice `items` in the handler; a drop in place emits nothing."},
|
|
77
78
|
{"name":"resize:column","signature":"(key: string, width: number | null): void","description":"The user resized a column (`resizable`): the new width in px, or `null` after a double-click on the handle reset it to its declared width."},
|
|
78
|
-
{"name":"update:expandedItems","signature":"(value:
|
|
79
|
-
{"name":"update:highlighted","signature":"(value:
|
|
80
|
-
{"name":"update:modelValue","signature":"(value:
|
|
79
|
+
{"name":"update:expandedItems","signature":"(value: TableValueOf<Item, A>[]): void","description":"Emitted with the new value whenever `v-model:expandedItems` changes."},
|
|
80
|
+
{"name":"update:highlighted","signature":"(value: TableValueOf<Item, A> | null): void","description":"Emitted with the new value whenever `v-model:highlighted` changes."},
|
|
81
|
+
{"name":"update:modelValue","signature":"(value: SelectModelOf<TableValueOf<Item, A>, M>): void","description":"Emitted with the new value whenever `v-model` changes."},
|
|
81
82
|
{"name":"update:order","signature":"(value: string[]): void","description":"Emitted with the new value whenever `v-model:order` changes."},
|
|
82
83
|
{"name":"update:selectAll","signature":"(value: boolean): void","description":"Emitted with the new value whenever `v-model:selectAll` changes."},
|
|
83
84
|
{"name":"update:sort","signature":"(value: BbTableSortEntry[]): void","description":"Emitted with the new value whenever `v-model:sort` changes."},
|
|
84
|
-
{"name":"update:unselectedItems","signature":"(value:
|
|
85
|
+
{"name":"update:unselectedItems","signature":"(value: TableValueOf<Item, A>[]): void","description":"Emitted with the new value whenever `v-model:unselectedItems` changes."}
|
|
85
86
|
],
|
|
86
87
|
"slots": [
|
|
87
|
-
{"name":"actions","type":"{ expanded?: boolean | undefined; expandProps?: ExpandControllerProps | undefined; toggleExpanded?: (() => void) | undefined; highlighted?: boolean | undefined; toggleHighlighted?: (() => void) | undefined; selected?: boolean | undefined; toggleSelected?: (() => void) | undefined; item: Item; value:
|
|
88
|
+
{"name":"actions","type":"{ expanded?: boolean | undefined; expandProps?: ExpandControllerProps | undefined; toggleExpanded?: (() => void) | undefined; highlighted?: boolean | undefined; toggleHighlighted?: (() => void) | undefined; selected?: boolean | undefined; toggleSelected?: (() => void) | undefined; item: Item; value: TableValueOf<Item, A>; }","description":"Content of each row's actions cell; this slot CREATES the actions column (there is no prop). The header cell (labelled by `actions-text`, replaceable through `#actions:header`) and one cell per row come and go with it. Pin it with `fixed-actions`."},
|
|
88
89
|
{"name":"actions:header","type":"{ text: string; }","description":"Replaces the default actions header cell content."},
|
|
89
90
|
{"name":"empty","type":"{ error: unknown; }","description":"Content shown when there are no rows and nothing is loading, inside the table's own full-width cell: pass content, never a row. `error` is what the latest failed load threw (`null` when none)."},
|
|
90
|
-
{"name":"expand","type":"{ expanded: boolean; expandProps?: ExpandControllerProps | undefined; toggleExpanded: () => void; highlighted?: boolean | undefined; toggleHighlighted?: (() => void) | undefined; selected?: boolean | undefined; toggleSelected?: (() => void) | undefined; item: Item; value:
|
|
91
|
+
{"name":"expand","type":"{ expanded: boolean; expandProps?: ExpandControllerProps | undefined; toggleExpanded: () => void; highlighted?: boolean | undefined; toggleHighlighted?: (() => void) | undefined; selected?: boolean | undefined; toggleSelected?: (() => void) | undefined; item: Item; value: TableValueOf<Item, A>; }","description":"Full-width expandable content row rendered below each main row when expanded."},
|
|
91
92
|
{"name":"header:append","type":"BbTableHeaderAffixSlotProps<Item>","fields":["classes?: Classes","columnKey: string","items?: Item[]","label?: string","sortable?: boolean","sortOrder?: \"asc\" | \"desc\" | null","toggleSort?: ((event?: MouseEvent | KeyboardEvent | undefined) => void)","hideColumn?: (() => void)"],"description":"Content after every data column's header content (the label + sort control, or its own `<key>:header` replacement). A column's `<key>:header:append` wins over this for that column; they never stack. Branch on `columnKey` for per-column output."},
|
|
92
93
|
{"name":"header:prepend","type":"BbTableHeaderAffixSlotProps<Item>","fields":["classes?: Classes","columnKey: string","items?: Item[]","label?: string","sortable?: boolean","sortOrder?: \"asc\" | \"desc\" | null","toggleSort?: ((event?: MouseEvent | KeyboardEvent | undefined) => void)","hideColumn?: (() => void)"],"description":"Content before every data column's header content (the label + sort control, or its own `<key>:header` replacement). A column's `<key>:header:prepend` wins over this for that column; they never stack. Branch on `columnKey` for per-column output."},
|
|
93
94
|
{"name":"loading","type":"{ items: Item[]; }","description":"Content shown while table rows are loading (replaces the skeleton rows)."},
|
|
94
|
-
{"name":"select","type":"{ item: Item; value:
|
|
95
|
+
{"name":"select","type":"{ item: Item; value: TableValueOf<Item, A>; checked: boolean; disabled: boolean; inputName: string; readonly: boolean; toggleSelected?: (() => void) | undefined; }","description":"Replaces the default checkbox/radio in the selection cell for each row."},
|
|
95
96
|
{"name":"select:header","type":"{ multiple: boolean; selectAll: boolean; text: string; }","description":"Replaces the default selection header cell content (checkbox or radio label)."},
|
|
96
97
|
{"name":"tbody","type":"object","description":"Replaces the content of the body row group (`.bb-table__body`), for full control of the body markup. Provide role-complete rows (`<div role=\"row\">` with one `<div role=\"cell\">` per column), never `<tr>`/`<td>`. A full-width cell spans with `grid-column: 1 / -1`."},
|
|
97
98
|
{"name":"tfoot","type":"{ columnCount: number; empty: boolean; }","description":"Fills the footer row group (`.bb-table__foot`) for footers that are not column-shaped (a note, pagination). Column-aligned totals go in `#<key>:last` (`#<key>:first` for a row before the data). Role-complete rows (`<div role=\"row\">` of `<div role=\"cell\">`), never `<tr>`/`<td>`."},
|
|
98
99
|
{"name":"thead","type":"{ empty: boolean; }","description":"Replaces the header row group's content (`.bb-table__head`). The table is a CSS grid: provide `<div role=\"row\">` rows of `<div role=\"columnheader\">` cells, never `<tr>` / `<th>`."},
|
|
99
|
-
{"name":"<key>","type":"object","description":"One column's body cell in every row, by the column `key` through `slotKey`. Scope: `{ item, value, content, selected, expanded, highlighted, classes, sortOrder, toggleSelected, toggleExpanded, toggleHighlighted, expandProps }`.","dynamic":true},
|
|
100
|
+
{"name":"<key>","type":"object","description":"One column's body cell in every row, by the column `key` through `slotKey`. Scope: `{ item, value, content, selected, expanded, highlighted, classes, sortOrder, toggleSelected, toggleExpanded, toggleHighlighted, expandProps }`; `content` is this cell, `value` the row's `item-value`.","dynamic":true},
|
|
100
101
|
{"name":"<key>:header","type":"object","description":"One column's header content, replacing its label and the built-in sort button. Scope: `{ label, items, sortable, sortOrder, toggleSort, hideColumn, classes }`.","dynamic":true},
|
|
101
102
|
{"name":"<key>:header:prepend","type":"BbTableHeaderAffixSlotProps<Item>","description":"Content before one column's header, keeping the sort button; beats `header:prepend` (they never stack).","dynamic":true},
|
|
102
103
|
{"name":"<key>:header:append","type":"BbTableHeaderAffixSlotProps<Item>","description":"Content after one column's header, keeping the sort button; beats `header:append` (they never stack).","dynamic":true},
|
|
@@ -106,8 +107,8 @@
|
|
|
106
107
|
"exposed": [],
|
|
107
108
|
"models": [
|
|
108
109
|
{"name":"expandedItems","type":"any[] | undefined"},
|
|
109
|
-
{"name":"highlighted","type":"
|
|
110
|
-
{"name":"modelValue","type":"
|
|
110
|
+
{"name":"highlighted","type":"TableValueOf<Item, A> | null"},
|
|
111
|
+
{"name":"modelValue","type":"SelectModelOf<TableValueOf<Item, A>, M>"},
|
|
111
112
|
{"name":"order","type":"string[] | undefined"},
|
|
112
113
|
{"name":"selectAll","type":"boolean | undefined"},
|
|
113
114
|
{"name":"sort","type":"BbTableSortEntry[] | undefined"},
|
|
@@ -103,6 +103,7 @@
|
|
|
103
103
|
"__row--highlightable",
|
|
104
104
|
"__row--highlighted",
|
|
105
105
|
"__row--lifted",
|
|
106
|
+
"__row--menu",
|
|
106
107
|
"__row-handle",
|
|
107
108
|
"__row-handle-icon",
|
|
108
109
|
"__row-reorder-status",
|
|
@@ -356,6 +357,7 @@
|
|
|
356
357
|
{"class":"bb-table__row--drag-source"},
|
|
357
358
|
{"class":"bb-table__row--highlightable"},
|
|
358
359
|
{"class":"bb-table__row--lifted","reads":["--row-bg"]},
|
|
360
|
+
{"class":"bb-table__row--menu","reads":["--row-bg"]},
|
|
359
361
|
{"class":"bb-table__row-handle"},
|
|
360
362
|
{"class":"bb-table__row-handle-icon"},
|
|
361
363
|
{"class":"bb-table__row-reorder-status","tag":"span"}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"contract": "ai/BbTabs.md",
|
|
8
8
|
"source": "ai/source/BbTabs.md",
|
|
9
9
|
"props": [
|
|
10
|
-
{"name":"block","
|
|
10
|
+
{"name":"block","type":"boolean","default":"undefined","description":"Displays the component as full width."},
|
|
11
11
|
{"name":"compact","type":"boolean","default":"undefined","description":"Adds a CSS class that applies a compact style to the component."},
|
|
12
12
|
{"name":"direction","type":"\"horizontal\" | \"vertical\"","default":"\"horizontal\"","description":"Direction of the tabs component."},
|
|
13
13
|
{"name":"disableAnimateX","type":"boolean","default":"false","description":"Disables the horizontal slide transition between tab panels (enabled by default)."},
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
{"name":"onSuccess","type":"(() => void)","description":"Inertia lifecycle hook — fired when the visit completes successfully."},
|
|
31
31
|
{"name":"preserveScroll","type":"boolean | ((props: Record<string, unknown>) => boolean)","description":"Controls whether Inertia preserves the scroll position after navigation. Only meaningful in an Inertia context."},
|
|
32
32
|
{"name":"preserveState","type":"boolean | ((props: Record<string, unknown>) => boolean) | null","description":"Controls whether Inertia preserves the current component state after navigation. Only meaningful in an Inertia context."},
|
|
33
|
-
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"wrapper\", \"list\", \"item\", \"indicator\", \"panels\", \"panel\"]; readonly states: readonly [\"disabled\", \"active\"]; readonly wide: readonly [\"disabled\"]; readonly node: { readonly item: readonly [\"active\"]; readonly panel: readonly [\"active\"]; }; readonly variant: { readonly names: readonly [\"pill\", \"line\", \"none\"]; readonly option: \"tabsVariants\"; readonly parts: readonly [\"wrapper\", \"list\", \"item\", \"indicator\"]; }; }> & { list?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"item:active\"?: PtValue | undefined; indicator?: PtValue | undefined; \"list:disabled\"?: PtValue | undefined; \"indicator:disabled\"?: PtValue | undefined; \"item:line\"?: PtValue | undefined; \"item:pill\"?: PtValue | undefined;
|
|
33
|
+
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"wrapper\", \"list\", \"item\", \"indicator\", \"panels\", \"panel\"]; readonly states: readonly [\"disabled\", \"active\"]; readonly wide: readonly [\"disabled\"]; readonly node: { readonly item: readonly [\"active\"]; readonly panel: readonly [\"active\"]; }; readonly variant: { readonly names: readonly [\"pill\", \"line\", \"none\"]; readonly option: \"tabsVariants\"; readonly parts: readonly [\"wrapper\", \"list\", \"item\", \"indicator\"]; }; }> & { list?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"item:active\"?: PtValue | undefined; indicator?: PtValue | undefined; \"list:disabled\"?: PtValue | undefined; \"indicator:disabled\"?: PtValue | undefined; \"item:line\"?: PtValue | undefined; \"item:pill\"?: PtValue | undefined; wrapper?: PtValue | undefined; panels?: PtValue | undefined; \"wrapper:disabled\"?: PtValue | undefined; \"panels:disabled\"?: PtValue | undefined; \"panel:active\"?: PtValue | undefined; \"item:none\"?: PtValue | undefined; } & { item?: PtValue | PtItemFn<BbTabsItem<K>, BbTabsPtState, \"line\" | \"none\" | \"pill\", { readonly item: BbTabsItem<K>; }> | undefined; } & { \"list:line\"?: PtValue | undefined; \"list:pill\"?: PtValue | undefined; \"item:line\"?: PtValue | undefined; \"item:pill\"?: PtValue | undefined; \"indicator:line\"?: PtValue | undefined; \"indicator:pill\"?: PtValue | undefined; \"item:none\"?: PtValue | undefined; \"list:none\"?: PtValue | undefined; \"indicator:none\"?: PtValue | undefined; \"wrapper:line\"?: PtValue | undefined; \"wrapper:none\"?: PtValue | undefined; \"wrapper:pill\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
|
|
34
34
|
{"name":"queryKey","type":"string","default":"\"tab\"","description":"Defines the query key used for URL-based navigation."},
|
|
35
35
|
{"name":"replace","type":"boolean","default":"false","description":"Replaces the history entry instead of pushing one when the tab changes. Recommended with `navigation`: the query keeps the tab while Back leaves the page. Leave it off when a tab is a destination of its own (a `server` visit)."},
|
|
36
36
|
{"name":"server","type":"boolean","default":"false","description":"When true and in an Inertia context, triggers a real server-side Inertia visit instead of a client-only `history.pushState`."},
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"config": "compact*, block*, variants",
|
|
72
72
|
"types": [
|
|
73
73
|
{"name":"BbTabItem","usedAs":["prop items","prop pt","prop pt:item"],"deprecated":true,"replacedBy":"BbTabsItem"},
|
|
74
|
-
{"name":"BbTabsItem","usedAs":["prop items","prop pt","prop pt:item"],"definition":"type BbTabsItem<K extends string = string> = BbTabsInertiaOptions & { disabled?: boolean; eager?: boolean; href?: BbBaseButtonProps['href']; to?: BbBaseButtonProps['to']; value: K; key?: never; label?: string; server?: boolean; };"},
|
|
74
|
+
{"name":"BbTabsItem","usedAs":["prop items","prop pt","prop pt:item"],"definition":"type BbTabsItem<K extends string = string> = BbTabsInertiaOptions & { disabled?: boolean; eager?: boolean; hidden?: boolean; href?: BbBaseButtonProps['href']; to?: BbBaseButtonProps['to']; value: K; key?: never; label?: string; server?: boolean; };"},
|
|
75
75
|
{"name":"TabsVariantRegistry","usedAs":["prop variant"],"definition":"interface TabsVariantRegistry { pill: true; line: true; none: true; }","values":["pill","line","none"],"extensibleVia":"TabsVariantRegistry"}
|
|
76
76
|
]
|
|
77
77
|
}
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
},
|
|
37
37
|
"types": [
|
|
38
38
|
{"name":"BbTabItem","usedAs":["prop pt","prop pt:item"],"deprecated":true,"replacedBy":"BbTabsItem"},
|
|
39
|
-
{"name":"BbTabsItem","usedAs":["prop pt","prop pt:item"],"definition":"type BbTabsItem<K extends string = string> = BbTabsInertiaOptions & { disabled?: boolean; eager?: boolean; href?: BbBaseButtonProps['href']; to?: BbBaseButtonProps['to']; value: K; key?: never; label?: string; server?: boolean; };"},
|
|
39
|
+
{"name":"BbTabsItem","usedAs":["prop pt","prop pt:item"],"definition":"type BbTabsItem<K extends string = string> = BbTabsInertiaOptions & { disabled?: boolean; eager?: boolean; hidden?: boolean; href?: BbBaseButtonProps['href']; to?: BbBaseButtonProps['to']; value: K; key?: never; label?: string; server?: boolean; };"},
|
|
40
40
|
{"name":"TabsVariantRegistry","usedAs":["prop variant"],"definition":"interface TabsVariantRegistry { pill: true; line: true; none: true; }","values":["pill","line","none"],"extensibleVia":"TabsVariantRegistry"}
|
|
41
41
|
]
|
|
42
42
|
}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
],
|
|
48
48
|
"types": [
|
|
49
49
|
{"name":"BbTabItem","usedAs":["prop items"],"deprecated":true,"replacedBy":"BbTabsItem"},
|
|
50
|
-
{"name":"BbTabsItem","usedAs":["prop items"],"definition":"type BbTabsItem<K extends string = string> = BbTabsInertiaOptions & { disabled?: boolean; eager?: boolean; href?: BbBaseButtonProps['href']; to?: BbBaseButtonProps['to']; value: K; key?: never; label?: string; server?: boolean; };"},
|
|
50
|
+
{"name":"BbTabsItem","usedAs":["prop items"],"definition":"type BbTabsItem<K extends string = string> = BbTabsInertiaOptions & { disabled?: boolean; eager?: boolean; hidden?: boolean; href?: BbBaseButtonProps['href']; to?: BbBaseButtonProps['to']; value: K; key?: never; label?: string; server?: boolean; };"},
|
|
51
51
|
{"name":"TabsVariantRegistry","usedAs":["prop variant"],"definition":"interface TabsVariantRegistry { pill: true; line: true; none: true; }","values":["pill","line","none"],"extensibleVia":"TabsVariantRegistry"}
|
|
52
52
|
]
|
|
53
53
|
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
{"name":"persistentHint","common":true},
|
|
38
38
|
{"name":"placeholder","common":true},
|
|
39
39
|
{"name":"prepend:icon","common":true},
|
|
40
|
-
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"badge\", \"comma\"]; readonly states: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"highlighted\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"loading\"]; readonly node: { readonly badge: readonly [\"highlighted\"]; readonly comma: readonly [\"highlighted\"]; }; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"tagVariants\"; readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\"]; }; }> & { input?: PtValue | undefined; label?: PtValue | undefined; prefix?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined;
|
|
40
|
+
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"badge\", \"comma\"]; readonly states: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"highlighted\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"loading\"]; readonly node: { readonly badge: readonly [\"highlighted\"]; readonly comma: readonly [\"highlighted\"]; }; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"tagVariants\"; readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\"]; }; }> & { input?: PtValue | undefined; label?: PtValue | undefined; prefix?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"icon:disabled\"?: 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:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; \"spinner: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; \"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; box?: PtValue | undefined; suffix?: PtValue | undefined; \"input:disabled\"?: PtValue | undefined; \"input:loading\"?: PtValue | undefined; \"input:errors\"?: PtValue | undefined; \"input:warnings\"?: PtValue | undefined; \"input:readonly\"?: PtValue | undefined; \"input:hasValue\"?: PtValue | undefined; \"prefix:disabled\"?: PtValue | undefined; \"prefix:loading\"?: PtValue | undefined; \"prefix:errors\"?: PtValue | undefined; \"prefix:warnings\"?: PtValue | undefined; \"prefix:readonly\"?: PtValue | undefined; \"prefix:hasValue\"?: PtValue | undefined; \"spinner:errors\"?: PtValue | undefined; \"spinner:warnings\"?: PtValue | undefined; \"spinner:readonly\"?: PtValue | undefined; \"spinner:hasValue\"?: PtValue | undefined; \"clear:errors\"?: PtValue | undefined; \"clear:warnings\"?: PtValue | undefined; \"clear:hasValue\"?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:loading\"?: PtValue | undefined; \"box:errors\"?: PtValue | undefined; \"box:warnings\"?: PtValue | undefined; \"box:readonly\"?: PtValue | undefined; \"box:hasValue\"?: PtValue | undefined; \"suffix:disabled\"?: PtValue | undefined; \"suffix:loading\"?: PtValue | undefined; \"suffix:errors\"?: PtValue | undefined; \"suffix:warnings\"?: PtValue | undefined; \"suffix:readonly\"?: PtValue | undefined; \"suffix:hasValue\"?: PtValue | undefined; \"badge:disabled\"?: PtValue | undefined; \"badge:loading\"?: PtValue | undefined; \"badge:errors\"?: PtValue | undefined; \"badge:warnings\"?: PtValue | undefined; \"badge:readonly\"?: PtValue | undefined; \"badge:hasValue\"?: PtValue | undefined; \"comma:disabled\"?: PtValue | undefined; \"comma:loading\"?: PtValue | undefined; \"comma:errors\"?: PtValue | undefined; \"comma:warnings\"?: PtValue | undefined; \"comma:readonly\"?: PtValue | undefined; \"comma:hasValue\"?: PtValue | undefined; \"badge:highlighted\"?: PtValue | undefined; \"comma:highlighted\"?: PtValue | undefined; } & { badge?: PtValue | PtItemFn<string, BbTagPtState, never, { readonly item: string; }> | undefined; comma?: PtValue | PtItemFn<string, BbTagPtState, never, { readonly item: string; }> | 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; \"input:outline\"?: PtValue | undefined; \"input:secondary\"?: PtValue | undefined; \"input:ghost\"?: 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; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
|
|
41
41
|
{"name":"readonly","common":true},
|
|
42
42
|
{"name":"required","common":true},
|
|
43
43
|
{"name":"reverse","common":true},
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
],
|
|
8
8
|
"nodes": [
|
|
9
9
|
{"name":"CommonField","kind":"internal","vocabulary":"BbTag","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":"CommonFieldInput","kind":"internal","vocabulary":"BbTag","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"}]}
|
|
10
|
+
{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbTag","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":"BbIcon","kind":"public"},{"name":"BbSpinner","kind":"public"},{"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"}]}]},
|
|
11
11
|
{"name":"BbSmoothHeight","kind":"public"},
|
|
12
12
|
{"name":"ChipsBox","kind":"internal","vocabulary":"BbTag","bindings":[{"part":"badge","target":"BbBadge"}],"children":[{"name":"BbBadge","kind":"public"}]},
|
|
13
13
|
{"name":"CommaBox","kind":"internal","vocabulary":"BbTag","bindings":[{"part":"comma","target":"span.bb-tag__comma"}]}
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
{"name":"persistentHint","common":true},
|
|
39
39
|
{"name":"placeholder","common":true},
|
|
40
40
|
{"name":"prepend:icon","common":true},
|
|
41
|
-
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"counter\"]; readonly states: readonly [\"hasValue\", \"nearLimit\", \"atLimit\", ...(\"
|
|
41
|
+
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"counter\"]; readonly states: readonly [\"hasValue\", \"nearLimit\", \"atLimit\", ...(\"disabled\" | \"loading\" | \"errors\" | \"warnings\" | \"readonly\" | \"hasValue\")[]]; readonly wide: readonly [\"hasValue\", \"nearLimit\", \"atLimit\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"loading\"]; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"textInputVariants\"; readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\"]; }; }> & { input?: PtValue | undefined; label?: PtValue | undefined; prefix?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"icon:disabled\"?: 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:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; \"spinner: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; \"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; box?: PtValue | undefined; suffix?: PtValue | undefined; \"input:disabled\"?: PtValue | undefined; \"input:loading\"?: PtValue | undefined; \"input:errors\"?: PtValue | undefined; \"input:warnings\"?: PtValue | undefined; \"input:readonly\"?: PtValue | undefined; \"input:hasValue\"?: PtValue | undefined; \"prefix:disabled\"?: PtValue | undefined; \"prefix:loading\"?: PtValue | undefined; \"prefix:errors\"?: PtValue | undefined; \"prefix:warnings\"?: PtValue | undefined; \"prefix:readonly\"?: PtValue | undefined; \"prefix:hasValue\"?: PtValue | undefined; \"spinner:errors\"?: PtValue | undefined; \"spinner:warnings\"?: PtValue | undefined; \"spinner:readonly\"?: PtValue | undefined; \"spinner:hasValue\"?: PtValue | undefined; \"clear:errors\"?: PtValue | undefined; \"clear:warnings\"?: PtValue | undefined; \"clear:hasValue\"?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:loading\"?: PtValue | undefined; \"box:errors\"?: PtValue | undefined; \"box:warnings\"?: PtValue | undefined; \"box:readonly\"?: PtValue | undefined; \"box:hasValue\"?: PtValue | undefined; \"suffix:disabled\"?: PtValue | undefined; \"suffix:loading\"?: PtValue | undefined; \"suffix:errors\"?: PtValue | undefined; \"suffix:warnings\"?: PtValue | undefined; \"suffix:readonly\"?: PtValue | undefined; \"suffix:hasValue\"?: PtValue | undefined; counter?: PtValue | undefined; \"input:nearLimit\"?: PtValue | undefined; \"input:atLimit\"?: PtValue | undefined; \"label:nearLimit\"?: PtValue | undefined; \"label:atLimit\"?: PtValue | undefined; \"prefix:nearLimit\"?: PtValue | undefined; \"prefix:atLimit\"?: PtValue | undefined; \"root:nearLimit\"?: PtValue | undefined; \"root:atLimit\"?: PtValue | undefined; \"icon:nearLimit\"?: PtValue | undefined; \"icon:atLimit\"?: PtValue | undefined; \"spinner:nearLimit\"?: PtValue | undefined; \"spinner:atLimit\"?: PtValue | undefined; \"description:nearLimit\"?: PtValue | undefined; \"description:atLimit\"?: PtValue | undefined; \"message:nearLimit\"?: PtValue | undefined; \"message:atLimit\"?: PtValue | undefined; \"hint:nearLimit\"?: PtValue | undefined; \"hint:atLimit\"?: PtValue | undefined; \"box:nearLimit\"?: PtValue | undefined; \"box:atLimit\"?: PtValue | undefined; \"suffix:nearLimit\"?: PtValue | undefined; \"suffix:atLimit\"?: PtValue | undefined; \"counter:disabled\"?: PtValue | undefined; \"counter:loading\"?: PtValue | undefined; \"counter:errors\"?: PtValue | undefined; \"counter:warnings\"?: PtValue | undefined; \"counter:readonly\"?: PtValue | undefined; \"counter:hasValue\"?: PtValue | undefined; \"counter:nearLimit\"?: PtValue | undefined; \"counter:atLimit\"?: PtValue | undefined; \"clear:nearLimit\"?: PtValue | undefined; \"clear:atLimit\"?: PtValue | 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; \"input:outline\"?: PtValue | undefined; \"input:secondary\"?: PtValue | undefined; \"input:ghost\"?: 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; })","description":"Passthrough, object form: `{ box: '…', 'box:errors': '…' }` — the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
|
|
42
42
|
{"name":"readonly","common":true},
|
|
43
43
|
{"name":"required","type":"boolean","default":"false","description":"Sets the native `required` attribute, for a plain `<form>`. Inside a `BbForm` it is an error (nothing enforces it): use `rules=\"required\"` or the form `schema` instead."},
|
|
44
44
|
{"name":"reverse","common":true},
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
],
|
|
8
8
|
"nodes": [
|
|
9
9
|
{"name":"CommonField","kind":"internal","vocabulary":"BbTextInput","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":"CommonFieldInput","kind":"internal","vocabulary":"BbTextInput","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"}]}
|
|
10
|
+
{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbTextInput","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":"BbIcon","kind":"public"},{"name":"BbSpinner","kind":"public"},{"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"}]}]}
|
|
11
11
|
]
|
|
12
12
|
},
|
|
13
13
|
"css": {
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
{"name":"persistentHint","common":true},
|
|
37
37
|
{"name":"placeholder","common":true},
|
|
38
38
|
{"name":"prepend:icon","common":true},
|
|
39
|
-
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"counter\"]; readonly states: readonly [\"hasValue\", \"nearLimit\", \"atLimit\", ...(\"
|
|
39
|
+
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"counter\"]; readonly states: readonly [\"hasValue\", \"nearLimit\", \"atLimit\", ...(\"disabled\" | \"loading\" | \"errors\" | \"warnings\" | \"readonly\" | \"hasValue\")[]]; readonly wide: readonly [\"hasValue\", \"nearLimit\", \"atLimit\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"loading\"]; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"textareaVariants\"; readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\"]; }; }> & { input?: PtValue | undefined; label?: PtValue | undefined; prefix?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"icon:disabled\"?: 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:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; \"spinner: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; \"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; box?: PtValue | undefined; suffix?: PtValue | undefined; \"input:disabled\"?: PtValue | undefined; \"input:loading\"?: PtValue | undefined; \"input:errors\"?: PtValue | undefined; \"input:warnings\"?: PtValue | undefined; \"input:readonly\"?: PtValue | undefined; \"input:hasValue\"?: PtValue | undefined; \"prefix:disabled\"?: PtValue | undefined; \"prefix:loading\"?: PtValue | undefined; \"prefix:errors\"?: PtValue | undefined; \"prefix:warnings\"?: PtValue | undefined; \"prefix:readonly\"?: PtValue | undefined; \"prefix:hasValue\"?: PtValue | undefined; \"spinner:errors\"?: PtValue | undefined; \"spinner:warnings\"?: PtValue | undefined; \"spinner:readonly\"?: PtValue | undefined; \"spinner:hasValue\"?: PtValue | undefined; \"clear:errors\"?: PtValue | undefined; \"clear:warnings\"?: PtValue | undefined; \"clear:hasValue\"?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:loading\"?: PtValue | undefined; \"box:errors\"?: PtValue | undefined; \"box:warnings\"?: PtValue | undefined; \"box:readonly\"?: PtValue | undefined; \"box:hasValue\"?: PtValue | undefined; \"suffix:disabled\"?: PtValue | undefined; \"suffix:loading\"?: PtValue | undefined; \"suffix:errors\"?: PtValue | undefined; \"suffix:warnings\"?: PtValue | undefined; \"suffix:readonly\"?: PtValue | undefined; \"suffix:hasValue\"?: PtValue | undefined; counter?: PtValue | undefined; \"input:nearLimit\"?: PtValue | undefined; \"input:atLimit\"?: PtValue | undefined; \"label:nearLimit\"?: PtValue | undefined; \"label:atLimit\"?: PtValue | undefined; \"prefix:nearLimit\"?: PtValue | undefined; \"prefix:atLimit\"?: PtValue | undefined; \"root:nearLimit\"?: PtValue | undefined; \"root:atLimit\"?: PtValue | undefined; \"icon:nearLimit\"?: PtValue | undefined; \"icon:atLimit\"?: PtValue | undefined; \"spinner:nearLimit\"?: PtValue | undefined; \"spinner:atLimit\"?: PtValue | undefined; \"description:nearLimit\"?: PtValue | undefined; \"description:atLimit\"?: PtValue | undefined; \"message:nearLimit\"?: PtValue | undefined; \"message:atLimit\"?: PtValue | undefined; \"hint:nearLimit\"?: PtValue | undefined; \"hint:atLimit\"?: PtValue | undefined; \"box:nearLimit\"?: PtValue | undefined; \"box:atLimit\"?: PtValue | undefined; \"suffix:nearLimit\"?: PtValue | undefined; \"suffix:atLimit\"?: PtValue | undefined; \"counter:disabled\"?: PtValue | undefined; \"counter:loading\"?: PtValue | undefined; \"counter:errors\"?: PtValue | undefined; \"counter:warnings\"?: PtValue | undefined; \"counter:readonly\"?: PtValue | undefined; \"counter:hasValue\"?: PtValue | undefined; \"counter:nearLimit\"?: PtValue | undefined; \"counter:atLimit\"?: PtValue | undefined; \"clear:nearLimit\"?: PtValue | undefined; \"clear:atLimit\"?: PtValue | 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; \"input:outline\"?: PtValue | undefined; \"input:secondary\"?: PtValue | undefined; \"input:ghost\"?: 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; })","description":"Passthrough, object form: `{ box: '…', 'box:errors': '…' }` — the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
|
|
40
40
|
{"name":"readonly","common":true},
|
|
41
41
|
{"name":"required","type":"boolean","default":"false","description":"Sets the input as required. Outside a BbForm it forwards to the native textarea; inside one it only marks the field (asterisk, aria-required) and nothing enforces it: use `rules=\"required\"` or the form schema."},
|
|
42
42
|
{"name":"reverse","common":true},
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
],
|
|
8
8
|
"nodes": [
|
|
9
9
|
{"name":"CommonField","kind":"internal","vocabulary":"BbTextarea","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":"CommonFieldInput","kind":"internal","vocabulary":"BbTextarea","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"}]}
|
|
10
|
+
{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbTextarea","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":"BbIcon","kind":"public"},{"name":"BbSpinner","kind":"public"},{"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"}]}]},
|
|
11
11
|
{"name":"BbSmoothHeight","kind":"public"}
|
|
12
12
|
]
|
|
13
13
|
},
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
{"name":"offset","type":"number","default":"4","description":"Space the popover keeps from the activator."},
|
|
25
25
|
{"name":"padding","type":"number","description":"Minimum empty space to keep from the edge of the page."},
|
|
26
26
|
{"name":"placement","type":"Placement","values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end"],"description":"Position of the popover relative to the activator/anchor."},
|
|
27
|
-
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"header\", \"cellColumnHeader\", \"item\"]; readonly states: readonly [\"selected\", \"disabled\", \"open\"]; readonly wide: readonly [\"disabled\", \"open\"]; readonly node: { readonly item: readonly [\"selected\"]; }; }> & { header?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"header:
|
|
27
|
+
{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"header\", \"cellColumnHeader\", \"item\"]; readonly states: readonly [\"selected\", \"disabled\", \"open\"]; readonly wide: readonly [\"disabled\", \"open\"]; readonly node: { readonly item: readonly [\"selected\"]; }; }> & { header?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"header:disabled\"?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; item?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; \"cellColumnHeader:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; sheet?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"item:open\"?: PtValue | undefined; \"cellColumnHeader:open\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
|
|
28
28
|
{"name":"range","type":"boolean","description":"Range selection: the value is a two-element `[start, end]` array.","default":"false"},
|
|
29
29
|
{"name":"readonly","type":"boolean","default":"false","description":"Prevents opening while keeping the activator visible."},
|
|
30
30
|
{"name":"seconds","type":"boolean","default":"false","description":"Adds the seconds column."},
|