bitboss-ui 3.0.0-beta.72 → 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/bin/cli.mjs +3 -2
- package/dist/ai/BbDialog.md +3 -0
- package/dist/ai/BbForm.md +7 -6
- package/dist/ai/changelog.json +7 -3
- package/dist/ai/components.json +5 -5
- package/dist/ai/guides/migration/components/use-confirm.md +4 -1
- package/dist/ai/helpers/inertia/manifest.json +1 -1
- package/dist/ai/manifest/components/BbConfirm.removed.json +4 -4
- package/dist/ai/manifest/components/BbConfirmPortal.removed.json +2 -2
- package/dist/ai/manifest/components/BbToast.removed.json +1 -1
- package/dist/ai/manifest/index.json +2 -2
- package/dist/ai/source/BbForm.md +9 -2
- package/dist/components/BbDialog/overlayActions.js +5 -5
- package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +33 -33
- package/dist/deprecation/ai-deprecations.json.js +1 -1
- package/dist/llms-full.txt +14 -7
- package/dist/styles.css +1 -1
- 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/package.json +2 -2
- package/scripts/README.md +43 -43
- package/scripts/lib/helpers-add.mjs +21 -2
- package/scripts/lib/release-results.mjs +148 -4
package/dist/ai/components.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"library": "bitboss-ui",
|
|
4
|
-
"version": "3.0.0-beta.
|
|
5
|
-
"generatedAt": "2026-11-
|
|
4
|
+
"version": "3.0.0-beta.73",
|
|
5
|
+
"generatedAt": "2026-11-12T12:19:38.000Z",
|
|
6
6
|
"legend": {
|
|
7
7
|
"referenceOnly": "true = internal building block, documented so trees and sources can be read. Never write it in a template; most are not exported.",
|
|
8
8
|
"types[].usage": "api = the type of a prop, event or slot value you pass; wrapper = a component Props/Events/Slots type (its component entry lists every field); advanced = everything else. An api type named <component>Props (BbOffCanvasProps) is that component's props: read its component entry.",
|
|
@@ -392,8 +392,8 @@
|
|
|
392
392
|
{"name":"BbColorInput","group":"Inputs","description":"Captures color values through input controls.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbColorInput.md","source":"ai/source/BbColorInput.md","props":[{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"When `true`, the color palette opens as a bottom off-canvas sheet on mobile viewports instead of a floating popover; on desktop it stays a popover. Mirrors the adaptive behaviour of `BbSelect`/`BbDatePickerInput`.\n\nWhen unset, falls back to the global `all.adaptive`."},{"name":"alpha","type":"boolean | undefined","required":false,"default":"false","description":"Enable the alpha channel. Shows an opacity slider and uses `#RRGGBBAA` hex8 format."},{"name":"append:icon","type":"string | undefined","required":false,"description":"Name of the icon to be added at the end of the input."},{"name":"autocomplete","type":"string | undefined","required":false,"default":"'off'","description":"Guides the browser as to the type of information expected in the field."},{"name":"autofocus","type":"Booleanish | undefined","required":false,"description":"Focuses the field when it mounts (a dialog already open included), unless the user is typing in another field."},{"name":"clearable","type":"boolean | undefined","required":false,"default":"false","description":"Displays a clear button when the input has a value and is being interacted with."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Compact density: the field uses the `-compact` twins of `--bb-input-h`, `--bb-input-py` and `--bb-label-spacing-y`, so a `--bb-input-h` set on the component is ignored while it is on. Size a compact field with `--bb-input-h-compact` (and `--bb-input-py-compact`)."},{"name":"description","type":"string | undefined","required":false,"description":"Text between the label and the input. Unlike the hint it is always visible; it joins the input's `aria-describedby` after any `errors` / `warnings`, before the `hint`."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the component."},{"name":"errors","type":"string | string[] | undefined","required":false,"description":"Error messages under the field, a string or array, in an `aria-live=\"polite\"` region and first in the control's `aria-describedby`, so they are re-read when it regains focus."},{"name":"eyeDropper","type":"boolean | undefined","required":false,"default":"false","description":"Show an eyedropper button to sample any color on screen. Uses the native EyeDropper API — hidden automatically on unsupported browsers."},{"name":"formless","type":"boolean | undefined","required":false,"default":"false","description":"Keep this control out of the enclosing `BbForm` entirely: not submitted, not dirty, not reset, not validated. For a control that is not form data (a filter, a \"show advanced\" switch)."},{"name":"hasErrors","type":"boolean | undefined","required":false,"default":"false","description":"Define if the component should be in an error state. It usually attaches a CSS class for styling purposes."},{"name":"hasWarnings","type":"boolean | undefined","required":false,"default":"false","description":"Define if the component should be in a warning state. Same chrome as errors with `--bb-warn`; errors take priority."},{"name":"hideLabel","type":"boolean | undefined","required":false,"default":"false","description":"Visually hides the label of the input while maintaining accessibility. Pair it with a `placeholder`: an empty field otherwise shows nothing saying what it is for."},{"name":"hint","type":"string | undefined","required":false,"description":"Text box to be displayed near the input, usually to indicate instructions."},{"name":"id","type":"string | undefined","required":false,"description":"The `id` of the native control; the label's `for` and the description and message ids derive from it. Generated when omitted."},{"name":"inputAlign","type":"FieldCrossAlign | undefined","required":false,"description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`."},{"name":"label","type":"string","required":true,"description":"Text content of the label of the element."},{"name":"labelAlign","type":"FieldCrossAlign | undefined","required":false,"description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`."},{"name":"labelMode","type":"\"outside\" | \"floating\" | \"inside\" | undefined","required":false,"description":"Label rendering mode: `outside` places the label above the input, `floating` overlays it on the field and shrinks it when a value is set, `inside` keeps it inside the field."},{"name":"labelPosition","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\" | undefined","required":false,"default":"'start'","description":"Text alignment of the label. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction."},{"name":"layout","type":"Responsive<FieldLayout> | undefined","required":false,"description":"How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`)."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Sets the component in a loading state, usually triggering some visual styles."},{"name":"modelValue","type":"string | null | undefined","required":false,"default":"null","description":"Used by v-model."},{"name":"name","type":"string | undefined","required":false,"description":"Defines the name of the input."},{"name":"offCanvasProps","type":"Partial<BbOffCanvasProps> | undefined","required":false,"description":"Props for the phone sheet (the `BbOffCanvas` that `adaptive` renders on mobile), spread over its defaults. A `pt` inside it styles only the sheet (passthrough guide § Inside the sheet). The sheet hides its ✕; `{ hideClose: false }` brings it back."},{"name":"persistentHint","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the hint displayed."},{"name":"placeholder","type":"string | undefined","required":false,"description":"Text shown while the field is empty."},{"name":"prepend:icon","type":"string | undefined","required":false,"description":"Name of the icon to be added at the start of the input."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"indicator\", \"panel\", \"sheet\", \"swatch\"]; readonly states: readonly [\"hasValue\", \"selected\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly node: { readonly swatch: readonly [\"selected\"]; }; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"colorInputVariants\"; 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; panel?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; \"icon:open\"?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; spinner?: PtValue | undefined; clear?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"spinner:loading\"?: PtValue | undefined; \"clear:loading\"?: PtValue | undefined; \"root: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; indicator?: 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; \"indicator:disabled\"?: PtValue | undefined; \"indicator:loading\"?: PtValue | undefined; \"indicator:errors\"?: PtValue | undefined; \"indicator:warnings\"?: PtValue | undefined; \"indicator:readonly\"?: PtValue | undefined; \"indicator:hasValue\"?: PtValue | undefined; box?: PtValue | undefined; suffix?: PtValue | undefined; sheet?: PtValue | undefined; swatch?: PtValue | undefined; \"input:disabled\"?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"input:loading\"?: PtValue | undefined; \"input:errors\"?: PtValue | undefined; \"input:warnings\"?: PtValue | undefined; \"input:readonly\"?: PtValue | undefined; \"input:hasValue\"?: PtValue | undefined; \"label:open\"?: PtValue | undefined; \"prefix:disabled\"?: PtValue | undefined; \"prefix:open\"?: PtValue | undefined; \"prefix:loading\"?: PtValue | undefined; \"prefix:errors\"?: PtValue | undefined; \"prefix:warnings\"?: PtValue | undefined; \"prefix:readonly\"?: PtValue | undefined; \"prefix:hasValue\"?: PtValue | undefined; \"panel:loading\"?: PtValue | undefined; \"panel:errors\"?: PtValue | undefined; \"panel:warnings\"?: PtValue | undefined; \"panel:readonly\"?: PtValue | undefined; \"panel:hasValue\"?: PtValue | undefined; \"spinner:open\"?: PtValue | undefined; \"spinner:errors\"?: PtValue | undefined; \"spinner:warnings\"?: PtValue | undefined; \"spinner:readonly\"?: PtValue | undefined; \"spinner:hasValue\"?: PtValue | undefined; \"clear:open\"?: PtValue | undefined; \"clear:errors\"?: PtValue | undefined; \"clear:warnings\"?: PtValue | undefined; \"clear:hasValue\"?: PtValue | undefined; \"description:open\"?: PtValue | undefined; \"message:open\"?: PtValue | undefined; \"hint:open\"?: PtValue | undefined; \"indicator:open\"?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:open\"?: 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:open\"?: PtValue | undefined; \"suffix:loading\"?: PtValue | undefined; \"suffix:errors\"?: PtValue | undefined; \"suffix:warnings\"?: PtValue | undefined; \"suffix:readonly\"?: PtValue | undefined; \"suffix:hasValue\"?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"sheet:loading\"?: PtValue | undefined; \"sheet:errors\"?: PtValue | undefined; \"sheet:warnings\"?: PtValue | undefined; \"sheet:readonly\"?: PtValue | undefined; \"sheet:hasValue\"?: PtValue | undefined; \"swatch:disabled\"?: PtValue | undefined; \"swatch:open\"?: PtValue | undefined; \"swatch:loading\"?: PtValue | undefined; \"swatch:errors\"?: PtValue | undefined; \"swatch:warnings\"?: PtValue | undefined; \"swatch:readonly\"?: PtValue | undefined; \"swatch:hasValue\"?: PtValue | undefined; \"swatch:selected\"?: 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; }) | undefined","required":false,"description":"Passthrough, object form: `{ box: '…', 'box:errors': '…' }` — the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:box","type":"PtValue | undefined","required":false},{"name":"pt:box:disabled","type":"PtValue | undefined","required":false},{"name":"pt:box:errors","type":"PtValue | undefined","required":false},{"name":"pt:box:ghost","type":"PtValue | undefined","required":false},{"name":"pt:box:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:box:loading","type":"PtValue | undefined","required":false},{"name":"pt:box:open","type":"PtValue | undefined","required":false},{"name":"pt:box:outline","type":"PtValue | undefined","required":false},{"name":"pt:box:readonly","type":"PtValue | undefined","required":false},{"name":"pt:box:secondary","type":"PtValue | undefined","required":false},{"name":"pt:box:warnings","type":"PtValue | undefined","required":false},{"name":"pt:clear","type":"PtValue | undefined","required":false},{"name":"pt:clear:errors","type":"PtValue | undefined","required":false},{"name":"pt:clear:ghost","type":"PtValue | undefined","required":false},{"name":"pt:clear:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:clear:loading","type":"PtValue | undefined","required":false},{"name":"pt:clear:open","type":"PtValue | undefined","required":false},{"name":"pt:clear:outline","type":"PtValue | undefined","required":false},{"name":"pt:clear:secondary","type":"PtValue | undefined","required":false},{"name":"pt:clear:warnings","type":"PtValue | undefined","required":false},{"name":"pt:description","type":"PtValue | undefined","required":false},{"name":"pt:description:disabled","type":"PtValue | undefined","required":false},{"name":"pt:description:errors","type":"PtValue | undefined","required":false},{"name":"pt:description:ghost","type":"PtValue | undefined","required":false},{"name":"pt:description:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:description:loading","type":"PtValue | undefined","required":false},{"name":"pt:description:open","type":"PtValue | undefined","required":false},{"name":"pt:description:outline","type":"PtValue | undefined","required":false},{"name":"pt:description:readonly","type":"PtValue | undefined","required":false},{"name":"pt:description:secondary","type":"PtValue | undefined","required":false},{"name":"pt:description:warnings","type":"PtValue | undefined","required":false},{"name":"pt:hint","type":"PtValue | undefined","required":false},{"name":"pt:hint:disabled","type":"PtValue | undefined","required":false},{"name":"pt:hint:errors","type":"PtValue | undefined","required":false},{"name":"pt:hint:ghost","type":"PtValue | undefined","required":false},{"name":"pt:hint:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:hint:loading","type":"PtValue | undefined","required":false},{"name":"pt:hint:open","type":"PtValue | undefined","required":false},{"name":"pt:hint:outline","type":"PtValue | undefined","required":false},{"name":"pt:hint:readonly","type":"PtValue | undefined","required":false},{"name":"pt:hint:secondary","type":"PtValue | undefined","required":false},{"name":"pt:hint:warnings","type":"PtValue | undefined","required":false},{"name":"pt:icon","type":"PtValue | undefined","required":false},{"name":"pt:icon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:icon:errors","type":"PtValue | undefined","required":false},{"name":"pt:icon:ghost","type":"PtValue | undefined","required":false},{"name":"pt:icon:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:icon:loading","type":"PtValue | undefined","required":false},{"name":"pt:icon:open","type":"PtValue | undefined","required":false},{"name":"pt:icon:outline","type":"PtValue | undefined","required":false},{"name":"pt:icon:readonly","type":"PtValue | undefined","required":false},{"name":"pt:icon:secondary","type":"PtValue | undefined","required":false},{"name":"pt:icon:warnings","type":"PtValue | undefined","required":false},{"name":"pt:indicator","type":"PtValue | undefined","required":false},{"name":"pt:indicator:disabled","type":"PtValue | undefined","required":false},{"name":"pt:indicator:errors","type":"PtValue | undefined","required":false},{"name":"pt:indicator:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:indicator:loading","type":"PtValue | undefined","required":false},{"name":"pt:indicator:open","type":"PtValue | undefined","required":false},{"name":"pt:indicator:readonly","type":"PtValue | undefined","required":false},{"name":"pt:indicator:warnings","type":"PtValue | undefined","required":false},{"name":"pt:input","type":"PtValue | undefined","required":false},{"name":"pt:input:disabled","type":"PtValue | undefined","required":false},{"name":"pt:input:errors","type":"PtValue | undefined","required":false},{"name":"pt:input:ghost","type":"PtValue | undefined","required":false},{"name":"pt:input:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:input:loading","type":"PtValue | undefined","required":false},{"name":"pt:input:open","type":"PtValue | undefined","required":false},{"name":"pt:input:outline","type":"PtValue | undefined","required":false},{"name":"pt:input:readonly","type":"PtValue | undefined","required":false},{"name":"pt:input:secondary","type":"PtValue | undefined","required":false},{"name":"pt:input:warnings","type":"PtValue | undefined","required":false},{"name":"pt:label","type":"PtValue | undefined","required":false},{"name":"pt:label:disabled","type":"PtValue | undefined","required":false},{"name":"pt:label:errors","type":"PtValue | undefined","required":false},{"name":"pt:label:ghost","type":"PtValue | undefined","required":false},{"name":"pt:label:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:label:loading","type":"PtValue | undefined","required":false},{"name":"pt:label:open","type":"PtValue | undefined","required":false},{"name":"pt:label:outline","type":"PtValue | undefined","required":false},{"name":"pt:label:readonly","type":"PtValue | undefined","required":false},{"name":"pt:label:secondary","type":"PtValue | undefined","required":false},{"name":"pt:label:warnings","type":"PtValue | undefined","required":false},{"name":"pt:message","type":"PtValue | undefined","required":false},{"name":"pt:message:disabled","type":"PtValue | undefined","required":false},{"name":"pt:message:errors","type":"PtValue | undefined","required":false},{"name":"pt:message:ghost","type":"PtValue | undefined","required":false},{"name":"pt:message:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:message:loading","type":"PtValue | undefined","required":false},{"name":"pt:message:open","type":"PtValue | undefined","required":false},{"name":"pt:message:outline","type":"PtValue | undefined","required":false},{"name":"pt:message:readonly","type":"PtValue | undefined","required":false},{"name":"pt:message:secondary","type":"PtValue | undefined","required":false},{"name":"pt:message:warnings","type":"PtValue | undefined","required":false},{"name":"pt:panel","type":"PtValue | undefined","required":false},{"name":"pt:panel:disabled","type":"PtValue | undefined","required":false},{"name":"pt:panel:errors","type":"PtValue | undefined","required":false},{"name":"pt:panel:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:panel:loading","type":"PtValue | undefined","required":false},{"name":"pt:panel:open","type":"PtValue | undefined","required":false},{"name":"pt:panel:readonly","type":"PtValue | undefined","required":false},{"name":"pt:panel:warnings","type":"PtValue | undefined","required":false},{"name":"pt:prefix","type":"PtValue | undefined","required":false},{"name":"pt:prefix:disabled","type":"PtValue | undefined","required":false},{"name":"pt:prefix:errors","type":"PtValue | undefined","required":false},{"name":"pt:prefix:ghost","type":"PtValue | undefined","required":false},{"name":"pt:prefix:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:prefix:loading","type":"PtValue | undefined","required":false},{"name":"pt:prefix:open","type":"PtValue | undefined","required":false},{"name":"pt:prefix:outline","type":"PtValue | undefined","required":false},{"name":"pt:prefix:readonly","type":"PtValue | undefined","required":false},{"name":"pt:prefix:secondary","type":"PtValue | undefined","required":false},{"name":"pt:prefix:warnings","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:disabled","type":"PtValue | undefined","required":false},{"name":"pt:root:errors","type":"PtValue | undefined","required":false},{"name":"pt:root:ghost","type":"PtValue | undefined","required":false},{"name":"pt:root:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:root:loading","type":"PtValue | undefined","required":false},{"name":"pt:root:open","type":"PtValue | undefined","required":false},{"name":"pt:root:outline","type":"PtValue | undefined","required":false},{"name":"pt:root:readonly","type":"PtValue | undefined","required":false},{"name":"pt:root:secondary","type":"PtValue | undefined","required":false},{"name":"pt:root:warnings","type":"PtValue | undefined","required":false},{"name":"pt:sheet","type":"PtValue | undefined","required":false},{"name":"pt:sheet:disabled","type":"PtValue | undefined","required":false},{"name":"pt:sheet:errors","type":"PtValue | undefined","required":false},{"name":"pt:sheet:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:sheet:loading","type":"PtValue | undefined","required":false},{"name":"pt:sheet:open","type":"PtValue | undefined","required":false},{"name":"pt:sheet:readonly","type":"PtValue | undefined","required":false},{"name":"pt:sheet:warnings","type":"PtValue | undefined","required":false},{"name":"pt:spinner","type":"PtValue | undefined","required":false},{"name":"pt:spinner:disabled","type":"PtValue | undefined","required":false},{"name":"pt:spinner:errors","type":"PtValue | undefined","required":false},{"name":"pt:spinner:ghost","type":"PtValue | undefined","required":false},{"name":"pt:spinner:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:spinner:loading","type":"PtValue | undefined","required":false},{"name":"pt:spinner:open","type":"PtValue | undefined","required":false},{"name":"pt:spinner:outline","type":"PtValue | undefined","required":false},{"name":"pt:spinner:readonly","type":"PtValue | undefined","required":false},{"name":"pt:spinner:secondary","type":"PtValue | undefined","required":false},{"name":"pt:spinner:warnings","type":"PtValue | undefined","required":false},{"name":"pt:suffix","type":"PtValue | undefined","required":false},{"name":"pt:suffix:disabled","type":"PtValue | undefined","required":false},{"name":"pt:suffix:errors","type":"PtValue | undefined","required":false},{"name":"pt:suffix:ghost","type":"PtValue | undefined","required":false},{"name":"pt:suffix:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:suffix:loading","type":"PtValue | undefined","required":false},{"name":"pt:suffix:open","type":"PtValue | undefined","required":false},{"name":"pt:suffix:outline","type":"PtValue | undefined","required":false},{"name":"pt:suffix:readonly","type":"PtValue | undefined","required":false},{"name":"pt:suffix:secondary","type":"PtValue | undefined","required":false},{"name":"pt:suffix:warnings","type":"PtValue | undefined","required":false},{"name":"pt:swatch","type":"PtValue | undefined","required":false},{"name":"pt:swatch:disabled","type":"PtValue | undefined","required":false},{"name":"pt:swatch:errors","type":"PtValue | undefined","required":false},{"name":"pt:swatch:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:swatch:loading","type":"PtValue | undefined","required":false},{"name":"pt:swatch:open","type":"PtValue | undefined","required":false},{"name":"pt:swatch:readonly","type":"PtValue | undefined","required":false},{"name":"pt:swatch:selected","type":"PtValue | undefined","required":false},{"name":"pt:swatch:warnings","type":"PtValue | undefined","required":false},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Sets the input in a readonly state."},{"name":"required","type":"boolean | undefined","required":false,"default":"false","description":"Sets the input as required."},{"name":"reverse","type":"boolean | undefined","required":false,"default":"undefined","description":"Reverses the layout. Applicable in every direction the order of the label and the input is swapped."},{"name":"rules","type":"RuleExpression<string | null>","required":false,"description":"vee-validate rules for this field. Only inside a `BbForm`."},{"name":"swatches","type":"boolean | string[][] | undefined","required":false,"description":"Controls swatches display in the picker:\n- `true` — show the built-in Material-palette swatches\n- `string[][]` — show custom swatches (each inner array = a column of shades)\n- `false` / omitted — no swatches section"},{"name":"validationLabel","type":"string | undefined","required":false,"description":"The field's name in validation messages (`{field}`): \"Email is not valid\". Defaults to the `label` (or `legend`), then \"This field\"; never the `name`. Set it when the label is hidden or reads badly in a sentence (icon-only, a question). `BbForm` only."},{"name":"validationMode","type":"ValidationMode | undefined","required":false,"description":"When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `all.validationMode` (`'balanced'`). `BbForm` only."},{"name":"variant","type":"InputVariantOf<ColorInputVariantRegistry> | undefined","required":false,"default":"'outline'","description":"The field box's look, with `BbButton`'s names and tokens. Colours only, so a form never reflows; `'ghost'` has no border in any state, `'none'` no look at all (you own hover, focus and the states). Register more with the plugin's `components.BbColorInput.variants`."},{"name":"warnings","type":"string | string[] | undefined","required":false,"description":"Warning messages under the field, a string or array: amber, in their own `aria-live` region and in the control's `aria-describedby` after the errors. Non-empty turns on the warning state; errors win when both are set."}],"events":[{"name":"blur","signature":"(event: FocusEvent): void","description":"Emitted when the native text input loses focus. Forwards the original DOM `FocusEvent`."},{"name":"change","signature":"(event: Event): void","description":"Emitted when the native text input fires a change event. Forwards the original DOM `Event`."},{"name":"click","signature":"(event: MouseEvent): void","description":"Emitted when the input area receives a click. Forwards the original DOM `MouseEvent`."},{"name":"compositionend","signature":"(event: CompositionEvent): void","description":"An IME composition ended. Forwards the original DOM `CompositionEvent`."},{"name":"compositionstart","signature":"(event: CompositionEvent): void","description":"An IME composition started. Forwards the original DOM `CompositionEvent`."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when the native text input gains focus. Forwards the original DOM `FocusEvent`."},{"name":"hidden","signature":"(): void","description":"Emitted once the palette has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the palette starts to close."},{"name":"input","signature":"(event: Event): void","description":"Emitted on native input events from the text field. Forwards the original DOM `Event`."},{"name":"keydown","signature":"(event: KeyboardEvent): void","description":"Emitted for keyboard interaction on the input. Forwards the original DOM `KeyboardEvent`."},{"name":"keyup","signature":"(event: KeyboardEvent): void","description":"Emitted when a key is released on the input. Forwards the original DOM `KeyboardEvent`."},{"name":"mousedown","signature":"(event: MouseEvent): void","description":"Emitted when a pointing device button is pressed over the input. Forwards the original DOM `MouseEvent`."},{"name":"mouseup","signature":"(event: MouseEvent): void","description":"Emitted when a pointing device button is released over the input. Forwards the original DOM `MouseEvent`."},{"name":"paste","signature":"(event: ClipboardEvent): void","description":"Native clipboard paste. Forwards the original DOM `ClipboardEvent`."},{"name":"show","signature":"(): void","description":"Emitted as soon as the palette (the popover, or the sheet on a phone) starts to open."},{"name":"shown","signature":"(): void","description":"Emitted once the palette is open and its open transition has finished."},{"name":"update:modelValue","signature":"(value: string | null): void","description":"Emitted when the value becomes a valid hex color via typing/masking, when the field is cleared, or when the palette selects a color. Emits:\n- `#RRGGBB` (or `#RRGGBBAA` when `alpha` is enabled) for valid values\n- `null` when cleared"}],"slots":[{"name":"append","type":"Record<string, never>","description":"Content after the colour indicator button, at the end of the inner container. It replaces the `suffix` wrapper, so with `append` any `suffix` content is dropped. No scoped props."},{"name":"append:outer","type":"Record<string, never>","description":"Content rendered after the entire input control, outside the input chrome. This slot receives no scoped props."},{"name":"description","type":"BbColorInputDescriptionSlotProps","fields":["text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the description text. Provided alone (no `description` prop) it still renders the description region and wires it into `aria-describedby`."},{"name":"label","type":"BbColorInputLabelSlotProps","fields":["showAsterisk?: boolean","hasErrors: boolean","hasWarnings: boolean","text: string"],"description":"Replaces the default label text rendered above the color input."},{"name":"prefix","type":"Record<string, never>","description":"Inline content rendered at the start of the input field area, before the typed text. This slot receives no scoped props."},{"name":"prepend","type":"Record<string, never>","description":"Content rendered before the text input, at the start of the inner container. This slot receives no scoped props."},{"name":"prepend:outer","type":"Record<string, never>","description":"Content rendered before the entire input control, outside the input chrome. This slot receives no scoped props."},{"name":"suffix","type":"Record<string, never>","description":"Inline content at the end of the field, after the typed text, inside the default `append` area: an `append` slot replaces it. No scoped props."}],"exposed":[],"models":[{"name":"modelValue","type":"string | null | undefined"}],"cssProps":[{"name":"--elev","value":"var(--bb-elev-sm)","selector":".bb-color-input__indicator","description":"Small-chrome resting lift, DECLARED here so it is sealed: an ancestor that sets `--elev` for its own plate must not reach in and lift this. Same tier and same name as the checkbox and radio glyphs."},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-color-input__indicator"},{"name":"--border-color","value":"per variant","selector":"pt:box","description":"The resting border, at the fixed --bb-border-w. Errors and warnings paint their frame over it, so `pt:box=\"[--border-color:…]\"` recolours the rest without hiding the state; a plain `border-*` utility on the base pt:box would hide it (ESLint `no-box-border-color`)."},{"name":"--ph","value":"var(--bb-text-muted)","selector":"pt:box","description":"Placeholder colour, one local for every field: the native `::placeholder`, BbSelect's activator text and the picker inputs' empty segments. Set it through `pt:box=\"[--ph:…]\"`; app-wide, the same entry in the global pt map."}],"pt":{"parts":[{"name":"root","description":"The field's outer container: the label, the box and the lines under it."},{"name":"label","description":"The label text above the box (the `label` prop)."},{"name":"description","description":"The muted line under the label (the `description` prop)."},{"name":"message","description":"The errors / warnings line under the box. A node of its own: it can show at the same time as `hint`."},{"name":"hint","description":"The helper line (the `hint` prop), shown on focus, or always with `persistent-hint`."},{"name":"box","description":"The bordered box around the input — border, background and radius; the `variant` paints here."},{"name":"input","description":"The native input element inside the box."},{"name":"icon","description":"The content icons, prepend and append — a broadcast. Chrome (the clear ✕, a chevron, the error / warning glyph) is never in it."},{"name":"spinner","description":"The spinner inside the box while `loading`."},{"name":"prefix","description":"The `#prefix` slot's wrapper, inside the box before the input."},{"name":"suffix","description":"The `#suffix` slot's wrapper, inside the box after the input."},{"name":"clear","description":"The ✕ that empties this control (`clearable`) — one node, never a chip's own ✕."},{"name":"indicator","description":"The colour dot in the box that opens the palette."},{"name":"panel","description":"The palette surface — the popover's painted bubble on desktop, the sheet itself on a phone."},{"name":"sheet","description":"The bottom sheet the palette opens in on a phone — no node on desktop."},{"name":"swatch","description":"One palette swatch (after the `swatches` prop) — a broadcast resolved per swatch."}],"states":[{"name":"hasValue","description":"Component-wide: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`)."},{"name":"selected","description":"Per node, on `swatch` only: the swatch that matches the value."},{"name":"readonly","description":"Component-wide: the control is `readonly` — shown, focusable, not editable."},{"name":"disabled","description":"Component-wide: the control is `disabled`."},{"name":"warnings","description":"Component-wide: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together."},{"name":"errors","description":"Component-wide: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red."},{"name":"open","description":"Component-wide: the palette is showing — `pt:indicator:open` styles the swatch button while it is."},{"name":"loading","description":"Component-wide: `loading` is on; the box shows its `spinner`."},{"name":"ghost","description":"On the field's parts: `variant: 'ghost'`. Below the real states, like every variant."},{"name":"outline","description":"On the field's parts: `variant: 'outline'`. Merged after the part's base entry and before its states, so the real states still win."},{"name":"secondary","description":"On the field's parts: `variant: 'secondary'`. Below the real states, like every variant."}]},"tree":{"bindings":[{"part":"controlAttrs","target":"input.bb-color-input__input"},{"part":"input","target":"input.bb-color-input__input"},{"part":"indicator","target":"button.bb-color-input__indicator"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"forwards":[{"to":"BbColorPalette","mapping":"{ panel: 'panel', sheet: 'sheet', swatch: 'swatch' }"}],"nodes":[{"name":"CommonField","kind":"internal","vocabulary":"BbColorInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbColorInput","bindings":[{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"icon","target":"BbIcon"},{"part":"clear","target":"ClearableButton"},{"part":"spinner","target":"BbSpinner"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"cssProps":[{"name":"--bg","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--bg-hover","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-disabled","documented":true,"readBy":["bb-field-input__box"]},{"name":"--fg-disabled","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix","bb-field-input__prepend-icon","bb-field-input__append-icon"]},{"name":"--border-color","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--border-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-size","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-color","documented":true,"readBy":["bb-field-input__box"]},{"name":"--elev","documented":true,"readBy":["bb-field-input__box"]},{"name":"--frost","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ph","documented":true},{"name":"--inside-label-clearance","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix"]},{"name":"--ring-t","documented":false,"readBy":["bb-field-input__box"]}],"children":[{"name":"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"}]}]},{"name":"BbColorPalette","kind":"public"}]},"css":{"classes":{"bb-color-input":["","__field","__indicator","__input"]},"locals":["--color-gray-200","--elev","--ring-t"],"surface":{"stable":[{"class":"bb-color-input","tag":"CommonField","part":"root"},{"class":"bb-color-input__input","tag":"input","part":"input"},{"class":"bb-color-input__indicator","tag":"button","part":"indicator","reads":["--elev","--ring-t"]}],"internal":[{"class":"bb-color-input__field","tag":"CommonFieldInput"}],"via":[{"part":"icon","component":"BbIcon"},{"part":"spinner","component":"BbSpinner"}],"lands":[{"part":"description","target":"span.bb-field__description"},{"part":"message","target":"div.bb-field__message"},{"part":"hint","target":"span.bb-field__hint"},{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"suffix","target":"span.bb-field-input__suffix"},{"part":"clear","target":"ClearableButton"}],"unaligned":{"parts":["label","panel","sheet","swatch"],"states":["hasValue","selected","readonly","disabled","warnings","errors","open","loading","ghost","outline","secondary"]}}},"attrTargets":["div","input"],"config":"labelMode*, validationMode*, autocomplete*, compact*, layout*, reverse*, adaptive*, variants","removed":[{"name":"picker","new":"eyeDropper","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-color-input.md","silent":true,"fix":{"kind":"rename"}},{"name":"hasWarning","new":"hasWarnings","since":"3.0.0-beta.26","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"direction","new":"layout","since":"3.0.0-beta.33","migration":"ai/guides/migration/components/bb-color-input.md","silent":true,"fix":{"kind":"rename"}},{"name":"prepend-outer","new":"prepend:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"append-outer","new":"append:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"vid","new":null,"hint":"a display name (v2: `vid=\"Email address\"`) is now `validation-label`; a field path (3.0 betas: `vid=\"address.city\"`) is now `name` (brackets for a native post: `address[city]`). `check --fix` picks by the value","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"byValue","display":"validationLabel","key":"name"}},{"name":"validateOn","new":"validationMode","hint":"an array of events became one mode (`aggressive` | `balanced` | `lazy` | `submit-only` | `submit-live`). The old defaults (`['blur']`, `['inactive']`, a toggle's `['update:modelValue', 'change', 'blur']`) are `balanced`, the new default: delete the prop. A text field on `['update:modelValue']` is `validation-mode=\"aggressive\"`. Set it once on `<BbForm validation-mode>` instead of per field","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"manual"}}],"renamed":[{"from":"picker","to":"eyeDropper","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-color-input.md","fix":{"kind":"rename"}},{"from":"hasWarning","to":"hasWarnings","since":"3.0.0-beta.26","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"direction","to":"layout","since":"3.0.0-beta.33","migration":"ai/guides/migration/components/bb-color-input.md","fix":{"kind":"rename"}},{"from":"prepend-outer","to":"prepend:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"append-outer","to":"append:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"validateOn","to":"validationMode","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"manual"},"hint":"an array of events became one mode (`aggressive` | `balanced` | `lazy` | `submit-only` | `submit-live`). The old defaults (`['blur']`, `['inactive']`, a toggle's `['update:modelValue', 'change', 'blur']`) are `balanced`, the new default: delete the prop. A text field on `['update:modelValue']` is `validation-mode=\"aggressive\"`. Set it once on `<BbForm validation-mode>` instead of per field"}]},
|
|
393
393
|
{"name":"BbColorPalette","group":"Overlay","description":"Opens an anchored popover color palette for color picking interactions.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbColorPalette.md","source":"ai/source/BbColorPalette.md","props":[{"name":"activator","type":"ElementOrComponentRef | undefined","required":false,"description":"External activator element or component ref. When provided, the `activator` slot is not rendered and click listeners are attached programmatically to the referenced element — mirroring the BbDropdown activator API."},{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"When `true`, the palette opens as a bottom off-canvas sheet on mobile viewports instead of a floating popover; on desktop it stays a popover. Mirrors the adaptive behaviour of `BbPopover`/`BbDropdown`/`BbDatePicker`.\n\nWhen unset, falls back to the global `all.adaptive`."},{"name":"alpha","type":"boolean | undefined","required":false,"default":"false","description":"Enable the alpha channel. The picker shows an opacity slider and emits `#RRGGBBAA` hex8 values."},{"name":"anchor","type":"ElementOrComponentRef | undefined","required":false,"description":"Element or component ref the popover positions itself relative to. Defaults to the activator element when omitted, allowing the popover to be anchored to a larger container (e.g. the full input row) while a smaller element (e.g. a color dot) remains the click target."},{"name":"boundary","type":"ElementOrComponentRefOrSelector | undefined","required":false,"description":"Constrains the popover within a bounding element: it stays inside it alongside its trigger (sideways for a popover above or below); away from the trigger it may pass the edge, and it flips at the viewport only. Accepts an HTMLElement, a Vue component ref, or a CSS selector string."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disable all interaction (activator and palette)."},{"name":"disableFlip","type":"boolean | undefined","required":false,"default":"false","description":"Disables the automatic flip to the opposite side when the popover would overflow (flipping is on by default)."},{"name":"eager","type":"boolean | undefined","required":false,"default":"false","description":"Renders the palette panel at mount instead of on the first open (the phone sheet's too)."},{"name":"eyeDropper","type":"boolean | undefined","required":false,"default":"false","description":"Show an eyedropper button inside the palette to sample any color on screen. Uses the native EyeDropper API — hidden automatically on unsupported browsers."},{"name":"label","type":"string | undefined","required":false,"description":"Accessible label. The activator is named by it followed by the activator's own text, through `aria-labelledby`. Defaults to the locale string for \"Open color picker\" when omitted."},{"name":"modelValue","type":"string | null","required":true,"description":"v-model: the current color as a `#RRGGBB` hex string (or `#RRGGBBAA` when `alpha` is enabled), or `null` when empty."},{"name":"offCanvasProps","type":"Partial<BbOffCanvasProps> | undefined","required":false,"description":"Props for the phone sheet (the `BbOffCanvas` that `adaptive` renders on mobile), spread over its defaults. A `pt` inside it styles only the sheet (passthrough guide § Inside the sheet). The sheet hides its ✕; `{ hideClose: false }` brings it back."},{"name":"offset","type":"number | undefined","required":false,"default":"4","description":"Space the floating container will maintain from the activator."},{"name":"padding","type":"number | undefined","required":false,"default":"6","description":"Minimum empty space to keep from the edge of the page"},{"name":"placement","type":"Placement | undefined","required":false,"description":"Position of the overlay in respect to the related activator."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"swatch\"]; readonly states: readonly [\"selected\", \"open\"]; readonly wide: readonly [\"open\"]; readonly node: { readonly swatch: readonly [\"selected\"]; }; }> & { root?: PtValue | undefined; panel?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; sheet?: PtValue | undefined; swatch?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"swatch:open\"?: PtValue | undefined; \"swatch:selected\"?: PtValue | undefined; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:panel","type":"PtValue | undefined","required":false},{"name":"pt:panel:open","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:open","type":"PtValue | undefined","required":false},{"name":"pt:sheet","type":"PtValue | undefined","required":false},{"name":"pt:sheet:open","type":"PtValue | undefined","required":false},{"name":"pt:swatch","type":"PtValue | undefined","required":false},{"name":"pt:swatch:open","type":"PtValue | undefined","required":false},{"name":"pt:swatch:selected","type":"PtValue | undefined","required":false},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Prevent opening the palette while keeping the activator visible."},{"name":"swatches","type":"boolean | string[][] | undefined","required":false,"description":"Controls swatches display in the picker:\n- `true` — show the built-in Material-palette swatches\n- `string[][]` — show custom swatches (each inner array = a column of shades)\n- `false` / omitted — no swatches section"},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"How long the transition has to last in milliseconds"}],"events":[{"name":"hidden","signature":"(): void","description":"Emitted once the palette has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the palette starts to close."},{"name":"show","signature":"(): void","description":"Emitted as soon as the palette (the popover, or the sheet on a phone) starts to open."},{"name":"shown","signature":"(): void","description":"Emitted once the palette is open and its open transition has finished."},{"name":"update:modelValue","signature":"(value: string): void","description":"Emitted when a color is picked. Payload is a concrete `#RRGGBB` (or `#RRGGBBAA` when alpha is enabled) — the palette always emits a color, never `null`."}],"slots":[{"name":"activator","type":"BbColorPaletteActivatorSlotProps","fields":["anchorProps: BbColorPaletteAnchorProps","disabled: boolean","open: boolean","props: BbColorPaletteActivatorProps","value: string | null"],"description":"Custom activator element. Apply `v-bind=\"props\"` to the element you want to use as the trigger — this wires up the ref callback that lets BbColorPalette track the element."}],"exposed":[],"models":[{"name":"modelValue","type":"string | null"}],"cssProps":[{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-color-palette__canvas-wrap"},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-color-palette__eyedropper"},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-color-palette__slider-wrap"},{"name":"--edge","value":"color-mix(in oklab, var(--bb-text) 8%, transparent)","selector":".bb-color-palette__swatch","description":"The swatch's own edge: a text-tone hairline, so a pale swatch reads on a light panel AND a deep one (green-900, indigo-900) on a dark panel — a fixed black 8% vanished there."},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-color-palette__swatch"}],"pt":{"parts":[{"name":"root","description":"The floating element — an invisible positioning wrapper; a `class` on the component lands here. No node on the phone sheet: style what you see with `panel`."},{"name":"panel","description":"The picker surface you see — the popover's painted bubble on desktop, the sheet itself on a phone — holding the canvas, the sliders and the swatches. The canvas and the sliders are not parts."},{"name":"sheet","description":"The bottom sheet on a phone only (the `BbOffCanvas` root). Applied after `panel`, so it wins a conflict there."},{"name":"swatch","description":"One swatch (after the `swatches` prop) — a broadcast resolved per swatch."}],"states":[{"name":"selected","description":"Per node, on `swatch`: the swatch that matches the value."},{"name":"open","description":"Component-wide: the palette is showing."}]},"tree":{"bindings":[{"part":"swatch","target":"button.bb-color-palette__swatch"},{"part":"panel","target":"div"},{"part":"panel","target":"CommonPopover"}],"forwards":[{"to":"BbOffCanvas","mapping":"{ panel: 'root', sheet: 'root' }"}],"nodes":[{"name":"BbIcon","kind":"public"},{"name":"BbOffCanvas","kind":"public"},{"name":"CommonPopover","kind":"internal"}]},"css":{"classes":{"bb-color-palette":["","__canvas","__canvas-announcer","__canvas-thumb","__canvas-wrap","__controls","__eyedropper","__panel","__preview","__preview--alpha","__preview-wrap","__sheet","__slider-thumb","__slider-track","__slider-wrap","__slider-wrap--alpha","__sliders","__swatch","__swatch--active","__swatch-group","__swatches"]},"locals":["--bubble-border-w","--color-gray-200","--edge","--hit","--picker-preview-color","--ring-t","--swatch-gap"],"surface":{"stable":[{"class":"bb-color-palette","tag":"CommonPopover","part":"root"},{"class":"bb-color-palette__panel","part":"panel","reads":["--bubble-border-w"]},{"class":"bb-color-palette__sheet","tag":"BbOffCanvas","part":"sheet"},{"class":"bb-color-palette__swatch","tag":"button","part":"swatch","reads":["--edge","--hit","--ring-t","--swatch-gap"]}],"internal":[{"class":"bb-color-palette__canvas","tag":"canvas"},{"class":"bb-color-palette__canvas-announcer","tag":"div"},{"class":"bb-color-palette__canvas-thumb","tag":"div"},{"class":"bb-color-palette__canvas-wrap","tag":"div","reads":["--ring-t"]},{"class":"bb-color-palette__controls","tag":"div"},{"class":"bb-color-palette__eyedropper","tag":"button","reads":["--hit","--ring-t"]},{"class":"bb-color-palette__preview","tag":"div","reads":["--picker-preview-color"]},{"class":"bb-color-palette__preview--alpha","tag":"div","reads":["--picker-preview-color"]},{"class":"bb-color-palette__preview-wrap","tag":"div"},{"class":"bb-color-palette__slider-thumb","tag":"div"},{"class":"bb-color-palette__slider-track","tag":"canvas"},{"class":"bb-color-palette__slider-wrap","tag":"div","reads":["--hit","--ring-t"]},{"class":"bb-color-palette__slider-wrap--alpha","tag":"div"},{"class":"bb-color-palette__sliders","tag":"div","reads":["--hit"]},{"class":"bb-color-palette__swatch--active","tag":"button","reads":["--edge"]},{"class":"bb-color-palette__swatch-group","tag":"div","reads":["--swatch-gap"]},{"class":"bb-color-palette__swatches","tag":"div","reads":["--swatch-gap"]}],"unaligned":{"states":["selected","open"]}}},"attrTargets":["dialog"],"config":"adaptive*","removed":[{"name":"arrowPadding","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"remove"}},{"name":"flip","new":"disableFlip","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"invert"}},{"name":"picker","new":"eyeDropper","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"rename"}},{"name":"showArrow","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"remove"}},{"name":"pt:root:selected","new":null,"surface":"pt","hint":"it never applied anything: `selected` is a state of `swatch` only (`pt:swatch:selected`)","since":"3.0.0-beta.31","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"remove"}},{"name":"pt:panel:selected","new":null,"surface":"pt","hint":"it never applied anything: `selected` is a state of `swatch` only (`pt:swatch:selected`)","since":"3.0.0-beta.31","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"remove"}},{"name":"pt:sheet:selected","new":null,"surface":"pt","hint":"it never applied anything: `selected` is a state of `swatch` only (`pt:swatch:selected`)","since":"3.0.0-beta.31","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"remove"}},{"name":"update:open","new":null,"surface":"event","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"manual"}}],"renamed":[{"from":"flip","to":"disableFlip","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-color-palette.md","fix":{"kind":"invert"}},{"from":"picker","to":"eyeDropper","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-color-palette.md","fix":{"kind":"rename"}}]},
|
|
394
394
|
{"name":"BbConfigScope","group":"Layout & Utility","description":"Renderless provider that switches on a named config scope (`configScopes` in the plugin config) for its subtree: its `pt` entries and prop defaults (or an inline `:config`) (a backoffice and a member area with different looks in one app).","referenceOnly":false,"hasGuide":true,"contract":"ai/BbConfigScope.md","source":"ai/source/BbConfigScope.md","props":[{"name":"config","type":"BbComponentsMap<\"scope\"> | undefined","required":false,"description":"An inline scope: the same map as a `configScopes` entry, minus the app-wide `variants` and `nullValue`. With `name`, it applies on top. Re-resolved only when its content changes: keep it static or hoisted."},{"name":"name","type":"BbConfigScopeName","required":false,"values":["bitboss-ui: no configScopes configured — add configScopes to bitbossUi() and commit bitboss-ui.d.ts"],"description":"The named scope to switch on inside: a key of the plugin's `configScopes` (typed from your config). Nested scopes: `pt` merges outer first, a default comes from the nearest scope that sets it. Reactive."}],"events":[],"slots":[{"name":"default","type":"any","description":"The subtree the scope applies to. Rendered as is — no wrapper element."}],"exposed":[],"models":[]},
|
|
395
|
-
{"name":"BbConfirm","group":"Overlay","description":"The confirm() dialog.","referenceOnly":true,"hasGuide":true,"contract":"ai/BbConfirm.md","source":"ai/source/BbConfirm.md","props":[{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"sheet\", \"header\", \"title\", \"content\", \"text\", \"footer\", \"close\", \"action\"]; readonly states: readonly [\"open\", \"fullscreen\"]; readonly wide: readonly [\"open\", \"fullscreen\"]; readonly variant: { readonly names: readonly [\"default\", \"destructive\"]; readonly option: \"confirmVariants\"; }; }> & PtMap<BbConfirmPtPart, \"default\" | \"open\" | \"destructive\" | \"fullscreen\">) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:action","type":"PtValue | undefined","required":false},{"name":"pt:action:default","type":"PtValue | undefined","required":false},{"name":"pt:action:destructive","type":"PtValue | undefined","required":false},{"name":"pt:action:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:action:open","type":"PtValue | undefined","required":false},{"name":"pt:close","type":"PtValue | undefined","required":false},{"name":"pt:close:default","type":"PtValue | undefined","required":false},{"name":"pt:close:destructive","type":"PtValue | undefined","required":false},{"name":"pt:close:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:close:open","type":"PtValue | undefined","required":false},{"name":"pt:content","type":"PtValue | undefined","required":false},{"name":"pt:content:default","type":"PtValue | undefined","required":false},{"name":"pt:content:destructive","type":"PtValue | undefined","required":false},{"name":"pt:content:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:content:open","type":"PtValue | undefined","required":false},{"name":"pt:footer","type":"PtValue | undefined","required":false},{"name":"pt:footer:default","type":"PtValue | undefined","required":false},{"name":"pt:footer:destructive","type":"PtValue | undefined","required":false},{"name":"pt:footer:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:footer:open","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:default","type":"PtValue | undefined","required":false},{"name":"pt:header:destructive","type":"PtValue | undefined","required":false},{"name":"pt:header:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:header:open","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:default","type":"PtValue | undefined","required":false},{"name":"pt:root:destructive","type":"PtValue | undefined","required":false},{"name":"pt:root:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:root:open","type":"PtValue | undefined","required":false},{"name":"pt:sheet","type":"PtValue | undefined","required":false},{"name":"pt:sheet:default","type":"PtValue | undefined","required":false},{"name":"pt:sheet:destructive","type":"PtValue | undefined","required":false},{"name":"pt:sheet:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:sheet:open","type":"PtValue | undefined","required":false},{"name":"pt:text","type":"PtValue | undefined","required":false},{"name":"pt:text:default","type":"PtValue | undefined","required":false},{"name":"pt:text:destructive","type":"PtValue | undefined","required":false},{"name":"pt:text:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:text:open","type":"PtValue | undefined","required":false},{"name":"pt:title","type":"PtValue | undefined","required":false},{"name":"pt:title:default","type":"PtValue | undefined","required":false},{"name":"pt:title:destructive","type":"PtValue | undefined","required":false},{"name":"pt:title:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:title:open","type":"PtValue | undefined","required":false}],"events":[],"slots":[],"exposed":[],"models":[],"pt":{"parts":[{"name":"root","description":"The `<dialog>` of every confirm the app opens (forwarded to the `BbDialog` the host renders)."},{"name":"sheet","description":"The bottom sheet a confirm becomes on a phone — never the desktop dialog."},{"name":"header","description":"The header band."},{"name":"title","description":"The confirm's title."},{"name":"content","description":"The dialog body."},{"name":"text","description":"The confirm's plain-text body — not a portal's content."},{"name":"footer","description":"The action buttons' band."},{"name":"close","description":"The ✕."},{"name":"action","description":"Every footer button — ok, cancel and each custom `actions` entry — at the button's root. A broadcast."}],"states":[{"name":"open","description":"Component-wide: a confirm is showing."},{"name":"fullscreen","description":"Component-wide: the showing confirm is fullscreen (its `fullscreen` option, or `'mobile'` on a phone)."},{"name":"default","description":"Component-wide, from the message: `variant: 'default'`. Merged after the part's base entry and before its states, so the real states still win."},{"name":"destructive","description":"Component-wide, from the message: `variant: 'destructive'`. Below the real states, like every variant."}]},"tree":{"bindings":[{"part":"action","target":"BbDialog"},{"part":"text","target":"div.bb-confirm__text"}],"forwards":[{"to":"BbDialog","mapping":"passthrough.forward(DIALOG_PARTS, BB_DIALOG_PT.states)"}],"nodes":[{"name":"BbDialog","kind":"public"}]},"css":{"classes":{"bb-confirm":["","--*","__action","__content","__text"]},"locals":["--color-gray-200"],"surface":{"stable":[{"class":"bb-confirm","part":"root"},{"class":"bb-confirm__content","tag":"div","part":"content"},{"class":"bb-confirm__text","tag":"div","part":"text"},{"class":"bb-confirm__action","part":"action"}],"internal":[],"unaligned":{"parts":["sheet","header","title","footer","close"],"states":["open","fullscreen","default","destructive"]}}},"config":"size, okProps, cancelProps, variants","removed":[{"name":"yes","new":"ok","surface":"option","hint":"a `confirm()` option: `confirm({ ok: 'Delete' })`; same values, plus `true` for the default label","since":"3.0.0-
|
|
396
|
-
{"name":"BbConfirmPortal","group":"Overlay","description":"Registers named slot content that confirm() renders via `portal`; slot `{ data, ok, cancel }`.","referenceOnly":false,"hasGuide":false,"contract":"ai/BbConfirmPortal.md","source":"ai/source/BbConfirmPortal.md","props":[{"name":"name","type":"string","required":true,"description":"The name a confirm passes as `portal: '<name>'` to render this content."}],"events":[],"slots":[{"name":"default","type":"BbConfirmPortalSlotProps","fields":["data: P","ok: () => void","cancel: () => void"]}],"exposed":[],"models":[],"removed":[{"name":"yes","new":"ok","surface":"option","hint":"the default slot's scope: `#default=\"{ ok, cancel, data }\"`; rename the destructured name and its uses","since":"3.0.0-
|
|
395
|
+
{"name":"BbConfirm","group":"Overlay","description":"The confirm() dialog.","referenceOnly":true,"hasGuide":true,"contract":"ai/BbConfirm.md","source":"ai/source/BbConfirm.md","props":[{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"sheet\", \"header\", \"title\", \"content\", \"text\", \"footer\", \"close\", \"action\"]; readonly states: readonly [\"open\", \"fullscreen\"]; readonly wide: readonly [\"open\", \"fullscreen\"]; readonly variant: { readonly names: readonly [\"default\", \"destructive\"]; readonly option: \"confirmVariants\"; }; }> & PtMap<BbConfirmPtPart, \"default\" | \"open\" | \"destructive\" | \"fullscreen\">) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:action","type":"PtValue | undefined","required":false},{"name":"pt:action:default","type":"PtValue | undefined","required":false},{"name":"pt:action:destructive","type":"PtValue | undefined","required":false},{"name":"pt:action:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:action:open","type":"PtValue | undefined","required":false},{"name":"pt:close","type":"PtValue | undefined","required":false},{"name":"pt:close:default","type":"PtValue | undefined","required":false},{"name":"pt:close:destructive","type":"PtValue | undefined","required":false},{"name":"pt:close:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:close:open","type":"PtValue | undefined","required":false},{"name":"pt:content","type":"PtValue | undefined","required":false},{"name":"pt:content:default","type":"PtValue | undefined","required":false},{"name":"pt:content:destructive","type":"PtValue | undefined","required":false},{"name":"pt:content:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:content:open","type":"PtValue | undefined","required":false},{"name":"pt:footer","type":"PtValue | undefined","required":false},{"name":"pt:footer:default","type":"PtValue | undefined","required":false},{"name":"pt:footer:destructive","type":"PtValue | undefined","required":false},{"name":"pt:footer:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:footer:open","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:default","type":"PtValue | undefined","required":false},{"name":"pt:header:destructive","type":"PtValue | undefined","required":false},{"name":"pt:header:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:header:open","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:default","type":"PtValue | undefined","required":false},{"name":"pt:root:destructive","type":"PtValue | undefined","required":false},{"name":"pt:root:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:root:open","type":"PtValue | undefined","required":false},{"name":"pt:sheet","type":"PtValue | undefined","required":false},{"name":"pt:sheet:default","type":"PtValue | undefined","required":false},{"name":"pt:sheet:destructive","type":"PtValue | undefined","required":false},{"name":"pt:sheet:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:sheet:open","type":"PtValue | undefined","required":false},{"name":"pt:text","type":"PtValue | undefined","required":false},{"name":"pt:text:default","type":"PtValue | undefined","required":false},{"name":"pt:text:destructive","type":"PtValue | undefined","required":false},{"name":"pt:text:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:text:open","type":"PtValue | undefined","required":false},{"name":"pt:title","type":"PtValue | undefined","required":false},{"name":"pt:title:default","type":"PtValue | undefined","required":false},{"name":"pt:title:destructive","type":"PtValue | undefined","required":false},{"name":"pt:title:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:title:open","type":"PtValue | undefined","required":false}],"events":[],"slots":[],"exposed":[],"models":[],"pt":{"parts":[{"name":"root","description":"The `<dialog>` of every confirm the app opens (forwarded to the `BbDialog` the host renders)."},{"name":"sheet","description":"The bottom sheet a confirm becomes on a phone — never the desktop dialog."},{"name":"header","description":"The header band."},{"name":"title","description":"The confirm's title."},{"name":"content","description":"The dialog body."},{"name":"text","description":"The confirm's plain-text body — not a portal's content."},{"name":"footer","description":"The action buttons' band."},{"name":"close","description":"The ✕."},{"name":"action","description":"Every footer button — ok, cancel and each custom `actions` entry — at the button's root. A broadcast."}],"states":[{"name":"open","description":"Component-wide: a confirm is showing."},{"name":"fullscreen","description":"Component-wide: the showing confirm is fullscreen (its `fullscreen` option, or `'mobile'` on a phone)."},{"name":"default","description":"Component-wide, from the message: `variant: 'default'`. Merged after the part's base entry and before its states, so the real states still win."},{"name":"destructive","description":"Component-wide, from the message: `variant: 'destructive'`. Below the real states, like every variant."}]},"tree":{"bindings":[{"part":"action","target":"BbDialog"},{"part":"text","target":"div.bb-confirm__text"}],"forwards":[{"to":"BbDialog","mapping":"passthrough.forward(DIALOG_PARTS, BB_DIALOG_PT.states)"}],"nodes":[{"name":"BbDialog","kind":"public"}]},"css":{"classes":{"bb-confirm":["","--*","__action","__content","__text"]},"locals":["--color-gray-200"],"surface":{"stable":[{"class":"bb-confirm","part":"root"},{"class":"bb-confirm__content","tag":"div","part":"content"},{"class":"bb-confirm__text","tag":"div","part":"text"},{"class":"bb-confirm__action","part":"action"}],"internal":[],"unaligned":{"parts":["sheet","header","title","footer","close"],"states":["open","fullscreen","default","destructive"]}}},"config":"size, okProps, cancelProps, variants","removed":[{"name":"yes","new":"ok","surface":"option","hint":"a `confirm()` option: `confirm({ ok: 'Delete' })`; same values, plus `true` for the default label","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/use-confirm.md","silent":true,"fix":{"kind":"rename"}},{"name":"no","new":"cancel","surface":"option","hint":"a `confirm()` option: `confirm({ cancel: false })`; same values, plus `true` for the default label","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/use-confirm.md","silent":true,"fix":{"kind":"rename"}},{"name":"dismissAsNo","new":"dismissAsCancel","surface":"option","hint":"a `confirm()` option: backdrop, Escape and the ✕ run `cancel.onClick` unless `dismissAsCancel: false`","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/use-confirm.md","silent":true,"fix":{"kind":"rename"}},{"name":"actions[].icon","new":"actions[].iconOnly","surface":"option","hint":"an icon-only button writes its label and icon: `{ text: 'Close', 'prepend:icon': 'lucide:x', iconOnly: true }` (also `ok` / `cancel`); the label is the accessible name","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/use-confirm.md","silent":true,"fix":{"kind":"manual"}}]},
|
|
396
|
+
{"name":"BbConfirmPortal","group":"Overlay","description":"Registers named slot content that confirm() renders via `portal`; slot `{ data, ok, cancel }`.","referenceOnly":false,"hasGuide":false,"contract":"ai/BbConfirmPortal.md","source":"ai/source/BbConfirmPortal.md","props":[{"name":"name","type":"string","required":true,"description":"The name a confirm passes as `portal: '<name>'` to render this content."}],"events":[],"slots":[{"name":"default","type":"BbConfirmPortalSlotProps","fields":["data: P","ok: () => void","cancel: () => void"]}],"exposed":[],"models":[],"removed":[{"name":"yes","new":"ok","surface":"option","hint":"the default slot's scope: `#default=\"{ ok, cancel, data }\"`; rename the destructured name and its uses","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/use-confirm.md","silent":true,"fix":{"kind":"rename"}},{"name":"no","new":"cancel","surface":"option","hint":"the default slot's scope: `#default=\"{ ok, cancel, data }\"`; rename the destructured name and its uses","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/use-confirm.md","silent":true,"fix":{"kind":"rename"}}]},
|
|
397
397
|
{"name":"BbDatePicker","group":"Overlay","description":"Opens an anchored calendar (and optional time rail) popover on a trigger you own — the date analog of BbColorPalette; also the v-bb-date directive.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbDatePicker.md","source":"ai/source/BbDatePicker.md","props":[{"name":"activator","type":"ElementOrComponentRef | undefined","required":false,"description":"External activator element or component ref. When provided, the `activator` slot is not rendered and click + ARIA are attached programmatically to the referenced element — mirroring the `BbColorPalette` activator API."},{"name":"activeSegment","type":"BbCalendarSegment | undefined","required":false,"values":["start","end"],"description":"Which end the time rail edits in range + `type=\"datetime\"` (`v-model:active-segment`). Standalone use manages this internally; an embedding host (the date input) drives it from its focused field. Ignored outside range + datetime."},{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"On mobile, open in a bottom off-canvas sheet instead of a floating popover. When unset, falls back to the global `all.adaptive`."},{"name":"ampm","type":"boolean | undefined","required":false,"default":"false","description":"12-hour display with an AM/PM column (requires `type=\"datetime\"`); emits stay 24h."},{"name":"anchor","type":"ElementOrComponentRef | undefined","required":false,"description":"Element or component ref the popover positions itself relative to. Defaults to the activator when omitted (anchor to a larger row while a smaller element stays the click target)."},{"name":"boundary","type":"ElementOrComponentRefOrSelector | undefined","required":false,"description":"Constrains the popover within a bounding element or CSS selector: sideways only, alongside the trigger; it flips at the viewport."},{"name":"clearable","type":"boolean | undefined","required":false,"default":"false","description":"Clicking the selected date (week, month, year) again clears a single value. Off: re-picking keeps it. `multiple` and `range` ignore it."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the activator and the calendar."},{"name":"disableFlip","type":"boolean | undefined","required":false,"default":"false","description":"Disable the automatic flip to the opposite side on overflow."},{"name":"eager","type":"boolean | undefined","required":false,"default":"false","description":"Render popover content before it is first shown."},{"name":"firstDayOfWeek","type":"0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined","required":false,"default":"the locale's week start","description":"First day of the week (0 = Sunday … 6 = Saturday). Omitted, the active locale's week start: Monday for `it`, `de`, `fr`, `en-gb`…, Sunday for bare `en` (US) and `pt` (Brazil). Ignored under `type=\"week\"`: ISO weeks run Monday to Sunday, so a week grid always starts on Monday."},{"name":"floating","type":"boolean | undefined","required":false,"default":"false","description":"Emit plain calendar strings instead of zoned ISO instants. Implied (and forced) by `type=\"week\"`, `type=\"month\"` and `type=\"year\"`."},{"name":"label","type":"string | undefined","required":false,"description":"Accessible label. The activator is named by it followed by the activator's own text (\"Due date 12 Sep\"), through `aria-labelledby`."},{"name":"max","type":"string | undefined","required":false,"description":"Maximum selectable value, in this `type`'s shape. A finer bound is accepted and ceiled to the unit, with a warning (`week`: as `min`)."},{"name":"min","type":"string | undefined","required":false,"description":"Minimum selectable value, in this `type`'s shape — `YYYY-MM-DD` (`YYYY-MM-DDTHH:mm` with `datetime`, `YYYY-MM` with `month`, `YYYY` with `year`; a week or a date with `week`, whole weeks only). A finer bound is accepted and floored to the unit, with a warning."},{"name":"modelValue","type":"string | string[] | null","required":true,"description":"v-model: `null` when empty, a string, a `[start, end]` pair with `range`, or a sorted array with `multiple`. The string is `YYYY-MM-DD` when `floating` (`YYYY-Www` / `YYYY-MM` / `YYYY` for `week` / `month` / `year`), otherwise a zoned ISO instant (carrying the time under `datetime`)."},{"name":"multiple","type":"boolean","required":false,"description":"Multi-selection: each pick toggles a value in a sorted array (days, weeks, months or years), and the panel stays open until dismissed. Needs an array `modelValue` (`[]` when empty, never `null`). Throws with `range` or `type=\"datetime\"`.","default":"false"},{"name":"numberOfMonths","type":"number | undefined","required":false,"default":"1","description":"How many months the popover shows side by side (day grids only); the phone sheet always shows one. Too narrow for them all, the months wrap."},{"name":"offCanvasProps","type":"Partial<BbOffCanvasProps> | undefined","required":false,"description":"Props for the phone sheet (the `BbOffCanvas` that `adaptive` renders on mobile), spread over its defaults. A `pt` inside it styles only the sheet (passthrough guide § Inside the sheet). The sheet hides its ✕; `{ hideClose: false }` brings it back."},{"name":"offset","type":"number | undefined","required":false,"default":"4","description":"Space the popover keeps from the activator."},{"name":"padding","type":"number | undefined","required":false,"description":"Minimum empty space to keep from the edge of the page."},{"name":"placement","type":"Placement | undefined","required":false,"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."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"header\", \"arrow\", \"month\", \"year\", \"cellColumnHeader\", \"week\", \"weekNumber\", \"day\", \"dayButton\", \"monthItem\", \"yearItem\", \"item\"]; readonly states: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"disabled\", \"active\", \"open\", \"highlighted\"]; readonly wide: readonly [\"disabled\", \"open\"]; readonly node: { readonly week: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly weekNumber: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly day: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly dayButton: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly monthItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly yearItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly month: readonly [\"active\"]; readonly year: readonly [\"active\"]; 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; arrow?: PtValue | undefined; month?: PtValue | undefined; year?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; week?: PtValue | undefined; weekNumber?: PtValue | undefined; day?: PtValue | undefined; dayButton?: PtValue | undefined; monthItem?: PtValue | undefined; yearItem?: PtValue | undefined; \"arrow:disabled\"?: PtValue | undefined; \"month:disabled\"?: PtValue | undefined; \"year:disabled\"?: PtValue | undefined; \"cellColumnHeader:disabled\"?: PtValue | undefined; \"week:disabled\"?: PtValue | undefined; \"weekNumber:disabled\"?: PtValue | undefined; \"day:disabled\"?: PtValue | undefined; \"dayButton:disabled\"?: PtValue | undefined; \"monthItem:disabled\"?: PtValue | undefined; \"yearItem:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"month:active\"?: PtValue | undefined; \"year:active\"?: PtValue | undefined; \"week:inRange\"?: PtValue | undefined; \"week:selected\"?: PtValue | undefined; \"week:rangeStart\"?: PtValue | undefined; \"week:rangeEnd\"?: PtValue | undefined; \"weekNumber:inRange\"?: PtValue | undefined; \"weekNumber:selected\"?: PtValue | undefined; \"weekNumber:rangeStart\"?: PtValue | undefined; \"weekNumber:rangeEnd\"?: PtValue | undefined; \"day:outside\"?: PtValue | undefined; \"day:today\"?: PtValue | undefined; \"day:inRange\"?: PtValue | undefined; \"day:selected\"?: PtValue | undefined; \"day:rangeStart\"?: PtValue | undefined; \"day:rangeEnd\"?: PtValue | undefined; \"day:highlighted\"?: PtValue | undefined; \"dayButton:outside\"?: PtValue | undefined; \"dayButton:today\"?: PtValue | undefined; \"dayButton:inRange\"?: PtValue | undefined; \"dayButton:selected\"?: PtValue | undefined; \"dayButton:rangeStart\"?: PtValue | undefined; \"dayButton:rangeEnd\"?: PtValue | undefined; \"dayButton:highlighted\"?: PtValue | undefined; \"monthItem:inRange\"?: PtValue | undefined; \"monthItem:selected\"?: PtValue | undefined; \"monthItem:rangeStart\"?: PtValue | undefined; \"monthItem:rangeEnd\"?: PtValue | undefined; \"monthItem:highlighted\"?: PtValue | undefined; \"yearItem:inRange\"?: PtValue | undefined; \"yearItem:selected\"?: PtValue | undefined; \"yearItem:rangeStart\"?: PtValue | undefined; \"yearItem:rangeEnd\"?: PtValue | undefined; \"yearItem:highlighted\"?: PtValue | undefined; sheet?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"item:open\"?: PtValue | undefined; \"arrow:open\"?: PtValue | undefined; \"month:open\"?: PtValue | undefined; \"year:open\"?: PtValue | undefined; \"cellColumnHeader:open\"?: PtValue | undefined; \"week:open\"?: PtValue | undefined; \"weekNumber:open\"?: PtValue | undefined; \"day:open\"?: PtValue | undefined; \"dayButton:open\"?: PtValue | undefined; \"monthItem:open\"?: PtValue | undefined; \"yearItem:open\"?: PtValue | undefined; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:arrow","type":"PtValue | undefined","required":false},{"name":"pt:arrow:disabled","type":"PtValue | undefined","required":false},{"name":"pt:arrow:open","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:disabled","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:open","type":"PtValue | undefined","required":false},{"name":"pt:day","type":"PtValue | undefined","required":false},{"name":"pt:day:disabled","type":"PtValue | undefined","required":false},{"name":"pt:day:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:day:inRange","type":"PtValue | undefined","required":false},{"name":"pt:day:open","type":"PtValue | undefined","required":false},{"name":"pt:day:outside","type":"PtValue | undefined","required":false},{"name":"pt:day:rangeEnd","type":"PtValue | undefined","required":false},{"name":"pt:day:rangeStart","type":"PtValue | undefined","required":false},{"name":"pt:day:selected","type":"PtValue | undefined","required":false},{"name":"pt:day:today","type":"PtValue | undefined","required":false},{"name":"pt:dayButton","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:disabled","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:inRange","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:open","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:outside","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:rangeEnd","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:rangeStart","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:selected","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:today","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:disabled","type":"PtValue | undefined","required":false},{"name":"pt:header:open","type":"PtValue | undefined","required":false},{"name":"pt:item","type":"PtValue | undefined","required":false},{"name":"pt:item:disabled","type":"PtValue | undefined","required":false},{"name":"pt:item:open","type":"PtValue | undefined","required":false},{"name":"pt:item:selected","type":"PtValue | undefined","required":false},{"name":"pt:month","type":"PtValue | undefined","required":false},{"name":"pt:month:active","type":"PtValue | undefined","required":false},{"name":"pt:month:disabled","type":"PtValue | undefined","required":false},{"name":"pt:month:open","type":"PtValue | undefined","required":false},{"name":"pt:monthItem","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:disabled","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:inRange","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:open","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:rangeEnd","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:rangeStart","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:selected","type":"PtValue | undefined","required":false},{"name":"pt:panel","type":"PtValue | undefined","required":false},{"name":"pt:panel:disabled","type":"PtValue | undefined","required":false},{"name":"pt:panel:open","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:disabled","type":"PtValue | undefined","required":false},{"name":"pt:root:open","type":"PtValue | undefined","required":false},{"name":"pt:sheet","type":"PtValue | undefined","required":false},{"name":"pt:sheet:disabled","type":"PtValue | undefined","required":false},{"name":"pt:sheet:open","type":"PtValue | undefined","required":false},{"name":"pt:week","type":"PtValue | undefined","required":false},{"name":"pt:week:disabled","type":"PtValue | undefined","required":false},{"name":"pt:week:inRange","type":"PtValue | undefined","required":false},{"name":"pt:week:open","type":"PtValue | undefined","required":false},{"name":"pt:week:rangeEnd","type":"PtValue | undefined","required":false},{"name":"pt:week:rangeStart","type":"PtValue | undefined","required":false},{"name":"pt:week:selected","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:disabled","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:inRange","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:open","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:rangeEnd","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:rangeStart","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:selected","type":"PtValue | undefined","required":false},{"name":"pt:year","type":"PtValue | undefined","required":false},{"name":"pt:year:active","type":"PtValue | undefined","required":false},{"name":"pt:year:disabled","type":"PtValue | undefined","required":false},{"name":"pt:year:open","type":"PtValue | undefined","required":false},{"name":"pt:yearItem","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:disabled","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:inRange","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:open","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:rangeEnd","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:rangeStart","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:selected","type":"PtValue | undefined","required":false},{"name":"range","type":"boolean","required":false,"description":"Enables range selection (`[start, end]`).","default":"false"},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Prevents opening while keeping the activator visible."},{"name":"seconds","type":"boolean | undefined","required":false,"default":"false","description":"Adds the seconds column (requires `type=\"datetime\"`)."},{"name":"selectable","type":"((date: string) => boolean) | undefined","required":false,"description":"Predicate invoked per candidate; return `false` to disable it. Receives the value in this `type`'s shape — `YYYY-Www` under `week` (so a week is enabled or disabled whole), `YYYY-MM` under `month`, `YYYY` under `year`."},{"name":"step","type":"number | undefined","required":false,"default":"1","description":"Minute-column granularity and arrow stepping (requires `type=\"datetime\"`)."},{"name":"time","type":"string | string[] | null | undefined","required":false,"description":"Companion time model (`v-model:time`), 24-hour `HH:mm` / `HH:mm:ss`. With `floating` it is the only carrier of the time; otherwise it mirrors the time inside `modelValue`. Requires `type=\"datetime\"`."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"Popover/sheet transition duration in milliseconds."},{"name":"type","type":"DatePickerType | undefined","required":false,"default":"\"date\"","values":["date","month","year","week","datetime"],"description":"What the picker selects and emits: `date` (a day), `datetime` (a day plus a time rail), `week` (an ISO week, `YYYY-Www`: any day of a row picks its week), `month` (`YYYY-MM`) or `year` (`YYYY`). `week` / `month` / `year` force `floating`, ignore `utc`, and leave the time props inert."},{"name":"utc","type":"boolean | undefined","required":false,"default":"false","description":"Emit UTC (`...Z`) instead of the local offset. Ignored with `floating`, and therefore with `type=\"week\"`/`type=\"month\"`/`type=\"year\"`."}],"events":[{"name":"grid-pick","signature":"(value: string | string[] | null): void","description":"Relay of the raw calendar-grid pick, before the calendar combines it with the time. An embedding host binds this to run its own value engine; clean consumers ignore it and use `update:modelValue`."},{"name":"hidden","signature":"(): void","description":"Emitted once the calendar surface has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the calendar surface starts to close."},{"name":"show","signature":"(): void","description":"Emitted as soon as the calendar surface starts to open (the popover, or the sheet on a phone)."},{"name":"shown","signature":"(): void","description":"Emitted once the calendar surface is open and its open transition has finished."},{"name":"time-pick","signature":"(payload: { unit: TimeUnit; value: string; }): void","description":"Relay of the raw time-rail pick. An embedding host binds this to run its own value engine; clean consumers ignore it and use `update:time`."},{"name":"update:activeSegment","signature":"(value: BbCalendarSegment): void","description":"The active range end changed (range + `type=\"datetime\"` only)."},{"name":"update:modelValue","signature":"(value: string | string[] | null): void","description":"Emitted when the selected date value changes (single/range/null)."},{"name":"update:time","signature":"(value: string | string[] | null): void","description":"Companion time model, alongside every change while `type=\"datetime\"`."}],"slots":[{"name":"activator","type":"BbDatePickerActivatorSlotProps","fields":["props: { ref: (el: unknown) => void; 'aria-haspopup': \"dialog\"; 'aria-expanded': \"true\" | \"false\"; 'aria-labelledby': string; }","anchorProps: { ref: (el: unknown) => void; }","open: boolean","value: string | string[] | null","text: string","disabled: boolean"],"description":"Custom activator element. Apply `v-bind=\"props\"` to your trigger."},{"name":"day","type":"BbCalendarDaySlotProps","fields":["first: boolean","item: string","label: string","last: boolean","middle: boolean","outside: boolean","selected: boolean"],"description":"Replaces the day button label inside each calendar day."},{"name":"day:append","type":"BbCalendarDaySlotProps","fields":["first: boolean","item: string","label: string","last: boolean","middle: boolean","outside: boolean","selected: boolean"],"description":"Appends content below each calendar day."},{"name":"<YYYY-MM-DD>","type":"BbCalendarDaySlotProps","description":"One date's button label (e.g. `#2024-03-15`: the local `YYYY-MM-DD`, which `slotKey` leaves as it is); beats `day`. Day grid only.","dynamic":true},{"name":"<YYYY-MM-DD>:append","type":"BbCalendarDaySlotProps","description":"Content under one date's cell; beats `day:append`.","dynamic":true}],"exposed":[],"models":[{"name":"activeSegment","type":"BbCalendarSegment | undefined"},{"name":"modelValue","type":"string | string[] | null"},{"name":"time","type":"string | string[] | null | undefined"}],"cssProps":[{"name":"--cell","value":"28px","selector":".bb-date-picker__panel","description":"Cell size drives all grid math: 224px ÷ 7 = 32px exactly"},{"name":"--px","value":"6px","selector":".bb-date-picker__panel"},{"name":"--py","value":"8px","selector":".bb-date-picker__panel"},{"name":"--nav-button-h","value":"24px","selector":".bb-date-picker__panel"},{"name":"--unit-row","value":"calc(var(--cell) * 1.25)","selector":".bb-date-picker__panel","description":"Row pitch for the coarse grids (month/year), where a \"row\" is one of four month rows rather than a week. Roomier than --cell because twelve months in a 4×3 grid have space the 6×7 day grid does not."},{"name":"--sheet-cell","value":"inherit","selector":".bb-date-picker__panel--sheet"},{"name":"--cell","value":"inherit","selector":".bb-date-picker__panel--sheet"},{"name":"--px","value":"inherit","selector":".bb-date-picker__panel--sheet"},{"name":"--py","value":"inherit","selector":".bb-date-picker__panel--sheet"},{"name":"--nav-button-h","value":"inherit","selector":".bb-date-picker__panel--sheet"},{"name":"--unit-row","value":"inherit","selector":".bb-date-picker__panel--sheet"}],"pt":{"parts":[{"name":"root","description":"The floating element — an invisible positioning wrapper; a `class` on the component lands here. No node on the phone sheet: style what you see with `panel`."},{"name":"header","description":"The navigation bar: the previous / next arrows and the month / year headings. With `number-of-months`, every month's header row (the later ones caption their month)."},{"name":"arrow","description":"The previous / next buttons — a broadcast."},{"name":"month","description":"The month heading button; it opens the month panel."},{"name":"year","description":"The year heading button; it opens the year panel."},{"name":"cellColumnHeader","description":"Each weekday letter above the grid — a broadcast."},{"name":"week","description":"One row of seven days with `type=\"week\"` — the band a picked week paints and the hover outline. A broadcast resolved per row."},{"name":"weekNumber","description":"The ISO week number heading each row with `type=\"week\"` — a broadcast resolved per row."},{"name":"day","description":"One whole day cell — a broadcast resolved per day. A background here paints the full cell square; restyle the round mark on `dayButton`."},{"name":"dayButton","description":"The button inside a day cell — the mark that shows selection. A broadcast resolved per day."},{"name":"monthItem","description":"One month button of the month panel (the home grid of `type=\"month\"`) — a broadcast resolved per month."},{"name":"yearItem","description":"One year button of the year list — a broadcast resolved per year."},{"name":"item","description":"One entry of the time rail's columns (hour, minute, second, AM / PM) with `type=\"datetime\"` — a broadcast resolved per entry, as on `BbTimePicker`. With the rail, `header` also lands on its readout and `cellColumnHeader` on its column letters (`HH`, `MM`)."},{"name":"panel","description":"The calendar surface you see — the popover's painted bubble on desktop, the sheet itself on a phone. It carries the sizing tokens: `pt:panel=\"[--cell:36px]\"` widens the calendar, `[--px:2px]` tightens."},{"name":"sheet","description":"The bottom sheet on a phone only (the `BbOffCanvas` root). Applied after `panel`, so it wins a conflict there."}],"states":[{"name":"outside","description":"Per node, on `day` / `dayButton`: a day of the previous or next month, shown to fill the grid."},{"name":"today","description":"Per node, on `day` / `dayButton`: today."},{"name":"inRange","description":"Per node, on the cells (`day`, `dayButton`, `monthItem`, `yearItem`) and the week rows (`week`, `weekNumber`): inside a committed range, between its ends."},{"name":"selected","description":"Per node, on the cells: a chosen day, month or year; on `week` / `weekNumber`, a chosen week (a range's ends too, as on its days); on `item`, the picked time's entry in each column."},{"name":"rangeStart","description":"Per node, on the cells and the week rows: a committed range's first day, week, month or year."},{"name":"rangeEnd","description":"Per node, on the cells and the week rows: a committed range's last day, week, month or year."},{"name":"disabled","description":"Component-wide while the picker is `disabled`. Also per node: on the cells, one outside `min` / `max` or refused by `selectable`; on `arrow`, at a bound or while the month / year panel is open."},{"name":"active","description":"Per node, on `month` / `year`: its panel is open."},{"name":"open","description":"Component-wide: the calendar is showing."},{"name":"highlighted","description":"Per node, on the cells: the keyboard cursor."}]},"tree":{"bindings":[{"part":"panel","target":"div"}],"forwards":[{"to":"BbCalendar","mapping":" passthrough.forward(DATE_PICKER_CALENDAR_PARTS, BB_CALENDAR_PT.states) "},{"to":"BbOffCanvas","mapping":"{ panel: 'root', sheet: 'root' }"}],"nodes":[{"name":"BbCalendar","kind":"public"},{"name":"BbOffCanvas","kind":"public"},{"name":"CommonPopover","kind":"internal"}]},"css":{"classes":{"bb-date-picker":["","__panel","__panel--datetime","__panel--sheet","__sheet"]},"locals":["--cell","--color-gray-200","--sheet-cell","--time-mark"],"surface":{"stable":[{"class":"bb-date-picker","tag":"CommonPopover","part":"root"},{"class":"bb-date-picker__panel","part":"panel","reads":["--cell"]},{"class":"bb-date-picker__sheet","tag":"BbOffCanvas","part":"sheet","reads":["--cell","--sheet-cell"]}],"internal":[{"class":"bb-date-picker__panel--datetime"},{"class":"bb-date-picker__panel--sheet"}],"unaligned":{"parts":["header","arrow","month","year","cellColumnHeader","week","weekNumber","day","dayButton","monthItem","yearItem","item"],"states":["outside","today","inRange","selected","rangeStart","rangeEnd","disabled","active","open","highlighted"]}}},"attrTargets":["dialog"],"config":"adaptive*","removed":[{"name":"datetime","new":"type","since":"3.0.0-alpha.5","migration":"ai/guides/migration/components/bb-date-picker-input.md","silent":true,"fix":{"kind":"manual"}},{"name":"pt:columnHeader","new":"pt:cellColumnHeader","surface":"pt","since":"3.0.0-beta.36","migration":"ai/guides/migration/v3-beta-css-classes.md","silent":true,"fix":{"kind":"rename"}},{"name":"append:day","new":"day:append","surface":"slot","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"append:<x>","new":"<x>:append","surface":"slot","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"datetime","to":"type","since":"3.0.0-alpha.5","migration":"ai/guides/migration/components/bb-date-picker-input.md","fix":{"kind":"manual"}},{"from":"pt:columnHeader","to":"pt:cellColumnHeader","surface":"pt","since":"3.0.0-beta.36","migration":"ai/guides/migration/v3-beta-css-classes.md","fix":{"kind":"rename"}},{"from":"append:day","to":"day:append","surface":"slot","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"append:<x>","to":"<x>:append","surface":"slot","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}}]},
|
|
398
398
|
{"name":"BbDatePickerInput","group":"Inputs","description":"Combines date selection with text input behavior.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbDatePickerInput.md","source":"ai/source/BbDatePickerInput.md","props":[{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"On mobile the calendar opens inside a bottom off-canvas sheet instead of a floating popover, mirroring the adaptive behaviour of `BbPopover`/`BbSelect`. When unset, falls back to the global `all.adaptive`."},{"name":"ampm","type":"boolean | undefined","required":false,"default":"false","description":"12-hour display with an AM/PM segment (requires `type=\"datetime\"`). Purely a field-composition concern: `modelValue` and the `time` model stay 24-hour regardless. Type `A`/`P` (or ArrowUp/Down) to set the meridiem."},{"name":"append:icon","type":"string | undefined","required":false,"description":"Name of the icon to be added at the end of the input."},{"name":"autocomplete","type":"string | undefined","required":false,"default":"'off'","description":"Guides the browser as to the type of information expected in the field."},{"name":"autofocus","type":"Booleanish | undefined","required":false,"description":"Focuses the field when it mounts (a dialog already open included), unless the user is typing in another field."},{"name":"clearable","type":"boolean | undefined","required":false,"default":"false","description":"Displays a clear button when the input has a value and is being interacted with, and lets re-picking the selected date clear it."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Compact density: the field uses the `-compact` twins of `--bb-input-h`, `--bb-input-py` and `--bb-label-spacing-y`, so a `--bb-input-h` set on the component is ignored while it is on. Size a compact field with `--bb-input-h-compact` (and `--bb-input-py-compact`)."},{"name":"description","type":"string | undefined","required":false,"description":"Text between the label and the input. Unlike the hint it is always visible; it joins the input's `aria-describedby` after any `errors` / `warnings`, before the `hint`."},{"name":"disableCalendar","type":"boolean | \"mobile\" | \"desktop\" | undefined","required":false,"default":"false","description":"Disables the calendar: hides the trigger button and prevents the popover from opening. Use `'desktop'` to disable it on desktop only (keeping the calendar for mobile, complementing `disableWriting: 'mobile'`) or `'mobile'` to disable it on mobile only."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the component."},{"name":"disableWriting","type":"boolean | \"mobile\" | \"desktop\" | undefined","required":false,"default":"false","description":"Disables typing into the input. Use `'mobile'` to disable typing only on mobile, `'desktop'` to disable typing only on desktop."},{"name":"errors","type":"string | string[] | undefined","required":false,"description":"Error messages under the field, a string or array, in an `aria-live=\"polite\"` region and first in the control's `aria-describedby`, so they are re-read when it regains focus."},{"name":"firstDayOfWeek","type":"0 | 1 | 2 | 3 | 4 | 5 | 6 | undefined","required":false,"default":"the locale's week start","description":"First day of the week (0 = Sunday … 6 = Saturday). Omitted, the active locale's week start: Monday for `it`, `de`, `fr`, `en-gb`…, Sunday for bare `en` (US) and `pt` (Brazil). Ignored under `type=\"week\"`: ISO weeks run Monday to Sunday, so a week grid always starts on Monday."},{"name":"floating","type":"boolean | undefined","required":false,"default":"undefined","description":"If true the date will have a format YYYY-MM-DD instead of the default ISO string."},{"name":"formless","type":"boolean | undefined","required":false,"default":"false","description":"Keep this control out of the enclosing `BbForm` entirely: not submitted, not dirty, not reset, not validated. For a control that is not form data (a filter, a \"show advanced\" switch)."},{"name":"hasErrors","type":"boolean | undefined","required":false,"default":"false","description":"Define if the component should be in an error state. It usually attaches a CSS class for styling purposes."},{"name":"hasWarnings","type":"boolean | undefined","required":false,"default":"false","description":"Define if the component should be in a warning state. Same chrome as errors with `--bb-warn`; errors take priority."},{"name":"hideLabel","type":"boolean | undefined","required":false,"default":"false","description":"Visually hides the label of the input while maintaining accessibility. Pair it with a `placeholder`: an empty field otherwise shows nothing saying what it is for."},{"name":"hint","type":"string | undefined","required":false,"description":"Text box to be displayed near the input, usually to indicate instructions."},{"name":"id","type":"string | undefined","required":false,"description":"The `id` of the native control; the label's `for` and the description and message ids derive from it. Generated when omitted."},{"name":"inputAlign","type":"FieldCrossAlign | undefined","required":false,"values":["center","top","bottom"],"description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`."},{"name":"label","type":"string","required":true,"description":"Text content of the label of the element."},{"name":"labelAlign","type":"FieldCrossAlign | undefined","required":false,"values":["center","top","bottom"],"description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`."},{"name":"labelMode","type":"\"outside\" | \"floating\" | \"inside\" | undefined","required":false,"description":"Label rendering mode."},{"name":"labelPosition","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\" | undefined","required":false,"default":"'start'","description":"Text alignment of the label. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction."},{"name":"layout","type":"Responsive<FieldLayout> | undefined","required":false,"description":"How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`)."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Sets the component in a loading state, usually triggering some visual styles."},{"name":"max","type":"string | undefined","required":false,"description":"Maximum selectable date in `YYYY-MM-DD` format — or, with `type=\"datetime\"`, `YYYY-MM-DDTHH:mm` to tighten the boundary day to a minute. Values outside both patterns throw during setup to surface configuration mistakes. `type=\"week\"`: a week (`YYYY-Www`) or a date, whole weeks only."},{"name":"min","type":"string | undefined","required":false,"description":"Minimum selectable date in `YYYY-MM-DD` format — or, with `type=\"datetime\"`, `YYYY-MM-DDTHH:mm` to tighten the boundary day to a minute. Values outside both patterns throw during setup to surface configuration mistakes. `type=\"week\"`: a week (`YYYY-Www`) or a date, whole weeks only."},{"name":"modelValue","type":"string | string[] | null | undefined","required":false,"description":"Used by v-model. Can be null, a single string, or an array of strings based on whether a range or single date is needed."},{"name":"name","type":"string | undefined","required":false,"description":"Defines the name of the input."},{"name":"numberOfMonths","type":"number | undefined","required":false,"default":"1","description":"How many months the calendar popover shows side by side (day grids only); the phone sheet always shows one. Too narrow for them all, the months wrap."},{"name":"offCanvasProps","type":"Partial<BbOffCanvasProps> | undefined","required":false,"description":"Props for the phone sheet (the `BbOffCanvas` that `adaptive` renders on mobile), spread over its defaults. A `pt` inside it styles only the sheet (passthrough guide § Inside the sheet). The sheet hides its ✕; `{ hideClose: false }` brings it back."},{"name":"persistentHint","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the hint displayed."},{"name":"placeholder","type":"string | undefined","required":false,"description":"Text shown while the field is empty."},{"name":"prepend:icon","type":"string | undefined","required":false,"description":"Name of the icon to be added at the start of the input."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"activator\", \"panel\", \"sheet\", \"header\", \"arrow\", \"month\", \"year\", \"cellColumnHeader\", \"week\", \"weekNumber\", \"day\", \"dayButton\", \"monthItem\", \"yearItem\", \"item\"]; readonly states: readonly [\"hasValue\", \"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"active\", \"open\", \"highlighted\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly node: { readonly week: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly weekNumber: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly day: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly dayButton: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly monthItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly yearItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly month: readonly [\"active\"]; readonly year: readonly [\"active\"]; readonly item: readonly [\"selected\"]; }; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"datePickerInputVariants\"; readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"activator\"]; }; }> & { header?: PtValue | undefined; input?: PtValue | undefined; label?: PtValue | undefined; prefix?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined; panel?: PtValue | undefined; \"header:disabled\"?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; \"icon:open\"?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; spinner?: PtValue | undefined; clear?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"spinner:loading\"?: PtValue | undefined; \"clear:loading\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; item?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"spinner:disabled\"?: PtValue | undefined; arrow?: PtValue | undefined; month?: PtValue | undefined; year?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; week?: PtValue | undefined; weekNumber?: PtValue | undefined; day?: PtValue | undefined; dayButton?: PtValue | undefined; monthItem?: PtValue | undefined; yearItem?: PtValue | undefined; \"arrow:disabled\"?: PtValue | undefined; \"month:disabled\"?: PtValue | undefined; \"year:disabled\"?: PtValue | undefined; \"cellColumnHeader:disabled\"?: PtValue | undefined; \"week:disabled\"?: PtValue | undefined; \"weekNumber:disabled\"?: PtValue | undefined; \"day:disabled\"?: PtValue | undefined; \"dayButton:disabled\"?: PtValue | undefined; \"monthItem:disabled\"?: PtValue | undefined; \"yearItem:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"month:active\"?: PtValue | undefined; \"year:active\"?: PtValue | undefined; \"week:inRange\"?: PtValue | undefined; \"week:selected\"?: PtValue | undefined; \"week:rangeStart\"?: PtValue | undefined; \"week:rangeEnd\"?: PtValue | undefined; \"weekNumber:inRange\"?: PtValue | undefined; \"weekNumber:selected\"?: PtValue | undefined; \"weekNumber:rangeStart\"?: PtValue | undefined; \"weekNumber:rangeEnd\"?: PtValue | undefined; \"day:outside\"?: PtValue | undefined; \"day:today\"?: PtValue | undefined; \"day:inRange\"?: PtValue | undefined; \"day:selected\"?: PtValue | undefined; \"day:rangeStart\"?: PtValue | undefined; \"day:rangeEnd\"?: PtValue | undefined; \"day:highlighted\"?: PtValue | undefined; \"dayButton:outside\"?: PtValue | undefined; \"dayButton:today\"?: PtValue | undefined; \"dayButton:inRange\"?: PtValue | undefined; \"dayButton:selected\"?: PtValue | undefined; \"dayButton:rangeStart\"?: PtValue | undefined; \"dayButton:rangeEnd\"?: PtValue | undefined; \"dayButton:highlighted\"?: PtValue | undefined; \"monthItem:inRange\"?: PtValue | undefined; \"monthItem:selected\"?: PtValue | undefined; \"monthItem:rangeStart\"?: PtValue | undefined; \"monthItem:rangeEnd\"?: PtValue | undefined; \"monthItem:highlighted\"?: PtValue | undefined; \"yearItem:inRange\"?: PtValue | undefined; \"yearItem:selected\"?: PtValue | undefined; \"yearItem:rangeStart\"?: PtValue | undefined; \"yearItem:rangeEnd\"?: PtValue | undefined; \"yearItem:highlighted\"?: 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; \"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; box?: PtValue | undefined; suffix?: PtValue | undefined; sheet?: PtValue | undefined; \"input:disabled\"?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"input:loading\"?: PtValue | undefined; \"input:errors\"?: PtValue | undefined; \"input:warnings\"?: PtValue | undefined; \"input:readonly\"?: PtValue | undefined; \"input:hasValue\"?: PtValue | undefined; \"label:open\"?: PtValue | undefined; \"prefix:disabled\"?: PtValue | undefined; \"prefix:open\"?: PtValue | undefined; \"prefix:loading\"?: PtValue | undefined; \"prefix:errors\"?: PtValue | undefined; \"prefix:warnings\"?: PtValue | undefined; \"prefix:readonly\"?: PtValue | undefined; \"prefix:hasValue\"?: PtValue | undefined; \"panel:loading\"?: PtValue | undefined; \"panel:errors\"?: PtValue | undefined; \"panel:warnings\"?: PtValue | undefined; \"panel:readonly\"?: PtValue | undefined; \"panel:hasValue\"?: PtValue | undefined; \"spinner:open\"?: PtValue | undefined; \"spinner:errors\"?: PtValue | undefined; \"spinner:warnings\"?: PtValue | undefined; \"spinner:readonly\"?: PtValue | undefined; \"spinner:hasValue\"?: PtValue | undefined; \"clear:open\"?: PtValue | undefined; \"clear:errors\"?: PtValue | undefined; \"clear:warnings\"?: PtValue | undefined; \"clear:hasValue\"?: PtValue | undefined; \"description:open\"?: PtValue | undefined; \"message:open\"?: PtValue | undefined; \"hint:open\"?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:open\"?: 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:open\"?: PtValue | undefined; \"suffix:loading\"?: PtValue | undefined; \"suffix:errors\"?: PtValue | undefined; \"suffix:warnings\"?: PtValue | undefined; \"suffix:readonly\"?: PtValue | undefined; \"suffix:hasValue\"?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"sheet:loading\"?: PtValue | undefined; \"sheet:errors\"?: PtValue | undefined; \"sheet:warnings\"?: PtValue | undefined; \"sheet:readonly\"?: PtValue | undefined; \"sheet:hasValue\"?: PtValue | undefined; activator?: PtValue | undefined; \"item:open\"?: PtValue | undefined; \"arrow:open\"?: PtValue | undefined; \"month:open\"?: PtValue | undefined; \"year:open\"?: PtValue | undefined; \"cellColumnHeader:open\"?: PtValue | undefined; \"week:open\"?: PtValue | undefined; \"weekNumber:open\"?: PtValue | undefined; \"day:open\"?: PtValue | undefined; \"dayButton:open\"?: PtValue | undefined; \"monthItem:open\"?: PtValue | undefined; \"yearItem:open\"?: PtValue | undefined; \"header:loading\"?: PtValue | undefined; \"header:errors\"?: PtValue | undefined; \"header:warnings\"?: PtValue | undefined; \"header:readonly\"?: PtValue | undefined; \"header:hasValue\"?: PtValue | undefined; \"arrow:loading\"?: PtValue | undefined; \"arrow:errors\"?: PtValue | undefined; \"arrow:warnings\"?: PtValue | undefined; \"arrow:readonly\"?: PtValue | undefined; \"arrow:hasValue\"?: PtValue | undefined; \"month:loading\"?: PtValue | undefined; \"month:errors\"?: PtValue | undefined; \"month:warnings\"?: PtValue | undefined; \"month:readonly\"?: PtValue | undefined; \"month:hasValue\"?: PtValue | undefined; \"year:loading\"?: PtValue | undefined; \"year:errors\"?: PtValue | undefined; \"year:warnings\"?: PtValue | undefined; \"year:readonly\"?: PtValue | undefined; \"year:hasValue\"?: PtValue | undefined; \"cellColumnHeader:loading\"?: PtValue | undefined; \"cellColumnHeader:errors\"?: PtValue | undefined; \"cellColumnHeader:warnings\"?: PtValue | undefined; \"cellColumnHeader:readonly\"?: PtValue | undefined; \"cellColumnHeader:hasValue\"?: PtValue | undefined; \"week:loading\"?: PtValue | undefined; \"week:errors\"?: PtValue | undefined; \"week:warnings\"?: PtValue | undefined; \"week:readonly\"?: PtValue | undefined; \"week:hasValue\"?: PtValue | undefined; \"weekNumber:loading\"?: PtValue | undefined; \"weekNumber:errors\"?: PtValue | undefined; \"weekNumber:warnings\"?: PtValue | undefined; \"weekNumber:readonly\"?: PtValue | undefined; \"weekNumber:hasValue\"?: PtValue | undefined; \"day:loading\"?: PtValue | undefined; \"day:errors\"?: PtValue | undefined; \"day:warnings\"?: PtValue | undefined; \"day:readonly\"?: PtValue | undefined; \"day:hasValue\"?: PtValue | undefined; \"dayButton:loading\"?: PtValue | undefined; \"dayButton:errors\"?: PtValue | undefined; \"dayButton:warnings\"?: PtValue | undefined; \"dayButton:readonly\"?: PtValue | undefined; \"dayButton:hasValue\"?: PtValue | undefined; \"monthItem:loading\"?: PtValue | undefined; \"monthItem:errors\"?: PtValue | undefined; \"monthItem:warnings\"?: PtValue | undefined; \"monthItem:readonly\"?: PtValue | undefined; \"monthItem:hasValue\"?: PtValue | undefined; \"yearItem:loading\"?: PtValue | undefined; \"yearItem:errors\"?: PtValue | undefined; \"yearItem:warnings\"?: PtValue | undefined; \"yearItem:readonly\"?: PtValue | undefined; \"yearItem:hasValue\"?: PtValue | undefined; \"activator:disabled\"?: PtValue | undefined; \"activator:open\"?: PtValue | undefined; \"activator:loading\"?: PtValue | undefined; \"activator:errors\"?: PtValue | undefined; \"activator:warnings\"?: PtValue | undefined; \"activator:readonly\"?: PtValue | undefined; \"activator:hasValue\"?: 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; \"activator:outline\"?: PtValue | undefined; \"activator:secondary\"?: PtValue | undefined; \"activator:ghost\"?: PtValue | undefined; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:activator","type":"PtValue | undefined","required":false},{"name":"pt:activator:disabled","type":"PtValue | undefined","required":false},{"name":"pt:activator:errors","type":"PtValue | undefined","required":false},{"name":"pt:activator:ghost","type":"PtValue | undefined","required":false},{"name":"pt:activator:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:activator:loading","type":"PtValue | undefined","required":false},{"name":"pt:activator:open","type":"PtValue | undefined","required":false},{"name":"pt:activator:outline","type":"PtValue | undefined","required":false},{"name":"pt:activator:readonly","type":"PtValue | undefined","required":false},{"name":"pt:activator:secondary","type":"PtValue | undefined","required":false},{"name":"pt:activator:warnings","type":"PtValue | undefined","required":false},{"name":"pt:arrow","type":"PtValue | undefined","required":false},{"name":"pt:arrow:disabled","type":"PtValue | undefined","required":false},{"name":"pt:arrow:errors","type":"PtValue | undefined","required":false},{"name":"pt:arrow:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:arrow:loading","type":"PtValue | undefined","required":false},{"name":"pt:arrow:open","type":"PtValue | undefined","required":false},{"name":"pt:arrow:readonly","type":"PtValue | undefined","required":false},{"name":"pt:arrow:warnings","type":"PtValue | undefined","required":false},{"name":"pt:box","type":"PtValue | undefined","required":false},{"name":"pt:box:disabled","type":"PtValue | undefined","required":false},{"name":"pt:box:errors","type":"PtValue | undefined","required":false},{"name":"pt:box:ghost","type":"PtValue | undefined","required":false},{"name":"pt:box:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:box:loading","type":"PtValue | undefined","required":false},{"name":"pt:box:open","type":"PtValue | undefined","required":false},{"name":"pt:box:outline","type":"PtValue | undefined","required":false},{"name":"pt:box:readonly","type":"PtValue | undefined","required":false},{"name":"pt:box:secondary","type":"PtValue | undefined","required":false},{"name":"pt:box:warnings","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:disabled","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:errors","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:loading","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:open","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:readonly","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:warnings","type":"PtValue | undefined","required":false},{"name":"pt:clear","type":"PtValue | undefined","required":false},{"name":"pt:clear:errors","type":"PtValue | undefined","required":false},{"name":"pt:clear:ghost","type":"PtValue | undefined","required":false},{"name":"pt:clear:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:clear:loading","type":"PtValue | undefined","required":false},{"name":"pt:clear:open","type":"PtValue | undefined","required":false},{"name":"pt:clear:outline","type":"PtValue | undefined","required":false},{"name":"pt:clear:secondary","type":"PtValue | undefined","required":false},{"name":"pt:clear:warnings","type":"PtValue | undefined","required":false},{"name":"pt:day","type":"PtValue | undefined","required":false},{"name":"pt:day:disabled","type":"PtValue | undefined","required":false},{"name":"pt:day:errors","type":"PtValue | undefined","required":false},{"name":"pt:day:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:day:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:day:inRange","type":"PtValue | undefined","required":false},{"name":"pt:day:loading","type":"PtValue | undefined","required":false},{"name":"pt:day:open","type":"PtValue | undefined","required":false},{"name":"pt:day:outside","type":"PtValue | undefined","required":false},{"name":"pt:day:rangeEnd","type":"PtValue | undefined","required":false},{"name":"pt:day:rangeStart","type":"PtValue | undefined","required":false},{"name":"pt:day:readonly","type":"PtValue | undefined","required":false},{"name":"pt:day:selected","type":"PtValue | undefined","required":false},{"name":"pt:day:today","type":"PtValue | undefined","required":false},{"name":"pt:day:warnings","type":"PtValue | undefined","required":false},{"name":"pt:dayButton","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:disabled","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:errors","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:inRange","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:loading","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:open","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:outside","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:rangeEnd","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:rangeStart","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:readonly","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:selected","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:today","type":"PtValue | undefined","required":false},{"name":"pt:dayButton:warnings","type":"PtValue | undefined","required":false},{"name":"pt:description","type":"PtValue | undefined","required":false},{"name":"pt:description:disabled","type":"PtValue | undefined","required":false},{"name":"pt:description:errors","type":"PtValue | undefined","required":false},{"name":"pt:description:ghost","type":"PtValue | undefined","required":false},{"name":"pt:description:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:description:loading","type":"PtValue | undefined","required":false},{"name":"pt:description:open","type":"PtValue | undefined","required":false},{"name":"pt:description:outline","type":"PtValue | undefined","required":false},{"name":"pt:description:readonly","type":"PtValue | undefined","required":false},{"name":"pt:description:secondary","type":"PtValue | undefined","required":false},{"name":"pt:description:warnings","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:disabled","type":"PtValue | undefined","required":false},{"name":"pt:header:errors","type":"PtValue | undefined","required":false},{"name":"pt:header:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:header:loading","type":"PtValue | undefined","required":false},{"name":"pt:header:open","type":"PtValue | undefined","required":false},{"name":"pt:header:readonly","type":"PtValue | undefined","required":false},{"name":"pt:header:warnings","type":"PtValue | undefined","required":false},{"name":"pt:hint","type":"PtValue | undefined","required":false},{"name":"pt:hint:disabled","type":"PtValue | undefined","required":false},{"name":"pt:hint:errors","type":"PtValue | undefined","required":false},{"name":"pt:hint:ghost","type":"PtValue | undefined","required":false},{"name":"pt:hint:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:hint:loading","type":"PtValue | undefined","required":false},{"name":"pt:hint:open","type":"PtValue | undefined","required":false},{"name":"pt:hint:outline","type":"PtValue | undefined","required":false},{"name":"pt:hint:readonly","type":"PtValue | undefined","required":false},{"name":"pt:hint:secondary","type":"PtValue | undefined","required":false},{"name":"pt:hint:warnings","type":"PtValue | undefined","required":false},{"name":"pt:icon","type":"PtValue | undefined","required":false},{"name":"pt:icon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:icon:errors","type":"PtValue | undefined","required":false},{"name":"pt:icon:ghost","type":"PtValue | undefined","required":false},{"name":"pt:icon:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:icon:loading","type":"PtValue | undefined","required":false},{"name":"pt:icon:open","type":"PtValue | undefined","required":false},{"name":"pt:icon:outline","type":"PtValue | undefined","required":false},{"name":"pt:icon:readonly","type":"PtValue | undefined","required":false},{"name":"pt:icon:secondary","type":"PtValue | undefined","required":false},{"name":"pt:icon:warnings","type":"PtValue | undefined","required":false},{"name":"pt:input","type":"PtValue | undefined","required":false},{"name":"pt:input:disabled","type":"PtValue | undefined","required":false},{"name":"pt:input:errors","type":"PtValue | undefined","required":false},{"name":"pt:input:ghost","type":"PtValue | undefined","required":false},{"name":"pt:input:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:input:loading","type":"PtValue | undefined","required":false},{"name":"pt:input:open","type":"PtValue | undefined","required":false},{"name":"pt:input:outline","type":"PtValue | undefined","required":false},{"name":"pt:input:readonly","type":"PtValue | undefined","required":false},{"name":"pt:input:secondary","type":"PtValue | undefined","required":false},{"name":"pt:input:warnings","type":"PtValue | undefined","required":false},{"name":"pt:item","type":"PtValue | undefined","required":false},{"name":"pt:item:disabled","type":"PtValue | undefined","required":false},{"name":"pt:item:errors","type":"PtValue | undefined","required":false},{"name":"pt:item:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:item:loading","type":"PtValue | undefined","required":false},{"name":"pt:item:open","type":"PtValue | undefined","required":false},{"name":"pt:item:readonly","type":"PtValue | undefined","required":false},{"name":"pt:item:selected","type":"PtValue | undefined","required":false},{"name":"pt:item:warnings","type":"PtValue | undefined","required":false},{"name":"pt:label","type":"PtValue | undefined","required":false},{"name":"pt:label:disabled","type":"PtValue | undefined","required":false},{"name":"pt:label:errors","type":"PtValue | undefined","required":false},{"name":"pt:label:ghost","type":"PtValue | undefined","required":false},{"name":"pt:label:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:label:loading","type":"PtValue | undefined","required":false},{"name":"pt:label:open","type":"PtValue | undefined","required":false},{"name":"pt:label:outline","type":"PtValue | undefined","required":false},{"name":"pt:label:readonly","type":"PtValue | undefined","required":false},{"name":"pt:label:secondary","type":"PtValue | undefined","required":false},{"name":"pt:label:warnings","type":"PtValue | undefined","required":false},{"name":"pt:message","type":"PtValue | undefined","required":false},{"name":"pt:message:disabled","type":"PtValue | undefined","required":false},{"name":"pt:message:errors","type":"PtValue | undefined","required":false},{"name":"pt:message:ghost","type":"PtValue | undefined","required":false},{"name":"pt:message:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:message:loading","type":"PtValue | undefined","required":false},{"name":"pt:message:open","type":"PtValue | undefined","required":false},{"name":"pt:message:outline","type":"PtValue | undefined","required":false},{"name":"pt:message:readonly","type":"PtValue | undefined","required":false},{"name":"pt:message:secondary","type":"PtValue | undefined","required":false},{"name":"pt:message:warnings","type":"PtValue | undefined","required":false},{"name":"pt:month","type":"PtValue | undefined","required":false},{"name":"pt:month:active","type":"PtValue | undefined","required":false},{"name":"pt:month:disabled","type":"PtValue | undefined","required":false},{"name":"pt:month:errors","type":"PtValue | undefined","required":false},{"name":"pt:month:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:month:loading","type":"PtValue | undefined","required":false},{"name":"pt:month:open","type":"PtValue | undefined","required":false},{"name":"pt:month:readonly","type":"PtValue | undefined","required":false},{"name":"pt:month:warnings","type":"PtValue | undefined","required":false},{"name":"pt:monthItem","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:disabled","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:errors","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:inRange","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:loading","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:open","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:rangeEnd","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:rangeStart","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:readonly","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:selected","type":"PtValue | undefined","required":false},{"name":"pt:monthItem:warnings","type":"PtValue | undefined","required":false},{"name":"pt:panel","type":"PtValue | undefined","required":false},{"name":"pt:panel:disabled","type":"PtValue | undefined","required":false},{"name":"pt:panel:errors","type":"PtValue | undefined","required":false},{"name":"pt:panel:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:panel:loading","type":"PtValue | undefined","required":false},{"name":"pt:panel:open","type":"PtValue | undefined","required":false},{"name":"pt:panel:readonly","type":"PtValue | undefined","required":false},{"name":"pt:panel:warnings","type":"PtValue | undefined","required":false},{"name":"pt:prefix","type":"PtValue | undefined","required":false},{"name":"pt:prefix:disabled","type":"PtValue | undefined","required":false},{"name":"pt:prefix:errors","type":"PtValue | undefined","required":false},{"name":"pt:prefix:ghost","type":"PtValue | undefined","required":false},{"name":"pt:prefix:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:prefix:loading","type":"PtValue | undefined","required":false},{"name":"pt:prefix:open","type":"PtValue | undefined","required":false},{"name":"pt:prefix:outline","type":"PtValue | undefined","required":false},{"name":"pt:prefix:readonly","type":"PtValue | undefined","required":false},{"name":"pt:prefix:secondary","type":"PtValue | undefined","required":false},{"name":"pt:prefix:warnings","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:disabled","type":"PtValue | undefined","required":false},{"name":"pt:root:errors","type":"PtValue | undefined","required":false},{"name":"pt:root:ghost","type":"PtValue | undefined","required":false},{"name":"pt:root:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:root:loading","type":"PtValue | undefined","required":false},{"name":"pt:root:open","type":"PtValue | undefined","required":false},{"name":"pt:root:outline","type":"PtValue | undefined","required":false},{"name":"pt:root:readonly","type":"PtValue | undefined","required":false},{"name":"pt:root:secondary","type":"PtValue | undefined","required":false},{"name":"pt:root:warnings","type":"PtValue | undefined","required":false},{"name":"pt:sheet","type":"PtValue | undefined","required":false},{"name":"pt:sheet:disabled","type":"PtValue | undefined","required":false},{"name":"pt:sheet:errors","type":"PtValue | undefined","required":false},{"name":"pt:sheet:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:sheet:loading","type":"PtValue | undefined","required":false},{"name":"pt:sheet:open","type":"PtValue | undefined","required":false},{"name":"pt:sheet:readonly","type":"PtValue | undefined","required":false},{"name":"pt:sheet:warnings","type":"PtValue | undefined","required":false},{"name":"pt:spinner","type":"PtValue | undefined","required":false},{"name":"pt:spinner:disabled","type":"PtValue | undefined","required":false},{"name":"pt:spinner:errors","type":"PtValue | undefined","required":false},{"name":"pt:spinner:ghost","type":"PtValue | undefined","required":false},{"name":"pt:spinner:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:spinner:loading","type":"PtValue | undefined","required":false},{"name":"pt:spinner:open","type":"PtValue | undefined","required":false},{"name":"pt:spinner:outline","type":"PtValue | undefined","required":false},{"name":"pt:spinner:readonly","type":"PtValue | undefined","required":false},{"name":"pt:spinner:secondary","type":"PtValue | undefined","required":false},{"name":"pt:spinner:warnings","type":"PtValue | undefined","required":false},{"name":"pt:suffix","type":"PtValue | undefined","required":false},{"name":"pt:suffix:disabled","type":"PtValue | undefined","required":false},{"name":"pt:suffix:errors","type":"PtValue | undefined","required":false},{"name":"pt:suffix:ghost","type":"PtValue | undefined","required":false},{"name":"pt:suffix:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:suffix:loading","type":"PtValue | undefined","required":false},{"name":"pt:suffix:open","type":"PtValue | undefined","required":false},{"name":"pt:suffix:outline","type":"PtValue | undefined","required":false},{"name":"pt:suffix:readonly","type":"PtValue | undefined","required":false},{"name":"pt:suffix:secondary","type":"PtValue | undefined","required":false},{"name":"pt:suffix:warnings","type":"PtValue | undefined","required":false},{"name":"pt:week","type":"PtValue | undefined","required":false},{"name":"pt:week:disabled","type":"PtValue | undefined","required":false},{"name":"pt:week:errors","type":"PtValue | undefined","required":false},{"name":"pt:week:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:week:inRange","type":"PtValue | undefined","required":false},{"name":"pt:week:loading","type":"PtValue | undefined","required":false},{"name":"pt:week:open","type":"PtValue | undefined","required":false},{"name":"pt:week:rangeEnd","type":"PtValue | undefined","required":false},{"name":"pt:week:rangeStart","type":"PtValue | undefined","required":false},{"name":"pt:week:readonly","type":"PtValue | undefined","required":false},{"name":"pt:week:selected","type":"PtValue | undefined","required":false},{"name":"pt:week:warnings","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:disabled","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:errors","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:inRange","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:loading","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:open","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:rangeEnd","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:rangeStart","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:readonly","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:selected","type":"PtValue | undefined","required":false},{"name":"pt:weekNumber:warnings","type":"PtValue | undefined","required":false},{"name":"pt:year","type":"PtValue | undefined","required":false},{"name":"pt:year:active","type":"PtValue | undefined","required":false},{"name":"pt:year:disabled","type":"PtValue | undefined","required":false},{"name":"pt:year:errors","type":"PtValue | undefined","required":false},{"name":"pt:year:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:year:loading","type":"PtValue | undefined","required":false},{"name":"pt:year:open","type":"PtValue | undefined","required":false},{"name":"pt:year:readonly","type":"PtValue | undefined","required":false},{"name":"pt:year:warnings","type":"PtValue | undefined","required":false},{"name":"pt:yearItem","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:disabled","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:errors","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:inRange","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:loading","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:open","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:rangeEnd","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:rangeStart","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:readonly","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:selected","type":"PtValue | undefined","required":false},{"name":"pt:yearItem:warnings","type":"PtValue | undefined","required":false},{"name":"range","type":"boolean","required":false,"description":"Selects a range of dates between two dates. It selects all of the days between start and end.","default":"false"},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Sets the input in a readonly state."},{"name":"required","type":"boolean | undefined","required":false,"default":"false","description":"Sets the input as required."},{"name":"reverse","type":"boolean | undefined","required":false,"default":"undefined","description":"Reverses the layout. Applicable in every direction the order of the label and the input is swapped."},{"name":"rules","type":"RuleExpression<string | string[] | null>","required":false,"description":"vee-validate rules for this field. Only inside a `BbForm`."},{"name":"seconds","type":"boolean | undefined","required":false,"default":"false","description":"Adds the seconds segment (requires `type=\"datetime\"`). Without it, an incoming value carrying seconds displays truncated and is left untouched until the user commits an edit, at which point seconds zero out."},{"name":"selectable","type":"((date: string) => boolean) | undefined","required":false,"description":"Function that accepts a `string` object and returns a boolean. `false` meaning the date cannot be selected. Under `type=\"week\"` it receives the week value (`2026-W44`)."},{"name":"step","type":"number | undefined","required":false,"default":"1","description":"Minute granularity for the calendar's minute column and arrow stepping (requires `type=\"datetime\"`). Constrains what the component produces, never what it accepts: a typed off-grid value (e.g. `10:07` with `step: 15`) is emitted verbatim, and no column row highlights for it."},{"name":"time","type":"string | string[] | null | undefined","required":false,"description":"`v-model:time`: the time part, always 24-hour `HH:mm` / `HH:mm:ss`. With `floating` it is the only carrier of the time; otherwise it mirrors `modelValue`'s, and writing it rewrites that. Requires `type=\"datetime\"`."},{"name":"transitionDuration","type":"number | undefined","required":false,"description":"Transition duration, in milliseconds, for the popover appearance."},{"name":"type","type":"DatePickerType | undefined","required":false,"default":"\"date\"","values":["date","month","year","week","datetime"],"description":"What the field edits, so its segments and emitted shape: `date` (`DD/MM/YYYY`), `datetime` (adds the time segments and rail), `week` (`W44 2026`, emits `2026-W44`), `month` (`MM/YYYY`, emits `YYYY-MM`) or `year` (`YYYY`). The last three force `floating` and ignore `utc` and the time props."},{"name":"utc","type":"boolean | undefined","required":false,"default":"false","description":"Emits UTC ISO strings (`…Z`) instead of the local offset (`…+01:00`). Emission only: incoming values parse the same either way, and the field always displays local time. Ignored with `floating`."},{"name":"validationLabel","type":"string | undefined","required":false,"description":"The field's name in validation messages (`{field}`): \"Email is not valid\". Defaults to the `label` (or `legend`), then \"This field\"; never the `name`. Set it when the label is hidden or reads badly in a sentence (icon-only, a question). `BbForm` only."},{"name":"validationMode","type":"ValidationMode | undefined","required":false,"values":["aggressive","balanced","lazy","submit-only","submit-live"],"description":"When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `all.validationMode` (`'balanced'`). `BbForm` only."},{"name":"variant","type":"InputVariantOf<DatePickerInputVariantRegistry> | undefined","required":false,"default":"'outline'","values":["outline","secondary","none","ghost"],"description":"The field box's look, with `BbButton`'s names and tokens. Colours only, so a form never reflows; `'ghost'` has no border in any state, `'none'` no look at all (you own hover, focus and the states). Register more with the plugin's `components.BbDatePickerInput.variants`."},{"name":"warnings","type":"string | string[] | undefined","required":false,"description":"Warning messages under the field, a string or array: amber, in their own `aria-live` region and in the control's `aria-describedby` after the errors. Non-empty turns on the warning state; errors win when both are set."}],"events":[{"name":"active","signature":"(): void","description":"Emitted when the composite control receives focus (first focusin after being inactive)."},{"name":"error","signature":"(error: DatePickerInputError): void","description":"Emitted alongside every value normalization or removal when the typed date is invalid or out of range. See `DatePickerInputError` for the full code map and payload shapes."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when a native text field inside the control gains focus. Forwards the original DOM `FocusEvent`."},{"name":"hidden","signature":"(): void","description":"Emitted once the calendar surface has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the calendar surface starts to close."},{"name":"inactive","signature":"(): void","description":"Emitted when focus/click moves outside the entire composite control."},{"name":"show","signature":"(): void","description":"Emitted as soon as the calendar surface starts to open (the popover, or the sheet on a phone)."},{"name":"shown","signature":"(): void","description":"Emitted once the calendar surface is open and its open transition has finished."},{"name":"update:modelValue","signature":"(value: string | string[] | null): void","description":"Emitted whenever the selected date value changes. Payload is `null` for cleared values, a single string for single-date mode, or a two-element array for range mode."},{"name":"update:time","signature":"(value: string | string[] | null): void","description":"Companion time model (`v-model:time`), emitted alongside every value change while `type=\"datetime\"` is on. Always 24-hour `HH:mm` (or `HH:mm:ss` with `seconds`); `null` when cleared, an array in range mode."}],"slots":[{"name":"append","type":"object","description":"Content rendered after the date fields, at the end of the field box (before the calendar toggle button)."},{"name":"append:outer","type":"object","description":"Content rendered after the entire date picker control, outside the input chrome."},{"name":"day","type":"{ first: boolean; item: string; label: string; last: boolean; middle: boolean; outside: boolean; selected: boolean; }","description":"Replaces the day button label inside each calendar day."},{"name":"day:append","type":"{ first: boolean; item: string; label: string; last: boolean; middle: boolean; outside: boolean; selected: boolean; }","description":"Appends content below each calendar day."},{"name":"description","type":"BbDatePickerInputDescriptionSlotProps","fields":["text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the description text. Provided alone (no `description` prop) it still renders the description region and wires it into `aria-describedby`."},{"name":"label","type":"BbDatePickerInputLabelSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default label text rendered above the date picker."},{"name":"prefix","type":"object","description":"Inline content rendered at the start of the input field area, before the date fields."},{"name":"prepend","type":"object","description":"Content rendered before the date fields, at the start of the field box."},{"name":"prepend:outer","type":"object","description":"Content rendered before the entire date picker control, outside the input chrome."},{"name":"suffix","type":"object","description":"Inline content rendered at the end of the input field area, after the date fields."},{"name":"<YYYY-MM-DD>","type":"BbCalendarDaySlotProps","description":"One date's button label (e.g. `#2024-03-15`: the local `YYYY-MM-DD`, which `slotKey` leaves as it is); beats `day`. Day grid only.","dynamic":true},{"name":"<YYYY-MM-DD>:append","type":"BbCalendarDaySlotProps","description":"Content under one date's cell; beats `day:append`.","dynamic":true}],"exposed":[],"models":[{"name":"modelValue","type":"string | string[] | null | undefined"},{"name":"time","type":"string | string[] | null | undefined"}],"cssProps":[{"name":"--border-color","value":"per variant","selector":"pt:box","description":"The resting border, at the fixed --bb-border-w. Errors and warnings paint their frame over it, so `pt:box=\"[--border-color:…]\"` recolours the rest without hiding the state; a plain `border-*` utility on the base pt:box would hide it (ESLint `no-box-border-color`)."},{"name":"--ph","value":"var(--bb-text-muted)","selector":"pt:box","description":"Placeholder colour, one local for every field: the native `::placeholder`, BbSelect's activator text and the picker inputs' empty segments. Set it through `pt:box=\"[--ph:…]\"`; app-wide, the same entry in the global pt map."}],"pt":{"parts":[{"name":"root","description":"The field's outer container: the label, the box and the lines under it."},{"name":"label","description":"The label text above the box (the `label` prop)."},{"name":"description","description":"The muted line under the label (the `description` prop)."},{"name":"message","description":"The errors / warnings line under the box. A node of its own: it can show at the same time as `hint`."},{"name":"hint","description":"The helper line (the `hint` prop), shown on focus, or always with `persistent-hint`."},{"name":"box","description":"The bordered box around the input — border, background and radius; the `variant` paints here."},{"name":"input","description":"Every segment field (day, month, year, and the time fields) — a broadcast."},{"name":"icon","description":"The content icons, prepend and append — a broadcast. Chrome (the clear ✕, a chevron, the error / warning glyph) is never in it."},{"name":"spinner","description":"The spinner inside the box while `loading`."},{"name":"prefix","description":"The `#prefix` slot's wrapper, inside the box before the input."},{"name":"suffix","description":"The `#suffix` slot's wrapper, inside the box after the input."},{"name":"clear","description":"The ✕ that empties this control (`clearable`) — one node, never a chip's own ✕."},{"name":"activator","description":"The button in the box that opens the calendar. Merged after the picker's own activator props and handlers, so a listener of yours runs after ours. Its glyph is not a part."},{"name":"panel","description":"The calendar surface — the popover's painted bubble on desktop, the sheet itself on a phone. It carries the calendar's sizing tokens (`pt:panel=\"[--cell:36px]\"`)."},{"name":"sheet","description":"The bottom sheet around the calendar on a phone only."},{"name":"header","description":"The navigation bar: the previous / next arrows and the month / year headings. With `number-of-months`, every month's header row (the later ones caption their month)."},{"name":"arrow","description":"The previous / next buttons — a broadcast."},{"name":"month","description":"The month heading button; it opens the month panel."},{"name":"year","description":"The year heading button; it opens the year panel."},{"name":"cellColumnHeader","description":"Each weekday letter above the grid — a broadcast."},{"name":"week","description":"One row of seven days with `type=\"week\"` — the band a picked week paints and the hover outline. A broadcast resolved per row."},{"name":"weekNumber","description":"The ISO week number heading each row with `type=\"week\"` — a broadcast resolved per row."},{"name":"day","description":"One whole day cell — a broadcast resolved per day. A background here paints the full cell square; restyle the round mark on `dayButton`."},{"name":"dayButton","description":"The button inside a day cell — the mark that shows selection. A broadcast resolved per day."},{"name":"monthItem","description":"One month button of the month panel (the home grid of `type=\"month\"`) — a broadcast resolved per month."},{"name":"yearItem","description":"One year button of the year list — a broadcast resolved per year."},{"name":"item","description":"One entry of the time rail's columns (hour, minute, second, AM / PM) with `type=\"datetime\"` — a broadcast resolved per entry, as on `BbTimePicker`. With the rail, `header` also lands on its readout and `cellColumnHeader` on its column letters (`HH`, `MM`)."}],"states":[{"name":"hasValue","description":"Component-wide: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`)."},{"name":"outside","description":"Per node, on `day` / `dayButton`: a day of the previous or next month, shown to fill the grid."},{"name":"today","description":"Per node, on `day` / `dayButton`: today."},{"name":"inRange","description":"Per node, on the cells (`day`, `dayButton`, `monthItem`, `yearItem`) and the week rows (`week`, `weekNumber`): inside a committed range, between its ends."},{"name":"selected","description":"Per node, on the cells: a chosen day, month or year; on `week` / `weekNumber`, a chosen week (a range's ends too, as on its days); on `item`, the picked time's entry in each column."},{"name":"rangeStart","description":"Per node, on the cells and the week rows: a committed range's first day, week, month or year."},{"name":"rangeEnd","description":"Per node, on the cells and the week rows: a committed range's last day, week, month or year."},{"name":"readonly","description":"Component-wide: the control is `readonly` — shown, focusable, not editable."},{"name":"disabled","description":"Component-wide while the input is `disabled`. Also per node, on the calendar's cells: one outside `min` / `max` or refused by `selectable`; on `arrow`, at a bound or while the month / year panel is open."},{"name":"warnings","description":"Component-wide: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together."},{"name":"errors","description":"Component-wide: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red."},{"name":"active","description":"Per node, on `month` / `year`: its panel is open."},{"name":"open","description":"Component-wide: the calendar is showing — `pt:activator:open` styles the trigger while it is."},{"name":"highlighted","description":"Per node, on the cells: the keyboard cursor."},{"name":"loading","description":"Component-wide: `loading` is on; the box shows its `spinner`."},{"name":"ghost","description":"On the field's parts: `variant: 'ghost'`. Below the real states, like every variant."},{"name":"outline","description":"On the field's parts: `variant: 'outline'`. Merged after the part's base entry and before its states, so the real states still win."},{"name":"secondary","description":"On the field's parts: `variant: 'secondary'`. Below the real states, like every variant."}]},"tree":{"bindings":[{"part":"controlAttrs","target":"input.bb-segmented-field__input"},{"part":"input","target":"input.bb-segmented-field__input"},{"part":"activator","target":"button.bb-segmented-field__activator"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"forwards":[{"to":"BbDatePicker","mapping":"passthrough.forward(PICKER_PARTS, BB_DATE_PICKER_PT.states)"}],"nodes":[{"name":"BbDatePicker","kind":"public"},{"name":"BbIcon","kind":"public"},{"name":"CommonField","kind":"internal","vocabulary":"BbDatePickerInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbDatePickerInput","bindings":[{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"icon","target":"BbIcon"},{"part":"clear","target":"ClearableButton"},{"part":"spinner","target":"BbSpinner"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"cssProps":[{"name":"--bg","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--bg-hover","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-disabled","documented":true,"readBy":["bb-field-input__box"]},{"name":"--fg-disabled","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix","bb-field-input__prepend-icon","bb-field-input__append-icon"]},{"name":"--border-color","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--border-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-size","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-color","documented":true,"readBy":["bb-field-input__box"]},{"name":"--elev","documented":true,"readBy":["bb-field-input__box"]},{"name":"--frost","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ph","documented":true},{"name":"--inside-label-clearance","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix"]},{"name":"--ring-t","documented":false,"readBy":["bb-field-input__box"]}],"children":[{"name":"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"}]}]}]},"css":{"classes":{"bb-date-picker-input":["","__accessible-description","__field","__field--range"],"bb-segmented-field":["__activator","__activator--active","__field-sizer","__fields","__fields--empty","__fields--range","__input","__input--*","__placeholder","__run","__run--*","__separator","__separator--range","__trigger-icon","__week-prefix"]},"locals":["--color-gray-200","--fields-min-ch","--ph","--trigger-btn-h"],"surface":{"stable":[{"class":"bb-date-picker-input","tag":"CommonField","part":"root"}],"internal":[{"class":"bb-date-picker-input__accessible-description","tag":"span"},{"class":"bb-date-picker-input__field","tag":"CommonFieldInput"},{"class":"bb-date-picker-input__field--range","tag":"CommonFieldInput"},{"class":"bb-segmented-field__activator","tag":"button","reads":["--trigger-btn-h"]},{"class":"bb-segmented-field__activator--active"},{"class":"bb-segmented-field__field-sizer","tag":"span"},{"class":"bb-segmented-field__fields","tag":"div"},{"class":"bb-segmented-field__fields--empty","tag":"div"},{"class":"bb-segmented-field__fields--range","tag":"div"},{"class":"bb-segmented-field__input","tag":"input"},{"class":"bb-segmented-field__placeholder","tag":"span"},{"class":"bb-segmented-field__run","tag":"span"},{"class":"bb-segmented-field__separator","tag":"span"},{"class":"bb-segmented-field__separator--range","tag":"span"},{"class":"bb-segmented-field__trigger-icon","tag":"BbIcon"},{"class":"bb-segmented-field__week-prefix","tag":"span"}],"via":[{"part":"icon","component":"BbIcon"},{"part":"spinner","component":"BbSpinner"}],"lands":[{"part":"description","target":"span.bb-field__description"},{"part":"message","target":"div.bb-field__message"},{"part":"hint","target":"span.bb-field__hint"},{"part":"box","target":"span.bb-field-input__box"},{"part":"input","target":"input.bb-segmented-field__input"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"suffix","target":"span.bb-field-input__suffix"},{"part":"clear","target":"ClearableButton"},{"part":"activator","target":"button.bb-segmented-field__activator"}],"unaligned":{"parts":["label","panel","sheet","header","arrow","month","year","cellColumnHeader","week","weekNumber","day","dayButton","monthItem","yearItem","item"],"states":["hasValue","outside","today","inRange","selected","rangeStart","rangeEnd","readonly","disabled","warnings","errors","active","open","highlighted","loading","ghost","outline","secondary"]}}},"attrTargets":["div","input"],"config":"labelMode*, validationMode*, autocomplete*, compact*, layout*, reverse*, adaptive*, floating, variants","removed":[{"name":"allowWriting","new":"disableWriting","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-date-picker-input.md","silent":true,"fix":{"kind":"invert","valueMap":{"not-mobile":"mobile"}}},{"name":"datetime","new":"type","since":"3.0.0-alpha.5","migration":"ai/guides/migration/components/bb-date-picker-input.md","silent":true,"fix":{"kind":"manual"}},{"name":"hidePopover","new":"disableCalendar","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-date-picker-input.md","silent":true,"fix":{"kind":"rename","valueMap":{"not-mobile":"desktop"}}},{"name":"width","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-date-picker-input.md","silent":true,"fix":{"kind":"manual"}},{"name":"hasWarning","new":"hasWarnings","since":"3.0.0-beta.26","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"direction","new":"layout","since":"3.0.0-beta.33","migration":"ai/guides/migration/components/bb-date-picker-input.md","silent":true,"fix":{"kind":"rename"}},{"name":"pt:columnHeader","new":"pt:cellColumnHeader","surface":"pt","since":"3.0.0-beta.36","migration":"ai/guides/migration/v3-beta-css-classes.md","silent":true,"fix":{"kind":"rename"}},{"name":"prepend-outer","new":"prepend:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"append-outer","new":"append:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"vid","new":null,"hint":"a display name (v2: `vid=\"Email address\"`) is now `validation-label`; a field path (3.0 betas: `vid=\"address.city\"`) is now `name` (brackets for a native post: `address[city]`). `check --fix` picks by the value","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"byValue","display":"validationLabel","key":"name"}},{"name":"validateOn","new":"validationMode","hint":"an array of events became one mode (`aggressive` | `balanced` | `lazy` | `submit-only` | `submit-live`). The old defaults (`['blur']`, `['inactive']`, a toggle's `['update:modelValue', 'change', 'blur']`) are `balanced`, the new default: delete the prop. A text field on `['update:modelValue']` is `validation-mode=\"aggressive\"`. Set it once on `<BbForm validation-mode>` instead of per field","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"manual"}},{"name":"append:day","new":"day:append","surface":"slot","migration":"ai/guides/migration/components/bb-date-picker-input.md","silent":true,"fix":{"kind":"rename"}},{"name":"append:<x>","new":"<x>:append","surface":"slot","migration":"ai/guides/migration/components/bb-date-picker-input.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"allowWriting","to":"disableWriting","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-date-picker-input.md","fix":{"kind":"invert","valueMap":{"not-mobile":"mobile"}}},{"from":"datetime","to":"type","since":"3.0.0-alpha.5","migration":"ai/guides/migration/components/bb-date-picker-input.md","fix":{"kind":"manual"}},{"from":"hidePopover","to":"disableCalendar","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-date-picker-input.md","fix":{"kind":"rename","valueMap":{"not-mobile":"desktop"}}},{"from":"hasWarning","to":"hasWarnings","since":"3.0.0-beta.26","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"direction","to":"layout","since":"3.0.0-beta.33","migration":"ai/guides/migration/components/bb-date-picker-input.md","fix":{"kind":"rename"}},{"from":"pt:columnHeader","to":"pt:cellColumnHeader","surface":"pt","since":"3.0.0-beta.36","migration":"ai/guides/migration/v3-beta-css-classes.md","fix":{"kind":"rename"}},{"from":"prepend-outer","to":"prepend:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"append-outer","to":"append:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"validateOn","to":"validationMode","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"manual"},"hint":"an array of events became one mode (`aggressive` | `balanced` | `lazy` | `submit-only` | `submit-live`). The old defaults (`['blur']`, `['inactive']`, a toggle's `['update:modelValue', 'change', 'blur']`) are `balanced`, the new default: delete the prop. A text field on `['update:modelValue']` is `validation-mode=\"aggressive\"`. Set it once on `<BbForm validation-mode>` instead of per field"},{"from":"append:day","to":"day:append","surface":"slot","migration":"ai/guides/migration/components/bb-date-picker-input.md","fix":{"kind":"rename"}},{"from":"append:<x>","to":"<x>:append","surface":"slot","migration":"ai/guides/migration/components/bb-date-picker-input.md","fix":{"kind":"rename"}}]},
|
|
399
399
|
{"name":"BbDialog","group":"Overlay","description":"Presents modal dialogs; also the v-bb-dialog directive.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbDialog.md","source":"ai/source/BbDialog.md","props":[{"name":"actions","type":"false | readonly ActionButtonConfig[] | undefined","required":false,"default":"undefined","description":"Footer buttons replacing `ok` / `cancel`, in order: each runs its `onClick`, then completes the dialog with `data`. `false`: none."},{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"On mobile, renders as a `BbOffCanvas` drawer instead of a centred dialog; the surface is chosen when the dialog opens and kept until it closes. Unset: the global `all.adaptive`."},{"name":"cancel","type":"BbAction | undefined","required":false,"description":"The dismiss button, before `ok`: `true` (the locale's Cancel), a label, or a button config. Clicked: its `onClick`, then the dialog closes as a dismissal (`reason: 'close'`). Unset: no button."},{"name":"defaultData","type":"Record<string, any> | undefined","required":false,"description":"What `data` is when an opening passes none (a create): an object, copied at once, so inputs bind `data.x` with no guard. An opening's data lays over it (`{ ...defaultData, ...row }`, one level). `reset()` restores its keys but keeps an edit's `id`; a close restores it."},{"name":"description","type":"string | undefined","required":false,"description":"One short line under the title, muted (the shadcn `DialogDescription` shape), and the only element `aria-describedby` points at. Keep it to a sentence; anything longer belongs in the body."},{"name":"eager","type":"boolean | undefined","required":false,"default":"false","description":"Keep the body mounted while closed, from before the first opening. Without it the body mounts per opening and unmounts after `@hidden`. `data` still clears while closed, so an eager body guards its reads."},{"name":"focusTarget","type":"string | undefined","required":false,"description":"CSS selector of the element to focus after opening. Defaults to the first tabbable element."},{"name":"fullscreen","type":"boolean | \"mobile\" | undefined","required":false,"default":"undefined","description":"Display the dialog fullscreen. Use `'mobile'` to restrict fullscreen to small devices."},{"name":"hideClose","type":"boolean | undefined","required":false,"default":"false","description":"Hide the default close (×) button. The button is shown by default; set this to remove it (e.g. for a `persistent` dialog you don't want dismissible — the × otherwise still closes a persistent dialog)."},{"name":"id","type":"string | undefined","required":false,"description":"Names the dialog for `v-bb-dialog=\"'edit'\"` and `useBbDialog`, found nearest to the trigger, so two pages may reuse an id. Also the DOM `id`: one dialog per id, rows pass `data`."},{"name":"modelValue","type":"boolean | undefined","required":false,"default":"false","description":"Used by v-model to open / close the dialog. A dialog with no `v-model` starts closed."},{"name":"navigation","type":"boolean | undefined","required":false,"default":"false","description":"Syncs the open state with the URL: opening writes `?<queryKey>=true`, closing removes it, a URL with the key opens the dialog on load, and Back closes it (refused whenever Escape is). Template dialogs only; keep a record id in your own query."},{"name":"offCanvasProps","type":"Partial<BbOffCanvasProps> | undefined","required":false,"description":"Props for the phone sheet (the `BbOffCanvas` that `adaptive` renders on mobile), spread over its defaults. A `pt` inside it styles only the sheet (passthrough guide § Inside the sheet)."},{"name":"ok","type":"BbAction | undefined","required":false,"description":"The primary footer button: `true` (the locale's OK), a label, or a button config. Clicked: its `onClick`, else it submits the one `BbForm` inside, else `complete(data)`. Unset: no button. Config sets its look."},{"name":"persistent","type":"boolean | undefined","required":false,"default":"false","description":"Blocks closing by outside click or Escape. The header close (×) STILL closes a persistent dialog, the documented escape hatch: add `hideClose` to remove it, or use `preventClose` to block every dismissal. Programmatic close still works."},{"name":"preventClose","type":"boolean | undefined","required":false,"default":"`undefined` (follows a saving form inside)","description":"Refuses every user close (backdrop, Escape, the ✕, the slots' `close`) with the deny nudge; `v-model` still closes. Unset: locked while a `BbForm` inside saves (an async `@submit`). `true`: always; `false`: never, not even mid-save. Beside a form: `busy || undefined`."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"sheet\", \"header\", \"title\", \"description\", \"content\", \"footer\", \"close\"]; readonly states: readonly [\"open\", \"fullscreen\"]; readonly wide: readonly [\"open\", \"fullscreen\"]; }> & PtMap<BbDialogPtPart, BbDialogPtState>) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:close","type":"PtValue | undefined","required":false},{"name":"pt:close:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:close:open","type":"PtValue | undefined","required":false},{"name":"pt:content","type":"PtValue | undefined","required":false},{"name":"pt:content:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:content:open","type":"PtValue | undefined","required":false},{"name":"pt:description","type":"PtValue | undefined","required":false},{"name":"pt:description:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:description:open","type":"PtValue | undefined","required":false},{"name":"pt:footer","type":"PtValue | undefined","required":false},{"name":"pt:footer:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:footer:open","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:header:open","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:root:open","type":"PtValue | undefined","required":false},{"name":"pt:sheet","type":"PtValue | undefined","required":false},{"name":"pt:sheet:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:sheet:open","type":"PtValue | undefined","required":false},{"name":"pt:title","type":"PtValue | undefined","required":false},{"name":"pt:title:fullscreen","type":"PtValue | undefined","required":false},{"name":"pt:title:open","type":"PtValue | undefined","required":false},{"name":"queryKey","type":"string | undefined","required":false,"default":"\"dialog\"","description":"The query key `navigation` writes."},{"name":"replace","type":"boolean | undefined","required":false,"default":"false","description":"With `navigation`, replaces the history entry instead of pushing one, so Back leaves the page instead of closing the dialog."},{"name":"size","type":"Responsive<NonNullable<number | CssSize | keyof BbDialogSizes | undefined>> | undefined","required":false,"default":"\"sm\"","description":"Controls the maximum width of the dialog. Accepts named presets from `'xs'` to `'2xl'`, a custom CSS width string, or a numeric pixel value — or a per-breakpoint map (e.g. `{ default: 'sm', lg: 'lg' }`) to switch width responsively."},{"name":"snap","type":"BbSnapPoint | undefined","required":false,"description":"The phone sheet's snap stop, one of the `snapPoints` entries. The desktop dialog ignores it."},{"name":"snapPoints","type":"BbSnapPoint[] | undefined","required":false,"description":"Heights the phone sheet rests at, smallest first: a screen fraction (`0.5`; `1` = as tall as it gets) or pixels (`'240px'`). The first is the opening height; `v-model:snap` reads and sets the stop. Sheet only: the centred dialog ignores it."},{"name":"stack","type":"string | undefined","required":false,"description":"Name of this dialog's stack. Dialogs with the same `stack` replace one another: only the latest opened shows, the rest of the stack hide beneath it. Dialogs in different stacks, or with no `stack`, never affect each other and stay fully visible."},{"name":"title","type":"string | undefined","required":false,"description":"Title text announced to assistive technologies. If omitted, no header is rendered (unless a `header` slot is supplied) and accessibility must be handled manually."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"Controls the duration of the open and close animations."}],"events":[{"name":"complete","signature":"(value: any): void","description":"The dialog completes (`ok`, `complete(value)`): the same value as the opener's `onComplete`, before it. Return a promise to keep the dialog open and locked until it settles; `false` or a throw keeps it open."},{"name":"hidden","signature":"(): void","description":"Emitted after the close transition completes and the dialog is fully dismissed."},{"name":"hide","signature":"(result: BbDialogResult): void","description":"Emitted as soon as the dialog starts to close (model becomes false), with the opening's result: the same object its promise settles with, `{ completed: true, value }` or `{ completed: false, reason }`."},{"name":"show","signature":"(): void","description":"Emitted as soon as the dialog starts to open (model becomes true)."},{"name":"shown","signature":"(): void","description":"Emitted once the open transition has run (symmetric with `hidden`): the dialog is settled, so code that measures or anchors to its content sees the final layout. Not emitted for a dialog closed before it finished opening."},{"name":"update:modelValue","signature":"(value: boolean): void","description":"Emitted with the new value whenever `v-model` changes."},{"name":"update:snap","signature":"(value: BbSnapPoint | undefined): void","description":"Emitted with the new value whenever `v-model:snap` changes."}],"slots":[{"name":"default","type":"BbDialogDefaultSlotProps","fields":["close: () => void","complete: (value?: any) => Promise<void>","reset: () => void","data: any"],"description":"Primary body content of the dialog, rendered in the scrollable body area."},{"name":"description","type":"BbDialogDescriptionSlotProps","fields":["text: string","data: any"],"description":"Replaces the description text under the title. Renders the header even when `title` and `description` are unset — a slotted description is a description, the same rule `#title` follows."},{"name":"footer","type":"BbDialogFooterSlotProps","fields":["close: () => void","complete: (value?: any) => Promise<void>","reset: () => void","data: any"],"description":"Content rendered in the dialog footer, below the body area. Typically used for action buttons."},{"name":"header","type":"BbDialogHeaderSlotProps","fields":["titleId: string","close: () => void","complete: (value?: any) => Promise<void>","reset: () => void","title: string","data: any"],"description":"Replaces the whole header (title and ✕) on both surfaces, so it owns closing: wire your control to `close`, and `titleId` onto your title. It renders even without `title`. Its root is a flex item: give it `flex-1` to fill the width."},{"name":"title","type":"BbDialogTitleSlotProps","fields":["text: string","data: any"],"description":"Replaces the default title text inside the header. Remains linked to the dialog through `aria-labelledby`. Providing this slot renders the header even when `title` is unset — a slotted title is a title."}],"exposed":[],"models":[{"name":"modelValue","type":"boolean | undefined"},{"name":"snap","type":"BbSnapPoint | undefined"}],"cssProps":[{"name":"--px","value":"var(--bb-panel-p)","selector":".bb-dialog","description":"Axis split of --bb-panel-p: --px (inline) / --py (block), each branching off it. Set the pair only when the axes differ; setting --bb-panel-p alone keeps them equal. Local on this root class (not :root) so scoped --bb-panel-p overrides keep reaching the slots; for per-part asymmetry, scope --py to the part class."},{"name":"--py","value":"var(--bb-panel-p)","selector":".bb-dialog"},{"name":"--page-padding","value":"20px","selector":".bb-dialog"},{"name":"--transition-timing-function","value":"var(--bb-ease)","selector":".bb-dialog"},{"name":"--bg","value":"var(--bb-panel)","selector":".bb-dialog"},{"name":"--fg","value":"var(--bb-text)","selector":".bb-dialog"},{"name":"--close-size","value":"28px","selector":".bb-dialog__header","description":"Shared by the close control and by the space the title reserves for it, so the two can never drift apart."},{"name":"--gap","value":"8px","selector":".bb-dialog__footer"}],"pt":{"parts":[{"name":"root","description":"The `<dialog>` — the surface itself, so there is no separate `panel`. The backdrop is `::backdrop`: style it in CSS (`.bb-dialog::backdrop`), it has no node for `pt`."},{"name":"sheet","description":"The bottom sheet on the adaptive `surface=\"canvas\"` (the `BbOffCanvas` root) — never the desktop `<dialog>`. Applied after `root`, so it wins a conflict there."},{"name":"header","description":"The header band."},{"name":"title","description":"The title line inside the header. Not rendered when a `#header` slot replaces the header."},{"name":"description","description":"The description line inside the header. Not rendered when a `#header` slot replaces the header."},{"name":"content","description":"The scrolling body. It carries the body's padding (`--px`, `--py`, `--dialog-gap`), so `pt:content=\"px-8\"` or `[--py:20px]` sets it."},{"name":"footer","description":"The footer band."},{"name":"close","description":"The ✕ — in the header, or floating when there is none."}],"states":[{"name":"open","description":"Component-wide: the dialog is open (follows `v-model`)."},{"name":"fullscreen","description":"Component-wide: the dialog fills the viewport — always with `fullscreen`, and with `fullscreen=\"mobile\"` only while the viewport is a phone, so it can flip at runtime. Listed after `open`, so a `pt:root:fullscreen` entry wins a conflict with `pt:root:open` (drop an open-state ring or radius that a full-viewport surface cannot show). Forwarded to the sheet on the adaptive `surface=\"canvas\"`."}]},"tree":{"bindings":[{"part":"header","target":"div.bb-dialog__header"},{"part":"title","target":"span.bb-dialog__title"},{"part":"description","target":"p.bb-dialog__description"},{"part":"close","target":"CloseButton"},{"part":"content","target":"div.bb-dialog__content"},{"part":"footer","target":"div.bb-dialog__footer"}],"forwards":[{"to":"BbOffCanvas","mapping":"{ root: 'root', header: 'header', title: 'title', description: 'description', content: 'content', footer: 'footer', close: 'close', sheet: 'root', }"}],"nodes":[{"name":"CloseButton","kind":"internal","cssProps":[{"name":"--size","documented":true,"readBy":["bb-close-button"]},{"name":"--p","documented":true,"readBy":["bb-close-button"]},{"name":"--icon-size","documented":true},{"name":"--ring-t","documented":false,"readBy":["bb-close-button"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"BbOffCanvas","kind":"public"}]},"css":{"classes":{"bb-close-button":[""],"bb-dialog":["","--above","--covered","--covering","--deny-close","--fullscreen","--mobile","--open","--visible","__body-content","__close","__content","__description","__empty","__footer","__header","__item","__item--*","__item--aligned","__item--description","__item--disabled","__item--focus-visible","__item--focused","__item--input-align-*","__item--label-align-*","__item--reverse","__item--selected","__item-description","__label","__list","__list--*","__list--block","__list--errors","__list--no-transition","__list--strip","__list--warnings","__loading","__sheet","__title"],"bb-dialog-escape":[""]},"locals":["--bg","--close-size","--color-gray-200","--dialog-gap","--dialog-title-fs","--dialog-title-fw","--fg","--gap","--max-width","--p","--page-ff","--page-fs","--page-lh","--page-padding","--px","--py","--scrollbar-width","--transition-duration","--transition-timing-function"],"surface":{"stable":[{"class":"bb-dialog","tag":"dialog","part":"root","reads":["--bg","--fg","--max-width","--page-padding","--transition-duration","--transition-timing-function"]},{"class":"bb-dialog__sheet","tag":"BbOffCanvas","part":"sheet"},{"class":"bb-dialog__header","tag":"div","part":"header","reads":["--px","--py"]},{"class":"bb-dialog__title","tag":"span","part":"title","reads":["--dialog-title-fs","--dialog-title-fw"]},{"class":"bb-dialog__description","tag":"p","part":"description"},{"class":"bb-dialog__content","tag":"div","part":"content","reads":["--dialog-gap","--px","--py"]},{"class":"bb-dialog__footer","tag":"div","part":"footer","reads":["--dialog-gap","--gap","--px","--py"]},{"class":"bb-dialog__close","part":"close"},{"class":"bb-dialog--open","tag":"dialog","state":"open"},{"class":"bb-dialog--fullscreen","tag":"dialog","state":"fullscreen","reads":["--page-padding","--transition-duration","--transition-timing-function"]}],"internal":[{"class":"bb-close-button","reads":["--close-size","--p","--px","--py"]},{"class":"bb-dialog--above","tag":"dialog"},{"class":"bb-dialog--covered","tag":"dialog"},{"class":"bb-dialog--covering","tag":"dialog"},{"class":"bb-dialog--deny-close","tag":"dialog"},{"class":"bb-dialog--mobile","tag":"dialog"},{"class":"bb-dialog--visible","tag":"dialog","reads":["--scrollbar-width"]},{"class":"bb-dialog-escape"},{"class":"bb-dialog__body-content","tag":"div"},{"class":"bb-dialog__empty"},{"class":"bb-dialog__item"},{"class":"bb-dialog__item--aligned"},{"class":"bb-dialog__item--description"},{"class":"bb-dialog__item--disabled"},{"class":"bb-dialog__item--focus-visible"},{"class":"bb-dialog__item--focused"},{"class":"bb-dialog__item--reverse"},{"class":"bb-dialog__item--selected"},{"class":"bb-dialog__item-description"},{"class":"bb-dialog__label"},{"class":"bb-dialog__list"},{"class":"bb-dialog__list--block"},{"class":"bb-dialog__list--errors"},{"class":"bb-dialog__list--no-transition"},{"class":"bb-dialog__list--strip"},{"class":"bb-dialog__list--warnings"},{"class":"bb-dialog__loading"}]}},"attrTargets":["dialog"],"config":"adaptive*, fullscreen, okProps, cancelProps, sizeMap","removed":[{"name":"compact","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dialog.md","silent":true,"fix":{"kind":"manual"}},{"name":"hideHeader","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dialog.md","silent":true,"fix":{"kind":"manual"}},{"name":"overlayClasses","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dialog.md","silent":true,"fix":{"kind":"manual"}},{"name":"panelClasses","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dialog.md","silent":true,"fix":{"kind":"manual"}},{"name":"showClose","new":"hideClose","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dialog.md","silent":true,"fix":{"kind":"invert"}}],"renamed":[{"from":"showClose","to":"hideClose","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dialog.md","fix":{"kind":"invert"}}]},
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
{"name":"BbTextInput","group":"Inputs","description":"Captures single-line text values.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbTextInput.md","source":"ai/source/BbTextInput.md","props":[{"name":"append:icon","type":"string | undefined","required":false,"description":"Name of the icon to be added at the end of the input."},{"name":"autocomplete","type":"string | undefined","required":false,"description":"Guides to the browser as to the type of information expected in the field."},{"name":"autofocus","type":"Booleanish | undefined","required":false,"description":"Focuses the field when it mounts (a dialog already open included), unless the user is typing in another field."},{"name":"clearable","type":"boolean | undefined","required":false,"default":"false","description":"Displays a clear button when the input has a value and is being interacted with."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Compact density: the field uses the `-compact` twins of `--bb-input-h`, `--bb-input-py` and `--bb-label-spacing-y`, so a `--bb-input-h` set on the component is ignored while it is on. Size a compact field with `--bb-input-h-compact` (and `--bb-input-py-compact`)."},{"name":"counter","type":"boolean | undefined","required":false,"default":"false","description":"Shows a character count at the end of the hint row: `42`, or `42 / 140` with the native `maxlength` (which also stops input). It brightens from 90 % and takes the warning colour at the limit; screen readers hear it only when it crosses 90 % or the limit."},{"name":"description","type":"string | undefined","required":false,"description":"Text between the label and the input. Unlike the hint it is always visible; it joins the input's `aria-describedby` after any `errors` / `warnings`, before the `hint`."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the component."},{"name":"emitMasked","type":"boolean | undefined","required":false,"default":"false","description":"Emits the masked value of the input."},{"name":"errors","type":"string | string[] | undefined","required":false,"description":"Error messages under the field, a string or array, in an `aria-live=\"polite\"` region and first in the control's `aria-describedby`, so they are re-read when it regains focus."},{"name":"formless","type":"boolean | undefined","required":false,"default":"false","description":"Keep this control out of the enclosing `BbForm` entirely: not submitted, not dirty, not reset, not validated. For a control that is not form data (a filter, a \"show advanced\" switch)."},{"name":"hasErrors","type":"boolean | undefined","required":false,"default":"false","description":"Define if the component should be in an error state. It usually attaches a CSS class for styling purposes."},{"name":"hasWarnings","type":"boolean | undefined","required":false,"default":"false","description":"Define if the component should be in a warning state. Same chrome as errors with `--bb-warn`; errors take priority."},{"name":"hideLabel","type":"boolean | undefined","required":false,"default":"false","description":"Visually hides the label of the input while maintaining accessibility. Pair it with a `placeholder`: an empty field otherwise shows nothing saying what it is for."},{"name":"hint","type":"string | undefined","required":false,"description":"Text box to be displayed near the input, usually to indicate instructions."},{"name":"id","type":"string | undefined","required":false,"description":"The `id` of the native control; the label's `for` and the description and message ids derive from it. Generated when omitted."},{"name":"inputAlign","type":"FieldCrossAlign | undefined","required":false,"values":["center","top","bottom"],"description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`."},{"name":"inputMode","type":"\"text\" | \"search\" | \"none\" | \"tel\" | \"url\" | \"email\" | \"numeric\" | \"decimal\" | undefined","required":false,"description":"The inputmode of the input."},{"name":"label","type":"string","required":true,"description":"Text content of the label of the element."},{"name":"labelAlign","type":"FieldCrossAlign | undefined","required":false,"values":["center","top","bottom"],"description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`."},{"name":"labelMode","type":"\"outside\" | \"floating\" | \"inside\" | undefined","required":false,"description":"Label rendering mode."},{"name":"labelPosition","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\" | undefined","required":false,"default":"'start'","description":"Text alignment of the label. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction."},{"name":"layout","type":"Responsive<FieldLayout> | undefined","required":false,"description":"How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`)."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Sets the component in a loading state, usually triggering some visual styles."},{"name":"mask","type":"MaskInputOptions | undefined","required":false,"description":"A maska options object, not a string: `{ mask: '#### #### #### ####' }`. Please visit https://beholdr.github.io/maska/v3 for syntax examples."},{"name":"modelValue","type":"string | null | undefined","required":false,"description":"Used by v-model."},{"name":"name","type":"string | undefined","required":false,"description":"Defines the name of the input."},{"name":"nullValue","type":"'null' | 'string'","required":false,"description":"What the field emits once emptied (typing, the clear button, an empty mask): `'null'` emits `null`, `'string'` emits `''`. Unset: the plugin's `components.BbTextInput.nullValue` (`'null'`). With `'string'`, the `update:modelValue` payload types as `string`."},{"name":"persistentHint","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the hint displayed."},{"name":"placeholder","type":"string | undefined","required":false,"description":"Text shown while the field is empty."},{"name":"prepend:icon","type":"string | undefined","required":false,"description":"Name of the icon to be added at the start of the input."},{"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; }) | undefined","required":false,"description":"Passthrough, object form: `{ box: '…', 'box:errors': '…' }` — the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:box","type":"PtValue | undefined","required":false},{"name":"pt:box:atLimit","type":"PtValue | undefined","required":false},{"name":"pt:box:disabled","type":"PtValue | undefined","required":false},{"name":"pt:box:errors","type":"PtValue | undefined","required":false},{"name":"pt:box:ghost","type":"PtValue | undefined","required":false},{"name":"pt:box:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:box:loading","type":"PtValue | undefined","required":false},{"name":"pt:box:nearLimit","type":"PtValue | undefined","required":false},{"name":"pt:box:outline","type":"PtValue | undefined","required":false},{"name":"pt:box:readonly","type":"PtValue | undefined","required":false},{"name":"pt:box:secondary","type":"PtValue | undefined","required":false},{"name":"pt:box:warnings","type":"PtValue | undefined","required":false},{"name":"pt:clear","type":"PtValue | undefined","required":false},{"name":"pt:clear:atLimit","type":"PtValue | undefined","required":false},{"name":"pt:clear:errors","type":"PtValue | undefined","required":false},{"name":"pt:clear:ghost","type":"PtValue | undefined","required":false},{"name":"pt:clear:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:clear:loading","type":"PtValue | undefined","required":false},{"name":"pt:clear:nearLimit","type":"PtValue | undefined","required":false},{"name":"pt:clear:outline","type":"PtValue | undefined","required":false},{"name":"pt:clear:secondary","type":"PtValue | undefined","required":false},{"name":"pt:clear:warnings","type":"PtValue | undefined","required":false},{"name":"pt:counter","type":"PtValue | undefined","required":false},{"name":"pt:counter:atLimit","type":"PtValue | undefined","required":false},{"name":"pt:counter:disabled","type":"PtValue | undefined","required":false},{"name":"pt:counter:errors","type":"PtValue | undefined","required":false},{"name":"pt:counter:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:counter:loading","type":"PtValue | undefined","required":false},{"name":"pt:counter:nearLimit","type":"PtValue | undefined","required":false},{"name":"pt:counter:readonly","type":"PtValue | undefined","required":false},{"name":"pt:counter:warnings","type":"PtValue | undefined","required":false},{"name":"pt:description","type":"PtValue | undefined","required":false},{"name":"pt:description:atLimit","type":"PtValue | undefined","required":false},{"name":"pt:description:disabled","type":"PtValue | undefined","required":false},{"name":"pt:description:errors","type":"PtValue | undefined","required":false},{"name":"pt:description:ghost","type":"PtValue | undefined","required":false},{"name":"pt:description:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:description:loading","type":"PtValue | undefined","required":false},{"name":"pt:description:nearLimit","type":"PtValue | undefined","required":false},{"name":"pt:description:outline","type":"PtValue | undefined","required":false},{"name":"pt:description:readonly","type":"PtValue | undefined","required":false},{"name":"pt:description:secondary","type":"PtValue | undefined","required":false},{"name":"pt:description:warnings","type":"PtValue | undefined","required":false},{"name":"pt:hint","type":"PtValue | undefined","required":false},{"name":"pt:hint:atLimit","type":"PtValue | undefined","required":false},{"name":"pt:hint:disabled","type":"PtValue | undefined","required":false},{"name":"pt:hint:errors","type":"PtValue | undefined","required":false},{"name":"pt:hint:ghost","type":"PtValue | undefined","required":false},{"name":"pt:hint:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:hint:loading","type":"PtValue | undefined","required":false},{"name":"pt:hint:nearLimit","type":"PtValue | undefined","required":false},{"name":"pt:hint:outline","type":"PtValue | undefined","required":false},{"name":"pt:hint:readonly","type":"PtValue | undefined","required":false},{"name":"pt:hint:secondary","type":"PtValue | undefined","required":false},{"name":"pt:hint:warnings","type":"PtValue | undefined","required":false},{"name":"pt:icon","type":"PtValue | undefined","required":false},{"name":"pt:icon:atLimit","type":"PtValue | undefined","required":false},{"name":"pt:icon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:icon:errors","type":"PtValue | undefined","required":false},{"name":"pt:icon:ghost","type":"PtValue | undefined","required":false},{"name":"pt:icon:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:icon:loading","type":"PtValue | undefined","required":false},{"name":"pt:icon:nearLimit","type":"PtValue | undefined","required":false},{"name":"pt:icon:outline","type":"PtValue | undefined","required":false},{"name":"pt:icon:readonly","type":"PtValue | undefined","required":false},{"name":"pt:icon:secondary","type":"PtValue | undefined","required":false},{"name":"pt:icon:warnings","type":"PtValue | undefined","required":false},{"name":"pt:input","type":"PtValue | undefined","required":false},{"name":"pt:input:atLimit","type":"PtValue | undefined","required":false},{"name":"pt:input:disabled","type":"PtValue | undefined","required":false},{"name":"pt:input:errors","type":"PtValue | undefined","required":false},{"name":"pt:input:ghost","type":"PtValue | undefined","required":false},{"name":"pt:input:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:input:loading","type":"PtValue | undefined","required":false},{"name":"pt:input:nearLimit","type":"PtValue | undefined","required":false},{"name":"pt:input:outline","type":"PtValue | undefined","required":false},{"name":"pt:input:readonly","type":"PtValue | undefined","required":false},{"name":"pt:input:secondary","type":"PtValue | undefined","required":false},{"name":"pt:input:warnings","type":"PtValue | undefined","required":false},{"name":"pt:label","type":"PtValue | undefined","required":false},{"name":"pt:label:atLimit","type":"PtValue | undefined","required":false},{"name":"pt:label:disabled","type":"PtValue | undefined","required":false},{"name":"pt:label:errors","type":"PtValue | undefined","required":false},{"name":"pt:label:ghost","type":"PtValue | undefined","required":false},{"name":"pt:label:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:label:loading","type":"PtValue | undefined","required":false},{"name":"pt:label:nearLimit","type":"PtValue | undefined","required":false},{"name":"pt:label:outline","type":"PtValue | undefined","required":false},{"name":"pt:label:readonly","type":"PtValue | undefined","required":false},{"name":"pt:label:secondary","type":"PtValue | undefined","required":false},{"name":"pt:label:warnings","type":"PtValue | undefined","required":false},{"name":"pt:message","type":"PtValue | undefined","required":false},{"name":"pt:message:atLimit","type":"PtValue | undefined","required":false},{"name":"pt:message:disabled","type":"PtValue | undefined","required":false},{"name":"pt:message:errors","type":"PtValue | undefined","required":false},{"name":"pt:message:ghost","type":"PtValue | undefined","required":false},{"name":"pt:message:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:message:loading","type":"PtValue | undefined","required":false},{"name":"pt:message:nearLimit","type":"PtValue | undefined","required":false},{"name":"pt:message:outline","type":"PtValue | undefined","required":false},{"name":"pt:message:readonly","type":"PtValue | undefined","required":false},{"name":"pt:message:secondary","type":"PtValue | undefined","required":false},{"name":"pt:message:warnings","type":"PtValue | undefined","required":false},{"name":"pt:prefix","type":"PtValue | undefined","required":false},{"name":"pt:prefix:atLimit","type":"PtValue | undefined","required":false},{"name":"pt:prefix:disabled","type":"PtValue | undefined","required":false},{"name":"pt:prefix:errors","type":"PtValue | undefined","required":false},{"name":"pt:prefix:ghost","type":"PtValue | undefined","required":false},{"name":"pt:prefix:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:prefix:loading","type":"PtValue | undefined","required":false},{"name":"pt:prefix:nearLimit","type":"PtValue | undefined","required":false},{"name":"pt:prefix:outline","type":"PtValue | undefined","required":false},{"name":"pt:prefix:readonly","type":"PtValue | undefined","required":false},{"name":"pt:prefix:secondary","type":"PtValue | undefined","required":false},{"name":"pt:prefix:warnings","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:atLimit","type":"PtValue | undefined","required":false},{"name":"pt:root:disabled","type":"PtValue | undefined","required":false},{"name":"pt:root:errors","type":"PtValue | undefined","required":false},{"name":"pt:root:ghost","type":"PtValue | undefined","required":false},{"name":"pt:root:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:root:loading","type":"PtValue | undefined","required":false},{"name":"pt:root:nearLimit","type":"PtValue | undefined","required":false},{"name":"pt:root:outline","type":"PtValue | undefined","required":false},{"name":"pt:root:readonly","type":"PtValue | undefined","required":false},{"name":"pt:root:secondary","type":"PtValue | undefined","required":false},{"name":"pt:root:warnings","type":"PtValue | undefined","required":false},{"name":"pt:spinner","type":"PtValue | undefined","required":false},{"name":"pt:spinner:atLimit","type":"PtValue | undefined","required":false},{"name":"pt:spinner:disabled","type":"PtValue | undefined","required":false},{"name":"pt:spinner:errors","type":"PtValue | undefined","required":false},{"name":"pt:spinner:ghost","type":"PtValue | undefined","required":false},{"name":"pt:spinner:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:spinner:loading","type":"PtValue | undefined","required":false},{"name":"pt:spinner:nearLimit","type":"PtValue | undefined","required":false},{"name":"pt:spinner:outline","type":"PtValue | undefined","required":false},{"name":"pt:spinner:readonly","type":"PtValue | undefined","required":false},{"name":"pt:spinner:secondary","type":"PtValue | undefined","required":false},{"name":"pt:spinner:warnings","type":"PtValue | undefined","required":false},{"name":"pt:suffix","type":"PtValue | undefined","required":false},{"name":"pt:suffix:atLimit","type":"PtValue | undefined","required":false},{"name":"pt:suffix:disabled","type":"PtValue | undefined","required":false},{"name":"pt:suffix:errors","type":"PtValue | undefined","required":false},{"name":"pt:suffix:ghost","type":"PtValue | undefined","required":false},{"name":"pt:suffix:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:suffix:loading","type":"PtValue | undefined","required":false},{"name":"pt:suffix:nearLimit","type":"PtValue | undefined","required":false},{"name":"pt:suffix:outline","type":"PtValue | undefined","required":false},{"name":"pt:suffix:readonly","type":"PtValue | undefined","required":false},{"name":"pt:suffix:secondary","type":"PtValue | undefined","required":false},{"name":"pt:suffix:warnings","type":"PtValue | undefined","required":false},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Sets the input in a readonly state."},{"name":"required","type":"boolean | undefined","required":false,"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."},{"name":"reverse","type":"boolean | undefined","required":false,"default":"undefined","description":"Reverses the layout. Applicable in every direction the order of the label and the input is swapped."},{"name":"rules","type":"RuleExpression<string | null>","required":false,"description":"vee-validate rules for this field. Only inside a `BbForm`."},{"name":"type","type":"\"text\" | \"search\" | \"tel\" | \"url\" | \"email\" | \"password\" | undefined","required":false,"default":"\"text\"","description":"Type of the input. Restricted to the textual input types this component supports — use `BbNumberInput` for numbers and `BbDatePickerInput` for dates."},{"name":"validationLabel","type":"string | undefined","required":false,"description":"The field's name in validation messages (`{field}`): \"Email is not valid\". Defaults to the `label` (or `legend`), then \"This field\"; never the `name`. Set it when the label is hidden or reads badly in a sentence (icon-only, a question). `BbForm` only."},{"name":"validationMode","type":"ValidationMode | undefined","required":false,"values":["aggressive","balanced","lazy","submit-only","submit-live"],"description":"When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `all.validationMode` (`'balanced'`). `BbForm` only."},{"name":"variant","type":"InputVariantOf<TextInputVariantRegistry> | undefined","required":false,"default":"'outline'","values":["outline","secondary","none","ghost"],"description":"The field box's look, with `BbButton`'s names and tokens. Colours only, so a form never reflows; `'ghost'` has no border in any state, `'none'` no look at all (you own hover, focus and the states). Register more with the plugin's `components.BbTextInput.variants`."},{"name":"warnings","type":"string | string[] | undefined","required":false,"description":"Warning messages under the field, a string or array: amber, in their own `aria-live` region and in the control's `aria-describedby` after the errors. Non-empty turns on the warning state; errors win when both are set."}],"events":[{"name":"blur","signature":"(event: FocusEvent): void","description":"Emitted when the native input loses focus. Forwards the original DOM `FocusEvent`."},{"name":"change","signature":"(event: Event): void","description":"Emitted when the native input fires a change event. Forwards the original DOM `Event`."},{"name":"click","signature":"(event: MouseEvent): void","description":"Emitted when the input receives a click interaction. Forwards the original DOM `MouseEvent`."},{"name":"compositionend","signature":"(event: CompositionEvent): void","description":"Emitted when a composition session ends (e.g. CJK IME confirmed). Forwards the original DOM `CompositionEvent`."},{"name":"compositionstart","signature":"(event: CompositionEvent): void","description":"Emitted when a composition session starts (e.g. CJK IME begins). Forwards the original DOM `CompositionEvent`."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when the native input gains focus. Forwards the original DOM `FocusEvent`."},{"name":"input","signature":"(event: Event): void","description":"Emitted on native input events from the text field. Forwards the original DOM `Event`."},{"name":"keydown","signature":"(event: KeyboardEvent): void","description":"Emitted for keyboard interaction on the input. Forwards the original DOM `KeyboardEvent`."},{"name":"keyup","signature":"(event: KeyboardEvent): void","description":"Emitted when a key is released over the input. Forwards the original DOM `KeyboardEvent`."},{"name":"mousedown","signature":"(event: MouseEvent): void","description":"Emitted when a pointing device button is pressed over the input. Forwards the original DOM `MouseEvent`."},{"name":"mouseup","signature":"(event: MouseEvent): void","description":"Emitted when a pointing device button is released over the input. Forwards the original DOM `MouseEvent`."},{"name":"paste","signature":"(event: ClipboardEvent): void","description":"Emitted when content is pasted into the input. Forwards the original DOM `ClipboardEvent`."},{"name":"update:modelValue","signature":"(value: string | NullValueOf<E>): void","description":"Emitted when the value changes. Carries the new string, or the empty value (`null-value`, else the app's, `null` by default) when emptied. When `mask` is set, emits the masked or unmasked string depending on `emitMasked`."}],"slots":[{"name":"append","type":"object","description":"Content rendered after the text input, at the end of the field box."},{"name":"append:outer","type":"object","description":"Content rendered after the entire text input control, outside the input chrome."},{"name":"description","type":"BbTextInputDescriptionSlotProps","fields":["text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the description text. Provided alone (no `description` prop) it still renders the description region and wires it into `aria-describedby`."},{"name":"label","type":"BbTextInputLabelSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default label text rendered above the input."},{"name":"prefix","type":"object","description":"Inline content rendered at the start of the input field area, before the typed text."},{"name":"prepend","type":"object","description":"Content rendered before the text input, at the start of the field box."},{"name":"prepend:outer","type":"object","description":"Content rendered before the entire text input control, outside the input chrome."},{"name":"suffix","type":"object","description":"Inline content rendered at the end of the input field area, after the typed text."}],"exposed":[],"models":[{"name":"modelValue","type":"string | null | undefined"}],"cssProps":[{"name":"--border-color","value":"per variant","selector":"pt:box","description":"The resting border, at the fixed --bb-border-w. Errors and warnings paint their frame over it, so `pt:box=\"[--border-color:…]\"` recolours the rest without hiding the state; a plain `border-*` utility on the base pt:box would hide it (ESLint `no-box-border-color`)."},{"name":"--ph","value":"var(--bb-text-muted)","selector":"pt:box","description":"Placeholder colour, one local for every field: the native `::placeholder`, BbSelect's activator text and the picker inputs' empty segments. Set it through `pt:box=\"[--ph:…]\"`; app-wide, the same entry in the global pt map."}],"pt":{"parts":[{"name":"root","description":"The field's outer container: the label, the box and the lines under it."},{"name":"label","description":"The label text above the box (the `label` prop)."},{"name":"description","description":"The muted line under the label (the `description` prop)."},{"name":"message","description":"The errors / warnings line under the box. A node of its own: it can show at the same time as `hint`."},{"name":"hint","description":"The helper line (the `hint` prop), shown on focus, or always with `persistent-hint`."},{"name":"box","description":"The bordered box around the input — border, background and radius; the `variant` paints here."},{"name":"input","description":"The native input element inside the box."},{"name":"icon","description":"The content icons, prepend and append — a broadcast. Chrome (the clear ✕, a chevron, the error / warning glyph) is never in it."},{"name":"spinner","description":"The spinner inside the box while `loading`."},{"name":"prefix","description":"The `#prefix` slot's wrapper, inside the box before the input."},{"name":"suffix","description":"The `#suffix` slot's wrapper, inside the box after the input."},{"name":"clear","description":"The ✕ that empties this control (`clearable`) — one node, never a chip's own ✕."},{"name":"counter","description":"The character count at the end of the hint row (`counter`): `42`, or `42 / 140` with `maxlength`."}],"states":[{"name":"hasValue","description":"Component-wide: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`)."},{"name":"nearLimit","description":"Component-wide: with `counter` and `maxlength`, the value is at 90 % of the limit or more, and still below it."},{"name":"atLimit","description":"Component-wide: with `counter` and `maxlength`, the value has reached the limit."},{"name":"readonly","description":"Component-wide: the control is `readonly` — shown, focusable, not editable."},{"name":"disabled","description":"Component-wide: the control is `disabled`."},{"name":"warnings","description":"Component-wide: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together."},{"name":"errors","description":"Component-wide: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red."},{"name":"loading","description":"Component-wide: `loading` is on; the box shows its `spinner`."},{"name":"ghost","description":"On the field's parts: `variant: 'ghost'`. Below the real states, like every variant."},{"name":"outline","description":"On the field's parts: `variant: 'outline'`. Merged after the part's base entry and before its states, so the real states still win."},{"name":"secondary","description":"On the field's parts: `variant: 'secondary'`. Below the real states, like every variant."}]},"tree":{"bindings":[{"part":"input","target":"input.bb-text-input__input"},{"part":"controlAttrs","target":"input.bb-text-input__input"}],"nodes":[{"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"}]},{"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"}]}]}]},"css":{"classes":{"bb-text-input":["","__input"]},"locals":["--color-gray-200"],"surface":{"stable":[{"class":"bb-text-input","tag":"CommonField","part":"root"},{"class":"bb-text-input__input","tag":"input","part":"input"}],"internal":[],"via":[{"part":"icon","component":"BbIcon"},{"part":"spinner","component":"BbSpinner"}],"lands":[{"part":"description","target":"span.bb-field__description"},{"part":"message","target":"div.bb-field__message"},{"part":"hint","target":"span.bb-field__hint"},{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"suffix","target":"span.bb-field-input__suffix"},{"part":"clear","target":"ClearableButton"},{"part":"counter","target":"span.bb-field__counter"}],"unaligned":{"parts":["label"],"states":["hasValue","nearLimit","atLimit","readonly","disabled","warnings","errors","loading","ghost","outline","secondary"]}}},"attrTargets":["div","input"],"config":"labelMode*, validationMode*, autocomplete*, compact*, layout*, reverse*, nullValue!, variants","removed":[{"name":"hasWarning","new":"hasWarnings","since":"3.0.0-beta.26","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"direction","new":"layout","since":"3.0.0-beta.33","migration":"ai/guides/migration/components/bb-text-input.md","silent":true,"fix":{"kind":"rename"}},{"name":"prepend-outer","new":"prepend:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"append-outer","new":"append:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"vid","new":null,"hint":"a display name (v2: `vid=\"Email address\"`) is now `validation-label`; a field path (3.0 betas: `vid=\"address.city\"`) is now `name` (brackets for a native post: `address[city]`). `check --fix` picks by the value","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"byValue","display":"validationLabel","key":"name"}},{"name":"validateOn","new":"validationMode","hint":"an array of events became one mode (`aggressive` | `balanced` | `lazy` | `submit-only` | `submit-live`). The old defaults (`['blur']`, `['inactive']`, a toggle's `['update:modelValue', 'change', 'blur']`) are `balanced`, the new default: delete the prop. A text field on `['update:modelValue']` is `validation-mode=\"aggressive\"`. Set it once on `<BbForm validation-mode>` instead of per field","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"manual"}},{"name":"focus","new":null,"surface":"method","hint":"no template-ref API in v3. Reach the <input> through pt: `:pt=\"{ input: { attrs: { ref: (el) => (input = el) } } }\"`, then `input.focus()` on that element; `autofocus` for focus on mount","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-text-input.md","silent":true,"fix":{"kind":"manual"}},{"name":"blur","new":null,"surface":"method","hint":"no template-ref API in v3. Reach the <input> through pt: `:pt=\"{ input: { attrs: { ref: (el) => (input = el) } } }\"`, then `input.blur()` on that element; `autofocus` for focus on mount","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-text-input.md","silent":true,"fix":{"kind":"manual"}},{"name":"select","new":null,"surface":"method","hint":"no template-ref API in v3. Reach the <input> through pt: `:pt=\"{ input: { attrs: { ref: (el) => (input = el) } } }\"`, then `input.select()` on that element; `autofocus` for focus on mount","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-text-input.md","silent":true,"fix":{"kind":"manual"}}],"renamed":[{"from":"hasWarning","to":"hasWarnings","since":"3.0.0-beta.26","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"direction","to":"layout","since":"3.0.0-beta.33","migration":"ai/guides/migration/components/bb-text-input.md","fix":{"kind":"rename"}},{"from":"prepend-outer","to":"prepend:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"append-outer","to":"append:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"validateOn","to":"validationMode","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"manual"},"hint":"an array of events became one mode (`aggressive` | `balanced` | `lazy` | `submit-only` | `submit-live`). The old defaults (`['blur']`, `['inactive']`, a toggle's `['update:modelValue', 'change', 'blur']`) are `balanced`, the new default: delete the prop. A text field on `['update:modelValue']` is `validation-mode=\"aggressive\"`. Set it once on `<BbForm validation-mode>` instead of per field"}]},
|
|
435
435
|
{"name":"BbTimePicker","group":"Overlay","description":"Opens hour/minute(/second) columns in a popover on a trigger you own — the time analog of BbDatePicker; also the v-bb-time directive.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbTimePicker.md","source":"ai/source/BbTimePicker.md","props":[{"name":"activator","type":"ElementOrComponentRef | undefined","required":false,"description":"External activator element or component ref. When provided, the `activator` slot is not rendered and click + ARIA are attached programmatically to the referenced element — mirroring `BbDatePicker`."},{"name":"activeSegment","type":"BbTimePickerSegment | undefined","required":false,"values":["start","end"],"description":"Which end the columns edit in range mode (`v-model:active-segment`). Standalone use manages this internally via the in-panel toggle; a host can drive it. Ignored outside `range`."},{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"On mobile, open in a bottom off-canvas sheet instead of a floating popover. When unset, falls back to the global `all.adaptive`."},{"name":"ampm","type":"boolean | undefined","required":false,"default":"false","description":"12-hour display with an AM/PM column; emitted values stay 24-hour."},{"name":"anchor","type":"ElementOrComponentRef | undefined","required":false,"description":"Element or component ref the popover positions itself relative to. Defaults to the activator when omitted (anchor to a larger row while a smaller element stays the click target)."},{"name":"boundary","type":"ElementOrComponentRefOrSelector | undefined","required":false,"description":"Constrains the popover within a bounding element or CSS selector: sideways only, alongside the trigger; it flips at the viewport."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the activator and the columns."},{"name":"disableFlip","type":"boolean | undefined","required":false,"default":"false","description":"Disable the automatic flip to the opposite side on overflow."},{"name":"eager","type":"boolean | undefined","required":false,"default":"false","description":"Render popover content before it is first shown."},{"name":"label","type":"string | undefined","required":false,"description":"Accessible label. The activator is named by it followed by the activator's own text (\"Due date 12 Sep\"), through `aria-labelledby`."},{"name":"max","type":"string | undefined","required":false,"description":"Maximum selectable time, `HH:mm` (other shapes throw at setup). The columns disable the entries no in-range time can use; a typed value (or an hour beside an out-of-range minute) is clamped with a `disabled_time` error."},{"name":"min","type":"string | undefined","required":false,"description":"Minimum selectable time, `HH:mm` (other shapes throw at setup). The columns disable the entries no in-range time can use; a typed value (or an hour beside an out-of-range minute) is clamped with a `disabled_time` error."},{"name":"modelValue","type":"string | string[] | null","required":true,"description":"v-model value: `null` for empty, a 24-hour `HH:mm` (or `HH:mm:ss` with `seconds`) string, or a two-element `[start, end]` array when `range` is true."},{"name":"offCanvasProps","type":"Partial<BbOffCanvasProps> | undefined","required":false,"description":"Props for the phone sheet (the `BbOffCanvas` that `adaptive` renders on mobile), spread over its defaults. A `pt` inside it styles only the sheet (passthrough guide § Inside the sheet). The sheet hides its ✕; `{ hideClose: false }` brings it back."},{"name":"offset","type":"number | undefined","required":false,"default":"4","description":"Space the popover keeps from the activator."},{"name":"padding","type":"number | undefined","required":false,"description":"Minimum empty space to keep from the edge of the page."},{"name":"placement","type":"Placement | undefined","required":false,"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."},{"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; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:cellColumnHeader","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:disabled","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:open","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:disabled","type":"PtValue | undefined","required":false},{"name":"pt:header:open","type":"PtValue | undefined","required":false},{"name":"pt:item","type":"PtValue | undefined","required":false},{"name":"pt:item:disabled","type":"PtValue | undefined","required":false},{"name":"pt:item:open","type":"PtValue | undefined","required":false},{"name":"pt:item:selected","type":"PtValue | undefined","required":false},{"name":"pt:panel","type":"PtValue | undefined","required":false},{"name":"pt:panel:disabled","type":"PtValue | undefined","required":false},{"name":"pt:panel:open","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:disabled","type":"PtValue | undefined","required":false},{"name":"pt:root:open","type":"PtValue | undefined","required":false},{"name":"pt:sheet","type":"PtValue | undefined","required":false},{"name":"pt:sheet:disabled","type":"PtValue | undefined","required":false},{"name":"pt:sheet:open","type":"PtValue | undefined","required":false},{"name":"range","type":"boolean","required":false,"description":"Range selection: the value is a two-element `[start, end]` array.","default":"false"},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Prevents opening while keeping the activator visible."},{"name":"seconds","type":"boolean | undefined","required":false,"default":"false","description":"Adds the seconds column."},{"name":"step","type":"number | undefined","required":false,"default":"1","description":"Minute-column granularity and arrow stepping."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"Popover/sheet transition duration in milliseconds."}],"events":[{"name":"error","signature":"(error: TimePickerInputError): void","description":"Emitted on every normalization (clamped time)."},{"name":"hidden","signature":"(): void","description":"Emitted once the time panel has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the time panel starts to close."},{"name":"show","signature":"(): void","description":"Emitted as soon as the time panel (the popover, or the sheet on a phone) starts to open."},{"name":"shown","signature":"(): void","description":"Emitted once the time panel is open and its open transition has finished."},{"name":"time-pick","signature":"(payload: { unit: TimeUnit; value: string; }): void","description":"Relay of the raw column pick, before this component combines it into the value. A host binds this to run its own engine; clean consumers ignore it."},{"name":"update:activeSegment","signature":"(value: BbTimePickerSegment): void","description":"The active range end changed (range only)."},{"name":"update:modelValue","signature":"(value: string | string[] | null): void","description":"Emitted when the selected time changes (single/range/null)."}],"slots":[{"name":"activator","type":"BbTimePickerActivatorSlotProps","fields":["props: { ref: (el: unknown) => void; 'aria-haspopup': \"dialog\"; 'aria-expanded': \"true\" | \"false\"; 'aria-labelledby': string; }","anchorProps: { ref: (el: unknown) => void; }","open: boolean","value: string | string[] | null","text: string","disabled: boolean"],"description":"Custom activator element. Apply `v-bind=\"props\"` to your trigger."}],"exposed":[],"models":[{"name":"activeSegment","type":"BbTimePickerSegment | undefined"},{"name":"modelValue","type":"string | string[] | null"}],"cssProps":[{"name":"--bg","value":"var(--bb-panel)","selector":".bb-time-picker__segment--active"},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-time-picker__segment"}],"pt":{"parts":[{"name":"root","description":"The floating element — an invisible positioning wrapper; a `class` on the component lands here. No node on the phone sheet: style what you see with `panel`."},{"name":"panel","description":"The time surface you see — the popover's painted bubble on desktop, the sheet itself on a phone."},{"name":"sheet","description":"The bottom sheet on a phone only (the `BbOffCanvas` root). Applied after `panel`, so it wins a conflict there."},{"name":"header","description":"The readout above the columns — the picked time as the fields show it; the calendar's heading on the date pickers."},{"name":"cellColumnHeader","description":"The letters above each column (`HH`, `MM`, `SS`) — a broadcast, like the calendar's weekday letters."},{"name":"item","description":"One entry in a column (hour, minute, second, AM / PM) — a broadcast resolved per entry."}],"states":[{"name":"selected","description":"Per node, on `item`: the current value's entry in each column."},{"name":"disabled","description":"Component-wide while the picker is `disabled`. Also per node, on `item`: an entry outside `min` / `max` — an hour with no minute in range, a minute out of range for the selected hour, an AM / PM half with no hour in range. Like the calendar's days: shown, not pickable."},{"name":"open","description":"Component-wide: the picker is showing."}]},"tree":{"bindings":[{"part":"panel","target":"div"},{"part":"panel","target":"CommonPopover"}],"forwards":[{"to":"BbOffCanvas","mapping":"{ panel: 'root', sheet: 'root' }"}],"nodes":[{"name":"CommonTimeSelector","kind":"internal","vocabulary":"BbTimePicker","bindings":[{"part":"header","target":"div.bb-time-selector__header"},{"part":"cellColumnHeader","target":"div.bb-time-selector__cell-column-header"},{"part":"item","target":"BbBaseButton"}],"cssProps":[{"name":"--time-row-h","documented":false,"readBy":["bb-time-selector__item","bb-time-selector__scroll"]},{"name":"--time-col-w","documented":false,"readBy":["bb-time-selector__column"]},{"name":"--time-mark","documented":true,"readBy":["bb-time-selector__item"]}],"children":[{"name":"BbBaseButton","kind":"public"}]},{"name":"BbOffCanvas","kind":"public"},{"name":"CommonPopover","kind":"internal"}]},"css":{"classes":{"bb-time-picker":["","__panel","__panel--sheet","__segment","__segment--active","__segments","__sheet"]},"locals":["--bg","--color-gray-200","--ring-t"],"surface":{"stable":[{"class":"bb-time-picker","tag":"CommonPopover","part":"root"},{"class":"bb-time-picker__panel","part":"panel"},{"class":"bb-time-picker__sheet","tag":"BbOffCanvas","part":"sheet"}],"internal":[{"class":"bb-time-picker__panel--sheet"},{"class":"bb-time-picker__segment","tag":"button","reads":["--ring-t"]},{"class":"bb-time-picker__segment--active","tag":"button","reads":["--bg"]},{"class":"bb-time-picker__segments","tag":"div"}],"via":[{"part":"item","component":"BbBaseButton"}],"lands":[{"part":"header","target":"div.bb-time-selector__header"},{"part":"cellColumnHeader","target":"div.bb-time-selector__cell-column-header"}],"unaligned":{"states":["selected","disabled","open"]}}},"attrTargets":["dialog"],"config":"adaptive*"},
|
|
436
436
|
{"name":"BbTimePickerInput","group":"Inputs","description":"Segmented time field with hour/minute columns; 24-hour string model.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbTimePickerInput.md","source":"ai/source/BbTimePickerInput.md","props":[{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"On mobile the time columns open inside a bottom off-canvas sheet instead of a floating popover. When unset, falls back to the global `all.adaptive`."},{"name":"ampm","type":"boolean | undefined","required":false,"default":"false","description":"12-hour display with an AM/PM segment. Purely a field-composition concern: the model stays 24-hour. Type `A`/`P` (or ArrowUp/Down) to set the meridiem."},{"name":"append:icon","type":"string | undefined","required":false,"description":"Name of the icon to be added at the end of the input."},{"name":"autocomplete","type":"string | undefined","required":false,"default":"'off'","description":"Guides the browser as to the type of information expected in the field."},{"name":"autofocus","type":"Booleanish | undefined","required":false,"description":"Focuses the field when it mounts (a dialog already open included), unless the user is typing in another field."},{"name":"clearable","type":"boolean | undefined","required":false,"default":"false","description":"Displays a clear button when the input has a value and is being interacted with."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Compact density: the field uses the `-compact` twins of `--bb-input-h`, `--bb-input-py` and `--bb-label-spacing-y`, so a `--bb-input-h` set on the component is ignored while it is on. Size a compact field with `--bb-input-h-compact` (and `--bb-input-py-compact`)."},{"name":"description","type":"string | undefined","required":false,"description":"Descriptive text displayed below the label and above the input. Always visible and linked to the input via `aria-describedby` (after any `errors` / `warnings`, before the `hint`)."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the component."},{"name":"disableWriting","type":"boolean | \"mobile\" | \"desktop\" | undefined","required":false,"default":"false","description":"Disables typing into the input. Use `'mobile'` / `'desktop'` to disable typing on one platform only."},{"name":"errors","type":"string | string[] | undefined","required":false,"description":"Error messages under the field, a string or string array. They render in an `aria-live=\"polite\"` region and are referenced first from the segment inputs' `aria-describedby`, so they are re-read when a segment regains focus."},{"name":"formless","type":"boolean | undefined","required":false,"default":"false","description":"Keep this control out of the enclosing `BbForm` entirely: not submitted, not dirty, not reset, not validated. For a control that is not form data (a filter, a \"show advanced\" switch)."},{"name":"hasErrors","type":"boolean | undefined","required":false,"default":"false","description":"Define if the component should be in an error state. It usually attaches a CSS class for styling purposes."},{"name":"hasWarnings","type":"boolean | undefined","required":false,"default":"false","description":"Define if the component should be in a warning state. Same chrome as errors with `--bb-warn`; errors take priority."},{"name":"hideLabel","type":"boolean | undefined","required":false,"default":"false","description":"Visually hides the label of the input while maintaining accessibility. Pair it with a `placeholder`: an empty field otherwise shows nothing saying what it is for."},{"name":"hint","type":"string | undefined","required":false,"description":"Text box to be displayed near the input, usually to indicate instructions."},{"name":"id","type":"string | undefined","required":false,"description":"The `id` of the native control; the label's `for` and the description and message ids derive from it. Generated when omitted."},{"name":"inputAlign","type":"FieldCrossAlign | undefined","required":false,"values":["center","top","bottom"],"description":"Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, `'top'`."},{"name":"label","type":"string","required":true,"description":"Text content of the label of the element."},{"name":"labelAlign","type":"FieldCrossAlign | undefined","required":false,"values":["center","top","bottom"],"description":"Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, `'top'`."},{"name":"labelMode","type":"\"outside\" | \"floating\" | \"inside\" | undefined","required":false,"description":"Label rendering mode."},{"name":"labelPosition","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\" | undefined","required":false,"default":"'start'","description":"Text alignment of the label. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction."},{"name":"layout","type":"Responsive<FieldLayout> | undefined","required":false,"description":"How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`)."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Sets the component in a loading state, usually triggering some visual styles."},{"name":"max","type":"string | undefined","required":false,"description":"Maximum selectable time, `HH:mm` (other shapes throw at setup). The columns disable the entries no in-range time can use; a typed value (or an hour beside an out-of-range minute) is clamped with a `disabled_time` error."},{"name":"min","type":"string | undefined","required":false,"description":"Minimum selectable time, `HH:mm` (other shapes throw at setup). The columns disable the entries no in-range time can use; a typed value (or an hour beside an out-of-range minute) is clamped with a `disabled_time` error."},{"name":"modelValue","type":"string | string[] | null | undefined","required":false,"description":"v-model value: `null` for empty, a 24-hour `HH:mm` (or `HH:mm:ss` with `seconds`) string, or a two-element array when `range` is true."},{"name":"name","type":"string | undefined","required":false,"description":"Defines the name of the input."},{"name":"offCanvasProps","type":"Partial<BbOffCanvasProps> | undefined","required":false,"description":"Props for the phone sheet (the `BbOffCanvas` that `adaptive` renders on mobile), spread over its defaults. A `pt` inside it styles only the sheet (passthrough guide § Inside the sheet). The sheet hides its ✕; `{ hideClose: false }` brings it back."},{"name":"persistentHint","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the hint displayed."},{"name":"placeholder","type":"string | undefined","required":false,"description":"Text shown while the field is empty."},{"name":"prepend:icon","type":"string | undefined","required":false,"description":"Name of the icon to be added at the start of the input."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"activator\", \"panel\", \"sheet\", \"header\", \"cellColumnHeader\", \"item\"]; readonly states: readonly [\"hasValue\", \"selected\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly node: { readonly item: readonly [\"selected\"]; }; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"timePickerInputVariants\"; readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"activator\"]; }; }> & { header?: PtValue | undefined; input?: PtValue | undefined; label?: PtValue | undefined; prefix?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined; panel?: PtValue | undefined; \"header:disabled\"?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; \"icon:open\"?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; spinner?: PtValue | undefined; clear?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"spinner:loading\"?: PtValue | undefined; \"clear:loading\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; item?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"spinner:disabled\"?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; \"cellColumnHeader:disabled\"?: PtValue | undefined; \"item:selected\"?: 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; \"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; box?: PtValue | undefined; suffix?: PtValue | undefined; sheet?: PtValue | undefined; \"input:disabled\"?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"input:loading\"?: PtValue | undefined; \"input:errors\"?: PtValue | undefined; \"input:warnings\"?: PtValue | undefined; \"input:readonly\"?: PtValue | undefined; \"input:hasValue\"?: PtValue | undefined; \"label:open\"?: PtValue | undefined; \"prefix:disabled\"?: PtValue | undefined; \"prefix:open\"?: PtValue | undefined; \"prefix:loading\"?: PtValue | undefined; \"prefix:errors\"?: PtValue | undefined; \"prefix:warnings\"?: PtValue | undefined; \"prefix:readonly\"?: PtValue | undefined; \"prefix:hasValue\"?: PtValue | undefined; \"panel:loading\"?: PtValue | undefined; \"panel:errors\"?: PtValue | undefined; \"panel:warnings\"?: PtValue | undefined; \"panel:readonly\"?: PtValue | undefined; \"panel:hasValue\"?: PtValue | undefined; \"spinner:open\"?: PtValue | undefined; \"spinner:errors\"?: PtValue | undefined; \"spinner:warnings\"?: PtValue | undefined; \"spinner:readonly\"?: PtValue | undefined; \"spinner:hasValue\"?: PtValue | undefined; \"clear:open\"?: PtValue | undefined; \"clear:errors\"?: PtValue | undefined; \"clear:warnings\"?: PtValue | undefined; \"clear:hasValue\"?: PtValue | undefined; \"description:open\"?: PtValue | undefined; \"message:open\"?: PtValue | undefined; \"hint:open\"?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:open\"?: 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:open\"?: PtValue | undefined; \"suffix:loading\"?: PtValue | undefined; \"suffix:errors\"?: PtValue | undefined; \"suffix:warnings\"?: PtValue | undefined; \"suffix:readonly\"?: PtValue | undefined; \"suffix:hasValue\"?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"sheet:loading\"?: PtValue | undefined; \"sheet:errors\"?: PtValue | undefined; \"sheet:warnings\"?: PtValue | undefined; \"sheet:readonly\"?: PtValue | undefined; \"sheet:hasValue\"?: PtValue | undefined; activator?: PtValue | undefined; \"item:open\"?: PtValue | undefined; \"cellColumnHeader:open\"?: PtValue | undefined; \"header:loading\"?: PtValue | undefined; \"header:errors\"?: PtValue | undefined; \"header:warnings\"?: PtValue | undefined; \"header:readonly\"?: PtValue | undefined; \"header:hasValue\"?: PtValue | undefined; \"cellColumnHeader:loading\"?: PtValue | undefined; \"cellColumnHeader:errors\"?: PtValue | undefined; \"cellColumnHeader:warnings\"?: PtValue | undefined; \"cellColumnHeader:readonly\"?: PtValue | undefined; \"cellColumnHeader:hasValue\"?: PtValue | undefined; \"activator:disabled\"?: PtValue | undefined; \"activator:open\"?: PtValue | undefined; \"activator:loading\"?: PtValue | undefined; \"activator:errors\"?: PtValue | undefined; \"activator:warnings\"?: PtValue | undefined; \"activator:readonly\"?: PtValue | undefined; \"activator:hasValue\"?: 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; \"activator:outline\"?: PtValue | undefined; \"activator:secondary\"?: PtValue | undefined; \"activator:ghost\"?: PtValue | undefined; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:activator","type":"PtValue | undefined","required":false},{"name":"pt:activator:disabled","type":"PtValue | undefined","required":false},{"name":"pt:activator:errors","type":"PtValue | undefined","required":false},{"name":"pt:activator:ghost","type":"PtValue | undefined","required":false},{"name":"pt:activator:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:activator:loading","type":"PtValue | undefined","required":false},{"name":"pt:activator:open","type":"PtValue | undefined","required":false},{"name":"pt:activator:outline","type":"PtValue | undefined","required":false},{"name":"pt:activator:readonly","type":"PtValue | undefined","required":false},{"name":"pt:activator:secondary","type":"PtValue | undefined","required":false},{"name":"pt:activator:warnings","type":"PtValue | undefined","required":false},{"name":"pt:box","type":"PtValue | undefined","required":false},{"name":"pt:box:disabled","type":"PtValue | undefined","required":false},{"name":"pt:box:errors","type":"PtValue | undefined","required":false},{"name":"pt:box:ghost","type":"PtValue | undefined","required":false},{"name":"pt:box:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:box:loading","type":"PtValue | undefined","required":false},{"name":"pt:box:open","type":"PtValue | undefined","required":false},{"name":"pt:box:outline","type":"PtValue | undefined","required":false},{"name":"pt:box:readonly","type":"PtValue | undefined","required":false},{"name":"pt:box:secondary","type":"PtValue | undefined","required":false},{"name":"pt:box:warnings","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:disabled","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:errors","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:loading","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:open","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:readonly","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:warnings","type":"PtValue | undefined","required":false},{"name":"pt:clear","type":"PtValue | undefined","required":false},{"name":"pt:clear:errors","type":"PtValue | undefined","required":false},{"name":"pt:clear:ghost","type":"PtValue | undefined","required":false},{"name":"pt:clear:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:clear:loading","type":"PtValue | undefined","required":false},{"name":"pt:clear:open","type":"PtValue | undefined","required":false},{"name":"pt:clear:outline","type":"PtValue | undefined","required":false},{"name":"pt:clear:secondary","type":"PtValue | undefined","required":false},{"name":"pt:clear:warnings","type":"PtValue | undefined","required":false},{"name":"pt:description","type":"PtValue | undefined","required":false},{"name":"pt:description:disabled","type":"PtValue | undefined","required":false},{"name":"pt:description:errors","type":"PtValue | undefined","required":false},{"name":"pt:description:ghost","type":"PtValue | undefined","required":false},{"name":"pt:description:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:description:loading","type":"PtValue | undefined","required":false},{"name":"pt:description:open","type":"PtValue | undefined","required":false},{"name":"pt:description:outline","type":"PtValue | undefined","required":false},{"name":"pt:description:readonly","type":"PtValue | undefined","required":false},{"name":"pt:description:secondary","type":"PtValue | undefined","required":false},{"name":"pt:description:warnings","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:disabled","type":"PtValue | undefined","required":false},{"name":"pt:header:errors","type":"PtValue | undefined","required":false},{"name":"pt:header:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:header:loading","type":"PtValue | undefined","required":false},{"name":"pt:header:open","type":"PtValue | undefined","required":false},{"name":"pt:header:readonly","type":"PtValue | undefined","required":false},{"name":"pt:header:warnings","type":"PtValue | undefined","required":false},{"name":"pt:hint","type":"PtValue | undefined","required":false},{"name":"pt:hint:disabled","type":"PtValue | undefined","required":false},{"name":"pt:hint:errors","type":"PtValue | undefined","required":false},{"name":"pt:hint:ghost","type":"PtValue | undefined","required":false},{"name":"pt:hint:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:hint:loading","type":"PtValue | undefined","required":false},{"name":"pt:hint:open","type":"PtValue | undefined","required":false},{"name":"pt:hint:outline","type":"PtValue | undefined","required":false},{"name":"pt:hint:readonly","type":"PtValue | undefined","required":false},{"name":"pt:hint:secondary","type":"PtValue | undefined","required":false},{"name":"pt:hint:warnings","type":"PtValue | undefined","required":false},{"name":"pt:icon","type":"PtValue | undefined","required":false},{"name":"pt:icon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:icon:errors","type":"PtValue | undefined","required":false},{"name":"pt:icon:ghost","type":"PtValue | undefined","required":false},{"name":"pt:icon:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:icon:loading","type":"PtValue | undefined","required":false},{"name":"pt:icon:open","type":"PtValue | undefined","required":false},{"name":"pt:icon:outline","type":"PtValue | undefined","required":false},{"name":"pt:icon:readonly","type":"PtValue | undefined","required":false},{"name":"pt:icon:secondary","type":"PtValue | undefined","required":false},{"name":"pt:icon:warnings","type":"PtValue | undefined","required":false},{"name":"pt:input","type":"PtValue | undefined","required":false},{"name":"pt:input:disabled","type":"PtValue | undefined","required":false},{"name":"pt:input:errors","type":"PtValue | undefined","required":false},{"name":"pt:input:ghost","type":"PtValue | undefined","required":false},{"name":"pt:input:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:input:loading","type":"PtValue | undefined","required":false},{"name":"pt:input:open","type":"PtValue | undefined","required":false},{"name":"pt:input:outline","type":"PtValue | undefined","required":false},{"name":"pt:input:readonly","type":"PtValue | undefined","required":false},{"name":"pt:input:secondary","type":"PtValue | undefined","required":false},{"name":"pt:input:warnings","type":"PtValue | undefined","required":false},{"name":"pt:item","type":"PtValue | undefined","required":false},{"name":"pt:item:disabled","type":"PtValue | undefined","required":false},{"name":"pt:item:errors","type":"PtValue | undefined","required":false},{"name":"pt:item:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:item:loading","type":"PtValue | undefined","required":false},{"name":"pt:item:open","type":"PtValue | undefined","required":false},{"name":"pt:item:readonly","type":"PtValue | undefined","required":false},{"name":"pt:item:selected","type":"PtValue | undefined","required":false},{"name":"pt:item:warnings","type":"PtValue | undefined","required":false},{"name":"pt:label","type":"PtValue | undefined","required":false},{"name":"pt:label:disabled","type":"PtValue | undefined","required":false},{"name":"pt:label:errors","type":"PtValue | undefined","required":false},{"name":"pt:label:ghost","type":"PtValue | undefined","required":false},{"name":"pt:label:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:label:loading","type":"PtValue | undefined","required":false},{"name":"pt:label:open","type":"PtValue | undefined","required":false},{"name":"pt:label:outline","type":"PtValue | undefined","required":false},{"name":"pt:label:readonly","type":"PtValue | undefined","required":false},{"name":"pt:label:secondary","type":"PtValue | undefined","required":false},{"name":"pt:label:warnings","type":"PtValue | undefined","required":false},{"name":"pt:message","type":"PtValue | undefined","required":false},{"name":"pt:message:disabled","type":"PtValue | undefined","required":false},{"name":"pt:message:errors","type":"PtValue | undefined","required":false},{"name":"pt:message:ghost","type":"PtValue | undefined","required":false},{"name":"pt:message:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:message:loading","type":"PtValue | undefined","required":false},{"name":"pt:message:open","type":"PtValue | undefined","required":false},{"name":"pt:message:outline","type":"PtValue | undefined","required":false},{"name":"pt:message:readonly","type":"PtValue | undefined","required":false},{"name":"pt:message:secondary","type":"PtValue | undefined","required":false},{"name":"pt:message:warnings","type":"PtValue | undefined","required":false},{"name":"pt:panel","type":"PtValue | undefined","required":false},{"name":"pt:panel:disabled","type":"PtValue | undefined","required":false},{"name":"pt:panel:errors","type":"PtValue | undefined","required":false},{"name":"pt:panel:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:panel:loading","type":"PtValue | undefined","required":false},{"name":"pt:panel:open","type":"PtValue | undefined","required":false},{"name":"pt:panel:readonly","type":"PtValue | undefined","required":false},{"name":"pt:panel:warnings","type":"PtValue | undefined","required":false},{"name":"pt:prefix","type":"PtValue | undefined","required":false},{"name":"pt:prefix:disabled","type":"PtValue | undefined","required":false},{"name":"pt:prefix:errors","type":"PtValue | undefined","required":false},{"name":"pt:prefix:ghost","type":"PtValue | undefined","required":false},{"name":"pt:prefix:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:prefix:loading","type":"PtValue | undefined","required":false},{"name":"pt:prefix:open","type":"PtValue | undefined","required":false},{"name":"pt:prefix:outline","type":"PtValue | undefined","required":false},{"name":"pt:prefix:readonly","type":"PtValue | undefined","required":false},{"name":"pt:prefix:secondary","type":"PtValue | undefined","required":false},{"name":"pt:prefix:warnings","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:disabled","type":"PtValue | undefined","required":false},{"name":"pt:root:errors","type":"PtValue | undefined","required":false},{"name":"pt:root:ghost","type":"PtValue | undefined","required":false},{"name":"pt:root:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:root:loading","type":"PtValue | undefined","required":false},{"name":"pt:root:open","type":"PtValue | undefined","required":false},{"name":"pt:root:outline","type":"PtValue | undefined","required":false},{"name":"pt:root:readonly","type":"PtValue | undefined","required":false},{"name":"pt:root:secondary","type":"PtValue | undefined","required":false},{"name":"pt:root:warnings","type":"PtValue | undefined","required":false},{"name":"pt:sheet","type":"PtValue | undefined","required":false},{"name":"pt:sheet:disabled","type":"PtValue | undefined","required":false},{"name":"pt:sheet:errors","type":"PtValue | undefined","required":false},{"name":"pt:sheet:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:sheet:loading","type":"PtValue | undefined","required":false},{"name":"pt:sheet:open","type":"PtValue | undefined","required":false},{"name":"pt:sheet:readonly","type":"PtValue | undefined","required":false},{"name":"pt:sheet:warnings","type":"PtValue | undefined","required":false},{"name":"pt:spinner","type":"PtValue | undefined","required":false},{"name":"pt:spinner:disabled","type":"PtValue | undefined","required":false},{"name":"pt:spinner:errors","type":"PtValue | undefined","required":false},{"name":"pt:spinner:ghost","type":"PtValue | undefined","required":false},{"name":"pt:spinner:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:spinner:loading","type":"PtValue | undefined","required":false},{"name":"pt:spinner:open","type":"PtValue | undefined","required":false},{"name":"pt:spinner:outline","type":"PtValue | undefined","required":false},{"name":"pt:spinner:readonly","type":"PtValue | undefined","required":false},{"name":"pt:spinner:secondary","type":"PtValue | undefined","required":false},{"name":"pt:spinner:warnings","type":"PtValue | undefined","required":false},{"name":"pt:suffix","type":"PtValue | undefined","required":false},{"name":"pt:suffix:disabled","type":"PtValue | undefined","required":false},{"name":"pt:suffix:errors","type":"PtValue | undefined","required":false},{"name":"pt:suffix:ghost","type":"PtValue | undefined","required":false},{"name":"pt:suffix:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:suffix:loading","type":"PtValue | undefined","required":false},{"name":"pt:suffix:open","type":"PtValue | undefined","required":false},{"name":"pt:suffix:outline","type":"PtValue | undefined","required":false},{"name":"pt:suffix:readonly","type":"PtValue | undefined","required":false},{"name":"pt:suffix:secondary","type":"PtValue | undefined","required":false},{"name":"pt:suffix:warnings","type":"PtValue | undefined","required":false},{"name":"range","type":"boolean","required":false,"description":"Range selection: v-model expects a two-element array `[start, end]`. An inverted pair swaps on finalize with an `end_before_start` error.","default":"false"},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Sets the input in a readonly state."},{"name":"required","type":"boolean | undefined","required":false,"default":"false","description":"Sets the input as required."},{"name":"reverse","type":"boolean | undefined","required":false,"default":"undefined","description":"Reverses the layout: the order of the label and the input is swapped."},{"name":"rules","type":"RuleExpression<string | string[] | null>","required":false,"description":"vee-validate rules for this field. Only inside a `BbForm`."},{"name":"seconds","type":"boolean | undefined","required":false,"default":"false","description":"Adds the seconds segment. Without it an incoming value carrying seconds displays truncated and zeroes out on the next user commit."},{"name":"step","type":"number | undefined","required":false,"default":"1","description":"Minute granularity for the popover minute column. Constrains what the columns produce, never what typing accepts; ArrowUp/Down on a segment always step by 1."},{"name":"transitionDuration","type":"number | undefined","required":false,"description":"Transition duration, in milliseconds, for the popover appearance."},{"name":"validationLabel","type":"string | undefined","required":false,"description":"The field's name in validation messages (`{field}`): \"Email is not valid\". Defaults to the `label` (or `legend`), then \"This field\"; never the `name`. Set it when the label is hidden or reads badly in a sentence (icon-only, a question). `BbForm` only."},{"name":"validationMode","type":"ValidationMode | undefined","required":false,"values":["aggressive","balanced","lazy","submit-only","submit-live"],"description":"When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `all.validationMode` (`'balanced'`). `BbForm` only."},{"name":"variant","type":"InputVariantOf<TimePickerInputVariantRegistry> | undefined","required":false,"default":"'outline'","values":["outline","secondary","none","ghost"],"description":"The field box's look, with `BbButton`'s names and tokens. Colours only, so a form never reflows; `'ghost'` has no border in any state, `'none'` no look at all (you own hover, focus and the states). Register more with the plugin's `components.BbTimePickerInput.variants`."},{"name":"warnings","type":"string | string[] | undefined","required":false,"description":"Warning messages under the field, a string or array: amber, in their own `aria-live` region and in the control's `aria-describedby` after the errors. Non-empty turns on the warning state; errors win when both are set."}],"events":[{"name":"active","signature":"(): void","description":"Emitted when the composite control receives focus."},{"name":"error","signature":"(error: TimePickerInputError): void","description":"Emitted on every normalization (clamped time, swapped range)."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when a native text field inside the control gains focus."},{"name":"hidden","signature":"(): void","description":"Emitted once the time panel has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the time panel starts to close."},{"name":"inactive","signature":"(): void","description":"Emitted when focus/click moves outside the composite control."},{"name":"show","signature":"(): void","description":"Emitted as soon as the time panel (the popover, or the sheet on a phone) starts to open."},{"name":"shown","signature":"(): void","description":"Emitted once the time panel is open and its open transition has finished."},{"name":"update:modelValue","signature":"(value: string | string[] | null): void","description":"Emitted whenever the selected time changes. `null` for cleared values, a `HH:mm(:ss)` string, or an array in range mode."}],"slots":[{"name":"append","type":"object","description":"Content rendered after the time fields (before the clock button)."},{"name":"append:outer","type":"object","description":"Content rendered after the entire control, outside the input chrome."},{"name":"description","type":"BbTimePickerInputDescriptionSlotProps","fields":["text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the description text. Provided alone (no `description` prop) it still renders the description region and wires it into `aria-describedby`."},{"name":"label","type":"BbTimePickerInputLabelSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default label text rendered above the input."},{"name":"prefix","type":"object","description":"Inline content at the start of the field area."},{"name":"prepend","type":"object","description":"Content rendered before the time fields, at the start of the field box."},{"name":"prepend:outer","type":"object","description":"Content rendered before the entire control, outside the input chrome."},{"name":"suffix","type":"object","description":"Inline content at the end of the field area."}],"exposed":[],"models":[{"name":"modelValue","type":"string | string[] | null | undefined"}],"cssProps":[{"name":"--border-color","value":"per variant","selector":"pt:box","description":"The resting border, at the fixed --bb-border-w. Errors and warnings paint their frame over it, so `pt:box=\"[--border-color:…]\"` recolours the rest without hiding the state; a plain `border-*` utility on the base pt:box would hide it (ESLint `no-box-border-color`)."},{"name":"--ph","value":"var(--bb-text-muted)","selector":"pt:box","description":"Placeholder colour, one local for every field: the native `::placeholder`, BbSelect's activator text and the picker inputs' empty segments. Set it through `pt:box=\"[--ph:…]\"`; app-wide, the same entry in the global pt map."}],"pt":{"parts":[{"name":"root","description":"The field's outer container: the label, the box and the lines under it."},{"name":"label","description":"The label text above the box (the `label` prop)."},{"name":"description","description":"The muted line under the label (the `description` prop)."},{"name":"message","description":"The errors / warnings line under the box. A node of its own: it can show at the same time as `hint`."},{"name":"hint","description":"The helper line (the `hint` prop), shown on focus, or always with `persistent-hint`."},{"name":"box","description":"The bordered box around the input — border, background and radius; the `variant` paints here."},{"name":"input","description":"Every segment field (hours, minutes, seconds) — a broadcast."},{"name":"icon","description":"The content icons, prepend and append — a broadcast. Chrome (the clear ✕, a chevron, the error / warning glyph) is never in it."},{"name":"spinner","description":"The spinner inside the box while `loading`."},{"name":"prefix","description":"The `#prefix` slot's wrapper, inside the box before the input."},{"name":"suffix","description":"The `#suffix` slot's wrapper, inside the box after the input."},{"name":"clear","description":"The ✕ that empties this control (`clearable`) — one node, never a chip's own ✕."},{"name":"activator","description":"The button in the box that opens the panel. Merged after the input's own click handler, so a listener of yours runs after ours. Its glyph is not a part."},{"name":"panel","description":"The time surface — the popover's painted bubble on desktop, the sheet itself on a phone."},{"name":"sheet","description":"The bottom sheet around the panel on a phone only."},{"name":"header","description":"The readout above the columns — the picked time; the calendar's heading on the date pickers."},{"name":"cellColumnHeader","description":"The letters above each column (`HH`, `MM`, `SS`) — a broadcast, like the calendar's weekday letters."},{"name":"item","description":"One column entry (hour, minute, second, AM / PM) — a broadcast."}],"states":[{"name":"hasValue","description":"Component-wide: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`)."},{"name":"selected","description":"Per node, on `item`: the current value's entries."},{"name":"readonly","description":"Component-wide: the control is `readonly` — shown, focusable, not editable."},{"name":"disabled","description":"Component-wide while the input is `disabled`. Also per node, on `item`: an entry outside `min` / `max` — an hour with no minute in range, a minute out of range for the selected hour, an AM / PM half with no hour in range. Like the calendar's days: shown, not pickable."},{"name":"warnings","description":"Component-wide: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together."},{"name":"errors","description":"Component-wide: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red."},{"name":"open","description":"Component-wide: the panel is showing — `pt:activator:open` styles the trigger while it is."},{"name":"loading","description":"Component-wide: `loading` is on; the box shows its `spinner`."},{"name":"ghost","description":"On the field's parts: `variant: 'ghost'`. Below the real states, like every variant."},{"name":"outline","description":"On the field's parts: `variant: 'outline'`. Merged after the part's base entry and before its states, so the real states still win."},{"name":"secondary","description":"On the field's parts: `variant: 'secondary'`. Below the real states, like every variant."}]},"tree":{"bindings":[{"part":"controlAttrs","target":"input.bb-segmented-field__input"},{"part":"input","target":"input.bb-segmented-field__input"},{"part":"activator","target":"button.bb-segmented-field__activator"},{"part":"suffix","target":"span.bb-field-input__suffix"},{"part":"panel","target":"div"},{"part":"panel","target":"CommonPopover"}],"forwards":[{"to":"BbOffCanvas","mapping":"{ panel: 'root', sheet: 'root' }"}],"nodes":[{"name":"BbIcon","kind":"public"},{"name":"BbOffCanvas","kind":"public"},{"name":"CommonField","kind":"internal","vocabulary":"BbTimePickerInput","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"}]},{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbTimePickerInput","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"}]}]},{"name":"CommonPopover","kind":"internal"},{"name":"CommonTimeSelector","kind":"internal","vocabulary":"BbTimePickerInput","bindings":[{"part":"header","target":"div.bb-time-selector__header"},{"part":"cellColumnHeader","target":"div.bb-time-selector__cell-column-header"},{"part":"item","target":"BbBaseButton"}],"cssProps":[{"name":"--time-row-h","documented":false,"readBy":["bb-time-selector__item","bb-time-selector__scroll"]},{"name":"--time-col-w","documented":false,"readBy":["bb-time-selector__column"]},{"name":"--time-mark","documented":true,"readBy":["bb-time-selector__item"]}],"children":[{"name":"BbBaseButton","kind":"public"}]}]},"css":{"classes":{"bb-time-picker-input":["","__accessible-description","__field","__field--range","__panel","__panel--sheet","__popover","__sheet"]},"locals":["--color-gray-200","--fields-min-ch","--ph","--trigger-btn-h"],"surface":{"stable":[{"class":"bb-time-picker-input","tag":"CommonField","part":"root"},{"class":"bb-time-picker-input__panel","part":"panel"},{"class":"bb-time-picker-input__sheet","tag":"BbOffCanvas","part":"sheet"}],"internal":[{"class":"bb-time-picker-input__accessible-description","tag":"span"},{"class":"bb-time-picker-input__field","tag":"CommonFieldInput"},{"class":"bb-time-picker-input__field--range","tag":"CommonFieldInput"},{"class":"bb-time-picker-input__panel--sheet"},{"class":"bb-time-picker-input__popover","tag":"CommonPopover"}],"via":[{"part":"icon","component":"BbIcon"},{"part":"spinner","component":"BbSpinner"},{"part":"item","component":"BbBaseButton"}],"lands":[{"part":"description","target":"span.bb-field__description"},{"part":"message","target":"div.bb-field__message"},{"part":"hint","target":"span.bb-field__hint"},{"part":"box","target":"span.bb-field-input__box"},{"part":"input","target":"input.bb-segmented-field__input"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"suffix","target":"span.bb-field-input__suffix"},{"part":"clear","target":"ClearableButton"},{"part":"activator","target":"button.bb-segmented-field__activator"},{"part":"header","target":"div.bb-time-selector__header"},{"part":"cellColumnHeader","target":"div.bb-time-selector__cell-column-header"}],"unaligned":{"parts":["label"],"states":["hasValue","selected","readonly","disabled","warnings","errors","open","loading","ghost","outline","secondary"]}}},"attrTargets":["div","input"],"config":"labelMode*, validationMode*, autocomplete*, compact*, layout*, reverse*, adaptive*, variants","removed":[{"name":"hasWarning","new":"hasWarnings","since":"3.0.0-beta.26","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"direction","new":"layout","since":"3.0.0-beta.33","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"prepend-outer","new":"prepend:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"append-outer","new":"append:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"vid","new":null,"hint":"a display name (v2: `vid=\"Email address\"`) is now `validation-label`; a field path (3.0 betas: `vid=\"address.city\"`) is now `name` (brackets for a native post: `address[city]`). `check --fix` picks by the value","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"byValue","display":"validationLabel","key":"name"}},{"name":"validateOn","new":"validationMode","hint":"an array of events became one mode (`aggressive` | `balanced` | `lazy` | `submit-only` | `submit-live`). The old defaults (`['blur']`, `['inactive']`, a toggle's `['update:modelValue', 'change', 'blur']`) are `balanced`, the new default: delete the prop. A text field on `['update:modelValue']` is `validation-mode=\"aggressive\"`. Set it once on `<BbForm validation-mode>` instead of per field","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"manual"}}],"renamed":[{"from":"hasWarning","to":"hasWarnings","since":"3.0.0-beta.26","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"direction","to":"layout","since":"3.0.0-beta.33","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"prepend-outer","to":"prepend:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"append-outer","to":"append:outer","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"validateOn","to":"validationMode","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"manual"},"hint":"an array of events became one mode (`aggressive` | `balanced` | `lazy` | `submit-only` | `submit-live`). The old defaults (`['blur']`, `['inactive']`, a toggle's `['update:modelValue', 'change', 'blur']`) are `balanced`, the new default: delete the prop. A text field on `['update:modelValue']` is `validation-mode=\"aggressive\"`. Set it once on `<BbForm validation-mode>` instead of per field"}]},
|
|
437
|
-
{"name":"BbToast","group":"Feedback","description":"The toast() stack.","referenceOnly":true,"hasGuide":true,"contract":"ai/BbToast.md","source":"ai/source/BbToast.md","props":[{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"icon\", \"content\", \"title\", \"text\", \"footer\", \"action\", \"close\"]; readonly states: readonly [\"loading\"]; readonly wide: readonly []; readonly node: { readonly panel: readonly [\"loading\"]; readonly icon: readonly [\"loading\"]; readonly content: readonly [\"loading\"]; readonly title: readonly [\"loading\"]; readonly text: readonly [\"loading\"]; readonly footer: readonly [\"loading\"]; readonly action: readonly [\"loading\"]; readonly close: readonly [\"loading\"]; }; readonly variant: { readonly names: readonly [\"default\", \"success\", \"info\", \"warning\", \"destructive\"]; readonly option: \"toastVariants\"; readonly parts: readonly [\"panel\", \"icon\", \"content\", \"title\", \"text\", \"footer\", \"action\", \"close\"]; }; }> & PtMap<BbToastPtPart, never> & { \"title:destructive\"?: PtValue | undefined; \"title:warning\"?: PtValue | undefined; \"text:destructive\"?: PtValue | undefined; \"text:warning\"?: PtValue | undefined; \"icon:destructive\"?: PtValue | undefined; \"icon:warning\"?: PtValue | undefined; \"close:destructive\"?: PtValue | undefined; \"close:warning\"?: PtValue | undefined; \"text:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"panel:loading\"?: PtValue | undefined; \"footer:default\"?: PtValue | undefined; \"footer:destructive\"?: PtValue | undefined; \"title:default\"?: PtValue | undefined; \"text:default\"?: PtValue | undefined; \"close:default\"?: PtValue | undefined; \"content:default\"?: PtValue | undefined; \"content:destructive\"?: PtValue | undefined; \"action:default\"?: PtValue | undefined; \"action:destructive\"?: PtValue | undefined; \"footer:loading\"?: PtValue | undefined; \"title:loading\"?: PtValue | undefined; \"close:loading\"?: PtValue | undefined; \"content:loading\"?: PtValue | undefined; \"action:loading\"?: PtValue | undefined; \"footer:warning\"?: PtValue | undefined; \"footer:success\"?: PtValue | undefined; \"footer:info\"?: PtValue | undefined; \"title:success\"?: PtValue | undefined; \"title:info\"?: PtValue | undefined; \"text:success\"?: PtValue | undefined; \"text:info\"?: PtValue | undefined; \"icon:default\"?: PtValue | undefined; \"icon:success\"?: PtValue | undefined; \"icon:info\"?: PtValue | undefined; \"panel:default\"?: PtValue | undefined; \"panel:destructive\"?: PtValue | undefined; \"panel:warning\"?: PtValue | undefined; \"panel:success\"?: PtValue | undefined; \"panel:info\"?: PtValue | undefined; \"close:success\"?: PtValue | undefined; \"close:info\"?: PtValue | undefined; \"content:warning\"?: PtValue | undefined; \"content:success\"?: PtValue | undefined; \"content:info\"?: PtValue | undefined; \"action:warning\"?: PtValue | undefined; \"action:success\"?: PtValue | undefined; \"action:info\"?: PtValue | undefined; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:action","type":"PtValue | undefined","required":false},{"name":"pt:action:default","type":"PtValue | undefined","required":false},{"name":"pt:action:destructive","type":"PtValue | undefined","required":false},{"name":"pt:action:info","type":"PtValue | undefined","required":false},{"name":"pt:action:loading","type":"PtValue | undefined","required":false},{"name":"pt:action:success","type":"PtValue | undefined","required":false},{"name":"pt:action:warning","type":"PtValue | undefined","required":false},{"name":"pt:close","type":"PtValue | undefined","required":false},{"name":"pt:close:default","type":"PtValue | undefined","required":false},{"name":"pt:close:destructive","type":"PtValue | undefined","required":false},{"name":"pt:close:info","type":"PtValue | undefined","required":false},{"name":"pt:close:loading","type":"PtValue | undefined","required":false},{"name":"pt:close:success","type":"PtValue | undefined","required":false},{"name":"pt:close:warning","type":"PtValue | undefined","required":false},{"name":"pt:content","type":"PtValue | undefined","required":false},{"name":"pt:content:default","type":"PtValue | undefined","required":false},{"name":"pt:content:destructive","type":"PtValue | undefined","required":false},{"name":"pt:content:info","type":"PtValue | undefined","required":false},{"name":"pt:content:loading","type":"PtValue | undefined","required":false},{"name":"pt:content:success","type":"PtValue | undefined","required":false},{"name":"pt:content:warning","type":"PtValue | undefined","required":false},{"name":"pt:footer","type":"PtValue | undefined","required":false},{"name":"pt:footer:default","type":"PtValue | undefined","required":false},{"name":"pt:footer:destructive","type":"PtValue | undefined","required":false},{"name":"pt:footer:info","type":"PtValue | undefined","required":false},{"name":"pt:footer:loading","type":"PtValue | undefined","required":false},{"name":"pt:footer:success","type":"PtValue | undefined","required":false},{"name":"pt:footer:warning","type":"PtValue | undefined","required":false},{"name":"pt:icon","type":"PtValue | undefined","required":false},{"name":"pt:icon:default","type":"PtValue | undefined","required":false},{"name":"pt:icon:destructive","type":"PtValue | undefined","required":false},{"name":"pt:icon:info","type":"PtValue | undefined","required":false},{"name":"pt:icon:loading","type":"PtValue | undefined","required":false},{"name":"pt:icon:success","type":"PtValue | undefined","required":false},{"name":"pt:icon:warning","type":"PtValue | undefined","required":false},{"name":"pt:panel","type":"PtValue | undefined","required":false},{"name":"pt:panel:default","type":"PtValue | undefined","required":false},{"name":"pt:panel:destructive","type":"PtValue | undefined","required":false},{"name":"pt:panel:info","type":"PtValue | undefined","required":false},{"name":"pt:panel:loading","type":"PtValue | undefined","required":false},{"name":"pt:panel:success","type":"PtValue | undefined","required":false},{"name":"pt:panel:warning","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:text","type":"PtValue | undefined","required":false},{"name":"pt:text:default","type":"PtValue | undefined","required":false},{"name":"pt:text:destructive","type":"PtValue | undefined","required":false},{"name":"pt:text:info","type":"PtValue | undefined","required":false},{"name":"pt:text:loading","type":"PtValue | undefined","required":false},{"name":"pt:text:success","type":"PtValue | undefined","required":false},{"name":"pt:text:warning","type":"PtValue | undefined","required":false},{"name":"pt:title","type":"PtValue | undefined","required":false},{"name":"pt:title:default","type":"PtValue | undefined","required":false},{"name":"pt:title:destructive","type":"PtValue | undefined","required":false},{"name":"pt:title:info","type":"PtValue | undefined","required":false},{"name":"pt:title:loading","type":"PtValue | undefined","required":false},{"name":"pt:title:success","type":"PtValue | undefined","required":false},{"name":"pt:title:warning","type":"PtValue | undefined","required":false}],"events":[],"slots":[],"exposed":[],"models":[],"cssProps":[{"name":"--gap","value":"14px","selector":".bb-toast","description":"space between stacked toasts (the peek in the collapsed pile)"},{"name":"--pile-gap","value":"var(--gap)","selector":".bb-toast","description":"The same value under a name the cards do not shadow: a card's own `--gap` is its row's (set `--gap` here, never this)."},{"name":"--offset","value":"20px","selector":".bb-toast","description":"distance from the viewport corner; 14px under 600px wide"},{"name":"--width","value":"356px","selector":".bb-toast","description":"stack width; `auto` (edge to edge) under 600px"},{"name":"--lift","value":"-1","selector":".bb-toast__panel","description":"Direction sign, not elevation: +1 for a top-anchored stack, -1 for a bottom-anchored one. Every vertical term (stack offset, enter/exit slide) is multiplied by it, so one set of formulas serves both corners."},{"name":"--stack-y","value":"0px","selector":".bb-toast__panel","description":"resting offset up/down the pile; composed by the layout rules below"},{"name":"--stack-scale","value":"1","selector":".bb-toast__panel","description":"resting scale — behind toasts shrink 5% per position in the collapsed pile"},{"name":"--enter-y","value":"0px","selector":".bb-toast__panel","description":"the enter/exit slide term of the same transform"},{"name":"--swipe-amount","value":"0px","selector":".bb-toast__panel","description":"live drag offset, set inline while the user swipes to dismiss"},{"name":"--z","value":"1","selector":".bb-toast__panel","description":"stacking order, set inline (front toast highest)"},{"name":"--r","value":"min(var(--bb-radius), 10px)","selector":".bb-toast__panel","description":"Card corners. `border-radius` caps whatever lands here again, at 14px."},{"name":"--ring-size","value":"2px","selector":".bb-toast__panel","description":"focus ring on the close button"},{"name":"--bg","value":"var(--bb-panel)","selector":".bb-toast__panel","description":"card fill, and the close button's own fill"},{"name":"--border-color","value":"var(--bb-border)","selector":".bb-toast__panel","description":"card edge"},{"name":"--bw","value":"var(--bb-border-w)","selector":".bb-toast__panel","description":"Edge width: a real `border`, counted in the measured height; the inner padding and the × take it back, so the card keeps its size."},{"name":"--fg","value":"var(--bb-text)","selector":".bb-toast__panel","description":"title, text and close glyph"},{"name":"--icon-color","value":"var(--bb-text)","selector":".bb-toast__panel","description":"The status glyph only — the variants below re-point this and nothing else"},{"name":"--gap","value":"12px","selector":".bb-toast__panel","description":"The row inside the card (icon, text, close): its gap and its vertical alignment. Read by the row, which is not a part: it is the stack's height-measure box and the pile fade, so it stays nested."},{"name":"--align","value":"flex-start","selector":".bb-toast__panel"},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-toast__close"},{"name":"--icon-color","value":"var(--bb-success)","selector":".bb-toast__panel--success"},{"name":"--icon-color","value":"var(--bb-info)","selector":".bb-toast__panel--info"},{"name":"--icon-color","value":"var(--bb-warn)","selector":".bb-toast__panel--warning"},{"name":"--icon-color","value":"var(--bb-danger)","selector":".bb-toast__panel--destructive"},{"name":"--icon-color","value":"color-mix(in oklab, var(--bb-text) 75%, transparent)","selector":".bb-toast__panel--default"}],"pt":{"parts":[{"name":"root","description":"One region per corner in use — a broadcast over the corners."},{"name":"panel","description":"One toast card — a broadcast."},{"name":"icon","description":"A toast's icon box: its `icon`, or the spinner while it is `loading`. Not rendered for a toast with neither, nor for a portal toast."},{"name":"content","description":"A toast's body column — title, text and actions, or the wrapper around a portal's content."},{"name":"title","description":"A toast's heading. A portal toast renders its own body and has neither `title` nor `text`."},{"name":"text","description":"A toast's body copy."},{"name":"footer","description":"The row of a toast's `actions`. Not rendered without actions, nor for a portal toast."},{"name":"action","description":"Every button of a toast's `actions`, at the button's root — a broadcast. Never the ✕ (`close`)."},{"name":"close","description":"A toast's ✕."}],"states":[{"name":"loading","description":"Per toast, on its card parts (every part but `root`): the toast is `loading` (the spinner shows in its `icon`)."},{"name":"default","description":"Per toast, on its card parts: `variant: 'default'`. Merged after the part's base entry and before its states, so the real states still win."},{"name":"destructive","description":"Per toast, on its card parts: `variant: 'destructive'`. Below the real states, like every variant."},{"name":"info","description":"Per toast, on its card parts: `variant: 'info'`. Below the real states, like every variant."},{"name":"success","description":"Per toast, on its card parts: `variant: 'success'`. Below the real states, like every variant."},{"name":"warning","description":"Per toast, on its card parts: `variant: 'warning'`. Below the real states, like every variant."}]},"tree":{"nodes":[{"name":"BbToastRegion","kind":"internal","vocabulary":"BbToast","bindings":[{"part":"root","target":"ol.bb-toast"}],"children":[{"name":"BbToastMessage","kind":"internal","children":[{"name":"BbIcon","kind":"public"},{"name":"BbSpinner","kind":"public"},{"name":"BbButton","kind":"public"}]}]}]},"css":{"classes":{"bb-toast":["","--*","--bottom-center","--bottom-left","--bottom-right","--expanded","--top-center","--top-left","--top-right","__action","__close","__content","__content--portal","__footer","__icon","__inner","__panel","__panel--*","__panel--default","__panel--destructive","__panel--front","__panel--hidden","__panel--info","__panel--mounted","__panel--removed","__panel--success","__panel--swiping","__panel--warning","__text","__title"]},"locals":["--align","--bg","--border-color","--bw","--color-gray-200","--enter-y","--fg","--front-height","--front-index","--gap","--height-before","--hit","--icon-color","--lift","--offset","--pile-gap","--r","--ring-size","--ring-t","--safe-h","--safe-v","--stack-scale","--stack-y","--swipe-amount","--toast-height","--width","--z"],"surface":{"stable":[{"class":"bb-toast","tag":"ol","part":"root","reads":["--gap","--offset","--width"]},{"class":"bb-toast__panel","tag":"li","part":"panel","reads":["--bg","--border-color","--bw","--enter-y","--fg","--front-height","--front-index","--height-before","--lift","--pile-gap","--r","--stack-scale","--stack-y","--swipe-amount","--toast-height","--z"]},{"class":"bb-toast__icon","tag":"div","part":"icon","reads":["--icon-color"]},{"class":"bb-toast__content","tag":"div","part":"content"},{"class":"bb-toast__title","tag":"p","part":"title","reads":["--fg"]},{"class":"bb-toast__text","tag":"p","part":"text","reads":["--fg"]},{"class":"bb-toast__footer","tag":"div","part":"footer"},{"class":"bb-toast__action","tag":"BbButton","part":"action"},{"class":"bb-toast__close","tag":"button","part":"close","reads":["--bg","--bw","--fg","--hit","--ring-size","--ring-t"]},{"class":"bb-toast__panel--default","state":"default"},{"class":"bb-toast__panel--destructive","state":"destructive"},{"class":"bb-toast__panel--info","state":"info"},{"class":"bb-toast__panel--success","state":"success"},{"class":"bb-toast__panel--warning","state":"warning"}],"internal":[{"class":"bb-toast--bottom-center","reads":["--offset","--safe-v"]},{"class":"bb-toast--bottom-left","reads":["--offset","--safe-h","--safe-v"]},{"class":"bb-toast--bottom-right","reads":["--offset","--safe-h","--safe-v"]},{"class":"bb-toast--expanded","tag":"ol"},{"class":"bb-toast--top-center","reads":["--offset","--safe-v"]},{"class":"bb-toast--top-left","reads":["--offset","--safe-h","--safe-v"]},{"class":"bb-toast--top-right","reads":["--offset","--safe-h","--safe-v"]},{"class":"bb-toast__content--portal","tag":"div"},{"class":"bb-toast__inner","tag":"div","reads":["--align","--bw","--gap"]},{"class":"bb-toast__panel--front","tag":"li","reads":["--front-height"]},{"class":"bb-toast__panel--hidden","tag":"li"},{"class":"bb-toast__panel--mounted","tag":"li","reads":["--lift"]},{"class":"bb-toast__panel--removed","tag":"li","reads":["--lift"]},{"class":"bb-toast__panel--swiping","tag":"li"}],"unaligned":{"states":["loading"]}}},"config":"position, variants","removed":[{"name":"placement","new":"position","hint":"the host is `<BbHost />` now and takes no props: set the plugin's `toastPosition` (corner names: `top-end` → `top-right`, `bottom` → `bottom-center`, …)","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-host.md","silent":true,"fix":{"kind":"manual"}},{"name":"theme","new":"variant","surface":"option","hint":"a `toast()` / `useToast().toast()` option, not a prop: `toast({ variant: 'success' })` (plus an `icon` for the tone to show)","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-toast.md","silent":true,"fix":{"kind":"manual"}},{"name":"timeout","new":"duration","surface":"option","hint":"a `toast()` option: `toast({ duration: 4000 })`; the default fell from 6000 to 4000 ms","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-toast.md","silent":true,"fix":{"kind":"manual"}},{"name":"showClose","new":"hideClose","surface":"option","hint":"a `toast()` option, polarity inverted: `showClose: false` → `hideClose: true`; `showClose: true` was the default, delete it","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-toast.md","silent":true,"fix":{"kind":"manual"}},{"name":"actions[].icon","new":"actions[].iconOnly","surface":"option","hint":"an icon-only action writes its label and icon: `{ text: 'Undo', 'prepend:icon': 'lucide:undo-2', iconOnly: true }`; the label is the accessible name","since":"3.0.0-unreleased","migration":"ai/guides/migration/components/bb-toast.md","silent":true,"fix":{"kind":"manual"}}],"renamed":[{"from":"placement","to":"position","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-host.md","fix":{"kind":"manual"},"hint":"the host is `<BbHost />` now and takes no props: set the plugin's `toastPosition` (corner names: `top-end` → `top-right`, `bottom` → `bottom-center`, …)"}]},
|
|
437
|
+
{"name":"BbToast","group":"Feedback","description":"The toast() stack.","referenceOnly":true,"hasGuide":true,"contract":"ai/BbToast.md","source":"ai/source/BbToast.md","props":[{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"icon\", \"content\", \"title\", \"text\", \"footer\", \"action\", \"close\"]; readonly states: readonly [\"loading\"]; readonly wide: readonly []; readonly node: { readonly panel: readonly [\"loading\"]; readonly icon: readonly [\"loading\"]; readonly content: readonly [\"loading\"]; readonly title: readonly [\"loading\"]; readonly text: readonly [\"loading\"]; readonly footer: readonly [\"loading\"]; readonly action: readonly [\"loading\"]; readonly close: readonly [\"loading\"]; }; readonly variant: { readonly names: readonly [\"default\", \"success\", \"info\", \"warning\", \"destructive\"]; readonly option: \"toastVariants\"; readonly parts: readonly [\"panel\", \"icon\", \"content\", \"title\", \"text\", \"footer\", \"action\", \"close\"]; }; }> & PtMap<BbToastPtPart, never> & { \"title:destructive\"?: PtValue | undefined; \"title:warning\"?: PtValue | undefined; \"text:destructive\"?: PtValue | undefined; \"text:warning\"?: PtValue | undefined; \"icon:destructive\"?: PtValue | undefined; \"icon:warning\"?: PtValue | undefined; \"close:destructive\"?: PtValue | undefined; \"close:warning\"?: PtValue | undefined; \"text:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"panel:loading\"?: PtValue | undefined; \"footer:default\"?: PtValue | undefined; \"footer:destructive\"?: PtValue | undefined; \"title:default\"?: PtValue | undefined; \"text:default\"?: PtValue | undefined; \"close:default\"?: PtValue | undefined; \"content:default\"?: PtValue | undefined; \"content:destructive\"?: PtValue | undefined; \"action:default\"?: PtValue | undefined; \"action:destructive\"?: PtValue | undefined; \"footer:loading\"?: PtValue | undefined; \"title:loading\"?: PtValue | undefined; \"close:loading\"?: PtValue | undefined; \"content:loading\"?: PtValue | undefined; \"action:loading\"?: PtValue | undefined; \"footer:warning\"?: PtValue | undefined; \"footer:success\"?: PtValue | undefined; \"footer:info\"?: PtValue | undefined; \"title:success\"?: PtValue | undefined; \"title:info\"?: PtValue | undefined; \"text:success\"?: PtValue | undefined; \"text:info\"?: PtValue | undefined; \"icon:default\"?: PtValue | undefined; \"icon:success\"?: PtValue | undefined; \"icon:info\"?: PtValue | undefined; \"panel:default\"?: PtValue | undefined; \"panel:destructive\"?: PtValue | undefined; \"panel:warning\"?: PtValue | undefined; \"panel:success\"?: PtValue | undefined; \"panel:info\"?: PtValue | undefined; \"close:success\"?: PtValue | undefined; \"close:info\"?: PtValue | undefined; \"content:warning\"?: PtValue | undefined; \"content:success\"?: PtValue | undefined; \"content:info\"?: PtValue | undefined; \"action:warning\"?: PtValue | undefined; \"action:success\"?: PtValue | undefined; \"action:info\"?: PtValue | undefined; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:action","type":"PtValue | undefined","required":false},{"name":"pt:action:default","type":"PtValue | undefined","required":false},{"name":"pt:action:destructive","type":"PtValue | undefined","required":false},{"name":"pt:action:info","type":"PtValue | undefined","required":false},{"name":"pt:action:loading","type":"PtValue | undefined","required":false},{"name":"pt:action:success","type":"PtValue | undefined","required":false},{"name":"pt:action:warning","type":"PtValue | undefined","required":false},{"name":"pt:close","type":"PtValue | undefined","required":false},{"name":"pt:close:default","type":"PtValue | undefined","required":false},{"name":"pt:close:destructive","type":"PtValue | undefined","required":false},{"name":"pt:close:info","type":"PtValue | undefined","required":false},{"name":"pt:close:loading","type":"PtValue | undefined","required":false},{"name":"pt:close:success","type":"PtValue | undefined","required":false},{"name":"pt:close:warning","type":"PtValue | undefined","required":false},{"name":"pt:content","type":"PtValue | undefined","required":false},{"name":"pt:content:default","type":"PtValue | undefined","required":false},{"name":"pt:content:destructive","type":"PtValue | undefined","required":false},{"name":"pt:content:info","type":"PtValue | undefined","required":false},{"name":"pt:content:loading","type":"PtValue | undefined","required":false},{"name":"pt:content:success","type":"PtValue | undefined","required":false},{"name":"pt:content:warning","type":"PtValue | undefined","required":false},{"name":"pt:footer","type":"PtValue | undefined","required":false},{"name":"pt:footer:default","type":"PtValue | undefined","required":false},{"name":"pt:footer:destructive","type":"PtValue | undefined","required":false},{"name":"pt:footer:info","type":"PtValue | undefined","required":false},{"name":"pt:footer:loading","type":"PtValue | undefined","required":false},{"name":"pt:footer:success","type":"PtValue | undefined","required":false},{"name":"pt:footer:warning","type":"PtValue | undefined","required":false},{"name":"pt:icon","type":"PtValue | undefined","required":false},{"name":"pt:icon:default","type":"PtValue | undefined","required":false},{"name":"pt:icon:destructive","type":"PtValue | undefined","required":false},{"name":"pt:icon:info","type":"PtValue | undefined","required":false},{"name":"pt:icon:loading","type":"PtValue | undefined","required":false},{"name":"pt:icon:success","type":"PtValue | undefined","required":false},{"name":"pt:icon:warning","type":"PtValue | undefined","required":false},{"name":"pt:panel","type":"PtValue | undefined","required":false},{"name":"pt:panel:default","type":"PtValue | undefined","required":false},{"name":"pt:panel:destructive","type":"PtValue | undefined","required":false},{"name":"pt:panel:info","type":"PtValue | undefined","required":false},{"name":"pt:panel:loading","type":"PtValue | undefined","required":false},{"name":"pt:panel:success","type":"PtValue | undefined","required":false},{"name":"pt:panel:warning","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:text","type":"PtValue | undefined","required":false},{"name":"pt:text:default","type":"PtValue | undefined","required":false},{"name":"pt:text:destructive","type":"PtValue | undefined","required":false},{"name":"pt:text:info","type":"PtValue | undefined","required":false},{"name":"pt:text:loading","type":"PtValue | undefined","required":false},{"name":"pt:text:success","type":"PtValue | undefined","required":false},{"name":"pt:text:warning","type":"PtValue | undefined","required":false},{"name":"pt:title","type":"PtValue | undefined","required":false},{"name":"pt:title:default","type":"PtValue | undefined","required":false},{"name":"pt:title:destructive","type":"PtValue | undefined","required":false},{"name":"pt:title:info","type":"PtValue | undefined","required":false},{"name":"pt:title:loading","type":"PtValue | undefined","required":false},{"name":"pt:title:success","type":"PtValue | undefined","required":false},{"name":"pt:title:warning","type":"PtValue | undefined","required":false}],"events":[],"slots":[],"exposed":[],"models":[],"cssProps":[{"name":"--gap","value":"14px","selector":".bb-toast","description":"space between stacked toasts (the peek in the collapsed pile)"},{"name":"--pile-gap","value":"var(--gap)","selector":".bb-toast","description":"The same value under a name the cards do not shadow: a card's own `--gap` is its row's (set `--gap` here, never this)."},{"name":"--offset","value":"20px","selector":".bb-toast","description":"distance from the viewport corner; 14px under 600px wide"},{"name":"--width","value":"356px","selector":".bb-toast","description":"stack width; `auto` (edge to edge) under 600px"},{"name":"--lift","value":"-1","selector":".bb-toast__panel","description":"Direction sign, not elevation: +1 for a top-anchored stack, -1 for a bottom-anchored one. Every vertical term (stack offset, enter/exit slide) is multiplied by it, so one set of formulas serves both corners."},{"name":"--stack-y","value":"0px","selector":".bb-toast__panel","description":"resting offset up/down the pile; composed by the layout rules below"},{"name":"--stack-scale","value":"1","selector":".bb-toast__panel","description":"resting scale — behind toasts shrink 5% per position in the collapsed pile"},{"name":"--enter-y","value":"0px","selector":".bb-toast__panel","description":"the enter/exit slide term of the same transform"},{"name":"--swipe-amount","value":"0px","selector":".bb-toast__panel","description":"live drag offset, set inline while the user swipes to dismiss"},{"name":"--z","value":"1","selector":".bb-toast__panel","description":"stacking order, set inline (front toast highest)"},{"name":"--r","value":"min(var(--bb-radius), 10px)","selector":".bb-toast__panel","description":"Card corners. `border-radius` caps whatever lands here again, at 14px."},{"name":"--ring-size","value":"2px","selector":".bb-toast__panel","description":"focus ring on the close button"},{"name":"--bg","value":"var(--bb-panel)","selector":".bb-toast__panel","description":"card fill, and the close button's own fill"},{"name":"--border-color","value":"var(--bb-border)","selector":".bb-toast__panel","description":"card edge"},{"name":"--bw","value":"var(--bb-border-w)","selector":".bb-toast__panel","description":"Edge width: a real `border`, counted in the measured height; the inner padding and the × take it back, so the card keeps its size."},{"name":"--fg","value":"var(--bb-text)","selector":".bb-toast__panel","description":"title, text and close glyph"},{"name":"--icon-color","value":"var(--bb-text)","selector":".bb-toast__panel","description":"The status glyph only — the variants below re-point this and nothing else"},{"name":"--gap","value":"12px","selector":".bb-toast__panel","description":"The row inside the card (icon, text, close): its gap and its vertical alignment. Read by the row, which is not a part: it is the stack's height-measure box and the pile fade, so it stays nested."},{"name":"--align","value":"flex-start","selector":".bb-toast__panel"},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-toast__close"},{"name":"--icon-color","value":"var(--bb-success)","selector":".bb-toast__panel--success"},{"name":"--icon-color","value":"var(--bb-info)","selector":".bb-toast__panel--info"},{"name":"--icon-color","value":"var(--bb-warn)","selector":".bb-toast__panel--warning"},{"name":"--icon-color","value":"var(--bb-danger)","selector":".bb-toast__panel--destructive"},{"name":"--icon-color","value":"color-mix(in oklab, var(--bb-text) 75%, transparent)","selector":".bb-toast__panel--default"}],"pt":{"parts":[{"name":"root","description":"One region per corner in use — a broadcast over the corners."},{"name":"panel","description":"One toast card — a broadcast."},{"name":"icon","description":"A toast's icon box: its `icon`, or the spinner while it is `loading`. Not rendered for a toast with neither, nor for a portal toast."},{"name":"content","description":"A toast's body column — title, text and actions, or the wrapper around a portal's content."},{"name":"title","description":"A toast's heading. A portal toast renders its own body and has neither `title` nor `text`."},{"name":"text","description":"A toast's body copy."},{"name":"footer","description":"The row of a toast's `actions`. Not rendered without actions, nor for a portal toast."},{"name":"action","description":"Every button of a toast's `actions`, at the button's root — a broadcast. Never the ✕ (`close`)."},{"name":"close","description":"A toast's ✕."}],"states":[{"name":"loading","description":"Per toast, on its card parts (every part but `root`): the toast is `loading` (the spinner shows in its `icon`)."},{"name":"default","description":"Per toast, on its card parts: `variant: 'default'`. Merged after the part's base entry and before its states, so the real states still win."},{"name":"destructive","description":"Per toast, on its card parts: `variant: 'destructive'`. Below the real states, like every variant."},{"name":"info","description":"Per toast, on its card parts: `variant: 'info'`. Below the real states, like every variant."},{"name":"success","description":"Per toast, on its card parts: `variant: 'success'`. Below the real states, like every variant."},{"name":"warning","description":"Per toast, on its card parts: `variant: 'warning'`. Below the real states, like every variant."}]},"tree":{"nodes":[{"name":"BbToastRegion","kind":"internal","vocabulary":"BbToast","bindings":[{"part":"root","target":"ol.bb-toast"}],"children":[{"name":"BbToastMessage","kind":"internal","children":[{"name":"BbIcon","kind":"public"},{"name":"BbSpinner","kind":"public"},{"name":"BbButton","kind":"public"}]}]}]},"css":{"classes":{"bb-toast":["","--*","--bottom-center","--bottom-left","--bottom-right","--expanded","--top-center","--top-left","--top-right","__action","__close","__content","__content--portal","__footer","__icon","__inner","__panel","__panel--*","__panel--default","__panel--destructive","__panel--front","__panel--hidden","__panel--info","__panel--mounted","__panel--removed","__panel--success","__panel--swiping","__panel--warning","__text","__title"]},"locals":["--align","--bg","--border-color","--bw","--color-gray-200","--enter-y","--fg","--front-height","--front-index","--gap","--height-before","--hit","--icon-color","--lift","--offset","--pile-gap","--r","--ring-size","--ring-t","--safe-h","--safe-v","--stack-scale","--stack-y","--swipe-amount","--toast-height","--width","--z"],"surface":{"stable":[{"class":"bb-toast","tag":"ol","part":"root","reads":["--gap","--offset","--width"]},{"class":"bb-toast__panel","tag":"li","part":"panel","reads":["--bg","--border-color","--bw","--enter-y","--fg","--front-height","--front-index","--height-before","--lift","--pile-gap","--r","--stack-scale","--stack-y","--swipe-amount","--toast-height","--z"]},{"class":"bb-toast__icon","tag":"div","part":"icon","reads":["--icon-color"]},{"class":"bb-toast__content","tag":"div","part":"content"},{"class":"bb-toast__title","tag":"p","part":"title","reads":["--fg"]},{"class":"bb-toast__text","tag":"p","part":"text","reads":["--fg"]},{"class":"bb-toast__footer","tag":"div","part":"footer"},{"class":"bb-toast__action","tag":"BbButton","part":"action"},{"class":"bb-toast__close","tag":"button","part":"close","reads":["--bg","--bw","--fg","--hit","--ring-size","--ring-t"]},{"class":"bb-toast__panel--default","state":"default"},{"class":"bb-toast__panel--destructive","state":"destructive"},{"class":"bb-toast__panel--info","state":"info"},{"class":"bb-toast__panel--success","state":"success"},{"class":"bb-toast__panel--warning","state":"warning"}],"internal":[{"class":"bb-toast--bottom-center","reads":["--offset","--safe-v"]},{"class":"bb-toast--bottom-left","reads":["--offset","--safe-h","--safe-v"]},{"class":"bb-toast--bottom-right","reads":["--offset","--safe-h","--safe-v"]},{"class":"bb-toast--expanded","tag":"ol"},{"class":"bb-toast--top-center","reads":["--offset","--safe-v"]},{"class":"bb-toast--top-left","reads":["--offset","--safe-h","--safe-v"]},{"class":"bb-toast--top-right","reads":["--offset","--safe-h","--safe-v"]},{"class":"bb-toast__content--portal","tag":"div"},{"class":"bb-toast__inner","tag":"div","reads":["--align","--bw","--gap"]},{"class":"bb-toast__panel--front","tag":"li","reads":["--front-height"]},{"class":"bb-toast__panel--hidden","tag":"li"},{"class":"bb-toast__panel--mounted","tag":"li","reads":["--lift"]},{"class":"bb-toast__panel--removed","tag":"li","reads":["--lift"]},{"class":"bb-toast__panel--swiping","tag":"li"}],"unaligned":{"states":["loading"]}}},"config":"position, variants","removed":[{"name":"placement","new":"position","hint":"the host is `<BbHost />` now and takes no props: set the plugin's `toastPosition` (corner names: `top-end` → `top-right`, `bottom` → `bottom-center`, …)","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-host.md","silent":true,"fix":{"kind":"manual"}},{"name":"theme","new":"variant","surface":"option","hint":"a `toast()` / `useToast().toast()` option, not a prop: `toast({ variant: 'success' })` (plus an `icon` for the tone to show)","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-toast.md","silent":true,"fix":{"kind":"manual"}},{"name":"timeout","new":"duration","surface":"option","hint":"a `toast()` option: `toast({ duration: 4000 })`; the default fell from 6000 to 4000 ms","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-toast.md","silent":true,"fix":{"kind":"manual"}},{"name":"showClose","new":"hideClose","surface":"option","hint":"a `toast()` option, polarity inverted: `showClose: false` → `hideClose: true`; `showClose: true` was the default, delete it","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-toast.md","silent":true,"fix":{"kind":"manual"}},{"name":"actions[].icon","new":"actions[].iconOnly","surface":"option","hint":"an icon-only action writes its label and icon: `{ text: 'Undo', 'prepend:icon': 'lucide:undo-2', iconOnly: true }`; the label is the accessible name","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/bb-toast.md","silent":true,"fix":{"kind":"manual"}}],"renamed":[{"from":"placement","to":"position","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-host.md","fix":{"kind":"manual"},"hint":"the host is `<BbHost />` now and takes no props: set the plugin's `toastPosition` (corner names: `top-end` → `top-right`, `bottom` → `bottom-center`, …)"}]},
|
|
438
438
|
{"name":"BbToastPortal","group":"Feedback","description":"Registers named slot content that toast() renders via `portal`; slot `{ data, close, toast }`.","referenceOnly":false,"hasGuide":false,"contract":"ai/BbToastPortal.md","source":"ai/source/BbToastPortal.md","props":[{"name":"name","type":"string","required":true,"description":"The name a toast passes as `portal: '<name>'` to render this content."}],"events":[],"slots":[{"name":"default","type":"BbToastPortalContext","fields":["toast: BbToast","data: P","close: () => void"]}],"exposed":[],"models":[]},
|
|
439
439
|
{"name":"BbTooltip","group":"Overlay","description":"Displays contextual helper text on interaction.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbTooltip.md","source":"ai/source/BbTooltip.md","props":[{"name":"activator","type":"ElementOrComponentRefOrSelector | undefined","required":false,"description":"External activator: an HTMLElement, a Vue component ref, or a CSS selector string (looked up in the document once the tooltip mounts). When provided, the activator slot is not rendered and event listeners are attached programmatically to the referenced element."},{"name":"arrowPadding","type":"number | undefined","required":false,"default":"10","description":"Space the arrow will maintain to the edge of the tooltip bubble. Useful when the floating element has border radius so it won't appear broken"},{"name":"boundary","type":"ElementOrComponentRefOrSelector | undefined","required":false,"description":"Constrains the tooltip within a bounding element: it stays inside it alongside its trigger (sideways for a tooltip above or below); away from the trigger it may pass the edge, and it flips at the viewport only. Accepts an HTMLElement, a Vue component ref, or a CSS selector string."},{"name":"delay","type":"number | undefined","required":false,"default":"100","description":"Milliseconds a pointer rests on the activator before the tooltip shows (`0`: at once). Keyboard focus shows it at once, and so does a pointer arriving while another tooltip shows or within 300 ms of one closing."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the component"},{"name":"eager","type":"boolean | undefined","required":false,"default":"false","description":"Renders the tooltip's popover and content at mount instead of on the first open. The description screen readers hear exists from mount either way."},{"name":"hideArrow","type":"boolean | undefined","required":false,"default":"false","description":"Hides the tooltip arrow. A tooltip shows its arrow by default (it's the one popover-family surface where an arrow is meaningful — a speech bubble pointing at its anchor); set this to drop it."},{"name":"id","type":"string | undefined","required":false,"description":"Seed for the tooltip's internal id. It is **prefixed** (`bb_<id>`) and set on the inner content element, not on the root — so `document.getElementById(theIdYouPassed)` finds nothing. Pass it to make the generated id stable (SSR snapshots, tests), not to look the element up."},{"name":"modelValue","type":"boolean | undefined","required":false,"default":"false","description":"Used by v-model to show / hide the tooltip. A tooltip with no `v-model` starts hidden and is driven by hover / focus."},{"name":"padding","type":"number | undefined","required":false,"default":"10","description":"Minimum empty space to keep from the edge of the page"},{"name":"placement","type":"Placement | undefined","required":false,"default":"\"top\"","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 overlay in respect to the related activator."},{"name":"pt","type":"PtMap<BbTooltipPtPart, \"default\" | \"open\" | \"destructive\"> | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:panel","type":"PtValue | undefined","required":false},{"name":"pt:panel:default","type":"PtValue | undefined","required":false},{"name":"pt:panel:destructive","type":"PtValue | undefined","required":false},{"name":"pt:panel:open","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:default","type":"PtValue | undefined","required":false},{"name":"pt:root:destructive","type":"PtValue | undefined","required":false},{"name":"pt:root:open","type":"PtValue | undefined","required":false},{"name":"text","type":"string | undefined","required":false,"description":"Text content of the component."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"How long the transition has to last in milliseconds"},{"name":"variant","type":"keyof TooltipVariantRegistry | undefined","required":false,"default":"\"default\"","values":["destructive","default"],"description":"Visual variant. `'default'` is the inverted (primary) bubble, `'destructive'` is the danger-tinted bubble for warnings. Any other string is applied as a `bb-tooltip--<name>` class hook."},{"name":"width","type":"string | number | undefined","required":false,"description":"Caps the bubble's width (it still shrinks to its text): a number is px, a percentage is of the activator, any other CSS length passes through. Replaces the default `40ch` cap, also `--max-w` on the tooltip root."}],"events":[{"name":"update:modelValue","signature":"(value: boolean): void","description":"Emitted with the new value whenever `v-model` changes."}],"slots":[{"name":"activator","type":"BbTooltipActivatorSlotProps","fields":["props: { ref: (reference: unknown) => void; }","disabled?: boolean","open: boolean","placement: Placement"],"description":"Replaces the default trigger element that opens the tooltip."},{"name":"default","type":"object","description":"Content rendered inside the tooltip bubble."}],"exposed":[],"models":[{"name":"modelValue","type":"boolean | undefined"}],"cssProps":[{"name":"--bg","value":"var(--bb-primary)","selector":".bb-tooltip","description":"Variant paint, resolved on the root — where the theme tokens still hold the page's own values — then applied by re-declaring the popover paint tokens (--bb-panel/--bb-border/--bb-text) on the bubble and arrow. That single override retints the bubble and every arrow orientation without touching CommonPopover. The one theme token still re-declared below is `--bb-text`, on the bubble only, for slot content that paints it directly rather than inheriting `color`. It does NOT reach the DERIVED tokens. A custom property resolves its var() references where it is DECLARED, so --bb-text-muted, --bb-muted, --bb-hover and friends keep the values computed at :root against the page panel — on an inverted bubble --bb-text-muted is 60% black on black. Tooltips carry short text, which uses --bb-text and is fine; a token-driven component dropped in the slot is not. The set is not re-derived here — a consumer who needs it re-applies a scheme class on that scope, per variables.css. Default is the shadcn-style inverted bubble: primary surface, primary-foreground text, borderless (border blends into the surface)."},{"name":"--fg","value":"var(--bb-primary-fg)","selector":".bb-tooltip"},{"name":"--border-color","value":"var(--bb-primary)","selector":".bb-tooltip"},{"name":"--fs","value":"calc(var(--bb-fs) - 2px)","selector":".bb-tooltip"},{"name":"--max-w","value":"40ch","selector":".bb-tooltip","description":"Default measure. CommonPopover caps the bubble at the viewport minus its `padding`, which on a wide screen is a single line running the width of the page — unreadable, and the reason a hint needs a cap of its own. `ch` (not px) so the column tracks the font: the same 40ch measure the dropdown item description uses. The `width` prop overrides it by writing `--max-w` inline on the content; a consumer can override it in CSS on this root."},{"name":"--px","value":"8px","selector":".bb-tooltip"},{"name":"--py","value":"2px","selector":".bb-tooltip"}],"pt":{"parts":[{"name":"root","description":"The floating element, arrow included; a `class` on the component lands here."},{"name":"panel","description":"The text box inside the bubble: spacing and type. The bubble's and arrow's paint come from `--bg` / `--border-color` / `--fg` on root."}],"states":[{"name":"open","description":"Component-wide: the tooltip is showing."},{"name":"default","description":"Component-wide: `variant: 'default'`. Merged after the part's base entry and before its states, so the real states still win."},{"name":"destructive","description":"Component-wide: `variant: 'destructive'`. Below the real states, like every variant."}]},"tree":{"bindings":[{"part":"root","target":"CommonPopover"},{"part":"panel","target":"span.bb-tooltip__panel"}],"nodes":[{"name":"CommonPopover","kind":"internal"}]},"css":{"classes":{"bb-tooltip":["","--*","__panel"],"bb-tooltip-escape":[""]},"locals":["--color-gray-200","--fg","--fs","--max-w","--px","--py"],"surface":{"stable":[{"class":"bb-tooltip","tag":"CommonPopover","part":"root"},{"class":"bb-tooltip__panel","tag":"span","part":"panel","reads":["--fg","--fs","--max-w","--px","--py"]},{"class":"bb-tooltip--default","state":"default","pattern":true},{"class":"bb-tooltip--destructive","state":"destructive","pattern":true}],"internal":[{"class":"bb-tooltip-escape"}],"unaligned":{"states":["open"]}}},"attrTargets":["span"],"config":"variants","removed":[{"name":"block","new":null,"since":"3.0.0-alpha.9","migration":"ai/guides/migration/components/bb-tooltip.md","silent":true,"fix":{"kind":"remove"}},{"name":"showClose","new":null,"since":"3.0.0-alpha.9","migration":"ai/guides/migration/components/bb-tooltip.md","silent":true,"fix":{"kind":"remove"}},{"name":"theme","new":"variant","since":"3.0.0-alpha.9","migration":"ai/guides/migration/components/bb-tooltip.md","silent":true,"fix":{"kind":"rename"}},{"name":"timeout","new":"delay","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-tooltip.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"theme","to":"variant","since":"3.0.0-alpha.9","migration":"ai/guides/migration/components/bb-tooltip.md","fix":{"kind":"rename"}},{"from":"timeout","to":"delay","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-tooltip.md","fix":{"kind":"rename"}}]},
|
|
440
440
|
{"name":"BbTree","group":"Navigation","description":"Renders hierarchical expandable tree structures.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbTree.md","source":"ai/source/BbTree.md","props":[{"name":"expandable","type":"BbTreeExpandable<Meta> | undefined","required":false,"default":"undefined","description":"Which nodes get a toggle: a boolean for all, or a function of the node, its depth and its parent. Unset: every node with a child that is not `hidden`."},{"name":"expandedItems","type":"any[] | undefined","required":false,"default":"[]","description":"Live expansion state: the list of expanded node values (see `itemValue`). Branch nodes not explicitly collapsed via `expanded: false` seed the list when they first appear in `items`; from then on this model is the single source of truth."},{"name":"items","type":"BbTreeItem<Meta>[]","required":true,"default":"[]","description":"Tree-like structure of nodes to render."},{"name":"itemValue","type":"ItemAccessor<Meta>","required":true,"description":"A node's identity, the field telling nodes apart (e.g. `\"id\"`). Required: it decides which nodes `expandedItems` keeps open and names the per-node slots, a load-bearing id you write, never derived. A string reads that key from `meta`; a function maps `meta` to the value."},{"name":"pt","type":"{ root?: PtValue | undefined; item?: PtValue | undefined; \"item:expanded\"?: PtValue | undefined; } | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:item","type":"PtValue | undefined","required":false},{"name":"pt:item:expanded","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false}],"events":[{"name":"update:expandedItems","signature":"(value: any[]): void","description":"Emitted with the new value whenever `v-model:expandedItems` changes."}],"slots":[{"name":"default","type":"BbTreeNodeSlotProps<Meta>","fields":["meta: Meta","item: BbTreeItem<Meta>","parent?: BbTreeItem<Meta>","index: number","depth: number","value: any","expanded: boolean","expandable: boolean","toggleExpanded: () => void","expandProps: BbTreeExpandControllerProps"]},{"name":"<value>","type":"BbTreeNodeSlotProps<Meta>","description":"One node, by its resolved `item-value` (string or number) through `slotKey`; beats `<depth>`, which beats `default`.","dynamic":true},{"name":"<depth>","type":"BbTreeNodeSlotProps<Meta>","description":"Every node at one depth (`0` = root); a numeric value can share this name.","dynamic":true},{"name":"<value>:children","type":"BbTreeNodeSlotProps<Meta>","description":"One node's children container, stopping the recursion there; beats `<depth>:children`. Renders for leaves too.","dynamic":true},{"name":"<depth>:children","type":"BbTreeNodeSlotProps<Meta>","description":"The children container of every node at one depth.","dynamic":true}],"exposed":[],"models":[{"name":"expandedItems","type":"any[] | undefined"}],"cssProps":[{"name":"--indent","value":"0px","selector":".bb-tree","description":"Layout knobs, sealed on the root. `--indent` shifts every children container; `--gap` adds vertical rhythm between sibling nodes. Both default to zero so the tree is layout-neutral out of the box."},{"name":"--gap","value":"0px","selector":".bb-tree"}],"pt":{"parts":[{"name":"root","description":"The tree."},{"name":"item","description":"One node — a broadcast resolved per node at every depth. Its content is your slot markup, so there is no `icon`."}],"states":[{"name":"expanded","description":"Per node, on `item`: an expanded branch. Leaves count as expanded."}]},"tree":{"nodes":[{"name":"BbTreeLevel","kind":"internal"}]},"css":{"classes":{"bb-tree":["","__children","__content","__item","__item--depth-*","__item--expanded","__item--leaf","__row"]},"locals":["--color-gray-200","--gap","--indent"],"surface":{"stable":[{"class":"bb-tree","tag":"div","part":"root"},{"class":"bb-tree__item","tag":"div","part":"item","reads":["--gap"]},{"class":"bb-tree__item--expanded","tag":"div","state":"expanded"}],"internal":[{"class":"bb-tree__children","tag":"div","reads":["--indent"]},{"class":"bb-tree__content","tag":"div"},{"class":"bb-tree__item--leaf","tag":"div"},{"class":"bb-tree__row","tag":"div"}]}},"attrTargets":["div"],"removed":[{"name":"<x>-children","new":"<x>:children","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/components/bb-tree.md","silent":true,"fix":{"kind":"rename"}},{"name":"pt:item:open","new":"pt:item:expanded","surface":"pt","migration":"ai/guides/migration/components/bb-tree.md","silent":true,"fix":{"kind":"rename"}},{"name":"pt:root:open","new":"pt:root:expanded","surface":"pt","migration":"ai/guides/migration/components/bb-tree.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"<x>-children","to":"<x>:children","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/components/bb-tree.md","fix":{"kind":"rename"}},{"from":"pt:item:open","to":"pt:item:expanded","surface":"pt","migration":"ai/guides/migration/components/bb-tree.md","fix":{"kind":"rename"}},{"from":"pt:root:open","to":"pt:root:expanded","surface":"pt","migration":"ai/guides/migration/components/bb-tree.md","fix":{"kind":"rename"}}]},
|