bitboss-ui 3.0.0-beta.75 → 3.0.0-beta.76

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.
Files changed (169) hide show
  1. package/README.md +5 -5
  2. package/bin/cli.mjs +16 -10
  3. package/dist/ai/BbAlert.md +1 -1
  4. package/dist/ai/BbBreadcrumbs.md +1 -1
  5. package/dist/ai/BbButton.md +2 -2
  6. package/dist/ai/BbColorInput.md +1 -1
  7. package/dist/ai/BbColorPalette.md +1 -1
  8. package/dist/ai/BbConfirm.md +1 -1
  9. package/dist/ai/BbDatePicker.md +1 -1
  10. package/dist/ai/BbDatePickerInput.md +1 -1
  11. package/dist/ai/BbDialog.md +3 -2
  12. package/dist/ai/BbDropdown.md +23 -21
  13. package/dist/ai/BbDropdownButton.md +13 -11
  14. package/dist/ai/BbGallery.md +3 -2
  15. package/dist/ai/BbIcon.md +10 -10
  16. package/dist/ai/BbOffCanvas.md +3 -2
  17. package/dist/ai/BbPopover.md +1 -1
  18. package/dist/ai/BbSelect.md +153 -43
  19. package/dist/ai/BbSelectPopover.md +115 -9
  20. package/dist/ai/BbTable.md +1 -1
  21. package/dist/ai/BbTimePicker.md +1 -1
  22. package/dist/ai/BbTimePickerInput.md +1 -1
  23. package/dist/ai/GroupedListBox.md +2 -2
  24. package/dist/ai/ListBox.md +3 -2
  25. package/dist/ai/changelog.json +153 -7
  26. package/dist/ai/components.json +12 -12
  27. package/dist/ai/guides/agent-contract.md +1 -1
  28. package/dist/ai/guides/calendars-and-digits.md +1 -1
  29. package/dist/ai/guides/eslint-rules.md +1 -1
  30. package/dist/ai/guides/icons-policy.md +32 -11
  31. package/dist/ai/guides/installation-and-plugin-setup.md +24 -23
  32. package/dist/ai/guides/migration/adoption-checklist.md +1 -1
  33. package/dist/ai/guides/migration/components/bb-icon.md +4 -4
  34. package/dist/ai/guides/migration/v2-to-v3.md +48 -19
  35. package/dist/ai/guides/migration/v3-beta-css-classes.md +18 -3
  36. package/dist/ai/guides/passthrough.md +58 -58
  37. package/dist/ai/helpers/inertia/manifest.json +1 -1
  38. package/dist/ai/manifest/components/BbDialog.tree.json +1 -1
  39. package/dist/ai/manifest/components/BbDropdown.json +19 -17
  40. package/dist/ai/manifest/components/BbDropdown.tree.json +9 -9
  41. package/dist/ai/manifest/components/BbDropdownButton.json +12 -10
  42. package/dist/ai/manifest/components/BbDropdownButton.tree.json +2 -0
  43. package/dist/ai/manifest/components/BbGallery.tree.json +1 -1
  44. package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
  45. package/dist/ai/manifest/components/BbSelect.json +44 -40
  46. package/dist/ai/manifest/components/BbSelect.tree.json +2 -1
  47. package/dist/ai/manifest/components/BbSelectPopover.json +10 -6
  48. package/dist/ai/manifest/components/BbSelectPopover.tree.json +4 -1
  49. package/dist/ai/manifest/components/BbTable.tree.json +5 -1
  50. package/dist/ai/manifest/components/GroupedListBox.json +1 -1
  51. package/dist/ai/manifest/components/GroupedListBox.tree.json +1 -0
  52. package/dist/ai/manifest/components/ListBox.json +1 -1
  53. package/dist/ai/manifest/components/ListBox.tree.json +1 -1
  54. package/dist/ai/manifest/index.json +2 -2
  55. package/dist/ai/recipes/inertia/inline-edit-workspace.md +1 -1
  56. package/dist/ai/recipes/inertia/onboarding.md +1 -1
  57. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1 -1
  58. package/dist/ai/recipes/nuxt/onboarding.md +1 -1
  59. package/dist/ai/recipes/vue/inline-edit-workspace.md +1 -1
  60. package/dist/ai/recipes/vue/onboarding.md +2 -2
  61. package/dist/ai/source/BbAccordion.md +4 -5
  62. package/dist/ai/source/BbAvatar.md +9 -2
  63. package/dist/ai/source/BbBadge.md +6 -2
  64. package/dist/ai/source/BbBreadcrumbs.md +5 -2
  65. package/dist/ai/source/BbCalendar.md +8 -6
  66. package/dist/ai/source/BbCarousel.md +10 -6
  67. package/dist/ai/source/BbColorPalette.md +5 -2
  68. package/dist/ai/source/BbDatePickerInput.md +7 -2
  69. package/dist/ai/source/BbDropdown.md +91 -66
  70. package/dist/ai/source/BbDropdownButton.md +36 -19
  71. package/dist/ai/source/BbDropdownGroup.md +91 -66
  72. package/dist/ai/source/BbGallery.md +6 -5
  73. package/dist/ai/source/BbPagination.md +12 -28
  74. package/dist/ai/source/BbRating.md +4 -4
  75. package/dist/ai/source/BbSelect.md +130 -106
  76. package/dist/ai/source/BbSelectPopover.md +128 -21
  77. package/dist/ai/source/BbTable.md +42 -9
  78. package/dist/ai/source/BbTimePickerInput.md +6 -2
  79. package/dist/ai/source/ClearableButton.md +4 -2
  80. package/dist/ai/source/ErrorIcon.md +4 -3
  81. package/dist/ai/source/FlatListBox.md +7 -2
  82. package/dist/ai/source/GroupedListBox.md +22 -3
  83. package/dist/ai/source/ListBox.md +7 -1
  84. package/dist/ai/source/WarningIcon.md +4 -3
  85. package/dist/assets/svgs/close.svg_raw.js +1 -1
  86. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
  87. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +35 -34
  88. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +48 -47
  89. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +60 -59
  90. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +128 -127
  91. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +1 -1
  92. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +240 -239
  93. package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +500 -499
  94. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +4 -4
  95. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +175 -174
  96. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +1 -1
  97. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +2 -2
  98. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +263 -262
  99. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +81 -80
  100. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +4 -0
  101. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +318 -312
  102. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +47 -46
  103. package/dist/components/BbDropdown/ptKeys.generated.d.ts +36 -20
  104. package/dist/components/BbDropdown/types.d.ts +51 -53
  105. package/dist/components/BbDropdown/types.js +2 -0
  106. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +1 -1
  107. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +74 -59
  108. package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +111 -63
  109. package/dist/components/BbDropdownButton/types.d.ts +12 -10
  110. package/dist/components/BbDropdownButton/types.js +2 -0
  111. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
  112. package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +204 -203
  113. package/dist/components/BbIcon/iconCache.js +1 -1
  114. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
  115. package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -2
  116. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +138 -136
  117. package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
  118. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -4
  119. package/dist/components/BbRating/BbRating.vue.d.ts +1 -1
  120. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +100 -99
  121. package/dist/components/BbSelect/BbSelect.vue.d.ts +30 -20
  122. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +201 -184
  123. package/dist/components/BbSelect/ptKeys.generated.d.ts +128 -96
  124. package/dist/components/BbSelect/types.d.ts +101 -105
  125. package/dist/components/BbSelect/types.js +1 -27
  126. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +6 -3
  127. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +617 -585
  128. package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +22 -10
  129. package/dist/components/BbSelectPopover/types.d.ts +22 -13
  130. package/dist/components/BbSelectPopover/types.js +3 -1
  131. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
  132. package/dist/components/BbTable/BbTable.vue.d.ts +1 -1
  133. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1092 -1090
  134. package/dist/components/BbTable/BbTableDataRow.js +97 -90
  135. package/dist/components/BbTabs/BbTabs.vue.d.ts +3 -3
  136. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +2 -2
  137. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +2 -2
  138. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +225 -224
  139. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +76 -75
  140. package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +9 -8
  141. package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
  142. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +9 -7
  143. package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  144. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +69 -68
  145. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +166 -165
  146. package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  147. package/dist/composables/useInternalIcon.js +25 -0
  148. package/dist/icon-scan.d.ts +1 -1
  149. package/dist/llms-full.txt +477 -187
  150. package/dist/llms-medium.txt +25 -24
  151. package/dist/llms.txt +1 -1
  152. package/dist/nuxt.js +1 -1
  153. package/dist/styles.css +2 -2
  154. package/dist/types/Config.d.ts +8 -1
  155. package/dist/types/ConfigDefaults.d.ts +10 -2
  156. package/dist/types/internalIcons.d.ts +89 -0
  157. package/dist/types/internalIcons.js +158 -0
  158. package/dist/types/ptComponentMap.d.ts +4 -4
  159. package/dist/utils/configDefaults.js +75 -64
  160. package/dist/utils/iconsOption.js +48 -0
  161. package/dist/utils/versionCheck.js +1 -1
  162. package/dist/vite-plugin.d.ts +10 -16
  163. package/dist/vite.js +319 -306
  164. package/llms.txt +1 -1
  165. package/package.json +1 -1
  166. package/scripts/lib/adoption-checklist.json +1 -1
  167. package/scripts/lib/update-install.mjs +48 -0
  168. package/scripts/lib/validate-bb-markup.mjs +73 -12
  169. package/dist/assets/svgs/caret_down.svg_raw.js +0 -3
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
3
  "library": "bitboss-ui",
4
- "version": "3.0.0-beta.75",
5
- "generatedAt": "2026-11-14T04:40:46.000Z",
4
+ "version": "3.0.0-beta.76",
5
+ "generatedAt": "2026-11-14T16:30: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.",
@@ -430,20 +430,20 @@
430
430
  {"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<any>","fields":["data: P","ok: () => void","cancel: () => void"],"description":"The confirm's body."}],"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"}}]},
431
431
  {"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 | undefined","required":false,"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":"open","type":"boolean | undefined","required":false,"default":"false","description":"Whether the panel is open (`v-model:open`; `v-model` stays the value). Bound, the app opens and closes it; unbound, the initial state."},{"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:open","signature":"(value: boolean): void","description":"The panel opened or closed (`v-model:open`)."},{"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 | undefined"},{"name":"open","type":"boolean | undefined"},{"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"}}]},
432
432
  {"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":"open","type":"boolean | undefined","required":false,"default":"false","description":"Whether the panel is open (`v-model:open`; `v-model` stays the value). Bound, the app opens and closes it; unbound, the initial state."},{"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:open","signature":"(value: boolean): void","description":"The panel opened or closed (`v-model:open`)."},{"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":"open","type":"boolean | 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"}}]},
433
- {"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","__empty--failed","__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":[""],"bb-overlay-ghost":[""]},"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__empty--failed"},{"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"},{"class":"bb-overlay-ghost"}]}},"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
- {"name":"BbDropdown","group":"Overlay","description":"Displays contextual action menus and menu content (includes the co-located BbDropdownGroup export, which is how a selectable group is bound).","referenceOnly":false,"hasGuide":true,"contract":"ai/BbDropdown.md","source":"ai/source/BbDropdown.md","props":[{"name":"activator","type":"ElementOrComponentRef | undefined","required":false,"description":"An external activator (element or component ref): the slot isn't rendered; the listeners and ARIA (`aria-haspopup` / `aria-expanded` / `aria-controls`) go on it, so don't add your own."},{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"On mobile (below `config.mobileMaxWidth`), renders the menu as a bottom sheet that drills into submenus one level at a time instead of hover flyouts; slots and selection are unchanged. Unset: the global `all.adaptive`."},{"name":"anchor","type":"ElementOrComponentRef | VirtualAnchor | undefined","required":false,"default":"the activator element","description":"What the panel positions against instead of the activator (e.g. a wrapper around it): an element, a component ref or a virtual box. It also sets a percentage `width`. Ignored with `placement=\"cursor\"`."},{"name":"boundary","type":"string | ElementOrComponentRef | undefined","required":false,"description":"Keeps the panel inside this element beside its trigger (sideways under a menu); away from it only the viewport flips it. An element, component ref or CSS selector (a `useTemplateRef`, not `$refs.x`). Default in a `BbTable`: the table's left and right edges."},{"name":"closeOnSelect","type":"boolean | undefined","required":false,"default":"unset (close after a single-choice change)","description":"Whether a selection closes the menu. Unset: a change in a single-choice group closes it (an untick too, at any depth); a `multiple` group stays open. `true`: every selection change closes it. `false`: none does."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Compact density, the `BbSelect` ladder: flyout rows 28px → 24px, sheet rows 44px → 36px (a sheet row stays a touch target). The label size does not change."},{"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 menu panel at mount instead of on the first open (the phone sheet's too), and keeps its rows after a close. Without it the rows mount on each open and go once the menu has closed."},{"name":"emptyText","type":"string | undefined","required":false,"description":"A pipeline group's no-items row; its own `emptyText` wins. Default: `common.emptyText`."},{"name":"enforceCoherence","type":"boolean | undefined","required":false,"default":"false","description":"Default for pipeline groups: drop selections that are no longer present in a group's current items (e.g. after a `dependencies` re-fetch) from the selection and `v-model`. A group's own `enforceCoherence` overrides this."},{"name":"failedText","type":"string | undefined","required":false,"description":"A pipeline group's failed-load row (its getter threw); its own `failedText` wins. Default: `common.failedText`."},{"name":"id","type":"string | undefined","required":false,"description":"Names this dropdown: the activator's id (unless it already has one), the menu's `menu_<id>`, and the key `useBbDropdown(id)` and a companion `BbDropdownGroup` pair by. Generated when omitted."},{"name":"items","type":"(BbDropdownItem | PrimitiveRow)[]","required":true,"default":"[]","description":"The menu rows, each a `BbBaseButton` (`button`, `a` or `router-link`): a flat array for one group, nested arrays for divider-separated groups, or `InternalGroup` objects for titled / selectable groups. A row's own `items` opens a submenu."},{"name":"keepActivator","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the trigger when no row is visible (by default it is hidden): inert, no popup ARIA, `empty` in the activator slot. A `contextMenu` trigger always stays."},{"name":"loadingText","type":"string | undefined","required":false,"description":"A pipeline group's loading row; its own `loadingText` wins. Default: `common.loadingText`."},{"name":"modelValue","type":"boolean | undefined","required":false,"default":"undefined","description":"Whether the menu is open (`v-model`): `true` opens it from code at its activator or `anchor`. Unbound: the initial state."},{"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":"10","description":"Minimum empty space to keep from the edge of the page"},{"name":"placement","type":"\"cursor\" | Placement | undefined","required":false,"default":"\"bottom\"","values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end","cursor"],"description":"Position relative to the activator; `'cursor'` anchors at the mouse/touch point. No arrow (tooltips only)."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"header\", \"footer\", \"box\", \"input\", \"list\", \"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"submenu\"]; readonly states: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\", \"open\"]; readonly wide: readonly [\"open\"]; readonly node: { readonly item: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemText: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemIcon: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemDescription: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly check: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; }; readonly variant: { readonly names: readonly [\"default\", \"destructive\"]; readonly option: \"dropdownItemVariants\"; readonly parts: readonly [\"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\"]; }; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; box?: PtValue | undefined; sheet?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"box:open\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"footer:open\"?: PtValue | undefined; \"item:open\"?: PtValue | undefined; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"submenu:open\"?: PtValue | undefined; \"item:activeLink\"?: PtValue | undefined; \"item:exactActiveLink\"?: PtValue | undefined; \"itemDescription:activeLink\"?: PtValue | undefined; \"itemDescription:exactActiveLink\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:activeLink\"?: PtValue | undefined; \"itemText:exactActiveLink\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:activeLink\"?: PtValue | undefined; \"itemIcon:exactActiveLink\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:activeLink\"?: PtValue | undefined; \"check:exactActiveLink\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"item:default\"?: PtValue | undefined; \"item:destructive\"?: PtValue | undefined; \"itemDescription:default\"?: PtValue | undefined; \"itemDescription:destructive\"?: PtValue | undefined; \"itemText:default\"?: PtValue | undefined; \"itemText:destructive\"?: PtValue | undefined; \"itemIcon:default\"?: PtValue | undefined; \"itemIcon:destructive\"?: PtValue | undefined; \"check:default\"?: PtValue | undefined; \"check:destructive\"?: PtValue | undefined; } & { item?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemDescription?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemText?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemIcon?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; check?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; submenu?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; }) | undefined","required":false,"description":"Passthrough, object form: 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:open","type":"PtValue | undefined","required":false},{"name":"pt:check","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:check:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:check:default","type":"PtValue | undefined","required":false},{"name":"pt:check:destructive","type":"PtValue | undefined","required":false},{"name":"pt:check:disabled","type":"PtValue | undefined","required":false},{"name":"pt:check:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:check:open","type":"PtValue | undefined","required":false},{"name":"pt:check:selected","type":"PtValue | undefined","required":false},{"name":"pt:footer","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:open","type":"PtValue | undefined","required":false},{"name":"pt:input","type":"PtValue | undefined","required":false},{"name":"pt:input:open","type":"PtValue | undefined","required":false},{"name":"pt:item","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:item:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:item:default","type":"PtValue | undefined","required":false},{"name":"pt:item:destructive","type":"PtValue | undefined","required":false},{"name":"pt:item:disabled","type":"PtValue | undefined","required":false},{"name":"pt:item:exactActiveLink","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:itemDescription","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:itemDescription:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:default","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:destructive","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:open","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:itemIcon:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:default","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:destructive","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:open","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemText","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:itemText:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:itemText:default","type":"PtValue | undefined","required":false},{"name":"pt:itemText:destructive","type":"PtValue | undefined","required":false},{"name":"pt:itemText:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemText:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:itemText:open","type":"PtValue | undefined","required":false},{"name":"pt:itemText:selected","type":"PtValue | undefined","required":false},{"name":"pt:list","type":"PtValue | undefined","required":false},{"name":"pt:list:open","type":"PtValue | undefined","required":false},{"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:submenu","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:submenu:open","type":"PtValue | undefined","required":false},{"name":"queryDebounceTime","type":"number | undefined","required":false,"default":"300","description":"Debounce (ms) applied to the async re-fetch a `searchable` group fires as the user types. Applies to every searchable group in the menu."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"150","description":"The open / close transition in milliseconds. Menus take the fast one (150), not the popovers' medium 250: a menu is picked from and gone, so it answers faster than a panel you read or edit in."},{"name":"trigger","type":"DropdownTrigger | DropdownTrigger[] | undefined","required":false,"default":"\"click\"","description":"Interaction(s) that open the dropdown. Accepts a single trigger or an array to combine them.\n- `'click'` — left-click / tap (default)\n- `'contextMenu'` — right-click on desktop, long-press on mobile"},{"name":"width","type":"string | number | undefined","required":false,"default":"\"auto\"","description":"Width of the dropdown in pixels, percentage, or 'auto' to fit content."}],"events":[{"name":"hidden","signature":"(): void","description":"Emitted once the menu has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the menu starts to close."},{"name":"item:selected","signature":"(value: any): void","description":"The user selected a row in a selectable group, at the click — also when a controlled companion's app then refuses the value. The payload is the row's value (its `item-value` for pipeline groups, else its `value`)."},{"name":"item:unselected","signature":"(value: any): void","description":"The user unselected a row (a multiple toggle, a `clearable` re-click, a chip ×, or the old value a single pick replaces). Payload is the item's resolved value, matching `item:selected`."},{"name":"show","signature":"(): void","description":"Emitted as soon as the menu (the popover, or the sheet on a phone) starts to open."},{"name":"shown","signature":"(): void","description":"Emitted once the menu is open and its open transition has finished."},{"name":"update:modelValue","signature":"(value: boolean): void","description":"The menu opened or closed (`v-model`): `true` on open, `false` on close."}],"slots":[{"name":"activator","type":"BbDropdownActivatorSlotProps","fields":["disabled?: boolean","empty: boolean","loading: boolean","open: boolean","placement: Placement | \"cursor\"","props: BbDropdownActivatorProps"],"description":"The element that triggers the dropdown to open. Spread `props` onto your trigger element."},{"name":"default","type":"any","description":"Hosts `<BbDropdownGroup>` companions. They register their group with the dropdown and render nothing themselves."},{"name":"empty","type":"BbDropdownPlaceholderSlotProps","fields":["groupId?: string","query: string","text: string"],"description":"Replaces the default \"no data\" placeholder row shown in a pipeline group that resolved to no items. Rendered once per empty group. A failed load is not empty: it keeps its own row (the error icon and `failedText`)."},{"name":"footer","type":"BbDropdownEdgeSlotProps","fields":["disabled?: boolean","open: boolean","placement: Placement | \"cursor\""],"description":"Pinned below the rows, outside their scroll, with a divider — for action buttons."},{"name":"group","type":"BbDropdownGroupSlotProps","fields":["text: string","item: unknown","index: number","length: number","disabled: boolean"],"description":"Every group's `groupBy` headings (`BbSelect`'s `#group` scope); `#<groupId>:group` beats it."},{"name":"header","type":"BbDropdownEdgeSlotProps","fields":["disabled?: boolean","open: boolean","placement: Placement | \"cursor\""],"description":"Pinned above the rows, outside their scroll, with a divider — for a title or a filter field."},{"name":"item:append","type":"BbDropdownItemSlotProps","fields":["description?: string","disabled?: boolean","group: BbDropdownSlotGroup","groupTitle: boolean","level: number","index: number","item: InternalItem","loading: boolean","open: boolean","placement: Placement | \"cursor\"","selected: boolean","label: string","activeLink?: boolean","exactActiveLink?: boolean"],"description":"The trailing region of every row (and group title line), replacing its `append:icon` wherever it renders. A named slot wins; the submenu chevron and the check on a selected row take its place."},{"name":"item:prepend","type":"BbDropdownItemSlotProps","fields":["description?: string","disabled?: boolean","group: BbDropdownSlotGroup","groupTitle: boolean","level: number","index: number","item: InternalItem","loading: boolean","open: boolean","placement: Placement | \"cursor\"","selected: boolean","label: string","activeLink?: boolean","exactActiveLink?: boolean"],"description":"The leading region of every row (and group title line), replacing its `prepend:icon` wherever it renders. A named slot wins."},{"name":"loading","type":"BbDropdownPlaceholderSlotProps","fields":["groupId?: string","query: string","text: string"],"description":"Replaces the default loading placeholder row shown in a pipeline group while its async items load. Rendered once per loading group."},{"name":"<value>","type":"BbDropdownItemSlotProps","description":"One row's content (label and description), by its value; in a fetched group, by its resolved `itemValue`.","dynamic":true},{"name":"<value>:prepend","type":"BbDropdownItemSlotProps","description":"One row's leading region; replaces its `prepend:icon`.","dynamic":true},{"name":"<value>:append","type":"BbDropdownItemSlotProps","description":"One row's trailing region; replaces its `append:icon` and its submenu chevron. The check takes its place on the selected row.","dynamic":true},{"name":"<groupId>:item","type":"BbDropdownItemSlotProps","description":"The content of every row of that group, and no other; a row's own `#<value>` still wins.","dynamic":true},{"name":"<groupId>:item:prepend","type":"BbDropdownItemSlotProps","description":"The leading region of every row of that group — e.g. an avatar per record, drawn from `item.meta`, while other rows keep their `prepend:icon`.","dynamic":true},{"name":"<groupId>:item:append","type":"BbDropdownItemSlotProps","description":"The trailing region of every row of that group; replaces their `append:icon`. The check takes its place on the selected row.","dynamic":true},{"name":"<groupId>:label","type":"BbDropdownItemSlotProps","description":"That group's title content (`item` is the group, `groupTitle` is `true`).","dynamic":true},{"name":"<groupId>:prepend","type":"BbDropdownItemSlotProps","description":"The leading region of that group's title line.","dynamic":true},{"name":"<groupId>:append","type":"BbDropdownItemSlotProps","description":"The trailing region of that group's title line.","dynamic":true},{"name":"<groupId>:group","type":"BbDropdownGroupSlotProps","description":"That group's `groupBy` headings; beats `group`.","dynamic":true}],"exposed":[],"models":[{"name":"modelValue","type":"boolean | undefined"}],"cssProps":[{"name":"--bg","value":"var(--bb-panel)","selector":".bb-dropdown__group-search"},{"name":"--menu-inset","value":"4px","selector":".bb-dropdown","description":"Inset between the menu's outer chrome and its first item — owned here and consumed by both `.bb-dropdown__list`'s padding and the submenu lead-in below, so the two can never drift apart."}],"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 menu surface you see — the bordered flyout box on desktop, the sheet itself on a phone."},{"name":"sheet","description":"The bottom sheet the menu becomes on a phone (the `BbOffCanvas` root) — never the desktop surface. Applied after `panel`, so it wins a conflict there."},{"name":"header","description":"The menu's header band."},{"name":"footer","description":"The menu's footer band."},{"name":"box","description":"Every searchable group's search box (field and magnifier), as `box` on a field; desktop and phone."},{"name":"input","description":"A searchable group's search field — a broadcast: it lands on every searchable group's field, desktop and phone alike. Its magnifier glyph is chrome."},{"name":"list","description":"The top-level items container between the bands — the node that lays the entries out (a flex column with a 1px gap; on a phone, the sheet's items container). A submenu's list is not reached. Groups, headings and dividers are not parts."},{"name":"item","description":"One menu entry, submenus included — a broadcast resolved per entry. Also takes a per-item function, called with the entry."},{"name":"itemText","description":"An entry's label (its `label`) — resolved with that entry's states. A per-entry `#<value>` slot replaces it. Also takes a per-item function."},{"name":"itemIcon","description":"An entry's prepend / append icons — resolved with that entry's states. Also takes a per-item function."},{"name":"itemDescription","description":"An entry's muted second line (its `description`) — resolved with that entry's states. A per-entry `#<value>` slot replaces it. Also takes a per-item function."},{"name":"check","description":"A checked entry's tick, outside the row slots: `pt:check=\"hidden\"` spares your own glyph. Also takes a per-item function."},{"name":"submenu","description":"Every submenu's flyout box (desktop only). Also takes a per-item function, called with the entry that opens it."}],"states":[{"name":"activeLink","description":"Per node, on the entry parts: an entry whose link (`to` / `href`) points at the current page or one of its ancestors — exactly when its `activeClass` is on. The weakest state."},{"name":"exactActiveLink","description":"Per node, on the entry parts: an entry whose link points at the current page itself — its `exactActiveClass` is on."},{"name":"selected","description":"Per node, on the entry parts: a selectable group's checked entry."},{"name":"disabled","description":"Per node, on the entry parts: an entry that is disabled."},{"name":"open","description":"Component-wide: the menu is open."},{"name":"default","description":"Per entry, on the entry parts: an entry with `variant: 'default'` or none. Merged after the part's base entry and before its states, so the real states still win."},{"name":"destructive","description":"Per entry, on the entry parts: `variant: 'destructive'`. Below the real states, like every variant."}]},"tree":{"bindings":[{"part":"panel","target":"CommonPopover"},{"part":"root","target":"CommonPopover"},{"part":"header","target":"div.bb-dropdown__header"},{"part":"list","target":"span.bb-dropdown__list"},{"part":"footer","target":"div.bb-dropdown__footer"}],"nodes":[{"name":"CommonPopover","kind":"internal"},{"name":"BbDropdownList","kind":"internal","children":[{"name":"BbBadge","kind":"public"},{"name":"BbIcon","kind":"public"},{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"CommonPopover","kind":"internal","repeated":true},{"name":"BbDropdownList","kind":"internal","repeated":true}]},{"name":"DropdownFailures","kind":"internal","children":[{"name":"ErrorIcon","kind":"internal","repeated":true}]},{"name":"AdaptiveDropdown","kind":"internal","forwards":[{"to":"BbOffCanvas","mapping":"{ header: 'header', footer: 'footer', panel: 'root', sheet: 'root' }"}],"children":[{"name":"BbOffCanvas","kind":"public"},{"name":"BbSmoothHeight","kind":"public"},{"name":"BbButton","kind":"public"},{"name":"BbDropdownList","kind":"internal","repeated":true},{"name":"DropdownFailures","kind":"internal","repeated":true}]},{"name":"DropdownPipelineResolver","kind":"internal"}]},"css":{"classes":{"bb-dropdown":["","--adaptive","--compact","--mobile","--submenu","__adaptive-body","__adaptive-menu","__divider","__failed","__failed-text","__footer","__group-items","__group-items--capped","__group-items--loading","__group-loading","__group-search","__group-title","__group-title--variant-*","__group-title--variant-destructive","__header","__item","__item--description","__item--has-submenu","__item--selected","__item--variant-*","__item--variant-destructive","__item-description","__item-icon","__item-text","__list","__nav","__nav--drill","__nav-back","__nav-gutter","__nav-title","__panel","__panel--reserve-check","__placeholder","__placeholder--*","__placeholder--failed","__placeholder-icon","__search-icon","__search-input","__section","__section-title","__sheet","__sheet-chip","__sheet-chips","__sheet-selection"],"bb-dropdown-escape":[""],"bb-dropdown-handle":[""],"bb-dropdown-nav-back":[""],"bb-dropdown-nav-back-enter-active":[""],"bb-dropdown-nav-back-enter-from":[""],"bb-dropdown-nav-back-leave-active":[""],"bb-dropdown-nav-back-leave-to":[""],"bb-dropdown-nav-forward":[""],"bb-dropdown-nav-forward-enter-active":[""],"bb-dropdown-nav-forward-enter-from":[""],"bb-dropdown-nav-forward-leave-active":[""],"bb-dropdown-nav-forward-leave-to":[""],"bb-dropdown-sheet-level":[""],"bb-load-retry":[""]},"locals":["--bg","--bubble-border-w","--check-w","--color-gray-200","--dialog-title-fs","--fs","--icon-size","--max-h","--menu-inset","--py","--sheet-option-fs","--sheet-row-h","--size","--submenu-scale","--transition-duration","--translate-x-coefficient","--w"],"surface":{"stable":[{"class":"bb-dropdown","tag":"BbOffCanvas|CommonPopover","part":"root","reads":["--sheet-option-fs"]},{"class":"bb-dropdown__panel","part":"panel","reads":["--max-h","--w"]},{"class":"bb-dropdown__sheet","tag":"BbOffCanvas","part":"sheet"},{"class":"bb-dropdown__header","tag":"div","part":"header"},{"class":"bb-dropdown__footer","tag":"div","part":"footer"},{"class":"bb-dropdown__list","tag":"span","part":"list","reads":["--fs","--max-h","--menu-inset","--sheet-option-fs","--w"]},{"class":"bb-dropdown__item","tag":"BbBaseButton","part":"item","reads":["--check-w","--icon-size","--sheet-row-h"]},{"class":"bb-dropdown__item-text","tag":"span","part":"itemText"},{"class":"bb-dropdown__item-icon","tag":"BbIcon","part":"itemIcon"},{"class":"bb-dropdown__item-description","tag":"span","part":"itemDescription","reads":["--sheet-option-fs"]},{"class":"bb-dropdown__item--selected","state":"selected","reads":["--check-w","--icon-size"]}],"internal":[{"class":"bb-dropdown--adaptive","tag":"BbOffCanvas","reads":["--sheet-option-fs"]},{"class":"bb-dropdown--compact","tag":"BbOffCanvas|CommonPopover"},{"class":"bb-dropdown--mobile","tag":"BbOffCanvas|CommonPopover"},{"class":"bb-dropdown--submenu","tag":"CommonPopover"},{"class":"bb-dropdown-escape"},{"class":"bb-dropdown-handle"},{"class":"bb-dropdown-nav-back"},{"class":"bb-dropdown-nav-back-enter-active"},{"class":"bb-dropdown-nav-back-enter-from"},{"class":"bb-dropdown-nav-back-leave-active"},{"class":"bb-dropdown-nav-back-leave-to"},{"class":"bb-dropdown-nav-forward"},{"class":"bb-dropdown-nav-forward-enter-active"},{"class":"bb-dropdown-nav-forward-enter-from"},{"class":"bb-dropdown-nav-forward-leave-active"},{"class":"bb-dropdown-nav-forward-leave-to"},{"class":"bb-dropdown-sheet-level"},{"class":"bb-dropdown__adaptive-body","tag":"BbSmoothHeight"},{"class":"bb-dropdown__adaptive-menu","tag":"div"},{"class":"bb-dropdown__divider","tag":"hr","reads":["--menu-inset"]},{"class":"bb-dropdown__failed","tag":"div","reads":["--menu-inset"]},{"class":"bb-dropdown__failed-text","tag":"span"},{"class":"bb-dropdown__group-items","tag":"div"},{"class":"bb-dropdown__group-items--capped","tag":"div"},{"class":"bb-dropdown__group-items--loading","tag":"div"},{"class":"bb-dropdown__group-loading","tag":"div"},{"class":"bb-dropdown__group-search","tag":"div","reads":["--bg","--menu-inset"]},{"class":"bb-dropdown__group-title","tag":"div","reads":["--dialog-title-fs","--py","--sheet-option-fs"]},{"class":"bb-dropdown__group-title--variant-destructive"},{"class":"bb-dropdown__item--description","reads":["--sheet-row-h"]},{"class":"bb-dropdown__item--has-submenu"},{"class":"bb-dropdown__item--variant-destructive"},{"class":"bb-dropdown__nav","tag":"div","reads":["--py"]},{"class":"bb-dropdown__nav--drill","tag":"div","reads":["--py"]},{"class":"bb-dropdown__nav-back","tag":"BbButton"},{"class":"bb-dropdown__nav-gutter","tag":"span"},{"class":"bb-dropdown__nav-title","tag":"span"},{"class":"bb-dropdown__panel--reserve-check"},{"class":"bb-dropdown__placeholder","tag":"div","reads":["--sheet-row-h"]},{"class":"bb-dropdown__placeholder--failed","reads":["--menu-inset"]},{"class":"bb-dropdown__placeholder-icon","tag":"ErrorIcon"},{"class":"bb-dropdown__search-icon","tag":"BbIcon"},{"class":"bb-dropdown__search-input","tag":"input"},{"class":"bb-dropdown__section"},{"class":"bb-dropdown__section-title","tag":"div","reads":["--bg","--menu-inset"]},{"class":"bb-dropdown__sheet-chip","tag":"BbBadge"},{"class":"bb-dropdown__sheet-chips","tag":"div"},{"class":"bb-dropdown__sheet-selection","tag":"div"},{"class":"bb-load-retry","tag":"button"}],"unaligned":{"parts":["box","input","check","submenu"],"states":["activeLink","exactActiveLink","disabled","open","default","destructive"]}}},"attrTargets":["div","dialog"],"config":"adaptive*, compact*, variants","removed":[{"name":"arrowPadding","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dropdown.md","silent":true,"fix":{"kind":"remove"}},{"name":"noDataText","new":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"no-data","new":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"loading","new":null,"surface":"method","hint":"read `loading` from the activator slot scope (`#activator=\"{ loading }\"`) instead of a template ref","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dropdown.md","silent":true,"fix":{"kind":"manual"}},{"name":"items[].key","new":"items[].value","surface":"item","hint":"a row's identity: its `v-model` value (any type, compared by hash) and its `#<value>` slots; `check --fix` renames it","since":"3.0.0-beta.49","migration":"ai/guides/migration/components/bb-dropdown.md","silent":true,"fix":{"kind":"rename"}},{"name":"items[].text","new":"items[].label","surface":"item","hint":"a row's text; `check --fix` renames it","since":"3.0.0-beta.49","migration":"ai/guides/migration/components/bb-dropdown.md","silent":true,"fix":{"kind":"rename"}},{"name":"items[group].key","new":"items[group].id","surface":"item","hint":"a group's identity, the same word as `<BbDropdownGroup id>`; `check --fix` renames it","since":"3.0.0-beta.49","migration":"ai/guides/migration/components/bb-dropdown.md","silent":true,"fix":{"kind":"rename"}},{"name":"<groupId>","new":"<groupId>:label","surface":"slot","hint":"`#<groupId>:label`; `:prepend` / `:append` are unchanged","since":"3.0.0-beta.75","migration":"ai/guides/migration/components/bb-dropdown.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"noDataText","to":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"no-data","to":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"<groupId>","to":"<groupId>:label","surface":"slot","since":"3.0.0-beta.75","migration":"ai/guides/migration/components/bb-dropdown.md","fix":{"kind":"rename"},"hint":"`#<groupId>:label`; `:prepend` / `:append` are unchanged"}]},
435
- {"name":"BbDropdownButton","group":"Overlay","description":"A button with primary action and all other actions collected in a dropdown.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbDropdownButton.md","source":"ai/source/BbDropdownButton.md","props":[{"name":"activeClass","type":"string | undefined","required":false,"description":"Class to apply when the link is active."},{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"On mobile (below `config.mobileMaxWidth`), renders the menu as a bottom sheet that drills into submenus one level at a time instead of hover flyouts; slots and selection are unchanged. Unset: the global `all.adaptive`."},{"name":"append:icon","type":"string | undefined","required":false,"description":"Icon to be added on the right of the text."},{"name":"ariaCurrentValue","type":"\"time\" | \"true\" | \"false\" | \"page\" | \"step\" | \"location\" | \"date\" | undefined","required":false,"default":"'page'","description":"Value passed to the attribute `aria-current` when the link is exact active."},{"name":"async","type":"boolean | undefined","required":false,"default":"false","description":"Inertia: runs the visit without blocking — the page stays interactive and several async visits can be in flight at once."},{"name":"block","type":"boolean | undefined","required":false,"default":"undefined","description":"Displays the component as full width."},{"name":"cacheFor","type":"string | number | (string | number)[] | undefined","required":false,"description":"Inertia: how long a prefetched response stays fresh before it is re-fetched. A single duration, or `[staleAfter, expiresAfter]`.\n\nTyped platform-agnostically (matching BbButton) so the library's types never require `@inertiajs/vue3` to be installed."},{"name":"cacheTags","type":"string | string[] | undefined","required":false,"description":"Inertia: tags to file this visit's prefetch cache under, so a later request can invalidate the whole tagged group."},{"name":"closeOnSelect","type":"boolean | undefined","required":false,"default":"unset (close after a single-choice change)","description":"Whether a selection closes the menu. Unset: a change in a single-choice group closes it (an untick too, at any depth); a `multiple` group stays open. `true`: every selection change closes it. `false`: none does."},{"name":"compact","type":"boolean | undefined","required":false,"default":"false","description":"Compact density, the `BbSelect` ladder: flyout rows 28px → 24px, sheet rows 44px → 36px (a sheet row stays a touch target). The label size does not change."},{"name":"component","type":"string | undefined","required":false,"description":"Inertia: the page component this visit resolves to. Rarely set by hand — the server normally decides it."},{"name":"data","type":"object | undefined","required":false,"description":"Request payload forwarded to Inertia when navigating via `href` in an Inertia-enabled app. Ignored when not using Inertia."},{"name":"disableAutoLoading","type":"boolean | undefined","required":false,"default":"false","description":"Disables the automatic loading state that tracks async actions (enabled by default). Only affects the main action button: the split toggle half still mirrors the dropdown's internal async-action loading state."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables both halves: the main button and the menu toggle."},{"name":"download","type":"string | boolean | undefined","required":false,"description":"Marks an `href` link as a download: renders a plain `<a download>` doing a native navigation (never an Inertia/router visit), so file downloads work. Pass a string for the suggested filename. A native-anchor signal alongside `target` and `external`."},{"name":"eager","type":"boolean | undefined","required":false,"default":"false","description":"Renders the menu panel at mount instead of on the first open (the phone sheet's too), and keeps its rows after a close. Without it the rows mount on each open and go once the menu has closed."},{"name":"exactActiveClass","type":"string | undefined","required":false,"description":"Class to apply when the link is exact active."},{"name":"except","type":"string[] | undefined","required":false,"description":"Inertia: the inverse of `only` — properties to EXCLUDE from a partial reload. Pass one or the other, not both."},{"name":"external","type":"boolean | undefined","required":false,"default":"false","description":"Forces an `href` link to render as a plain `<a>` (native navigation), bypassing Inertia/router interception — same intent as Nuxt's `external`. A native-anchor signal alongside `target` and `download`."},{"name":"form","type":"string | undefined","required":false,"description":"The id of the `BbForm` the main button submits from outside it (the native `form` attribute), with `type=\"submit\"`."},{"name":"headers","type":"object | undefined","required":false,"description":"Additional HTTP headers forwarded to Inertia when navigating via `href` in an Inertia-enabled app."},{"name":"href","type":"string | { url: string; method: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"; } | undefined","required":false,"description":"The link target: renders an anchor (an Inertia `<Link>` under Inertia). Also takes Inertia's `{ url, method }`, a Wayfinder route: Inertia visits with its method; elsewhere the link is its `url`."},{"name":"iconOnly","type":"Responsive<boolean> | undefined","required":false,"description":"Shows only the button's icon (`prepend:icon` when it has both); the label is hidden but stays its accessible name, so always write it. `true`, or per breakpoint: `{ default: true, md: false }`."},{"name":"id","type":"string | undefined","required":false,"description":"Names this dropdown: the activator's id (unless it already has one), the menu's `menu_<id>`, and the key `useBbDropdown(id)` and a companion `BbDropdownGroup` pair by. Generated when omitted."},{"name":"instant","type":"boolean | undefined","required":false,"default":"false","description":"Inertia: navigate optimistically on click and reconcile when the response lands, instead of waiting for the round trip."},{"name":"interactiveWhileLoading","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the button clickable while it is loading. Buttons are disabled while loading by default; this escape hatch exists for toggles that must stay interactive (e.g. the dropdown-button caret)."},{"name":"items","type":"(BbDropdownItem | PrimitiveRow)[] | undefined","required":false,"description":"The menu: every entry is a row (BbDropdown's item model, groups and submenus included). The main action is the component itself (its default slot, `@click`, `href` / `to`, `type`), never an item. Unset or empty with no `#dropdown` slot: no toggle, a plain button."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Triggers a loading indicator. A loading button is soft-disabled on its own (`aria-disabled`, out of the tab order, clicks and navigation blocked) and keeps its variant colours; with `disabled` set too, loading still wins the look."},{"name":"method","type":"\"get\" | \"post\" | \"put\" | \"patch\" | \"delete\" | undefined","required":false,"description":"HTTP method used for Inertia navigation when `href` is provided in an Inertia-enabled app. Ignored otherwise."},{"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":"onBefore","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia right before the request is sent."},{"name":"onCancel","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia when a request is cancelled."},{"name":"onCancelToken","type":"((cancelToken: unknown) => void) | undefined","required":false,"description":"Receives the Inertia cancel token source when a request is initiated. Can be used to cancel the request.\n\nTyped platform-agnostically (matching BbButton) so the library's types never require `@inertiajs/vue3` to be installed."},{"name":"onError","type":"((errors: Record<string, string>) => void) | undefined","required":false,"description":"Inertia's hook for a VALIDATION error answer (the 422 path): the only failure callback `Link` accepts. `onHttpException` (5xx) and `onNetworkError` are `router.visit()` / `useForm()` options, never Link props."},{"name":"onFinish","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia after the request has finished (regardless of success or error)."},{"name":"only","type":"string[] | undefined","required":false,"description":"Limits the properties that are preserved in Inertia partial reloads."},{"name":"onPrefetched","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia when a prefetch for this link has completed and is cached."},{"name":"onPrefetching","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia when a prefetch for this link starts."},{"name":"onProgress","type":"((progress: { percentage: number | undefined; }) => void) | undefined","required":false,"description":"Progress callback invoked by Inertia with the upload/download percentage when available."},{"name":"onStart","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia when a request starts."},{"name":"onSuccess","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia when a request succeeds."},{"name":"open","type":"boolean | undefined","required":false,"default":"false","description":"Whether the panel is open (`v-model:open`; `v-model` stays the value). Bound, the app opens and closes it; unbound, the initial state."},{"name":"padding","type":"number | undefined","required":false,"default":"10","description":"Minimum empty space to keep from the edge of the page"},{"name":"pageProps","type":"Record<string, unknown> | ((currentProps: Record<string, unknown>, sharedProps: Record<string, unknown>) => Record<string, unknown>) | null | undefined","required":false,"description":"Inertia: props to merge into the next page optimistically, before the server responds. Either an object or a function of the current props.\n\nTyped platform-agnostically (matching BbButton) so the library's types never require `@inertiajs/vue3` to be installed."},{"name":"placement","type":"\"cursor\" | Placement | undefined","required":false,"default":"'bottom'","values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end","cursor"],"description":"Position relative to the activator; `'cursor'` anchors at the mouse/touch point. No arrow (tooltips only)."},{"name":"prefetch","type":"string | boolean | string[] | undefined","required":false,"description":"Inertia: fetch and cache this link's page ahead of the click. `true` uses the default trigger; a string or list of strings picks them (`'mount'`, `'hover'`, `'click'`)."},{"name":"prepend:icon","type":"string | undefined","required":false,"description":"Icon to be added on the left of the text."},{"name":"preserveScroll","type":"boolean | ((props: Record<string, unknown>) => boolean) | undefined","required":false,"default":"false","description":"Controls whether Inertia should preserve the current scroll position after navigation. Can be a boolean or a predicate receiving the visit props."},{"name":"preserveState","type":"boolean | ((props: Record<string, unknown>) => boolean) | null | undefined","required":false,"default":"false","description":"Controls whether Inertia should preserve the current state after navigation. Can be a boolean or a predicate receiving the visit props."},{"name":"preserveUrl","type":"boolean | undefined","required":false,"default":"false","description":"Inertia: keep the current URL in the address bar even though the page content changes."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"main\", \"toggle\", \"icon\", \"spinner\", \"text\", \"panel\", \"sheet\", \"header\", \"footer\", \"box\", \"input\", \"list\", \"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"submenu\"]; readonly states: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\", \"open\", \"loading\"]; readonly wide: readonly [\"activeLink\", \"exactActiveLink\", \"disabled\", \"open\", \"loading\"]; readonly node: { readonly item: readonly [\"selected\"]; readonly itemText: readonly [\"selected\"]; readonly itemIcon: readonly [\"selected\"]; readonly itemDescription: readonly [\"selected\"]; readonly check: readonly [\"selected\"]; }; readonly variant: readonly [{ readonly names: readonly [\"primary\", \"outline\", \"secondary\", \"ghost\", \"destructive\", \"link\"]; readonly option: \"buttonVariants\"; readonly parts: readonly [\"root\", \"main\", \"toggle\", \"icon\", \"spinner\", \"text\"]; }, { readonly names: readonly [\"default\", \"destructive\"]; readonly option: \"dropdownItemVariants\"; readonly parts: readonly [\"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\"]; }]; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; main?: PtValue | undefined; text?: PtValue | undefined; toggle?: PtValue | undefined; list?: 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; \"text:outline\"?: PtValue | undefined; \"text:primary\"?: PtValue | undefined; \"text:destructive\"?: PtValue | undefined; \"root:outline\"?: PtValue | undefined; \"root:primary\"?: PtValue | undefined; \"root:destructive\"?: PtValue | undefined; \"icon:outline\"?: PtValue | undefined; \"icon:primary\"?: PtValue | undefined; \"icon:destructive\"?: PtValue | undefined; spinner?: PtValue | undefined; \"text:activeLink\"?: PtValue | undefined; \"text:exactActiveLink\"?: PtValue | undefined; \"text:loading\"?: PtValue | undefined; \"root:activeLink\"?: PtValue | undefined; \"root:exactActiveLink\"?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:activeLink\"?: PtValue | undefined; \"icon:exactActiveLink\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"spinner:activeLink\"?: PtValue | undefined; \"spinner:exactActiveLink\"?: PtValue | undefined; \"spinner:loading\"?: PtValue | undefined; \"text:secondary\"?: PtValue | undefined; \"root:secondary\"?: PtValue | undefined; \"icon:secondary\"?: PtValue | undefined; \"spinner:outline\"?: PtValue | undefined; \"spinner:primary\"?: PtValue | undefined; \"spinner:destructive\"?: PtValue | undefined; \"spinner:secondary\"?: PtValue | undefined; \"text:disabled\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"spinner:disabled\"?: PtValue | undefined; \"text:link\"?: PtValue | undefined; \"text:ghost\"?: PtValue | undefined; \"root:link\"?: PtValue | undefined; \"root:ghost\"?: PtValue | undefined; \"icon:link\"?: PtValue | undefined; \"icon:ghost\"?: PtValue | undefined; \"spinner:link\"?: PtValue | undefined; \"spinner:ghost\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"list:disabled\"?: PtValue | undefined; \"list:loading\"?: PtValue | undefined; \"item:loading\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; \"itemDescription:loading\"?: PtValue | undefined; box?: PtValue | undefined; sheet?: PtValue | undefined; \"input:disabled\"?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"input:loading\"?: PtValue | undefined; \"panel:loading\"?: PtValue | undefined; \"spinner:open\"?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:open\"?: PtValue | undefined; \"box:loading\"?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"sheet:loading\"?: PtValue | undefined; \"footer:open\"?: PtValue | undefined; \"text:open\"?: PtValue | undefined; \"item:open\"?: PtValue | undefined; \"header:loading\"?: PtValue | undefined; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"submenu:open\"?: PtValue | undefined; \"item:activeLink\"?: PtValue | undefined; \"item:exactActiveLink\"?: PtValue | undefined; \"itemDescription:activeLink\"?: PtValue | undefined; \"itemDescription:exactActiveLink\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:activeLink\"?: PtValue | undefined; \"itemText:exactActiveLink\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:activeLink\"?: PtValue | undefined; \"itemIcon:exactActiveLink\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:activeLink\"?: PtValue | undefined; \"check:exactActiveLink\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"item:default\"?: PtValue | undefined; \"item:destructive\"?: PtValue | undefined; \"itemDescription:default\"?: PtValue | undefined; \"itemDescription:destructive\"?: PtValue | undefined; \"itemText:default\"?: PtValue | undefined; \"itemText:destructive\"?: PtValue | undefined; \"itemIcon:default\"?: PtValue | undefined; \"itemIcon:destructive\"?: PtValue | undefined; \"check:default\"?: PtValue | undefined; \"check:destructive\"?: PtValue | undefined; \"footer:disabled\"?: PtValue | undefined; \"footer:activeLink\"?: PtValue | undefined; \"footer:exactActiveLink\"?: PtValue | undefined; \"footer:loading\"?: PtValue | undefined; \"header:activeLink\"?: PtValue | undefined; \"header:exactActiveLink\"?: PtValue | undefined; \"input:activeLink\"?: PtValue | undefined; \"input:exactActiveLink\"?: PtValue | undefined; \"main:disabled\"?: PtValue | undefined; \"main:open\"?: PtValue | undefined; \"main:activeLink\"?: PtValue | undefined; \"main:exactActiveLink\"?: PtValue | undefined; \"main:loading\"?: PtValue | undefined; \"toggle:disabled\"?: PtValue | undefined; \"toggle:open\"?: PtValue | undefined; \"toggle:activeLink\"?: PtValue | undefined; \"toggle:exactActiveLink\"?: PtValue | undefined; \"toggle:loading\"?: PtValue | undefined; \"list:activeLink\"?: PtValue | undefined; \"list:exactActiveLink\"?: PtValue | undefined; \"panel:activeLink\"?: PtValue | undefined; \"panel:exactActiveLink\"?: PtValue | undefined; \"itemText:loading\"?: PtValue | undefined; \"box:activeLink\"?: PtValue | undefined; \"box:exactActiveLink\"?: PtValue | undefined; \"sheet:activeLink\"?: PtValue | undefined; \"sheet:exactActiveLink\"?: PtValue | undefined; \"itemIcon:loading\"?: PtValue | undefined; \"check:loading\"?: PtValue | undefined; \"submenu:disabled\"?: PtValue | undefined; \"submenu:activeLink\"?: PtValue | undefined; \"submenu:exactActiveLink\"?: PtValue | undefined; \"submenu:loading\"?: PtValue | undefined; \"main:link\"?: PtValue | undefined; \"main:outline\"?: PtValue | undefined; \"main:primary\"?: PtValue | undefined; \"main:destructive\"?: PtValue | undefined; \"main:secondary\"?: PtValue | undefined; \"main:ghost\"?: PtValue | undefined; \"toggle:link\"?: PtValue | undefined; \"toggle:outline\"?: PtValue | undefined; \"toggle:primary\"?: PtValue | undefined; \"toggle:destructive\"?: PtValue | undefined; \"toggle:secondary\"?: PtValue | undefined; \"toggle:ghost\"?: PtValue | undefined; } & { item?: PtValue | PtItemFn<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\"> | undefined; itemDescription?: PtValue | PtItemFn<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\"> | undefined; itemText?: PtValue | PtItemFn<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\"> | undefined; itemIcon?: PtValue | PtItemFn<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\"> | undefined; check?: PtValue | PtItemFn<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\"> | undefined; submenu?: PtValue | PtItemFn<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\"> | 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:box","type":"PtValue | undefined","required":false},{"name":"pt:box:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:box:disabled","type":"PtValue | undefined","required":false},{"name":"pt:box:exactActiveLink","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:check","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:check:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:check:default","type":"PtValue | undefined","required":false},{"name":"pt:check:destructive","type":"PtValue | undefined","required":false},{"name":"pt:check:disabled","type":"PtValue | undefined","required":false},{"name":"pt:check:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:check:loading","type":"PtValue | undefined","required":false},{"name":"pt:check:open","type":"PtValue | undefined","required":false},{"name":"pt:check:selected","type":"PtValue | undefined","required":false},{"name":"pt:footer","type":"PtValue | undefined","required":false},{"name":"pt:footer:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:footer:disabled","type":"PtValue | undefined","required":false},{"name":"pt:footer:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:footer:loading","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:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:header:disabled","type":"PtValue | undefined","required":false},{"name":"pt:header:exactActiveLink","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:icon","type":"PtValue | undefined","required":false},{"name":"pt:icon:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:icon:destructive","type":"PtValue | undefined","required":false},{"name":"pt:icon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:icon:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:icon:ghost","type":"PtValue | undefined","required":false},{"name":"pt:icon:link","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:primary","type":"PtValue | undefined","required":false},{"name":"pt:icon:secondary","type":"PtValue | undefined","required":false},{"name":"pt:input","type":"PtValue | undefined","required":false},{"name":"pt:input:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:input:disabled","type":"PtValue | undefined","required":false},{"name":"pt:input:exactActiveLink","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:item","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:item:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:item:default","type":"PtValue | undefined","required":false},{"name":"pt:item:destructive","type":"PtValue | undefined","required":false},{"name":"pt:item:disabled","type":"PtValue | undefined","required":false},{"name":"pt:item:exactActiveLink","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:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:itemDescription:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:default","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:destructive","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:open","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:itemIcon:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:default","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:destructive","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:open","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemText","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:itemText:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:itemText:default","type":"PtValue | undefined","required":false},{"name":"pt:itemText:destructive","type":"PtValue | undefined","required":false},{"name":"pt:itemText:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemText:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:itemText:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemText:open","type":"PtValue | undefined","required":false},{"name":"pt:itemText:selected","type":"PtValue | undefined","required":false},{"name":"pt:list","type":"PtValue | undefined","required":false},{"name":"pt:list:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:list:disabled","type":"PtValue | undefined","required":false},{"name":"pt:list:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:list:loading","type":"PtValue | undefined","required":false},{"name":"pt:list:open","type":"PtValue | undefined","required":false},{"name":"pt:main","type":"PtValue | undefined","required":false},{"name":"pt:main:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:main:destructive","type":"PtValue | undefined","required":false},{"name":"pt:main:disabled","type":"PtValue | undefined","required":false},{"name":"pt:main:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:main:ghost","type":"PtValue | undefined","required":false},{"name":"pt:main:link","type":"PtValue | undefined","required":false},{"name":"pt:main:loading","type":"PtValue | undefined","required":false},{"name":"pt:main:open","type":"PtValue | undefined","required":false},{"name":"pt:main:outline","type":"PtValue | undefined","required":false},{"name":"pt:main:primary","type":"PtValue | undefined","required":false},{"name":"pt:main:secondary","type":"PtValue | undefined","required":false},{"name":"pt:panel","type":"PtValue | undefined","required":false},{"name":"pt:panel:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:panel:disabled","type":"PtValue | undefined","required":false},{"name":"pt:panel:exactActiveLink","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:root","type":"PtValue | undefined","required":false},{"name":"pt:root:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:root:destructive","type":"PtValue | undefined","required":false},{"name":"pt:root:disabled","type":"PtValue | undefined","required":false},{"name":"pt:root:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:root:ghost","type":"PtValue | undefined","required":false},{"name":"pt:root:link","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:primary","type":"PtValue | undefined","required":false},{"name":"pt:root:secondary","type":"PtValue | undefined","required":false},{"name":"pt:sheet","type":"PtValue | undefined","required":false},{"name":"pt:sheet:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:sheet:disabled","type":"PtValue | undefined","required":false},{"name":"pt:sheet:exactActiveLink","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:spinner","type":"PtValue | undefined","required":false},{"name":"pt:spinner:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:spinner:destructive","type":"PtValue | undefined","required":false},{"name":"pt:spinner:disabled","type":"PtValue | undefined","required":false},{"name":"pt:spinner:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:spinner:ghost","type":"PtValue | undefined","required":false},{"name":"pt:spinner:link","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:primary","type":"PtValue | undefined","required":false},{"name":"pt:spinner:secondary","type":"PtValue | undefined","required":false},{"name":"pt:submenu","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:submenu:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:submenu:disabled","type":"PtValue | undefined","required":false},{"name":"pt:submenu:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:submenu:loading","type":"PtValue | undefined","required":false},{"name":"pt:submenu:open","type":"PtValue | undefined","required":false},{"name":"pt:text","type":"PtValue | undefined","required":false},{"name":"pt:text:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:text:destructive","type":"PtValue | undefined","required":false},{"name":"pt:text:disabled","type":"PtValue | undefined","required":false},{"name":"pt:text:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:text:ghost","type":"PtValue | undefined","required":false},{"name":"pt:text:link","type":"PtValue | undefined","required":false},{"name":"pt:text:loading","type":"PtValue | undefined","required":false},{"name":"pt:text:open","type":"PtValue | undefined","required":false},{"name":"pt:text:outline","type":"PtValue | undefined","required":false},{"name":"pt:text:primary","type":"PtValue | undefined","required":false},{"name":"pt:text:secondary","type":"PtValue | undefined","required":false},{"name":"pt:toggle","type":"PtValue | undefined","required":false},{"name":"pt:toggle:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:toggle:destructive","type":"PtValue | undefined","required":false},{"name":"pt:toggle:disabled","type":"PtValue | undefined","required":false},{"name":"pt:toggle:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:toggle:ghost","type":"PtValue | undefined","required":false},{"name":"pt:toggle:link","type":"PtValue | undefined","required":false},{"name":"pt:toggle:loading","type":"PtValue | undefined","required":false},{"name":"pt:toggle:open","type":"PtValue | undefined","required":false},{"name":"pt:toggle:outline","type":"PtValue | undefined","required":false},{"name":"pt:toggle:primary","type":"PtValue | undefined","required":false},{"name":"pt:toggle:secondary","type":"PtValue | undefined","required":false},{"name":"queryStringArrayFormat","type":"\"brackets\" | \"indices\" | undefined","required":false,"default":"'brackets'","description":"Format to use when serializing array values into the query string for Inertia requests."},{"name":"replace","type":"boolean | undefined","required":false,"default":"false","description":"Calls `router.replace` instead of `router.push`."},{"name":"size","type":"Responsive<Sizes> | undefined","required":false,"default":"`components.BbButton.size`, else `'md'`","description":"Sets the size of the button. When the value is a string, it will be applied to all screen sizes. Otherwise, it will be applied to the screen size specified by the object. Unset: `BbButton`'s `components` entry (the app's or a config scope's)."},{"name":"tag","type":"ButtonTag | undefined","required":false,"default":"'button'","values":["button","div","span","label"],"description":"Element to render for the plain (non-link, non-router) button: `'button'` (default), `'div'`/`'span'` when nesting inside another button or link, or `'label'` for a file-upload trigger. Ignored when `href`/`to` make the button render as a link."},{"name":"target","type":"string | undefined","required":false,"description":"Sets or retrieves the window or frame at which to target content."},{"name":"text","type":"string | undefined","required":false,"description":"Text content of the component."},{"name":"to","type":"string | et | X | undefined","required":false,"description":"Route Location the link should navigate to when clicked on."},{"name":"toggle:icon","type":"string | undefined","required":false,"description":"Replaces the chevron shown inside the dropdown toggle button. A constrained alternative to a slot: only the toggle's icon changes, so the button keeps its semantics. Named after the part it sits in (the `toggle`), the way `prepend:icon` / `append:icon` name theirs."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"150","description":"The open / close transition in milliseconds. Menus take the fast one (150), not the popovers' medium 250: a menu is picked from and gone, so it answers faster than a panel you read or edit in."},{"name":"type","type":"\"button\" | \"reset\" | \"submit\" | undefined","required":false,"description":"Gets the classification and default behavior of the button."},{"name":"variant","type":"ButtonVariantType | undefined","required":false,"default":"`components.BbButton.variant`, else `'primary'`","values":["outline","primary","destructive","secondary","none","ghost","link"],"description":"Visual variant shared by both buttons of the split control. `'none'` takes no look (you own hover, focus and disabled); register a real one with the plugin's `components.BbButton.variants` and style `.bb-button--<name>`. Unset: `BbButton`'s `components` entry (the app's or a config scope's)."},{"name":"viewTransition","type":"boolean | undefined","required":false,"default":"false","description":"Inertia: run the page swap inside a View Transition, where the browser supports one."},{"name":"width","type":"string | number | undefined","required":false,"default":"'auto'","description":"Width of the dropdown in pixels, percentage, or 'auto' to fit content."}],"events":[{"name":"hidden","signature":"(): void","description":"Emitted once the menu has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the menu starts to close."},{"name":"item:selected","signature":"(value: any): void","description":"A row of a selectable group was selected — the menu's own event, re-emitted with the same payload (the item's resolved value)."},{"name":"item:unselected","signature":"(value: any): void","description":"A row of a selectable group was unselected (same payload as above)."},{"name":"show","signature":"(): void","description":"Emitted as soon as the menu (the popover, or the sheet on a phone) starts to open."},{"name":"shown","signature":"(): void","description":"Emitted once the menu is open and its open transition has finished."},{"name":"update:open","signature":"(value: boolean): void","description":"The panel opened or closed (`v-model:open`)."}],"slots":[{"name":"append:icon","type":"BbButtonIconSlotProps","fields":["activeLink: boolean","exactActiveLink: boolean","pressed: boolean","loading: boolean","disabled: boolean"],"description":"The main button's trailing icon, replacing `append:icon`."},{"name":"default","type":"any","description":"The main button's label (falls back to `text`)."},{"name":"dropdown","type":"any","description":"Menu companions, forwarded into the dropdown: a `<BbDropdownGroup>` binding a group of `items` by id. A `#dropdown` slot keeps the toggle even with no `items`."},{"name":"empty","type":"BbDropdownPlaceholderSlotProps","fields":["groupId?: string","query: string","text: string"],"description":"Replaces the default \"no data\" placeholder row shown in a pipeline group that resolved to no items. Rendered once per empty group. Forwarded to the underlying `BbDropdown`."},{"name":"footer","type":"BbDropdownButtonEdgeSlotProps","fields":["disabled?: boolean","open: boolean","placement: Placement | \"cursor\""],"description":"Content pinned to the bottom of the dropdown panel, outside the scroll area."},{"name":"header","type":"BbDropdownButtonEdgeSlotProps","fields":["disabled?: boolean","open: boolean","placement: Placement | \"cursor\""],"description":"Content pinned to the top of the dropdown panel, outside the scroll area."},{"name":"item:append","type":"BbDropdownButtonItemSlotProps","fields":["disabled?: boolean","index: number","item: InternalItem","open: boolean","placement: Placement | \"cursor\"","label: string"],"description":"The trailing region of every menu row, replacing its `append:icon`; the submenu chevron and the check on a selected row take its place (BbDropdown's rules)."},{"name":"item:prepend","type":"BbDropdownButtonItemSlotProps","fields":["disabled?: boolean","index: number","item: InternalItem","open: boolean","placement: Placement | \"cursor\"","label: string"],"description":"The leading region of every menu row, replacing its `prepend:icon` (BbDropdown's rules)."},{"name":"loading","type":"BbDropdownPlaceholderSlotProps","fields":["groupId?: string","query: string","text: string"],"description":"Replaces the default loading placeholder row shown in a pipeline group while its async items load. Rendered once per loading group. Forwarded to the underlying `BbDropdown`."},{"name":"prepend:icon","type":"BbButtonIconSlotProps","fields":["activeLink: boolean","exactActiveLink: boolean","pressed: boolean","loading: boolean","disabled: boolean"],"description":"The main button's leading icon, replacing `prepend:icon` (the one `icon-only` shows); inside its `icon` part, with its states."},{"name":"<value>","type":"BbDropdownItemSlotProps","description":"One row's content (label and description), by its value; in a fetched group, by its resolved `itemValue`.","dynamic":true},{"name":"<value>:prepend","type":"BbDropdownItemSlotProps","description":"One row's leading region; replaces its `prepend:icon`.","dynamic":true},{"name":"<value>:append","type":"BbDropdownItemSlotProps","description":"One row's trailing region; replaces its `append:icon` and its submenu chevron. The check takes its place on the selected row.","dynamic":true},{"name":"<groupId>:item","type":"BbDropdownItemSlotProps","description":"The content of every row of that group, and no other; a row's own `#<value>` still wins.","dynamic":true},{"name":"<groupId>:item:prepend","type":"BbDropdownItemSlotProps","description":"The leading region of every row of that group — e.g. an avatar per record, drawn from `item.meta`, while other rows keep their `prepend:icon`.","dynamic":true},{"name":"<groupId>:item:append","type":"BbDropdownItemSlotProps","description":"The trailing region of every row of that group; replaces their `append:icon`. The check takes its place on the selected row.","dynamic":true},{"name":"<groupId>:label","type":"BbDropdownItemSlotProps","description":"That group's title content (`item` is the group, `groupTitle` is `true`).","dynamic":true},{"name":"<groupId>:prepend","type":"BbDropdownItemSlotProps","description":"The leading region of that group's title line.","dynamic":true},{"name":"<groupId>:append","type":"BbDropdownItemSlotProps","description":"The trailing region of that group's title line.","dynamic":true},{"name":"<groupId>:group","type":"BbDropdownGroupSlotProps","description":"That group's `groupBy` headings; beats `group`.","dynamic":true}],"exposed":[],"models":[{"name":"open","type":"boolean | undefined"}],"pt":{"parts":[{"name":"root","description":"The group wrapper around the main button and the toggle."},{"name":"main","description":"The main (action) button, the left half — handed to it as its own `pt:root`."},{"name":"toggle","description":"The toggle button that opens the menu, the right half — handed to it as its own `pt:root`. Pairs with `toggle:icon`."},{"name":"icon","description":"The main button's content icons — handed to it as its own `pt:icon`. The toggle's chevron is chrome."},{"name":"spinner","description":"The main button's loading spinner."},{"name":"text","description":"The main button's label span."},{"name":"panel","description":"The menu surface (the flyout box on desktop, the sheet itself on a phone) — handed to the `BbDropdown`."},{"name":"sheet","description":"The bottom sheet the menu becomes on a phone only."},{"name":"header","description":"The band around your `#header` slot: at the top of the menu on desktop, the sheet's header on a phone — handed to the `BbDropdown`."},{"name":"footer","description":"The band around your `#footer` slot: at the bottom of the menu on desktop, the sheet's footer on a phone — handed to the `BbDropdown`."},{"name":"box","description":"A searchable group's search box in the menu (field and magnifier) — handed to the `BbDropdown` as its own `pt:box`."},{"name":"input","description":"A searchable group's search field in the menu — a broadcast, every searchable group's field — handed to the `BbDropdown` as its own `pt:input`."},{"name":"list","description":"The menu's top-level items container — handed to the `BbDropdown` as its own `pt:list`."},{"name":"item","description":"One menu entry, submenus included — a broadcast resolved per entry. Also takes a per-item function, called with the entry."},{"name":"itemText","description":"An entry's label (its `label`) — resolved with that entry's states. A per-entry `#<value>` slot replaces it. Also takes a per-item function."},{"name":"itemIcon","description":"An entry's prepend / append icons — resolved with that entry's states. Also takes a per-item function."},{"name":"itemDescription","description":"An entry's muted second line (its `description`) — resolved with that entry's states. A per-entry `#<value>` slot replaces it. Also takes a per-item function."},{"name":"check","description":"A checked entry's tick, outside the row slots: `pt:check=\"hidden\"` spares your own glyph. Also takes a per-item function."},{"name":"submenu","description":"Every submenu's flyout box (desktop only). Also takes a per-item function, called with the entry that opens it."}],"states":[{"name":"activeLink","description":"Component-wide while the main button is a link to the current page or one of its ancestors (its `activeClass` is on); also per node, on the entry parts: a menu entry whose link is. The weakest state."},{"name":"exactActiveLink","description":"Component-wide while the main button is a link to the current page itself (its `exactActiveClass` is on); also per node, on the entry parts."},{"name":"selected","description":"Per node, on the entry parts only (`item`, `itemText`, `itemIcon`, `itemDescription`, `check`): a selectable group's checked entry. `pt:root:selected` is a type error, not a silent no-op."},{"name":"disabled","description":"Component-wide while the control is `disabled`; also per node, on the entry parts: a menu entry that is disabled."},{"name":"open","description":"Component-wide: the menu is open."},{"name":"loading","description":"Component-wide: `loading` is on — the main button shows its spinner."},{"name":"default","description":"Per entry, on the entry parts: an entry with `variant: 'default'` or none. Merged after the part's base entry and before its states, so the real states still win."},{"name":"destructive","description":"Per entry, on the entry parts: `variant: 'destructive'`. Below the real states, like every variant."},{"name":"ghost","description":"Component-wide: `variant=\"ghost\"`. Below the real states, like every variant."},{"name":"link","description":"Component-wide: `variant=\"link\"`. Below the real states, like every variant."},{"name":"outline","description":"Component-wide: `variant=\"outline\"`. Below the real states, like every variant."},{"name":"primary","description":"Component-wide: `variant=\"primary\"`. Merged after the part's base entry and before its states, so `disabled` / `loading` still win."},{"name":"secondary","description":"Component-wide: `variant=\"secondary\"`. Below the real states, like every variant."}]},"tree":{"forwards":[{"to":"BbButton","mapping":"{ main: 'root', icon: 'icon', spinner: 'spinner', text: 'text' }"},{"to":"BbDropdown","mapping":"{ item: 'item', itemText: 'itemText', itemIcon: 'itemIcon', itemDescription: 'itemDescription', check: 'check' }"},{"to":"BbButton","mapping":"{ toggle: 'root' }"}],"nodes":[{"name":"BbButton","kind":"public"},{"name":"BbDropdown","kind":"public"}]},"css":{"classes":{"bb-dropdown-button":["","--block","__main","__toggle"]},"locals":["--color-gray-200"],"surface":{"stable":[{"class":"bb-dropdown-button","tag":"span","part":"root"},{"class":"bb-dropdown-button__main","tag":"BbButton","part":"main"},{"class":"bb-dropdown-button__toggle","tag":"BbButton","part":"toggle"}],"internal":[{"class":"bb-dropdown-button--block","tag":"span"}],"unaligned":{"parts":["icon","spinner","text","panel","sheet","header","footer","box","input","list","item","itemText","itemIcon","itemDescription","check","submenu"],"states":["activeLink","exactActiveLink","selected","disabled","open","loading","default","destructive","ghost","link","outline","primary","secondary"]}}},"attrTargets":["span","button","a"],"config":"block*","removed":[{"name":"arrowPadding","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"remove"}},{"name":"autoLoading","new":"disableAutoLoading","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"invert"}},{"name":"theme","new":"variant","since":"3.0.0-beta.15","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"rename"}},{"name":"right:icon","new":"toggle:icon","since":"3.0.0-beta.35","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"rename"}},{"name":"no-data","new":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"items[].key","new":"items[].value","surface":"item","hint":"a row's identity: its `v-model` value (any type, compared by hash) and its `#<value>` slots; `check --fix` renames it","since":"3.0.0-beta.49","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"rename"}},{"name":"items[].text","new":"items[].label","surface":"item","hint":"a row's text; `check --fix` renames it","since":"3.0.0-beta.49","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"rename"}},{"name":"items[group].key","new":"items[group].id","surface":"item","hint":"a group's identity, the same word as `<BbDropdownGroup id>`; `check --fix` renames it","since":"3.0.0-beta.49","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"rename"}},{"name":"icon","new":"prepend:icon","hint":"an icon-only button: `prepend:icon=\"…\" icon-only`, and write the label (the slot or `text`): it stays the accessible name","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"manual"}},{"name":"icon","new":"prepend:icon","surface":"slot","hint":"an icon-only button: `#prepend:icon` with `icon-only`","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"manual"}},{"name":"<groupId>","new":"<groupId>:label","surface":"slot","hint":"`#<groupId>:label`; `:prepend` / `:append` are unchanged","since":"3.0.0-beta.75","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"autoLoading","to":"disableAutoLoading","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dropdown-button.md","fix":{"kind":"invert"}},{"from":"theme","to":"variant","since":"3.0.0-beta.15","migration":"ai/guides/migration/components/bb-dropdown-button.md","fix":{"kind":"rename"}},{"from":"right:icon","to":"toggle:icon","since":"3.0.0-beta.35","migration":"ai/guides/migration/components/bb-dropdown-button.md","fix":{"kind":"rename"}},{"from":"no-data","to":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"icon","to":"prepend:icon","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/bb-dropdown-button.md","fix":{"kind":"manual"},"hint":"an icon-only button: `prepend:icon=\"…\" icon-only`, and write the label (the slot or `text`): it stays the accessible name"},{"from":"icon","to":"prepend:icon","surface":"slot","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/bb-dropdown-button.md","fix":{"kind":"manual"},"hint":"an icon-only button: `#prepend:icon` with `icon-only`"},{"from":"<groupId>","to":"<groupId>:label","surface":"slot","since":"3.0.0-beta.75","migration":"ai/guides/migration/components/bb-dropdown-button.md","fix":{"kind":"rename"},"hint":"`#<groupId>:label`; `:prepend` / `:append` are unchanged"}]},
433
+ {"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,"readBy":["bb-close-button"]},{"name":"--icon-inset","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","__empty--failed","__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":[""],"bb-overlay-ghost":[""]},"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__empty--failed"},{"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"},{"class":"bb-overlay-ghost"}]}},"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
+ {"name":"BbDropdown","group":"Overlay","description":"Displays contextual action menus and menu content (includes the co-located BbDropdownGroup export, which is how a selectable group is bound).","referenceOnly":false,"hasGuide":true,"contract":"ai/BbDropdown.md","source":"ai/source/BbDropdown.md","props":[{"name":"activator","type":"ElementOrComponentRef | undefined","required":false,"description":"An external activator (element or component ref): the slot isn't rendered; the listeners and ARIA (`aria-haspopup` / `aria-expanded` / `aria-controls`) go on it, so don't add your own."},{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"On mobile (below `config.mobileMaxWidth`), the menu is a bottom sheet drilling into submenus a level at a time, not hover flyouts; slots and selection unchanged. Unset: the global `all.adaptive`."},{"name":"anchor","type":"ElementOrComponentRef | VirtualAnchor | undefined","required":false,"default":"the activator element","description":"What the panel positions against instead of the activator (e.g. a wrapper around it): an element, a component ref or a virtual box. It also sets a percentage `width`. Ignored with `placement=\"cursor\"`."},{"name":"boundary","type":"string | ElementOrComponentRef | undefined","required":false,"description":"Keeps the panel inside this element beside its trigger (sideways under a menu); away from it only the viewport flips it. An element, component ref or CSS selector (a `useTemplateRef`, not `$refs.x`). In a `BbTable`: its left and right edges."},{"name":"closeOnSelect","type":"boolean | undefined","required":false,"default":"unset (close after a single-choice change)","description":"Whether a selection closes the menu. Unset: a single-choice group's change closes it (an untick too, any depth), a `multiple` group stays open. `true`: every change closes it; `false`: none."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Compact density, the `BbSelect` ladder: flyout rows 28 → 24px, sheet rows 44 → 36px (still a touch target). The label size stays."},{"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 panel (the phone sheet's too) at mount, not on the first open, and keeps its rows after a close; otherwise rows mount on each open and go after the close."},{"name":"emptyText","type":"string | undefined","required":false,"description":"A pipeline group's no-items row; its own `emptyText` wins. Default: `common.emptyText`."},{"name":"enforceCoherence","type":"boolean | undefined","required":false,"default":"false","description":"Default for pipeline groups: drop selections that are no longer present in a group's current items (e.g. after a `dependencies` re-fetch) from the selection and `v-model`. A group's own `enforceCoherence` overrides this."},{"name":"failedText","type":"string | undefined","required":false,"description":"A pipeline group's failed-load row (its getter threw); its own `failedText` wins. Default: `common.failedText`."},{"name":"id","type":"string | undefined","required":false,"description":"Names this dropdown: the activator's id (unless it already has one), the menu's `menu_<id>`, and the key `useBbDropdown(id)` and a companion `BbDropdownGroup` pair by. Generated when omitted."},{"name":"items","type":"(BbDropdownItem | PrimitiveRow)[]","required":true,"default":"[]","description":"The menu rows, each a `BbBaseButton` (`button`, `a` or `router-link`): a flat array for one group, nested arrays for divider-separated groups, or `InternalGroup` objects for titled / selectable groups. A row's own `items` opens a submenu."},{"name":"keepActivator","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the trigger when no row is visible (by default it is hidden): inert, no popup ARIA, `empty` in the activator slot. A `contextMenu` trigger always stays."},{"name":"loadingText","type":"string | undefined","required":false,"description":"A pipeline group's loading row; its own `loadingText` wins. Default: `common.loadingText`."},{"name":"modelValue","type":"boolean | undefined","required":false,"default":"undefined","description":"Whether the menu is open (`v-model`): `true` opens it from code at its activator or `anchor`. Unbound: the initial state."},{"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":"10","description":"Minimum empty space to keep from the edge of the page"},{"name":"placement","type":"\"cursor\" | Placement | undefined","required":false,"default":"\"bottom\"","values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end","cursor"],"description":"Position relative to the activator; `'cursor'` anchors at the mouse/touch point. No arrow (tooltips only)."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"header\", \"footer\", \"box\", \"input\", \"list\", \"groupLabel\", \"groupHeader\", \"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"submenu\"]; readonly states: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\", \"open\"]; readonly wide: readonly [\"open\"]; readonly node: { readonly item: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemText: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemIcon: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemDescription: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly check: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; }; readonly variant: { readonly names: readonly [\"default\", \"destructive\"]; readonly option: \"dropdownItemVariants\"; readonly parts: readonly [\"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\"]; }; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; box?: PtValue | undefined; sheet?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"box:open\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"footer:open\"?: PtValue | undefined; \"item:open\"?: PtValue | undefined; groupLabel?: PtValue | undefined; groupHeader?: PtValue | undefined; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"groupLabel:open\"?: PtValue | undefined; \"groupHeader:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"submenu:open\"?: PtValue | undefined; \"item:activeLink\"?: PtValue | undefined; \"item:exactActiveLink\"?: PtValue | undefined; \"itemDescription:activeLink\"?: PtValue | undefined; \"itemDescription:exactActiveLink\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:activeLink\"?: PtValue | undefined; \"itemText:exactActiveLink\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:activeLink\"?: PtValue | undefined; \"itemIcon:exactActiveLink\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:activeLink\"?: PtValue | undefined; \"check:exactActiveLink\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"item:default\"?: PtValue | undefined; \"item:destructive\"?: PtValue | undefined; \"itemDescription:default\"?: PtValue | undefined; \"itemDescription:destructive\"?: PtValue | undefined; \"itemText:default\"?: PtValue | undefined; \"itemText:destructive\"?: PtValue | undefined; \"itemIcon:default\"?: PtValue | undefined; \"itemIcon:destructive\"?: PtValue | undefined; \"check:default\"?: PtValue | undefined; \"check:destructive\"?: PtValue | undefined; } & { item?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemDescription?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemText?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemIcon?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; check?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; submenu?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; }) | undefined","required":false,"description":"Passthrough, object form: 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:open","type":"PtValue | undefined","required":false},{"name":"pt:check","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:check:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:check:default","type":"PtValue | undefined","required":false},{"name":"pt:check:destructive","type":"PtValue | undefined","required":false},{"name":"pt:check:disabled","type":"PtValue | undefined","required":false},{"name":"pt:check:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:check:open","type":"PtValue | undefined","required":false},{"name":"pt:check:selected","type":"PtValue | undefined","required":false},{"name":"pt:footer","type":"PtValue | undefined","required":false},{"name":"pt:footer:open","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:open","type":"PtValue | undefined","required":false},{"name":"pt:groupLabel","type":"PtValue | undefined","required":false},{"name":"pt:groupLabel:open","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:open","type":"PtValue | undefined","required":false},{"name":"pt:input","type":"PtValue | undefined","required":false},{"name":"pt:input:open","type":"PtValue | undefined","required":false},{"name":"pt:item","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:item:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:item:default","type":"PtValue | undefined","required":false},{"name":"pt:item:destructive","type":"PtValue | undefined","required":false},{"name":"pt:item:disabled","type":"PtValue | undefined","required":false},{"name":"pt:item:exactActiveLink","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:itemDescription","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:itemDescription:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:default","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:destructive","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:open","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:itemIcon:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:default","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:destructive","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:open","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemText","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:itemText:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:itemText:default","type":"PtValue | undefined","required":false},{"name":"pt:itemText:destructive","type":"PtValue | undefined","required":false},{"name":"pt:itemText:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemText:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:itemText:open","type":"PtValue | undefined","required":false},{"name":"pt:itemText:selected","type":"PtValue | undefined","required":false},{"name":"pt:list","type":"PtValue | undefined","required":false},{"name":"pt:list:open","type":"PtValue | undefined","required":false},{"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:submenu","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:submenu:open","type":"PtValue | undefined","required":false},{"name":"queryDebounceTime","type":"number | undefined","required":false,"default":"300","description":"Debounce (ms) applied to the async re-fetch a `searchable` group fires as the user types. Applies to every searchable group in the menu."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"150","description":"The open / close transition (ms). Menus take the fast 150, not the popovers' 250: a menu is picked from and gone, quicker than a panel you read or edit."},{"name":"trigger","type":"DropdownTrigger | DropdownTrigger[] | undefined","required":false,"default":"\"click\"","description":"What opens the menu, one or an array: `'click'` (left-click / tap) or `'contextMenu'` (right-click; long-press on mobile)."},{"name":"width","type":"string | number | undefined","required":false,"default":"\"auto\"","description":"Width of the dropdown in pixels, percentage, or 'auto' to fit content."}],"events":[{"name":"hidden","signature":"(): void","description":"Emitted once the menu has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the menu starts to close."},{"name":"item:selected","signature":"(value: any): void","description":"The user selected a row in a selectable group, at the click, even when a controlled companion's app then refuses it. Payload: the row's value (`item-value` for pipeline groups, else `value`)."},{"name":"item:unselected","signature":"(value: any): void","description":"The user unselected a row (a multiple toggle, a `clearable` re-click, a chip ×, or the old value a single pick replaces). Payload is the item's resolved value, matching `item:selected`."},{"name":"show","signature":"(): void","description":"Emitted as soon as the menu (the popover, or the sheet on a phone) starts to open."},{"name":"shown","signature":"(): void","description":"Emitted once the menu is open and its open transition has finished."},{"name":"update:modelValue","signature":"(value: boolean): void","description":"The menu opened or closed (`v-model`): `true` on open, `false` on close."}],"slots":[{"name":"activator","type":"BbDropdownActivatorSlotProps","fields":["disabled?: boolean","empty: boolean","loading: boolean","open: boolean","placement: Placement | \"cursor\"","props: BbDropdownActivatorProps"],"description":"The element that triggers the dropdown to open. Spread `props` onto your trigger element."},{"name":"default","type":"any","description":"Hosts `<BbDropdownGroup>` companions. They register their group with the dropdown and render nothing themselves."},{"name":"empty","type":"BbDropdownPlaceholderSlotProps","fields":["groupId?: string","query: string","text: string"],"description":"Replaces the placeholder row of a pipeline group that resolved to no items, once per empty group. A failed load is not empty: it keeps its own row (error icon, `failedText`)."},{"name":"footer","type":"BbDropdownEdgeSlotProps","fields":["disabled?: boolean","open: boolean","placement: Placement | \"cursor\""],"description":"Pinned below the rows, outside their scroll, with a divider — for action buttons."},{"name":"group","type":"BbDropdownGroupSlotProps","fields":["text: string","item: unknown","index: number","length: number","disabled: boolean"],"description":"Every group's `groupBy` headings (`BbSelect`'s `#group` scope); `#<groupId>:group` beats it."},{"name":"header","type":"BbDropdownEdgeSlotProps","fields":["disabled?: boolean","open: boolean","placement: Placement | \"cursor\""],"description":"Pinned above the rows, outside their scroll, with a divider — for a title or a filter field."},{"name":"item:append","type":"BbDropdownItemSlotProps","fields":["description?: string","disabled?: boolean","group: BbDropdownSlotGroup","groupTitle: boolean","level: number","index: number","item: InternalItem","loading: boolean","open: boolean","placement: Placement | \"cursor\"","selected: boolean","label: string","activeLink?: boolean","exactActiveLink?: boolean"],"description":"The trailing region of every row (and group label), replacing its `append:icon` wherever it renders. A named slot wins; a submenu chevron or a selected row's check takes its place."},{"name":"item:prepend","type":"BbDropdownItemSlotProps","fields":["description?: string","disabled?: boolean","group: BbDropdownSlotGroup","groupTitle: boolean","level: number","index: number","item: InternalItem","loading: boolean","open: boolean","placement: Placement | \"cursor\"","selected: boolean","label: string","activeLink?: boolean","exactActiveLink?: boolean"],"description":"The leading region of every row (and group title line), replacing its `prepend:icon` wherever it renders. A named slot wins."},{"name":"loading","type":"BbDropdownPlaceholderSlotProps","fields":["groupId?: string","query: string","text: string"],"description":"Replaces the default loading placeholder row shown in a pipeline group while its async items load. Rendered once per loading group."},{"name":"<value>","type":"BbDropdownItemSlotProps","description":"One row's content (label and description), by its value; in a fetched group, by its resolved `itemValue`.","dynamic":true},{"name":"<value>:prepend","type":"BbDropdownItemSlotProps","description":"One row's leading region; replaces its `prepend:icon`.","dynamic":true},{"name":"<value>:append","type":"BbDropdownItemSlotProps","description":"One row's trailing region; replaces its `append:icon` and its submenu chevron. The check takes its place on the selected row.","dynamic":true},{"name":"<groupId>:item","type":"BbDropdownItemSlotProps","description":"The content of every row of that group, and no other; a row's own `#<value>` still wins.","dynamic":true},{"name":"<groupId>:item:prepend","type":"BbDropdownItemSlotProps","description":"The leading region of every row of that group — e.g. an avatar per record, drawn from `item.meta`, while other rows keep their `prepend:icon`.","dynamic":true},{"name":"<groupId>:item:append","type":"BbDropdownItemSlotProps","description":"The trailing region of every row of that group; replaces their `append:icon`. The check takes its place on the selected row.","dynamic":true},{"name":"<groupId>:label","type":"BbDropdownItemSlotProps","description":"That group's title content (`item` is the group, `groupTitle` is `true`).","dynamic":true},{"name":"<groupId>:prepend","type":"BbDropdownItemSlotProps","description":"The leading region of that group's title line.","dynamic":true},{"name":"<groupId>:append","type":"BbDropdownItemSlotProps","description":"The trailing region of that group's title line.","dynamic":true},{"name":"<groupId>:group","type":"BbDropdownGroupSlotProps","description":"That group's `groupBy` headings; beats `group`.","dynamic":true}],"exposed":[],"models":[{"name":"modelValue","type":"boolean | undefined"}],"cssProps":[{"name":"--bg","value":"var(--bb-panel)","selector":".bb-dropdown__group-search"},{"name":"--menu-inset","value":"4px","selector":".bb-dropdown","description":"Inset between the menu's outer chrome and its first item — owned here and consumed by both `.bb-dropdown__list`'s padding and the submenu lead-in below, so the two can never drift apart."}],"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 `panel` there)."},{"name":"panel","description":"The menu surface you see — the bordered flyout box on desktop, the sheet itself on a phone."},{"name":"sheet","description":"The phone's bottom sheet (the `BbOffCanvas` root), never the desktop surface; applied after `panel`, so it wins a conflict."},{"name":"header","description":"The menu's header band."},{"name":"footer","description":"The menu's footer band."},{"name":"box","description":"Every searchable group's search box (field and magnifier), as `box` on a field; desktop and phone."},{"name":"input","description":"Every searchable group's search field, desktop and phone alike. Its magnifier glyph is chrome."},{"name":"list","description":"The top-level entries' container between the bands (a flex column, 1px gap; on a phone, the sheet's). A submenu's list is not reached."},{"name":"groupLabel","description":"Every group's label row (its `label` and icons; the row an `onClick` group activates). `#<id>:label` replaces its content."},{"name":"groupHeader","description":"Every `groupBy` heading (sticky). `#group` / `#<id>:group` replace its content."},{"name":"item","description":"One menu entry, submenus included — a broadcast resolved per entry. Also takes a per-item function, called with the entry."},{"name":"itemText","description":"An entry's label (its `label`) — resolved with that entry's states. A per-entry `#<value>` slot replaces it. Also takes a per-item function."},{"name":"itemIcon","description":"An entry's prepend / append icons — resolved with that entry's states. Also takes a per-item function."},{"name":"itemDescription","description":"An entry's muted second line (its `description`), with the entry's states. A per-entry `#<value>` slot replaces it. Also takes a per-item function."},{"name":"check","description":"A checked entry's tick, outside the row slots: `pt:check=\"hidden\"` spares your own glyph. Also takes a per-item function."},{"name":"submenu","description":"Every submenu's flyout box (desktop only). Also takes a per-item function, called with the entry that opens it."}],"states":[{"name":"activeLink","description":"Per node, on the entry parts: an entry whose link (`to` / `href`) is the current page or an ancestor (its `activeClass` is on). The weakest state."},{"name":"exactActiveLink","description":"Per node, on the entry parts: an entry whose link points at the current page itself — its `exactActiveClass` is on."},{"name":"selected","description":"Per node, on the entry parts: a selectable group's checked entry."},{"name":"disabled","description":"Per node, on the entry parts: an entry that is disabled."},{"name":"open","description":"Component-wide: the menu is open."},{"name":"default","description":"Per entry, on the entry parts: an entry with `variant: 'default'` or none. Merged after the part's base entry and before its states, so the real states still win."},{"name":"destructive","description":"Per entry, on the entry parts: `variant: 'destructive'`. Below the real states, like every variant."}]},"tree":{"bindings":[{"part":"panel","target":"CommonPopover"},{"part":"root","target":"CommonPopover"},{"part":"header","target":"div.bb-dropdown__header"},{"part":"list","target":"span.bb-dropdown__list"},{"part":"footer","target":"div.bb-dropdown__footer"}],"nodes":[{"name":"CommonPopover","kind":"internal"},{"name":"BbDropdownList","kind":"internal","children":[{"name":"BbBadge","kind":"public"},{"name":"BbIcon","kind":"public"},{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"CommonPopover","kind":"internal","repeated":true},{"name":"BbDropdownList","kind":"internal","repeated":true}]},{"name":"DropdownFailures","kind":"internal","children":[{"name":"ErrorIcon","kind":"internal","repeated":true}]},{"name":"AdaptiveDropdown","kind":"internal","forwards":[{"to":"BbOffCanvas","mapping":"{ header: 'header', footer: 'footer', panel: 'root', sheet: 'root' }"}],"children":[{"name":"BbOffCanvas","kind":"public"},{"name":"BbSmoothHeight","kind":"public"},{"name":"BbButton","kind":"public"},{"name":"BbDropdownList","kind":"internal","repeated":true},{"name":"DropdownFailures","kind":"internal","repeated":true}]},{"name":"DropdownPipelineResolver","kind":"internal"}]},"css":{"classes":{"bb-dropdown":["","--adaptive","--compact","--mobile","--submenu","__adaptive-body","__adaptive-menu","__divider","__failed","__failed-text","__footer","__group-header","__group-items","__group-items--capped","__group-items--loading","__group-label","__group-label--variant-*","__group-label--variant-destructive","__group-loading","__group-search","__group-section","__header","__item","__item--description","__item--has-submenu","__item--selected","__item--variant-*","__item--variant-destructive","__item-description","__item-icon","__item-text","__list","__nav","__nav--drill","__nav-back","__nav-gutter","__nav-title","__panel","__panel--reserve-check","__placeholder","__placeholder--*","__placeholder--failed","__placeholder-icon","__search-icon","__search-input","__sheet","__sheet-chip","__sheet-chips","__sheet-selection"],"bb-dropdown-escape":[""],"bb-dropdown-handle":[""],"bb-dropdown-nav-back":[""],"bb-dropdown-nav-back-enter-active":[""],"bb-dropdown-nav-back-enter-from":[""],"bb-dropdown-nav-back-leave-active":[""],"bb-dropdown-nav-back-leave-to":[""],"bb-dropdown-nav-forward":[""],"bb-dropdown-nav-forward-enter-active":[""],"bb-dropdown-nav-forward-enter-from":[""],"bb-dropdown-nav-forward-leave-active":[""],"bb-dropdown-nav-forward-leave-to":[""],"bb-dropdown-sheet-level":[""],"bb-load-retry":[""]},"locals":["--bg","--bubble-border-w","--check-w","--color-gray-200","--dialog-title-fs","--fs","--icon-size","--max-h","--menu-inset","--py","--sheet-option-fs","--sheet-row-h","--size","--submenu-scale","--transition-duration","--translate-x-coefficient","--w"],"surface":{"stable":[{"class":"bb-dropdown","tag":"BbOffCanvas|CommonPopover","part":"root","reads":["--sheet-option-fs"]},{"class":"bb-dropdown__panel","part":"panel","reads":["--max-h","--w"]},{"class":"bb-dropdown__sheet","tag":"BbOffCanvas","part":"sheet"},{"class":"bb-dropdown__header","tag":"div","part":"header"},{"class":"bb-dropdown__footer","tag":"div","part":"footer"},{"class":"bb-dropdown__list","tag":"span","part":"list","reads":["--fs","--max-h","--menu-inset","--sheet-option-fs","--w"]},{"class":"bb-dropdown__group-label","tag":"div","part":"groupLabel","reads":["--dialog-title-fs","--py","--sheet-option-fs"]},{"class":"bb-dropdown__group-header","tag":"div","part":"groupHeader","reads":["--bg","--dialog-title-fs","--menu-inset","--py","--sheet-option-fs"]},{"class":"bb-dropdown__item","tag":"BbBaseButton","part":"item","reads":["--check-w","--icon-size","--sheet-row-h"]},{"class":"bb-dropdown__item-text","tag":"span","part":"itemText"},{"class":"bb-dropdown__item-icon","tag":"BbIcon","part":"itemIcon"},{"class":"bb-dropdown__item-description","tag":"span","part":"itemDescription","reads":["--sheet-option-fs"]},{"class":"bb-dropdown__item--selected","state":"selected","reads":["--check-w","--icon-size"]}],"internal":[{"class":"bb-dropdown--adaptive","tag":"BbOffCanvas","reads":["--sheet-option-fs"]},{"class":"bb-dropdown--compact","tag":"BbOffCanvas|CommonPopover"},{"class":"bb-dropdown--mobile","tag":"BbOffCanvas|CommonPopover"},{"class":"bb-dropdown--submenu","tag":"CommonPopover"},{"class":"bb-dropdown-escape"},{"class":"bb-dropdown-handle"},{"class":"bb-dropdown-nav-back"},{"class":"bb-dropdown-nav-back-enter-active"},{"class":"bb-dropdown-nav-back-enter-from"},{"class":"bb-dropdown-nav-back-leave-active"},{"class":"bb-dropdown-nav-back-leave-to"},{"class":"bb-dropdown-nav-forward"},{"class":"bb-dropdown-nav-forward-enter-active"},{"class":"bb-dropdown-nav-forward-enter-from"},{"class":"bb-dropdown-nav-forward-leave-active"},{"class":"bb-dropdown-nav-forward-leave-to"},{"class":"bb-dropdown-sheet-level"},{"class":"bb-dropdown__adaptive-body","tag":"BbSmoothHeight"},{"class":"bb-dropdown__adaptive-menu","tag":"div"},{"class":"bb-dropdown__divider","tag":"hr","reads":["--menu-inset"]},{"class":"bb-dropdown__failed","tag":"div","reads":["--menu-inset"]},{"class":"bb-dropdown__failed-text","tag":"span"},{"class":"bb-dropdown__group-items","tag":"div"},{"class":"bb-dropdown__group-items--capped","tag":"div"},{"class":"bb-dropdown__group-items--loading","tag":"div"},{"class":"bb-dropdown__group-label--variant-destructive"},{"class":"bb-dropdown__group-loading","tag":"div"},{"class":"bb-dropdown__group-search","tag":"div","reads":["--bg","--menu-inset"]},{"class":"bb-dropdown__group-section"},{"class":"bb-dropdown__item--description","reads":["--sheet-row-h"]},{"class":"bb-dropdown__item--has-submenu"},{"class":"bb-dropdown__item--variant-destructive"},{"class":"bb-dropdown__nav","tag":"div","reads":["--py"]},{"class":"bb-dropdown__nav--drill","tag":"div","reads":["--py"]},{"class":"bb-dropdown__nav-back","tag":"BbButton"},{"class":"bb-dropdown__nav-gutter","tag":"span"},{"class":"bb-dropdown__nav-title","tag":"span"},{"class":"bb-dropdown__panel--reserve-check"},{"class":"bb-dropdown__placeholder","tag":"div","reads":["--sheet-row-h"]},{"class":"bb-dropdown__placeholder--failed","reads":["--menu-inset"]},{"class":"bb-dropdown__placeholder-icon","tag":"ErrorIcon"},{"class":"bb-dropdown__search-icon","tag":"BbIcon"},{"class":"bb-dropdown__search-input","tag":"input"},{"class":"bb-dropdown__sheet-chip","tag":"BbBadge"},{"class":"bb-dropdown__sheet-chips","tag":"div"},{"class":"bb-dropdown__sheet-selection","tag":"div"},{"class":"bb-load-retry","tag":"button"}],"unaligned":{"parts":["box","input","check","submenu"],"states":["activeLink","exactActiveLink","disabled","open","default","destructive"]}}},"attrTargets":["div","dialog"],"config":"adaptive*, compact*, variants","removed":[{"name":"arrowPadding","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dropdown.md","silent":true,"fix":{"kind":"remove"}},{"name":"noDataText","new":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"no-data","new":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"loading","new":null,"surface":"method","hint":"read `loading` from the activator slot scope (`#activator=\"{ loading }\"`) instead of a template ref","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dropdown.md","silent":true,"fix":{"kind":"manual"}},{"name":"items[].key","new":"items[].value","surface":"item","hint":"a row's identity: its `v-model` value (any type, compared by hash) and its `#<value>` slots; `check --fix` renames it","since":"3.0.0-beta.49","migration":"ai/guides/migration/components/bb-dropdown.md","silent":true,"fix":{"kind":"rename"}},{"name":"items[].text","new":"items[].label","surface":"item","hint":"a row's text; `check --fix` renames it","since":"3.0.0-beta.49","migration":"ai/guides/migration/components/bb-dropdown.md","silent":true,"fix":{"kind":"rename"}},{"name":"items[group].key","new":"items[group].id","surface":"item","hint":"a group's identity, the same word as `<BbDropdownGroup id>`; `check --fix` renames it","since":"3.0.0-beta.49","migration":"ai/guides/migration/components/bb-dropdown.md","silent":true,"fix":{"kind":"rename"}},{"name":"<groupId>","new":"<groupId>:label","surface":"slot","hint":"`#<groupId>:label`; `:prepend` / `:append` are unchanged","since":"3.0.0-beta.75","migration":"ai/guides/migration/components/bb-dropdown.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"noDataText","to":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"no-data","to":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"<groupId>","to":"<groupId>:label","surface":"slot","since":"3.0.0-beta.75","migration":"ai/guides/migration/components/bb-dropdown.md","fix":{"kind":"rename"},"hint":"`#<groupId>:label`; `:prepend` / `:append` are unchanged"}]},
435
+ {"name":"BbDropdownButton","group":"Overlay","description":"A button with primary action and all other actions collected in a dropdown.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbDropdownButton.md","source":"ai/source/BbDropdownButton.md","props":[{"name":"activeClass","type":"string | undefined","required":false,"description":"Class to apply when the link is active."},{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"On mobile (below `config.mobileMaxWidth`), the menu is a bottom sheet drilling into submenus a level at a time, not hover flyouts; slots and selection unchanged. Unset: the global `all.adaptive`."},{"name":"append:icon","type":"string | undefined","required":false,"description":"Icon to be added on the right of the text."},{"name":"ariaCurrentValue","type":"\"time\" | \"true\" | \"false\" | \"page\" | \"step\" | \"location\" | \"date\" | undefined","required":false,"default":"'page'","description":"Value passed to the attribute `aria-current` when the link is exact active."},{"name":"async","type":"boolean | undefined","required":false,"default":"false","description":"Inertia: runs the visit without blocking — the page stays interactive and several async visits can be in flight at once."},{"name":"block","type":"boolean | undefined","required":false,"default":"undefined","description":"Displays the component as full width."},{"name":"cacheFor","type":"string | number | (string | number)[] | undefined","required":false,"description":"Inertia: how long a prefetched response stays fresh before it is re-fetched. A single duration, or `[staleAfter, expiresAfter]`.\n\nTyped platform-agnostically (matching BbButton) so the library's types never require `@inertiajs/vue3` to be installed."},{"name":"cacheTags","type":"string | string[] | undefined","required":false,"description":"Inertia: tags to file this visit's prefetch cache under, so a later request can invalidate the whole tagged group."},{"name":"closeOnSelect","type":"boolean | undefined","required":false,"default":"unset (close after a single-choice change)","description":"Whether a selection closes the menu. Unset: a single-choice group's change closes it (an untick too, any depth), a `multiple` group stays open. `true`: every change closes it; `false`: none."},{"name":"compact","type":"boolean | undefined","required":false,"default":"false","description":"Compact density, the `BbSelect` ladder: flyout rows 28 → 24px, sheet rows 44 → 36px (still a touch target). The label size stays."},{"name":"component","type":"string | undefined","required":false,"description":"Inertia: the page component this visit resolves to. Rarely set by hand — the server normally decides it."},{"name":"data","type":"object | undefined","required":false,"description":"Request payload forwarded to Inertia when navigating via `href` in an Inertia-enabled app. Ignored when not using Inertia."},{"name":"disableAutoLoading","type":"boolean | undefined","required":false,"default":"false","description":"Disables the automatic loading state that tracks async actions (enabled by default). Only affects the main action button: the split toggle half still mirrors the dropdown's internal async-action loading state."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables both halves: the main button and the menu toggle."},{"name":"download","type":"string | boolean | undefined","required":false,"description":"Marks an `href` link as a download: renders a plain `<a download>` doing a native navigation (never an Inertia/router visit), so file downloads work. Pass a string for the suggested filename. A native-anchor signal alongside `target` and `external`."},{"name":"eager","type":"boolean | undefined","required":false,"default":"false","description":"Renders the panel (the phone sheet's too) at mount, not on the first open, and keeps its rows after a close; otherwise rows mount on each open and go after the close."},{"name":"exactActiveClass","type":"string | undefined","required":false,"description":"Class to apply when the link is exact active."},{"name":"except","type":"string[] | undefined","required":false,"description":"Inertia: the inverse of `only` — properties to EXCLUDE from a partial reload. Pass one or the other, not both."},{"name":"external","type":"boolean | undefined","required":false,"default":"false","description":"Forces an `href` link to render as a plain `<a>` (native navigation), bypassing Inertia/router interception — same intent as Nuxt's `external`. A native-anchor signal alongside `target` and `download`."},{"name":"form","type":"string | undefined","required":false,"description":"The id of the `BbForm` the main button submits from outside it (the native `form` attribute), with `type=\"submit\"`."},{"name":"headers","type":"object | undefined","required":false,"description":"Additional HTTP headers forwarded to Inertia when navigating via `href` in an Inertia-enabled app."},{"name":"href","type":"string | { url: string; method: \"get\" | \"post\" | \"put\" | \"patch\" | \"delete\"; } | undefined","required":false,"description":"The link target: renders an anchor (an Inertia `<Link>` under Inertia). Also takes Inertia's `{ url, method }`, a Wayfinder route: Inertia visits with its method; elsewhere the link is its `url`."},{"name":"iconOnly","type":"Responsive<boolean> | undefined","required":false,"description":"Shows only the button's icon (`prepend:icon` when it has both); the label is hidden but stays its accessible name, so always write it. `true`, or per breakpoint: `{ default: true, md: false }`."},{"name":"id","type":"string | undefined","required":false,"description":"Names this dropdown: the activator's id (unless it already has one), the menu's `menu_<id>`, and the key `useBbDropdown(id)` and a companion `BbDropdownGroup` pair by. Generated when omitted."},{"name":"instant","type":"boolean | undefined","required":false,"default":"false","description":"Inertia: navigate optimistically on click and reconcile when the response lands, instead of waiting for the round trip."},{"name":"interactiveWhileLoading","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the button clickable while it is loading. Buttons are disabled while loading by default; this escape hatch exists for toggles that must stay interactive (e.g. the dropdown-button caret)."},{"name":"items","type":"(BbDropdownItem | PrimitiveRow)[] | undefined","required":false,"description":"The menu: every entry is a row (BbDropdown's item model, groups and submenus included). The main action is the component itself (its default slot, `@click`, `href` / `to`, `type`), never an item. Unset or empty with no `#dropdown` slot: no toggle, a plain button."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Triggers a loading indicator. A loading button is soft-disabled on its own (`aria-disabled`, out of the tab order, clicks and navigation blocked) and keeps its variant colours; with `disabled` set too, loading still wins the look."},{"name":"method","type":"\"get\" | \"post\" | \"put\" | \"patch\" | \"delete\" | undefined","required":false,"description":"HTTP method used for Inertia navigation when `href` is provided in an Inertia-enabled app. Ignored otherwise."},{"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":"onBefore","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia right before the request is sent."},{"name":"onCancel","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia when a request is cancelled."},{"name":"onCancelToken","type":"((cancelToken: unknown) => void) | undefined","required":false,"description":"Receives the Inertia cancel token source when a request is initiated. Can be used to cancel the request.\n\nTyped platform-agnostically (matching BbButton) so the library's types never require `@inertiajs/vue3` to be installed."},{"name":"onError","type":"((errors: Record<string, string>) => void) | undefined","required":false,"description":"Inertia's hook for a VALIDATION error answer (the 422 path): the only failure callback `Link` accepts. `onHttpException` (5xx) and `onNetworkError` are `router.visit()` / `useForm()` options, never Link props."},{"name":"onFinish","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia after the request has finished (regardless of success or error)."},{"name":"only","type":"string[] | undefined","required":false,"description":"Limits the properties that are preserved in Inertia partial reloads."},{"name":"onPrefetched","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia when a prefetch for this link has completed and is cached."},{"name":"onPrefetching","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia when a prefetch for this link starts."},{"name":"onProgress","type":"((progress: { percentage: number | undefined; }) => void) | undefined","required":false,"description":"Progress callback invoked by Inertia with the upload/download percentage when available."},{"name":"onStart","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia when a request starts."},{"name":"onSuccess","type":"(() => void) | undefined","required":false,"description":"Lifecycle hook invoked by Inertia when a request succeeds."},{"name":"open","type":"boolean | undefined","required":false,"default":"false","description":"Whether the panel is open (`v-model:open`; `v-model` stays the value). Bound, the app opens and closes it; unbound, the initial state."},{"name":"padding","type":"number | undefined","required":false,"default":"10","description":"Minimum empty space to keep from the edge of the page"},{"name":"pageProps","type":"Record<string, unknown> | ((currentProps: Record<string, unknown>, sharedProps: Record<string, unknown>) => Record<string, unknown>) | null | undefined","required":false,"description":"Inertia: props to merge into the next page optimistically, before the server responds. Either an object or a function of the current props.\n\nTyped platform-agnostically (matching BbButton) so the library's types never require `@inertiajs/vue3` to be installed."},{"name":"placement","type":"\"cursor\" | Placement | undefined","required":false,"default":"'bottom'","values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end","cursor"],"description":"Position relative to the activator; `'cursor'` anchors at the mouse/touch point. No arrow (tooltips only)."},{"name":"prefetch","type":"string | boolean | string[] | undefined","required":false,"description":"Inertia: fetch and cache this link's page ahead of the click. `true` uses the default trigger; a string or list of strings picks them (`'mount'`, `'hover'`, `'click'`)."},{"name":"prepend:icon","type":"string | undefined","required":false,"description":"Icon to be added on the left of the text."},{"name":"preserveScroll","type":"boolean | ((props: Record<string, unknown>) => boolean) | undefined","required":false,"default":"false","description":"Controls whether Inertia should preserve the current scroll position after navigation. Can be a boolean or a predicate receiving the visit props."},{"name":"preserveState","type":"boolean | ((props: Record<string, unknown>) => boolean) | null | undefined","required":false,"default":"false","description":"Controls whether Inertia should preserve the current state after navigation. Can be a boolean or a predicate receiving the visit props."},{"name":"preserveUrl","type":"boolean | undefined","required":false,"default":"false","description":"Inertia: keep the current URL in the address bar even though the page content changes."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"main\", \"toggle\", \"icon\", \"spinner\", \"text\", \"panel\", \"sheet\", \"header\", \"footer\", \"box\", \"input\", \"list\", \"groupLabel\", \"groupHeader\", \"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"submenu\"]; readonly states: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\", \"open\", \"loading\"]; readonly wide: readonly [\"activeLink\", \"exactActiveLink\", \"disabled\", \"open\", \"loading\"]; readonly node: { readonly item: readonly [\"selected\"]; readonly itemText: readonly [\"selected\"]; readonly itemIcon: readonly [\"selected\"]; readonly itemDescription: readonly [\"selected\"]; readonly check: readonly [\"selected\"]; }; readonly variant: readonly [{ readonly names: readonly [\"primary\", \"outline\", \"secondary\", \"ghost\", \"destructive\", \"link\"]; readonly option: \"buttonVariants\"; readonly parts: readonly [\"root\", \"main\", \"toggle\", \"icon\", \"spinner\", \"text\"]; }, { readonly names: readonly [\"default\", \"destructive\"]; readonly option: \"dropdownItemVariants\"; readonly parts: readonly [\"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\"]; }]; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; main?: PtValue | undefined; text?: PtValue | undefined; toggle?: PtValue | undefined; list?: 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; \"text:outline\"?: PtValue | undefined; \"text:primary\"?: PtValue | undefined; \"text:destructive\"?: PtValue | undefined; \"root:outline\"?: PtValue | undefined; \"root:primary\"?: PtValue | undefined; \"root:destructive\"?: PtValue | undefined; \"icon:outline\"?: PtValue | undefined; \"icon:primary\"?: PtValue | undefined; \"icon:destructive\"?: PtValue | undefined; spinner?: PtValue | undefined; \"text:activeLink\"?: PtValue | undefined; \"text:exactActiveLink\"?: PtValue | undefined; \"text:loading\"?: PtValue | undefined; \"root:activeLink\"?: PtValue | undefined; \"root:exactActiveLink\"?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:activeLink\"?: PtValue | undefined; \"icon:exactActiveLink\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"spinner:activeLink\"?: PtValue | undefined; \"spinner:exactActiveLink\"?: PtValue | undefined; \"spinner:loading\"?: PtValue | undefined; \"text:secondary\"?: PtValue | undefined; \"root:secondary\"?: PtValue | undefined; \"icon:secondary\"?: PtValue | undefined; \"spinner:outline\"?: PtValue | undefined; \"spinner:primary\"?: PtValue | undefined; \"spinner:destructive\"?: PtValue | undefined; \"spinner:secondary\"?: PtValue | undefined; \"text:disabled\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"spinner:disabled\"?: PtValue | undefined; \"text:link\"?: PtValue | undefined; \"text:ghost\"?: PtValue | undefined; \"root:link\"?: PtValue | undefined; \"root:ghost\"?: PtValue | undefined; \"icon:link\"?: PtValue | undefined; \"icon:ghost\"?: PtValue | undefined; \"spinner:link\"?: PtValue | undefined; \"spinner:ghost\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"list:disabled\"?: PtValue | undefined; \"list:loading\"?: PtValue | undefined; \"item:loading\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; \"itemDescription:loading\"?: PtValue | undefined; box?: PtValue | undefined; sheet?: PtValue | undefined; \"input:disabled\"?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"input:loading\"?: PtValue | undefined; \"panel:loading\"?: PtValue | undefined; \"spinner:open\"?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:open\"?: PtValue | undefined; \"box:loading\"?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"sheet:loading\"?: PtValue | undefined; \"footer:open\"?: PtValue | undefined; \"text:open\"?: PtValue | undefined; \"item:open\"?: PtValue | undefined; \"header:loading\"?: PtValue | undefined; groupLabel?: PtValue | undefined; groupHeader?: PtValue | undefined; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"groupLabel:open\"?: PtValue | undefined; \"groupHeader:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"submenu:open\"?: PtValue | undefined; \"item:activeLink\"?: PtValue | undefined; \"item:exactActiveLink\"?: PtValue | undefined; \"itemDescription:activeLink\"?: PtValue | undefined; \"itemDescription:exactActiveLink\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:activeLink\"?: PtValue | undefined; \"itemText:exactActiveLink\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:activeLink\"?: PtValue | undefined; \"itemIcon:exactActiveLink\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:activeLink\"?: PtValue | undefined; \"check:exactActiveLink\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"item:default\"?: PtValue | undefined; \"item:destructive\"?: PtValue | undefined; \"itemDescription:default\"?: PtValue | undefined; \"itemDescription:destructive\"?: PtValue | undefined; \"itemText:default\"?: PtValue | undefined; \"itemText:destructive\"?: PtValue | undefined; \"itemIcon:default\"?: PtValue | undefined; \"itemIcon:destructive\"?: PtValue | undefined; \"check:default\"?: PtValue | undefined; \"check:destructive\"?: PtValue | undefined; \"footer:disabled\"?: PtValue | undefined; \"footer:activeLink\"?: PtValue | undefined; \"footer:exactActiveLink\"?: PtValue | undefined; \"footer:loading\"?: PtValue | undefined; \"header:activeLink\"?: PtValue | undefined; \"header:exactActiveLink\"?: PtValue | undefined; \"input:activeLink\"?: PtValue | undefined; \"input:exactActiveLink\"?: PtValue | undefined; \"main:disabled\"?: PtValue | undefined; \"main:open\"?: PtValue | undefined; \"main:activeLink\"?: PtValue | undefined; \"main:exactActiveLink\"?: PtValue | undefined; \"main:loading\"?: PtValue | undefined; \"toggle:disabled\"?: PtValue | undefined; \"toggle:open\"?: PtValue | undefined; \"toggle:activeLink\"?: PtValue | undefined; \"toggle:exactActiveLink\"?: PtValue | undefined; \"toggle:loading\"?: PtValue | undefined; \"list:activeLink\"?: PtValue | undefined; \"list:exactActiveLink\"?: PtValue | undefined; \"panel:activeLink\"?: PtValue | undefined; \"panel:exactActiveLink\"?: PtValue | undefined; \"itemText:loading\"?: PtValue | undefined; \"box:activeLink\"?: PtValue | undefined; \"box:exactActiveLink\"?: PtValue | undefined; \"sheet:activeLink\"?: PtValue | undefined; \"sheet:exactActiveLink\"?: PtValue | undefined; \"groupLabel:disabled\"?: PtValue | undefined; \"groupLabel:activeLink\"?: PtValue | undefined; \"groupLabel:exactActiveLink\"?: PtValue | undefined; \"groupLabel:loading\"?: PtValue | undefined; \"groupHeader:disabled\"?: PtValue | undefined; \"groupHeader:activeLink\"?: PtValue | undefined; \"groupHeader:exactActiveLink\"?: PtValue | undefined; \"groupHeader:loading\"?: PtValue | undefined; \"itemIcon:loading\"?: PtValue | undefined; \"check:loading\"?: PtValue | undefined; \"submenu:disabled\"?: PtValue | undefined; \"submenu:activeLink\"?: PtValue | undefined; \"submenu:exactActiveLink\"?: PtValue | undefined; \"submenu:loading\"?: PtValue | undefined; \"main:link\"?: PtValue | undefined; \"main:outline\"?: PtValue | undefined; \"main:primary\"?: PtValue | undefined; \"main:destructive\"?: PtValue | undefined; \"main:secondary\"?: PtValue | undefined; \"main:ghost\"?: PtValue | undefined; \"toggle:link\"?: PtValue | undefined; \"toggle:outline\"?: PtValue | undefined; \"toggle:primary\"?: PtValue | undefined; \"toggle:destructive\"?: PtValue | undefined; \"toggle:secondary\"?: PtValue | undefined; \"toggle:ghost\"?: PtValue | undefined; } & { item?: PtValue | PtItemFn<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\"> | undefined; itemDescription?: PtValue | PtItemFn<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\"> | undefined; itemText?: PtValue | PtItemFn<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\"> | undefined; itemIcon?: PtValue | PtItemFn<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\"> | undefined; check?: PtValue | PtItemFn<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\"> | undefined; submenu?: PtValue | PtItemFn<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\"> | 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:box","type":"PtValue | undefined","required":false},{"name":"pt:box:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:box:disabled","type":"PtValue | undefined","required":false},{"name":"pt:box:exactActiveLink","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:check","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:check:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:check:default","type":"PtValue | undefined","required":false},{"name":"pt:check:destructive","type":"PtValue | undefined","required":false},{"name":"pt:check:disabled","type":"PtValue | undefined","required":false},{"name":"pt:check:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:check:loading","type":"PtValue | undefined","required":false},{"name":"pt:check:open","type":"PtValue | undefined","required":false},{"name":"pt:check:selected","type":"PtValue | undefined","required":false},{"name":"pt:footer","type":"PtValue | undefined","required":false},{"name":"pt:footer:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:footer:disabled","type":"PtValue | undefined","required":false},{"name":"pt:footer:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:footer:loading","type":"PtValue | undefined","required":false},{"name":"pt:footer:open","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:disabled","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:loading","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:open","type":"PtValue | undefined","required":false},{"name":"pt:groupLabel","type":"PtValue | undefined","required":false},{"name":"pt:groupLabel:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:groupLabel:disabled","type":"PtValue | undefined","required":false},{"name":"pt:groupLabel:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:groupLabel:loading","type":"PtValue | undefined","required":false},{"name":"pt:groupLabel:open","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:header:disabled","type":"PtValue | undefined","required":false},{"name":"pt:header:exactActiveLink","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:icon","type":"PtValue | undefined","required":false},{"name":"pt:icon:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:icon:destructive","type":"PtValue | undefined","required":false},{"name":"pt:icon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:icon:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:icon:ghost","type":"PtValue | undefined","required":false},{"name":"pt:icon:link","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:primary","type":"PtValue | undefined","required":false},{"name":"pt:icon:secondary","type":"PtValue | undefined","required":false},{"name":"pt:input","type":"PtValue | undefined","required":false},{"name":"pt:input:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:input:disabled","type":"PtValue | undefined","required":false},{"name":"pt:input:exactActiveLink","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:item","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:item:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:item:default","type":"PtValue | undefined","required":false},{"name":"pt:item:destructive","type":"PtValue | undefined","required":false},{"name":"pt:item:disabled","type":"PtValue | undefined","required":false},{"name":"pt:item:exactActiveLink","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:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:itemDescription:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:default","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:destructive","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:open","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:itemIcon:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:default","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:destructive","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:open","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemText","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:itemText:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:itemText:default","type":"PtValue | undefined","required":false},{"name":"pt:itemText:destructive","type":"PtValue | undefined","required":false},{"name":"pt:itemText:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemText:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:itemText:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemText:open","type":"PtValue | undefined","required":false},{"name":"pt:itemText:selected","type":"PtValue | undefined","required":false},{"name":"pt:list","type":"PtValue | undefined","required":false},{"name":"pt:list:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:list:disabled","type":"PtValue | undefined","required":false},{"name":"pt:list:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:list:loading","type":"PtValue | undefined","required":false},{"name":"pt:list:open","type":"PtValue | undefined","required":false},{"name":"pt:main","type":"PtValue | undefined","required":false},{"name":"pt:main:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:main:destructive","type":"PtValue | undefined","required":false},{"name":"pt:main:disabled","type":"PtValue | undefined","required":false},{"name":"pt:main:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:main:ghost","type":"PtValue | undefined","required":false},{"name":"pt:main:link","type":"PtValue | undefined","required":false},{"name":"pt:main:loading","type":"PtValue | undefined","required":false},{"name":"pt:main:open","type":"PtValue | undefined","required":false},{"name":"pt:main:outline","type":"PtValue | undefined","required":false},{"name":"pt:main:primary","type":"PtValue | undefined","required":false},{"name":"pt:main:secondary","type":"PtValue | undefined","required":false},{"name":"pt:panel","type":"PtValue | undefined","required":false},{"name":"pt:panel:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:panel:disabled","type":"PtValue | undefined","required":false},{"name":"pt:panel:exactActiveLink","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:root","type":"PtValue | undefined","required":false},{"name":"pt:root:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:root:destructive","type":"PtValue | undefined","required":false},{"name":"pt:root:disabled","type":"PtValue | undefined","required":false},{"name":"pt:root:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:root:ghost","type":"PtValue | undefined","required":false},{"name":"pt:root:link","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:primary","type":"PtValue | undefined","required":false},{"name":"pt:root:secondary","type":"PtValue | undefined","required":false},{"name":"pt:sheet","type":"PtValue | undefined","required":false},{"name":"pt:sheet:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:sheet:disabled","type":"PtValue | undefined","required":false},{"name":"pt:sheet:exactActiveLink","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:spinner","type":"PtValue | undefined","required":false},{"name":"pt:spinner:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:spinner:destructive","type":"PtValue | undefined","required":false},{"name":"pt:spinner:disabled","type":"PtValue | undefined","required":false},{"name":"pt:spinner:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:spinner:ghost","type":"PtValue | undefined","required":false},{"name":"pt:spinner:link","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:primary","type":"PtValue | undefined","required":false},{"name":"pt:spinner:secondary","type":"PtValue | undefined","required":false},{"name":"pt:submenu","type":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownButtonPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined","required":false},{"name":"pt:submenu:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:submenu:disabled","type":"PtValue | undefined","required":false},{"name":"pt:submenu:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:submenu:loading","type":"PtValue | undefined","required":false},{"name":"pt:submenu:open","type":"PtValue | undefined","required":false},{"name":"pt:text","type":"PtValue | undefined","required":false},{"name":"pt:text:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:text:destructive","type":"PtValue | undefined","required":false},{"name":"pt:text:disabled","type":"PtValue | undefined","required":false},{"name":"pt:text:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:text:ghost","type":"PtValue | undefined","required":false},{"name":"pt:text:link","type":"PtValue | undefined","required":false},{"name":"pt:text:loading","type":"PtValue | undefined","required":false},{"name":"pt:text:open","type":"PtValue | undefined","required":false},{"name":"pt:text:outline","type":"PtValue | undefined","required":false},{"name":"pt:text:primary","type":"PtValue | undefined","required":false},{"name":"pt:text:secondary","type":"PtValue | undefined","required":false},{"name":"pt:toggle","type":"PtValue | undefined","required":false},{"name":"pt:toggle:activeLink","type":"PtValue | undefined","required":false},{"name":"pt:toggle:destructive","type":"PtValue | undefined","required":false},{"name":"pt:toggle:disabled","type":"PtValue | undefined","required":false},{"name":"pt:toggle:exactActiveLink","type":"PtValue | undefined","required":false},{"name":"pt:toggle:ghost","type":"PtValue | undefined","required":false},{"name":"pt:toggle:link","type":"PtValue | undefined","required":false},{"name":"pt:toggle:loading","type":"PtValue | undefined","required":false},{"name":"pt:toggle:open","type":"PtValue | undefined","required":false},{"name":"pt:toggle:outline","type":"PtValue | undefined","required":false},{"name":"pt:toggle:primary","type":"PtValue | undefined","required":false},{"name":"pt:toggle:secondary","type":"PtValue | undefined","required":false},{"name":"queryStringArrayFormat","type":"\"brackets\" | \"indices\" | undefined","required":false,"default":"'brackets'","description":"Format to use when serializing array values into the query string for Inertia requests."},{"name":"replace","type":"boolean | undefined","required":false,"default":"false","description":"Calls `router.replace` instead of `router.push`."},{"name":"size","type":"Responsive<Sizes> | undefined","required":false,"default":"`components.BbButton.size`, else `'md'`","description":"Sets the size of the button. When the value is a string, it will be applied to all screen sizes. Otherwise, it will be applied to the screen size specified by the object. Unset: `BbButton`'s `components` entry (the app's or a config scope's)."},{"name":"tag","type":"ButtonTag | undefined","required":false,"default":"'button'","values":["button","div","span","label"],"description":"Element to render for the plain (non-link, non-router) button: `'button'` (default), `'div'`/`'span'` when nesting inside another button or link, or `'label'` for a file-upload trigger. Ignored when `href`/`to` make the button render as a link."},{"name":"target","type":"string | undefined","required":false,"description":"Sets or retrieves the window or frame at which to target content."},{"name":"text","type":"string | undefined","required":false,"description":"Text content of the component."},{"name":"to","type":"string | et | X | undefined","required":false,"description":"Route Location the link should navigate to when clicked on."},{"name":"toggle:icon","type":"string | undefined","required":false,"description":"Replaces the chevron shown inside the dropdown toggle button. A constrained alternative to a slot: only the toggle's icon changes, so the button keeps its semantics. Named after the part it sits in (the `toggle`), the way `prepend:icon` / `append:icon` name theirs."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"150","description":"The open / close transition (ms). Menus take the fast 150, not the popovers' 250: a menu is picked from and gone, quicker than a panel you read or edit."},{"name":"type","type":"\"button\" | \"reset\" | \"submit\" | undefined","required":false,"description":"Gets the classification and default behavior of the button."},{"name":"variant","type":"ButtonVariantType | undefined","required":false,"default":"`components.BbButton.variant`, else `'primary'`","values":["outline","primary","destructive","secondary","none","ghost","link"],"description":"Visual variant shared by both buttons of the split control. `'none'` takes no look (you own hover, focus and disabled); register a real one with the plugin's `components.BbButton.variants` and style `.bb-button--<name>`. Unset: `BbButton`'s `components` entry (the app's or a config scope's)."},{"name":"viewTransition","type":"boolean | undefined","required":false,"default":"false","description":"Inertia: run the page swap inside a View Transition, where the browser supports one."},{"name":"width","type":"string | number | undefined","required":false,"default":"'auto'","description":"Width of the dropdown in pixels, percentage, or 'auto' to fit content."}],"events":[{"name":"hidden","signature":"(): void","description":"Emitted once the menu has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the menu starts to close."},{"name":"item:selected","signature":"(value: any): void","description":"A row of a selectable group was selected — the menu's own event, re-emitted with the same payload (the item's resolved value)."},{"name":"item:unselected","signature":"(value: any): void","description":"A row of a selectable group was unselected (same payload as above)."},{"name":"show","signature":"(): void","description":"Emitted as soon as the menu (the popover, or the sheet on a phone) starts to open."},{"name":"shown","signature":"(): void","description":"Emitted once the menu is open and its open transition has finished."},{"name":"update:open","signature":"(value: boolean): void","description":"The panel opened or closed (`v-model:open`)."}],"slots":[{"name":"append:icon","type":"BbButtonIconSlotProps","fields":["activeLink: boolean","exactActiveLink: boolean","pressed: boolean","loading: boolean","disabled: boolean"],"description":"The main button's trailing icon, replacing `append:icon`."},{"name":"default","type":"any","description":"The main button's label (falls back to `text`)."},{"name":"dropdown","type":"any","description":"Menu companions, forwarded into the dropdown: a `<BbDropdownGroup>` binding a group of `items` by id. A `#dropdown` slot keeps the toggle even with no `items`."},{"name":"empty","type":"BbDropdownPlaceholderSlotProps","fields":["groupId?: string","query: string","text: string"],"description":"Replaces the default \"no data\" placeholder row shown in a pipeline group that resolved to no items. Rendered once per empty group. Forwarded to the underlying `BbDropdown`."},{"name":"footer","type":"BbDropdownButtonEdgeSlotProps","fields":["disabled?: boolean","open: boolean","placement: Placement | \"cursor\""],"description":"Content pinned to the bottom of the dropdown panel, outside the scroll area."},{"name":"header","type":"BbDropdownButtonEdgeSlotProps","fields":["disabled?: boolean","open: boolean","placement: Placement | \"cursor\""],"description":"Content pinned to the top of the dropdown panel, outside the scroll area."},{"name":"item:append","type":"BbDropdownButtonItemSlotProps","fields":["disabled?: boolean","index: number","item: InternalItem","open: boolean","placement: Placement | \"cursor\"","label: string"],"description":"The trailing region of every menu row, replacing its `append:icon`; the submenu chevron and the check on a selected row take its place (BbDropdown's rules)."},{"name":"item:prepend","type":"BbDropdownButtonItemSlotProps","fields":["disabled?: boolean","index: number","item: InternalItem","open: boolean","placement: Placement | \"cursor\"","label: string"],"description":"The leading region of every menu row, replacing its `prepend:icon` (BbDropdown's rules)."},{"name":"loading","type":"BbDropdownPlaceholderSlotProps","fields":["groupId?: string","query: string","text: string"],"description":"Replaces the default loading placeholder row shown in a pipeline group while its async items load. Rendered once per loading group. Forwarded to the underlying `BbDropdown`."},{"name":"prepend:icon","type":"BbButtonIconSlotProps","fields":["activeLink: boolean","exactActiveLink: boolean","pressed: boolean","loading: boolean","disabled: boolean"],"description":"The main button's leading icon, replacing `prepend:icon` (the one `icon-only` shows); inside its `icon` part, with its states."},{"name":"<value>","type":"BbDropdownItemSlotProps","description":"One row's content (label and description), by its value; in a fetched group, by its resolved `itemValue`.","dynamic":true},{"name":"<value>:prepend","type":"BbDropdownItemSlotProps","description":"One row's leading region; replaces its `prepend:icon`.","dynamic":true},{"name":"<value>:append","type":"BbDropdownItemSlotProps","description":"One row's trailing region; replaces its `append:icon` and its submenu chevron. The check takes its place on the selected row.","dynamic":true},{"name":"<groupId>:item","type":"BbDropdownItemSlotProps","description":"The content of every row of that group, and no other; a row's own `#<value>` still wins.","dynamic":true},{"name":"<groupId>:item:prepend","type":"BbDropdownItemSlotProps","description":"The leading region of every row of that group — e.g. an avatar per record, drawn from `item.meta`, while other rows keep their `prepend:icon`.","dynamic":true},{"name":"<groupId>:item:append","type":"BbDropdownItemSlotProps","description":"The trailing region of every row of that group; replaces their `append:icon`. The check takes its place on the selected row.","dynamic":true},{"name":"<groupId>:label","type":"BbDropdownItemSlotProps","description":"That group's title content (`item` is the group, `groupTitle` is `true`).","dynamic":true},{"name":"<groupId>:prepend","type":"BbDropdownItemSlotProps","description":"The leading region of that group's title line.","dynamic":true},{"name":"<groupId>:append","type":"BbDropdownItemSlotProps","description":"The trailing region of that group's title line.","dynamic":true},{"name":"<groupId>:group","type":"BbDropdownGroupSlotProps","description":"That group's `groupBy` headings; beats `group`.","dynamic":true}],"exposed":[],"models":[{"name":"open","type":"boolean | undefined"}],"pt":{"parts":[{"name":"root","description":"The group wrapper around the main button and the toggle."},{"name":"main","description":"The main (action) button, the left half — handed to it as its own `pt:root`."},{"name":"toggle","description":"The toggle button that opens the menu, the right half — handed to it as its own `pt:root`. Pairs with `toggle:icon`."},{"name":"icon","description":"The main button's content icons — handed to it as its own `pt:icon`. The toggle's chevron is chrome."},{"name":"spinner","description":"The main button's loading spinner."},{"name":"text","description":"The main button's label span."},{"name":"panel","description":"The menu surface (the flyout box on desktop, the sheet itself on a phone) — handed to the `BbDropdown`."},{"name":"sheet","description":"The bottom sheet the menu becomes on a phone only."},{"name":"header","description":"The band around your `#header` slot: at the top of the menu on desktop, the sheet's header on a phone — handed to the `BbDropdown`."},{"name":"footer","description":"The band around your `#footer` slot: at the bottom of the menu on desktop, the sheet's footer on a phone — handed to the `BbDropdown`."},{"name":"box","description":"A searchable group's search box in the menu (field and magnifier) — handed to the `BbDropdown` as its own `pt:box`."},{"name":"input","description":"A searchable group's search field in the menu — a broadcast, every searchable group's field — handed to the `BbDropdown` as its own `pt:input`."},{"name":"list","description":"The menu's top-level items container — handed to the `BbDropdown` as its own `pt:list`."},{"name":"groupLabel","description":"Every menu group's label row (the menu's own)."},{"name":"groupHeader","description":"Every `groupBy` heading in the menu (the menu's own)."},{"name":"item","description":"One menu entry, submenus included — a broadcast resolved per entry. Also takes a per-item function, called with the entry."},{"name":"itemText","description":"An entry's label (its `label`) — resolved with that entry's states. A per-entry `#<value>` slot replaces it. Also takes a per-item function."},{"name":"itemIcon","description":"An entry's prepend / append icons — resolved with that entry's states. Also takes a per-item function."},{"name":"itemDescription","description":"An entry's muted second line (its `description`), with the entry's states. A per-entry `#<value>` slot replaces it. Also takes a per-item function."},{"name":"check","description":"A checked entry's tick, outside the row slots: `pt:check=\"hidden\"` spares your own glyph. Also takes a per-item function."},{"name":"submenu","description":"Every submenu's flyout box (desktop only). Also takes a per-item function, called with the entry that opens it."}],"states":[{"name":"activeLink","description":"Component-wide while the main button links to the current page or an ancestor (its `activeClass` is on); per node, on the entry parts: an entry whose link does. The weakest state."},{"name":"exactActiveLink","description":"Component-wide while the main button links to the current page itself (its `exactActiveClass` is on); per node, on the entry parts."},{"name":"selected","description":"Per node, on the entry parts only (`item`, `itemText`, `itemIcon`, `itemDescription`, `check`): a selectable group's checked entry. `pt:root:selected` is a type error, not a silent no-op."},{"name":"disabled","description":"Component-wide while the control is `disabled`; per node, on the entry parts: a disabled entry."},{"name":"open","description":"Component-wide: the menu is open."},{"name":"loading","description":"Component-wide: `loading` is on — the main button shows its spinner."},{"name":"default","description":"Per entry, on the entry parts: an entry with `variant: 'default'` or none. Merged after the part's base entry and before its states, so the real states still win."},{"name":"destructive","description":"Per entry, on the entry parts: `variant: 'destructive'`. Below the real states, like every variant."},{"name":"ghost","description":"Component-wide: `variant=\"ghost\"`. Below the real states, like every variant."},{"name":"link","description":"Component-wide: `variant=\"link\"`. Below the real states, like every variant."},{"name":"outline","description":"Component-wide: `variant=\"outline\"`. Below the real states, like every variant."},{"name":"primary","description":"Component-wide: `variant=\"primary\"`. Merged after the part's base entry and before its states, so `disabled` / `loading` still win."},{"name":"secondary","description":"Component-wide: `variant=\"secondary\"`. Below the real states, like every variant."}]},"tree":{"forwards":[{"to":"BbButton","mapping":"{ main: 'root', icon: 'icon', spinner: 'spinner', text: 'text' }"},{"to":"BbDropdown","mapping":"{ item: 'item', itemText: 'itemText', itemIcon: 'itemIcon', itemDescription: 'itemDescription', check: 'check' }"},{"to":"BbButton","mapping":"{ toggle: 'root' }"}],"nodes":[{"name":"BbButton","kind":"public"},{"name":"BbDropdown","kind":"public"}]},"css":{"classes":{"bb-dropdown-button":["","--block","__main","__toggle"]},"locals":["--color-gray-200"],"surface":{"stable":[{"class":"bb-dropdown-button","tag":"span","part":"root"},{"class":"bb-dropdown-button__main","tag":"BbButton","part":"main"},{"class":"bb-dropdown-button__toggle","tag":"BbButton","part":"toggle"}],"internal":[{"class":"bb-dropdown-button--block","tag":"span"}],"unaligned":{"parts":["icon","spinner","text","panel","sheet","header","footer","box","input","list","groupLabel","groupHeader","item","itemText","itemIcon","itemDescription","check","submenu"],"states":["activeLink","exactActiveLink","selected","disabled","open","loading","default","destructive","ghost","link","outline","primary","secondary"]}}},"attrTargets":["span","button","a"],"config":"block*","removed":[{"name":"arrowPadding","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"remove"}},{"name":"autoLoading","new":"disableAutoLoading","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"invert"}},{"name":"theme","new":"variant","since":"3.0.0-beta.15","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"rename"}},{"name":"right:icon","new":"toggle:icon","since":"3.0.0-beta.35","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"rename"}},{"name":"no-data","new":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"items[].key","new":"items[].value","surface":"item","hint":"a row's identity: its `v-model` value (any type, compared by hash) and its `#<value>` slots; `check --fix` renames it","since":"3.0.0-beta.49","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"rename"}},{"name":"items[].text","new":"items[].label","surface":"item","hint":"a row's text; `check --fix` renames it","since":"3.0.0-beta.49","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"rename"}},{"name":"items[group].key","new":"items[group].id","surface":"item","hint":"a group's identity, the same word as `<BbDropdownGroup id>`; `check --fix` renames it","since":"3.0.0-beta.49","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"rename"}},{"name":"icon","new":"prepend:icon","hint":"an icon-only button: `prepend:icon=\"…\" icon-only`, and write the label (the slot or `text`): it stays the accessible name","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"manual"}},{"name":"icon","new":"prepend:icon","surface":"slot","hint":"an icon-only button: `#prepend:icon` with `icon-only`","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"manual"}},{"name":"<groupId>","new":"<groupId>:label","surface":"slot","hint":"`#<groupId>:label`; `:prepend` / `:append` are unchanged","since":"3.0.0-beta.75","migration":"ai/guides/migration/components/bb-dropdown-button.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"autoLoading","to":"disableAutoLoading","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-dropdown-button.md","fix":{"kind":"invert"}},{"from":"theme","to":"variant","since":"3.0.0-beta.15","migration":"ai/guides/migration/components/bb-dropdown-button.md","fix":{"kind":"rename"}},{"from":"right:icon","to":"toggle:icon","since":"3.0.0-beta.35","migration":"ai/guides/migration/components/bb-dropdown-button.md","fix":{"kind":"rename"}},{"from":"no-data","to":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"icon","to":"prepend:icon","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/bb-dropdown-button.md","fix":{"kind":"manual"},"hint":"an icon-only button: `prepend:icon=\"…\" icon-only`, and write the label (the slot or `text`): it stays the accessible name"},{"from":"icon","to":"prepend:icon","surface":"slot","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/bb-dropdown-button.md","fix":{"kind":"manual"},"hint":"an icon-only button: `#prepend:icon` with `icon-only`"},{"from":"<groupId>","to":"<groupId>:label","surface":"slot","since":"3.0.0-beta.75","migration":"ai/guides/migration/components/bb-dropdown-button.md","fix":{"kind":"rename"},"hint":"`#<groupId>:label`; `:prepend` / `:append` are unchanged"}]},
436
436
  {"name":"BbDropdownGroup","group":"Overlay","description":"Renderless v-model companion for a group declared in BbDropdown.items, bound by id.","referenceOnly":false,"hasGuide":false,"contract":"ai/BbDropdownGroup.md","source":"ai/source/BbDropdownGroup.md","props":[{"name":"id","type":"string","required":true,"description":"Identifier of the group to bind to — must match the `id` of a group declared in the host `BbDropdown`'s `items`."},{"name":"modelValue","type":"any","required":false,"description":"The group's selection: one value for a single group, an array for a `multiple` one. Read by the owning BbDropdown through the group's `id`."}],"events":[{"name":"item:selected","signature":"(value: any): void","description":"The user picked a row, at the click, a pick you then refuse included — with the row's value (its `item-value` for pipeline groups, else its `value`), symmetric with `BbTable`. Your own `v-model` changes fire none."},{"name":"item:unselected","signature":"(value: any): void","description":"The user unpicked a row (or a single pick replaced it), with its resolved value."},{"name":"update:modelValue","signature":"(value: any): void","description":"The value a user change asks for (a pick, a chip ×, a coherence prune). With a listener the group is controlled: the rows tick when you write the value, and ignoring it leaves them as they are."}],"slots":[{"name":"default","type":"{}"}],"exposed":[],"models":[{"name":"modelValue","type":"any"}]},
437
437
  {"name":"BbDropzone","group":"Inputs","description":"Supports drag-and-drop file input flows.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbDropzone.md","source":"ai/source/BbDropzone.md","props":[{"name":"accept","type":"string[] | undefined","required":false,"description":"File filter: MIME types (`'image/png'`), wildcards (`'image/*'`), extensions (`'.png'`) or bare tokens (`'png'`, upgraded to the extension and its MIME type from the lazily imported `mime` database; files that arrive earlier wait for it)."},{"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":"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":"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":"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":"maxFiles","type":"number | undefined","required":false,"description":"Maximum number of acceptable files."},{"name":"maxSize","type":"number | undefined","required":false,"description":"Max size of the files in bytes."},{"name":"modelValue","type":"File | File[] | null | undefined","required":false,"description":"Used by v-model."},{"name":"multiple","type":"boolean","required":false,"description":"Allows the selection of multiple items.","default":"false"},{"name":"name","type":"string | undefined","required":false,"description":"Defines the name of the input."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"content\", \"message\"]; readonly states: readonly [\"readonly\", \"disabled\", \"warnings\", \"errors\", \"active\"]; readonly wide: readonly [\"readonly\", \"disabled\", \"warnings\", \"errors\", \"active\"]; }> & PtMap<BbDropzonePtPart, BbDropzonePtState>) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:content","type":"PtValue | undefined","required":false},{"name":"pt:content:active","type":"PtValue | undefined","required":false},{"name":"pt:content:disabled","type":"PtValue | undefined","required":false},{"name":"pt:content:errors","type":"PtValue | undefined","required":false},{"name":"pt:content:readonly","type":"PtValue | undefined","required":false},{"name":"pt:content:warnings","type":"PtValue | undefined","required":false},{"name":"pt:message","type":"PtValue | undefined","required":false},{"name":"pt:message:active","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:readonly","type":"PtValue | undefined","required":false},{"name":"pt:message:warnings","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:active","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:readonly","type":"PtValue | undefined","required":false},{"name":"pt:root:warnings","type":"PtValue | undefined","required":false},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Shows the files; the user cannot change them: drop, the file picker and the `open()` slot prop do nothing, yet the input stays focusable and a `name`d zone still submits its files (unlike `disabled`). Your slot renders the list: hide your remove buttons with the slot's `readonly`."},{"name":"rules","type":"RuleExpression<File | File[] | null>","required":false,"description":"vee-validate rules for this field. Only inside a `BbForm`."},{"name":"tag","type":"LayoutTag | undefined","required":false,"default":"\"div\"","values":["div","span"],"description":"Element rendered as the component's wrapper."},{"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":"warnings","type":"string | string[] | undefined","required":false,"description":"Warning messages under the dropzone, a string or string array: amber, in their own `aria-live` region, and in the control's `aria-describedby` after the errors. A non-empty list implies the warning state; errors win when both are set."}],"events":[{"name":"blur","signature":"(event: FocusEvent): void","description":"Emitted when the file input loses focus. Forwards the original DOM `FocusEvent`."},{"name":"error","signature":"(errors: DropZoneError[]): void","description":"Emitted once per drop or pick that rejected any file, AFTER that gesture's `update:modelValue` (if any): all its rejections (size, type, uniqueness, max count), in file order. A clean drop emits none: clear your messages on `update:modelValue`, set them here."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when the file input receives focus. Forwards the original DOM `FocusEvent`."},{"name":"update:modelValue","signature":"(value: File | File[] | null): void","description":"Emitted when the selected files change. Payload is the new file or file array."}],"slots":[{"name":"default","type":"BbDropzoneDefaultSlotProps","fields":["dragging: boolean","focused: boolean","id: string","labelId: string","open: () => void","readonly: boolean"],"description":"The drop zone area content. Renders inside the `<label>` that captures drag and file input events. It is a region, not a label: its text does not name the input unless you mark one node with the `labelId` slot prop."}],"exposed":[],"models":[{"name":"modelValue","type":"File | File[] | null | undefined"}],"pt":{"parts":[{"name":"root","description":"The zone."},{"name":"content","description":"The drop region: the label that wraps the file input and your slot."},{"name":"message","description":"The errors / warnings region that holds a message — one part, on whichever is showing (errors win); an empty region never gets it."}],"states":[{"name":"readonly","description":"Component-wide: the zone is `readonly` — the files stay shown and submitted, the input stays focusable, nothing can be added."},{"name":"disabled","description":"Component-wide: the zone is `disabled`."},{"name":"warnings","description":"Component-wide: the zone shows warnings and no errors."},{"name":"errors","description":"Component-wide: the zone shows errors."},{"name":"active","description":"Component-wide: a drag is over the zone."}]},"tree":{"bindings":[{"part":"content","target":"label.bb-dropzone__content"},{"part":"message","target":"span.bb-dropzone__message"}],"nodes":[{"name":"BbSmoothHeight","kind":"public"}]},"css":{"classes":{"bb-dropzone":["","--disabled","--dragging","--errors","--focused","--readonly","--warnings","__content","__error","__errors","__message","__submittable-input","__submittable-label","__warning","__warnings"]},"locals":["--color-gray-200"],"surface":{"stable":[{"class":"bb-dropzone","part":"root"},{"class":"bb-dropzone__content","tag":"label","part":"content"},{"class":"bb-dropzone__message","tag":"span","part":"message"},{"class":"bb-dropzone--readonly","state":"readonly"},{"class":"bb-dropzone--disabled","state":"disabled"},{"class":"bb-dropzone--warnings","state":"warnings"},{"class":"bb-dropzone--errors","state":"errors"}],"internal":[{"class":"bb-dropzone--dragging"},{"class":"bb-dropzone--focused"},{"class":"bb-dropzone__error","tag":"span"},{"class":"bb-dropzone__errors","tag":"span"},{"class":"bb-dropzone__submittable-input","tag":"input"},{"class":"bb-dropzone__submittable-label","tag":"label"},{"class":"bb-dropzone__warning","tag":"span"},{"class":"bb-dropzone__warnings","tag":"span"}],"unaligned":{"states":["active"]}}},"attrTargets":["div"],"config":"validationMode*","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":"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":"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"}]},
438
438
  {"name":"BbForm","group":"Inputs","description":"Form host for the form controls inside it: owns the vee-validate form (useForm), validates every field on submit, and emits `submit` with the collected values only when the form is valid. `schema` takes any Standard Schema (Zod, Valibot, ArkType, Yup) as it is; a failed submit focuses the first invalid field on screen and emits `invalid`. Server errors (a 422): `setErrors(errors)` from the slot or `useBbForm(id)` puts each on its field.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbForm.md","source":"ai/source/BbForm.md","props":[{"name":"disableSubmitLock","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the fields editable while a `@submit` promise is pending (by default every joined field is read-only until it settles; a `@submit` that returns nothing never locks). Submit buttons spin either way."},{"name":"fieldErrors","type":"Record<string, unknown> | null | undefined","required":false,"description":"Server validation errors by field path (Inertia's `form.errors`, a Laravel 422 body), shown on their fields while they are in the object. They never block a submit; a key no field has is in `unmatchedErrors`. A one-off message: `setErrors`."},{"name":"id","type":"string | undefined","required":false,"description":"Lets anything outside the form read and drive it through `useBbForm(id)` (a dialog footer, a toolbar, a leave guard). It is also the `<form>`'s id, so `<button form=\"id\" type=\"submit\">` outside it submits it."},{"name":"keepValuesOnUnmount","type":"boolean | Ref<boolean, boolean> | undefined","required":false,"description":"Keep a field's value (and its place in `@submit`) when it unmounts — the `v-if` wizard step you left, a collapsed section. Off, an unmounted field drops out of the values."},{"name":"model","type":"Record<string, any> | undefined","required":false,"description":"The object the fields edit in place (`reactive()`, a `ref`, Pinia state, Inertia `useForm()`): bind it one way, `:model`, never `v-model`. A field without its own `v-model` reads and writes the value at its `name` path. Nothing is written on mount."},{"name":"schema","type":"MaybeRef<S | undefined>","required":false,"description":"One Standard Schema for the form (Zod, Valibot, ArkType, Yup, Joi, Effect), passed as is. An issue lands on the field whose `name` is its path; `@submit` gets the typed output. Set it at mount (a `computed` may change it); per-field `rules` are then ignored."},{"name":"validationMode","type":"ValidationMode | undefined","required":false,"description":"When the fields inside validate as the user works: `aggressive`, `balanced`, `lazy`, `submit-only` or `submit-live` (see `ValidationMode`). A field's own `validation-mode` wins. Unset: the app's `all.validationMode` (default `'balanced'`)."}],"events":[{"name":"invalid","signature":"(payload: BbFormInvalidPayload): void","description":"Fired when a submit fails validation (`source: 'submit'`) or server errors land (`'server'`: `setErrors()`, a new `field-errors` message), before the form's own focus; a handler that moves focus keeps it. `unmatched`: the paths no field claims."},{"name":"submit","signature":"(values: BbFormSubmitValues<S>, meta: BbFormSubmitMeta): void","description":"Fired only when every field passes. Carries the values — with a schema, its parsed OUTPUT (transforms and coercions applied), typed from it."},{"name":"submit-error","signature":"(error: unknown): void","description":"The save failed for a reason other than the data (a 500, offline, a bug): a `@submit` listener rejected or threw, and the rejection is not a validation answer. Bound, it is handled (nothing reported; rethrow to report it once); unbound, it goes to `app.config.errorHandler`."}],"slots":[{"name":"default","type":"FormMeta<GenericObject> & { errors: Record<string, string[]>; fields: Record<string, BbFormFieldEntry>; isSubmitting: boolean; removeField: (path: string) => void; resetForm: (state?: Partial<FormState<GenericObject>> | undefined, opts?: Partial<ResetFormOpts> | undefined) => void; setErrors: (errors: BbFormServerErrors, options?: BbFormSetErrorsOptions | undefined) => void; snapshot: (next?: Record<string, unknown> | undefined) => void; submitCount: number; unmatchedErrors: Record<string, string[]>; validate: (opts?: Partial<ValidationOptions> | undefined) => Promise<FormValidationResult<GenericObject, GenericObject>>; values: GenericObject; }","description":"The form's fields, with its state and actions in scope: the meta (`valid`, `dirty`…), `values`, `errors`, `fields`, `unmatchedErrors`, `isSubmitting`, `submitCount`, `validate`, `resetForm`, `setErrors`, `snapshot`, `removeField`."}],"exposed":[{"name":"$el","type":"HTMLFormElement | null","description":"The rendered element."}],"models":[],"attrTargets":["form"],"config":"isValidationError","removed":[{"name":"modelValue","new":"model","since":"3.0.0-beta.42","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"modelValue","to":"model","since":"3.0.0-beta.42","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}}]},
439
- {"name":"BbGallery","group":"Data Display","description":"A full-screen photo viewer (lightbox): swipe, arrows, keys, zoom; also the v-bb-gallery directive.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbGallery.md","source":"ai/source/BbGallery.md","props":[{"name":"closeOnBackdropClick","type":"boolean | undefined","required":false,"default":"false","description":"A click (or a tap) on the dark area around the photo closes the viewer. Off, it does nothing there (a tap still hides the bars); Escape, the close button and a swipe down always close."},{"name":"id","type":"string | undefined","required":false,"default":"undefined","description":"The name `v-bb-gallery` opens it by, nearest to the trigger first. Also the viewer's DOM id."},{"name":"items","type":"readonly (string | T)[]","required":true,"description":"The photos, in order: `{ src, alt, caption, … }` entries or image URLs."},{"name":"loop","type":"boolean | undefined","required":false,"default":"false","description":"Previous on the first photo goes to the last, next on the last to the first (buttons, keys and a swipe)."},{"name":"modelValue","type":"number | null | undefined","required":false,"default":"null","description":"The photo in the viewer, `null` while it is closed. Bind it to open the viewer yourself; `v-bb-gallery` opens it without one."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"header\", \"title\", \"close\", \"slide\", \"image\", \"caption\", \"prev\", \"next\", \"footer\", \"counter\", \"more\"]; readonly states: readonly [\"disabled\", \"active\", \"zoomed\"]; readonly wide: readonly [\"zoomed\"]; readonly node: { readonly slide: readonly [\"active\"]; readonly prev: readonly [\"disabled\"]; readonly next: readonly [\"disabled\"]; }; }> & { caption?: PtValue | undefined; footer?: PtValue | undefined; header?: PtValue | undefined; title?: PtValue | undefined; image?: PtValue | undefined; next?: PtValue | undefined; root?: PtValue | undefined; close?: PtValue | undefined; slide?: PtValue | undefined; prev?: PtValue | undefined; \"slide:active\"?: PtValue | undefined; \"next:disabled\"?: PtValue | undefined; \"prev:disabled\"?: PtValue | undefined; counter?: PtValue | undefined; more?: PtValue | undefined; \"caption:zoomed\"?: PtValue | undefined; \"footer:zoomed\"?: PtValue | undefined; \"header:zoomed\"?: PtValue | undefined; \"title:zoomed\"?: PtValue | undefined; \"image:zoomed\"?: PtValue | undefined; \"next:zoomed\"?: PtValue | undefined; \"root:zoomed\"?: PtValue | undefined; \"close:zoomed\"?: PtValue | undefined; \"slide:zoomed\"?: PtValue | undefined; \"prev:zoomed\"?: PtValue | undefined; \"counter:zoomed\"?: PtValue | undefined; \"more:zoomed\"?: PtValue | undefined; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix."},{"name":"pt:caption","type":"PtValue | undefined","required":false},{"name":"pt:caption:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:close","type":"PtValue | undefined","required":false},{"name":"pt:close:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:counter","type":"PtValue | undefined","required":false},{"name":"pt:counter:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:footer","type":"PtValue | undefined","required":false},{"name":"pt:footer:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:image","type":"PtValue | undefined","required":false},{"name":"pt:image:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:more","type":"PtValue | undefined","required":false},{"name":"pt:more:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:next","type":"PtValue | undefined","required":false},{"name":"pt:next:disabled","type":"PtValue | undefined","required":false},{"name":"pt:next:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:prev","type":"PtValue | undefined","required":false},{"name":"pt:prev:disabled","type":"PtValue | undefined","required":false},{"name":"pt:prev:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:slide","type":"PtValue | undefined","required":false},{"name":"pt:slide:active","type":"PtValue | undefined","required":false},{"name":"pt:slide:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:title","type":"PtValue | undefined","required":false},{"name":"pt:title:zoomed","type":"PtValue | undefined","required":false},{"name":"title","type":"string | undefined","required":false,"default":"undefined","description":"A title in the top bar, also the viewer's accessible name. Unset, the bar shows only the close button and the name is the locale's \"Gallery\"."}],"events":[{"name":"update:modelValue","signature":"(value: number | null): void","description":"Emitted with the new value whenever `v-model` changes."}],"slots":[{"name":"footer","type":"BbGallerySlotProps<T>","fields":["index: number","count: number","item: T","go: (index: number) => void","close: () => void"],"description":"Replaces the counter with a row of your own across the bottom bar: your own counter, actions, or a filmstrip that calls `go`. The caption keeps its own one-line row directly above yours (there whenever any photo has one), so the photo never jumps."},{"name":"header","type":"BbGalleryHeaderSlotProps<T>","fields":["index: number","count: number","item: T","go: (index: number) => void","close: () => void","titleId: string","title: string"],"description":"Replaces the whole top bar (title and close button), so it owns closing: wire your control to `close`, and `titleId` onto your title."},{"name":"title","type":"BbGalleryTitleSlotProps<T>","fields":["index: number","count: number","item: T","go: (index: number) => void","close: () => void","text: string"],"description":"Replaces the title text in the top bar; it still names the viewer."}],"exposed":[],"models":[{"name":"modelValue","type":"number | null | undefined"}],"cssProps":[{"name":"--viewer-bg","value":"rgb(12 12 12)","selector":".bb-gallery","description":"The viewer's own: its plate and text, the bars' padding, the buttons. Every colour follows `--viewer-bg` / `--viewer-fg` (the muted text the ink, the arrows' plate the plate colour), so a light viewer is those two plus `color-scheme: light`; a derived local set directly wins."},{"name":"--viewer-fg","value":"rgb(244 244 242)","selector":".bb-gallery"},{"name":"--viewer-muted","value":"color-mix(in oklab, var(--viewer-fg) 75%, transparent)","selector":".bb-gallery"},{"name":"--mark","value":"var(--viewer-fg)","selector":".bb-gallery","description":"A picker strip inside takes its current and focus marks from here."},{"name":"--mark-bg","value":"var(--viewer-bg)","selector":".bb-gallery"},{"name":"--bar-px","value":"max(16px, env(safe-area-inset-left), env(safe-area-inset-right))","selector":".bb-gallery"},{"name":"--nav-size","value":"44px","selector":".bb-gallery"},{"name":"--plate","value":"color-mix(in oklab, var(--viewer-bg) 60%, transparent)","selector":".bb-gallery"},{"name":"--dismiss","value":"0","selector":".bb-gallery"},{"name":"--dismiss-y","value":"0px","selector":".bb-gallery"},{"name":"--d","value":"var(--bb-transition-medium)","selector":".bb-gallery"}],"pt":{"parts":[{"name":"root","description":"The full-screen viewer (a native modal `dialog`)."},{"name":"header","description":"The top bar."},{"name":"title","description":"The title line in the bar. Not rendered when a `#header` slot replaces the bar."},{"name":"close","description":"The close button. Not rendered when a `#header` slot replaces the bar."},{"name":"slide","description":"Each slide (`figure`), per item (`active` on the one shown)."},{"name":"image","description":"Each photo."},{"name":"caption","description":"The caption in the bottom bar: one line, or the full text running upward from it when opened."},{"name":"prev","description":"The previous button (`disabled` on the first photo, never with `loop`)."},{"name":"next","description":"The next button (`disabled` on the last photo, never with `loop`)."},{"name":"footer","description":"The bottom bar."},{"name":"counter","description":"The \"3 / 12\" in the bottom bar. Not rendered when a `#footer` slot replaces it."},{"name":"more","description":"The button that reads a caption too long for its line in full (\"More\", and \"Less\" while it is open). Only there while the photo shown has such a caption."}],"states":[{"name":"disabled","description":"Per node: `prev` on the first photo, `next` on the last."},{"name":"active","description":"Per node: the slide shown."},{"name":"zoomed","description":"Component-wide: the photo shown is zoomed in."}]},"tree":{"bindings":[{"part":"header","target":"div.bb-gallery__header"},{"part":"title","target":"p.bb-gallery__title"},{"part":"close","target":"CloseButton"},{"part":"slide","target":"figure.bb-gallery__slide"},{"part":"image","target":"img.bb-gallery__image"},{"part":"prev","target":"button.bb-gallery__nav"},{"part":"next","target":"button.bb-gallery__nav"},{"part":"footer","target":"div.bb-gallery__footer"},{"part":"caption","target":"p.bb-gallery__caption"},{"part":"more","target":"button.bb-gallery__more"},{"part":"counter","target":"p.bb-gallery__counter"}],"nodes":[{"name":"BbIcon","kind":"public"},{"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"}]}]},"css":{"classes":{"bb-gallery":["","--dismissing","--gesture","--open","--quiet","--visible","--zoomed","__bar","__caption","__caption--open","__caption-text","__close","__counter","__footer","__frame","__header","__image","__image--sized","__missing","__missing--blank","__more","__nav","__nav--next","__nav--prev","__slide","__slide--active","__stage","__title","__track"],"bb-gallery-caption-":["*"],"bb-gallery-title-":["*"]},"locals":["--arh","--arw","--bar-px","--color-gray-200","--d","--dismiss","--dismiss-y","--nav-size","--page-ff","--page-fs","--page-lh","--plate","--scrollbar-width","--viewer-bg","--viewer-fg","--viewer-muted","--w"],"surface":{"stable":[{"class":"bb-gallery","tag":"dialog","part":"root","reads":["--d","--dismiss","--viewer-bg","--viewer-fg"]},{"class":"bb-gallery__header","tag":"div","part":"header","reads":["--bar-px","--dismiss","--nav-size","--viewer-bg"]},{"class":"bb-gallery__title","tag":"p","part":"title","reads":["--viewer-fg"]},{"class":"bb-gallery__close","tag":"CloseButton","part":"close","reads":["--nav-size","--viewer-fg"]},{"class":"bb-gallery__slide","tag":"figure","part":"slide","reads":["--bar-px","--nav-size"]},{"class":"bb-gallery__image","tag":"img","part":"image","reads":["--dismiss","--dismiss-y","--viewer-fg"]},{"class":"bb-gallery__caption","tag":"p","part":"caption","reads":["--viewer-fg","--viewer-muted"]},{"class":"bb-gallery__footer","tag":"div","part":"footer","reads":["--bar-px","--dismiss","--nav-size","--viewer-bg"]},{"class":"bb-gallery__counter","tag":"p","part":"counter","reads":["--viewer-muted"]},{"class":"bb-gallery__more","tag":"button","part":"more","reads":["--viewer-fg"]},{"class":"bb-gallery__slide--active","tag":"figure","state":"active"},{"class":"bb-gallery--zoomed","tag":"dialog","state":"zoomed"}],"internal":[{"class":"bb-gallery--dismissing","tag":"dialog"},{"class":"bb-gallery--gesture","tag":"dialog"},{"class":"bb-gallery--open","tag":"dialog"},{"class":"bb-gallery--quiet","tag":"dialog"},{"class":"bb-gallery--visible","tag":"dialog","reads":["--scrollbar-width"]},{"class":"bb-gallery__bar","tag":"div"},{"class":"bb-gallery__caption--open","tag":"p","reads":["--bar-px","--viewer-bg","--viewer-fg"]},{"class":"bb-gallery__caption-text","tag":"span"},{"class":"bb-gallery__frame","tag":"div"},{"class":"bb-gallery__image--sized","tag":"img","reads":["--arh","--arw","--w"]},{"class":"bb-gallery__missing","tag":"p","reads":["--viewer-muted"]},{"class":"bb-gallery__missing--blank","tag":"p","reads":["--viewer-fg"]},{"class":"bb-gallery__nav","tag":"button","reads":["--nav-size","--plate","--viewer-bg","--viewer-fg"]},{"class":"bb-gallery__nav--next","tag":"button","reads":["--bar-px"]},{"class":"bb-gallery__nav--prev","tag":"button","reads":["--bar-px"]},{"class":"bb-gallery__stage","tag":"div"},{"class":"bb-gallery__track","tag":"div"}],"lands":[{"part":"prev","target":"button.bb-gallery__nav"},{"part":"next","target":"button.bb-gallery__nav"}],"unaligned":{"states":["disabled"]}}},"attrTargets":["dialog"]},
439
+ {"name":"BbGallery","group":"Data Display","description":"A full-screen photo viewer (lightbox): swipe, arrows, keys, zoom; also the v-bb-gallery directive.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbGallery.md","source":"ai/source/BbGallery.md","props":[{"name":"closeOnBackdropClick","type":"boolean | undefined","required":false,"default":"false","description":"A click (or a tap) on the dark area around the photo closes the viewer. Off, it does nothing there (a tap still hides the bars); Escape, the close button and a swipe down always close."},{"name":"id","type":"string | undefined","required":false,"default":"undefined","description":"The name `v-bb-gallery` opens it by, nearest to the trigger first. Also the viewer's DOM id."},{"name":"items","type":"readonly (string | T)[]","required":true,"description":"The photos, in order: `{ src, alt, caption, … }` entries or image URLs."},{"name":"loop","type":"boolean | undefined","required":false,"default":"false","description":"Previous on the first photo goes to the last, next on the last to the first (buttons, keys and a swipe)."},{"name":"modelValue","type":"number | null | undefined","required":false,"default":"null","description":"The photo in the viewer, `null` while it is closed. Bind it to open the viewer yourself; `v-bb-gallery` opens it without one."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"header\", \"title\", \"close\", \"slide\", \"image\", \"caption\", \"prev\", \"next\", \"footer\", \"counter\", \"more\"]; readonly states: readonly [\"disabled\", \"active\", \"zoomed\"]; readonly wide: readonly [\"zoomed\"]; readonly node: { readonly slide: readonly [\"active\"]; readonly prev: readonly [\"disabled\"]; readonly next: readonly [\"disabled\"]; }; }> & { caption?: PtValue | undefined; footer?: PtValue | undefined; header?: PtValue | undefined; title?: PtValue | undefined; image?: PtValue | undefined; next?: PtValue | undefined; root?: PtValue | undefined; close?: PtValue | undefined; slide?: PtValue | undefined; prev?: PtValue | undefined; \"slide:active\"?: PtValue | undefined; \"next:disabled\"?: PtValue | undefined; \"prev:disabled\"?: PtValue | undefined; counter?: PtValue | undefined; more?: PtValue | undefined; \"caption:zoomed\"?: PtValue | undefined; \"footer:zoomed\"?: PtValue | undefined; \"header:zoomed\"?: PtValue | undefined; \"title:zoomed\"?: PtValue | undefined; \"image:zoomed\"?: PtValue | undefined; \"next:zoomed\"?: PtValue | undefined; \"root:zoomed\"?: PtValue | undefined; \"close:zoomed\"?: PtValue | undefined; \"slide:zoomed\"?: PtValue | undefined; \"prev:zoomed\"?: PtValue | undefined; \"counter:zoomed\"?: PtValue | undefined; \"more:zoomed\"?: PtValue | undefined; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix."},{"name":"pt:caption","type":"PtValue | undefined","required":false},{"name":"pt:caption:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:close","type":"PtValue | undefined","required":false},{"name":"pt:close:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:counter","type":"PtValue | undefined","required":false},{"name":"pt:counter:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:footer","type":"PtValue | undefined","required":false},{"name":"pt:footer:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:image","type":"PtValue | undefined","required":false},{"name":"pt:image:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:more","type":"PtValue | undefined","required":false},{"name":"pt:more:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:next","type":"PtValue | undefined","required":false},{"name":"pt:next:disabled","type":"PtValue | undefined","required":false},{"name":"pt:next:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:prev","type":"PtValue | undefined","required":false},{"name":"pt:prev:disabled","type":"PtValue | undefined","required":false},{"name":"pt:prev:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:slide","type":"PtValue | undefined","required":false},{"name":"pt:slide:active","type":"PtValue | undefined","required":false},{"name":"pt:slide:zoomed","type":"PtValue | undefined","required":false},{"name":"pt:title","type":"PtValue | undefined","required":false},{"name":"pt:title:zoomed","type":"PtValue | undefined","required":false},{"name":"title","type":"string | undefined","required":false,"default":"undefined","description":"A title in the top bar, also the viewer's accessible name. Unset, the bar shows only the close button and the name is the locale's \"Gallery\"."}],"events":[{"name":"update:modelValue","signature":"(value: number | null): void","description":"Emitted with the new value whenever `v-model` changes."}],"slots":[{"name":"footer","type":"BbGallerySlotProps<T>","fields":["index: number","count: number","item: T","go: (index: number) => void","close: () => void"],"description":"Replaces the counter with a row of your own across the bottom bar: your own counter, actions, or a filmstrip that calls `go`. The caption keeps its own one-line row directly above yours (there whenever any photo has one), so the photo never jumps."},{"name":"header","type":"BbGalleryHeaderSlotProps<T>","fields":["index: number","count: number","item: T","go: (index: number) => void","close: () => void","titleId: string","title: string"],"description":"Replaces the whole top bar (title and close button), so it owns closing: wire your control to `close`, and `titleId` onto your title."},{"name":"title","type":"BbGalleryTitleSlotProps<T>","fields":["index: number","count: number","item: T","go: (index: number) => void","close: () => void","text: string"],"description":"Replaces the title text in the top bar; it still names the viewer."}],"exposed":[],"models":[{"name":"modelValue","type":"number | null | undefined"}],"cssProps":[{"name":"--viewer-bg","value":"rgb(12 12 12)","selector":".bb-gallery","description":"The viewer's own: its plate and text, the bars' padding, the buttons. Every colour follows `--viewer-bg` / `--viewer-fg` (the muted text the ink, the arrows' plate the plate colour), so a light viewer is those two plus `color-scheme: light`; a derived local set directly wins."},{"name":"--viewer-fg","value":"rgb(244 244 242)","selector":".bb-gallery"},{"name":"--viewer-muted","value":"color-mix(in oklab, var(--viewer-fg) 75%, transparent)","selector":".bb-gallery"},{"name":"--mark","value":"var(--viewer-fg)","selector":".bb-gallery","description":"A picker strip inside takes its current and focus marks from here."},{"name":"--mark-bg","value":"var(--viewer-bg)","selector":".bb-gallery"},{"name":"--bar-px","value":"max(16px, env(safe-area-inset-left), env(safe-area-inset-right))","selector":".bb-gallery"},{"name":"--nav-size","value":"44px","selector":".bb-gallery"},{"name":"--plate","value":"color-mix(in oklab, var(--viewer-bg) 60%, transparent)","selector":".bb-gallery"},{"name":"--dismiss","value":"0","selector":".bb-gallery"},{"name":"--dismiss-y","value":"0px","selector":".bb-gallery"},{"name":"--d","value":"var(--bb-transition-medium)","selector":".bb-gallery"}],"pt":{"parts":[{"name":"root","description":"The full-screen viewer (a native modal `dialog`)."},{"name":"header","description":"The top bar."},{"name":"title","description":"The title line in the bar. Not rendered when a `#header` slot replaces the bar."},{"name":"close","description":"The close button. Not rendered when a `#header` slot replaces the bar."},{"name":"slide","description":"Each slide (`figure`), per item (`active` on the one shown)."},{"name":"image","description":"Each photo."},{"name":"caption","description":"The caption in the bottom bar: one line, or the full text running upward from it when opened."},{"name":"prev","description":"The previous button (`disabled` on the first photo, never with `loop`)."},{"name":"next","description":"The next button (`disabled` on the last photo, never with `loop`)."},{"name":"footer","description":"The bottom bar."},{"name":"counter","description":"The \"3 / 12\" in the bottom bar. Not rendered when a `#footer` slot replaces it."},{"name":"more","description":"The button that reads a caption too long for its line in full (\"More\", and \"Less\" while it is open). Only there while the photo shown has such a caption."}],"states":[{"name":"disabled","description":"Per node: `prev` on the first photo, `next` on the last."},{"name":"active","description":"Per node: the slide shown."},{"name":"zoomed","description":"Component-wide: the photo shown is zoomed in."}]},"tree":{"bindings":[{"part":"header","target":"div.bb-gallery__header"},{"part":"title","target":"p.bb-gallery__title"},{"part":"close","target":"CloseButton"},{"part":"slide","target":"figure.bb-gallery__slide"},{"part":"image","target":"img.bb-gallery__image"},{"part":"prev","target":"button.bb-gallery__nav"},{"part":"next","target":"button.bb-gallery__nav"},{"part":"footer","target":"div.bb-gallery__footer"},{"part":"caption","target":"p.bb-gallery__caption"},{"part":"more","target":"button.bb-gallery__more"},{"part":"counter","target":"p.bb-gallery__counter"}],"nodes":[{"name":"BbIcon","kind":"public"},{"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,"readBy":["bb-close-button"]},{"name":"--icon-inset","documented":true},{"name":"--ring-t","documented":false,"readBy":["bb-close-button"]}],"children":[{"name":"BbIcon","kind":"public"}]}]},"css":{"classes":{"bb-gallery":["","--dismissing","--gesture","--open","--quiet","--visible","--zoomed","__bar","__caption","__caption--open","__caption-text","__close","__counter","__footer","__frame","__header","__image","__image--sized","__missing","__missing--blank","__more","__nav","__nav--next","__nav--prev","__slide","__slide--active","__stage","__title","__track"],"bb-gallery-caption-":["*"],"bb-gallery-title-":["*"]},"locals":["--arh","--arw","--bar-px","--color-gray-200","--d","--dismiss","--dismiss-y","--nav-size","--page-ff","--page-fs","--page-lh","--plate","--scrollbar-width","--viewer-bg","--viewer-fg","--viewer-muted","--w"],"surface":{"stable":[{"class":"bb-gallery","tag":"dialog","part":"root","reads":["--d","--dismiss","--viewer-bg","--viewer-fg"]},{"class":"bb-gallery__header","tag":"div","part":"header","reads":["--bar-px","--dismiss","--nav-size","--viewer-bg"]},{"class":"bb-gallery__title","tag":"p","part":"title","reads":["--viewer-fg"]},{"class":"bb-gallery__close","tag":"CloseButton","part":"close","reads":["--nav-size","--viewer-fg"]},{"class":"bb-gallery__slide","tag":"figure","part":"slide","reads":["--bar-px","--nav-size"]},{"class":"bb-gallery__image","tag":"img","part":"image","reads":["--dismiss","--dismiss-y","--viewer-fg"]},{"class":"bb-gallery__caption","tag":"p","part":"caption","reads":["--viewer-fg","--viewer-muted"]},{"class":"bb-gallery__footer","tag":"div","part":"footer","reads":["--bar-px","--dismiss","--nav-size","--viewer-bg"]},{"class":"bb-gallery__counter","tag":"p","part":"counter","reads":["--viewer-muted"]},{"class":"bb-gallery__more","tag":"button","part":"more","reads":["--viewer-fg"]},{"class":"bb-gallery__slide--active","tag":"figure","state":"active"},{"class":"bb-gallery--zoomed","tag":"dialog","state":"zoomed"}],"internal":[{"class":"bb-gallery--dismissing","tag":"dialog"},{"class":"bb-gallery--gesture","tag":"dialog"},{"class":"bb-gallery--open","tag":"dialog"},{"class":"bb-gallery--quiet","tag":"dialog"},{"class":"bb-gallery--visible","tag":"dialog","reads":["--scrollbar-width"]},{"class":"bb-gallery__bar","tag":"div"},{"class":"bb-gallery__caption--open","tag":"p","reads":["--bar-px","--viewer-bg","--viewer-fg"]},{"class":"bb-gallery__caption-text","tag":"span"},{"class":"bb-gallery__frame","tag":"div"},{"class":"bb-gallery__image--sized","tag":"img","reads":["--arh","--arw","--w"]},{"class":"bb-gallery__missing","tag":"p","reads":["--viewer-muted"]},{"class":"bb-gallery__missing--blank","tag":"p","reads":["--viewer-fg"]},{"class":"bb-gallery__nav","tag":"button","reads":["--nav-size","--plate","--viewer-bg","--viewer-fg"]},{"class":"bb-gallery__nav--next","tag":"button","reads":["--bar-px"]},{"class":"bb-gallery__nav--prev","tag":"button","reads":["--bar-px"]},{"class":"bb-gallery__stage","tag":"div"},{"class":"bb-gallery__track","tag":"div"}],"lands":[{"part":"prev","target":"button.bb-gallery__nav"},{"part":"next","target":"button.bb-gallery__nav"}],"unaligned":{"states":["disabled"]}}},"attrTargets":["dialog"]},
440
440
  {"name":"BbHost","group":"Overlay","description":"Renders confirm() and toast(); the plugin renders one, place one per scoped area.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbHost.md","source":"ai/source/BbHost.md","props":[],"events":[],"slots":[],"exposed":[],"models":[],"tree":{"nodes":[{"name":"BbToast","kind":"internal","cssProps":[{"name":"--gap","documented":true,"readBy":["bb-toast","bb-toast__inner"]},{"name":"--pile-gap","documented":true,"readBy":["bb-toast__panel"]},{"name":"--offset","documented":true,"readBy":["bb-toast--top-left","bb-toast--top-center","bb-toast--top-right","bb-toast--bottom-left","bb-toast--bottom-center","bb-toast--bottom-right","bb-toast"]},{"name":"--width","documented":true,"readBy":["bb-toast"]},{"name":"--lift","documented":true,"readBy":["bb-toast__panel","bb-toast__panel--mounted","bb-toast__panel--removed"]},{"name":"--stack-y","documented":true,"readBy":["bb-toast__panel"]},{"name":"--stack-scale","documented":true,"readBy":["bb-toast__panel"]},{"name":"--enter-y","documented":true,"readBy":["bb-toast__panel"]},{"name":"--swipe-amount","documented":true,"readBy":["bb-toast__panel"]},{"name":"--z","documented":true,"readBy":["bb-toast__panel"]},{"name":"--r","documented":true,"readBy":["bb-toast__panel"]},{"name":"--ring-size","documented":true,"readBy":["bb-toast__close"]},{"name":"--bg","documented":true,"readBy":["bb-toast__panel","bb-toast__close"]},{"name":"--border-color","documented":true,"readBy":["bb-toast__panel"]},{"name":"--bw","documented":true,"readBy":["bb-toast__panel","bb-toast__inner","bb-toast__close"]},{"name":"--fg","documented":true,"readBy":["bb-toast__panel","bb-toast__title","bb-toast__text","bb-toast__close"]},{"name":"--icon-color","documented":true,"readBy":["bb-toast__icon"]},{"name":"--gap","documented":true,"readBy":["bb-toast","bb-toast__inner"]},{"name":"--align","documented":false,"readBy":["bb-toast__inner"]},{"name":"--ring-t","documented":false,"readBy":["bb-toast__close"]},{"name":"--icon-color","documented":false,"readBy":["bb-toast__icon"]},{"name":"--icon-color","documented":false,"readBy":["bb-toast__icon"]},{"name":"--icon-color","documented":false,"readBy":["bb-toast__icon"]},{"name":"--icon-color","documented":false,"readBy":["bb-toast__icon"]},{"name":"--icon-color","documented":false,"readBy":["bb-toast__icon"]}],"children":[{"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"}]}]}]}]}},
441
441
  {"name":"BbHoverCard","group":"Overlay","description":"A rich preview card that opens on hover or keyboard focus (a person, an event, a link) — BbPopover's panel without the click; may hold commands that also exist elsewhere; also the v-bb-hover-card directive.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbHoverCard.md","source":"ai/source/BbHoverCard.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 the hover / focus listeners are attached programmatically to the referenced element."},{"name":"boundary","type":"ElementOrComponentRefOrSelector | undefined","required":false,"description":"Constrains the card within a bounding element: it stays inside it alongside its trigger (sideways for a card 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":"350","description":"Milliseconds the pointer (or keyboard focus) rests on the activator before the card shows; longer than BbTooltip's, so passing over does not open it. Closing has a fixed grace (guide § Timing and the safe zone)."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the component. Disabling an open card closes it."},{"name":"eager","type":"boolean | undefined","required":false,"default":"false","description":"Renders the card's content at mount instead of on the first open."},{"name":"id","type":"string | undefined","required":false,"description":"The activator's id (the card is `bbhc_<id>`, and is labelled by it once it holds a control). Generated when omitted."},{"name":"modelValue","type":"boolean | undefined","required":false,"default":"false","description":"Used by v-model to open / close the card. A card with no `v-model` starts closed and is driven by hover and keyboard focus."},{"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":"10","description":"Minimum empty space to keep from the edge of the page."},{"name":"placement","type":"Placement | undefined","required":false,"default":"\"bottom\"","values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end"],"description":"Position of the card relative to the activator."},{"name":"pt","type":"PtMap<BbHoverCardPtPart, \"open\"> | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:content","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:open","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:open","type":"PtValue | undefined","required":false},{"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":"scrollable","type":"boolean | undefined","required":false,"default":"false","description":"Caps the card height to the available viewport space and enables internal scrolling."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"How long the transition has to last in milliseconds."},{"name":"width","type":"string | number | undefined","required":false,"description":"Width of the card. Accepts pixels or percentage (relative to activator width)."}],"events":[{"name":"hidden","signature":"(): void","description":"Emitted after the card is fully closed."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the card starts to close (model becomes false)."},{"name":"show","signature":"(): void","description":"Emitted as soon as the card starts to open (model becomes true)."},{"name":"shown","signature":"(): void","description":"Emitted after the card is fully opened. Focus never moves on open."},{"name":"update:modelValue","signature":"(value: boolean): void","description":"Emitted with the new value whenever `v-model` changes."}],"slots":[{"name":"activator","type":"BbHoverCardActivatorSlotProps","fields":["disabled: boolean","open: boolean","placement: Placement","props: { 'aria-expanded'?: boolean | undefined; 'aria-controls'?: string | undefined; id: string; ref: (reference: unknown) => void; onPointerenter: (event: PointerEvent) => void; onPointerleave: (event: PointerEvent) => void; onFocusin: (event: FocusEvent) => void; onFocusout: (event: FocusEvent) => void; onKeydown: (event: KeyboardEvent) => void; onPointerdown: (event: PointerEvent) => void; onContextmenu: (event: MouseEvent) => void; }"],"description":"The element the card describes. Spread `props` onto it; it must be focusable (a link or a button) so a keyboard user can open the card too."},{"name":"default","type":"BbHoverCardDefaultSlotProps","fields":["close: () => void","disabled: boolean","open: boolean","placement: Placement"],"description":"The card body."},{"name":"footer","type":"BbHoverCardDefaultSlotProps","fields":["close: () => void","disabled: boolean","open: boolean","placement: Placement"],"description":"Content pinned to the bottom of the card, outside the scroll region."},{"name":"header","type":"BbHoverCardDefaultSlotProps","fields":["close: () => void","disabled: boolean","open: boolean","placement: Placement"],"description":"Content pinned to the top of the card, outside the scroll region."}],"exposed":[],"models":[{"name":"modelValue","type":"boolean | undefined"}],"pt":{"parts":[{"name":"root","description":"The floating element — an invisible positioning wrapper; a `class` on the component lands here, and so does `role=\"group\"` once the card holds a control."},{"name":"panel","description":"The surface you see — the bordered box that paints the card and lays out its bands."},{"name":"header","description":"The header band."},{"name":"content","description":"The body band."},{"name":"footer","description":"The footer band."}],"states":[{"name":"open","description":"Component-wide: the card is open."}]},"tree":{"bindings":[{"part":"panel","target":"CommonPopover"},{"part":"root","target":"CommonPopover"},{"part":"header","target":"span.bb-hover-card__header"},{"part":"content","target":"span.bb-hover-card__content"},{"part":"footer","target":"span.bb-hover-card__footer"}],"nodes":[{"name":"CommonPopover","kind":"internal"}]},"css":{"classes":{"bb-hover-card":["","__content","__footer","__header","__panel","__panel--scrollable"]},"locals":["--color-gray-200","--max-h"],"surface":{"stable":[{"class":"bb-hover-card","tag":"CommonPopover","part":"root"},{"class":"bb-hover-card__panel","part":"panel","reads":["--max-h"]},{"class":"bb-hover-card__header","tag":"span","part":"header"},{"class":"bb-hover-card__content","tag":"span","part":"content"},{"class":"bb-hover-card__footer","tag":"span","part":"footer"}],"internal":[{"class":"bb-hover-card__panel--scrollable","reads":["--max-h"]}],"unaligned":{"states":["open"]}}},"attrTargets":["span"]},
442
442
  {"name":"BbHoverCardPortal","group":"Overlay","description":"Registers named slot content that `v-bb-hover-card=\"'name'\"` (or `{ portal: 'name' }`) renders in the card; slot `{ data, close }`.","referenceOnly":false,"hasGuide":false,"contract":"ai/BbHoverCardPortal.md","source":"ai/source/BbHoverCardPortal.md","props":[{"name":"name","type":"string","required":true,"description":"The name a `v-bb-hover-card` passes as its value (`\"'name'\"`) or as `portal: 'name'`."}],"events":[],"slots":[{"name":"default","type":"BbHoverCardPortalSlotProps<any>","fields":["data: P","close: () => void"],"description":"The card's body. `data` is the directive's `data`; `close` closes the card."}],"exposed":[],"models":[]},
443
443
  {"name":"BbIcon","group":"Data Display","description":"Renders an icon either from the local icon folder or from a provider.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbIcon.md","source":"ai/source/BbIcon.md","props":[{"name":"icon","type":"string","required":true,"description":"Name of a registered icon to use, or a full raw `<svg>` string (e.g. an SVG file imported with `?raw`)."},{"name":"label","type":"string | undefined","required":false,"description":"Label of the icon for accessibility."},{"name":"pt","type":"PtMap<\"root\", never> | undefined","required":false,"description":"Passthrough, object form: `{ root: '…' }`. See the `pt:<part>` row."},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"size","type":"number | CssSize | keyof Sizes | undefined","required":false,"default":"\"md\"","description":"Defines the component size.\n\nAccepted values:\n- A key from the provided size map (`keyof T`), e.g. `'sm' | 'md' | 'lg'`\n- A custom CSS size string (e.g. `'20px'`, `'1.5rem'`, `'2em'`)\n- A number, typically interpreted as pixels by size parsers"}],"events":[],"slots":[],"exposed":[],"models":[],"cssProps":[{"name":"--w","value":"initial","selector":".bb-icon","description":"`--w` is set inline by BbIcon from the size prop. The `initial` default seals it: without it an ancestor's `--w` (e.g. a dropdown's width bridge) would inherit in and size the icon. The `--size` indirection stays so higher-specificity rules (e.g. `.bb-badge .bb-icon`) can re-point it."},{"name":"--size","value":"var(--w)","selector":".bb-icon"}],"pt":{"parts":[{"name":"root","description":"The `<svg>` itself; a `class` on the component lands here too. It is `pointer-events: none`, so a pointer listener here never fires."}],"states":[]},"css":{"classes":{"bb-icon":[""]},"locals":["--color-gray-200","--size","--w"],"surface":{"stable":[{"class":"bb-icon","part":"root","reads":["--size","--w"]}],"internal":[]}},"attrTargets":["svg"],"config":"sizeMap","removed":[{"name":"color","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-icon.md","silent":true,"fix":{"kind":"manual"}},{"name":"type","new":"icon","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-icon.md","silent":false,"fix":{"kind":"rename"}}],"renamed":[{"from":"type","to":"icon","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-icon.md","fix":{"kind":"rename"}}]},
444
444
  {"name":"BbIndicator","group":"Feedback","description":"Anchors a notification bubble (count/short text) or a dot over a wrapped element.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbIndicator.md","source":"ai/source/BbIndicator.md","props":[{"name":"bottom","type":"boolean | undefined","required":false,"default":"false","description":"Anchors the indicator to the bottom edge of the wrapped element instead of the top."},{"name":"dot","type":"boolean | undefined","required":false,"default":"false","description":"Renders a small contentless dot instead of a labelled bubble. Takes precedence over `text`."},{"name":"left","type":"boolean | undefined","required":false,"default":"false","description":"Anchors the indicator to the left edge of the wrapped element instead of the right."},{"name":"max","type":"number | undefined","required":false,"description":"Caps a numeric `text` count: values above `max` render as `${max}+` (e.g. `max: 99` shows `99+`). Ignored for string `text`."},{"name":"pt","type":"PtMap<BbIndicatorPtPart, \"default\" | \"destructive\" | \"warning\" | \"success\" | \"info\"> | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:bubble","type":"PtValue | undefined","required":false},{"name":"pt:bubble:default","type":"PtValue | undefined","required":false},{"name":"pt:bubble:destructive","type":"PtValue | undefined","required":false},{"name":"pt:bubble:info","type":"PtValue | undefined","required":false},{"name":"pt:bubble:success","type":"PtValue | undefined","required":false},{"name":"pt:bubble:warning","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:info","type":"PtValue | undefined","required":false},{"name":"pt:root:success","type":"PtValue | undefined","required":false},{"name":"pt:root:warning","type":"PtValue | undefined","required":false},{"name":"size","type":"keyof Sizes | undefined","required":false,"default":"\"md\"","values":["xs","sm","md","lg","xl","2xl"],"description":"Preset size of the indicator."},{"name":"text","type":"string | number | undefined","required":false,"description":"Content shown inside the indicator bubble. A `number` is accepted for count ergonomics (e.g. `:text=\"unread\"`). When omitted the indicator renders only if `dot` is set."},{"name":"variant","type":"keyof IndicatorVariantRegistry | undefined","required":false,"default":"\"default\"","values":["destructive","warning","default","success","info"],"description":"Visual variant. `default` uses the primary color; `success`, `info`, `warning` and `destructive` map to the shared status colors. Register more via the vite plugin `components.BbIndicator.variants` option and style `.bb-indicator--<variant>`."}],"events":[],"slots":[{"name":"default","type":"object","description":"The element the indicator is anchored to."}],"exposed":[],"models":[],"cssProps":[{"name":"--bg","value":"var(--bb-primary)","selector":".bb-indicator","description":"bubble fill"},{"name":"--fg","value":"var(--bb-primary-fg)","selector":".bb-indicator","description":"bubble text"},{"name":"--r","value":"999px","selector":".bb-indicator","description":"bubble corners; a dot is always a circle regardless"},{"name":"--bw","value":"0px","selector":".bb-indicator","description":"Bubble border. Off by default: a width of 0 leaves nothing to paint, so both this and --border-color have to be set."},{"name":"--border-color","value":"transparent","selector":".bb-indicator"},{"name":"--fs","value":"10px","selector":".bb-indicator","description":"bubble label, and the basis of --min-size"},{"name":"--min-size","value":"calc(var(--fs) * 1.4)","selector":".bb-indicator","description":"Floor for the bubble's height and width, so a one-digit count stays round"},{"name":"--dot-size","value":"6px","selector":".bb-indicator","description":"height and width in `dot` mode, where --min-size does not apply"},{"name":"--gap","value":"3px","selector":".bb-indicator","description":"gap between the bubble's children"},{"name":"--px","value":"4px","selector":".bb-indicator","description":"bubble side padding; widens the pill as the count grows"},{"name":"--offset","value":"calc(var(--min-size) * 0.35)","selector":".bb-indicator","description":"How far a bubble hangs outside the anchor's corner"},{"name":"--dot-offset","value":"calc(var(--dot-size) * 0.2)","selector":".bb-indicator","description":"the same overhang for a dot"},{"name":"--position-offset","value":"var(--offset)","selector":".bb-indicator","description":"The overhang actually applied — dot mode repoints it at --dot-offset"}],"pt":{"parts":[{"name":"root","description":"The anchor wrapper the bubble is positioned in. Sizing lives here: `size`, `--fs` and `--offset` (the corner overhang) are tokens on `root`."},{"name":"bubble","description":"The count or dot itself — rendered only while there is a `text` or `dot`. Put the look here, the sizing on `root`."}],"states":[{"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."},{"name":"info","description":"Component-wide: `variant: 'info'`. Below the real states, like every variant."},{"name":"success","description":"Component-wide: `variant: 'success'`. Below the real states, like every variant."},{"name":"warning","description":"Component-wide: `variant: 'warning'`. Below the real states, like every variant."}]},"css":{"classes":{"bb-indicator":["","--*","--2xl","--bottom","--dot","--left","--lg","--sm","--xl","--xs","__bubble"],"bb-indicator-bubble":[""],"bb-indicator-bubble-enter-active":[""],"bb-indicator-bubble-enter-from":[""],"bb-indicator-bubble-leave-active":[""],"bb-indicator-bubble-leave-to":[""]},"locals":["--bg","--border-color","--bw","--color-gray-200","--dot-offset","--dot-size","--elev","--fg","--fs","--gap","--min-size","--offset","--position-offset","--px","--r"],"surface":{"stable":[{"class":"bb-indicator","part":"root","reads":["--dot-offset","--dot-size","--fs","--min-size","--offset"]},{"class":"bb-indicator__bubble","tag":"span","part":"bubble","reads":["--bg","--border-color","--bw","--dot-size","--elev","--fg","--fs","--gap","--min-size","--position-offset","--px","--r"]},{"class":"bb-indicator--default","state":"default","pattern":true},{"class":"bb-indicator--destructive","state":"destructive","pattern":true},{"class":"bb-indicator--info","state":"info","pattern":true},{"class":"bb-indicator--success","state":"success","pattern":true},{"class":"bb-indicator--warning","state":"warning","pattern":true}],"internal":[{"class":"bb-indicator--2xl"},{"class":"bb-indicator--bottom"},{"class":"bb-indicator--dot","reads":["--dot-offset"]},{"class":"bb-indicator--left"},{"class":"bb-indicator--lg"},{"class":"bb-indicator--sm"},{"class":"bb-indicator--xl"},{"class":"bb-indicator--xs"},{"class":"bb-indicator-bubble"},{"class":"bb-indicator-bubble-enter-active"},{"class":"bb-indicator-bubble-enter-from"},{"class":"bb-indicator-bubble-leave-active"},{"class":"bb-indicator-bubble-leave-to"}]}},"attrTargets":["span"],"config":"variants"},
445
445
  {"name":"BbNumberInput","group":"Inputs","description":"Captures and validates numeric form values, emits a number value.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbNumberInput.md","source":"ai/source/BbNumberInput.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,"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":"currency","type":"string | undefined","required":false,"description":"An ISO 4217 code (`'EUR'`): the amount shows the locale's way, symbol inside the text (`1.234,56 €`), leaving `#prefix` / `#suffix` free; the model is the number. Decimals default to the currency's; `minPrecision` / `maxPrecision` win. Not with `unit`."},{"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":"disableFormatting","type":"boolean | undefined","required":false,"default":"`components.BbNumberInput.disableFormatting`, else `false`","description":"Shows the number as typed (period decimal, no grouping), `name` on the visible input; off, the field formats the locale's way (`10.005,6`) and posts the raw value through a hidden input. Unset: the plugin's `defaults` (or the nearest config scope's), else `false`; `false` formats this field anyway."},{"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":"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":"number | undefined","required":false,"default":"Number.MAX_SAFE_INTEGER","description":"Maximum value cap."},{"name":"maxPrecision","type":"number | undefined","required":false,"default":"8","description":"Maximum fraction digits the user can TYPE (more are refused, never rounded); a model with more still shows them all. With `currency`, the currency's own digits (`2` EUR, `0` JPY and HUF, `3` KWD), or `minPrecision` when that is larger."},{"name":"min","type":"number | undefined","required":false,"default":"Number.MIN_SAFE_INTEGER","description":"Minimum value cap. Applied on blur and on Enter (before a surrounding form submits), not while typing, so a value above a `min` greater than 1 can be typed digit by digit."},{"name":"minPrecision","type":"number | undefined","required":false,"default":"0","description":"Fraction digits always shown (`2`: `1` shows `1,00`), also while typing, where the padding zeros are placeholders; the model stays the number. Above `maxPrecision` it gives way. Applies with `disableFormatting` too. With `currency`: the currency's own digits."},{"name":"modelValue","type":"string | number | 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":"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\"]; readonly states: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"loading\"]; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"numberInputVariants\"; 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; } & { \"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: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: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: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: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: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: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: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: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: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: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: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: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: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: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":"Marks the input required (asterisk, aria-required, native validation in a plain form). Inside a BbForm it is not enforced; use rules=\"required\" or the schema."},{"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 | number | null>","required":false,"description":"vee-validate rules for this field. Only inside a `BbForm`."},{"name":"step","type":"number | undefined","required":false,"default":"1","description":"Incremental unit used by ArrowUp / ArrowDown and by the `increase` and `decrease` functions the slots receive. It is NOT applied to manual input as a step of 5 would prevent the user from inserting a value like `115` because of rounding down."},{"name":"unit","type":"BbNumberUnit | undefined","required":false,"description":"A unit `Intl.NumberFormat` knows (`'kilogram'`, `'celsius'`, `'percent'`), shown the locale's way inside the text (`20 kg`). The model is the number you see: `percent` showing `15 %` holds `15`. Not with `currency` (which wins)."},{"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<NumberInputVariantRegistry> | 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.BbNumberInput.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":"decrease","signature":"(value: number): void","description":"Emitted by the `decrease` helper with the clamped value after decrementing by one `step`."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when the native input gains focus. Forwards the original DOM `FocusEvent`."},{"name":"increase","signature":"(value: number): void","description":"Emitted by the `increase` helper with the clamped value after incrementing by one `step`."},{"name":"input","signature":"(event: Event): void","description":"Emitted on native input events from the number input. 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: number | null): void","description":"Emitted on any value change with the parsed number or `null` when the field is empty."}],"slots":[{"name":"append","type":"BbNumberInputStepSlotProps","fields":["increase: () => void","decrease: () => void","increaseDisabled: boolean","decreaseDisabled: boolean"],"description":"Content rendered after the number input, at the end of the inner container. Typically used to place increment/decrement buttons next to the input."},{"name":"append:outer","type":"BbNumberInputStepSlotProps","fields":["increase: () => void","decrease: () => void","increaseDisabled: boolean","decreaseDisabled: boolean"],"description":"Content rendered after the entire input control, outside the input chrome."},{"name":"description","type":"BbNumberInputDescriptionSlotProps","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":"BbNumberInputLabelSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default label text rendered above the number input."},{"name":"prefix","type":"BbNumberInputStepSlotProps","fields":["increase: () => void","decrease: () => void","increaseDisabled: boolean","decreaseDisabled: boolean"],"description":"Inline content rendered at the start of the input field area, before the typed number."},{"name":"prepend","type":"BbNumberInputStepSlotProps","fields":["increase: () => void","decrease: () => void","increaseDisabled: boolean","decreaseDisabled: boolean"],"description":"Content rendered before the number input, at the start of the inner container."},{"name":"prepend:outer","type":"BbNumberInputStepSlotProps","fields":["increase: () => void","decrease: () => void","increaseDisabled: boolean","decreaseDisabled: boolean"],"description":"Content rendered before the entire input control, outside the input chrome."},{"name":"suffix","type":"BbNumberInputStepSlotProps","fields":["increase: () => void","decrease: () => void","increaseDisabled: boolean","decreaseDisabled: boolean"],"description":"Inline content rendered at the end of the input field area, after the typed number."}],"exposed":[],"models":[{"name":"modelValue","type":"string | number | 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 ✕."}],"states":[{"name":"hasValue","description":"Component-wide: the control holds a value, by its own rule (`0` counts on `BbNumberInput`, `''` on `BbColorInput`)."},{"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":"controlAttrs","target":"input.bb-number-input__input"},{"part":"input","target":"input.bb-number-input__input"},{"part":"controlAttrs","target":"input"}],"nodes":[{"name":"CommonField","kind":"internal","vocabulary":"BbNumberInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbNumberInput","bindings":[{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"icon","target":"BbIcon"},{"part":"clear","target":"ClearableButton"},{"part":"spinner","target":"BbSpinner"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"cssProps":[{"name":"--bg","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--bg-hover","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-disabled","documented":true,"readBy":["bb-field-input__box"]},{"name":"--fg-disabled","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix","bb-field-input__prepend-icon","bb-field-input__append-icon"]},{"name":"--border-color","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--border-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-size","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-color","documented":true,"readBy":["bb-field-input__box"]},{"name":"--elev","documented":true,"readBy":["bb-field-input__box"]},{"name":"--frost","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ph","documented":true},{"name":"--inside-label-clearance","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix"]},{"name":"--ring-t","documented":false,"readBy":["bb-field-input__box"]}],"children":[{"name":"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-number-input":["","__input"]},"locals":["--color-gray-200"],"surface":{"stable":[{"class":"bb-number-input","tag":"CommonField","part":"root"},{"class":"bb-number-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"}],"unaligned":{"parts":["label"],"states":["hasValue","readonly","disabled","warnings","errors","loading","ghost","outline","secondary"]}}},"attrTargets":["div","input"],"config":"labelMode*, validationMode*, autocomplete*, compact*, layout*, reverse*, disableFormatting, maxPrecision, 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"}]},
446
- {"name":"BbOffCanvas","group":"Overlay","description":"Shows a side panel; also the v-bb-off-canvas directive.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbOffCanvas.md","source":"ai/source/BbOffCanvas.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 panel with `data`. `false`: none."},{"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 panel 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":"draggable","type":"boolean | undefined","required":false,"default":"false","description":"Drag-to-dismiss: a ~50px swipe toward the exit edge (also from the body once it is scrolled to its edge), with a grab handle as the cue. A gesture that starts inside `data-bb-no-drag` never drags the panel."},{"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,"description":"Display the offcanvas fullscreen. Use `'mobile'` to restrict fullscreen to small devices."},{"name":"hideClose","type":"boolean | undefined","required":false,"default":"false","description":"Hides the default close (×) button in the header (e.g. for a `persistent` drawer you don't want dismissible — the × otherwise still closes a persistent drawer)."},{"name":"id","type":"string | undefined","required":false,"description":"Names the panel for `v-bb-off-canvas=\"'filters'\"` and `useBbOffCanvas`, found nearest to the trigger, so two pages may reuse an id. Also the DOM `id`: one panel per id."},{"name":"modelValue","type":"boolean | undefined","required":false,"default":"false","description":"Used by v-model to open / close the panel. A panel 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 panel on load, and Back closes it (refused whenever Escape is). Template panels only; keep a record id in your own query."},{"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 an outside click, Escape or drag-to-dismiss. The header close (×) STILL closes a persistent drawer, 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, drag, 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\", \"header\", \"title\", \"description\", \"content\", \"footer\", \"close\"]; readonly states: readonly [\"open\", \"fullscreen\"]; readonly wide: readonly [\"open\", \"fullscreen\"]; }> & PtMap<BbOffCanvasPtPart, BbOffCanvasPtState>) | 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: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":"\"offcanvas\"","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 panel."},{"name":"side","type":"Responsive<\"end\" | \"start\" | \"top\" | \"bottom\" | \"left\" | \"right\"> | undefined","required":false,"default":"'start'","description":"Which viewport edge the panel docks to and slides in from. `start` / `end` follow the reading direction; `left` / `right` are physical. Also a per-breakpoint map (`{ default: 'bottom', md: 'end' }`), resolved at open: an open panel keeps its side."},{"name":"size","type":"Responsive<OffCanvasSize> | undefined","required":false,"default":"\"sm\"","description":"The panel's extent along its axis: a left/right panel's width (shrinks with a narrower viewport) or a top/bottom one's height (capped at the viewport). A preset `'xs'`–`'2xl'`, `'auto'`, a CSS size, a pixel number, or a per-breakpoint map (e.g. `{ default: 'sm', lg: 'lg' }`)."},{"name":"snap","type":"BbSnapPoint | undefined","required":false,"description":"The snap stop the sheet rests at, written as one of the `snapPoints` entries. Updated once the sheet settles on another stop; setting it moves the sheet there. Unbound, every opening starts at the first stop."},{"name":"snapPoints","type":"BbSnapPoint[] | undefined","required":false,"description":"Heights a draggable bottom sheet rests at, smallest first: a fraction of the screen (`0.5`, `1` = full) or `'240px'`. The first is the opening height; `v-model:snap` holds the stop. Ignored on other sides and `fullscreen` (guide § Snap points)."},{"name":"stack","type":"string | undefined","required":false,"description":"Name of the stack this drawer belongs to. Drawers sharing the same `stack` value step back behind one another as later ones open; drawers in different stacks never affect each other. When omitted, the drawer stacks with nothing."},{"name":"stackGap","type":"number | undefined","required":false,"default":"60","description":"Pixels each stacked parent drawer shifts inward when a child opens on top, leaving a peeking band of the parent visible."},{"name":"title","type":"string | undefined","required":false,"description":"Title text announced to assistive technologies. If omitted, no header is rendered 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 panel completes (`ok`, `complete(value)`): the same value as the opener's `onComplete`, before it. Return a promise to keep the panel 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 offcanvas is fully dismissed."},{"name":"hide","signature":"(result: BbDialogResult): void","description":"Emitted as soon as the panel 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 user triggers the open action (model becomes true)."},{"name":"shown","signature":"(): void","description":"Emitted once the open transition has run (symmetric with `hidden`): the panel is settled, so code that measures or anchors to its content sees the final layout. Not emitted for a panel 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":"BbOffCanvasDefaultSlotProps","fields":["close: () => void","complete: (value?: any) => Promise<void>","reset: () => void","data: any"],"description":"Primary body content of the off-canvas panel, rendered in the scrollable body area."},{"name":"description","type":"BbOffCanvasDescriptionSlotProps","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":"BbOffCanvasFooterSlotProps","fields":["close: () => void","complete: (value?: any) => Promise<void>","reset: () => void","data: any"],"description":"Content rendered in the panel footer, below the body area. Typically used for action buttons."},{"name":"header","type":"BbOffCanvasHeaderSlotProps","fields":["titleId: string","close: () => void","complete: (value?: any) => Promise<void>","reset: () => void","title: string","data: any"],"description":"Replaces the entire off-canvas header section (title + close button). Maintains accessibility wiring via the provided props."},{"name":"title","type":"BbOffCanvasTitleSlotProps","fields":["text: string","data: any"],"description":"Replaces the default title text inside the header. Remains linked to the panel 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":"--translate-x","value":"0%","selector":".bb-offcanvas"},{"name":"--translate-y","value":"0%","selector":".bb-offcanvas"},{"name":"--translate","value":"1","selector":".bb-offcanvas"},{"name":"--stack-x","value":"0px","selector":".bb-offcanvas","description":"Inward shift applied to a parent panel while a child is stacked on top."},{"name":"--stack-y","value":"0px","selector":".bb-offcanvas"},{"name":"--snap-y","value":"0px","selector":".bb-offcanvas","description":"Snap points: how far below its top stop the sheet rests (written on the element by the component, live during a drag) and the first stop's offset, which caps the footer's counter-move. Reset here so a sheet nested in another's content never inherits them."},{"name":"--snap-floor","value":"0px","selector":".bb-offcanvas"},{"name":"--stack-fill","value":"0px","selector":".bb-offcanvas","description":"Length of the pad (see `::after`) that fills from the panel's anchored edge out to the screen edge, so no empty band shows when a descendant is dragged away or shrinks."},{"name":"--stack-transition-duration","value":"var(--transition-duration)","selector":".bb-offcanvas","description":"Duration for the stack shift + pad. Zeroed while a peer resizes so parents track the live size instead of lagging behind a 250ms animation."},{"name":"--px","value":"var(--bb-panel-p)","selector":".bb-offcanvas","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-offcanvas"},{"name":"--handle-w","value":"36px","selector":".bb-offcanvas","description":"The drag handle's length along the anchored edge (`draggable`); on a left / right panel the axes swap and this is its height. Set through `pt:root` here, or `pt:sheet` on the component that becomes this sheet."},{"name":"--handle-h","value":"4px","selector":".bb-offcanvas","description":"The drag handle's thickness — its height on a bottom / top panel, its width on a left / right one."},{"name":"--handle-bg","value":"var(--bb-border)","selector":".bb-offcanvas","description":"The drag handle's fill."},{"name":"--transition-timing-function","value":"var(--bb-ease)","selector":".bb-offcanvas"},{"name":"--bg","value":"var(--bb-panel)","selector":".bb-offcanvas"},{"name":"--fg","value":"var(--bb-text)","selector":".bb-offcanvas"},{"name":"--safe-top","value":"env(safe-area-inset-top, 0px)","selector":".bb-offcanvas","description":"Safe areas: every screen edge a panel touches absorbs that edge's inset the way the chin below always did — on the BANDS, never on the panel, so a band's fill runs to the screen edge while its content clears the notch, status bar or home indicator. --safe-* the device insets (`env()`; 0 when unsupported or without `viewport-fit=cover`) — a knob, e.g. for a test or a frame; --inset-* the inset THIS panel absorbs: `--safe-*` on the edges it touches, 0 elsewhere. Header / body / footer add it: the first band on top, the last band at the bottom, every band at the sides."},{"name":"--safe-right","value":"env(safe-area-inset-right, 0px)","selector":".bb-offcanvas"},{"name":"--safe-bottom","value":"env(safe-area-inset-bottom, 0px)","selector":".bb-offcanvas"},{"name":"--safe-left","value":"env(safe-area-inset-left, 0px)","selector":".bb-offcanvas"},{"name":"--inset-top","value":"0px","selector":".bb-offcanvas"},{"name":"--inset-right","value":"0px","selector":".bb-offcanvas"},{"name":"--inset-bottom","value":"0px","selector":".bb-offcanvas"},{"name":"--inset-left","value":"0px","selector":".bb-offcanvas"},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-offcanvas__handle--slider"},{"name":"--close-size","value":"28px","selector":".bb-offcanvas__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-offcanvas__footer"}],"pt":{"parts":[{"name":"root","description":"The `<dialog>` — the sheet itself (no separate `panel`). The backdrop is `::backdrop`: CSS, not `pt`."},{"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 ✕."}],"states":[{"name":"open","description":"Component-wide: the sheet is open (follows `v-model`)."},{"name":"fullscreen","description":"Component-wide: the panel fills the viewport (square, edge to edge) — 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`. Reachable from any adaptive component through `offCanvasProps: { fullscreen: true, 'pt:root:fullscreen': '…' }`."}]},"tree":{"bindings":[{"part":"header","target":"div.bb-offcanvas__header"},{"part":"title","target":"span.bb-offcanvas__title"},{"part":"description","target":"p.bb-offcanvas__description"},{"part":"close","target":"CloseButton"},{"part":"content","target":"div.bb-offcanvas__content"},{"part":"footer","target":"div.bb-offcanvas__footer"}],"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"}]}]},"css":{"classes":{"bb-off-canvas-escape":[""],"bb-offcanvas":["","--*","--above","--bottom","--covered","--deny-close","--dragging","--fullscreen","--has-handle","--instant-stack","--keyboard","--left","--no-header","--open","--right","--snap","--snap-instant","--snap-low","--snap-settling","--swipe-exit","--top","--visible","__body-content","__close","__content","__description","__empty","__empty--failed","__footer","__handle","__handle--slider","__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","__title"],"bb-offcanvas-":["*"]},"locals":["--bg","--close-size","--color-gray-200","--dialog-gap","--dialog-title-fs","--dialog-title-fw","--fg","--gap","--handle-bg","--handle-h","--handle-w","--inset-bottom","--inset-left","--inset-right","--inset-top","--keyboard","--max-size","--p","--page-ff","--page-fs","--page-lh","--px","--py","--ring-t","--safe-bottom","--safe-left","--safe-right","--safe-top","--scrollbar-width","--snap-floor","--snap-h","--snap-y","--stack-fill","--stack-transition-duration","--stack-x","--stack-y","--transition-duration","--transition-timing-function","--translate","--translate-x","--translate-y"],"surface":{"stable":[],"internal":[{"class":"bb-off-canvas-escape"},{"class":"bb-offcanvas","tag":"dialog","reads":["--bg","--fg","--keyboard","--max-size","--safe-bottom","--safe-left","--safe-right","--safe-top","--snap-h","--snap-y","--stack-fill","--stack-transition-duration","--stack-x","--stack-y","--transition-duration","--transition-timing-function","--translate","--translate-x","--translate-y"]},{"class":"bb-offcanvas--above","tag":"dialog"},{"class":"bb-offcanvas--bottom","reads":["--bg","--keyboard","--max-size","--safe-bottom","--safe-left","--safe-right","--snap-h","--snap-y","--stack-fill"]},{"class":"bb-offcanvas--covered","tag":"dialog"},{"class":"bb-offcanvas--deny-close","tag":"dialog"},{"class":"bb-offcanvas--dragging","tag":"dialog"},{"class":"bb-offcanvas--fullscreen","tag":"dialog","reads":["--keyboard","--safe-bottom","--safe-left","--safe-right","--safe-top"]},{"class":"bb-offcanvas--has-handle","tag":"dialog"},{"class":"bb-offcanvas--instant-stack","tag":"dialog"},{"class":"bb-offcanvas--keyboard","tag":"dialog","reads":["--keyboard"]},{"class":"bb-offcanvas--left","reads":["--keyboard","--max-size","--safe-bottom","--safe-left","--safe-top","--stack-fill"]},{"class":"bb-offcanvas--no-header","tag":"dialog"},{"class":"bb-offcanvas--open","tag":"dialog","reads":["--transition-duration","--transition-timing-function"]},{"class":"bb-offcanvas--right","reads":["--keyboard","--max-size","--safe-bottom","--safe-right","--safe-top","--stack-fill"]},{"class":"bb-offcanvas--snap","tag":"dialog","reads":["--bg","--snap-h","--snap-y"]},{"class":"bb-offcanvas--snap-instant","tag":"dialog"},{"class":"bb-offcanvas--snap-low","tag":"dialog"},{"class":"bb-offcanvas--snap-settling","tag":"dialog"},{"class":"bb-offcanvas--swipe-exit","tag":"dialog"},{"class":"bb-offcanvas--top","reads":["--max-size","--safe-left","--safe-right","--safe-top","--stack-fill"]},{"class":"bb-offcanvas--visible","tag":"dialog","reads":["--scrollbar-width"]},{"class":"bb-offcanvas__body-content","tag":"div"},{"class":"bb-offcanvas__close"},{"class":"bb-offcanvas__content","tag":"div","reads":["--dialog-gap","--inset-bottom","--inset-left","--inset-right","--inset-top","--px","--py"]},{"class":"bb-offcanvas__description","tag":"p"},{"class":"bb-offcanvas__empty"},{"class":"bb-offcanvas__empty--failed"},{"class":"bb-offcanvas__footer","tag":"div","reads":["--dialog-gap","--gap","--inset-bottom","--inset-left","--inset-right","--px","--py","--snap-floor","--snap-y"]},{"class":"bb-offcanvas__handle","tag":"div","reads":["--handle-bg","--handle-h","--handle-w"]},{"class":"bb-offcanvas__handle--slider","tag":"div","reads":["--ring-t"]},{"class":"bb-offcanvas__header","tag":"div","reads":["--inset-left","--inset-right","--inset-top","--px","--py"]},{"class":"bb-offcanvas__item"},{"class":"bb-offcanvas__item--aligned"},{"class":"bb-offcanvas__item--description"},{"class":"bb-offcanvas__item--disabled"},{"class":"bb-offcanvas__item--focus-visible"},{"class":"bb-offcanvas__item--focused"},{"class":"bb-offcanvas__item--reverse"},{"class":"bb-offcanvas__item--selected"},{"class":"bb-offcanvas__item-description"},{"class":"bb-offcanvas__label"},{"class":"bb-offcanvas__list"},{"class":"bb-offcanvas__list--block"},{"class":"bb-offcanvas__list--errors"},{"class":"bb-offcanvas__list--no-transition"},{"class":"bb-offcanvas__list--strip"},{"class":"bb-offcanvas__list--warnings"},{"class":"bb-offcanvas__loading"},{"class":"bb-offcanvas__title","tag":"span","reads":["--dialog-title-fs","--dialog-title-fw"]}],"lands":[{"part":"header","target":"div.bb-offcanvas__header"},{"part":"title","target":"span.bb-offcanvas__title"},{"part":"description","target":"p.bb-offcanvas__description"},{"part":"content","target":"div.bb-offcanvas__content"},{"part":"footer","target":"div.bb-offcanvas__footer"},{"part":"close","target":"CloseButton"}],"unaligned":{"parts":["root"],"states":["open","fullscreen"]}}},"attrTargets":["dialog"],"config":"side, okProps, cancelProps, sizeMap","removed":[{"name":"compact","new":null,"since":"3.0.0-beta.15","migration":"ai/guides/migration/components/bb-offcanvas.md","silent":true,"fix":{"kind":"manual"}},{"name":"direction","new":"side","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-offcanvas.md","silent":true,"fix":{"kind":"rename"}},{"name":"showClose","new":"hideClose","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-offcanvas.md","silent":true,"fix":{"kind":"invert"}}],"renamed":[{"from":"direction","to":"side","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-offcanvas.md","fix":{"kind":"rename"}},{"from":"showClose","to":"hideClose","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-offcanvas.md","fix":{"kind":"invert"}}]},
446
+ {"name":"BbOffCanvas","group":"Overlay","description":"Shows a side panel; also the v-bb-off-canvas directive.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbOffCanvas.md","source":"ai/source/BbOffCanvas.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 panel with `data`. `false`: none."},{"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 panel 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":"draggable","type":"boolean | undefined","required":false,"default":"false","description":"Drag-to-dismiss: a ~50px swipe toward the exit edge (also from the body once it is scrolled to its edge), with a grab handle as the cue. A gesture that starts inside `data-bb-no-drag` never drags the panel."},{"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,"description":"Display the offcanvas fullscreen. Use `'mobile'` to restrict fullscreen to small devices."},{"name":"hideClose","type":"boolean | undefined","required":false,"default":"false","description":"Hides the default close (×) button in the header (e.g. for a `persistent` drawer you don't want dismissible — the × otherwise still closes a persistent drawer)."},{"name":"id","type":"string | undefined","required":false,"description":"Names the panel for `v-bb-off-canvas=\"'filters'\"` and `useBbOffCanvas`, found nearest to the trigger, so two pages may reuse an id. Also the DOM `id`: one panel per id."},{"name":"modelValue","type":"boolean | undefined","required":false,"default":"false","description":"Used by v-model to open / close the panel. A panel 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 panel on load, and Back closes it (refused whenever Escape is). Template panels only; keep a record id in your own query."},{"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 an outside click, Escape or drag-to-dismiss. The header close (×) STILL closes a persistent drawer, 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, drag, 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\", \"header\", \"title\", \"description\", \"content\", \"footer\", \"close\"]; readonly states: readonly [\"open\", \"fullscreen\"]; readonly wide: readonly [\"open\", \"fullscreen\"]; }> & PtMap<BbOffCanvasPtPart, BbOffCanvasPtState>) | 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: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":"\"offcanvas\"","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 panel."},{"name":"side","type":"Responsive<\"end\" | \"start\" | \"top\" | \"bottom\" | \"left\" | \"right\"> | undefined","required":false,"default":"'start'","description":"Which viewport edge the panel docks to and slides in from. `start` / `end` follow the reading direction; `left` / `right` are physical. Also a per-breakpoint map (`{ default: 'bottom', md: 'end' }`), resolved at open: an open panel keeps its side."},{"name":"size","type":"Responsive<OffCanvasSize> | undefined","required":false,"default":"\"sm\"","description":"The panel's extent along its axis: a left/right panel's width (shrinks with a narrower viewport) or a top/bottom one's height (capped at the viewport). A preset `'xs'`–`'2xl'`, `'auto'`, a CSS size, a pixel number, or a per-breakpoint map (e.g. `{ default: 'sm', lg: 'lg' }`)."},{"name":"snap","type":"BbSnapPoint | undefined","required":false,"description":"The snap stop the sheet rests at, written as one of the `snapPoints` entries. Updated once the sheet settles on another stop; setting it moves the sheet there. Unbound, every opening starts at the first stop."},{"name":"snapPoints","type":"BbSnapPoint[] | undefined","required":false,"description":"Heights a draggable bottom sheet rests at, smallest first: a fraction of the screen (`0.5`, `1` = full) or `'240px'`. The first is the opening height; `v-model:snap` holds the stop. Ignored on other sides and `fullscreen` (guide § Snap points)."},{"name":"stack","type":"string | undefined","required":false,"description":"Name of the stack this drawer belongs to. Drawers sharing the same `stack` value step back behind one another as later ones open; drawers in different stacks never affect each other. When omitted, the drawer stacks with nothing."},{"name":"stackGap","type":"number | undefined","required":false,"default":"60","description":"Pixels each stacked parent drawer shifts inward when a child opens on top, leaving a peeking band of the parent visible."},{"name":"title","type":"string | undefined","required":false,"description":"Title text announced to assistive technologies. If omitted, no header is rendered 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 panel completes (`ok`, `complete(value)`): the same value as the opener's `onComplete`, before it. Return a promise to keep the panel 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 offcanvas is fully dismissed."},{"name":"hide","signature":"(result: BbDialogResult): void","description":"Emitted as soon as the panel 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 user triggers the open action (model becomes true)."},{"name":"shown","signature":"(): void","description":"Emitted once the open transition has run (symmetric with `hidden`): the panel is settled, so code that measures or anchors to its content sees the final layout. Not emitted for a panel 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":"BbOffCanvasDefaultSlotProps","fields":["close: () => void","complete: (value?: any) => Promise<void>","reset: () => void","data: any"],"description":"Primary body content of the off-canvas panel, rendered in the scrollable body area."},{"name":"description","type":"BbOffCanvasDescriptionSlotProps","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":"BbOffCanvasFooterSlotProps","fields":["close: () => void","complete: (value?: any) => Promise<void>","reset: () => void","data: any"],"description":"Content rendered in the panel footer, below the body area. Typically used for action buttons."},{"name":"header","type":"BbOffCanvasHeaderSlotProps","fields":["titleId: string","close: () => void","complete: (value?: any) => Promise<void>","reset: () => void","title: string","data: any"],"description":"Replaces the entire off-canvas header section (title + close button). Maintains accessibility wiring via the provided props."},{"name":"title","type":"BbOffCanvasTitleSlotProps","fields":["text: string","data: any"],"description":"Replaces the default title text inside the header. Remains linked to the panel 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":"--translate-x","value":"0%","selector":".bb-offcanvas"},{"name":"--translate-y","value":"0%","selector":".bb-offcanvas"},{"name":"--translate","value":"1","selector":".bb-offcanvas"},{"name":"--stack-x","value":"0px","selector":".bb-offcanvas","description":"Inward shift applied to a parent panel while a child is stacked on top."},{"name":"--stack-y","value":"0px","selector":".bb-offcanvas"},{"name":"--snap-y","value":"0px","selector":".bb-offcanvas","description":"Snap points: how far below its top stop the sheet rests (written on the element by the component, live during a drag) and the first stop's offset, which caps the footer's counter-move. Reset here so a sheet nested in another's content never inherits them."},{"name":"--snap-floor","value":"0px","selector":".bb-offcanvas"},{"name":"--stack-fill","value":"0px","selector":".bb-offcanvas","description":"Length of the pad (see `::after`) that fills from the panel's anchored edge out to the screen edge, so no empty band shows when a descendant is dragged away or shrinks."},{"name":"--stack-transition-duration","value":"var(--transition-duration)","selector":".bb-offcanvas","description":"Duration for the stack shift + pad. Zeroed while a peer resizes so parents track the live size instead of lagging behind a 250ms animation."},{"name":"--px","value":"var(--bb-panel-p)","selector":".bb-offcanvas","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-offcanvas"},{"name":"--handle-w","value":"36px","selector":".bb-offcanvas","description":"The drag handle's length along the anchored edge (`draggable`); on a left / right panel the axes swap and this is its height. Set through `pt:root` here, or `pt:sheet` on the component that becomes this sheet."},{"name":"--handle-h","value":"4px","selector":".bb-offcanvas","description":"The drag handle's thickness — its height on a bottom / top panel, its width on a left / right one."},{"name":"--handle-bg","value":"var(--bb-border)","selector":".bb-offcanvas","description":"The drag handle's fill."},{"name":"--transition-timing-function","value":"var(--bb-ease)","selector":".bb-offcanvas"},{"name":"--bg","value":"var(--bb-panel)","selector":".bb-offcanvas"},{"name":"--fg","value":"var(--bb-text)","selector":".bb-offcanvas"},{"name":"--safe-top","value":"env(safe-area-inset-top, 0px)","selector":".bb-offcanvas","description":"Safe areas: every screen edge a panel touches absorbs that edge's inset the way the chin below always did — on the BANDS, never on the panel, so a band's fill runs to the screen edge while its content clears the notch, status bar or home indicator. --safe-* the device insets (`env()`; 0 when unsupported or without `viewport-fit=cover`) — a knob, e.g. for a test or a frame; --inset-* the inset THIS panel absorbs: `--safe-*` on the edges it touches, 0 elsewhere. Header / body / footer add it: the first band on top, the last band at the bottom, every band at the sides."},{"name":"--safe-right","value":"env(safe-area-inset-right, 0px)","selector":".bb-offcanvas"},{"name":"--safe-bottom","value":"env(safe-area-inset-bottom, 0px)","selector":".bb-offcanvas"},{"name":"--safe-left","value":"env(safe-area-inset-left, 0px)","selector":".bb-offcanvas"},{"name":"--inset-top","value":"0px","selector":".bb-offcanvas"},{"name":"--inset-right","value":"0px","selector":".bb-offcanvas"},{"name":"--inset-bottom","value":"0px","selector":".bb-offcanvas"},{"name":"--inset-left","value":"0px","selector":".bb-offcanvas"},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-offcanvas__handle--slider"},{"name":"--close-size","value":"28px","selector":".bb-offcanvas__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-offcanvas__footer"}],"pt":{"parts":[{"name":"root","description":"The `<dialog>` — the sheet itself (no separate `panel`). The backdrop is `::backdrop`: CSS, not `pt`."},{"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 ✕."}],"states":[{"name":"open","description":"Component-wide: the sheet is open (follows `v-model`)."},{"name":"fullscreen","description":"Component-wide: the panel fills the viewport (square, edge to edge) — 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`. Reachable from any adaptive component through `offCanvasProps: { fullscreen: true, 'pt:root:fullscreen': '…' }`."}]},"tree":{"bindings":[{"part":"header","target":"div.bb-offcanvas__header"},{"part":"title","target":"span.bb-offcanvas__title"},{"part":"description","target":"p.bb-offcanvas__description"},{"part":"close","target":"CloseButton"},{"part":"content","target":"div.bb-offcanvas__content"},{"part":"footer","target":"div.bb-offcanvas__footer"}],"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,"readBy":["bb-close-button"]},{"name":"--icon-inset","documented":true},{"name":"--ring-t","documented":false,"readBy":["bb-close-button"]}],"children":[{"name":"BbIcon","kind":"public"}]}]},"css":{"classes":{"bb-off-canvas-escape":[""],"bb-offcanvas":["","--*","--above","--bottom","--covered","--deny-close","--dragging","--fullscreen","--has-handle","--instant-stack","--keyboard","--left","--no-header","--open","--right","--snap","--snap-instant","--snap-low","--snap-settling","--swipe-exit","--top","--visible","__body-content","__close","__content","__description","__empty","__empty--failed","__footer","__handle","__handle--slider","__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","__title"],"bb-offcanvas-":["*"]},"locals":["--bg","--close-size","--color-gray-200","--dialog-gap","--dialog-title-fs","--dialog-title-fw","--fg","--gap","--handle-bg","--handle-h","--handle-w","--inset-bottom","--inset-left","--inset-right","--inset-top","--keyboard","--max-size","--p","--page-ff","--page-fs","--page-lh","--px","--py","--ring-t","--safe-bottom","--safe-left","--safe-right","--safe-top","--scrollbar-width","--snap-floor","--snap-h","--snap-y","--stack-fill","--stack-transition-duration","--stack-x","--stack-y","--transition-duration","--transition-timing-function","--translate","--translate-x","--translate-y"],"surface":{"stable":[],"internal":[{"class":"bb-off-canvas-escape"},{"class":"bb-offcanvas","tag":"dialog","reads":["--bg","--fg","--keyboard","--max-size","--safe-bottom","--safe-left","--safe-right","--safe-top","--snap-h","--snap-y","--stack-fill","--stack-transition-duration","--stack-x","--stack-y","--transition-duration","--transition-timing-function","--translate","--translate-x","--translate-y"]},{"class":"bb-offcanvas--above","tag":"dialog"},{"class":"bb-offcanvas--bottom","reads":["--bg","--keyboard","--max-size","--safe-bottom","--safe-left","--safe-right","--snap-h","--snap-y","--stack-fill"]},{"class":"bb-offcanvas--covered","tag":"dialog"},{"class":"bb-offcanvas--deny-close","tag":"dialog"},{"class":"bb-offcanvas--dragging","tag":"dialog"},{"class":"bb-offcanvas--fullscreen","tag":"dialog","reads":["--keyboard","--safe-bottom","--safe-left","--safe-right","--safe-top"]},{"class":"bb-offcanvas--has-handle","tag":"dialog"},{"class":"bb-offcanvas--instant-stack","tag":"dialog"},{"class":"bb-offcanvas--keyboard","tag":"dialog","reads":["--keyboard"]},{"class":"bb-offcanvas--left","reads":["--keyboard","--max-size","--safe-bottom","--safe-left","--safe-top","--stack-fill"]},{"class":"bb-offcanvas--no-header","tag":"dialog"},{"class":"bb-offcanvas--open","tag":"dialog","reads":["--transition-duration","--transition-timing-function"]},{"class":"bb-offcanvas--right","reads":["--keyboard","--max-size","--safe-bottom","--safe-right","--safe-top","--stack-fill"]},{"class":"bb-offcanvas--snap","tag":"dialog","reads":["--bg","--snap-h","--snap-y"]},{"class":"bb-offcanvas--snap-instant","tag":"dialog"},{"class":"bb-offcanvas--snap-low","tag":"dialog"},{"class":"bb-offcanvas--snap-settling","tag":"dialog"},{"class":"bb-offcanvas--swipe-exit","tag":"dialog"},{"class":"bb-offcanvas--top","reads":["--max-size","--safe-left","--safe-right","--safe-top","--stack-fill"]},{"class":"bb-offcanvas--visible","tag":"dialog","reads":["--scrollbar-width"]},{"class":"bb-offcanvas__body-content","tag":"div"},{"class":"bb-offcanvas__close"},{"class":"bb-offcanvas__content","tag":"div","reads":["--dialog-gap","--inset-bottom","--inset-left","--inset-right","--inset-top","--px","--py"]},{"class":"bb-offcanvas__description","tag":"p"},{"class":"bb-offcanvas__empty"},{"class":"bb-offcanvas__empty--failed"},{"class":"bb-offcanvas__footer","tag":"div","reads":["--dialog-gap","--gap","--inset-bottom","--inset-left","--inset-right","--px","--py","--snap-floor","--snap-y"]},{"class":"bb-offcanvas__handle","tag":"div","reads":["--handle-bg","--handle-h","--handle-w"]},{"class":"bb-offcanvas__handle--slider","tag":"div","reads":["--ring-t"]},{"class":"bb-offcanvas__header","tag":"div","reads":["--inset-left","--inset-right","--inset-top","--px","--py"]},{"class":"bb-offcanvas__item"},{"class":"bb-offcanvas__item--aligned"},{"class":"bb-offcanvas__item--description"},{"class":"bb-offcanvas__item--disabled"},{"class":"bb-offcanvas__item--focus-visible"},{"class":"bb-offcanvas__item--focused"},{"class":"bb-offcanvas__item--reverse"},{"class":"bb-offcanvas__item--selected"},{"class":"bb-offcanvas__item-description"},{"class":"bb-offcanvas__label"},{"class":"bb-offcanvas__list"},{"class":"bb-offcanvas__list--block"},{"class":"bb-offcanvas__list--errors"},{"class":"bb-offcanvas__list--no-transition"},{"class":"bb-offcanvas__list--strip"},{"class":"bb-offcanvas__list--warnings"},{"class":"bb-offcanvas__loading"},{"class":"bb-offcanvas__title","tag":"span","reads":["--dialog-title-fs","--dialog-title-fw"]}],"lands":[{"part":"header","target":"div.bb-offcanvas__header"},{"part":"title","target":"span.bb-offcanvas__title"},{"part":"description","target":"p.bb-offcanvas__description"},{"part":"content","target":"div.bb-offcanvas__content"},{"part":"footer","target":"div.bb-offcanvas__footer"},{"part":"close","target":"CloseButton"}],"unaligned":{"parts":["root"],"states":["open","fullscreen"]}}},"attrTargets":["dialog"],"config":"side, okProps, cancelProps, sizeMap","removed":[{"name":"compact","new":null,"since":"3.0.0-beta.15","migration":"ai/guides/migration/components/bb-offcanvas.md","silent":true,"fix":{"kind":"manual"}},{"name":"direction","new":"side","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-offcanvas.md","silent":true,"fix":{"kind":"rename"}},{"name":"showClose","new":"hideClose","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-offcanvas.md","silent":true,"fix":{"kind":"invert"}}],"renamed":[{"from":"direction","to":"side","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-offcanvas.md","fix":{"kind":"rename"}},{"from":"showClose","to":"hideClose","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-offcanvas.md","fix":{"kind":"invert"}}]},
447
447
  {"name":"BbPagination","group":"Navigation","description":"Navigates paginated data sets by page index.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbPagination.md","source":"ai/source/BbPagination.md","props":[{"name":"align","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\" | undefined","required":false,"default":"\"end\"","description":"Alignment of the pagination control. `'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, `'end'`, follows the page direction."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the component"},{"name":"ellipsis","type":"string | undefined","required":false,"default":"\"...\"","description":"String of text displayed in place of hidden pages."},{"name":"label","type":"string | undefined","required":false,"description":"Label of the pagination navigation landmark. When unset, falls back to the localized `pagination.label` (`'Pagination'` / `'Paginazione'`)."},{"name":"maxSize","type":"string | number | undefined","required":false,"default":"6","description":"Maximum number of clickable pages displayed at all times. This has a tolerance of +/- 1 for odd / even numbering. It does not include ellipses."},{"name":"modelValue","type":"number | undefined","required":false,"default":"1","description":"Used by v-model. The 1-based index of the current page — pagination starts on the first page, not page `0`."},{"name":"navigation","type":"boolean | undefined","required":false,"default":"false","description":"Synchronizes the current page with the URL.\n\nPair it with `replace` — see that prop."},{"name":"perPage","type":"string | number | undefined","required":false,"description":"Number of items per page. Together with `totalItems` it derives the page count (`ceil(totalItems / perPage)`); when unset, one page holds everything. With a `tableId` it is also published to the shared table state, exactly like the table's own `per-page` prop."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"item\", \"arrow\", \"ellipsis\", \"icon\"]; readonly states: readonly [\"disabled\", \"active\"]; readonly wide: readonly [\"disabled\"]; readonly node: { readonly item: readonly [\"active\"]; }; }> & { root?: PtValue | undefined; icon?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; item?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"item:active\"?: PtValue | undefined; arrow?: PtValue | undefined; \"arrow:disabled\"?: PtValue | undefined; ellipsis?: PtValue | undefined; \"ellipsis:disabled\"?: 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:ellipsis","type":"PtValue | undefined","required":false},{"name":"pt:ellipsis:disabled","type":"PtValue | undefined","required":false},{"name":"pt:icon","type":"PtValue | undefined","required":false},{"name":"pt:icon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:item","type":"PtValue | undefined","required":false},{"name":"pt:item:active","type":"PtValue | undefined","required":false},{"name":"pt:item:disabled","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:disabled","type":"PtValue | undefined","required":false},{"name":"queryKey","type":"string | undefined","required":false,"default":"\"page\"","description":"Defines the query key to reference for maintaining navigation."},{"name":"replace","type":"boolean | undefined","required":false,"default":"false","description":"Replaces the history entry instead of pushing one when the page changes. Recommended with `navigation`: the URL keeps the page while Back leaves the list (without it, page 12 takes eleven Backs)."},{"name":"tableId","type":"string | undefined","required":false,"description":"Pairs with the `BbTable` whose `id` matches, through the shared table state: the page syncs both ways and its page count drives the control. `totalItems`, `perPage` and `totalPages` set here are published to that state."},{"name":"totalItems","type":"string | number | undefined","required":false,"description":"Total number of items across all pages. When set, the page count is derived as `ceil(totalItems / perPage)` and wins over `totalPages`. With a `tableId` it is also published to the shared table state, exactly like the table's own `total-items` prop."},{"name":"totalPages","type":"string | number | undefined","required":false,"description":"Total number of pages. A shortcut for when the server reports a page count rather than a row count — a page count derived from `totalItems` (locally or through the shared table state) always wins over it. Falls back to `1` when nothing provides a count."}],"events":[{"name":"update:modelValue","signature":"(value: number): void","description":"Emitted with the new value whenever `v-model` changes."}],"slots":[{"name":"ellipsis","type":"Record<string, never>","description":"Replaces the default `…` ellipsis shown when pages overflow the visible range."},{"name":"item","type":"BbPaginationItemSlotProps","fields":["active: boolean","disabled: boolean","item: number"],"description":"Replaces the default page number button content for each individual page."},{"name":"next","type":"Record<string, never>","description":"Replaces the default \"next page\" button content."},{"name":"previous","type":"Record<string, never>","description":"Replaces the default \"previous page\" button content."}],"exposed":[],"models":[{"name":"modelValue","type":"number | undefined"}],"cssProps":[{"name":"--page-size","value":"var(--bb-control-h)","selector":".bb-pagination","description":"min width of every chip, active or not"},{"name":"--page-size-inactive","value":"var(--bb-control-h)","selector":".bb-pagination","description":"min height of a chip"},{"name":"--page-size-active","value":"var( --bb-control-h )","selector":".bb-pagination","description":"min height AND min width of the active chip"},{"name":"--page-r","value":"calc(var(--bb-radius) * 0.8)","selector":".bb-pagination","description":"chip corners"},{"name":"--page-text","value":"var(--bb-text)","selector":".bb-pagination","description":"Chip label — at rest, on hover and when active"},{"name":"--page-text-muted","value":"color-mix(in oklab, var(--bb-text), var(--bb-panel) 45%)","selector":".bb-pagination","description":"The \"…\" ellipsis chips"},{"name":"--page-border","value":"transparent","selector":".bb-pagination","description":"Chip border at rest. Transparent, but the width is always reserved (`border-style: solid`, `--bb-border-w`), so setting a colour here outlines every chip without moving anything."},{"name":"--page-border-active","value":"var(--bb-border)","selector":".bb-pagination","description":"Border of the active chip, and of any chip while focus-visible"},{"name":"--page-bg","value":"transparent","selector":".bb-pagination","description":"chip fill at rest"},{"name":"--page-bg-hover","value":"var(--bb-hover)","selector":".bb-pagination","description":"chip fill on hover and focus-visible"},{"name":"--page-bg-active","value":"var(--bb-panel)","selector":".bb-pagination","description":"fill of the active chip"},{"name":"--page-bg-disabled","value":"transparent","selector":".bb-pagination","description":"BbButton's disabled trio, for Previous / Next at the ends. A chip is transparent at rest, so the plate and frame stay transparent and the label takes the disabled grey."},{"name":"--page-text-disabled","value":"color-mix( in oklab, var(--bb-text) 45%, var(--bb-panel) )","selector":".bb-pagination"},{"name":"--page-border-disabled","value":"transparent","selector":".bb-pagination"}],"pt":{"parts":[{"name":"root","description":"The component root."},{"name":"item","description":"Every numbered page — a broadcast resolved per page. Neither the previous / next buttons (`arrow`) nor the gap markers (`ellipsis`)."},{"name":"arrow","description":"The previous / next buttons — a broadcast resolved per button, with its own `disabled` (previous on the first page, next on the last). The same word as BbCalendar's previous / next buttons."},{"name":"ellipsis","description":"The gap markers between page runs — a broadcast. Not a control (a hidden `<span>`, no `active` / `disabled`)."},{"name":"icon","description":"The chevrons inside the `arrow` buttons — a broadcast."}],"states":[{"name":"disabled","description":"Component-wide while the pagination is `disabled`; also per node, on `item` and `arrow`: a control that cannot be pressed — previous on the first page, next on the last."},{"name":"active","description":"Per node, on `item`: the current page."}]},"tree":{"bindings":[{"part":"arrow","target":"BbBaseButton"},{"part":"icon","target":"BbIcon"},{"part":"ellipsis","target":"span.bb-pagination__ellipsis"},{"part":"item","target":"BbBaseButton"}],"nodes":[{"name":"BbIcon","kind":"public"},{"name":"BbBaseButton","kind":"public"}]},"css":{"classes":{"bb-pagination":["","--*","--disabled","__arrow","__ellipsis","__icon","__item","__page","__page--active","__page--ellipsis","__page--next","__page--previous","__page-label","__pages"]},"locals":["--color-gray-200","--elev","--hit","--page-bg","--page-bg-active","--page-bg-disabled","--page-bg-hover","--page-border","--page-border-active","--page-border-disabled","--page-r","--page-size","--page-size-active","--page-size-inactive","--page-text","--page-text-disabled","--page-text-muted","--ring-t"],"surface":{"stable":[{"class":"bb-pagination","tag":"div","part":"root"},{"class":"bb-pagination__item","part":"item"},{"class":"bb-pagination__arrow","part":"arrow"},{"class":"bb-pagination__ellipsis","tag":"span","part":"ellipsis"},{"class":"bb-pagination__icon","tag":"BbIcon","part":"icon"},{"class":"bb-pagination--disabled","tag":"div","state":"disabled"},{"class":"bb-pagination__page--active","state":"active","reads":["--page-bg-active","--page-bg-hover","--page-border-active","--page-size-active","--page-text"]}],"internal":[{"class":"bb-pagination__page","tag":"span","reads":["--elev","--hit","--page-bg","--page-bg-disabled","--page-bg-hover","--page-border","--page-border-active","--page-border-disabled","--page-r","--page-size","--page-size-inactive","--page-text","--page-text-disabled","--ring-t"]},{"class":"bb-pagination__page--ellipsis","tag":"span","reads":["--page-text-muted"]},{"class":"bb-pagination__page--next"},{"class":"bb-pagination__page--previous"},{"class":"bb-pagination__page-label","tag":"span"},{"class":"bb-pagination__pages","tag":"ul","reads":["--hit","--page-size"]}]}},"attrTargets":["div"],"removed":[{"name":"loading","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-pagination.md","silent":true,"fix":{"kind":"manual"}},{"name":"querykey","new":"queryKey","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-pagination.md","silent":true,"fix":{"kind":"rename"}},{"name":"pt:root:active","new":null,"surface":"pt","hint":"it never applied anything: `active` (the current page) is a state of `item` only (`pt:item:active`)","since":"3.0.0-beta.33","migration":"ai/guides/migration/components/bb-pagination.md","silent":true,"fix":{"kind":"remove"}},{"name":"pt:icon:active","new":null,"surface":"pt","hint":"it never applied anything: `active` (the current page) is a state of `item` only (`pt:item:active`)","since":"3.0.0-beta.33","migration":"ai/guides/migration/components/bb-pagination.md","silent":true,"fix":{"kind":"remove"}}],"renamed":[{"from":"querykey","to":"queryKey","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-pagination.md","fix":{"kind":"rename"}}]},
448
448
  {"name":"BbPopover","group":"Overlay","description":"Anchors floating content to reference elements; also the v-bb-popover directive (its body is a BbPopoverPortal or a component).","referenceOnly":false,"hasGuide":true,"contract":"ai/BbPopover.md","source":"ai/source/BbPopover.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 events are attached programmatically to the referenced element."},{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"On mobile (below `config.mobileMaxWidth`), renders as a bottom sheet instead of a floating panel, with the same `header`, `default` and `footer` slots. `width` is ignored there: size the sheet with `offCanvasProps`. Unset: the global `all.adaptive`."},{"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":"Disables the component."},{"name":"eager","type":"boolean | undefined","required":false,"default":"false","description":"Renders the panel's content at mount instead of on the first open (the phone sheet's too)."},{"name":"focusTarget","type":"string | undefined","required":false,"description":"Selector for the element that receives focus after opening. Defaults to the first focusable element inside the popover."},{"name":"id","type":"string | undefined","required":false,"description":"The activator's id (the panel is `bbp_<id>` and is labelled by it). Generated when omitted."},{"name":"modal","type":"boolean | undefined","required":false,"default":"false","description":"Makes the floating panel modal: the page behind is inert and does not scroll, and Tab stays inside. Off, it is a non-modal dialog: an outside click closes it and still lands, and tabbing out closes it. The phone sheet is modal either way."},{"name":"modelValue","type":"boolean | undefined","required":false,"default":"false","description":"Used by v-model to open / close the popover. A popover with no `v-model` starts closed and is driven by its `trigger`."},{"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":"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":"10","description":"Minimum empty space to keep from the edge of the page."},{"name":"placement","type":"\"cursor\" | Placement | undefined","required":false,"default":"\"bottom\"","values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end","cursor"],"description":"Position of the popover relative to the activator. Use `'cursor'` to anchor at the mouse/touch coordinates. (BbPopover never draws an arrow — arrows are tooltip-only in v3.)"},{"name":"pt","type":"PtMap<BbPopoverPtPart, \"open\"> | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:content","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:open","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:open","type":"PtValue | undefined","required":false},{"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":"scrollable","type":"boolean | undefined","required":false,"default":"false","description":"Caps the popover height to the available viewport space and enables internal scrolling. Useful for tall content like filter panels. Not recommended for atomic popovers (calendars, color pickers)."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"How long the transition has to last in milliseconds."},{"name":"trigger","type":"PopoverTrigger | PopoverTrigger[] | undefined","required":false,"default":"\"click\"","description":"Interaction(s) that open the popover. Accepts a single trigger or an array to combine them.\n- `'click'` — left-click / tap (default)\n- `'contextMenu'` — right-click on desktop, long-press on mobile"},{"name":"width","type":"string | number | undefined","required":false,"description":"Width of the popover. Accepts pixels or percentage (relative to activator width)."}],"events":[{"name":"hidden","signature":"(): void","description":"Emitted after the popover is closed and focus has been restored to the activator."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the popover starts to close (model becomes false)."},{"name":"show","signature":"(): void","description":"Emitted as soon as the popover starts to open (model becomes true)."},{"name":"shown","signature":"(): void","description":"Emitted after the popover is fully opened and focus has been moved inside."},{"name":"update:modelValue","signature":"(value: boolean): void","description":"Emitted with the new value whenever `v-model` changes."}],"slots":[{"name":"activator","type":"BbPopoverActivatorSlotProps","fields":["disabled: boolean","open: boolean","placement: Placement | \"cursor\"","props: { 'aria-expanded'?: boolean | undefined; 'aria-controls'?: string | undefined; 'aria-haspopup': \"dialog\"; id: string; disabled: boolean; ref: (reference: unknown) => void; }"],"description":"The element that triggers the popover to open. Spread `props` onto your trigger element."},{"name":"default","type":"BbPopoverDefaultSlotProps","fields":["close: () => void","disabled: boolean","open: boolean","placement: Placement | \"cursor\""],"description":"The popover body content rendered inside the floating panel."},{"name":"footer","type":"BbPopoverDefaultSlotProps","fields":["close: () => void","disabled: boolean","open: boolean","placement: Placement | \"cursor\""],"description":"Content pinned to the bottom of the panel, outside the scroll region. Stays visible while the body scrolls (when `scrollable`) and carries its own padding and top divider, so footer actions need no negative-margin or `sticky` workarounds."},{"name":"header","type":"BbPopoverDefaultSlotProps","fields":["close: () => void","disabled: boolean","open: boolean","placement: Placement | \"cursor\""],"description":"Content pinned to the top of the panel, outside the scroll region. Stays visible while the body scrolls (when `scrollable`) and carries its own padding and bottom divider, so a title or search field needs no negative-margin or `sticky` workarounds."}],"exposed":[],"models":[{"name":"modelValue","type":"boolean | undefined"}],"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 surface you see — the bordered box that paints the popover and lays out its bands on desktop, the sheet itself on a phone."},{"name":"sheet","description":"The bottom sheet the popover becomes on a phone (the `BbOffCanvas` root) — never the desktop surface. Applied after `panel`, so it wins a conflict there."},{"name":"header","description":"The header band (on a phone, the sheet's)."},{"name":"content","description":"The body band (on a phone, the sheet's)."},{"name":"footer","description":"The footer band (on a phone, the sheet's)."}],"states":[{"name":"open","description":"Component-wide: the popover is open."}]},"tree":{"bindings":[{"part":"panel","target":"CommonPopover"},{"part":"root","target":"CommonPopover"},{"part":"header","target":"div.bb-popover__header"},{"part":"content","target":"div.bb-popover__content"},{"part":"footer","target":"div.bb-popover__footer"}],"forwards":[{"to":"BbOffCanvas","mapping":"{ header: 'header', content: 'content', footer: 'footer', panel: 'root', sheet: 'root', }"}],"nodes":[{"name":"CommonPopover","kind":"internal"},{"name":"BbOffCanvas","kind":"public"}]},"css":{"classes":{"bb-popover":["","__content","__footer","__header","__panel","__panel--scrollable","__sheet"]},"locals":["--color-gray-200","--max-h"],"surface":{"stable":[{"class":"bb-popover","tag":"CommonPopover","part":"root"},{"class":"bb-popover__panel","part":"panel","reads":["--max-h"]},{"class":"bb-popover__sheet","tag":"BbOffCanvas","part":"sheet"},{"class":"bb-popover__header","tag":"div","part":"header"},{"class":"bb-popover__content","tag":"div","part":"content"},{"class":"bb-popover__footer","tag":"div","part":"footer"}],"internal":[{"class":"bb-popover__panel--scrollable","reads":["--max-h"]}],"unaligned":{"states":["open"]}}},"attrTargets":["dialog"],"config":"adaptive*","removed":[{"name":"arrowPadding","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-popover.md","silent":true,"fix":{"kind":"remove"}},{"name":"block","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-popover.md","silent":true,"fix":{"kind":"remove"}},{"name":"closeLabel","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-popover.md","silent":true,"fix":{"kind":"manual"}},{"name":"hideArrow","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-popover.md","silent":true,"fix":{"kind":"remove"}},{"name":"restoreFocus","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-popover.md","silent":true,"fix":{"kind":"manual"}},{"name":"showArrow","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-popover.md","silent":true,"fix":{"kind":"remove"}},{"name":"showClose","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-popover.md","silent":true,"fix":{"kind":"manual"}},{"name":"theme","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-popover.md","silent":true,"fix":{"kind":"manual"}},{"name":"show","new":null,"surface":"method","hint":"no template-ref API in v3: bind `v-model` and write `true` / `false`; the popover writes `false` back when it is dismissed","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-popover.md","silent":true,"fix":{"kind":"manual"}},{"name":"close","new":null,"surface":"method","hint":"no template-ref API in v3: bind `v-model` and write `true` / `false`; the popover writes `false` back when it is dismissed","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-popover.md","silent":true,"fix":{"kind":"manual"}},{"name":"isOpen","new":null,"surface":"method","hint":"read the `v-model` value instead","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-popover.md","silent":true,"fix":{"kind":"manual"}}]},
449
449
  {"name":"BbPopoverPortal","group":"Overlay","description":"Registers named slot content that `v-bb-popover=\"'name'\"` (or `{ portal: 'name' }`) renders in the popover; slot `{ data, close }`.","referenceOnly":false,"hasGuide":false,"contract":"ai/BbPopoverPortal.md","source":"ai/source/BbPopoverPortal.md","props":[{"name":"name","type":"string","required":true,"description":"The name a `v-bb-popover` passes as its value (`\"'name'\"`) or as `portal: 'name'`."}],"events":[],"slots":[{"name":"default","type":"BbPopoverPortalSlotProps<any>","fields":["data: P","close: () => void"],"description":"The popover body. `data` is the directive's `data`; `close` closes the popover."}],"exposed":[],"models":[]},
@@ -451,14 +451,14 @@
451
451
  {"name":"BbRadio","group":"Selection","description":"Represents a single choice in exclusive options.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbRadio.md","source":"ai/source/BbRadio.md","props":[{"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":"checked","type":"boolean | undefined","required":false,"default":"undefined","description":"Defines the input as checked."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Compact density. Swaps `--bb-label-spacing-y` for `--bb-label-spacing-y-compact`, so tune a compact field's label gap with the `-compact` token, not the base one. The same meaning as on the checkbox, radio and switch groups."},{"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":"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."},{"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":"inputPosition","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\" | undefined","required":false,"default":"'start'","description":"Alignment of the input in its column. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction."},{"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":"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,"default":"'auto'","description":"How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`)."},{"name":"modelValue","type":"any","required":false,"description":"Used by v-model. Can be any serializable type."},{"name":"name","type":"string | undefined","required":false,"description":"Name of the input. Optional: a generated one is unique to this radio, so radios that form ONE exclusive group must share an explicit `name`. Pass one too for a native (non-JS) form post under a known key."},{"name":"persistentHint","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the hint displayed."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"icon\"]; readonly states: readonly [\"checked\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"focused\", \"focusVisible\"]; readonly wide: readonly [\"checked\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"focused\", \"focusVisible\"]; }> & PtMap<TogglePtPart, TogglePtState>) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:description","type":"PtValue | undefined","required":false},{"name":"pt:description:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:description:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:description:readonly","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:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:hint:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:hint:readonly","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:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:icon:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:icon:readonly","type":"PtValue | undefined","required":false},{"name":"pt:icon:warnings","type":"PtValue | undefined","required":false},{"name":"pt:label","type":"PtValue | undefined","required":false},{"name":"pt:label:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:label:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:label:readonly","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:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:message:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:message:readonly","type":"PtValue | undefined","required":false},{"name":"pt:message:warnings","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:root:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:root:readonly","type":"PtValue | undefined","required":false},{"name":"pt:root: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":"false","description":"Reverses the layout: in every direction the order of the label and the input is swapped from the standard arrangement."},{"name":"value","type":"any","required":true,"description":"Defines the value of the radio input. It can be any serializable value."},{"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 radio selection changes. 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":"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 radio input. 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":"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":"update:modelValue","signature":"(value: any): void","description":"Emitted when the radio becomes selected, carrying the radio's `value` prop."}],"slots":[{"name":"description","type":"BbRadioDescriptionSlotProps","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":"icon","type":"BbRadioIconSlotProps","fields":["checked: boolean","disabled: boolean","focused: boolean","focusVisible: boolean","hasErrors: boolean","hasWarnings: boolean","id: string","name: string","parsedValue: string","readonly: boolean","value: any","text: string"],"description":"Replaces the default radio dot visual inside the radio container. Receives the radio state plus the label text."},{"name":"label","type":"BbRadioLabelSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default label text rendered next to the radio button."}],"exposed":[],"models":[{"name":"modelValue","type":"any"}],"pt":{"parts":[{"name":"root","description":"The toggle's container: the glyph, the label and the lines under them."},{"name":"label","description":"The label text beside the glyph (the `label` prop)."},{"name":"description","description":"The muted line under the label (the `description` prop)."},{"name":"message","description":"The errors / warnings line. 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":"icon","description":"The drawn glyph — the box, the dot or the switch track. The default one: a consumer `icon` slot replaces it. The hidden native input is not a part."}],"states":[{"name":"checked","description":"Component-wide: the toggle is on."},{"name":"readonly","description":"Component-wide: the toggle is `readonly` — focusable, cannot change."},{"name":"disabled","description":"Component-wide: the toggle is `disabled`."},{"name":"warnings","description":"Component-wide: the toggle shows warnings and no errors."},{"name":"errors","description":"Component-wide: the toggle shows errors — the glyph and the message line turn red."},{"name":"focused","description":"Component-wide: the native input has focus — any focus, mouse included, like the `focused` slot prop."},{"name":"focusVisible","description":"Component-wide: that focus is keyboard-visible — where a focus ring belongs."}]},"tree":{"bindings":[{"part":"icon","target":"BbBaseRadioIcon"}],"nodes":[{"name":"CommonField","kind":"internal","vocabulary":"BbRadio","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},{"name":"BbBaseRadioIcon","kind":"public"}]},"css":{"classes":{"bb-radio":[""]},"locals":["--color-gray-200","--ly-x","--py","--tap-b","--tap-i"],"surface":{"stable":[{"class":"bb-radio","tag":"CommonField","part":"root","reads":["--py"]}],"internal":[],"via":[{"part":"icon","component":"BbBaseRadioIcon"}],"lands":[{"part":"description","target":"span.bb-field__description"},{"part":"message","target":"div.bb-field__message"},{"part":"hint","target":"span.bb-field__hint"}],"unaligned":{"parts":["label"],"states":["checked","readonly","disabled","warnings","errors","focused","focusVisible"]}}},"attrTargets":["div"],"config":"compact*, layout*, reverse*, inputPosition*","removed":[{"name":"color","new":null,"since":"3.0.0-beta.15","migration":"ai/guides/migration/components/bb-checkbox.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/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}}],"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"}}]},
452
452
  {"name":"BbRadioGroup","group":"Selection","description":"Coordinates exclusive selection among radio options.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbRadioGroup.md","source":"ai/source/BbRadioGroup.md","props":[{"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":"block","type":"boolean | undefined","required":false,"default":"undefined","description":"The rows take the list's full width: on a line (`horizontal`, a `variant` strip) they share it equally, stacked (`vertical`) each row is full width. Every look: plain rows, `pill`, `line`, `outline`."},{"name":"clearable","type":"boolean | undefined","required":false,"default":"false","description":"Clicking the checked option (or Space on it) clears the value to `null`. Off: a radio group can't be emptied."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Compact density. Swaps `--bb-label-spacing-y` for `--bb-label-spacing-y-compact`, so tune a compact group's label gap with the `-compact` token, not the base one."},{"name":"dependencies","type":"unknown[] | undefined","required":false,"description":"Defines an array of dependencies that will trigger actions in the component upon change."},{"name":"depsDebounceTime","type":"number | undefined","required":false,"description":"Timeout used to debounce response to changes to dependencies."},{"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":"emptyText","type":"string | undefined","required":false,"description":"String displayed when there are no items to display."},{"name":"enforceCoherence","type":"boolean | undefined","required":false,"default":"false","description":"After every applied, successful load (an empty one included), drops the model values the options no longer contain (a single value resets to `null`). A failed load never prunes."},{"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":"failedText","type":"string | undefined","required":false,"default":"the localized `common.failedText` (\"Couldn't load items\")","description":"String displayed in the empty state while the latest load FAILED (the `items` provider threw): the twin of `emptyText` for that case."},{"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 each option's label text (the text rendered next to every input) while keeping it accessible to screen readers. Does not affect the fieldset legend — use `hideLegend` for that."},{"name":"hideLegend","type":"boolean | undefined","required":false,"default":"false","description":"Visually hides the legend of the fieldset while maintaining accessibility."},{"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":"Prefix for the ids of each option's input and of the label, description and message. 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":"inputPosition","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\" | undefined","required":false,"default":"'start'","description":"Alignment of the input in its column. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction."},{"name":"itemInputAlign","type":"FieldCrossAlign | undefined","required":false,"values":["center","top","bottom"],"description":"Vertical position of each option's control in its row; `'center'` is the middle of the label plus its description. Omitted, it sits on the label's first line."},{"name":"itemLabelAlign","type":"FieldCrossAlign | undefined","required":false,"values":["center","top","bottom"],"description":"Vertical position of each option's label in its row. Omitted, it stays as it is."},{"name":"itemLayout","type":"FieldLayout | undefined","required":false,"default":"'auto'","description":"How each row's input and label sit together, in the `layout` keywords: `'auto'`, `'vertical'`, `'horizontal'`, `'label-fill'`, `'input-fill'`, or a two-word ratio pattern like `'xx xxxxx'`."},{"name":"itemProps","type":"BbOptionGroupItemProps<T> | undefined","required":false,"description":"ADDITIONAL row fields, never the text or value: `description`, a muted line under the label (it may wrap; announced as the option's description). An object of paths or getters, or a function of the item; nothing is read implicitly."},{"name":"itemReverse","type":"boolean | undefined","required":false,"default":"undefined","description":"Swaps each row's input and label from their natural order (input first), in every `item-layout`. `reverse` swaps the legend and the options instead."},{"name":"items","type":"T[] | ((context: BbRadioGroupItemsContext) => T[] | Promise<T[]>)","required":true,"description":"The options: an array, or a provider called with a `BbRadioGroupItemsContext` (`reason`, `modelValue`, `signal`), sync or async. A provider fails by THROWING, never by returning `[]`: the rows clear and the failure row shows `failed-text` with \"Try again\"."},{"name":"itemText","type":"ItemAccessor<T, string> | undefined","required":false,"default":"own `label`, else `text`, else `JSON.stringify(item)`","description":"Defines a path that returns a property of the object to use as text or a function that returns a string.\n\nUnset: own `label`, else `text` (`{ label, value }` needs no accessor)."},{"name":"itemValue","type":"ItemAccessor<T> | undefined","required":false,"default":"own `value`, else the whole item","description":"Defines a path that returns a property of the object to use as value or a function that returns any value.\n\nUnset: own `value`, even `null`."},{"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":"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":"legend","type":"string","required":true,"description":"Text content of the legend."},{"name":"legendMode","type":"\"outside\" | \"inside\" | undefined","required":false,"description":"Legend rendering mode. `'outside'` renders the legend above the fieldset in the normal flow; `'inside'` overlays the legend inside the fieldset border. Floating mode is not supported for radio groups."},{"name":"legendPosition","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":"listLayout","type":"ListLayout | undefined","required":false,"default":"'horizontal'","values":["horizontal","vertical","tiles"],"description":"How the rows sit in the list: `'horizontal'` (on a line, wrapping), `'vertical'` (stacked) or `'tiles'` (equal boxes; `--tile-min-width` on `pt:list` sets the narrowest). `block` makes the rows full width. Layout only: the cards are `pt` (guide § Radio cards)."},{"name":"loadingText","type":"string | undefined","required":false,"description":"String displayed while items are being loaded."},{"name":"modelValue","type":"any","required":false,"description":"Used by v-model. Can be any serializable type."},{"name":"modelValueDebounceTime","type":"number | undefined","required":false,"description":"Timeout used to debounce response to changes to modelValue."},{"name":"name","type":"string | undefined","required":false,"description":"Name of the option inputs. Optional: a generated one, unique per group and stable, groups them. Pass one only when a native (non-JS) form post must submit the value under a known key."},{"name":"persistentHint","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the hint displayed."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"legend\", \"description\", \"message\", \"hint\", \"list\", \"item\", \"icon\", \"label\", \"itemDescription\", \"indicator\"]; readonly states: readonly [\"hasValue\", \"checked\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"focused\", \"focusVisible\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"loading\"]; readonly node: { readonly item: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly icon: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly label: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly itemDescription: readonly [\"checked\", \"focused\", \"focusVisible\"]; }; readonly variant: { readonly names: readonly [\"pill\", \"line\", \"outline\"]; readonly option: \"radioVariants\"; }; }> & { legend?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; description?: PtValue | undefined; message?: PtValue | undefined; hint?: PtValue | undefined; \"label:disabled\"?: PtValue | undefined; \"label:errors\"?: PtValue | undefined; \"label:warnings\"?: PtValue | undefined; \"label:readonly\"?: PtValue | undefined; \"label:checked\"?: PtValue | undefined; \"label:focused\"?: PtValue | undefined; \"label:focusVisible\"?: PtValue | undefined; \"icon:errors\"?: PtValue | undefined; \"icon:warnings\"?: PtValue | undefined; \"icon:readonly\"?: PtValue | undefined; \"icon:checked\"?: PtValue | undefined; \"icon:focused\"?: PtValue | undefined; \"icon:focusVisible\"?: PtValue | undefined; \"description:disabled\"?: PtValue | undefined; \"description:errors\"?: PtValue | undefined; \"description:warnings\"?: PtValue | undefined; \"description:readonly\"?: PtValue | undefined; \"message:disabled\"?: PtValue | undefined; \"message:errors\"?: PtValue | undefined; \"message:warnings\"?: PtValue | undefined; \"message:readonly\"?: PtValue | undefined; \"hint:disabled\"?: PtValue | undefined; \"hint:errors\"?: PtValue | undefined; \"hint:warnings\"?: PtValue | undefined; \"hint:readonly\"?: PtValue | undefined; indicator?: PtValue | undefined; \"label:loading\"?: PtValue | undefined; \"label:hasValue\"?: PtValue | undefined; \"legend:disabled\"?: PtValue | undefined; \"legend:loading\"?: PtValue | undefined; \"legend:errors\"?: PtValue | undefined; \"legend:warnings\"?: PtValue | undefined; \"legend:readonly\"?: PtValue | undefined; \"legend:hasValue\"?: PtValue | undefined; \"list:disabled\"?: PtValue | undefined; \"list:loading\"?: PtValue | undefined; \"list:errors\"?: PtValue | undefined; \"list:warnings\"?: PtValue | undefined; \"list:readonly\"?: PtValue | undefined; \"list:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"icon:hasValue\"?: PtValue | undefined; \"item:loading\"?: PtValue | undefined; \"item:errors\"?: PtValue | undefined; \"item:warnings\"?: PtValue | undefined; \"item:readonly\"?: PtValue | undefined; \"item:hasValue\"?: PtValue | undefined; \"description:loading\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:loading\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:loading\"?: PtValue | undefined; \"hint:hasValue\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; \"itemDescription:loading\"?: PtValue | undefined; \"itemDescription:errors\"?: PtValue | undefined; \"itemDescription:warnings\"?: PtValue | undefined; \"itemDescription:readonly\"?: PtValue | undefined; \"itemDescription:hasValue\"?: PtValue | undefined; \"indicator:disabled\"?: PtValue | undefined; \"indicator:loading\"?: PtValue | undefined; \"indicator:errors\"?: PtValue | undefined; \"indicator:warnings\"?: PtValue | undefined; \"indicator:readonly\"?: PtValue | undefined; \"indicator:hasValue\"?: PtValue | undefined; \"item:checked\"?: PtValue | undefined; \"item:focused\"?: PtValue | undefined; \"item:focusVisible\"?: PtValue | undefined; \"itemDescription:checked\"?: PtValue | undefined; \"itemDescription:focused\"?: PtValue | undefined; \"itemDescription:focusVisible\"?: PtValue | undefined; } & { label?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; icon?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; item?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; itemDescription?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; } & { \"root:outline\"?: PtValue | undefined; \"icon:outline\"?: PtValue | undefined; \"label:line\"?: PtValue | undefined; \"label:outline\"?: PtValue | undefined; \"label:pill\"?: PtValue | undefined; \"legend:line\"?: PtValue | undefined; \"legend:outline\"?: PtValue | undefined; \"legend:pill\"?: PtValue | undefined; \"list:line\"?: PtValue | undefined; \"list:outline\"?: PtValue | undefined; \"list:pill\"?: PtValue | undefined; \"root:line\"?: PtValue | undefined; \"root:pill\"?: PtValue | undefined; \"icon:line\"?: PtValue | undefined; \"icon:pill\"?: PtValue | undefined; \"item:line\"?: PtValue | undefined; \"item:outline\"?: PtValue | undefined; \"item:pill\"?: PtValue | undefined; \"description:line\"?: PtValue | undefined; \"description:outline\"?: PtValue | undefined; \"description:pill\"?: PtValue | undefined; \"message:line\"?: PtValue | undefined; \"message:outline\"?: PtValue | undefined; \"message:pill\"?: PtValue | undefined; \"hint:line\"?: PtValue | undefined; \"hint:outline\"?: PtValue | undefined; \"hint:pill\"?: PtValue | undefined; \"itemDescription:line\"?: PtValue | undefined; \"itemDescription:outline\"?: PtValue | undefined; \"itemDescription:pill\"?: PtValue | undefined; \"indicator:line\"?: PtValue | undefined; \"indicator:outline\"?: PtValue | undefined; \"indicator:pill\"?: 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: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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:description:line","type":"PtValue | undefined","required":false},{"name":"pt:description:loading","type":"PtValue | undefined","required":false},{"name":"pt:description:outline","type":"PtValue | undefined","required":false},{"name":"pt:description:pill","type":"PtValue | undefined","required":false},{"name":"pt:description:readonly","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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:hint:line","type":"PtValue | undefined","required":false},{"name":"pt:hint:loading","type":"PtValue | undefined","required":false},{"name":"pt:hint:outline","type":"PtValue | undefined","required":false},{"name":"pt:hint:pill","type":"PtValue | undefined","required":false},{"name":"pt:hint:readonly","type":"PtValue | undefined","required":false},{"name":"pt:hint:warnings","type":"PtValue | undefined","required":false},{"name":"pt:icon","type":"PtValue | ((ctx: PtItemCtx<T, GroupPtState, \"line\" | \"outline\" | \"pill\">) => PtItemResult) | undefined","required":false},{"name":"pt:icon:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:icon:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:icon:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:icon:line","type":"PtValue | undefined","required":false},{"name":"pt:icon:loading","type":"PtValue | undefined","required":false},{"name":"pt:icon:outline","type":"PtValue | undefined","required":false},{"name":"pt:icon:pill","type":"PtValue | undefined","required":false},{"name":"pt:icon:readonly","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:line","type":"PtValue | undefined","required":false},{"name":"pt:indicator:loading","type":"PtValue | undefined","required":false},{"name":"pt:indicator:outline","type":"PtValue | undefined","required":false},{"name":"pt:indicator:pill","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:item","type":"PtValue | ((ctx: PtItemCtx<T, GroupPtState, \"line\" | \"outline\" | \"pill\">) => PtItemResult) | undefined","required":false},{"name":"pt:item:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:item:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:item:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:item:line","type":"PtValue | undefined","required":false},{"name":"pt:item:loading","type":"PtValue | undefined","required":false},{"name":"pt:item:outline","type":"PtValue | undefined","required":false},{"name":"pt:item:pill","type":"PtValue | undefined","required":false},{"name":"pt:item:readonly","type":"PtValue | undefined","required":false},{"name":"pt:item:warnings","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription","type":"PtValue | ((ctx: PtItemCtx<T, GroupPtState, \"line\" | \"outline\" | \"pill\">) => PtItemResult) | undefined","required":false},{"name":"pt:itemDescription:checked","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:errors","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:focused","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:line","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:outline","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:pill","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:readonly","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:warnings","type":"PtValue | undefined","required":false},{"name":"pt:label","type":"PtValue | ((ctx: PtItemCtx<T, GroupPtState, \"line\" | \"outline\" | \"pill\">) => PtItemResult) | undefined","required":false},{"name":"pt:label:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:label:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:label:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:label:line","type":"PtValue | undefined","required":false},{"name":"pt:label:loading","type":"PtValue | undefined","required":false},{"name":"pt:label:outline","type":"PtValue | undefined","required":false},{"name":"pt:label:pill","type":"PtValue | undefined","required":false},{"name":"pt:label:readonly","type":"PtValue | undefined","required":false},{"name":"pt:label:warnings","type":"PtValue | undefined","required":false},{"name":"pt:legend","type":"PtValue | undefined","required":false},{"name":"pt:legend:disabled","type":"PtValue | undefined","required":false},{"name":"pt:legend:errors","type":"PtValue | undefined","required":false},{"name":"pt:legend:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:legend:line","type":"PtValue | undefined","required":false},{"name":"pt:legend:loading","type":"PtValue | undefined","required":false},{"name":"pt:legend:outline","type":"PtValue | undefined","required":false},{"name":"pt:legend:pill","type":"PtValue | undefined","required":false},{"name":"pt:legend:readonly","type":"PtValue | undefined","required":false},{"name":"pt:legend:warnings","type":"PtValue | undefined","required":false},{"name":"pt:list","type":"PtValue | undefined","required":false},{"name":"pt:list:disabled","type":"PtValue | undefined","required":false},{"name":"pt:list:errors","type":"PtValue | undefined","required":false},{"name":"pt:list:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:list:line","type":"PtValue | undefined","required":false},{"name":"pt:list:loading","type":"PtValue | undefined","required":false},{"name":"pt:list:outline","type":"PtValue | undefined","required":false},{"name":"pt:list:pill","type":"PtValue | undefined","required":false},{"name":"pt:list:readonly","type":"PtValue | undefined","required":false},{"name":"pt:list: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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:message:line","type":"PtValue | undefined","required":false},{"name":"pt:message:loading","type":"PtValue | undefined","required":false},{"name":"pt:message:outline","type":"PtValue | undefined","required":false},{"name":"pt:message:pill","type":"PtValue | undefined","required":false},{"name":"pt:message:readonly","type":"PtValue | undefined","required":false},{"name":"pt:message: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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:root:line","type":"PtValue | undefined","required":false},{"name":"pt:root:loading","type":"PtValue | undefined","required":false},{"name":"pt:root:outline","type":"PtValue | undefined","required":false},{"name":"pt:root:pill","type":"PtValue | undefined","required":false},{"name":"pt:root:readonly","type":"PtValue | undefined","required":false},{"name":"pt:root: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<any>","required":false,"description":"vee-validate rules for this field. Only inside a `BbForm`."},{"name":"selectable","type":"boolean | ((item: T) => boolean) | undefined","required":false,"default":"true","description":"Defines whether options are selectable. Can be a global boolean that affects all options or a function that accepts an item and returns a boolean that only affects that item. Non-selectable options are rendered disabled."},{"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":"keyof RadioVariantRegistry | undefined","required":false,"values":["outline","pill","line"],"description":"A tab-strip look: `'pill'` (a raised pill under the pick) or `'line'` (a bar on a baseline); the indicator slides like a tab strip's. `list-layout=\"vertical\"` stacks it. Register more with `components.BbRadioGroup.variants`. Unset: the group's own rows."},{"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 group becomes active (focus/click enters it)."},{"name":"blur","signature":"(event: FocusEvent): void","description":"Emitted when one of the generated radio inputs loses focus. Forwards the original DOM `FocusEvent`."},{"name":"change","signature":"(event: Event): void","description":"Emitted when a radio option is selected. Forwards the original DOM `Event` from the radio input."},{"name":"click","signature":"(event: MouseEvent): void","description":"Emitted when one of the generated radio inputs is clicked. Forwards the original DOM `MouseEvent`."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when one of the generated radio inputs receives focus. Forwards the original DOM `FocusEvent`."},{"name":"inactive","signature":"(): void","description":"Emitted when focus/click moves outside the group after it was active. Useful for validation-on-blur flows at group level."},{"name":"input","signature":"(event: Event): void","description":"Emitted on native input events from generated radio inputs. Forwards the original DOM `Event`."},{"name":"keydown","signature":"(event: KeyboardEvent): void","description":"Emitted for keyboard interaction on generated radio inputs. Forwards the original DOM `KeyboardEvent`."},{"name":"mousedown","signature":"(event: MouseEvent): void","description":"Emitted when a pointing device button is pressed over a radio input. Forwards the original DOM `MouseEvent`."},{"name":"mouseup","signature":"(event: MouseEvent): void","description":"Emitted when a pointing device button is released over a radio input. Forwards the original DOM `MouseEvent`."},{"name":"update:modelValue","signature":"(value: any): void","description":"Emitted with the newly selected value when the selection changes; `null` when a `clearable` group is cleared."}],"slots":[{"name":"append","type":"object","description":"Content rendered after the last option, inside the options container."},{"name":"description","type":"BbRadioGroupDescriptionSlotProps","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":"empty","type":"object","description":"Content shown when no options are available (replaces the default \"no data\" text). Empty only: a failed load shows the library's failure row instead (its message is `failed-text`, and it ends with \"Try again\")."},{"name":"icon","type":"BbRadioGroupIconSlotProps<T>","fields":["disabled: boolean","readonly: boolean","checked: boolean","focused: boolean","focusVisible: boolean","id: string","name: string","hasErrors: boolean","hasWarnings: boolean","parsedValue: string","value: any","item: T","text: string"],"description":"Replaces the default radio dot icon for each option. Receives the radio state plus the source item and its display text."},{"name":"label","type":"BbRadioGroupLabelSlotProps<T>","fields":["item: T","text: string","checked: boolean","description: string"],"description":"Replaces the default label text for each option."},{"name":"legend","type":"BbRadioGroupLegendSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default fieldset legend text for the group."},{"name":"loading","type":"object","description":"Content shown while options are loading (replaces the default loading text)."},{"name":"prepend","type":"object","description":"Content rendered before the first option, inside the options container."}],"exposed":[],"models":[{"name":"modelValue","type":"any"}],"cssProps":[{"name":"--gap","value":"24px","selector":".bb-radio-group__list","description":"Space between rows on one line."},{"name":"--row-gap","value":"10px","selector":".bb-radio-group__list","description":"Space between wrapped lines."},{"name":"--tile-min-width","value":"96px","selector":".bb-radio-group__list","description":"How narrow a tile may get before the tiles wrap (`tiles` only)."},{"name":"--list-bg","value":"color-mix(in oklab, var(--bb-text) 8%, transparent)","selector":".bb-radio-group__list--strip","description":"The strip behind the triggers"},{"name":"--list-border","value":"transparent","selector":".bb-radio-group__list--strip","description":"The strip's edge line, --bb-border-w thick, painted inside the strip: under the triggers (beside them when vertical). `pill` draws none; `line` sets it to --bb-border"},{"name":"--p","value":"3px","selector":".bb-radio-group__list--strip","description":"strip inner padding — the gutter the indicator sits in, and the scroll inset"},{"name":"--list-r","value":"var(--bb-radius)","selector":".bb-radio-group__list--strip","description":"strip corners"},{"name":"--list-h","value":"var(--bb-control-h)","selector":".bb-radio-group__list--strip","description":"strip min height"},{"name":"--fs","value":"var(--bb-fs)","selector":".bb-radio-group__list--strip","description":"trigger label size"},{"name":"--trigger-gap","value":"0px","selector":".bb-radio-group__list--strip","description":"space between triggers"},{"name":"--trigger-px","value":"10px","selector":".bb-radio-group__list--strip","description":"trigger side padding"},{"name":"--trigger-r","value":"calc(var(--list-r) - var(--p))","selector":".bb-radio-group__list--strip","description":"Trigger corners, concentric inside --list-r"},{"name":"--trigger-min-h","value":"calc(var(--list-h) - var(--p) * 2)","selector":".bb-radio-group__list--strip","description":"Trigger height inside the padded strip"},{"name":"--list-fg","value":"var(--bb-text-muted)","selector":".bb-radio-group__list--strip","description":"unchecked trigger label"},{"name":"--hover-fg","value":"var(--bb-text)","selector":".bb-radio-group__list--strip","description":"hovered trigger label"},{"name":"--active-fg","value":"var(--bb-text)","selector":".bb-radio-group__list--strip","description":"checked trigger label"},{"name":"--active-fw","value":"500","selector":".bb-radio-group__list--strip","description":"checked trigger label weight (unchecked labels are 500)"},{"name":"--indicator-bg","value":"var(--bb-panel)","selector":".bb-radio-group__list--strip","description":"the indicator's fill"},{"name":"--indicator-border","value":"color-mix(in oklab, var(--bb-text) 8%, transparent)","selector":".bb-radio-group__list--strip","description":"The indicator's edge"},{"name":"--indicator-r","value":"var(--trigger-r)","selector":".bb-radio-group__list--strip","description":"The indicator's corners — the pill's, concentric inside --list-r"},{"name":"--indicator-h","value":"initial","selector":".bb-radio-group__list--strip","description":"The indicator's thickness: its height, its width on a vertical strip. `initial` fills the whole trigger box — the pill; a bar is `2px`, on the trigger's bottom edge (inline-end edge when vertical)"},{"name":"--indicator-inset","value":"0px","selector":".bb-radio-group__list--strip","description":"Inset of the indicator from the trigger box — shrinks the pill; a bar keeps its thickness, shortens by it at both ends and floats it above the edge"},{"name":"--elev","value":"var(--bb-elev)","selector":".bb-radio-group__list--strip","description":"The theme's resting lift, composed UNDER the indicator's own shadow"},{"name":"--indicator-shadow","value":"var(--bb-shadow-sm)","selector":".bb-radio-group__list--strip","description":"Indicator lift, painted on top of --elev"},{"name":"--list-bg","value":"transparent","selector":".bb-radio-group__list--line"},{"name":"--list-border","value":"var(--bb-border)","selector":".bb-radio-group__list--line"},{"name":"--p","value":"0px","selector":".bb-radio-group__list--line"},{"name":"--list-r","value":"0px","selector":".bb-radio-group__list--line"},{"name":"--trigger-r","value":"var(--bb-radius-sm)","selector":".bb-radio-group__list--line"},{"name":"--active-fw","value":"600","selector":".bb-radio-group__list--line"},{"name":"--indicator-bg","value":"var(--bb-primary)","selector":".bb-radio-group__list--line"},{"name":"--indicator-border","value":"transparent","selector":".bb-radio-group__list--line"},{"name":"--indicator-r","value":"0","selector":".bb-radio-group__list--line"},{"name":"--indicator-h","value":"2px","selector":".bb-radio-group__list--line"},{"name":"--indicator-shadow","value":"none","selector":".bb-radio-group__list--line"},{"name":"--elev","value":"none","selector":".bb-radio-group__list--line"},{"name":"--list-bg","value":"transparent","selector":".bb-radio-group__list--outline"},{"name":"--list-border","value":"transparent","selector":".bb-radio-group__list--outline"},{"name":"--list-h","value":"auto","selector":".bb-radio-group__list--outline"},{"name":"--p","value":"0px","selector":".bb-radio-group__list--outline"},{"name":"--trigger-gap","value":"8px","selector":".bb-radio-group__list--outline"},{"name":"--trigger-min-h","value":"calc(var(--bb-control-h) - 4px)","selector":".bb-radio-group__list--outline","description":"BbButton md"},{"name":"--trigger-px","value":"12px","selector":".bb-radio-group__list--outline"},{"name":"--fs","value":"var(--bb-fs)","selector":".bb-radio-group__list--outline"},{"name":"--trigger-r","value":"var(--bb-radius)","selector":".bb-radio-group__list--outline"},{"name":"--elev","value":"var(--bb-elev)","selector":".bb-radio-group__list--outline"}],"pt":{"parts":[{"name":"root","description":"The group's container (the fieldset)."},{"name":"legend","description":"The group's heading — the fieldset `<legend>` (the `legend` prop)."},{"name":"description","description":"The muted line under the legend (the `description` prop)."},{"name":"message","description":"The errors / warnings line. 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":"list","description":"The node that lays the rows out (flex + wrap, gaps on `--gap` / `--row-gap`): `pt:list=\"grid grid-cols-3\"` re-lays them, `pt:list=\"[--gap:8px]\"` tightens them. With a `variant`, the tab strip. Takes the group-wide states only."},{"name":"indicator","description":"With a `variant`: the shape under the checked option, BbTabs' indicator — the sliding pill or bar of a radio group, a checkbox group's pill per run of adjacent picks (or bar per pick). Takes the group-wide states only."},{"name":"item","description":"One option row — a broadcast, resolved per option with its own `checked` / `disabled` / focus. Takes a per-item function."},{"name":"icon","description":"One row's drawn glyph — the default one: a consumer `icon` slot replaces it. Takes a per-item function."},{"name":"label","description":"One option's label text (the `label` slot's default). Takes a per-item function."},{"name":"itemDescription","description":"One option's muted second line, its description. Takes a per-item function."}],"states":[{"name":"hasValue","description":"Component-wide: at least one option is chosen."},{"name":"checked","description":"Per row, on `item`, `icon`, `label` and `itemDescription`: that option is chosen. Never on a field part."},{"name":"readonly","description":"Component-wide: the group is `readonly`."},{"name":"disabled","description":"Component-wide while the group is `disabled`; also per row, on the row parts of an option that is disabled on its own."},{"name":"warnings","description":"Component-wide: the group shows warnings and no errors."},{"name":"errors","description":"Component-wide: the group shows errors."},{"name":"focused","description":"Per row, on the row parts: that option's input has focus — any focus, mouse included."},{"name":"focusVisible","description":"Per row, on the row parts: that option's focus is keyboard-visible — where a focus ring belongs."},{"name":"loading","description":"Component-wide: the items are being fetched."},{"name":"line","description":"On every part: `variant: 'line'`. Below the real states, like every variant."},{"name":"outline","description":"On every part: `variant: 'outline'`. Below the real states, like every variant."},{"name":"pill","description":"On every part: `variant: 'pill'`. Merged after the part's base entry and before its states, so the real states still win."}]},"tree":{"bindings":[{"part":"indicator","target":"span.bb-radio-group__indicator"},{"part":"icon","target":"BbBaseRadioIcon"}],"nodes":[{"name":"CommonField","kind":"internal","vocabulary":"BbRadioGroup","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},{"name":"OptionsContainer","kind":"internal","vocabulary":"BbRadioGroup","bindings":[{"part":"list","target":"span"},{"part":"item","target":"label"},{"part":"label","target":"span"},{"part":"itemDescription","target":"span"}],"cssProps":[{"name":"--list-bg","documented":true},{"name":"--list-border","documented":true,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--p","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item","bb-checkbox-group__list--outline"]},{"name":"--list-r","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip"]},{"name":"--list-h","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__list--outline"]},{"name":"--fs","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-gap","documented":true},{"name":"--trigger-px","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-r","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--trigger-min-h","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--list-fg","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--hover-fg","documented":true},{"name":"--active-fg","documented":true,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--active-fw","documented":true,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--indicator-bg","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-border","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-r","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-h","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-inset","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--elev","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected","bb-checkbox-group__item"]},{"name":"--indicator-shadow","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--list-bg","documented":false},{"name":"--list-border","documented":false,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--p","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item","bb-checkbox-group__list--outline"]},{"name":"--list-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip"]},{"name":"--trigger-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--active-fw","documented":false,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--indicator-bg","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-border","documented":false,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-r","documented":false,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-h","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-shadow","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--elev","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected","bb-checkbox-group__item"]},{"name":"--list-bg","documented":false},{"name":"--list-border","documented":false,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--list-h","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__list--outline"]},{"name":"--p","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item","bb-checkbox-group__list--outline"]},{"name":"--trigger-gap","documented":false},{"name":"--trigger-min-h","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-px","documented":false,"readBy":["bb-checkbox-group__item"]},{"name":"--fs","documented":false,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--elev","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected","bb-checkbox-group__item"]}]},{"name":"BbBaseRadioIcon","kind":"public"}]},"css":{"classes":{"bb-radio-group":["","__empty","__empty--failed","__indicator","__item","__item--*","__item--aligned","__item--description","__item--disabled","__item--focus-visible","__item--focused","__item--input-align-*","__item--input-align-bottom","__item--input-align-center","__item--input-align-top","__item--label-align-*","__item--label-align-bottom","__item--label-align-center","__item--label-align-top","__item--reverse","__item--selected","__item--vertical","__item-description","__label","__list","__list--*","__list--block","__list--errors","__list--horizontal","__list--line","__list--no-transition","__list--outline","__list--strip","__list--tiles","__list--vertical","__list--warnings","__loading"]},"locals":["--active-fg","--active-fw","--color-gray-200","--elev","--fs","--gap","--height","--hit","--hover-fg","--indicator-bg","--indicator-border","--indicator-h","--indicator-inset","--indicator-r","--indicator-shadow","--left","--list-bg","--list-border","--list-fg","--list-h","--list-r","--ly-lj","--ly-ls","--ly-x","--p","--ring-t","--row-be","--row-bs","--row-gap","--row-h","--row-ie","--row-is","--size","--tap-row-gap","--tile-min-width","--top","--trigger-gap","--trigger-min-h","--trigger-px","--trigger-r","--width"],"surface":{"stable":[{"class":"bb-radio-group","tag":"CommonField","part":"root"},{"class":"bb-radio-group__list","part":"list","reads":["--gap","--hit","--ly-lj","--ly-ls","--row-gap","--row-h","--tap-row-gap"]},{"class":"bb-radio-group__indicator","tag":"span","part":"indicator"},{"class":"bb-radio-group__item","part":"item","reads":["--gap","--hit","--row-be","--row-bs","--row-ie","--row-is","--tap-row-gap"]},{"class":"bb-radio-group__label","part":"label"},{"class":"bb-radio-group__item-description","part":"itemDescription"},{"class":"bb-radio-group__item--disabled","state":"disabled"},{"class":"bb-radio-group__list--warnings","state":"warnings"},{"class":"bb-radio-group__list--errors","state":"errors"},{"class":"bb-radio-group__item--focused","state":"focused"},{"class":"bb-radio-group__item--focus-visible","state":"focusVisible"},{"class":"bb-radio-group__list--line","state":"line"},{"class":"bb-radio-group__list--outline","state":"outline"}],"internal":[{"class":"bb-radio-group__empty"},{"class":"bb-radio-group__empty--failed"},{"class":"bb-radio-group__item--aligned"},{"class":"bb-radio-group__item--description","reads":["--hit","--row-gap","--row-h"]},{"class":"bb-radio-group__item--input-align-bottom"},{"class":"bb-radio-group__item--input-align-center"},{"class":"bb-radio-group__item--input-align-top"},{"class":"bb-radio-group__item--label-align-bottom"},{"class":"bb-radio-group__item--label-align-center"},{"class":"bb-radio-group__item--label-align-top"},{"class":"bb-radio-group__item--reverse"},{"class":"bb-radio-group__item--selected"},{"class":"bb-radio-group__item--vertical"},{"class":"bb-radio-group__list--block"},{"class":"bb-radio-group__list--horizontal"},{"class":"bb-radio-group__list--no-transition"},{"class":"bb-radio-group__list--strip","reads":["--list-h","--list-r","--p","--trigger-r"]},{"class":"bb-radio-group__list--tiles","reads":["--row-gap","--tile-min-width"]},{"class":"bb-radio-group__list--vertical"},{"class":"bb-radio-group__loading"}],"via":[{"part":"icon","component":"BbBaseRadioIcon"}],"lands":[{"part":"description","target":"span.bb-field__description"},{"part":"message","target":"div.bb-field__message"},{"part":"hint","target":"span.bb-field__hint"}],"unaligned":{"parts":["legend"],"states":["hasValue","checked","readonly","loading","pill"]}}},"attrTargets":["div"],"config":"validationMode*, compact*, layout*, listLayout*, itemLayout*, itemReverse*, reverse*, inputPosition*, block*, variants","removed":[{"name":"color","new":null,"since":"3.0.0-beta.15","migration":"ai/guides/migration/components/bb-checkbox-group.md","silent":true,"fix":{"kind":"manual"}},{"name":"labelPosition","new":"legendPosition","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-checkbox-group.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/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"inputDirection","new":"listLayout","hint":"same values, but v2 `vertical` rows spanned the list: write `list-layout=\"vertical\" block` for that look (`vertical` alone keeps each row's own width)","since":"3.0.0-beta.33","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"noDataText","new":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"no-data","new":"empty","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":"labelPosition","to":"legendPosition","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-checkbox-group.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/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"inputDirection","to":"listLayout","since":"3.0.0-beta.33","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"},"hint":"same values, but v2 `vertical` rows spanned the list: write `list-layout=\"vertical\" block` for that look (`vertical` alone keeps each row's own width)"},{"from":"noDataText","to":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"no-data","to":"empty","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"}]},
453
453
  {"name":"BbRating","group":"Selection","description":"Collects scalar ratings through interactive icons.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbRating.md","source":"ai/source/BbRating.md","props":[{"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":"Allows clearing the selected rating: click the selected star, or Space on it."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Compact density. Swaps `--bb-label-spacing-y` for `--bb-label-spacing-y-compact`, so tune a compact group's label gap with the `-compact` token, not the base one."},{"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":"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":"hideLegend","type":"boolean | undefined","required":false,"default":"false","description":"Visually hides the legend of the fieldset while maintaining accessibility."},{"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":"Prefix for the ids of each option's input and of the label, description and message. 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":"inputPosition","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\" | undefined","required":false,"default":"'start'","description":"Alignment of the input in its column. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction."},{"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":"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":"legend","type":"string","required":true,"description":"Text content of the legend."},{"name":"legendMode","type":"\"outside\" | \"inside\" | undefined","required":false,"description":"Legend rendering mode. `'outside'` renders the legend above the fieldset in the normal flow; `'inside'` overlays the legend inside the fieldset border. Floating mode is not supported for rating groups."},{"name":"legendPosition","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\" | undefined","required":false,"default":"'start'","description":"Text alignment of the legend. `'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":"modelValue","type":"number | null | undefined","required":false,"description":"Used by v-model."},{"name":"name","type":"string | undefined","required":false,"description":"Name of the star radio inputs. Optional: the stars live in one component instance, so an omitted name falls back to a generated one that groups them correctly. Pass one only when a native (non-JS) form post must submit the value under a known key."},{"name":"persistentHint","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the hint displayed."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"legend\", \"description\", \"message\", \"hint\", \"item\"]; readonly states: readonly [\"hasValue\", \"selected\", \"readonly\", \"disabled\", \"warnings\", \"errors\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\"]; readonly node: { readonly item: readonly [\"selected\"]; }; }> & { legend?: PtValue | undefined; root?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; item?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; description?: PtValue | undefined; message?: PtValue | undefined; hint?: 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; \"legend:disabled\"?: PtValue | undefined; \"legend:errors\"?: PtValue | undefined; \"legend:warnings\"?: PtValue | undefined; \"legend:readonly\"?: PtValue | undefined; \"legend:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"item:errors\"?: PtValue | undefined; \"item:warnings\"?: PtValue | undefined; \"item:readonly\"?: PtValue | undefined; \"item:hasValue\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:hasValue\"?: 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: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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:description:readonly","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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:hint:readonly","type":"PtValue | undefined","required":false},{"name":"pt:hint: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: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:legend","type":"PtValue | undefined","required":false},{"name":"pt:legend:disabled","type":"PtValue | undefined","required":false},{"name":"pt:legend:errors","type":"PtValue | undefined","required":false},{"name":"pt:legend:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:legend:readonly","type":"PtValue | undefined","required":false},{"name":"pt:legend: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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:message:readonly","type":"PtValue | undefined","required":false},{"name":"pt:message: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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:root:readonly","type":"PtValue | undefined","required":false},{"name":"pt:root: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<number | null>","required":false,"description":"vee-validate rules for this field. Only inside a `BbForm`."},{"name":"size","type":"number | CssSize | keyof Sizes | undefined","required":false,"default":"'md'","description":"Defines the component size.\n\nAccepted values:\n- A key from the provided size map (`keyof T`), e.g. `'sm' | 'md' | 'lg'`\n- A custom CSS size string (e.g. `'20px'`, `'1.5rem'`, `'2em'`)\n- A number, typically interpreted as pixels by size parsers"},{"name":"stars","type":"number | undefined","required":false,"default":"5","description":"Maximum number of stars to render and maximum value of the component."},{"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":"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 rating becomes active (focus/click enters it)."},{"name":"blur","signature":"(event: FocusEvent): void","description":"Emitted when a star input loses focus. Forwards the original DOM `FocusEvent`."},{"name":"change","signature":"(event: Event): void","description":"Emitted when the selected rating changes. Forwards the original DOM `Event`."},{"name":"click","signature":"(event: MouseEvent): void","description":"Emitted when a star input receives a click. Forwards the original DOM `MouseEvent`."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when a star input gains focus. Forwards the original DOM `FocusEvent`."},{"name":"inactive","signature":"(): void","description":"Emitted when focus/click moves outside the rating after it was active."},{"name":"input","signature":"(event: Event): void","description":"Emitted on native input events from the star inputs. Forwards the original DOM `Event`."},{"name":"keydown","signature":"(event: KeyboardEvent): void","description":"Emitted for keyboard interaction on a star input. Forwards the original DOM `KeyboardEvent`."},{"name":"mousedown","signature":"(event: MouseEvent): void","description":"Emitted when a pointing device button is pressed over a star input. Forwards the original DOM `MouseEvent`."},{"name":"mouseup","signature":"(event: MouseEvent): void","description":"Emitted when a pointing device button is released over a star input. Forwards the original DOM `MouseEvent`."},{"name":"update:modelValue","signature":"(value: number | null): void","description":"Emitted with the selected rating (1 to `stars`) when clicked. Emits `null` only when `clearable` is enabled and the already-selected star is clicked (or gets Space)."}],"slots":[{"name":"append","type":"object","description":"Content rendered after the row of rating stars."},{"name":"description","type":"BbRatingDescriptionSlotProps","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":"icon","type":"BbRatingIconSlotProps","fields":["checked: boolean","disabled: boolean","id?: string","size: CssSize","value: number"],"description":"Replaces the default star SVG for each rating option."},{"name":"legend","type":"BbRatingLegendSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default fieldset legend text rendered above the rating stars."},{"name":"prepend","type":"object","description":"Content rendered before the row of rating stars."}],"exposed":[],"models":[{"name":"modelValue","type":"number | null | undefined"}],"cssProps":[{"name":"--accent","value":"var(--bb-primary)","selector":".bb-rating","description":"a filled star, and the hover preview"},{"name":"--empty","value":"var(--bb-panel)","selector":".bb-rating","description":"an unfilled star"},{"name":"--border-color","value":"var(--bb-text-faint)","selector":".bb-rating","description":"Every star's outline. `--bb-text-faint`, not `--bb-border`: an empty star is `--empty` (the panel) inside it, so the outline alone draws the star, and a hairline read ~1.5:1 — under 3:1 in both schemes."},{"name":"--space","value":"0px","selector":".bb-rating","description":"Gap between stars. On the root so `pt:root` reaches it; the star row inherits it. Named `--space`, not `--spacing`: Tailwind v4 builds its whole spacing scale on a variable of that name, and a local of the same name zeroed every spacing utility used inside the slots."},{"name":"--ring-color","value":"var(--bb-ring)","selector":".bb-rating__stars","description":"focus ring around the focused star"},{"name":"--size","value":"24px","selector":".bb-rating__stars","description":"one star's box; overridden inline from the `size` prop"},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-rating__item"}],"pt":{"parts":[{"name":"root","description":"The rating's container: the legend, the stars and the lines under them."},{"name":"legend","description":"The rating's name — the fieldset `<legend>` (the `legend` prop)."},{"name":"description","description":"The muted line under the legend (the `description` prop)."},{"name":"message","description":"The errors / warnings line. A node of its own: it can show at the same time as `hint`."},{"name":"hint","description":"The helper line (the `hint` prop)."},{"name":"item","description":"One star, the choice you click: the hidden radio, its screen-reader text and the glyph — a broadcast resolved per star. The hook for the hit area, the focus ring, spacing and the disabled cursor. NOT for colour: a `text-*` class here freezes the hover preview and the error tint; set `--accent` / `--empty` / `--border-color` on `root`. The glyph has no part of its own: its size is the `size` prop, its colour the variables."}],"states":[{"name":"hasValue","description":"Component-wide: a rating is set."},{"name":"selected","description":"Per node, on `item`: a filled star."},{"name":"readonly","description":"Component-wide: the rating is `readonly`."},{"name":"disabled","description":"Component-wide while the rating is `disabled`; also per node, on `item`: a star that cannot be picked."},{"name":"warnings","description":"Component-wide: the rating shows warnings and no errors."},{"name":"errors","description":"Component-wide: the rating shows errors."}]},"tree":{"bindings":[{"part":"item","target":"label.bb-rating__item"}],"nodes":[{"name":"BbIcon","kind":"public"},{"name":"CommonField","kind":"internal","vocabulary":"BbRating","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]}]},"css":{"classes":{"bb-rating":["","__icon","__item","__item--disabled","__item--empty","__item--filled","__item--readonly","__label-text","__options","__stars","__stars--disabled","__stars--errors","__stars--forced-clear","__stars--has-value","__stars--readonly","__stars--warnings"]},"locals":["--accent","--bg","--border-color","--color-gray-200","--empty","--hit","--ly-lj","--ly-x","--ring-color","--ring-t","--size","--space","--star-size","--tap-gap"],"surface":{"stable":[{"class":"bb-rating","tag":"CommonField","part":"root"},{"class":"bb-rating__item","tag":"label","part":"item","reads":["--accent","--empty","--hit","--ring-color","--ring-t"]},{"class":"bb-rating__stars--has-value","tag":"span","state":"hasValue"},{"class":"bb-rating__item--readonly","tag":"label","state":"readonly"},{"class":"bb-rating__stars--readonly","tag":"span","state":"readonly"},{"class":"bb-rating__item--disabled","tag":"label","state":"disabled"},{"class":"bb-rating__stars--disabled","tag":"span","state":"disabled"},{"class":"bb-rating__stars--warnings","tag":"span","state":"warnings"},{"class":"bb-rating__stars--errors","tag":"span","state":"errors"}],"internal":[{"class":"bb-rating__icon","tag":"BbIcon"},{"class":"bb-rating__item--empty","tag":"label"},{"class":"bb-rating__item--filled","tag":"label","reads":["--accent"]},{"class":"bb-rating__label-text","tag":"span"},{"class":"bb-rating__options","tag":"span","reads":["--hit","--ly-lj","--size","--space","--star-size","--tap-gap"]},{"class":"bb-rating__stars","tag":"span"},{"class":"bb-rating__stars--forced-clear","tag":"span"}],"lands":[{"part":"description","target":"span.bb-field__description"},{"part":"message","target":"div.bb-field__message"},{"part":"hint","target":"span.bb-field__hint"}],"unaligned":{"parts":["legend"],"states":["selected"]}}},"attrTargets":["div"],"config":"validationMode*, compact*, layout*, reverse*, inputPosition*, sizeMap","removed":[{"name":"color","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-rating.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-rating.md","silent":true,"fix":{"kind":"rename"}},{"name":"pt:label","new":"pt:legend","surface":"pt","since":"3.0.0-beta.69","migration":"ai/guides/migration/v3-beta-css-classes.md","silent":true,"fix":{"kind":"rename"}},{"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/components/bb-rating.md","fix":{"kind":"rename"}},{"from":"pt:label","to":"pt:legend","surface":"pt","since":"3.0.0-beta.69","migration":"ai/guides/migration/v3-beta-css-classes.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"}]},
454
- {"name":"BbSelect","group":"Selection","description":"Selects one or many options from structured data.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbSelect.md","source":"ai/source/BbSelect.md","props":[{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"When `true`, the options panel opens as a bottom off-canvas sheet on mobile viewports instead of a floating popover; on desktop it stays a popover.\n\nWhen unset, falls back to the global `all.adaptive`."},{"name":"append:icon","type":"string | undefined","required":false,"default":"the chevron-down glyph","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. A single select also clears when the picked option is clicked again."},{"name":"comma","type":"boolean | undefined","required":false,"default":"false","description":"Sets the display model for selected values to a list of comma separated string. In this mode the user cannot deselect an option by pressing the close button."},{"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":"dependencies","type":"unknown[] | undefined","required":false,"description":"Defines an array of dependencies that will trigger actions in the component upon change."},{"name":"depsDebounceTime","type":"number | undefined","required":false,"default":"0","description":"Timeout used to debounce response to changes to dependencies."},{"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":"disableWriting","type":"boolean | \"auto\" | \"mobile\" | \"desktop\" | undefined","required":false,"default":"'auto'","description":"Hides the panel's search field: `true` everywhere, `'mobile'` / `'desktop'` on that platform only. `'auto'` hides it, per open, for an array `items` shorter than the plugin's `autoDisableWritingThreshold` (6); never for a provider or with an `option:add` listener."},{"name":"emptyText","type":"string | undefined","required":false,"description":"String displayed when there are no items to display."},{"name":"enforceCoherence","type":"boolean | undefined","required":false,"default":"false","description":"After each successful non-search load, removes the picks the fetched rows lack (a single model resets to `null`). A `stash` does not count; a `known-items` value stays until a parent change; a search or a failed load never prunes."},{"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":"failedText","type":"string | undefined","required":false,"default":"the localized `common.failedText` (\"Couldn't load items\")","description":"String displayed in the empty state while the latest load FAILED (the provider threw): the twin of `emptyText` for that case."},{"name":"filterBy","type":"false | string[] | undefined","required":false,"default":"[]","description":"What typing filters on: empty = the display text and description; item paths = those fields (`['name', 'email']`); `false` = no filtering. Ranked, case and accents ignored (guide § Search). Use `false` when the provider matched the query on the server, or its email matches show as \"No results\"."},{"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":"groupBy","type":"string | ((item: T) => string | number | symbol) | undefined","required":false,"description":"Path to item property for grouping options."},{"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":"headerHeight","type":"number | undefined","required":false,"description":"Height of group headers in the listbox (px). Defaults to 32px (24px compact; 36px / 32px on mobile viewports). Only applies when `groupBy` is set. An explicit value wins on every viewport."},{"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":"itemHeight","type":"number | undefined","required":false,"default":"28","description":"Height of the options in the listbox (px). Defaults to 28px (24px compact; 44px / 36px on mobile viewports). An explicit value wins on every viewport."},{"name":"itemProps","type":"BbSelectItemProps<T> | undefined","required":false,"description":"ADDITIONAL row fields, never the text or value: `description` (a muted line under the label), `prepend:icon`, `append:icon`. An object of paths or getters per field, or a function of the item. Nothing is read implicitly; none shows in the trigger or the chips."},{"name":"items","type":"T[] | ((context: BbSelectItemsContext) => T[] | Promise<T[]>)","required":true,"description":"The options: an array, or a provider called with a `BbSelectItemsContext` (`query`, `reason`, `modelValue`, `signal`), sync or async. Branch on `reason !== 'search'` to resolve the selection by id. A provider fails by THROWING, never by returning `[]`."},{"name":"itemText","type":"ItemAccessor<T, string> | undefined","required":false,"default":"own `label`, else `text`, else `JSON.stringify(item)`","description":"Defines a path that returns a property of the object to use as text or a function that returns a string.\n\nUnset: own `label`, else `text` (`{ label, value }` needs no accessor)."},{"name":"itemValue","type":"ItemAccessor<T> | undefined","required":false,"default":"own `value`, else the whole item","description":"Defines a path that returns a property of the object to use as value or a function that returns any value.\n\nUnset: own `value`, even `null`."},{"name":"knownItems","type":"([Known] extends [undefined] ? BbSelectKnownItems : Known) | undefined","required":false,"description":"`{ value, label }` rows naming the value the app already holds, whatever the options' shape: no request until the first open (`prefill: true` still loads). Not options; the options' accessors never run on them; slots get the row as `item`, with `known: true`, until the list brings its own."},{"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":"loadingText","type":"string | undefined","required":false,"description":"String displayed while items are being loaded."},{"name":"max","type":"number | undefined","required":false,"description":"Maximum number of selectable items when the multiple flag is set."},{"name":"maxSelectedLabels","type":"number | undefined","required":false,"default":"Infinity","description":"Maximum number of labels shown before collapsing to a count summary. Unset, the labels collapse only when they overflow the field."},{"name":"minQueryLength","type":"number | undefined","required":false,"default":"0","description":"Characters to type (trimmed) before the query searches. Below it the query counts as empty: no `'search'` call, no filtering, and the panel says how many characters to type. Slots still get the typed `query`."},{"name":"modelValue","type":"any","required":false,"description":"Used by v-model. Can be any serializable type."},{"name":"modelValueDebounceTime","type":"number | undefined","required":false,"default":"0","description":"Timeout used to debounce response to changes to modelValue."},{"name":"multiple","type":"boolean | undefined","required":false,"default":"false","description":"Allows the selection of multiple items."},{"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)."},{"name":"open","type":"boolean | undefined","required":false,"default":"false","description":"Whether the panel is open (`v-model:open`; `v-model` stays the value). Bound, the app opens and closes it; unbound, the initial state."},{"name":"persistentHint","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the hint displayed."},{"name":"placeholder","type":"string | undefined","required":false,"description":"Text shown in the field while nothing is picked (an empty list has `emptyText`)."},{"name":"prefill","type":"boolean | \"interaction\" | undefined","required":false,"default":"'interaction'","description":"When the options first load: `'interaction'` on first open, `true` on mount, `false` only once the user types (on open with `disable-writing`). An array `items` or a seeded model always loads at once."},{"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\", \"activator\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"panel\", \"sheet\", \"header\", \"footer\", \"list\", \"option\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"badge\", \"comma\"]; readonly states: readonly [\"hasValue\", \"selected\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly node: { readonly option: readonly [\"selected\"]; readonly itemText: readonly [\"selected\"]; readonly itemIcon: readonly [\"selected\"]; readonly itemDescription: readonly [\"selected\"]; readonly check: readonly [\"selected\"]; }; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"selectVariants\"; readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"activator\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\"]; }; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; label?: PtValue | undefined; prefix?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined; panel?: PtValue | undefined; \"header: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; \"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; \"list:disabled\"?: PtValue | undefined; \"list:loading\"?: PtValue | undefined; \"list:errors\"?: PtValue | undefined; \"list:warnings\"?: PtValue | undefined; \"list:readonly\"?: PtValue | undefined; \"list:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"icon:hasValue\"?: PtValue | undefined; \"description:loading\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:loading\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:loading\"?: PtValue | undefined; \"hint:hasValue\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; \"itemDescription:loading\"?: PtValue | undefined; \"itemDescription:errors\"?: PtValue | undefined; \"itemDescription:warnings\"?: PtValue | undefined; \"itemDescription:readonly\"?: PtValue | undefined; \"itemDescription:hasValue\"?: PtValue | undefined; 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; \"footer:open\"?: PtValue | undefined; activator?: PtValue | undefined; \"header:loading\"?: PtValue | undefined; \"header:errors\"?: PtValue | undefined; \"header:warnings\"?: PtValue | undefined; \"header:readonly\"?: PtValue | undefined; \"header:hasValue\"?: PtValue | undefined; \"activator: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; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"footer:disabled\"?: PtValue | undefined; \"footer:loading\"?: PtValue | undefined; \"itemText:loading\"?: PtValue | undefined; \"itemIcon:loading\"?: PtValue | undefined; \"check:loading\"?: PtValue | undefined; \"footer:errors\"?: PtValue | undefined; \"footer:warnings\"?: PtValue | undefined; \"footer:readonly\"?: PtValue | undefined; \"footer:hasValue\"?: PtValue | undefined; \"option:open\"?: PtValue | undefined; \"option:disabled\"?: PtValue | undefined; \"option:loading\"?: PtValue | undefined; \"option:errors\"?: PtValue | undefined; \"option:warnings\"?: PtValue | undefined; \"option:readonly\"?: PtValue | undefined; \"option:hasValue\"?: PtValue | undefined; \"itemText:errors\"?: PtValue | undefined; \"itemText:warnings\"?: PtValue | undefined; \"itemText:readonly\"?: PtValue | undefined; \"itemText:hasValue\"?: PtValue | undefined; \"itemIcon:errors\"?: PtValue | undefined; \"itemIcon:warnings\"?: PtValue | undefined; \"itemIcon:readonly\"?: PtValue | undefined; \"itemIcon:hasValue\"?: PtValue | undefined; \"check:errors\"?: PtValue | undefined; \"check:warnings\"?: PtValue | undefined; \"check:readonly\"?: PtValue | undefined; \"check:hasValue\"?: PtValue | undefined; \"badge:open\"?: PtValue | undefined; \"badge:disabled\"?: PtValue | undefined; \"badge:loading\"?: PtValue | undefined; \"badge:errors\"?: PtValue | undefined; \"badge:warnings\"?: PtValue | undefined; \"badge:readonly\"?: PtValue | undefined; \"badge:hasValue\"?: PtValue | undefined; \"comma:open\"?: PtValue | undefined; \"comma:disabled\"?: PtValue | undefined; \"comma:loading\"?: PtValue | undefined; \"comma:errors\"?: PtValue | undefined; \"comma:warnings\"?: PtValue | undefined; \"comma:readonly\"?: PtValue | undefined; \"comma:hasValue\"?: PtValue | undefined; \"option:selected\"?: PtValue | undefined; } & { option?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; itemDescription?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; itemText?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; itemIcon?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; check?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; badge?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; comma?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; } & { \"root:outline\"?: PtValue | undefined; \"icon:outline\"?: PtValue | undefined; \"root:secondary\"?: PtValue | undefined; \"icon:secondary\"?: PtValue | undefined; \"spinner:outline\"?: PtValue | undefined; \"spinner:secondary\"?: PtValue | undefined; \"clear:outline\"?: PtValue | undefined; \"clear:secondary\"?: PtValue | undefined; \"root:ghost\"?: PtValue | undefined; \"icon:ghost\"?: PtValue | undefined; \"spinner:ghost\"?: PtValue | undefined; \"label:outline\"?: PtValue | undefined; \"description:outline\"?: PtValue | undefined; \"message:outline\"?: PtValue | undefined; \"hint:outline\"?: PtValue | undefined; \"label:secondary\"?: PtValue | undefined; \"label:ghost\"?: PtValue | undefined; \"prefix:outline\"?: PtValue | undefined; \"prefix:secondary\"?: PtValue | undefined; \"prefix:ghost\"?: PtValue | undefined; \"clear:ghost\"?: PtValue | undefined; \"description:secondary\"?: PtValue | undefined; \"description:ghost\"?: PtValue | undefined; \"message:secondary\"?: PtValue | undefined; \"message:ghost\"?: PtValue | undefined; \"hint:secondary\"?: PtValue | undefined; \"hint:ghost\"?: PtValue | undefined; \"box:outline\"?: PtValue | undefined; \"box:secondary\"?: PtValue | undefined; \"box:ghost\"?: PtValue | undefined; \"suffix:outline\"?: PtValue | undefined; \"suffix:secondary\"?: PtValue | undefined; \"suffix:ghost\"?: PtValue | undefined; \"activator:outline\"?: PtValue | undefined; \"activator:secondary\"?: PtValue | undefined; \"activator:ghost\"?: PtValue | undefined; }) | 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:badge","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:badge:disabled","type":"PtValue | undefined","required":false},{"name":"pt:badge:errors","type":"PtValue | undefined","required":false},{"name":"pt:badge:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:badge:loading","type":"PtValue | undefined","required":false},{"name":"pt:badge:open","type":"PtValue | undefined","required":false},{"name":"pt:badge:readonly","type":"PtValue | undefined","required":false},{"name":"pt:badge: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:check","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:check:disabled","type":"PtValue | undefined","required":false},{"name":"pt:check:errors","type":"PtValue | undefined","required":false},{"name":"pt:check:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:check:loading","type":"PtValue | undefined","required":false},{"name":"pt:check:open","type":"PtValue | undefined","required":false},{"name":"pt:check:readonly","type":"PtValue | undefined","required":false},{"name":"pt:check:selected","type":"PtValue | undefined","required":false},{"name":"pt:check: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:comma","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:comma:disabled","type":"PtValue | undefined","required":false},{"name":"pt:comma:errors","type":"PtValue | undefined","required":false},{"name":"pt:comma:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:comma:loading","type":"PtValue | undefined","required":false},{"name":"pt:comma:open","type":"PtValue | undefined","required":false},{"name":"pt:comma:readonly","type":"PtValue | undefined","required":false},{"name":"pt:comma: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:footer","type":"PtValue | undefined","required":false},{"name":"pt:footer:disabled","type":"PtValue | undefined","required":false},{"name":"pt:footer:errors","type":"PtValue | undefined","required":false},{"name":"pt:footer:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:footer:loading","type":"PtValue | undefined","required":false},{"name":"pt:footer:open","type":"PtValue | undefined","required":false},{"name":"pt:footer:readonly","type":"PtValue | undefined","required":false},{"name":"pt:footer: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: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:readonly","type":"PtValue | undefined","required":false},{"name":"pt:input:warnings","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:itemDescription:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:errors","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:open","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:readonly","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:warnings","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:itemIcon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:errors","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:open","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:readonly","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:warnings","type":"PtValue | undefined","required":false},{"name":"pt:itemText","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:itemText:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemText:errors","type":"PtValue | undefined","required":false},{"name":"pt:itemText:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:itemText:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemText:open","type":"PtValue | undefined","required":false},{"name":"pt:itemText:readonly","type":"PtValue | undefined","required":false},{"name":"pt:itemText:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemText: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:list","type":"PtValue | undefined","required":false},{"name":"pt:list:disabled","type":"PtValue | undefined","required":false},{"name":"pt:list:errors","type":"PtValue | undefined","required":false},{"name":"pt:list:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:list:loading","type":"PtValue | undefined","required":false},{"name":"pt:list:open","type":"PtValue | undefined","required":false},{"name":"pt:list:readonly","type":"PtValue | undefined","required":false},{"name":"pt:list: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:option","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:option:disabled","type":"PtValue | undefined","required":false},{"name":"pt:option:errors","type":"PtValue | undefined","required":false},{"name":"pt:option:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:option:loading","type":"PtValue | undefined","required":false},{"name":"pt:option:open","type":"PtValue | undefined","required":false},{"name":"pt:option:readonly","type":"PtValue | undefined","required":false},{"name":"pt:option:selected","type":"PtValue | undefined","required":false},{"name":"pt:option: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":"queryDebounceTime","type":"number | undefined","required":false,"default":"500","description":"Time to wait when the user stops writing in the input before querying data."},{"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<any>","required":false,"description":"vee-validate rules for this field. Only inside a `BbForm`."},{"name":"selectable","type":"boolean | ((item: T) => boolean) | undefined","required":false,"default":"true","description":"Defines whether options are selectable. Can be a global boolean that affects all options or a function that accepts an item and returns a boolean that only affects that item. Non-selectable options are rendered disabled."},{"name":"selectedLabelsFn","type":"((count: number) => string) | undefined","required":false,"description":"Function that returns a string to be displayed when the number of selected labels is greater than `maxSelectedLabels`."},{"name":"stash","type":"boolean | undefined","required":false,"default":"false","description":"Keeps picks named (their chips keep their text) when a later search or a failed load no longer returns them. It follows the model; it does not keep a pick valid (`enforce-coherence` still prunes it)."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"How long the transition has to last in milliseconds."},{"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<SelectVariantRegistry> | 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.BbSelect.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 select becomes active (focus enters it)."},{"name":"blur","signature":"(event: FocusEvent): void","description":"Emitted when the activator loses focus. Forwards the original DOM `FocusEvent`."},{"name":"change","signature":"(event: Event): void","description":"Emitted on the native `change` event. Forwards the original DOM `Event`."},{"name":"click","signature":"(event: MouseEvent): void","description":"Emitted when the activator is clicked. Forwards the original DOM `MouseEvent`."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when the activator receives focus. Forwards the original DOM `FocusEvent`."},{"name":"hidden","signature":"(): void","description":"Emitted once the options surface has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the options surface starts to close."},{"name":"inactive","signature":"(): void","description":"Emitted when focus moves outside the whole select after it was active."},{"name":"input","signature":"(event: Event): void","description":"Emitted on native `input` events from the search field. Forwards the DOM `Event`."},{"name":"option:add","signature":"(text: string): void","description":"Emitted with the typed text when the user confirms a value that is not in the list (Enter in the search field). Binding it keeps the search field writable, which makes the select creatable."},{"name":"show","signature":"(): void","description":"Emitted as soon as the options surface starts to open (the popover, or the sheet on a phone)."},{"name":"shown","signature":"(): void","description":"Emitted once the options surface is open and its open transition has finished."},{"name":"update:modelValue","signature":"(value: any): void","description":"Emitted with the new value whenever `v-model` changes."},{"name":"update:open","signature":"(value: boolean): void","description":"The panel opened or closed (`v-model:open`)."}],"slots":[{"name":"append","type":"{ query: string; focus: () => void; close: () => Promise<void>; }","description":"Content appended inside the input field, after the value area."},{"name":"append:outer","type":"{ query: string; close: () => Promise<void>; }","description":"Content appended outside the input field wrapper."},{"name":"chip","type":"BbSelectChipSlotProps<T, Known>","fields":["known: boolean","item: BbSelectKnownItem | T","text: string","value: any","disabled: boolean","deselect: () => void"],"description":"Each selection's badge with `multiple` (not in `comma` mode, nor the \"+N\" summary). With `known-items` bound, `item` is the known `{ value, label }` row (`known: true`) until the list brings the real one."},{"name":"description","type":"BbSelectDescriptionSlotProps","fields":["text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the description text. Provided alone (no `description` prop) it still renders the description region and wires it into `aria-describedby`."},{"name":"empty","type":"{ query: string; focus: () => void; close: () => Promise<void>; }","description":"Content shown when no options match the query or the list is empty. Empty only: a failed load shows the failure row (`failed-text`, then \"Try again\"). `close()` closes the panel, for an action that does not move focus out of it."},{"name":"footer","type":"BbSelectPanelSlotProps","fields":["close: () => Promise<void>","clear: () => void","empty: boolean","focus: () => void","query: string","selectedOptions: BbSelectResolvedOption[]"],"description":"Content pinned to the bottom of the options panel, below the options list. Rendered in both the desktop popover and the adaptive sheet."},{"name":"group","type":"BbSelectGroupSlotProps<T>","fields":["text: string","item: T","index: number","length: number","disabled: boolean"],"description":"Replaces the default group header rendered above grouped options. Not called for rows with no group (`group-by` gives `null`/`undefined`, known rows): they are listed without a header."},{"name":"header","type":"BbSelectPanelSlotProps","fields":["close: () => Promise<void>","clear: () => void","empty: boolean","focus: () => void","query: string","selectedOptions: BbSelectResolvedOption[]"],"description":"Content pinned to the top of the options panel, above the search field. Rendered in both the desktop popover and the adaptive sheet."},{"name":"label","type":"BbSelectLabelSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default label text rendered above the input."},{"name":"loading","type":"{ query: string; }","description":"Content shown inside the options dropdown while items are loading."},{"name":"option","type":"BbSelectOptionSlotProps<T, Known>","fields":["known: boolean","item: BbSelectKnownItem | T","disabled: boolean","focused: boolean","index: number","hasErrors?: boolean","loading: boolean","selected: boolean","text: string","value: any","description: string"],"description":"Each option row's content. With `known-items` bound, a row the list has not brought yet is the known `{ value, label }` row (`known: true`): check `known` before reading an option field off `item`."},{"name":"prefix","type":"object","description":"Content rendered as an inline prefix inside the input field."},{"name":"prepend","type":"{ query: string; focus: () => void; close: () => Promise<void>; }","description":"Content prepended inside the input field, before the value area."},{"name":"prepend:outer","type":"{ query: string; close: () => Promise<void>; }","description":"Content prepended outside the input field wrapper."},{"name":"suffix","type":"object","description":"Content rendered as an inline suffix inside the input field."}],"exposed":[],"models":[{"name":"modelValue","type":"any"},{"name":"open","type":"boolean | undefined"}],"cssProps":[{"name":"--compensation-multiplier","value":"0.3","selector":".bb-select__field","description":"Fraction of the shell's inner padding the chips row is pulled back by when no prepend icon precedes it (see the negative margin below)."},{"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; a `class` on the component lands here. (The options surface is `panel`.)"},{"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":"activator","description":"The button you act on to open the options — the field's control (not a text field: `data-test` fits here, `autocomplete` does not). The chevron is chrome. It is `activator`, not the family's `input`: the field itself is a button (the date / time inputs' trigger is the same word)."},{"name":"input","description":"The search field inside the options surface, when it shows one (see `disable-writing`) — handed to the `BbSelectPopover` as its own `pt:input`. Its ✕ is chrome."},{"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 ✕ in the field that empties the selection (`clearable`) — one node, never a chip's own ✕."},{"name":"panel","description":"The options surface — the popover's painted bubble on desktop, the sheet itself on a phone."},{"name":"sheet","description":"The bottom sheet the options open in on a phone only."},{"name":"header","description":"The band around your `#header` slot: at the top of the flyout on desktop, the sheet's header on a phone."},{"name":"footer","description":"The band around your `#footer` slot: at the bottom of the flyout on desktop, the sheet's footer on a phone."},{"name":"list","description":"The `role=\"listbox\"` node that holds the options. Virtualised: its height is written inline and its rows are positioned by the list, which limits what a layout utility can do there. The listbox's groups and the chips are not parts."},{"name":"option","description":"One listbox option — a broadcast resolved per option. Also takes a per-item function, called with the option's raw item."},{"name":"itemText","description":"An option's label — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function."},{"name":"itemIcon","description":"An option's prepend / append icons (`itemProps`) — resolved with that option's states. Also takes a per-item function."},{"name":"itemDescription","description":"An option's second line (its description) — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function."},{"name":"check","description":"The tick on the chosen option, at the row's end — mounted on every option and drawn on the chosen ones; a custom `#option` slot keeps it. `pt:check=\"hidden\"` removes it and leaves a glyph your slot draws alone. Also takes a per-item function."},{"name":"badge","description":"Each selected value's `BbBadge` root with `multiple` — a broadcast resolved per value, on the field's chips and on the phone sheet's. The badge's own ✕ is chrome, never `clear`. In the field, not rendered when the `#chip` slot replaces it, nor in `comma` mode; the sheet's chips are always badges."},{"name":"comma","description":"Each selected value with `multiple` and `comma` — a broadcast resolved per value."}],"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 `option`, its `item-*` parts and `check`: a chosen option."},{"name":"readonly","description":"Component-wide: the control is `readonly` — shown, focusable, not editable."},{"name":"disabled","description":"Component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that 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 options surface is showing."},{"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":"badge","target":"CommonField"},{"part":"activator","target":"input.bb-select__activator"},{"part":"badge","target":"input.bb-select__activator"},{"part":"comma","target":"span.bb-select__comma"},{"part":"badge","target":"span.bb-select__comma"},{"part":"badge","target":"BbBadge"},{"part":"controlAttrs","target":"input"},{"part":"badge","target":"input"}],"forwards":[{"to":"BbSelectPopover","mapping":"{ panel: 'panel', sheet: 'sheet', header: 'header', footer: 'footer', input: 'input', list: 'list', option: 'option', itemText: 'itemText', itemIcon: 'itemIcon', itemDescription: 'itemDescription', check: 'check' }"}],"nodes":[{"name":"CommonField","kind":"internal","vocabulary":"BbSelect","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbSelect","bindings":[{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"icon","target":"BbIcon"},{"part":"clear","target":"ClearableButton"},{"part":"spinner","target":"BbSpinner"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"cssProps":[{"name":"--bg","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--bg-hover","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-disabled","documented":true,"readBy":["bb-field-input__box"]},{"name":"--fg-disabled","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix","bb-field-input__prepend-icon","bb-field-input__append-icon"]},{"name":"--border-color","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--border-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-size","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-color","documented":true,"readBy":["bb-field-input__box"]},{"name":"--elev","documented":true,"readBy":["bb-field-input__box"]},{"name":"--frost","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ph","documented":true},{"name":"--inside-label-clearance","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix"]},{"name":"--ring-t","documented":false,"readBy":["bb-field-input__box"]}],"children":[{"name":"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":"BbBadge","kind":"public"},{"name":"BbSelectPopover","kind":"public"}]},"css":{"classes":{"bb-select":["","__activator","__badge","__chips-row","__chips-row--chips","__chips-row--hidden","__comma","__display-value","__field","__field--disabled","__field--readonly","__field--shown","__max-reached","__placeholder","__value"]},"locals":["--color-gray-200","--compensation-multiplier","--ph"],"surface":{"stable":[{"class":"bb-select","tag":"CommonField","part":"root"},{"class":"bb-select__activator","tag":"input","part":"activator"},{"class":"bb-select__badge","tag":"BbBadge","part":"badge"},{"class":"bb-select__comma","tag":"span","part":"comma"},{"class":"bb-select__field--readonly","tag":"CommonFieldInput","state":"readonly"},{"class":"bb-select__field--disabled","tag":"CommonFieldInput","state":"disabled"}],"internal":[{"class":"bb-select__chips-row","tag":"span"},{"class":"bb-select__chips-row--chips","tag":"span","reads":["--compensation-multiplier"]},{"class":"bb-select__chips-row--hidden","tag":"span"},{"class":"bb-select__display-value","tag":"span"},{"class":"bb-select__field","tag":"CommonFieldInput"},{"class":"bb-select__field--shown","tag":"CommonFieldInput"},{"class":"bb-select__max-reached","tag":"span"},{"class":"bb-select__placeholder","tag":"span","reads":["--ph"]},{"class":"bb-select__value","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":"prefix","target":"span.bb-field-input__prefix"},{"part":"suffix","target":"span.bb-field-input__suffix"},{"part":"clear","target":"ClearableButton"}],"unaligned":{"parts":["label","input","panel","sheet","header","footer","list","option","itemText","itemIcon","itemDescription","check"],"states":["hasValue","selected","warnings","errors","open","loading","ghost","outline","secondary"]}}},"attrTargets":["div","input"],"config":"labelMode*, validationMode*, autocomplete*, compact*, layout*, reverse*, adaptive*, variants","removed":[{"name":"allowWriting","new":"disableWriting","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select.md","silent":true,"fix":{"kind":"invert","valueMap":{"not-mobile":"mobile"}}},{"name":"showChevron","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select.md","silent":true,"fix":{"kind":"remove"}},{"name":"updateOnAnimationFrame","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select.md","silent":true,"fix":{"kind":"remove"}},{"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-select.md","silent":true,"fix":{"kind":"rename"}},{"name":"noDataText","new":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"no-data","new":"empty","surface":"slot","since":"3.0.0-beta.41","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":"allowWriting","to":"disableWriting","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select.md","fix":{"kind":"invert","valueMap":{"not-mobile":"mobile"}}},{"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-select.md","fix":{"kind":"rename"}},{"from":"noDataText","to":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"no-data","to":"empty","surface":"slot","since":"3.0.0-beta.41","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"}]},
455
- {"name":"BbSelectPopover","group":"Selection","description":"Provides popover-driven option selection and search.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbSelectPopover.md","source":"ai/source/BbSelectPopover.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 event listeners are attached programmatically to the referenced element."},{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"On mobile, the panel opens as a bottom sheet instead of a floating popover, with the same search and list. Unset, the global `all.adaptive` applies."},{"name":"anchor","type":"ElementOrComponentRef | undefined","required":false,"default":"null","description":"Override the element used for popover positioning and width measurement. Useful when the focusable activator is narrower than its visual container (e.g. a button inside a wrapper). Falls back to `activatorEl` when omitted."},{"name":"ariaDescribedby","type":"string | string[] | undefined","required":false,"description":"Space-separated IDREF(s) that describe this field for assistive technologies. Accepts either a string or array of ids."},{"name":"ariaInvalid","type":"boolean | undefined","required":false,"default":"undefined","description":"Explicit invalid state for accessibility semantics. Falls back to `hasErrors` when not provided."},{"name":"autocomplete","type":"string | undefined","required":false,"default":"\"off\"","description":"Browser autocomplete hint for the popover search input."},{"name":"boundary","type":"ElementOrComponentRefOrSelector | undefined","required":false,"description":"An element the popover stays inside alongside its trigger (sideways for one above or below). Away from the trigger it may pass the edge, and it flips at the viewport only."},{"name":"clearable","type":"boolean | undefined","required":false,"default":"false","description":"Shows a clear button in the search field, in the lens' place while there is a query or a selection; it resets both. None without a search field. Leave it off when the activator already clears (as BbSelect's does)."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Apply the compact density variant."},{"name":"dependencies","type":"unknown[] | undefined","required":false,"default":"[]","description":"Additional dependencies that trigger item reloading when changed."},{"name":"depsDebounceTime","type":"number | undefined","required":false,"default":"0","description":"Debounce delay (ms) for dependency-triggered reloads."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the component."},{"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":"disableWriting","type":"boolean | \"auto\" | \"mobile\" | \"desktop\" | undefined","required":false,"default":"'auto'","description":"Hides the panel's search field: `true` everywhere, `'mobile'` / `'desktop'` on that platform only. `'auto'` hides it, per open, for an array `items` shorter than the plugin's `autoDisableWritingThreshold` (6); never for a provider or with an `option:add` listener."},{"name":"emptyText","type":"string | undefined","required":false,"description":"Message displayed when no items are available."},{"name":"enforceCoherence","type":"boolean | undefined","required":false,"default":"false","description":"Drops the picks the items no longer contain (single: `null`). Checked after every applied, successful load whose `reason` is not `'search'` (an empty one included), against the FETCHED rows only (a `stash` does not count); a search or failed load never prunes."},{"name":"failedText","type":"string | undefined","required":false,"default":"the localized `common.failedText` (\"Couldn't load items\")","description":"Message displayed in the empty state while the latest load FAILED (the provider threw): the twin of `emptyText` for that case."},{"name":"filterBy","type":"false | string[] | undefined","required":false,"default":"[]","description":"What typing filters on: empty = the display text and description; item paths = those fields (`['name', 'email']`); `false` = no filtering. Use `false` when the provider matched the query on the server, or its email matches show as \"No results\"."},{"name":"groupBy","type":"string | ((item: Item) => string | number | symbol) | undefined","required":false,"description":"Path to item property for grouping options."},{"name":"hasErrors","type":"boolean | undefined","required":false,"default":"false","description":"Marks the component as being in error state."},{"name":"hasWarnings","type":"boolean | undefined","required":false,"default":"false","description":"Marks the component as being in a warning state. Visually mirrors `hasErrors` but uses `--bb-warn` chrome; errors take priority when both are set."},{"name":"headerHeight","type":"number | undefined","required":false,"description":"Height of group headers in the listbox (px). Defaults to 32px (24px compact; 36px / 32px on mobile viewports). Only applies when `groupBy` is set. An explicit value wins on every viewport."},{"name":"id","type":"string | undefined","required":false,"description":"Seeds the ids the popover sets: its listbox is `<id>_listbox` (the activator's `aria-controls`) and each option's id derives from it. Generated when omitted."},{"name":"itemHeight","type":"number | undefined","required":false,"default":"28","description":"Height of the options in the listbox (px). Defaults to 28px (24px compact; 44px / 36px on mobile viewports). An explicit value wins on every viewport."},{"name":"itemProps","type":"BbSelectItemProps<Item> | undefined","required":false,"description":"ADDITIONAL row fields, never the text or value: `description` (a muted line under the label), `prepend:icon`, `append:icon`. An object of paths or getters per field, or a function of the item. Nothing is read implicitly; none shows in the trigger or the chips."},{"name":"items","type":"Item[] | ((context: BbSelectPopoverItemsContext) => Item[] | Promise<Item[]>)","required":true,"default":"[]","description":"The options: an array, or a sync or async provider given a `BbSelectPopoverItemsContext` (`query`, `reason`, `modelValue`, `signal`). Branch on `reason !== 'search'` to resolve the selection by id. A provider fails by THROWING, never by returning `[]`."},{"name":"itemText","type":"ItemAccessor<Item, string> | undefined","required":false,"default":"own `label`, else `text`, else `JSON.stringify(item)`","description":"Path to item property for display text or function to extract it.\n\nUnset: own `label`, else `text` (`{ label, value }` needs no accessor)."},{"name":"itemValue","type":"ItemAccessor<Item> | undefined","required":false,"default":"own `value`, else the whole item","description":"Path to item property for value or function to extract it.\n\nUnset: own `value`, even `null`."},{"name":"knownItems","type":"([Known] extends [undefined] ? BbSelectKnownItems : Known) | undefined","required":false,"description":"`{ value, label }` rows naming the value the app already holds, whatever the options' shape: the activator's `text` with no request until the first open (`prefill: true` still loads). Not options: accessors never run on them; slots get one as `item`, `known: true`, until the list brings its own."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Display the loading state styles."},{"name":"loadingText","type":"string | undefined","required":false,"description":"Message shown while items are being loaded."},{"name":"max","type":"number | undefined","required":false,"default":"Infinity","description":"Maximum number of selectable items (limits selection when `multiple` is true)."},{"name":"minQueryLength","type":"number | undefined","required":false,"default":"0","description":"Characters to type (trimmed) before the query searches. Below it the query counts as empty: no `'search'` call, no filtering, and the panel says how many characters to type. Slots still get the typed `query`."},{"name":"modelValue","type":"any","required":true,"description":"v-model value. Single value for single select, array for multiple select."},{"name":"modelValueDebounceTime","type":"number | undefined","required":false,"default":"0","description":"Debounce delay (ms) for modelValue change handling."},{"name":"multiple","type":"boolean | undefined","required":false,"default":"false","description":"Enable multiple item selection. When true, modelValue must be an array."},{"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":"offset","type":"number | undefined","required":false,"default":"4","description":"Distance (px) between the activator and the popover."},{"name":"open","type":"boolean | undefined","required":false,"default":"false","description":"Whether the panel is open (`v-model:open`; `v-model` stays the value). Bound, the app opens and closes it; unbound, the initial state."},{"name":"padding","type":"number | undefined","required":false,"default":"10","description":"Minimum page padding used by floating shift middleware."},{"name":"placement","type":"Placement | undefined","required":false,"default":"\"bottom\"","values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end"],"description":"Floating placement of the popover."},{"name":"prefill","type":"boolean | \"interaction\" | undefined","required":false,"default":"\"interaction\"","description":"When the options first load: `'interaction'` on first open, `true` on mount (and in SSR), `false` once the user types (on open with `disable-writing` or a non-empty model). An array `items` always resolves on mount; else a seeded model's text waits for the first open."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"input\", \"clear\", \"list\", \"option\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"header\", \"footer\"]; readonly states: readonly [\"selected\", \"disabled\", \"open\"]; readonly wide: readonly [\"open\"]; readonly node: { readonly option: readonly [\"selected\", \"disabled\"]; readonly itemText: readonly [\"selected\", \"disabled\"]; readonly itemIcon: readonly [\"selected\", \"disabled\"]; readonly itemDescription: readonly [\"selected\", \"disabled\"]; readonly check: readonly [\"selected\", \"disabled\"]; }; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; clear?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; sheet?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"clear:open\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"footer:open\"?: PtValue | undefined; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"option:open\"?: PtValue | undefined; \"option:disabled\"?: PtValue | undefined; \"option:selected\"?: PtValue | undefined; } & { option?: PtValue | PtItemFn<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>> | undefined; itemDescription?: PtValue | PtItemFn<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>> | undefined; itemText?: PtValue | PtItemFn<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>> | undefined; itemIcon?: PtValue | PtItemFn<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>> | undefined; check?: PtValue | PtItemFn<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>> | 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:check","type":"PtValue | ((ctx: PtItemCtx<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:check:disabled","type":"PtValue | undefined","required":false},{"name":"pt:check:open","type":"PtValue | undefined","required":false},{"name":"pt:check:selected","type":"PtValue | undefined","required":false},{"name":"pt:clear","type":"PtValue | undefined","required":false},{"name":"pt:clear:open","type":"PtValue | undefined","required":false},{"name":"pt:footer","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:open","type":"PtValue | undefined","required":false},{"name":"pt:input","type":"PtValue | undefined","required":false},{"name":"pt:input:open","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription","type":"PtValue | ((ctx: PtItemCtx<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:itemDescription:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:open","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon","type":"PtValue | ((ctx: PtItemCtx<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:itemIcon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:open","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemText","type":"PtValue | ((ctx: PtItemCtx<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:itemText:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemText:open","type":"PtValue | undefined","required":false},{"name":"pt:itemText:selected","type":"PtValue | undefined","required":false},{"name":"pt:list","type":"PtValue | undefined","required":false},{"name":"pt:list:open","type":"PtValue | undefined","required":false},{"name":"pt:option","type":"PtValue | ((ctx: PtItemCtx<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:option:disabled","type":"PtValue | undefined","required":false},{"name":"pt:option:open","type":"PtValue | undefined","required":false},{"name":"pt:option:selected","type":"PtValue | undefined","required":false},{"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":"queryDebounceTime","type":"number | undefined","required":false,"default":"500","description":"Debounce delay (ms) before triggering search queries after user input stops."},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Prevents opening the popover while keeping the activator accessible."},{"name":"searchInputAriaLabel","type":"string | undefined","required":false,"default":"`t('select.searchLabel')` (`'Search options'`)","description":"Accessible label used by the search input rendered inside the popover. Falls back to the localized `select.searchLabel` key when omitted."},{"name":"selectable","type":"boolean | ((item: Item) => boolean) | undefined","required":false,"default":"true","description":"Defines whether options are selectable. Can be a global boolean that affects all options or a function that accepts an item and returns a boolean that only affects that item. Non-selectable options are rendered disabled."},{"name":"stash","type":"boolean | undefined","required":false,"default":"false","description":"Keeps picked options named across searches: a pick stays resolvable when a later search or a failed load no longer returns it. It follows the model, and does not keep a pick valid: `enforce-coherence` still prunes it."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"Transition duration (ms) for popover show/hide animations."},{"name":"width","type":"string | number | undefined","required":false,"default":"\"200\"","description":"Width of the popover: a bare number or `'200'` is pixels, else a CSS width, a percentage or `'auto'`. The default is the string `'200'`."}],"events":[{"name":"active","signature":"(): void","description":"Emitted when the component becomes active (focus enters it)."},{"name":"blur","signature":"(event: FocusEvent): void","description":"Emitted when the activator loses focus."},{"name":"change","signature":"(event: Event): void","description":"Emitted when the value changes via native change event."},{"name":"click","signature":"(event: MouseEvent): void","description":"Emitted when the activator is clicked."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when the activator receives focus."},{"name":"hidden","signature":"(): void","description":"Emitted once the options surface has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the options surface starts to close."},{"name":"inactive","signature":"(): void","description":"Emitted when focus moves outside the entire component after it was active."},{"name":"input","signature":"(event: Event): void","description":"Emitted on native input events from the search input."},{"name":"option:add","signature":"(text: string): void","description":"Emitted when the user types a new value and confirms it (Enter key) while writing is enabled (i.e. `disableWriting` does not suppress the search input for the current surface)."},{"name":"show","signature":"(): void","description":"Emitted as soon as the options surface starts to open (the popover, or the sheet on a phone)."},{"name":"shown","signature":"(): void","description":"Emitted once the options surface is open and its open transition has finished."},{"name":"update:modelValue","signature":"(value: any): void","description":"Emitted with the next selection value whenever selection changes."},{"name":"update:open","signature":"(value: boolean): void","description":"The panel opened or closed (`v-model:open`)."}],"slots":[{"name":"activator","type":"BbSelectPopoverActivatorSlotProps","fields":["clear: () => void","close: () => Promise<void>","focus: () => void","disabled: boolean","loading: boolean","open: () => Promise<void>","props: { ref: (reference: unknown) => void; }","query: string","readonly: boolean","selectedOptions: BbSelectResolvedOption<any>[]","shown: boolean","text: string","toggle: () => Promise<void>"],"description":"Replaces the default trigger element that opens the select popover."},{"name":"empty","type":"{ query: string; focus: () => void; close: () => Promise<void>; }","description":"Content shown when no options match the query or the list is empty. Empty only: a failed load shows the library's failure row instead (its message is `failed-text`, and it ends with \"Try again\"). `close()` closes the panel, for an action that does not move focus out of it."},{"name":"footer","type":"BbSelectPopoverPanelSlotProps","fields":["close: () => Promise<void>","clear: () => void","empty: boolean","focus: () => void","query: string","selectedOptions: BbSelectResolvedOption<any>[]","titleId: string"],"description":"Content pinned to the bottom of the panel, below the options list. Rendered in both the desktop popover and the adaptive sheet."},{"name":"group","type":"BbSelectPopoverGroupSlotProps<Item>","fields":["disabled: boolean","index: number","item: Item","length: number","text: string"],"description":"Replaces the default group header rendered above grouped options. Not called for rows with no group (`group-by` gives `null`/`undefined`, known rows): they are listed without a header."},{"name":"header","type":"BbSelectPopoverPanelSlotProps","fields":["close: () => Promise<void>","clear: () => void","empty: boolean","focus: () => void","query: string","selectedOptions: BbSelectResolvedOption<any>[]","titleId: string"],"description":"Content pinned to the top of the panel, above the search field. Rendered in both the desktop popover and the adaptive sheet."},{"name":"loading","type":"{ query: string; }","description":"Content shown inside the options dropdown while items are loading."},{"name":"option","type":"BbSelectPopoverOptionSlotProps<Item, Known>","fields":["known: boolean","item: BbSelectKnownItem | Item","disabled: boolean","focused: boolean","index: number","loading: boolean","selected: boolean","text: string","value: any","description: string"],"description":"Replaces the default rendering of each option row in the dropdown. With `known-items` bound, a row the list has not brought yet is the known `{ value, label }` row, `known: true`: check `known` before reading an option field off `item`."}],"exposed":[],"models":[{"name":"modelValue","type":"any"},{"name":"open","type":"boolean | undefined"}],"cssProps":[{"name":"--bg","value":"var(--bb-panel)","selector":".bb-listbox__outer-container"},{"name":"--min-size","value":"2.125rem","selector":".bb-select-popover__sheet-chip"},{"name":"--px","value":"0.75rem","selector":".bb-select-popover__sheet-chip"},{"name":"--clear-size","value":"1.25rem","selector":".bb-select-popover__sheet-chip"}],"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 options surface you see — the popover's painted bubble on desktop, the sheet itself on a phone."},{"name":"sheet","description":"The bottom sheet the surface becomes on a phone (the `BbOffCanvas` root) — never the desktop surface. Applied after `panel`, so it wins a conflict there."},{"name":"input","description":"The search field."},{"name":"clear","description":"The ✕ that empties the search field."},{"name":"list","description":"The `role=\"listbox\"` node that holds the options. Virtualised: its height is written inline and its rows are positioned by the list, which limits what a layout utility can do there. The listbox's groups and the chips are not parts."},{"name":"option","description":"One listbox option — a broadcast resolved per option. Also takes a per-item function, called with the option's raw item."},{"name":"itemText","description":"An option's label — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function."},{"name":"itemIcon","description":"An option's prepend / append icons (`itemProps`) — resolved with that option's states. Also takes a per-item function."},{"name":"itemDescription","description":"An option's second line (its description) — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function."},{"name":"check","description":"The tick on the chosen option, at the row's end — mounted on every option and drawn on the chosen ones; a custom `#option` slot keeps it. `pt:check=\"hidden\"` removes it and leaves a glyph your slot draws alone. Also takes a per-item function."},{"name":"header","description":"The flyout's header band."},{"name":"footer","description":"The flyout's footer band."}],"states":[{"name":"selected","description":"Per node, on `option`, its `item-*` parts and `check`: a chosen option."},{"name":"disabled","description":"Per node, on `option`, its `item-*` parts and `check`: an option that is disabled."},{"name":"open","description":"Component-wide: the options surface is showing."}]},"tree":{"bindings":[{"part":"input","target":"input.bb-select-popover__input"},{"part":"clear","target":"ClearableButton"},{"part":"panel","target":"CommonPopover"},{"part":"root","target":"CommonPopover"},{"part":"header","target":"div.bb-select-popover__header"},{"part":"footer","target":"div.bb-select-popover__footer"}],"forwards":[{"to":"BbOffCanvas","mapping":"{ header: 'header', footer: 'footer', panel: 'root', sheet: 'root' }"}],"nodes":[{"name":"BbBadge","kind":"public"},{"name":"BbIcon","kind":"public"},{"name":"BbOffCanvas","kind":"public"},{"name":"ClearableButton","kind":"internal","children":[{"name":"BbIcon","kind":"public"}]},{"name":"CommonPopover","kind":"internal"},{"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":"ListBox","kind":"internal","children":[{"name":"FlatListBox","kind":"internal","vocabulary":"BbSelectPopover","bindings":[{"part":"list","target":"span.bb-listbox__list"},{"part":"option","target":"span.bb-listbox__option"},{"part":"itemIcon","target":"BbIcon"},{"part":"itemText","target":"span.bb-listbox__item-text"},{"part":"itemDescription","target":"span.bb-listbox__item-description"},{"part":"check","target":"BbIcon"}],"children":[{"name":"BbIcon","kind":"public"},{"name":"ErrorIcon","kind":"internal","repeated":true}]},{"name":"GroupedListBox","kind":"internal","vocabulary":"BbSelectPopover","bindings":[{"part":"list","target":"span.bb-listbox__list"},{"part":"option","target":"span.bb-listbox__option"},{"part":"itemIcon","target":"BbIcon"},{"part":"itemText","target":"span.bb-listbox__item-text"},{"part":"itemDescription","target":"span.bb-listbox__item-description"},{"part":"check","target":"BbIcon"}],"children":[{"name":"BbIcon","kind":"public"},{"name":"ErrorIcon","kind":"internal","repeated":true}]}]},{"name":"BbSmoothHeight","kind":"public"}]},"css":{"classes":{"bb-listbox":["","--compact","--described","--empty","--grouped","--loading","--multiple","--open","__create","__create-query","__empty","__failed","__failed--divided","__failed-icon","__failed-text","__group","__group-header","__group-header-label","__inner-container","__item-description","__item-icon","__item-text","__list","__loading","__loading--below","__option","__option--disabled","__option--focused","__option--selected","__option-append-icon","__option-check","__option-content","__option-prepend-icon","__outer-container","__status"],"bb-select-known-items":[""],"bb-select-popover":["","--clearable-active","--compact","--errors","--loading","--reloading","--sheet","--warnings","__clear","__focus-proxy","__footer","__header","__input","__panel","__search-container","__search-error-icon","__search-icon","__search-strip","__search-warning-icon","__sheet","__sheet-chip","__sheet-chips","__sheet-selection"],"bb-select-popover-escape":[""],"bb-select-reclick-clears":[""],"bb-select-sheet-chip-attrs":[""]},"locals":["--bg","--close-size","--color-gray-200","--group-header-height","--option-font-size","--option-h","--option-height","--py","--transition-duration","--w"],"surface":{"stable":[{"class":"bb-select-popover","tag":"CommonPopover","part":"root","reads":["--w"]},{"class":"bb-select-popover__panel","part":"panel"},{"class":"bb-select-popover__sheet","tag":"BbOffCanvas","part":"sheet"},{"class":"bb-select-popover__input","tag":"input","part":"input"},{"class":"bb-select-popover__clear","tag":"ClearableButton","part":"clear"},{"class":"bb-select-popover__header","tag":"div","part":"header"},{"class":"bb-select-popover__footer","tag":"div","part":"footer"}],"internal":[{"class":"bb-listbox","reads":["--option-height"]},{"class":"bb-listbox--compact"},{"class":"bb-listbox--described"},{"class":"bb-listbox--empty"},{"class":"bb-listbox--grouped"},{"class":"bb-listbox--loading"},{"class":"bb-listbox--multiple"},{"class":"bb-listbox--open"},{"class":"bb-listbox__create"},{"class":"bb-listbox__create-query"},{"class":"bb-listbox__empty"},{"class":"bb-listbox__failed","reads":["--option-h","--transition-duration"]},{"class":"bb-listbox__failed--divided"},{"class":"bb-listbox__failed-icon"},{"class":"bb-listbox__failed-text"},{"class":"bb-listbox__group"},{"class":"bb-listbox__group-header","reads":["--bg","--group-header-height"]},{"class":"bb-listbox__group-header-label","reads":["--option-font-size"]},{"class":"bb-listbox__inner-container","reads":["--option-h"]},{"class":"bb-listbox__item-description","reads":["--option-font-size"]},{"class":"bb-listbox__item-icon"},{"class":"bb-listbox__item-text","reads":["--option-font-size"]},{"class":"bb-listbox__list"},{"class":"bb-listbox__loading"},{"class":"bb-listbox__loading--below"},{"class":"bb-listbox__option","reads":["--option-h"]},{"class":"bb-listbox__option--disabled"},{"class":"bb-listbox__option--focused"},{"class":"bb-listbox__option--selected","reads":["--option-font-size"]},{"class":"bb-listbox__option-append-icon","reads":["--option-font-size"]},{"class":"bb-listbox__option-check","reads":["--option-font-size"]},{"class":"bb-listbox__option-content"},{"class":"bb-listbox__option-prepend-icon","reads":["--option-font-size"]},{"class":"bb-listbox__outer-container","reads":["--bg","--transition-duration"]},{"class":"bb-listbox__status"},{"class":"bb-select-known-items"},{"class":"bb-select-popover--clearable-active","tag":"CommonPopover"},{"class":"bb-select-popover--compact","tag":"CommonPopover"},{"class":"bb-select-popover--errors","tag":"CommonPopover"},{"class":"bb-select-popover--loading","tag":"CommonPopover"},{"class":"bb-select-popover--reloading","tag":"CommonPopover"},{"class":"bb-select-popover--sheet"},{"class":"bb-select-popover--warnings","tag":"CommonPopover"},{"class":"bb-select-popover-escape"},{"class":"bb-select-popover__focus-proxy","tag":"button"},{"class":"bb-select-popover__search-container","tag":"div"},{"class":"bb-select-popover__search-error-icon","tag":"ErrorIcon"},{"class":"bb-select-popover__search-icon","tag":"BbIcon"},{"class":"bb-select-popover__search-strip","tag":"div"},{"class":"bb-select-popover__search-warning-icon","tag":"WarningIcon"},{"class":"bb-select-popover__sheet-chip","tag":"BbBadge"},{"class":"bb-select-popover__sheet-chips","tag":"div"},{"class":"bb-select-popover__sheet-selection","tag":"div"},{"class":"bb-select-reclick-clears"},{"class":"bb-select-sheet-chip-attrs"}],"via":[{"part":"itemIcon","component":"BbIcon"},{"part":"check","component":"BbIcon"}],"lands":[{"part":"list","target":"span.bb-listbox__list"},{"part":"option","target":"span.bb-listbox__option"},{"part":"itemText","target":"span.bb-listbox__item-text"},{"part":"itemDescription","target":"span.bb-listbox__item-description"}],"unaligned":{"states":["selected","disabled","open"]}}},"attrTargets":["span","dialog"],"config":"adaptive*, compact*","removed":[{"name":"allowWriting","new":"disableWriting","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","silent":true,"fix":{"kind":"invert","valueMap":{"not-mobile":"mobile"}}},{"name":"arrowPadding","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","silent":true,"fix":{"kind":"remove"}},{"name":"flip","new":"disableFlip","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","silent":true,"fix":{"kind":"invert"}},{"name":"hideArrow","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","silent":true,"fix":{"kind":"remove"}},{"name":"showArrow","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","silent":true,"fix":{"kind":"remove"}},{"name":"hasWarning","new":"hasWarnings","since":"3.0.0-beta.26","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"noDataText","new":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"no-data","new":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"allowWriting","to":"disableWriting","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","fix":{"kind":"invert","valueMap":{"not-mobile":"mobile"}}},{"from":"flip","to":"disableFlip","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","fix":{"kind":"invert"}},{"from":"hasWarning","to":"hasWarnings","since":"3.0.0-beta.26","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"noDataText","to":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"no-data","to":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}}]},
454
+ {"name":"BbSelect","group":"Selection","description":"Selects one or many options from structured data.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbSelect.md","source":"ai/source/BbSelect.md","props":[{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"`true`: on mobile viewports the options open in a bottom sheet, not a popover (desktop keeps the popover). Unset: the global `all.adaptive`."},{"name":"append:icon","type":"string | undefined","required":false,"default":"the chevron-down glyph","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":"A clear button while the field has a value and is interacted with; a single select also clears when its pick is clicked again."},{"name":"comma","type":"boolean | undefined","required":false,"default":"false","description":"Shows the picks as one comma-separated string; no close button to deselect one there."},{"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":"dependencies","type":"unknown[] | undefined","required":false,"description":"Defines an array of dependencies that will trigger actions in the component upon change."},{"name":"depsDebounceTime","type":"number | undefined","required":false,"default":"0","description":"Timeout used to debounce response to changes to dependencies."},{"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":"disableWriting","type":"boolean | \"auto\" | \"mobile\" | \"desktop\" | undefined","required":false,"default":"'auto'","description":"Hides the panel's search field: `true` everywhere, `'mobile'` / `'desktop'` on that platform. `'auto'`, per open: for an array `items` shorter than the plugin's `autoDisableWritingThreshold` (6), never for a provider or with an `option:add` listener."},{"name":"emptyText","type":"string | undefined","required":false,"description":"String displayed when there are no items to display."},{"name":"enforceCoherence","type":"boolean | undefined","required":false,"default":"false","description":"After each successful non-search load, drops the picks the fetched rows lack (a single model goes `null`). A `stash` does not count; a `known-items` value stays until a parent change; a search or failed load never prunes."},{"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":"failedText","type":"string | undefined","required":false,"default":"the localized `common.failedText` (\"Couldn't load items\")","description":"The empty state's text while the latest load FAILED (the provider threw): `emptyText`'s twin for that case."},{"name":"filterBy","type":"false | string[] | undefined","required":false,"default":"[]","description":"What typing filters on: empty = display text and description; item paths = those fields (`['name', 'email']`); `false` = none. Ranked, case- and accent-blind (guide § Search). `false` when the provider matched on the server, or its email matches show \"No results\"."},{"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":"groupBy","type":"string | ((item: T) => string | number | symbol) | undefined","required":false,"description":"Path to item property for grouping options."},{"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":"headerHeight","type":"number | undefined","required":false,"description":"Group header height (px), with `groupBy`: 32 (24 compact; 36 / 32 on mobile viewports). An explicit value wins on every viewport."},{"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":"itemHeight","type":"number | undefined","required":false,"default":"28","description":"Option height (px): 28 (24 compact; 44 / 36 on mobile viewports). An explicit value wins on every viewport."},{"name":"itemProps","type":"BbSelectItemProps<T> | undefined","required":false,"description":"EXTRA row fields, never text or value: `description` (a muted line under the label), `prepend:icon`, `append:icon`. Paths or getters per field, or a function of the item. Nothing is read implicitly; none shows in the trigger or chips."},{"name":"items","type":"T[] | ((context: BbSelectItemsContext) => T[] | Promise<T[]>)","required":true,"description":"The options: an array, or a provider (sync or async) called with a `BbSelectItemsContext` (`query`, `reason`, `modelValue`, `signal`). Branch on `reason !== 'search'` to resolve the selection by id. It fails by THROWING, never by returning `[]`."},{"name":"itemText","type":"ItemAccessor<T, string> | undefined","required":false,"default":"own `label`, else `text`, else `JSON.stringify(item)`","description":"Defines a path that returns a property of the object to use as text or a function that returns a string.\n\nUnset: own `label`, else `text` (`{ label, value }` needs no accessor)."},{"name":"itemValue","type":"ItemAccessor<T> | undefined","required":false,"default":"own `value`, else the whole item","description":"Defines a path that returns a property of the object to use as value or a function that returns any value.\n\nUnset: own `value`, even `null`."},{"name":"knownItems","type":"([Known] extends [undefined] ? BbSelectKnownItems : Known) | undefined","required":false,"description":"`{ value, label }` rows naming the value the app already holds, whatever the options' shape: no request until the first open (`prefill: true` still loads). Not options, so no accessor runs on them; slots get the row as `item`, `known: true`, until the list brings its own."},{"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":"loadingText","type":"string | undefined","required":false,"description":"String displayed while items are being loaded."},{"name":"max","type":"number | undefined","required":false,"description":"Maximum number of selectable items when the multiple flag is set."},{"name":"maxSelectedLabels","type":"number | undefined","required":false,"default":"Infinity","description":"Labels shown before collapsing to a count summary. Unset, they collapse only when they overflow the field."},{"name":"minQueryLength","type":"number | undefined","required":false,"default":"0","description":"Characters to type (trimmed) before the query searches. Below it the query counts as empty: no `'search'` call, no filtering; the panel says how many to type. Slots still get the typed `query`."},{"name":"modelValue","type":"any","required":false,"description":"Used by v-model. Can be any serializable type."},{"name":"modelValueDebounceTime","type":"number | undefined","required":false,"default":"0","description":"Timeout used to debounce response to changes to modelValue."},{"name":"multiple","type":"boolean | undefined","required":false,"default":"false","description":"Allows the selection of multiple items."},{"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` `adaptive` renders), over its defaults. A `pt` inside styles only the sheet (passthrough guide § Inside the sheet)."},{"name":"open","type":"boolean | undefined","required":false,"default":"false","description":"Whether the panel is open (`v-model:open`; `v-model` stays the value). Bound, the app opens and closes it; unbound, the initial state."},{"name":"persistentHint","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the hint displayed."},{"name":"placeholder","type":"string | undefined","required":false,"description":"Text shown in the field while nothing is picked (an empty list has `emptyText`)."},{"name":"prefill","type":"boolean | \"interaction\" | undefined","required":false,"default":"'interaction'","description":"When the options first load: `'interaction'` on first open, `true` on mount, `false` once the user types (on open with `disable-writing`). An array `items` or a seeded model loads at once."},{"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\", \"activator\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"panel\", \"sheet\", \"header\", \"footer\", \"list\", \"groupHeader\", \"option\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"badge\", \"comma\"]; readonly states: readonly [\"hasValue\", \"selected\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly node: { readonly option: readonly [\"selected\"]; readonly itemText: readonly [\"selected\"]; readonly itemIcon: readonly [\"selected\"]; readonly itemDescription: readonly [\"selected\"]; readonly check: readonly [\"selected\"]; }; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"selectVariants\"; readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"activator\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\"]; }; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; label?: PtValue | undefined; prefix?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined; panel?: PtValue | undefined; \"header: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; \"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; \"list:disabled\"?: PtValue | undefined; \"list:loading\"?: PtValue | undefined; \"list:errors\"?: PtValue | undefined; \"list:warnings\"?: PtValue | undefined; \"list:readonly\"?: PtValue | undefined; \"list:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"icon:hasValue\"?: PtValue | undefined; \"description:loading\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:loading\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:loading\"?: PtValue | undefined; \"hint:hasValue\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; \"itemDescription:loading\"?: PtValue | undefined; \"itemDescription:errors\"?: PtValue | undefined; \"itemDescription:warnings\"?: PtValue | undefined; \"itemDescription:readonly\"?: PtValue | undefined; \"itemDescription:hasValue\"?: PtValue | undefined; 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; \"footer:open\"?: PtValue | undefined; activator?: PtValue | undefined; \"header:loading\"?: PtValue | undefined; \"header:errors\"?: PtValue | undefined; \"header:warnings\"?: PtValue | undefined; \"header:readonly\"?: PtValue | undefined; \"header:hasValue\"?: PtValue | undefined; \"activator: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; groupHeader?: PtValue | undefined; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"groupHeader:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"footer:disabled\"?: PtValue | undefined; \"footer:loading\"?: PtValue | undefined; \"itemText:loading\"?: PtValue | undefined; \"groupHeader:disabled\"?: PtValue | undefined; \"groupHeader:loading\"?: PtValue | undefined; \"itemIcon:loading\"?: PtValue | undefined; \"check:loading\"?: PtValue | undefined; \"footer:errors\"?: PtValue | undefined; \"footer:warnings\"?: PtValue | undefined; \"footer:readonly\"?: PtValue | undefined; \"footer:hasValue\"?: PtValue | undefined; \"option:open\"?: PtValue | undefined; \"option:disabled\"?: PtValue | undefined; \"option:loading\"?: PtValue | undefined; \"option:errors\"?: PtValue | undefined; \"option:warnings\"?: PtValue | undefined; \"option:readonly\"?: PtValue | undefined; \"option:hasValue\"?: PtValue | undefined; \"itemText:errors\"?: PtValue | undefined; \"itemText:warnings\"?: PtValue | undefined; \"itemText:readonly\"?: PtValue | undefined; \"itemText:hasValue\"?: PtValue | undefined; \"groupHeader:errors\"?: PtValue | undefined; \"groupHeader:warnings\"?: PtValue | undefined; \"groupHeader:readonly\"?: PtValue | undefined; \"groupHeader:hasValue\"?: PtValue | undefined; \"itemIcon:errors\"?: PtValue | undefined; \"itemIcon:warnings\"?: PtValue | undefined; \"itemIcon:readonly\"?: PtValue | undefined; \"itemIcon:hasValue\"?: PtValue | undefined; \"check:errors\"?: PtValue | undefined; \"check:warnings\"?: PtValue | undefined; \"check:readonly\"?: PtValue | undefined; \"check:hasValue\"?: PtValue | undefined; \"badge:open\"?: PtValue | undefined; \"badge:disabled\"?: PtValue | undefined; \"badge:loading\"?: PtValue | undefined; \"badge:errors\"?: PtValue | undefined; \"badge:warnings\"?: PtValue | undefined; \"badge:readonly\"?: PtValue | undefined; \"badge:hasValue\"?: PtValue | undefined; \"comma:open\"?: PtValue | undefined; \"comma:disabled\"?: PtValue | undefined; \"comma:loading\"?: PtValue | undefined; \"comma:errors\"?: PtValue | undefined; \"comma:warnings\"?: PtValue | undefined; \"comma:readonly\"?: PtValue | undefined; \"comma:hasValue\"?: PtValue | undefined; \"option:selected\"?: PtValue | undefined; } & { option?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; itemDescription?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; itemText?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; itemIcon?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; check?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; badge?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; comma?: PtValue | PtItemFn<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>> | undefined; } & { \"root:outline\"?: PtValue | undefined; \"icon:outline\"?: PtValue | undefined; \"root:secondary\"?: PtValue | undefined; \"icon:secondary\"?: PtValue | undefined; \"spinner:outline\"?: PtValue | undefined; \"spinner:secondary\"?: PtValue | undefined; \"clear:outline\"?: PtValue | undefined; \"clear:secondary\"?: PtValue | undefined; \"root:ghost\"?: PtValue | undefined; \"icon:ghost\"?: PtValue | undefined; \"spinner:ghost\"?: PtValue | undefined; \"label:outline\"?: PtValue | undefined; \"description:outline\"?: PtValue | undefined; \"message:outline\"?: PtValue | undefined; \"hint:outline\"?: PtValue | undefined; \"label:secondary\"?: PtValue | undefined; \"label:ghost\"?: PtValue | undefined; \"prefix:outline\"?: PtValue | undefined; \"prefix:secondary\"?: PtValue | undefined; \"prefix:ghost\"?: PtValue | undefined; \"clear:ghost\"?: PtValue | undefined; \"description:secondary\"?: PtValue | undefined; \"description:ghost\"?: PtValue | undefined; \"message:secondary\"?: PtValue | undefined; \"message:ghost\"?: PtValue | undefined; \"hint:secondary\"?: PtValue | undefined; \"hint:ghost\"?: PtValue | undefined; \"box:outline\"?: PtValue | undefined; \"box:secondary\"?: PtValue | undefined; \"box:ghost\"?: PtValue | undefined; \"suffix:outline\"?: PtValue | undefined; \"suffix:secondary\"?: PtValue | undefined; \"suffix:ghost\"?: PtValue | undefined; \"activator:outline\"?: PtValue | undefined; \"activator:secondary\"?: PtValue | undefined; \"activator:ghost\"?: PtValue | undefined; }) | 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:badge","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:badge:disabled","type":"PtValue | undefined","required":false},{"name":"pt:badge:errors","type":"PtValue | undefined","required":false},{"name":"pt:badge:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:badge:loading","type":"PtValue | undefined","required":false},{"name":"pt:badge:open","type":"PtValue | undefined","required":false},{"name":"pt:badge:readonly","type":"PtValue | undefined","required":false},{"name":"pt:badge: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:check","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:check:disabled","type":"PtValue | undefined","required":false},{"name":"pt:check:errors","type":"PtValue | undefined","required":false},{"name":"pt:check:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:check:loading","type":"PtValue | undefined","required":false},{"name":"pt:check:open","type":"PtValue | undefined","required":false},{"name":"pt:check:readonly","type":"PtValue | undefined","required":false},{"name":"pt:check:selected","type":"PtValue | undefined","required":false},{"name":"pt:check: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:comma","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:comma:disabled","type":"PtValue | undefined","required":false},{"name":"pt:comma:errors","type":"PtValue | undefined","required":false},{"name":"pt:comma:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:comma:loading","type":"PtValue | undefined","required":false},{"name":"pt:comma:open","type":"PtValue | undefined","required":false},{"name":"pt:comma:readonly","type":"PtValue | undefined","required":false},{"name":"pt:comma: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:footer","type":"PtValue | undefined","required":false},{"name":"pt:footer:disabled","type":"PtValue | undefined","required":false},{"name":"pt:footer:errors","type":"PtValue | undefined","required":false},{"name":"pt:footer:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:footer:loading","type":"PtValue | undefined","required":false},{"name":"pt:footer:open","type":"PtValue | undefined","required":false},{"name":"pt:footer:readonly","type":"PtValue | undefined","required":false},{"name":"pt:footer:warnings","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:disabled","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:errors","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:loading","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:open","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:readonly","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader: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: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:readonly","type":"PtValue | undefined","required":false},{"name":"pt:input:warnings","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:itemDescription:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:errors","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:open","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:readonly","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:warnings","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:itemIcon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:errors","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:open","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:readonly","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:warnings","type":"PtValue | undefined","required":false},{"name":"pt:itemText","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:itemText:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemText:errors","type":"PtValue | undefined","required":false},{"name":"pt:itemText:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:itemText:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemText:open","type":"PtValue | undefined","required":false},{"name":"pt:itemText:readonly","type":"PtValue | undefined","required":false},{"name":"pt:itemText:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemText: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:list","type":"PtValue | undefined","required":false},{"name":"pt:list:disabled","type":"PtValue | undefined","required":false},{"name":"pt:list:errors","type":"PtValue | undefined","required":false},{"name":"pt:list:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:list:loading","type":"PtValue | undefined","required":false},{"name":"pt:list:open","type":"PtValue | undefined","required":false},{"name":"pt:list:readonly","type":"PtValue | undefined","required":false},{"name":"pt:list: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:option","type":"PtValue | ((ctx: PtItemCtx<T, BbSelectPtState, never, BbSelectSlotRow<T, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:option:disabled","type":"PtValue | undefined","required":false},{"name":"pt:option:errors","type":"PtValue | undefined","required":false},{"name":"pt:option:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:option:loading","type":"PtValue | undefined","required":false},{"name":"pt:option:open","type":"PtValue | undefined","required":false},{"name":"pt:option:readonly","type":"PtValue | undefined","required":false},{"name":"pt:option:selected","type":"PtValue | undefined","required":false},{"name":"pt:option: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":"query","type":"string | undefined","required":false,"description":"The search field's text (`v-model:query`): raw per keystroke, `''` when the component empties it; a write searches at once (guide § Reading and restoring the search)."},{"name":"queryDebounceTime","type":"number | undefined","required":false,"default":"500","description":"Time to wait when the user stops writing in the input before querying data."},{"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<any>","required":false,"description":"vee-validate rules for this field. Only inside a `BbForm`."},{"name":"selectable","type":"boolean | ((item: T) => boolean) | undefined","required":false,"default":"true","description":"Defines whether options are selectable. Can be a global boolean that affects all options or a function that accepts an item and returns a boolean that only affects that item. Non-selectable options are rendered disabled."},{"name":"selectedLabelsFn","type":"((count: number) => string) | undefined","required":false,"description":"The text shown when the selected labels outnumber `maxSelectedLabels`."},{"name":"stash","type":"boolean | undefined","required":false,"default":"false","description":"Keeps picks named (chips keep their text) when a later search or failed load stops returning them. It follows the model; it does not keep a pick valid (`enforce-coherence` still prunes it)."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"How long the transition has to last in milliseconds."},{"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<SelectVariantRegistry> | undefined","required":false,"default":"'outline'","values":["outline","secondary","none","ghost"],"description":"The field box's look: `BbButton`'s names and tokens, colours only (a form never reflows). `'ghost'` has no border in any state; `'none'` no look at all (you own hover, focus, states). More via the plugin's `components.BbSelect.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 select becomes active (focus enters it)."},{"name":"blur","signature":"(event: FocusEvent): void","description":"Emitted when the activator loses focus. Forwards the original DOM `FocusEvent`."},{"name":"change","signature":"(event: Event): void","description":"Emitted on the native `change` event. Forwards the original DOM `Event`."},{"name":"click","signature":"(event: MouseEvent): void","description":"Emitted when the activator is clicked. Forwards the original DOM `MouseEvent`."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when the activator receives focus. Forwards the original DOM `FocusEvent`."},{"name":"hidden","signature":"(): void","description":"Emitted once the options surface has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the options surface starts to close."},{"name":"inactive","signature":"(): void","description":"Emitted when focus moves outside the whole select after it was active."},{"name":"input","signature":"(event: Event): void","description":"Emitted on native `input` events from the search field. Forwards the DOM `Event`."},{"name":"option:add","signature":"(text: string): void","description":"The typed text, when the user confirms a value not in the list (Enter in the search field). Binding it keeps the field writable: the select is creatable."},{"name":"show","signature":"(): void","description":"Emitted as soon as the options surface starts to open (the popover, or the sheet on a phone)."},{"name":"shown","signature":"(): void","description":"Emitted once the options surface is open and its open transition has finished."},{"name":"update:modelValue","signature":"(value: any): void","description":"Emitted with the new value whenever `v-model` changes."},{"name":"update:open","signature":"(value: boolean): void","description":"The panel opened or closed (`v-model:open`)."},{"name":"update:query","signature":"(value: string): void","description":"`v-model:query`: the search field's text."}],"slots":[{"name":"append","type":"{ query: string; focus: () => void; close: () => Promise<void>; }","description":"Content appended inside the input field, after the value area."},{"name":"append:outer","type":"{ query: string; close: () => Promise<void>; }","description":"Content appended outside the input field wrapper."},{"name":"chip","type":"BbSelectChipSlotProps<T, Known>","fields":["known: boolean","item: BbSelectKnownItem | T","text: string","value: any","disabled: boolean","deselect: () => void"],"description":"Each selection's badge with `multiple` (not in `comma` mode, nor the \"+N\" summary). With `known-items`, `item` is the known `{ value, label }` row (`known: true`) until the list brings the real one."},{"name":"description","type":"BbSelectDescriptionSlotProps","fields":["text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the description text; alone (no `description` prop) it still renders the region, wired into `aria-describedby`."},{"name":"empty","type":"{ query: string; focus: () => void; close: () => Promise<void>; }","description":"Shown when no option matches the query or the list is empty; a failed load shows the failure row instead (`failed-text`, \"Try again\"). `close()` closes the panel, for an action that keeps focus in it."},{"name":"footer","type":"BbSelectPanelSlotProps","fields":["close: () => Promise<void>","clear: () => void","empty: boolean","focus: () => void","query: string","selectedOptions: BbSelectResolvedOption[]"],"description":"Pinned under the options list, on the popover and the phone sheet alike."},{"name":"group","type":"BbSelectGroupSlotProps<T>","fields":["text: string","item: T","index: number","length: number","disabled: boolean"],"description":"Each group heading's content (`pt:group-header` styles its box). Not called for rows with no group (`group-by` gives `null`/`undefined`, known rows): they are listed without one."},{"name":"header","type":"BbSelectPanelSlotProps","fields":["close: () => Promise<void>","clear: () => void","empty: boolean","focus: () => void","query: string","selectedOptions: BbSelectResolvedOption[]"],"description":"Pinned atop the options panel, above the search field, on the popover and the phone sheet alike."},{"name":"label","type":"BbSelectLabelSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default label text rendered above the input."},{"name":"loading","type":"{ query: string; }","description":"Content shown inside the options dropdown while items are loading."},{"name":"option","type":"BbSelectOptionSlotProps<T, Known>","fields":["known: boolean","item: BbSelectKnownItem | T","disabled: boolean","focused: boolean","index: number","hasErrors?: boolean","loading: boolean","selected: boolean","text: string","value: any","description: string"],"description":"Each option row's content. With `known-items`, a row the list has not brought yet is the known `{ value, label }` row (`known: true`): check `known` before reading an option field off `item`."},{"name":"prefix","type":"object","description":"Content rendered as an inline prefix inside the input field."},{"name":"prepend","type":"{ query: string; focus: () => void; close: () => Promise<void>; }","description":"Content prepended inside the input field, before the value area."},{"name":"prepend:outer","type":"{ query: string; close: () => Promise<void>; }","description":"Content prepended outside the input field wrapper."},{"name":"suffix","type":"object","description":"Content rendered as an inline suffix inside the input field."}],"exposed":[],"models":[{"name":"modelValue","type":"any"},{"name":"open","type":"boolean | undefined"},{"name":"query","type":"string | undefined"}],"cssProps":[{"name":"--compensation-multiplier","value":"0.3","selector":".bb-select__field","description":"Fraction of the shell's inner padding the chips row is pulled back by when no prepend icon precedes it (see the negative margin below)."},{"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 (label, box, the lines under it); a `class` on the component lands here. The options surface is `panel`."},{"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":"activator","description":"The button that opens the options: the field's control, not a text field (`data-test` fits, `autocomplete` does not). The chevron is chrome. `activator`, not the family's `input`: the field is a button, as the date / time inputs' trigger."},{"name":"input","description":"The options surface's search field, when shown (see `disable-writing`): the `BbSelectPopover`'s `pt:input`. Its ✕ is chrome."},{"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 field's ✕ that empties the selection (`clearable`): one node, never a chip's ✕."},{"name":"panel","description":"The options surface — the popover's painted bubble on desktop, the sheet itself on a phone."},{"name":"sheet","description":"The bottom sheet the options open in on a phone only."},{"name":"header","description":"The band around your `#header` slot: atop the flyout, the sheet's header on a phone."},{"name":"footer","description":"The band around your `#footer` slot: under the flyout's list, the sheet's footer on a phone."},{"name":"list","description":"The `role=\"listbox\"` node holding the options. Virtualised: the list writes its height and places its rows, which limits layout utilities there. A group's box and the chips are not parts."},{"name":"groupHeader","description":"Every `groupBy` heading (sticky). `#group` replaces its content."},{"name":"option","description":"One listbox option — a broadcast resolved per option. Also takes a per-item function, called with the option's raw item."},{"name":"itemText","description":"An option's label — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function."},{"name":"itemIcon","description":"An option's prepend / append icons (`itemProps`) — resolved with that option's states. Also takes a per-item function."},{"name":"itemDescription","description":"An option's second line (its description) — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function."},{"name":"check","description":"The tick at a chosen option's end (on every option, drawn on the chosen). A custom `#option` slot keeps it; `pt:check=\"hidden\"` removes it, sparing your slot's glyph. Also takes a per-item function."},{"name":"badge","description":"Each selected value's `BbBadge` root with `multiple`, per value, in the field and on the phone sheet. Its ✕ is chrome, never `clear`. The field has none under `#chip` or `comma`; the sheet's chips are always badges."},{"name":"comma","description":"Each selected value with `multiple` and `comma` — a broadcast resolved per value."}],"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 `option`, its `item-*` parts and `check`: a chosen option."},{"name":"readonly","description":"Component-wide: the control is `readonly` — shown, focusable, not editable."},{"name":"disabled","description":"Component-wide while the select is `disabled`; also per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: all its group's options are."},{"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 options surface is showing."},{"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":"badge","target":"CommonField"},{"part":"activator","target":"input.bb-select__activator"},{"part":"badge","target":"input.bb-select__activator"},{"part":"comma","target":"span.bb-select__comma"},{"part":"badge","target":"span.bb-select__comma"},{"part":"badge","target":"BbBadge"},{"part":"controlAttrs","target":"input"},{"part":"badge","target":"input"}],"forwards":[{"to":"BbSelectPopover","mapping":"{ panel: 'panel', sheet: 'sheet', header: 'header', footer: 'footer', input: 'input', list: 'list', groupHeader: 'groupHeader', option: 'option', itemText: 'itemText', itemIcon: 'itemIcon', itemDescription: 'itemDescription', check: 'check' }"}],"nodes":[{"name":"CommonField","kind":"internal","vocabulary":"BbSelect","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},{"name":"CommonFieldInput","kind":"internal","vocabulary":"BbSelect","bindings":[{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"icon","target":"BbIcon"},{"part":"clear","target":"ClearableButton"},{"part":"spinner","target":"BbSpinner"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"cssProps":[{"name":"--bg","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--bg-hover","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-disabled","documented":true,"readBy":["bb-field-input__box"]},{"name":"--fg-disabled","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix","bb-field-input__prepend-icon","bb-field-input__append-icon"]},{"name":"--border-color","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--border-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-size","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-color","documented":true,"readBy":["bb-field-input__box"]},{"name":"--elev","documented":true,"readBy":["bb-field-input__box"]},{"name":"--frost","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ph","documented":true},{"name":"--inside-label-clearance","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix"]},{"name":"--ring-t","documented":false,"readBy":["bb-field-input__box"]}],"children":[{"name":"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":"BbBadge","kind":"public"},{"name":"BbSelectPopover","kind":"public"}]},"css":{"classes":{"bb-select":["","__activator","__badge","__chips-row","__chips-row--chips","__chips-row--hidden","__comma","__display-value","__field","__field--disabled","__field--readonly","__field--shown","__max-reached","__placeholder","__value"]},"locals":["--color-gray-200","--compensation-multiplier","--ph"],"surface":{"stable":[{"class":"bb-select","tag":"CommonField","part":"root"},{"class":"bb-select__activator","tag":"input","part":"activator"},{"class":"bb-select__badge","tag":"BbBadge","part":"badge"},{"class":"bb-select__comma","tag":"span","part":"comma"},{"class":"bb-select__field--readonly","tag":"CommonFieldInput","state":"readonly"},{"class":"bb-select__field--disabled","tag":"CommonFieldInput","state":"disabled"}],"internal":[{"class":"bb-select__chips-row","tag":"span"},{"class":"bb-select__chips-row--chips","tag":"span","reads":["--compensation-multiplier"]},{"class":"bb-select__chips-row--hidden","tag":"span"},{"class":"bb-select__display-value","tag":"span"},{"class":"bb-select__field","tag":"CommonFieldInput"},{"class":"bb-select__field--shown","tag":"CommonFieldInput"},{"class":"bb-select__max-reached","tag":"span"},{"class":"bb-select__placeholder","tag":"span","reads":["--ph"]},{"class":"bb-select__value","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":"prefix","target":"span.bb-field-input__prefix"},{"part":"suffix","target":"span.bb-field-input__suffix"},{"part":"clear","target":"ClearableButton"}],"unaligned":{"parts":["label","input","panel","sheet","header","footer","list","groupHeader","option","itemText","itemIcon","itemDescription","check"],"states":["hasValue","selected","warnings","errors","open","loading","ghost","outline","secondary"]}}},"attrTargets":["div","input"],"config":"labelMode*, validationMode*, autocomplete*, compact*, layout*, reverse*, adaptive*, variants","removed":[{"name":"allowWriting","new":"disableWriting","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select.md","silent":true,"fix":{"kind":"invert","valueMap":{"not-mobile":"mobile"}}},{"name":"showChevron","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select.md","silent":true,"fix":{"kind":"remove"}},{"name":"updateOnAnimationFrame","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select.md","silent":true,"fix":{"kind":"remove"}},{"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-select.md","silent":true,"fix":{"kind":"rename"}},{"name":"noDataText","new":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"no-data","new":"empty","surface":"slot","since":"3.0.0-beta.41","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":"allowWriting","to":"disableWriting","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select.md","fix":{"kind":"invert","valueMap":{"not-mobile":"mobile"}}},{"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-select.md","fix":{"kind":"rename"}},{"from":"noDataText","to":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"no-data","to":"empty","surface":"slot","since":"3.0.0-beta.41","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"}]},
455
+ {"name":"BbSelectPopover","group":"Selection","description":"Provides popover-driven option selection and search.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbSelectPopover.md","source":"ai/source/BbSelectPopover.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 event listeners are attached programmatically to the referenced element."},{"name":"adaptive","type":"boolean | undefined","required":false,"default":"`all.adaptive` (`true`)","description":"On mobile, the panel opens as a bottom sheet instead of a floating popover, with the same search and list. Unset, the global `all.adaptive` applies."},{"name":"anchor","type":"ElementOrComponentRef | undefined","required":false,"default":"null","description":"Override the element used for popover positioning and width measurement. Useful when the focusable activator is narrower than its visual container (e.g. a button inside a wrapper). Falls back to `activatorEl` when omitted."},{"name":"ariaDescribedby","type":"string | string[] | undefined","required":false,"description":"Space-separated IDREF(s) that describe this field for assistive technologies. Accepts either a string or array of ids."},{"name":"ariaInvalid","type":"boolean | undefined","required":false,"default":"undefined","description":"Explicit invalid state for accessibility semantics. Falls back to `hasErrors` when not provided."},{"name":"autocomplete","type":"string | undefined","required":false,"default":"\"off\"","description":"Browser autocomplete hint for the popover search input."},{"name":"boundary","type":"ElementOrComponentRefOrSelector | undefined","required":false,"description":"An element the popover stays inside alongside its trigger (sideways for one above or below). Away from the trigger it may pass the edge, and it flips at the viewport only."},{"name":"clearable","type":"boolean | undefined","required":false,"default":"false","description":"Shows a clear button in the search field, in the lens' place while there is a query or a selection; it resets both. None without a search field. Leave it off when the activator already clears (as BbSelect's does)."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Apply the compact density variant."},{"name":"dependencies","type":"unknown[] | undefined","required":false,"default":"[]","description":"Additional dependencies that trigger item reloading when changed."},{"name":"depsDebounceTime","type":"number | undefined","required":false,"default":"0","description":"Debounce delay (ms) for dependency-triggered reloads."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the component."},{"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":"disableWriting","type":"boolean | \"auto\" | \"mobile\" | \"desktop\" | undefined","required":false,"default":"'auto'","description":"Hides the panel's search field: `true` everywhere, `'mobile'` / `'desktop'` on that platform only. `'auto'` hides it, per open, for an array `items` shorter than the plugin's `autoDisableWritingThreshold` (6); never for a provider or with an `option:add` listener."},{"name":"emptyText","type":"string | undefined","required":false,"description":"Message displayed when no items are available."},{"name":"enforceCoherence","type":"boolean | undefined","required":false,"default":"false","description":"Drops the picks the items no longer contain (single: `null`). Checked after every applied, successful load whose `reason` is not `'search'` (an empty one included), against the FETCHED rows only (a `stash` does not count); a search or failed load never prunes."},{"name":"failedText","type":"string | undefined","required":false,"default":"the localized `common.failedText` (\"Couldn't load items\")","description":"Message displayed in the empty state while the latest load FAILED (the provider threw): the twin of `emptyText` for that case."},{"name":"filterBy","type":"false | string[] | undefined","required":false,"default":"[]","description":"What typing filters on: empty = the display text and description; item paths = those fields (`['name', 'email']`); `false` = no filtering. Use `false` when the provider matched the query on the server, or its email matches show as \"No results\"."},{"name":"groupBy","type":"string | ((item: Item) => string | number | symbol) | undefined","required":false,"description":"Path to item property for grouping options."},{"name":"hasErrors","type":"boolean | undefined","required":false,"default":"false","description":"Marks the component as being in error state."},{"name":"hasWarnings","type":"boolean | undefined","required":false,"default":"false","description":"Marks the component as being in a warning state. Visually mirrors `hasErrors` but uses `--bb-warn` chrome; errors take priority when both are set."},{"name":"headerHeight","type":"number | undefined","required":false,"description":"Height of group headers in the listbox (px). Defaults to 32px (24px compact; 36px / 32px on mobile viewports). Only applies when `groupBy` is set. An explicit value wins on every viewport."},{"name":"id","type":"string | undefined","required":false,"description":"Seeds the ids the popover sets: its listbox is `<id>_listbox` (the activator's `aria-controls`) and each option's id derives from it. Generated when omitted."},{"name":"itemHeight","type":"number | undefined","required":false,"default":"28","description":"Height of the options in the listbox (px). Defaults to 28px (24px compact; 44px / 36px on mobile viewports). An explicit value wins on every viewport."},{"name":"itemProps","type":"BbSelectItemProps<Item> | undefined","required":false,"description":"ADDITIONAL row fields, never the text or value: `description` (a muted line under the label), `prepend:icon`, `append:icon`. An object of paths or getters per field, or a function of the item. Nothing is read implicitly; none shows in the trigger or the chips."},{"name":"items","type":"Item[] | ((context: BbSelectPopoverItemsContext) => Item[] | Promise<Item[]>)","required":true,"default":"[]","description":"The options: an array, or a sync or async provider given a `BbSelectPopoverItemsContext` (`query`, `reason`, `modelValue`, `signal`). Branch on `reason !== 'search'` to resolve the selection by id. A provider fails by THROWING, never by returning `[]`."},{"name":"itemText","type":"ItemAccessor<Item, string> | undefined","required":false,"default":"own `label`, else `text`, else `JSON.stringify(item)`","description":"Path to item property for display text or function to extract it.\n\nUnset: own `label`, else `text` (`{ label, value }` needs no accessor)."},{"name":"itemValue","type":"ItemAccessor<Item> | undefined","required":false,"default":"own `value`, else the whole item","description":"Path to item property for value or function to extract it.\n\nUnset: own `value`, even `null`."},{"name":"knownItems","type":"([Known] extends [undefined] ? BbSelectKnownItems : Known) | undefined","required":false,"description":"`{ value, label }` rows naming the value the app already holds, whatever the options' shape: the activator's `text` with no request until the first open (`prefill: true` still loads). Not options: accessors never run on them; slots get one as `item`, `known: true`, until the list brings its own."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Display the loading state styles."},{"name":"loadingText","type":"string | undefined","required":false,"description":"Message shown while items are being loaded."},{"name":"max","type":"number | undefined","required":false,"default":"Infinity","description":"Maximum number of selectable items (limits selection when `multiple` is true)."},{"name":"minQueryLength","type":"number | undefined","required":false,"default":"0","description":"Characters to type (trimmed) before the query searches. Below it the query counts as empty: no `'search'` call, no filtering, and the panel says how many characters to type. Slots still get the typed `query`."},{"name":"modelValue","type":"any","required":true,"description":"v-model value. Single value for single select, array for multiple select."},{"name":"modelValueDebounceTime","type":"number | undefined","required":false,"default":"0","description":"Debounce delay (ms) for modelValue change handling."},{"name":"multiple","type":"boolean | undefined","required":false,"default":"false","description":"Enable multiple item selection. When true, modelValue must be an array."},{"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":"offset","type":"number | undefined","required":false,"default":"4","description":"Distance (px) between the activator and the popover."},{"name":"open","type":"boolean | undefined","required":false,"default":"false","description":"Whether the panel is open (`v-model:open`; `v-model` stays the value). Bound, the app opens and closes it; unbound, the initial state."},{"name":"padding","type":"number | undefined","required":false,"default":"10","description":"Minimum page padding used by floating shift middleware."},{"name":"placement","type":"Placement | undefined","required":false,"default":"\"bottom\"","values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end"],"description":"Floating placement of the popover."},{"name":"prefill","type":"boolean | \"interaction\" | undefined","required":false,"default":"\"interaction\"","description":"When the options first load: `'interaction'` on first open, `true` on mount (and in SSR), `false` once the user types (on open with `disable-writing` or a non-empty model). An array `items` always resolves on mount; else a seeded model's text waits for the first open."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"input\", \"clear\", \"list\", \"groupHeader\", \"option\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"header\", \"footer\"]; readonly states: readonly [\"selected\", \"disabled\", \"open\"]; readonly wide: readonly [\"open\"]; readonly node: { readonly option: readonly [\"selected\", \"disabled\"]; readonly itemText: readonly [\"selected\", \"disabled\"]; readonly itemIcon: readonly [\"selected\", \"disabled\"]; readonly itemDescription: readonly [\"selected\", \"disabled\"]; readonly check: readonly [\"selected\", \"disabled\"]; readonly groupHeader: readonly [\"disabled\"]; }; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; clear?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; sheet?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"clear:open\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"footer:open\"?: PtValue | undefined; groupHeader?: PtValue | undefined; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"groupHeader:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"groupHeader:disabled\"?: PtValue | undefined; \"option:open\"?: PtValue | undefined; \"option:disabled\"?: PtValue | undefined; \"option:selected\"?: PtValue | undefined; } & { option?: PtValue | PtItemFn<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>> | undefined; itemDescription?: PtValue | PtItemFn<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>> | undefined; itemText?: PtValue | PtItemFn<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>> | undefined; itemIcon?: PtValue | PtItemFn<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>> | undefined; check?: PtValue | PtItemFn<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>> | 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:check","type":"PtValue | ((ctx: PtItemCtx<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:check:disabled","type":"PtValue | undefined","required":false},{"name":"pt:check:open","type":"PtValue | undefined","required":false},{"name":"pt:check:selected","type":"PtValue | undefined","required":false},{"name":"pt:clear","type":"PtValue | undefined","required":false},{"name":"pt:clear:open","type":"PtValue | undefined","required":false},{"name":"pt:footer","type":"PtValue | undefined","required":false},{"name":"pt:footer:open","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:disabled","type":"PtValue | undefined","required":false},{"name":"pt:groupHeader:open","type":"PtValue | undefined","required":false},{"name":"pt:header","type":"PtValue | undefined","required":false},{"name":"pt:header:open","type":"PtValue | undefined","required":false},{"name":"pt:input","type":"PtValue | undefined","required":false},{"name":"pt:input:open","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription","type":"PtValue | ((ctx: PtItemCtx<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:itemDescription:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:open","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon","type":"PtValue | ((ctx: PtItemCtx<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:itemIcon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:open","type":"PtValue | undefined","required":false},{"name":"pt:itemIcon:selected","type":"PtValue | undefined","required":false},{"name":"pt:itemText","type":"PtValue | ((ctx: PtItemCtx<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:itemText:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemText:open","type":"PtValue | undefined","required":false},{"name":"pt:itemText:selected","type":"PtValue | undefined","required":false},{"name":"pt:list","type":"PtValue | undefined","required":false},{"name":"pt:list:open","type":"PtValue | undefined","required":false},{"name":"pt:option","type":"PtValue | ((ctx: PtItemCtx<Item, BbSelectPopoverPtState, never, BbSelectSlotRow<Item, Known>>) => PtItemResult) | undefined","required":false},{"name":"pt:option:disabled","type":"PtValue | undefined","required":false},{"name":"pt:option:open","type":"PtValue | undefined","required":false},{"name":"pt:option:selected","type":"PtValue | undefined","required":false},{"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":"query","type":"string | undefined","required":false,"description":"The search field's text (`v-model:query`): raw per keystroke, `''` when the component empties it; a write searches at once (guide § Reading and restoring the search)."},{"name":"queryDebounceTime","type":"number | undefined","required":false,"default":"500","description":"Debounce delay (ms) before triggering search queries after user input stops."},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Prevents opening the popover while keeping the activator accessible."},{"name":"searchInputAriaLabel","type":"string | undefined","required":false,"default":"`t('select.searchLabel')` (`'Search options'`)","description":"Accessible label used by the search input rendered inside the popover. Falls back to the localized `select.searchLabel` key when omitted."},{"name":"selectable","type":"boolean | ((item: Item) => boolean) | undefined","required":false,"default":"true","description":"Defines whether options are selectable. Can be a global boolean that affects all options or a function that accepts an item and returns a boolean that only affects that item. Non-selectable options are rendered disabled."},{"name":"stash","type":"boolean | undefined","required":false,"default":"false","description":"Keeps picked options named across searches: a pick stays resolvable when a later search or a failed load no longer returns it. It follows the model, and does not keep a pick valid: `enforce-coherence` still prunes it."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"Transition duration (ms) for popover show/hide animations."},{"name":"width","type":"string | number | undefined","required":false,"default":"\"200\"","description":"Width of the popover: a bare number or `'200'` is pixels, else a CSS width, a percentage or `'auto'`. The default is the string `'200'`."}],"events":[{"name":"active","signature":"(): void","description":"Emitted when the component becomes active (focus enters it)."},{"name":"blur","signature":"(event: FocusEvent): void","description":"Emitted when the activator loses focus."},{"name":"change","signature":"(event: Event): void","description":"Emitted when the value changes via native change event."},{"name":"click","signature":"(event: MouseEvent): void","description":"Emitted when the activator is clicked."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when the activator receives focus."},{"name":"hidden","signature":"(): void","description":"Emitted once the options surface has finished closing."},{"name":"hide","signature":"(): void","description":"Emitted as soon as the options surface starts to close."},{"name":"inactive","signature":"(): void","description":"Emitted when focus moves outside the entire component after it was active."},{"name":"input","signature":"(event: Event): void","description":"Emitted on native input events from the search input."},{"name":"option:add","signature":"(text: string): void","description":"Emitted when the user types a new value and confirms it (Enter key) while writing is enabled (i.e. `disableWriting` does not suppress the search input for the current surface)."},{"name":"show","signature":"(): void","description":"Emitted as soon as the options surface starts to open (the popover, or the sheet on a phone)."},{"name":"shown","signature":"(): void","description":"Emitted once the options surface is open and its open transition has finished."},{"name":"update:modelValue","signature":"(value: any): void","description":"Emitted with the next selection value whenever selection changes."},{"name":"update:open","signature":"(value: boolean): void","description":"The panel opened or closed (`v-model:open`)."},{"name":"update:query","signature":"(value: string): void","description":"`v-model:query`: the search field's text."}],"slots":[{"name":"activator","type":"BbSelectPopoverActivatorSlotProps","fields":["clear: () => void","close: () => Promise<void>","focus: () => void","disabled: boolean","loading: boolean","open: () => Promise<void>","props: { ref: (reference: unknown) => void; }","query: string","readonly: boolean","selectedOptions: BbSelectResolvedOption<any>[]","shown: boolean","text: string","toggle: () => Promise<void>"],"description":"Replaces the default trigger element that opens the select popover."},{"name":"empty","type":"{ query: string; focus: () => void; close: () => Promise<void>; }","description":"Content shown when no options match the query or the list is empty. Empty only: a failed load shows the library's failure row instead (its message is `failed-text`, and it ends with \"Try again\"). `close()` closes the panel, for an action that does not move focus out of it."},{"name":"footer","type":"BbSelectPopoverPanelSlotProps","fields":["close: () => Promise<void>","clear: () => void","empty: boolean","focus: () => void","query: string","selectedOptions: BbSelectResolvedOption<any>[]","titleId: string"],"description":"Content pinned to the bottom of the panel, below the options list. Rendered in both the desktop popover and the adaptive sheet."},{"name":"group","type":"BbSelectPopoverGroupSlotProps<Item>","fields":["disabled: boolean","index: number","item: Item","length: number","text: string"],"description":"Replaces the default group header rendered above grouped options. Not called for rows with no group (`group-by` gives `null`/`undefined`, known rows): they are listed without a header."},{"name":"header","type":"BbSelectPopoverPanelSlotProps","fields":["close: () => Promise<void>","clear: () => void","empty: boolean","focus: () => void","query: string","selectedOptions: BbSelectResolvedOption<any>[]","titleId: string"],"description":"Content pinned to the top of the panel, above the search field. Rendered in both the desktop popover and the adaptive sheet."},{"name":"loading","type":"{ query: string; }","description":"Content shown inside the options dropdown while items are loading."},{"name":"option","type":"BbSelectPopoverOptionSlotProps<Item, Known>","fields":["known: boolean","item: BbSelectKnownItem | Item","disabled: boolean","focused: boolean","index: number","loading: boolean","selected: boolean","text: string","value: any","description: string"],"description":"Replaces the default rendering of each option row in the dropdown. With `known-items` bound, a row the list has not brought yet is the known `{ value, label }` row, `known: true`: check `known` before reading an option field off `item`."}],"exposed":[],"models":[{"name":"modelValue","type":"any"},{"name":"open","type":"boolean | undefined"},{"name":"query","type":"string | undefined"}],"cssProps":[{"name":"--bg","value":"var(--bb-panel)","selector":".bb-listbox__outer-container"},{"name":"--min-size","value":"2.125rem","selector":".bb-select-popover__sheet-chip"},{"name":"--px","value":"0.75rem","selector":".bb-select-popover__sheet-chip"},{"name":"--clear-size","value":"1.25rem","selector":".bb-select-popover__sheet-chip"}],"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 options surface you see — the popover's painted bubble on desktop, the sheet itself on a phone."},{"name":"sheet","description":"The bottom sheet the surface becomes on a phone (the `BbOffCanvas` root) — never the desktop surface. Applied after `panel`, so it wins a conflict there."},{"name":"input","description":"The search field."},{"name":"clear","description":"The ✕ that empties the search field."},{"name":"list","description":"The `role=\"listbox\"` node holding the options. Virtualised: the list writes its height and places its rows, which limits layout utilities there. A group's box and the chips are not parts."},{"name":"groupHeader","description":"Every `groupBy` heading (sticky). `#group` replaces its content."},{"name":"option","description":"One listbox option — a broadcast resolved per option. Also takes a per-item function, called with the option's raw item."},{"name":"itemText","description":"An option's label — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function."},{"name":"itemIcon","description":"An option's prepend / append icons (`itemProps`) — resolved with that option's states. Also takes a per-item function."},{"name":"itemDescription","description":"An option's second line (its description) — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function."},{"name":"check","description":"The tick at a chosen option's end (on every option, drawn on the chosen). A custom `#option` slot keeps it; `pt:check=\"hidden\"` removes it, sparing your slot's glyph. Also takes a per-item function."},{"name":"header","description":"The flyout's header band."},{"name":"footer","description":"The flyout's footer band."}],"states":[{"name":"selected","description":"Per node, on `option`, its `item-*` parts and `check`: a chosen option."},{"name":"disabled","description":"Per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: every option of its group is."},{"name":"open","description":"Component-wide: the options surface is showing."}]},"tree":{"bindings":[{"part":"input","target":"input.bb-select-popover__input"},{"part":"clear","target":"ClearableButton"},{"part":"panel","target":"CommonPopover"},{"part":"root","target":"CommonPopover"},{"part":"header","target":"div.bb-select-popover__header"},{"part":"footer","target":"div.bb-select-popover__footer"}],"forwards":[{"to":"BbOffCanvas","mapping":"{ header: 'header', footer: 'footer', panel: 'root', sheet: 'root' }"}],"nodes":[{"name":"BbBadge","kind":"public"},{"name":"BbIcon","kind":"public"},{"name":"BbOffCanvas","kind":"public"},{"name":"ClearableButton","kind":"internal","children":[{"name":"BbIcon","kind":"public"}]},{"name":"CommonPopover","kind":"internal"},{"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":"ListBox","kind":"internal","children":[{"name":"FlatListBox","kind":"internal","vocabulary":"BbSelectPopover","bindings":[{"part":"list","target":"span.bb-listbox__list"},{"part":"option","target":"span.bb-listbox__option"},{"part":"itemIcon","target":"BbIcon"},{"part":"itemText","target":"span.bb-listbox__item-text"},{"part":"itemDescription","target":"span.bb-listbox__item-description"},{"part":"check","target":"BbIcon"}],"children":[{"name":"BbIcon","kind":"public"},{"name":"ErrorIcon","kind":"internal","repeated":true}]},{"name":"GroupedListBox","kind":"internal","vocabulary":"BbSelectPopover","bindings":[{"part":"list","target":"span.bb-listbox__list"},{"part":"groupHeader","target":"span.bb-listbox__group-header"},{"part":"option","target":"span.bb-listbox__option"},{"part":"itemIcon","target":"BbIcon"},{"part":"itemText","target":"span.bb-listbox__item-text"},{"part":"itemDescription","target":"span.bb-listbox__item-description"},{"part":"check","target":"BbIcon"}],"children":[{"name":"BbIcon","kind":"public"},{"name":"ErrorIcon","kind":"internal","repeated":true}]}]},{"name":"BbSmoothHeight","kind":"public"}]},"css":{"classes":{"bb-listbox":["","--compact","--described","--empty","--grouped","--loading","--multiple","--open","__create","__create-query","__empty","__failed","__failed--divided","__failed-icon","__failed-text","__group","__group-header","__group-header-label","__inner-container","__item-description","__item-icon","__item-text","__list","__loading","__loading--below","__option","__option--disabled","__option--focused","__option--selected","__option-append-icon","__option-check","__option-check--own","__option-content","__option-prepend-icon","__outer-container","__status"],"bb-select-known-items":[""],"bb-select-popover":["","--clearable-active","--compact","--errors","--loading","--reloading","--sheet","--warnings","__clear","__focus-proxy","__footer","__header","__input","__panel","__search-container","__search-error-icon","__search-icon","__search-strip","__search-warning-icon","__sheet","__sheet-chip","__sheet-chips","__sheet-selection"],"bb-select-popover-escape":[""],"bb-select-reclick-clears":[""],"bb-select-sheet-chip-attrs":[""]},"locals":["--bg","--close-size","--color-gray-200","--group-header-height","--option-font-size","--option-h","--option-height","--py","--transition-duration","--w"],"surface":{"stable":[{"class":"bb-select-popover","tag":"CommonPopover","part":"root","reads":["--w"]},{"class":"bb-select-popover__panel","part":"panel"},{"class":"bb-select-popover__sheet","tag":"BbOffCanvas","part":"sheet"},{"class":"bb-select-popover__input","tag":"input","part":"input"},{"class":"bb-select-popover__clear","tag":"ClearableButton","part":"clear"},{"class":"bb-select-popover__header","tag":"div","part":"header"},{"class":"bb-select-popover__footer","tag":"div","part":"footer"}],"internal":[{"class":"bb-listbox","reads":["--option-height"]},{"class":"bb-listbox--compact"},{"class":"bb-listbox--described"},{"class":"bb-listbox--empty"},{"class":"bb-listbox--grouped"},{"class":"bb-listbox--loading"},{"class":"bb-listbox--multiple"},{"class":"bb-listbox--open"},{"class":"bb-listbox__create"},{"class":"bb-listbox__create-query"},{"class":"bb-listbox__empty"},{"class":"bb-listbox__failed","reads":["--option-h","--transition-duration"]},{"class":"bb-listbox__failed--divided"},{"class":"bb-listbox__failed-icon"},{"class":"bb-listbox__failed-text"},{"class":"bb-listbox__group"},{"class":"bb-listbox__group-header","reads":["--bg","--group-header-height"]},{"class":"bb-listbox__group-header-label","reads":["--option-font-size"]},{"class":"bb-listbox__inner-container","reads":["--option-h"]},{"class":"bb-listbox__item-description","reads":["--option-font-size"]},{"class":"bb-listbox__item-icon"},{"class":"bb-listbox__item-text","reads":["--option-font-size"]},{"class":"bb-listbox__list"},{"class":"bb-listbox__loading"},{"class":"bb-listbox__loading--below"},{"class":"bb-listbox__option","reads":["--option-h"]},{"class":"bb-listbox__option--disabled"},{"class":"bb-listbox__option--focused"},{"class":"bb-listbox__option--selected","reads":["--option-font-size"]},{"class":"bb-listbox__option-append-icon","reads":["--option-font-size"]},{"class":"bb-listbox__option-check","reads":["--option-font-size"]},{"class":"bb-listbox__option-check--own"},{"class":"bb-listbox__option-content"},{"class":"bb-listbox__option-prepend-icon","reads":["--option-font-size"]},{"class":"bb-listbox__outer-container","reads":["--bg","--transition-duration"]},{"class":"bb-listbox__status"},{"class":"bb-select-known-items"},{"class":"bb-select-popover--clearable-active","tag":"CommonPopover"},{"class":"bb-select-popover--compact","tag":"CommonPopover"},{"class":"bb-select-popover--errors","tag":"CommonPopover"},{"class":"bb-select-popover--loading","tag":"CommonPopover"},{"class":"bb-select-popover--reloading","tag":"CommonPopover"},{"class":"bb-select-popover--sheet"},{"class":"bb-select-popover--warnings","tag":"CommonPopover"},{"class":"bb-select-popover-escape"},{"class":"bb-select-popover__focus-proxy","tag":"button"},{"class":"bb-select-popover__search-container","tag":"div"},{"class":"bb-select-popover__search-error-icon","tag":"ErrorIcon"},{"class":"bb-select-popover__search-icon","tag":"BbIcon"},{"class":"bb-select-popover__search-strip","tag":"div"},{"class":"bb-select-popover__search-warning-icon","tag":"WarningIcon"},{"class":"bb-select-popover__sheet-chip","tag":"BbBadge"},{"class":"bb-select-popover__sheet-chips","tag":"div"},{"class":"bb-select-popover__sheet-selection","tag":"div"},{"class":"bb-select-reclick-clears"},{"class":"bb-select-sheet-chip-attrs"}],"via":[{"part":"itemIcon","component":"BbIcon"},{"part":"check","component":"BbIcon"}],"lands":[{"part":"list","target":"span.bb-listbox__list"},{"part":"groupHeader","target":"span.bb-listbox__group-header"},{"part":"option","target":"span.bb-listbox__option"},{"part":"itemText","target":"span.bb-listbox__item-text"},{"part":"itemDescription","target":"span.bb-listbox__item-description"}],"unaligned":{"states":["selected","disabled","open"]}}},"attrTargets":["span","dialog"],"config":"adaptive*, compact*","removed":[{"name":"allowWriting","new":"disableWriting","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","silent":true,"fix":{"kind":"invert","valueMap":{"not-mobile":"mobile"}}},{"name":"arrowPadding","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","silent":true,"fix":{"kind":"remove"}},{"name":"flip","new":"disableFlip","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","silent":true,"fix":{"kind":"invert"}},{"name":"hideArrow","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","silent":true,"fix":{"kind":"remove"}},{"name":"showArrow","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","silent":true,"fix":{"kind":"remove"}},{"name":"hasWarning","new":"hasWarnings","since":"3.0.0-beta.26","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"noDataText","new":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"no-data","new":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"allowWriting","to":"disableWriting","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","fix":{"kind":"invert","valueMap":{"not-mobile":"mobile"}}},{"from":"flip","to":"disableFlip","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-select-popover.md","fix":{"kind":"invert"}},{"from":"hasWarning","to":"hasWarnings","since":"3.0.0-beta.26","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"noDataText","to":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"no-data","to":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}}]},
456
456
  {"name":"BbSlider","group":"Selection","description":"Selects numeric values across a bounded range.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbSlider.md","source":"ai/source/BbSlider.md","props":[{"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":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Compact density. The track's height follows `--bb-input-h-compact` and the label gap `--bb-label-spacing-y-compact`, so a `--bb-input-h` or `--bb-label-spacing-y` you set on the component is ignored while `compact` is on: set the `-compact` tokens instead."},{"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":"disableThumbTranslate","type":"boolean | undefined","required":false,"default":"false","description":"Disables the proportional thumb translation that keeps the thumb on track (enabled by default). Set it when displaying ticks so they align with less effort."},{"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":"fill","type":"\"normal\" | \"inverted\" | \"segments\" | undefined","required":false,"default":"\"normal\"","description":"Which rail segments are painted: `'normal'` start → thumb (lowest → highest with `multiple`), `'inverted'` the rest, `'segments'` every segment as its own `bar` (colour each with a `pt:bar` function on `item.index`)."},{"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."},{"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":"items","type":"readonly (string | number | { readonly value: string | number; readonly label?: string | undefined; })[] | undefined","required":false,"description":"Named stops instead of a numeric scale, spaced evenly in list order: strings, numbers or `{ value, label }`. `v-model` holds the `value`; `label` is announced and passed to the slots. Replaces `min` / `max` / `step` (setting them too throws)."},{"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\" | \"inside\" | undefined","required":false,"description":"Label rendering mode. Sliders do not support `floating` labels."},{"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":"max","type":"number | undefined","required":false,"default":"100","description":"Maximum value cap."},{"name":"maxPrecision","type":"number | undefined","required":false,"default":"2","description":"Maximum decimal places to retain in emitted values."},{"name":"min","type":"number | undefined","required":false,"default":"0","description":"Minimum value cap."},{"name":"modelValue","type":"string | number | (string | number)[] | null | undefined","required":false,"default":"0","description":"Used by v-model."},{"name":"multiple","type":"boolean | number","required":false,"description":"Several thumbs: `multiple` is two (a min–max interval), `:multiple=\"3\"` three (at least 2). `modelValue` holds one value per thumb, always sorted, or is empty (`[]` / `null`) to start unset; another length throws. Thumbs may cross.","default":"false"},{"name":"name","type":"string | undefined","required":false,"description":"Defines the name of the input."},{"name":"persistentHint","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the hint displayed."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"track\", \"bar\", \"ticks\", \"tick\", \"thumb\"]; readonly states: readonly [\"hasValue\", \"inRange\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"active\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"active\"]; readonly node: { readonly tick: readonly [\"inRange\"]; }; }> & { label?: PtValue | undefined; track?: PtValue | undefined; root?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; description?: PtValue | undefined; thumb?: PtValue | undefined; message?: PtValue | undefined; hint?: PtValue | undefined; \"label:disabled\"?: PtValue | undefined; \"label:errors\"?: PtValue | undefined; \"label:warnings\"?: PtValue | undefined; \"label:readonly\"?: PtValue | undefined; \"description:disabled\"?: PtValue | undefined; \"description:errors\"?: PtValue | undefined; \"description:warnings\"?: PtValue | undefined; \"description:readonly\"?: PtValue | undefined; \"message:disabled\"?: PtValue | undefined; \"message:errors\"?: PtValue | undefined; \"message:warnings\"?: PtValue | undefined; \"message:readonly\"?: PtValue | undefined; \"hint:disabled\"?: PtValue | undefined; \"hint:errors\"?: PtValue | undefined; \"hint:warnings\"?: PtValue | undefined; \"hint:readonly\"?: PtValue | undefined; \"label:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:hasValue\"?: PtValue | undefined; box?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:errors\"?: PtValue | undefined; \"box:warnings\"?: PtValue | undefined; \"box:readonly\"?: PtValue | undefined; \"box:hasValue\"?: PtValue | undefined; \"root:active\"?: PtValue | undefined; \"message:active\"?: PtValue | undefined; ticks?: PtValue | undefined; \"label:active\"?: PtValue | undefined; \"track:disabled\"?: PtValue | undefined; \"track:errors\"?: PtValue | undefined; \"track:warnings\"?: PtValue | undefined; \"track:readonly\"?: PtValue | undefined; \"track:active\"?: PtValue | undefined; \"track:hasValue\"?: PtValue | undefined; \"description:active\"?: PtValue | undefined; \"thumb:disabled\"?: PtValue | undefined; \"thumb:errors\"?: PtValue | undefined; \"thumb:warnings\"?: PtValue | undefined; \"thumb:readonly\"?: PtValue | undefined; \"thumb:active\"?: PtValue | undefined; \"thumb:hasValue\"?: PtValue | undefined; \"hint:active\"?: PtValue | undefined; \"box:active\"?: PtValue | undefined; \"bar:disabled\"?: PtValue | undefined; \"bar:errors\"?: PtValue | undefined; \"bar:warnings\"?: PtValue | undefined; \"bar:readonly\"?: PtValue | undefined; \"bar:active\"?: PtValue | undefined; \"bar:hasValue\"?: PtValue | undefined; \"ticks:disabled\"?: PtValue | undefined; \"ticks:errors\"?: PtValue | undefined; \"ticks:warnings\"?: PtValue | undefined; \"ticks:readonly\"?: PtValue | undefined; \"ticks:active\"?: PtValue | undefined; \"ticks:hasValue\"?: PtValue | undefined; \"tick:disabled\"?: PtValue | undefined; \"tick:errors\"?: PtValue | undefined; \"tick:warnings\"?: PtValue | undefined; \"tick:readonly\"?: PtValue | undefined; \"tick:active\"?: PtValue | undefined; \"tick:hasValue\"?: PtValue | undefined; \"tick:inRange\"?: PtValue | undefined; } & { bar?: PtValue | PtItemFn<BbSliderSegment, BbSliderPtState, never, { readonly item: BbSliderSegment; }> | undefined; tick?: PtValue | PtItemFn<BbSliderSegment, BbSliderPtState, never, { readonly item: BbSliderSegment; }> | undefined; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:bar","type":"PtValue | ((ctx: PtItemCtx<BbSliderSegment, BbSliderPtState>) => PtItemResult) | undefined","required":false},{"name":"pt:bar:active","type":"PtValue | undefined","required":false},{"name":"pt:bar:disabled","type":"PtValue | undefined","required":false},{"name":"pt:bar:errors","type":"PtValue | undefined","required":false},{"name":"pt:bar:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:bar:readonly","type":"PtValue | undefined","required":false},{"name":"pt:bar:warnings","type":"PtValue | undefined","required":false},{"name":"pt:box","type":"PtValue | undefined","required":false},{"name":"pt:box:active","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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:box:readonly","type":"PtValue | undefined","required":false},{"name":"pt:box:warnings","type":"PtValue | undefined","required":false},{"name":"pt:description","type":"PtValue | undefined","required":false},{"name":"pt:description:active","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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:description:readonly","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:active","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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:hint:readonly","type":"PtValue | undefined","required":false},{"name":"pt:hint:warnings","type":"PtValue | undefined","required":false},{"name":"pt:label","type":"PtValue | undefined","required":false},{"name":"pt:label:active","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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:label:readonly","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:active","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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:message:readonly","type":"PtValue | undefined","required":false},{"name":"pt:message:warnings","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:active","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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:root:readonly","type":"PtValue | undefined","required":false},{"name":"pt:root:warnings","type":"PtValue | undefined","required":false},{"name":"pt:thumb","type":"PtValue | undefined","required":false},{"name":"pt:thumb:active","type":"PtValue | undefined","required":false},{"name":"pt:thumb:disabled","type":"PtValue | undefined","required":false},{"name":"pt:thumb:errors","type":"PtValue | undefined","required":false},{"name":"pt:thumb:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:thumb:readonly","type":"PtValue | undefined","required":false},{"name":"pt:thumb:warnings","type":"PtValue | undefined","required":false},{"name":"pt:tick","type":"PtValue | ((ctx: PtItemCtx<BbSliderSegment, BbSliderPtState>) => PtItemResult) | undefined","required":false},{"name":"pt:tick:active","type":"PtValue | undefined","required":false},{"name":"pt:tick:disabled","type":"PtValue | undefined","required":false},{"name":"pt:tick:errors","type":"PtValue | undefined","required":false},{"name":"pt:tick:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:tick:inRange","type":"PtValue | undefined","required":false},{"name":"pt:tick:readonly","type":"PtValue | undefined","required":false},{"name":"pt:tick:warnings","type":"PtValue | undefined","required":false},{"name":"pt:ticks","type":"PtValue | undefined","required":false},{"name":"pt:ticks:active","type":"PtValue | undefined","required":false},{"name":"pt:ticks:disabled","type":"PtValue | undefined","required":false},{"name":"pt:ticks:errors","type":"PtValue | undefined","required":false},{"name":"pt:ticks:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:ticks:readonly","type":"PtValue | undefined","required":false},{"name":"pt:ticks:warnings","type":"PtValue | undefined","required":false},{"name":"pt:track","type":"PtValue | undefined","required":false},{"name":"pt:track:active","type":"PtValue | undefined","required":false},{"name":"pt:track:disabled","type":"PtValue | undefined","required":false},{"name":"pt:track:errors","type":"PtValue | undefined","required":false},{"name":"pt:track:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:track:readonly","type":"PtValue | undefined","required":false},{"name":"pt:track:warnings","type":"PtValue | undefined","required":false},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Sets the input in a readonly state."},{"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 | number | (string | number)[] | null>","required":false,"description":"vee-validate rules for this field. Only inside a `BbForm`."},{"name":"step","type":"number | undefined","required":false,"default":"1","description":"The step attribute specifies the granularity that the value must adhere to."},{"name":"ticks","type":"boolean | undefined","required":false,"default":"false","description":"Displays ticks on step."},{"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":"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 slider gains focus and becomes interactive."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when a thumb gains focus. Forwards the original DOM `FocusEvent`."},{"name":"inactive","signature":"(): void","description":"Emitted when focus/click moves outside the slider after it was active."},{"name":"keydown","signature":"(event: KeyboardEvent): void","description":"Emitted for keyboard interaction on a thumb. Forwards the original DOM `KeyboardEvent`."},{"name":"pointerdown","signature":"(event: PointerEvent): void","description":"Emitted when a pointer device is pressed on a thumb or on the track. Forwards the original DOM `PointerEvent`."},{"name":"pointermove","signature":"(event: PointerEvent): void","description":"Emitted as a pointer device moves while dragging a thumb. Forwards the original DOM `PointerEvent`."},{"name":"pointerup","signature":"(event: PointerEvent): void","description":"Emitted when a pointer device is released after dragging. Forwards the original DOM `PointerEvent`."},{"name":"update:modelValue","signature":"(value: string | number | (string | number)[] | null): void","description":"Emitted with new value(s) whenever the slider position changes. A number for a single slider (an `items` value with `items`), one per thumb (sorted) with `multiple`."}],"slots":[{"name":"append","type":"BbSliderStepSlotProps","fields":["increase: () => void","decrease: () => void","disabled: boolean","increaseDisabled: boolean","decreaseDisabled: boolean"],"description":"Content rendered after the slider track, typically used to add a max-value label or button."},{"name":"description","type":"BbSliderDescriptionSlotProps","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":"BbSliderLabelSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default label text rendered above the slider."},{"name":"prepend","type":"BbSliderStepSlotProps","fields":["increase: () => void","decrease: () => void","disabled: boolean","increaseDisabled: boolean","decreaseDisabled: boolean"],"description":"Content rendered before the slider track, typically used to add a min-value label or button."},{"name":"thumb","type":"BbSliderThumbSlotProps","fields":["index: number","value: V","label: string","percent: number","focused: boolean"],"description":"Replaces every thumb's content; with `multiple`, tell them apart by `index`."},{"name":"tick","type":"BbSliderTickSlotProps","fields":["value: V","label: string","percent: number","active: boolean","segment: number"],"description":"Replaces the default tick mark rendered at each step when ticks are enabled."}],"exposed":[],"models":[{"name":"modelValue","type":"string | number | (string | number)[] | null | undefined"}],"cssProps":[{"name":"--thumb","value":"12px","selector":".bb-slider__body","description":"thumb diameter (square, then `border-radius: 50%`)"},{"name":"--track","value":"4px","selector":".bb-slider__body","description":"rail thickness"},{"name":"--track-color","value":"var(--bb-track)","selector":".bb-slider__body","description":"The recessed rail surface — the same token the switch track reads, which is what design-tokens.md has always documented it as (\"switch/slider rails\"). It was `--bb-muted` (6% of text), a chrome wash so faint the unfilled rail barely read, and a theme that set `--bb-track` moved the switch and nothing else."},{"name":"--py","value":"calc((var(--thumb) - var(--track)) / 2)","selector":".bb-slider__body","description":"Room above and below the rail for the thumb's overhang."},{"name":"--control-h","value":"var(--bb-input-h)","selector":".bb-slider__body","description":"Row height; --compact swaps in the compact input height."},{"name":"--px","value":"0px","selector":".bb-slider__body","description":"inner left/right padding of the box"},{"name":"--track-inset","value":"0px","selector":".bb-slider__body","description":"How far the rail and the tick row are held off both ends."},{"name":"--inside-label-clearance","value":"0px","selector":".bb-slider__body","description":"height added for the label line"},{"name":"--inside-label-track-offset","value":"0px","selector":".bb-slider__body","description":"How far rail and thumbs drop from centre to clear that line."},{"name":"--bg","value":"transparent","selector":".bb-slider__body","description":"the box's fill"},{"name":"--bg-disabled","value":"transparent","selector":".bb-slider__body","description":"fill while disabled"},{"name":"--bw","value":"0px","selector":".bb-slider__body","description":"border width"},{"name":"--border-color","value":"var(--bb-field-border)","selector":".bb-slider__body","description":"resting border"},{"name":"--border-focus","value":"var(--bb-border)","selector":".bb-slider__body","description":"Border while a thumb is focused or held; the errors and warnings blocks below paint the resting border with it too."},{"name":"--elev","value":"0px 0px 0px 0px transparent","selector":".bb-slider__body","description":"resting lift of the box"},{"name":"--ring-size","value":"0px","selector":".bb-slider__body","description":"Width of the box's focus ring; its colour is --ring-color below. The thumb's halo keeps --bb-ring-size, so a bare slider still has one."},{"name":"--accent","value":"var(--bb-primary)","selector":".bb-slider__body","description":"The bar (`__bar`, the selected span, sized from JS), and the base of --ring-color below."},{"name":"--ring-color","value":"color-mix( in oklab, var(--accent) var(--bb-ring-opacity), transparent )","selector":".bb-slider__body","description":"Halo around the thumb on hover and focus; errors and warnings re-point it."},{"name":"--r","value":"var(--bb-radius)","selector":".bb-slider__body","description":"Rail rounding: all four corners of the rail, the leading pair on the selected span."},{"name":"--centre","value":"calc( (var(--control-h) + var(--inside-label-clearance)) / 2 - var(--bw) + var(--inside-label-track-offset) )","selector":".bb-slider__box","description":"The rail's centre line, from the top of the box's padding box: the middle of the control row. A fixed offset, not 50%, so the rail and the thumbs stay put when the tick row below grows the box. Declared here, on the box, so a --bw or --control-h set through pt:box is the one it reads."},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-slider__box"},{"name":"--bg","value":"var(--bb-panel)","selector":".bb-slider__thumb"},{"name":"--sx","value":"-1","selector":".bb-slider__thumb","description":"Which physical way the thumb's own-width pull points (BbSlider.vue `thumbStyle`): toward the inline start, the left left to right."},{"name":"--elev","value":"var(--bb-elev-sm)","selector":".bb-slider__thumb","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-slider__thumb"}],"pt":{"parts":[{"name":"root","description":"The slider's container: the label, the track and the lines under them."},{"name":"label","description":"The label text (the `label` prop)."},{"name":"description","description":"The muted line under the label (the `description` prop)."},{"name":"message","description":"The errors / warnings line. A node of its own: it can show at the same time as `hint`."},{"name":"hint","description":"The helper line (the `hint` prop)."},{"name":"box","description":"The box around the rail, ticks and thumbs: bare by default, the bordered field look in inside-label mode. The slider's look locals (`--accent`, `--track-color`, `--thumb`, `--track`, `--bg`, `--bw`, …) set here reach everything inside."},{"name":"track","description":"The rail the thumbs slide on: its full length, painted with `--track-color`."},{"name":"bar","description":"A coloured piece on the rail: from the start to the value, or from the lowest to the highest thumb with `multiple`; `fill` picks other pieces. Painted with `--accent`; its size and position are set from the value (the same word as BbProgress's fill). A broadcast."},{"name":"ticks","description":"The row that holds the tick marks (`ticks` prop)."},{"name":"tick","description":"Every tick mark; a broadcast, resolved per tick with its own `inRange`. Its content is the `tick` slot."},{"name":"thumb","description":"Every handle — one, or one per value with `multiple`; a broadcast. Per-item functions: on the instance, `bar` and `tick` also accept `({ item, inRange, … }) => PtValue | false | null | undefined` — `item` is the rail segment (`{ index, from, to }`; the thumbs cut the rail into segments `0…N`) the bar paints or the tick sits on, and every state a boolean beside it — in the `pt` object or the `:pt:<part>` attribute, never on a `<part>:<state>` key and never in the global map or a scope (they ship as JSON). Its result is merged last, after every state entry, through the same deduper; a falsy result leaves the node as it was. See the passthrough guide, _Per-item functions_."}],"states":[{"name":"hasValue","description":"Component-wide: a value is set — the model is not `null`; with `multiple`, it holds at least one value (`[]` is unset). On every part."},{"name":"inRange","description":"Per node, on `tick`: the tick sits inside the selected span (under the `bar`)."},{"name":"readonly","description":"Component-wide: the slider is `readonly`."},{"name":"disabled","description":"Component-wide: the slider is `disabled`."},{"name":"warnings","description":"Component-wide: the slider shows warnings and no errors."},{"name":"errors","description":"Component-wide: the slider shows errors."},{"name":"active","description":"Component-wide: the slider is engaged — a thumb focused or dragged, until focus and pointer leave it."}]},"tree":{"bindings":[{"part":"box","target":"span.bb-slider__box"},{"part":"ticks","target":"span.bb-slider__ticks"},{"part":"tick","target":"span.bb-slider__tick"},{"part":"track","target":"span.bb-slider__track"},{"part":"bar","target":"span"},{"part":"thumb","target":"span.bb-slider__thumb"}],"nodes":[{"name":"CommonField","kind":"internal","vocabulary":"BbSlider","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]}]},"css":{"classes":{"bb-slider":["","__bar","__bar--end","__bar--start","__body","__body--compact","__body--disabled","__body--errors","__body--readonly","__body--warnings","__box","__thumb","__thumb--focused","__thumb--higher","__thumb--lower","__thumb--multiple","__thumb-container","__tick","__tick--in-range","__ticks","__track"]},"locals":["--accent","--bg","--bg-disabled","--border-color","--border-focus","--bw","--centre","--color-gray-200","--control-h","--elev","--hit","--inside-label-clearance","--inside-label-track-offset","--px","--py","--r","--ring-color","--ring-size","--ring-t","--sx","--thumb","--track","--track-color","--track-inset"],"surface":{"stable":[{"class":"bb-slider","tag":"CommonField","part":"root"},{"class":"bb-slider__box","tag":"span","part":"box","reads":["--bg","--bg-disabled","--border-color","--border-focus","--bw","--control-h","--elev","--inside-label-clearance","--inside-label-track-offset","--px","--py","--r","--ring-color","--ring-size","--ring-t"]},{"class":"bb-slider__track","tag":"span","part":"track","reads":["--centre","--r","--track","--track-color","--track-inset"]},{"class":"bb-slider__bar","part":"bar","reads":["--accent"]},{"class":"bb-slider__ticks","tag":"span","part":"ticks","reads":["--bw","--control-h","--inside-label-clearance","--px","--track-inset"]},{"class":"bb-slider__tick","tag":"span","part":"tick"},{"class":"bb-slider__thumb","tag":"span","part":"thumb","reads":["--bg","--elev","--hit","--ring-color","--ring-t","--thumb"]},{"class":"bb-slider__tick--in-range","tag":"span","state":"inRange"},{"class":"bb-slider__body--readonly","tag":"span","state":"readonly"},{"class":"bb-slider__body--disabled","tag":"span","state":"disabled"},{"class":"bb-slider__body--warnings","tag":"span","state":"warnings"},{"class":"bb-slider__body--errors","tag":"span","state":"errors"}],"internal":[{"class":"bb-slider__bar--end","reads":["--r"]},{"class":"bb-slider__bar--start","reads":["--r"]},{"class":"bb-slider__body","tag":"span","reads":["--accent","--control-h","--px","--thumb","--track"]},{"class":"bb-slider__body--compact","tag":"span"},{"class":"bb-slider__thumb--focused","tag":"span"},{"class":"bb-slider__thumb--higher"},{"class":"bb-slider__thumb--lower"},{"class":"bb-slider__thumb--multiple"},{"class":"bb-slider__thumb-container","tag":"span","reads":["--centre"]}],"lands":[{"part":"description","target":"span.bb-field__description"},{"part":"message","target":"div.bb-field__message"},{"part":"hint","target":"span.bb-field__hint"}],"unaligned":{"parts":["label"],"states":["hasValue","active"]}}},"attrTargets":["div","span"],"config":"labelMode*, validationMode*, compact*, layout*, reverse*","removed":[{"name":"color","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-slider.md","silent":true,"fix":{"kind":"manual"}},{"name":"thumbTranslate","new":"disableThumbTranslate","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-slider.md","silent":true,"fix":{"kind":"invert"}},{"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-slider.md","silent":true,"fix":{"kind":"rename"}},{"name":"range","new":"multiple","hint":"a bare `multiple` is the two-thumb interval `range` was; `:multiple=\"3\"` gives three thumbs. The model may now start empty (`[]`)","since":"3.0.0-beta.68","migration":"ai/guides/migration/components/bb-slider.md","silent":true,"fix":{"kind":"rename"}},{"name":"thumb:lower","new":"thumb","surface":"slot","hint":"one `#thumb` slot renders every thumb; branch on its `index` (`0` is the lower end)","since":"3.0.0-beta.68","migration":"ai/guides/migration/components/bb-slider.md","silent":true,"fix":{"kind":"manual"}},{"name":"thumb:higher","new":"thumb","surface":"slot","hint":"one `#thumb` slot renders every thumb; branch on its `index` (`1` is the higher end of two)","since":"3.0.0-beta.68","migration":"ai/guides/migration/components/bb-slider.md","silent":true,"fix":{"kind":"manual"}},{"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":"required","new":null,"hint":"a slider's role cannot carry `required`, so it carries none (like BbCheckboxGroup / BbSwitchGroup). Delete the prop; inside a BbForm a `required` rule or the schema still validates it and shows the asterisk","since":"3.0.0-beta.42","migration":"ai/guides/migration/components/bb-slider.md","silent":true,"fix":{"kind":"manual"}}],"renamed":[{"from":"thumbTranslate","to":"disableThumbTranslate","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-slider.md","fix":{"kind":"invert"}},{"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-slider.md","fix":{"kind":"rename"}},{"from":"range","to":"multiple","since":"3.0.0-beta.68","migration":"ai/guides/migration/components/bb-slider.md","fix":{"kind":"rename"},"hint":"a bare `multiple` is the two-thumb interval `range` was; `:multiple=\"3\"` gives three thumbs. The model may now start empty (`[]`)"},{"from":"thumb:lower","to":"thumb","surface":"slot","since":"3.0.0-beta.68","migration":"ai/guides/migration/components/bb-slider.md","fix":{"kind":"manual"},"hint":"one `#thumb` slot renders every thumb; branch on its `index` (`0` is the lower end)"},{"from":"thumb:higher","to":"thumb","surface":"slot","since":"3.0.0-beta.68","migration":"ai/guides/migration/components/bb-slider.md","fix":{"kind":"manual"},"hint":"one `#thumb` slot renders every thumb; branch on its `index` (`1` is the higher end of two)"},{"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"}]},
457
457
  {"name":"BbSmoothHeight","group":"Layout & Utility","description":"Animates height transitions for dynamic content.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbSmoothHeight.md","source":"ai/source/BbSmoothHeight.md","props":[{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disable smooth-height behavior and allow natural content height."},{"name":"mutationOptions","type":"MutationObserverInit | undefined","required":false,"default":"{ childList: true }","description":"Options to pass to the MutationObserver."},{"name":"pt","type":"PtMap<\"root\", never> | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"resizeOptions","type":"ResizeObserverOptions | undefined","required":false,"description":"Options to pass to the ResizeObserver."},{"name":"strategy","type":"\"resize\" | \"mutation\" | undefined","required":false,"default":"\"resize\"","description":"Define which strategy to use. By default `'resize'` is used, which means the component will update on resizing. You can also define `'mutation'` to use a MutationObserver."},{"name":"tag","type":"LayoutTag | undefined","required":false,"default":"\"div\"","values":["div","span"],"description":"Element rendered as the component's wrapper."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"How long the transition has to last in milliseconds"}],"events":[],"slots":[{"name":"default","type":"object","description":"Content whose height changes are animated with a smooth transition."}],"exposed":[],"models":[],"pt":{"parts":[{"name":"root","description":"The box whose height animates."}],"states":[]},"css":{"classes":{"bb-smooth-height":["","--disabled","__content"]},"locals":["--color-gray-200","--transition-duration"],"surface":{"stable":[{"class":"bb-smooth-height","tag":"component","part":"root","reads":["--transition-duration"]}],"internal":[{"class":"bb-smooth-height--disabled","tag":"component"},{"class":"bb-smooth-height__content","tag":"component"}]}},"attrTargets":["div"]},
458
458
  {"name":"BbSpinner","group":"Feedback","description":"Indicates ongoing loading or pending operations.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbSpinner.md","source":"ai/source/BbSpinner.md","props":[{"name":"label","type":"string | undefined","required":false,"description":"Accessible loading announcement. When set, the spinner is wrapped in a `role=\"status\"` element containing this text rendered `bb-sr-only`, so screen readers announce the loading state. When omitted the markup is unchanged and the spinner is purely decorative."},{"name":"pt","type":"PtMap<\"root\", never> | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"size","type":"number | CssSize | keyof Sizes | undefined","required":false,"default":"\"md\"","description":"Defines the component size.\n\nAccepted values:\n- A key from the provided size map (`keyof T`), e.g. `'sm' | 'md' | 'lg'`\n- A custom CSS size string (e.g. `'20px'`, `'1.5rem'`, `'2em'`)\n- A number, typically interpreted as pixels by size parsers"}],"events":[],"slots":[],"exposed":[],"models":[],"pt":{"parts":[{"name":"root","description":"The spinning glyph. With a `label`, the status wrapper around it is not a part."}],"states":[]},"tree":{"nodes":[{"name":"BbIcon","kind":"public"}]},"css":{"classes":{"bb-spinner":["","__circle","__circle--1","__circle--10","__circle--11","__circle--2","__circle--3","__circle--4","__circle--5","__circle--6","__circle--7","__circle--8","__circle--9"]},"locals":["--color-gray-200","--size"],"surface":{"stable":[{"class":"bb-spinner","tag":"BbIcon","part":"root","reads":["--size"]}],"internal":[{"class":"bb-spinner__circle"},{"class":"bb-spinner__circle--1"},{"class":"bb-spinner__circle--10"},{"class":"bb-spinner__circle--11"},{"class":"bb-spinner__circle--2"},{"class":"bb-spinner__circle--3"},{"class":"bb-spinner__circle--4"},{"class":"bb-spinner__circle--5"},{"class":"bb-spinner__circle--6"},{"class":"bb-spinner__circle--7"},{"class":"bb-spinner__circle--8"},{"class":"bb-spinner__circle--9"}]}},"attrTargets":["svg"],"removed":[{"name":"color","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-spinner.md","silent":true,"fix":{"kind":"manual"}}]},
459
459
  {"name":"BbSwitch","group":"Selection","description":"Toggles two-state values with switch semantics.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbSwitch.md","source":"ai/source/BbSwitch.md","props":[{"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":"checked","type":"boolean | undefined","required":false,"default":"undefined","description":"Defines the input as checked."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Compact density. Swaps `--bb-label-spacing-y` for `--bb-label-spacing-y-compact`, so tune a compact field's label gap with the `-compact` token, not the base one. The same meaning as on the checkbox, radio and switch groups."},{"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":"falseValue","type":"any","required":false,"description":"Value of the input when unchecked. It handles any kind of serializable object."},{"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."},{"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":"indeterminate","type":"boolean | undefined","required":false,"default":"false","description":"Sets the input in an indeterminate state."},{"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":"inputPosition","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\" | undefined","required":false,"default":"'start'","description":"Alignment of the input in its column. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction."},{"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":"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,"default":"'auto'","description":"How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`)."},{"name":"modelValue","type":"any","required":false,"description":"Used by v-model. Can be any serializable type."},{"name":"name","type":"string | undefined","required":false,"description":"Defines the name of the input."},{"name":"persistentHint","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the hint displayed."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"icon\"]; readonly states: readonly [\"checked\", \"indeterminate\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"focused\", \"focusVisible\"]; readonly wide: readonly [\"checked\", \"indeterminate\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"focused\", \"focusVisible\"]; }> & PtMap<TogglePtPart, CheckablePtState>) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:description","type":"PtValue | undefined","required":false},{"name":"pt:description:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:description:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:description:indeterminate","type":"PtValue | undefined","required":false},{"name":"pt:description:readonly","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:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:hint:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:hint:indeterminate","type":"PtValue | undefined","required":false},{"name":"pt:hint:readonly","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:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:icon:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:icon:indeterminate","type":"PtValue | undefined","required":false},{"name":"pt:icon:readonly","type":"PtValue | undefined","required":false},{"name":"pt:icon:warnings","type":"PtValue | undefined","required":false},{"name":"pt:label","type":"PtValue | undefined","required":false},{"name":"pt:label:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:label:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:label:indeterminate","type":"PtValue | undefined","required":false},{"name":"pt:label:readonly","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:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:message:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:message:indeterminate","type":"PtValue | undefined","required":false},{"name":"pt:message:readonly","type":"PtValue | undefined","required":false},{"name":"pt:message:warnings","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:root:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:root:indeterminate","type":"PtValue | undefined","required":false},{"name":"pt:root:readonly","type":"PtValue | undefined","required":false},{"name":"pt:root: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":"false","description":"Reverses the layout: in every direction the order of the label and the input is swapped from the standard arrangement."},{"name":"rules","type":"RuleExpression<any>","required":false,"description":"vee-validate rules for this field. Only inside a `BbForm`."},{"name":"submitWhenFalse","type":"boolean | undefined","required":false,"default":"false","description":"Will submit \"falseValue\" if the input is not checked. Otherwise \"trueValue\" will be submitted."},{"name":"trueValue","type":"any","required":false,"description":"Value of the input when checked. It handles any kind of serializable object."},{"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":"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 switch checked state changes. Forwards the original DOM `Event` from the input."},{"name":"click","signature":"(event: MouseEvent): void","description":"Emitted when the input receives a click interaction. Forwards the original DOM `MouseEvent`."},{"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 switch input. 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":"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":"update:modelValue","signature":"(value: any): void","description":"Emitted on checked-state changes with the effective model value:\n- `trueValue` when checked\n- `falseValue` when unchecked"}],"slots":[{"name":"description","type":"BbSwitchDescriptionSlotProps","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":"icon","type":"BbCheckboxIconSlotProps","fields":["checked: boolean","disabled: boolean","indeterminate?: boolean","falseValue: any","focused: boolean","focusVisible: boolean","hasErrors: boolean","hasWarnings: boolean","id: string","name: string","parsedValue: string","readonly: boolean","trueValue: any","value: any","text: string"],"description":"Replaces the default toggle track visual inside the switch. Receives the switch state plus the label text."},{"name":"label","type":"BbSwitchLabelSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default label text rendered next to the switch."}],"exposed":[],"models":[{"name":"modelValue","type":"any"}],"pt":{"parts":[{"name":"root","description":"The toggle's container: the glyph, the label and the lines under them."},{"name":"label","description":"The label text beside the glyph (the `label` prop)."},{"name":"description","description":"The muted line under the label (the `description` prop)."},{"name":"message","description":"The errors / warnings line. 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":"icon","description":"The drawn glyph — the box, the dot or the switch track. The default one: a consumer `icon` slot replaces it. The hidden native input is not a part."}],"states":[{"name":"checked","description":"Component-wide: the toggle is on."},{"name":"indeterminate","description":"Component-wide: the mixed state (the `indeterminate` prop) — neither on nor off."},{"name":"readonly","description":"Component-wide: the toggle is `readonly` — focusable, cannot change."},{"name":"disabled","description":"Component-wide: the toggle is `disabled`."},{"name":"warnings","description":"Component-wide: the toggle shows warnings and no errors."},{"name":"errors","description":"Component-wide: the toggle shows errors — the glyph and the message line turn red."},{"name":"focused","description":"Component-wide: the native input has focus — any focus, mouse included, like the `focused` slot prop."},{"name":"focusVisible","description":"Component-wide: that focus is keyboard-visible — where a focus ring belongs."}]},"tree":{"bindings":[{"part":"icon","target":"BbBaseSwitchIcon"}],"nodes":[{"name":"CommonField","kind":"internal","vocabulary":"BbSwitch","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},{"name":"BbBaseSwitchIcon","kind":"public"}]},"css":{"classes":{"bb-switch":[""]},"locals":["--color-gray-200","--ly-x","--py","--tap-b","--tap-i"],"surface":{"stable":[{"class":"bb-switch","tag":"CommonField","part":"root","reads":["--py"]}],"internal":[],"via":[{"part":"icon","component":"BbBaseSwitchIcon"}],"lands":[{"part":"description","target":"span.bb-field__description"},{"part":"message","target":"div.bb-field__message"},{"part":"hint","target":"span.bb-field__hint"}],"unaligned":{"parts":["label"],"states":["checked","indeterminate","readonly","disabled","warnings","errors","focused","focusVisible"]}}},"attrTargets":["div"],"config":"validationMode*, compact*, layout*, reverse*, inputPosition*","removed":[{"name":"color","new":null,"since":"3.0.0-beta.15","migration":"ai/guides/migration/components/bb-checkbox.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/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":"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"}]},
460
460
  {"name":"BbSwitchGroup","group":"Selection","description":"Manages grouped switch options with shared behavior.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbSwitchGroup.md","source":"ai/source/BbSwitchGroup.md","props":[{"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":"block","type":"boolean | undefined","required":false,"default":"undefined","description":"The rows take the list's full width: on a line (`horizontal`, a `variant` strip) they share it equally, stacked (`vertical`) each row is full width. Every look: plain rows, `pill`, `line`, `outline`."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Compact density. Swaps `--bb-label-spacing-y` for `--bb-label-spacing-y-compact`, so tune a compact group's label gap with the `-compact` token, not the base one."},{"name":"dependencies","type":"unknown[] | undefined","required":false,"description":"Defines an array of dependencies that will trigger actions in the component upon change."},{"name":"depsDebounceTime","type":"number | undefined","required":false,"description":"Timeout used to debounce response to changes to dependencies."},{"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":"emptyText","type":"string | undefined","required":false,"description":"String displayed when there are no items to display."},{"name":"enforceCoherence","type":"boolean | undefined","required":false,"default":"false","description":"After every applied, successful load (an empty one included), drops the model values the options no longer contain (a single value resets to `null`). A failed load never prunes."},{"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":"failedText","type":"string | undefined","required":false,"default":"the localized `common.failedText` (\"Couldn't load items\")","description":"String displayed in the empty state while the latest load FAILED (the `items` provider threw): the twin of `emptyText` for that case."},{"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 each option's label text (the text rendered next to every input) while keeping it accessible to screen readers. Does not affect the fieldset legend — use `hideLegend` for that."},{"name":"hideLegend","type":"boolean | undefined","required":false,"default":"false","description":"Visually hides the legend of the fieldset while maintaining accessibility."},{"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":"Prefix for the ids of each option's input and of the label, description and message. 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":"inputPosition","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\" | undefined","required":false,"default":"'start'","description":"Alignment of the input in its column. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it. The default, `'start'`, follows the page direction."},{"name":"itemInputAlign","type":"FieldCrossAlign | undefined","required":false,"values":["center","top","bottom"],"description":"Vertical position of each option's control in its row; `'center'` is the middle of the label plus its description. Omitted, it sits on the label's first line."},{"name":"itemLabelAlign","type":"FieldCrossAlign | undefined","required":false,"values":["center","top","bottom"],"description":"Vertical position of each option's label in its row. Omitted, it stays as it is."},{"name":"itemLayout","type":"FieldLayout | undefined","required":false,"default":"'auto'","description":"How each row's input and label sit together, in the `layout` keywords: `'auto'`, `'vertical'`, `'horizontal'`, `'label-fill'`, `'input-fill'`, or a two-word ratio pattern like `'xx xxxxx'`."},{"name":"itemProps","type":"BbOptionGroupItemProps<T> | undefined","required":false,"description":"ADDITIONAL row fields, never the text or value: `description`, a muted line under the label (it may wrap; announced as the option's description). An object of paths or getters, or a function of the item; nothing is read implicitly."},{"name":"itemReverse","type":"boolean | undefined","required":false,"default":"undefined","description":"Swaps each row's input and label from their natural order (input first), in every `item-layout`. `reverse` swaps the legend and the options instead."},{"name":"items","type":"T[] | ((context: BbCheckboxGroupItemsContext) => T[] | Promise<T[]>)","required":true,"description":"The options: an array, or a provider called with `{ reason, modelValue, signal }`, sync or async. A provider fails by THROWING, never by returning `[]`: the rows clear and the failure row shows `failed-text` with \"Try again\"."},{"name":"itemText","type":"ItemAccessor<T, string> | undefined","required":false,"default":"own `label`, else `text`, else `JSON.stringify(item)`","description":"Defines a path that returns a property of the object to use as text or a function that returns a string.\n\nUnset: own `label`, else `text` (`{ label, value }` needs no accessor)."},{"name":"itemValue","type":"ItemAccessor<T> | undefined","required":false,"default":"own `value`, else the whole item","description":"Defines a path that returns a property of the object to use as value or a function that returns any value.\n\nUnset: own `value`, even `null`."},{"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":"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":"legend","type":"string","required":true,"description":"Text content of the legend."},{"name":"legendMode","type":"\"outside\" | \"inside\" | undefined","required":false,"description":"Legend rendering mode. `'outside'` renders the legend above the fieldset in the normal flow; `'inside'` overlays the legend inside the fieldset border. Floating mode is not supported for option groups (checkbox, radio or switch) — there is no single field for the legend to float against."},{"name":"legendPosition","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":"listLayout","type":"ListLayout | undefined","required":false,"default":"'horizontal'","values":["horizontal","vertical","tiles"],"description":"How the rows sit in the list: `'horizontal'` (on a line, wrapping), `'vertical'` (stacked) or `'tiles'` (equal boxes; `--tile-min-width` on `pt:list` sets the narrowest). `block` makes the rows full width."},{"name":"loadingText","type":"string | undefined","required":false,"description":"String displayed while items are being loaded."},{"name":"max","type":"number | undefined","required":false,"description":"Maximum number of selected items."},{"name":"modelValue","type":"any","required":false,"description":"Used by v-model. Can be an array of any serializable type."},{"name":"modelValueDebounceTime","type":"number | undefined","required":false,"description":"Timeout used to debounce response to changes to modelValue."},{"name":"multiple","type":"boolean | undefined","required":false,"default":"true","description":"Enables multi-selection behavior. When true, `modelValue` must be an array. When false, `modelValue` should be a single value."},{"name":"name","type":"string | undefined","required":false,"description":"Defines the name of the input."},{"name":"persistentHint","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the hint displayed."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"legend\", \"description\", \"message\", \"hint\", \"list\", \"item\", \"icon\", \"label\", \"itemDescription\"]; readonly states: readonly [\"hasValue\", \"checked\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"focused\", \"focusVisible\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"loading\"]; readonly node: { readonly item: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly icon: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly label: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly itemDescription: readonly [\"checked\", \"focused\", \"focusVisible\"]; }; }> & { legend?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; description?: PtValue | undefined; message?: PtValue | undefined; hint?: PtValue | undefined; \"label:disabled\"?: PtValue | undefined; \"label:errors\"?: PtValue | undefined; \"label:warnings\"?: PtValue | undefined; \"label:readonly\"?: PtValue | undefined; \"label:checked\"?: PtValue | undefined; \"label:focused\"?: PtValue | undefined; \"label:focusVisible\"?: PtValue | undefined; \"icon:errors\"?: PtValue | undefined; \"icon:warnings\"?: PtValue | undefined; \"icon:readonly\"?: PtValue | undefined; \"icon:checked\"?: PtValue | undefined; \"icon:focused\"?: PtValue | undefined; \"icon:focusVisible\"?: PtValue | undefined; \"description:disabled\"?: PtValue | undefined; \"description:errors\"?: PtValue | undefined; \"description:warnings\"?: PtValue | undefined; \"description:readonly\"?: PtValue | undefined; \"message:disabled\"?: PtValue | undefined; \"message:errors\"?: PtValue | undefined; \"message:warnings\"?: PtValue | undefined; \"message:readonly\"?: PtValue | undefined; \"hint:disabled\"?: PtValue | undefined; \"hint:errors\"?: PtValue | undefined; \"hint:warnings\"?: PtValue | undefined; \"hint:readonly\"?: PtValue | undefined; \"label:loading\"?: PtValue | undefined; \"label:hasValue\"?: PtValue | undefined; \"legend:disabled\"?: PtValue | undefined; \"legend:loading\"?: PtValue | undefined; \"legend:errors\"?: PtValue | undefined; \"legend:warnings\"?: PtValue | undefined; \"legend:readonly\"?: PtValue | undefined; \"legend:hasValue\"?: PtValue | undefined; \"list:disabled\"?: PtValue | undefined; \"list:loading\"?: PtValue | undefined; \"list:errors\"?: PtValue | undefined; \"list:warnings\"?: PtValue | undefined; \"list:readonly\"?: PtValue | undefined; \"list:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"icon:hasValue\"?: PtValue | undefined; \"item:loading\"?: PtValue | undefined; \"item:errors\"?: PtValue | undefined; \"item:warnings\"?: PtValue | undefined; \"item:readonly\"?: PtValue | undefined; \"item:hasValue\"?: PtValue | undefined; \"description:loading\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:loading\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:loading\"?: PtValue | undefined; \"hint:hasValue\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; \"itemDescription:loading\"?: PtValue | undefined; \"itemDescription:errors\"?: PtValue | undefined; \"itemDescription:warnings\"?: PtValue | undefined; \"itemDescription:readonly\"?: PtValue | undefined; \"itemDescription:hasValue\"?: PtValue | undefined; \"item:checked\"?: PtValue | undefined; \"item:focused\"?: PtValue | undefined; \"item:focusVisible\"?: PtValue | undefined; \"itemDescription:checked\"?: PtValue | undefined; \"itemDescription:focused\"?: PtValue | undefined; \"itemDescription:focusVisible\"?: PtValue | undefined; } & { label?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; icon?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; item?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; itemDescription?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:description:loading","type":"PtValue | undefined","required":false},{"name":"pt:description:readonly","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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:hint:loading","type":"PtValue | undefined","required":false},{"name":"pt:hint:readonly","type":"PtValue | undefined","required":false},{"name":"pt:hint:warnings","type":"PtValue | undefined","required":false},{"name":"pt:icon","type":"PtValue | ((ctx: PtItemCtx<T, GroupPtState>) => PtItemResult) | undefined","required":false},{"name":"pt:icon:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:icon:focusVisible","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:readonly","type":"PtValue | undefined","required":false},{"name":"pt:icon:warnings","type":"PtValue | undefined","required":false},{"name":"pt:item","type":"PtValue | ((ctx: PtItemCtx<T, GroupPtState>) => PtItemResult) | undefined","required":false},{"name":"pt:item:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:item:focusVisible","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:readonly","type":"PtValue | undefined","required":false},{"name":"pt:item:warnings","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription","type":"PtValue | ((ctx: PtItemCtx<T, GroupPtState>) => PtItemResult) | undefined","required":false},{"name":"pt:itemDescription:checked","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:disabled","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:errors","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:focused","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:focusVisible","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:loading","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:readonly","type":"PtValue | undefined","required":false},{"name":"pt:itemDescription:warnings","type":"PtValue | undefined","required":false},{"name":"pt:label","type":"PtValue | ((ctx: PtItemCtx<T, GroupPtState>) => PtItemResult) | undefined","required":false},{"name":"pt:label:checked","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:focused","type":"PtValue | undefined","required":false},{"name":"pt:label:focusVisible","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:readonly","type":"PtValue | undefined","required":false},{"name":"pt:label:warnings","type":"PtValue | undefined","required":false},{"name":"pt:legend","type":"PtValue | undefined","required":false},{"name":"pt:legend:disabled","type":"PtValue | undefined","required":false},{"name":"pt:legend:errors","type":"PtValue | undefined","required":false},{"name":"pt:legend:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:legend:loading","type":"PtValue | undefined","required":false},{"name":"pt:legend:readonly","type":"PtValue | undefined","required":false},{"name":"pt:legend:warnings","type":"PtValue | undefined","required":false},{"name":"pt:list","type":"PtValue | undefined","required":false},{"name":"pt:list:disabled","type":"PtValue | undefined","required":false},{"name":"pt:list:errors","type":"PtValue | undefined","required":false},{"name":"pt:list:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:list:loading","type":"PtValue | undefined","required":false},{"name":"pt:list:readonly","type":"PtValue | undefined","required":false},{"name":"pt:list: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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:message:loading","type":"PtValue | undefined","required":false},{"name":"pt:message:readonly","type":"PtValue | undefined","required":false},{"name":"pt:message: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:hasValue","type":"PtValue | undefined","required":false},{"name":"pt:root:loading","type":"PtValue | undefined","required":false},{"name":"pt:root:readonly","type":"PtValue | undefined","required":false},{"name":"pt:root:warnings","type":"PtValue | undefined","required":false},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Sets the input in a readonly state."},{"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<any>","required":false,"description":"vee-validate rules for this field. Only inside a `BbForm`."},{"name":"selectable","type":"boolean | ((item: T) => boolean) | undefined","required":false,"default":"true","description":"Defines whether options are selectable. Can be a global boolean that affects all options or a function that accepts an item and returns a boolean that only affects that item. Non-selectable options are rendered disabled."},{"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":"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 group becomes active (focus/click enters it)."},{"name":"blur","signature":"(event: FocusEvent): void","description":"Emitted when one of the generated switch inputs loses focus. Forwards the original DOM `FocusEvent`."},{"name":"change","signature":"(event: Event): void","description":"Emitted when an option is toggled. Forwards the original DOM `Event` from the switch input."},{"name":"click","signature":"(event: MouseEvent): void","description":"Emitted when one of the generated switch inputs is clicked. Forwards the original DOM `MouseEvent`."},{"name":"focus","signature":"(event: FocusEvent): void","description":"Emitted when one of the generated switch inputs receives focus. Forwards the original DOM `FocusEvent`."},{"name":"inactive","signature":"(): void","description":"Emitted when focus/click moves outside the group after it was active. Useful for validation-on-blur flows at group level."},{"name":"input","signature":"(event: Event): void","description":"Emitted on native input events from generated switch inputs. Forwards the original DOM `Event`."},{"name":"keydown","signature":"(event: KeyboardEvent): void","description":"Emitted for keyboard interaction on generated switch inputs. Forwards the original DOM `KeyboardEvent`."},{"name":"mousedown","signature":"(event: MouseEvent): void","description":"Emitted when a pointing device button is pressed over a switch input. Forwards the original DOM `MouseEvent`."},{"name":"mouseup","signature":"(event: MouseEvent): void","description":"Emitted when a pointing device button is released over a switch input. Forwards the original DOM `MouseEvent`."},{"name":"update:modelValue","signature":"(value: any): void","description":"Emitted with the coherent next selection array whenever selection changes."}],"slots":[{"name":"append","type":"object","description":"Content rendered after the last option, inside the options container."},{"name":"description","type":"BbSwitchGroupDescriptionSlotProps","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":"empty","type":"object","description":"Content shown when no options are available (replaces the default \"no data\" text). Empty only: a failed load shows the library's failure row instead (its message is `failed-text`, and it ends with \"Try again\")."},{"name":"icon","type":"BbSwitchGroupIconSlotProps<T>","fields":["disabled: boolean","readonly: boolean","checked: boolean","indeterminate?: boolean","focused: boolean","focusVisible: boolean","id: string","name: string","falseValue: any","hasErrors: boolean","hasWarnings: boolean","parsedValue: string","trueValue: any","value: any","item: T","text: string"],"description":"Replaces the default switch track visual for each option. Receives the switch state plus the source item and its display text."},{"name":"label","type":"BbSwitchGroupLabelSlotProps<T>","fields":["item: T","text: string","checked: boolean","description: string"],"description":"Replaces the default label text for each option."},{"name":"legend","type":"BbSwitchGroupLegendSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default fieldset legend text for the group."},{"name":"loading","type":"object","description":"Content shown while options are loading (replaces the default loading text)."},{"name":"prepend","type":"object","description":"Content rendered before the first option, inside the options container."}],"exposed":[],"models":[{"name":"modelValue","type":"any"}],"cssProps":[{"name":"--gap","value":"24px","selector":".bb-switch-group__list","description":"Space between rows on one line."},{"name":"--row-gap","value":"10px","selector":".bb-switch-group__list","description":"Space between wrapped lines."},{"name":"--tile-min-width","value":"96px","selector":".bb-switch-group__list","description":"How narrow a tile may get before the tiles wrap (`tiles` only)."}],"pt":{"parts":[{"name":"root","description":"The group's container (the fieldset)."},{"name":"legend","description":"The group's heading — the fieldset `<legend>` (the `legend` prop)."},{"name":"description","description":"The muted line under the legend (the `description` prop)."},{"name":"message","description":"The errors / warnings line. 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":"list","description":"The node that lays the rows out (flex + wrap, gaps on `--gap` / `--row-gap`): `pt:list=\"grid grid-cols-3\"` re-lays them, `pt:list=\"[--gap:8px]\"` tightens them. Takes the group-wide states only."},{"name":"item","description":"One option row — a broadcast, resolved per option with its own `checked` / `disabled` / focus. Takes a per-item function."},{"name":"icon","description":"One row's drawn glyph — the default one: a consumer `icon` slot replaces it. Takes a per-item function."},{"name":"label","description":"One option's label text (the `label` slot's default). Takes a per-item function."},{"name":"itemDescription","description":"One option's muted second line, its description. Takes a per-item function."}],"states":[{"name":"hasValue","description":"Component-wide: at least one option is chosen."},{"name":"checked","description":"Per row, on `item`, `icon`, `label` and `itemDescription`: that option is chosen. Never on a field part."},{"name":"readonly","description":"Component-wide: the group is `readonly`."},{"name":"disabled","description":"Component-wide while the group is `disabled`; also per row, on the row parts of an option that is disabled on its own."},{"name":"warnings","description":"Component-wide: the group shows warnings and no errors."},{"name":"errors","description":"Component-wide: the group shows errors."},{"name":"focused","description":"Per row, on the row parts: that option's input has focus — any focus, mouse included."},{"name":"focusVisible","description":"Per row, on the row parts: that option's focus is keyboard-visible — where a focus ring belongs."},{"name":"loading","description":"Component-wide: the items are being fetched."}]},"tree":{"bindings":[{"part":"icon","target":"BbBaseSwitchIcon"}],"nodes":[{"name":"CommonField","kind":"internal","vocabulary":"BbSwitchGroup","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":"OptionsContainer","kind":"internal","vocabulary":"BbSwitchGroup","bindings":[{"part":"list","target":"span"},{"part":"item","target":"label"},{"part":"label","target":"span"},{"part":"itemDescription","target":"span"}],"cssProps":[{"name":"--list-bg","documented":true},{"name":"--list-border","documented":true,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--p","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item","bb-checkbox-group__list--outline"]},{"name":"--list-r","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip"]},{"name":"--list-h","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__list--outline"]},{"name":"--fs","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-gap","documented":true},{"name":"--trigger-px","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-r","documented":true,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--trigger-min-h","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--list-fg","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--hover-fg","documented":true},{"name":"--active-fg","documented":true,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--active-fw","documented":true,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--indicator-bg","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-border","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-r","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-h","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-inset","documented":true,"readBy":["bb-checkbox-group__indicator"]},{"name":"--elev","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected","bb-checkbox-group__item"]},{"name":"--indicator-shadow","documented":true,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--list-bg","documented":false},{"name":"--list-border","documented":false,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--p","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item","bb-checkbox-group__list--outline"]},{"name":"--list-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip"]},{"name":"--trigger-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--active-fw","documented":false,"readBy":["bb-checkbox-group__item--selected"]},{"name":"--indicator-bg","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-border","documented":false,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-r","documented":false,"readBy":["bb-checkbox-group__indicator"]},{"name":"--indicator-h","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--indicator-shadow","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected"]},{"name":"--elev","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected","bb-checkbox-group__item"]},{"name":"--list-bg","documented":false},{"name":"--list-border","documented":false,"readBy":["bb-checkbox-group__list--vertical"]},{"name":"--list-h","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__list--outline"]},{"name":"--p","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item","bb-checkbox-group__list--outline"]},{"name":"--trigger-gap","documented":false},{"name":"--trigger-min-h","documented":true,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-px","documented":false,"readBy":["bb-checkbox-group__item"]},{"name":"--fs","documented":false,"readBy":["bb-checkbox-group__item"]},{"name":"--trigger-r","documented":false,"readBy":["bb-radio-group__list--strip","bb-checkbox-group__list--strip","bb-checkbox-group__item"]},{"name":"--elev","documented":false,"readBy":["bb-checkbox-group__indicator","bb-checkbox-group__item--selected","bb-checkbox-group__item"]}]},{"name":"BbBaseSwitchIcon","kind":"public"}]},"css":{"classes":{"bb-switch-group":["","__empty","__empty--failed","__item","__item--*","__item--aligned","__item--description","__item--disabled","__item--focus-visible","__item--focused","__item--input-align-*","__item--input-align-bottom","__item--input-align-center","__item--input-align-top","__item--label-align-*","__item--label-align-bottom","__item--label-align-center","__item--label-align-top","__item--reverse","__item--selected","__item--vertical","__item-description","__label","__list","__list--*","__list--block","__list--errors","__list--horizontal","__list--no-transition","__list--strip","__list--tiles","__list--vertical","__list--warnings","__loading"]},"locals":["--color-gray-200","--gap","--h","--hit","--ly-lj","--ly-ls","--ly-x","--row-be","--row-bs","--row-gap","--row-h","--row-ie","--row-is","--tap-row-gap","--tile-min-width"],"surface":{"stable":[{"class":"bb-switch-group","tag":"CommonField","part":"root"},{"class":"bb-switch-group__list","part":"list","reads":["--gap","--hit","--ly-lj","--ly-ls","--row-gap","--row-h","--tap-row-gap"]},{"class":"bb-switch-group__item","part":"item","reads":["--gap","--hit","--row-be","--row-bs","--row-ie","--row-is","--tap-row-gap"]},{"class":"bb-switch-group__label","part":"label"},{"class":"bb-switch-group__item-description","part":"itemDescription"},{"class":"bb-switch-group__item--disabled","state":"disabled"},{"class":"bb-switch-group__list--warnings","state":"warnings"},{"class":"bb-switch-group__list--errors","state":"errors"},{"class":"bb-switch-group__item--focused","state":"focused"},{"class":"bb-switch-group__item--focus-visible","state":"focusVisible"}],"internal":[{"class":"bb-switch-group__empty"},{"class":"bb-switch-group__empty--failed"},{"class":"bb-switch-group__item--aligned"},{"class":"bb-switch-group__item--description","reads":["--hit","--row-gap","--row-h"]},{"class":"bb-switch-group__item--input-align-bottom"},{"class":"bb-switch-group__item--input-align-center"},{"class":"bb-switch-group__item--input-align-top"},{"class":"bb-switch-group__item--label-align-bottom"},{"class":"bb-switch-group__item--label-align-center"},{"class":"bb-switch-group__item--label-align-top"},{"class":"bb-switch-group__item--reverse"},{"class":"bb-switch-group__item--selected"},{"class":"bb-switch-group__item--vertical"},{"class":"bb-switch-group__list--block"},{"class":"bb-switch-group__list--horizontal"},{"class":"bb-switch-group__list--no-transition"},{"class":"bb-switch-group__list--strip"},{"class":"bb-switch-group__list--tiles","reads":["--row-gap","--tile-min-width"]},{"class":"bb-switch-group__list--vertical"},{"class":"bb-switch-group__loading"}],"via":[{"part":"icon","component":"BbBaseSwitchIcon"}],"lands":[{"part":"description","target":"span.bb-field__description"},{"part":"message","target":"div.bb-field__message"},{"part":"hint","target":"span.bb-field__hint"}],"unaligned":{"parts":["legend"],"states":["hasValue","checked","readonly","loading"]}}},"attrTargets":["div"],"config":"validationMode*, compact*, layout*, listLayout*, itemLayout*, itemReverse*, reverse*, inputPosition*, block*","removed":[{"name":"color","new":null,"since":"3.0.0-beta.15","migration":"ai/guides/migration/components/bb-checkbox-group.md","silent":true,"fix":{"kind":"manual"}},{"name":"labelPosition","new":"legendPosition","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-checkbox-group.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/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"inputDirection","new":"listLayout","hint":"same values, but v2 `vertical` rows spanned the list: write `list-layout=\"vertical\" block` for that look (`vertical` alone keeps each row's own width)","since":"3.0.0-beta.33","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"noDataText","new":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"no-data","new":"empty","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":"labelPosition","to":"legendPosition","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-checkbox-group.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/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"inputDirection","to":"listLayout","since":"3.0.0-beta.33","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"},"hint":"same values, but v2 `vertical` rows spanned the list: write `list-layout=\"vertical\" block` for that look (`vertical` alone keeps each row's own width)"},{"from":"noDataText","to":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"no-data","to":"empty","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"}]},
461
- {"name":"BbTable","group":"Data Display","description":"Displays tabular data, configurable columns and data mapper.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbTable.md","source":"ai/source/BbTable.md","props":[{"name":"accessibleLabel","type":"((columns: MappedCell[], item: Item) => string) | undefined","required":false,"description":"The label of each row's selection checkbox, from `(columns, item)`. Unset: the row's name in the locale's select template (its `rowHeader` cells, else its first column: \"Select INV-1041\"). The cells arrive in render order: look one up by `key`, never by position."},{"name":"actionsText","type":"string | undefined","required":false,"description":"Label used in the header of the actions column."},{"name":"align","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\" | undefined","required":false,"default":"\"start\"","description":"Text alignment of the columns. `'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":"caption","type":"string | undefined","required":false,"description":"Caption describing the table's content, for accessibility."},{"name":"columns","type":"BbTableColumn<T>[] | undefined","required":false,"default":"[]","description":"Array of definitions of how the columns should be rendered."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Adds a CSS class that applies a compact style to the component."},{"name":"dependencies","type":"unknown[] | undefined","required":false,"default":"[]","description":"Defines an array of dependencies that will trigger actions in the component upon change."},{"name":"depsDebounceTime","type":"number | undefined","required":false,"default":"0","description":"Timeout used to debounce response to changes to dependencies."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the component"},{"name":"disableSelectAll","type":"boolean | undefined","required":false,"default":"false","description":"Hides the \"Select all\" checkbox that selectable multi-row tables display by default."},{"name":"displayCaption","type":"boolean | undefined","required":false,"default":"false","description":"Shows the caption as a visible title. Off by default: the caption is hidden, and screen readers still hear it as the table's name."},{"name":"emptyText","type":"string | undefined","required":false,"default":"the localized `common.emptyText` (\"No data to display\")","description":"Text shown when there are no items."},{"name":"enforceCoherence","type":"boolean | undefined","required":false,"default":"false","description":"After every load, prunes `modelValue`, `unselected-items`, `highlighted` and `expanded-items` of values whose row is gone (a single value resets to `null`). Never on a provider-paginated table: a page change would prune the other pages' selection; reconcile in the provider instead."},{"name":"expandedItems","type":"any[] | undefined","required":false,"default":"[]","description":"Used by `v-model:expandedItems`: the expanded items, toggled by the row expand control and by external writes, like the `highlighted` / `sort` v-models. Drives the `#expand` rows and their `aria-expanded` / `aria-controls` wiring."},{"name":"failedText","type":"string | undefined","required":false,"default":"the localized `common.failedText` (\"Couldn't load items\")","description":"String displayed in the empty state while the latest load FAILED (the `items` provider threw): the twin of `emptyText` for that case."},{"name":"fixed","type":"boolean | undefined","required":false,"default":"false","description":"Gives the columns that declare no `width` an equal share of the width (a `minmax(0, 1fr)` track each)."},{"name":"fixedActions","type":"boolean | undefined","required":false,"default":"false","description":"Pins the actions column (the one the `#actions` slot creates) to the right edge, `position: sticky`, in place. It has no column definition, so this is its `column.fixed`. No effect without an `#actions` slot."},{"name":"fixedFirst","type":"boolean | undefined","required":false,"default":"false","description":"Sticks the `#<key>:first` row to the top of the scrollport (under a stuck header)."},{"name":"fixedHeaders","type":"boolean | undefined","required":false,"default":"false","description":"Sticks the headers to the top of the table."},{"name":"fixedLast","type":"boolean | undefined","required":false,"default":"false","description":"Sticks the `#<key>:last` row (a totals row) to the bottom of the scrollport."},{"name":"fixedSelect","type":"boolean | undefined","required":false,"default":"false","description":"Pins the selection column to the left edge, `position: sticky`, in place. It has no column definition, so this is its `column.fixed`. No effect unless the table is `selectable`."},{"name":"headerRowClass","type":"Classes | undefined","required":false,"description":"Classes for the header row."},{"name":"highlightable","type":"boolean | ((item: Item) => boolean) | undefined","required":false,"default":"undefined","description":"Which rows a click, Enter or `toggleHighlighted` may highlight: `false` for none, or a function of the row's item. Unset: every row, when `highlighted` is bound. A value the app sets still shows on a refused row."},{"name":"highlighted","type":"any","required":false,"default":"`undefined` (unset: whether it is bound is read off it)","description":"Used by `v-model:highlighted`: the one row the UI is about (say, whose details are open), a single item value or `null`. Opt-in: bound, a row click highlights; unbound, it only emits `click:row`. The row gets `aria-current=\"true\"` and a shipped tint."},{"name":"id","type":"string | undefined","required":false,"description":"Stable id for this table's width context. When omitted a unique id is generated. Nested tables use the nearest ancestor id to inherit widths."},{"name":"inheritColumnWidths","type":"string | boolean | undefined","required":false,"description":"Snaps a nested table's columns to an ancestor table's tracks: `true` = the nearest one, a table `id` = that one (when a table in between has a different column count). Off by default: a nested table sizes itself."},{"name":"interactiveWhileLoading","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the header and rows interactive while loading (by default they are `inert`: a refetch is about to replace them). For background refreshes that must not interrupt an open editor."},{"name":"items","type":"Item[] | ((context: BbTableItemsContext) => Item[] | Promise<Item[]>)","required":true,"default":"[]","description":"Rows to render: an array, or a provider called with a `BbTableItemsContext` (`reason`, `modelValue`, `signal`), sync or async. A provider fails by THROWING, never by returning `[]`: the rows clear and the failure row shows `failed-text` with \"Try again\". Return the page as it is."},{"name":"itemValue","type":"ItemAccessor<Item> | undefined","required":false,"description":"The row's value, as a property path or a function returning any value; the selection, `expandedItems` and row keys compare by it."},{"name":"keyboardNavigation","type":"boolean | undefined","required":false,"default":"false","description":"Opt-in keyboard navigation: the table becomes an ARIA `grid` (`treegrid` with an `#expand` slot) with ONE tab stop and roving focus over its cells. Controls in cells leave the tab order (Enter/F2 go in). Ignored with a `#tbody` slot."},{"name":"legend","type":"string | undefined","required":false,"description":"The `<legend>` of a `selectable` table (it renders as a `<fieldset>`): the selection's accessible name. Falls back to `caption`, then to a localized default."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Loading state: skeletons with no rows yet, else the rows stay on screen, dimmed, under an indeterminate bar. A refetch never blanks a table the user is reading."},{"name":"loadingText","type":"string | undefined","required":false,"default":"the localized `common.loadingText` (\"Loading...\")","description":"Screen-reader announcement for the loading row's `aria-live` status. Visually hidden — the skeleton (or the `#loading` slot) is the visible signal."},{"name":"max","type":"number | undefined","required":false,"default":"Infinity","description":"Maximum number of items that can be selected."},{"name":"modelValue","type":"any","required":false,"default":"[]","description":"Used by v-model. Can be any serializable type."},{"name":"multiple","type":"boolean | undefined","required":false,"default":"true","description":"Allows the selection of multiple items."},{"name":"multiSort","type":"boolean | undefined","required":false,"default":"false","description":"A plain click on a sortable header adds the column to the sort, as Shift+click always does. Off, a plain click makes the sort that column alone."},{"name":"name","type":"string | undefined","required":false,"description":"Defines the name of the input."},{"name":"order","type":"string[] | undefined","required":false,"default":"[]","description":"Used by `v-model:order`: the column keys in render order. Columns it omits follow in declaration order; unknown keys stay put. A `reorderable` move writes it back complete. Works unbound, like `sort`; never holds `select` / `actions`."},{"name":"page","type":"string | number | undefined","required":false,"description":"Current page (from 1), for the rows' `aria-rowindex` and a `BbPagination` paired through `id`. Doesn't slice `items`: pass the current page's rows. Numeric strings are coerced."},{"name":"perPage","type":"string | number | undefined","required":false,"description":"Rows per page, for `aria-rowindex` and a paired `BbPagination`. Doesn't slice `items`. Unset, an array `items` infers it from its length. Numeric strings are coerced."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"caption\", \"table\", \"head\", \"headerRow\", \"cellColumnHeader\", \"sortIcon\", \"body\", \"row\", \"cell\", \"expand\", \"firstRow\", \"lastRow\", \"selectIcon\", \"dragIcon\", \"dragHandle\", \"foot\"]; readonly states: readonly [\"value\", \"placeholder\", \"empty\", \"sorted\", \"sortedDesc\", \"selected\", \"indeterminate\", \"disabled\", \"expanded\", \"highlighted\", \"loading\"]; readonly wide: readonly [\"empty\", \"loading\"]; readonly node: { readonly cellColumnHeader: readonly [\"sorted\", \"sortedDesc\"]; readonly sortIcon: readonly [\"sorted\", \"sortedDesc\"]; readonly row: readonly [\"selected\", \"disabled\", \"expanded\", \"highlighted\"]; readonly cell: readonly [\"value\", \"placeholder\", \"selected\", \"disabled\", \"expanded\", \"highlighted\"]; readonly dragHandle: readonly [\"selected\", \"disabled\", \"expanded\", \"highlighted\"]; readonly expand: readonly [\"selected\", \"expanded\", \"highlighted\"]; readonly selectIcon: readonly [\"selected\", \"indeterminate\", \"disabled\"]; }; readonly except: { readonly row: readonly [\"empty\"]; readonly cell: readonly [\"empty\"]; readonly expand: readonly [\"empty\"]; readonly firstRow: readonly [\"empty\"]; readonly lastRow: readonly [\"empty\"]; readonly dragHandle: readonly [\"empty\"]; }; }> & { body?: PtValue | undefined; caption?: PtValue | undefined; head?: PtValue | undefined; table?: PtValue | undefined; root?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; \"cellColumnHeader:loading\"?: PtValue | undefined; foot?: PtValue | undefined; headerRow?: PtValue | undefined; sortIcon?: PtValue | undefined; cell?: PtValue | undefined; firstRow?: PtValue | undefined; lastRow?: PtValue | undefined; selectIcon?: PtValue | undefined; dragIcon?: PtValue | undefined; dragHandle?: PtValue | undefined; \"body:loading\"?: PtValue | undefined; \"body:empty\"?: PtValue | undefined; \"caption:loading\"?: PtValue | undefined; \"caption:empty\"?: PtValue | undefined; \"head:loading\"?: PtValue | undefined; \"head:empty\"?: PtValue | undefined; \"table:loading\"?: PtValue | undefined; \"table:empty\"?: PtValue | undefined; \"root:empty\"?: PtValue | undefined; \"cellColumnHeader:empty\"?: PtValue | undefined; \"foot:loading\"?: PtValue | undefined; \"foot:empty\"?: PtValue | undefined; \"headerRow:loading\"?: PtValue | undefined; \"headerRow:empty\"?: PtValue | undefined; \"sortIcon:loading\"?: PtValue | undefined; \"sortIcon:empty\"?: PtValue | undefined; \"row:loading\"?: PtValue | undefined; \"cell:loading\"?: PtValue | undefined; \"expand:loading\"?: PtValue | undefined; \"firstRow:loading\"?: PtValue | undefined; \"lastRow:loading\"?: PtValue | undefined; \"selectIcon:loading\"?: PtValue | undefined; \"selectIcon:empty\"?: PtValue | undefined; \"dragIcon:loading\"?: PtValue | undefined; \"dragIcon:empty\"?: PtValue | undefined; \"dragHandle:loading\"?: PtValue | undefined; \"cellColumnHeader:sorted\"?: PtValue | undefined; \"cellColumnHeader:sortedDesc\"?: PtValue | undefined; \"sortIcon:sorted\"?: PtValue | undefined; \"sortIcon:sortedDesc\"?: PtValue | undefined; \"row:disabled\"?: PtValue | undefined; \"row:selected\"?: PtValue | undefined; \"row:highlighted\"?: PtValue | undefined; \"row:expanded\"?: PtValue | undefined; \"cell:placeholder\"?: PtValue | undefined; \"cell:value\"?: PtValue | undefined; \"cell:disabled\"?: PtValue | undefined; \"cell:selected\"?: PtValue | undefined; \"cell:highlighted\"?: PtValue | undefined; \"cell:expanded\"?: PtValue | undefined; \"expand:selected\"?: PtValue | undefined; \"expand:highlighted\"?: PtValue | undefined; \"expand:expanded\"?: PtValue | undefined; \"selectIcon:disabled\"?: PtValue | undefined; \"selectIcon:indeterminate\"?: PtValue | undefined; \"selectIcon:selected\"?: PtValue | undefined; \"dragHandle:disabled\"?: PtValue | undefined; \"dragHandle:selected\"?: PtValue | undefined; \"dragHandle:highlighted\"?: PtValue | undefined; \"dragHandle:expanded\"?: PtValue | undefined; } & { row?: PtValue | PtItemFn<Item, BbTablePtState, never, { readonly item: Item; }> | undefined; expand?: PtValue | PtItemFn<Item, BbTablePtState, never, { readonly item: Item; }> | undefined; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:body","type":"PtValue | undefined","required":false},{"name":"pt:body:empty","type":"PtValue | undefined","required":false},{"name":"pt:body:loading","type":"PtValue | undefined","required":false},{"name":"pt:caption","type":"PtValue | undefined","required":false},{"name":"pt:caption:empty","type":"PtValue | undefined","required":false},{"name":"pt:caption:loading","type":"PtValue | undefined","required":false},{"name":"pt:cell","type":"PtValue | undefined","required":false},{"name":"pt:cell:disabled","type":"PtValue | undefined","required":false},{"name":"pt:cell:expanded","type":"PtValue | undefined","required":false},{"name":"pt:cell:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:cell:loading","type":"PtValue | undefined","required":false},{"name":"pt:cell:placeholder","type":"PtValue | undefined","required":false},{"name":"pt:cell:selected","type":"PtValue | undefined","required":false},{"name":"pt:cell:value","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:empty","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:loading","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:sorted","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:sortedDesc","type":"PtValue | undefined","required":false},{"name":"pt:dragHandle","type":"PtValue | undefined","required":false},{"name":"pt:dragHandle:disabled","type":"PtValue | undefined","required":false},{"name":"pt:dragHandle:expanded","type":"PtValue | undefined","required":false},{"name":"pt:dragHandle:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:dragHandle:loading","type":"PtValue | undefined","required":false},{"name":"pt:dragHandle:selected","type":"PtValue | undefined","required":false},{"name":"pt:dragIcon","type":"PtValue | undefined","required":false},{"name":"pt:dragIcon:empty","type":"PtValue | undefined","required":false},{"name":"pt:dragIcon:loading","type":"PtValue | undefined","required":false},{"name":"pt:expand","type":"PtValue | ((ctx: PtItemCtx<Item, BbTablePtState>) => PtItemResult) | undefined","required":false},{"name":"pt:expand:expanded","type":"PtValue | undefined","required":false},{"name":"pt:expand:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:expand:loading","type":"PtValue | undefined","required":false},{"name":"pt:expand:selected","type":"PtValue | undefined","required":false},{"name":"pt:firstRow","type":"PtValue | undefined","required":false},{"name":"pt:firstRow:loading","type":"PtValue | undefined","required":false},{"name":"pt:foot","type":"PtValue | undefined","required":false},{"name":"pt:foot:empty","type":"PtValue | undefined","required":false},{"name":"pt:foot:loading","type":"PtValue | undefined","required":false},{"name":"pt:head","type":"PtValue | undefined","required":false},{"name":"pt:head:empty","type":"PtValue | undefined","required":false},{"name":"pt:head:loading","type":"PtValue | undefined","required":false},{"name":"pt:headerRow","type":"PtValue | undefined","required":false},{"name":"pt:headerRow:empty","type":"PtValue | undefined","required":false},{"name":"pt:headerRow:loading","type":"PtValue | undefined","required":false},{"name":"pt:lastRow","type":"PtValue | undefined","required":false},{"name":"pt:lastRow:loading","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:empty","type":"PtValue | undefined","required":false},{"name":"pt:root:loading","type":"PtValue | undefined","required":false},{"name":"pt:row","type":"PtValue | ((ctx: PtItemCtx<Item, BbTablePtState>) => PtItemResult) | undefined","required":false},{"name":"pt:row:disabled","type":"PtValue | undefined","required":false},{"name":"pt:row:expanded","type":"PtValue | undefined","required":false},{"name":"pt:row:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:row:loading","type":"PtValue | undefined","required":false},{"name":"pt:row:selected","type":"PtValue | undefined","required":false},{"name":"pt:selectIcon","type":"PtValue | undefined","required":false},{"name":"pt:selectIcon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:selectIcon:empty","type":"PtValue | undefined","required":false},{"name":"pt:selectIcon:indeterminate","type":"PtValue | undefined","required":false},{"name":"pt:selectIcon:loading","type":"PtValue | undefined","required":false},{"name":"pt:selectIcon:selected","type":"PtValue | undefined","required":false},{"name":"pt:sortIcon","type":"PtValue | undefined","required":false},{"name":"pt:sortIcon:empty","type":"PtValue | undefined","required":false},{"name":"pt:sortIcon:loading","type":"PtValue | undefined","required":false},{"name":"pt:sortIcon:sorted","type":"PtValue | undefined","required":false},{"name":"pt:sortIcon:sortedDesc","type":"PtValue | undefined","required":false},{"name":"pt:table","type":"PtValue | undefined","required":false},{"name":"pt:table:empty","type":"PtValue | undefined","required":false},{"name":"pt:table:loading","type":"PtValue | undefined","required":false},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Sets the input in a readonly state."},{"name":"reorderable","type":"boolean | undefined","required":false,"default":"false","description":"Lets the user reorder the data columns: drag a header, or Shift+←/→ on a focused header. Every move writes `v-model:order`; a column panel that only writes `order` does not need it. `select` / `actions` and a custom `#thead` never move."},{"name":"reorderableRows","type":"boolean | undefined","required":false,"default":"false","description":"Adds a drag handle at the start of each row: the user drags a row, or lifts it with Space / Enter and the arrow keys, and `reorder:rows` reports `{ item, from, to }`. The table never reorders `items`: splice it in the handler."},{"name":"resizable","type":"boolean | undefined","required":false,"default":"false","description":"Lets the user resize the data columns (drag a header's trailing edge, or Alt+←/→; double-click resets). Each commit fires `resize:column(key, width)` once: write the width back into the column definition to keep it. Ignored when inheriting widths."},{"name":"rowClass","type":"BbTableRowClasses<Item> | undefined","required":false,"description":"Classes for each data row, or a function of the row's item."},{"name":"rowMenu","type":"((item: Item) => Item[]) | undefined","required":false,"description":"A row's context menu: right-click, a long press on touch, or Shift+F10 / the Menu key on a focused row open one shared menu with these items. Never on an in-row control; with no visible item the browser's menu shows. Reuse it for the visible `#actions` menu."},{"name":"selectable","type":"boolean | ((item: Item) => boolean) | undefined","required":false,"description":"Makes rows selectable: a boolean for every row, or a function of the row's item deciding for that row."},{"name":"selectAll","type":"boolean | undefined","required":false,"default":"false","description":"Whether the \"Select all\" checkbox is checked."},{"name":"selectAllLabel","type":"string | undefined","required":false,"description":"Label of the \"Select all\" checkbox."},{"name":"selectText","type":"string | undefined","required":false,"description":"Header text of the radio column when the table is not `multiple`."},{"name":"sort","type":"BbTableSortEntry[] | undefined","required":false,"default":"[]","description":"Used by `v-model:sort`: `[columnKey, direction]` entries in priority order, written by the `sortable` headers and shown by them. Doesn't sort `items`: apply it to your data or your server query."},{"name":"tdClass","type":"ColumnClasses<Item> | undefined","required":false,"description":"Classes for every data cell, or a function of `(content, key, item)`."},{"name":"thClass","type":"Classes | undefined","required":false,"description":"Classes for every header cell."},{"name":"totalItems","type":"string | number | undefined","required":false,"description":"Total row count, for `aria-rowcount` and a paired `BbPagination`'s page count. Unset, an array `items` infers it from its length. Numeric strings are coerced."},{"name":"totalPages","type":"string | number | undefined","required":false,"description":"Seeds a paired `BbPagination`'s page count when the server reports pages, not rows; the table renders nothing from it. A known total (`totalItems`) always wins. Numeric strings are coerced."},{"name":"unselectedItems","type":"any[] | undefined","required":false,"default":"[]","description":"Items that are not selected."},{"name":"virtual","type":"boolean | undefined","required":false,"default":"false","description":"Windows the body: only the rows near the scrollport are mounted. Bound the table's height to make it the scroller; column widths are measured once, from the first rows. Ignored when inheriting widths and under a `#tbody` slot."}],"events":[{"name":"click:row","signature":"(event: MouseEvent, item: Item): void","description":"A body row was clicked, or activated with Enter/Space under `keyboardNavigation`. Carries the DOM `MouseEvent` and the raw record."},{"name":"contextmenu:row","signature":"(event: MouseEvent, item: Item): void","description":"A body row was right-clicked. Carries the DOM `MouseEvent` and the raw record."},{"name":"dblclick:row","signature":"(event: MouseEvent, item: Item): void","description":"A body row was double-clicked. Carries the DOM `MouseEvent` and the raw record."},{"name":"hide:column","signature":"(key: string): void","description":"A column was hidden through a header slot's `hideColumn()`. Fired once; write `hidden: true` into the column definition to persist it."},{"name":"item:selected","signature":"(value: TableValueOf<Item, A>): void","description":"The user selected one row. Carries the row's value (read through `itemValue`, the same value the selection v-model holds)."},{"name":"item:unselected","signature":"(value: TableValueOf<Item, A>): void","description":"The user unselected one row. Carries the row's value, like `item:selected`."},{"name":"reorder:rows","signature":"(payload: { item: Item; from: number; to: number; }): void","description":"A row was moved (`reorderable-rows`): `item` is your object, `from` / `to` index the `items` the table holds. Splice `items` in the handler; a drop in place emits nothing."},{"name":"resize:column","signature":"(key: string, width: number | null): void","description":"The user resized a column (`resizable`): the new width in px, or `null` after a double-click on the handle reset it to its declared width."},{"name":"update:expandedItems","signature":"(value: TableValueOf<Item, A>[]): void","description":"Emitted with the new value whenever `v-model:expandedItems` changes."},{"name":"update:highlighted","signature":"(value: TableValueOf<Item, A> | null): void","description":"Emitted with the new value whenever `v-model:highlighted` changes."},{"name":"update:modelValue","signature":"(value: SelectModelOf<TableValueOf<Item, A>, M>): void","description":"Emitted with the new value whenever `v-model` changes."},{"name":"update:order","signature":"(value: string[]): void","description":"Emitted with the new value whenever `v-model:order` changes."},{"name":"update:selectAll","signature":"(value: boolean): void","description":"Emitted with the new value whenever `v-model:selectAll` changes."},{"name":"update:sort","signature":"(value: BbTableSortEntry[]): void","description":"Emitted with the new value whenever `v-model:sort` changes."},{"name":"update:unselectedItems","signature":"(value: TableValueOf<Item, A>[]): void","description":"Emitted with the new value whenever `v-model:unselectedItems` changes."}],"slots":[{"name":"actions","type":"{ expanded?: boolean | undefined; expandProps?: ExpandControllerProps | undefined; toggleExpanded?: (() => void) | undefined; highlighted?: boolean | undefined; toggleHighlighted?: (() => void) | undefined; selected?: boolean | undefined; toggleSelected?: (() => void) | undefined; item: Item; value: TableValueOf<Item, A>; }","description":"Content of each row's actions cell; this slot CREATES the actions column (there is no prop). The header cell (labelled by `actions-text`, replaceable through `#actions:header`) and one cell per row come and go with it. Pin it with `fixed-actions`."},{"name":"actions:header","type":"{ text: string; }","description":"Replaces the default actions header cell content."},{"name":"empty","type":"object","description":"Content shown when there are no rows and nothing is loading, inside the table's own full-width cell: pass content, never a row. Empty only: a failed load shows the table's failure row instead (its message is `failed-text`, and it ends with \"Try again\")."},{"name":"expand","type":"{ expanded: boolean; expandProps?: ExpandControllerProps | undefined; toggleExpanded: () => void; highlighted?: boolean | undefined; toggleHighlighted?: (() => void) | undefined; selected?: boolean | undefined; toggleSelected?: (() => void) | undefined; item: Item; value: TableValueOf<Item, A>; }","description":"Full-width expandable content row rendered below each main row when expanded."},{"name":"header:append","type":"BbTableHeaderAffixSlotProps<Item>","fields":["classes?: Classes","columnKey: string","items?: Item[]","label?: string","sortable?: boolean","sortOrder?: \"asc\" | \"desc\" | null","toggleSort?: ((event?: MouseEvent | KeyboardEvent | undefined) => void)","hideColumn?: (() => void)"],"description":"Content after every data column's header content (the label + sort control, or its own `<key>:header` replacement). A column's `<key>:header:append` wins over this for that column; they never stack, unless it renders nothing there. Branch on `columnKey` for per-column output."},{"name":"header:prepend","type":"BbTableHeaderAffixSlotProps<Item>","fields":["classes?: Classes","columnKey: string","items?: Item[]","label?: string","sortable?: boolean","sortOrder?: \"asc\" | \"desc\" | null","toggleSort?: ((event?: MouseEvent | KeyboardEvent | undefined) => void)","hideColumn?: (() => void)"],"description":"Content before every data column's header content (the label + sort control, or its own `<key>:header` replacement). A column's `<key>:header:prepend` wins over this for that column; they never stack, unless it renders nothing there. Branch on `columnKey` for per-column output."},{"name":"loading","type":"{ items: Item[]; }","description":"Content shown while table rows are loading (replaces the skeleton rows)."},{"name":"select","type":"{ item: Item; value: TableValueOf<Item, A>; checked: boolean; disabled: boolean; inputName: string; readonly: boolean; toggleSelected?: (() => void) | undefined; }","description":"Replaces the default checkbox/radio in the selection cell for each row."},{"name":"select:header","type":"{ multiple: boolean; selectAll: boolean; text: string; }","description":"Replaces the default selection header cell content (checkbox or radio label)."},{"name":"tbody","type":"object","description":"Replaces the content of the body row group (`.bb-table__body`), for full control of the body markup. Provide role-complete rows (`<div role=\"row\">` with one `<div role=\"cell\">` per column), never `<tr>`/`<td>`. A full-width cell spans with `grid-column: 1 / -1`."},{"name":"tfoot","type":"{ columnCount: number; empty: boolean; }","description":"Fills the footer row group (`.bb-table__foot`) for footers that are not column-shaped (a note, pagination). Column-aligned totals go in `#<key>:last` (`#<key>:first` for a row before the data). Role-complete rows (`<div role=\"row\">` of `<div role=\"cell\">`), never `<tr>`/`<td>`."},{"name":"thead","type":"{ empty: boolean; }","description":"Replaces the header row group's content (`.bb-table__head`). The table is a CSS grid: provide `<div role=\"row\">` rows of `<div role=\"columnheader\">` cells, never `<tr>` / `<th>`."},{"name":"<key>","type":"object","description":"One column's body cell in every row, by the column `key` through `slotKey`. Scope: `{ item, value, content, selected, expanded, highlighted, classes, sortOrder, toggleSelected, toggleExpanded, toggleHighlighted, expandProps }`; `content` is this cell, `value` the row's `item-value`.","dynamic":true},{"name":"<key>:header","type":"object","description":"One column's header content, replacing its label and the built-in sort button. Scope: `{ label, items, sortable, sortOrder, toggleSort, hideColumn, classes }`.","dynamic":true},{"name":"<key>:header:prepend","type":"BbTableHeaderAffixSlotProps<Item>","description":"Content before one column's header, keeping the sort button; beats `header:prepend` (they never stack) unless it renders nothing.","dynamic":true},{"name":"<key>:header:append","type":"BbTableHeaderAffixSlotProps<Item>","description":"Content after one column's header, keeping the sort button; beats `header:append` (they never stack) unless it renders nothing.","dynamic":true},{"name":"<key>:first","type":"BbTableEdgeCellSlotProps<Item>","description":"One column's cell in a row before the data rows; any such slot creates the row, aligned with the columns. Only over rows.","dynamic":true},{"name":"<key>:last","type":"BbTableEdgeCellSlotProps<Item>","description":"One column's cell in a row after the data rows (a totals row); any such slot creates that row, aligned like `<key>:first`.","dynamic":true}],"exposed":[],"models":[{"name":"expandedItems","type":"any[] | undefined"},{"name":"highlighted","type":"TableValueOf<Item, A> | null"},{"name":"modelValue","type":"SelectModelOf<TableValueOf<Item, A>, M>"},{"name":"order","type":"string[] | undefined"},{"name":"selectAll","type":"boolean | undefined"},{"name":"sort","type":"BbTableSortEntry[] | undefined"},{"name":"unselectedItems","type":"any[] | undefined"}],"cssProps":[{"name":"--min-w","value":"0px","selector":".bb-table"},{"name":"--bg","value":"var(--bb-panel)","selector":".bb-table","description":"The table's surface colour. A root table PAINTS it (below), so the whole table is one solid surface: pinned cells, the stuck head band and the rows between them always match, whatever the table sits on. Set it on the table (`.my-table { --bg: … }`) to blend into another surface. Rows and cells stay transparent so the row states and tones lay over it; a nested table re-declares its own and paints nothing (it sits on its parent's rows)."},{"name":"--row-hover","value":"var(--bb-surface-hover)","selector":".bb-table","description":"The row hover's fill: the faint wash by default. Retint it or switch it off here (`transparent`), never with a `hover:bg-*` on the row: a pinned cell can only inherit the row's colour, and a transparent one would let the scrolled cells show through it. This one knob reaches the row and its pinned cells alike."},{"name":"--row-tone","value":"initial","selector":".bb-table","description":"A row's resting tone: set `--row-tone` on a row (`pt:row`, `row-class`) on an open row's expansion (`pt:expand`) or on a `#<key>:first` / `:last` row (`pt:firstRow` / `pt:lastRow`), never a `bg-*`. It paints as one translucent layer (`--row-tone-mix` of the colour) ABOVE every state fill, so hover and highlighted still show through it, and pinned cells and sticky rows lay the same layer over their opaque base. Re-declared on every table, so a table nested in a toned row starts untoned (the row's value would otherwise inherit into it)."},{"name":"--row-tone-mix","value":"8%","selector":".bb-table"},{"name":"--px","value":"12px","selector":".bb-table"},{"name":"--cell-h","value":"36px","selector":".bb-table"},{"name":"--py","value":"6px","selector":".bb-table"},{"name":"--actions-spacing","value":"8px","selector":".bb-table"},{"name":"--offset-start","value":"0px","selector":".bb-table","description":"Raw structural edge offset measured by the component (the parent's select/actions track width). Default 0 keeps every calc at its base."},{"name":"--offset-end","value":"0px","selector":".bb-table"},{"name":"--ig","value":"0px","selector":".bb-table","description":"Nested indent locals (see `indentAnchor` in BbTable.vue): the step lands on ONE cell's leading padding. Reset on every table so a parent's step never inherits into a child's cells; the modifier picks the anchor."},{"name":"--is","value":"0px","selector":".bb-table"},{"name":"--ic","value":"0px","selector":".bb-table"},{"name":"--depth","value":"0","selector":".bb-table","description":"Nesting depth (0 at the root) and the parent-region floors of the own structural tracks, both set inline by the component on nested tables; declared here so a parent's values never inherit into a child."},{"name":"--min-g","value":"0px","selector":".bb-table"},{"name":"--min-s","value":"0px","selector":".bb-table"},{"name":"--min-a","value":"0px","selector":".bb-table"},{"name":"--offset-internal-start","value":"var(--offset-start)","selector":".bb-table","description":"Routing of that offset. By default it is \"internal\": added to the first/last cell padding and folded into the first/last column width. Swap internal↔external (set internal to 0 and external to the raw offset) to pad the whole table instead of the edge cells."},{"name":"--offset-internal-end","value":"var(--offset-end)","selector":".bb-table"},{"name":"--offset-external-start","value":"0px","selector":".bb-table"},{"name":"--offset-external-end","value":"0px","selector":".bb-table"},{"name":"--pin-l","value":"0px","selector":".bb-table","description":"Re-declared on every table: a nested table must not inherit its parent's fade or pinned edge."},{"name":"--pin-r","value":"0px","selector":".bb-table"},{"name":"--fade-l","value":"0px","selector":".bb-table"},{"name":"--fade-r","value":"0px","selector":".bb-table"},{"name":"--fade-a-l","value":"1","selector":".bb-table"},{"name":"--fade-a-r","value":"1","selector":".bb-table"},{"name":"--cue-l","value":"0px","selector":".bb-table"},{"name":"--cue-r","value":"0px","selector":".bb-table"},{"name":"--cue-w","value":"8px","selector":".bb-table"},{"name":"--cue","value":"rgb(0 0 0 / 0.1)","selector":".bb-table"},{"name":"--row-bg","value":"var(--bb-panel)","selector":".bb-table__row--lifted"},{"name":"--tone","value":"color-mix( in oklab, var(--row-tone, transparent) var(--row-tone-mix), transparent )","selector":".bb-table__row"}],"pt":{"parts":[{"name":"root","description":"The table's container."},{"name":"caption","description":"The visible caption (`caption` with `displayCaption`)."},{"name":"table","description":"The grid root: `role=\"table\"`, or `role=\"grid\"` with `keyboardNavigation` (`role=\"treegrid\"` with an `#expand` slot too)."},{"name":"head","description":"The header row group."},{"name":"headerRow","description":"The header row."},{"name":"cellColumnHeader","description":"Every column header cell (`role=\"columnheader\"`), the select and actions headers included — a broadcast resolved per header. Not a `<th>`: the grid is `div`s with ARIA roles."},{"name":"sortIcon","description":"A sortable column's sort arrow, resolved per header."},{"name":"body","description":"The body row group."},{"name":"row","description":"Every DATA row — a broadcast resolved per row. The skeleton is not a part, and an expand row is styled through `expand`. Also takes a per-item function, called with the row's raw item, once per rendered row: keep it cheap."},{"name":"cell","description":"Every data cell, the select and actions cells included — a broadcast resolved with its row's states (`role=\"cell\"`, `gridcell` under `keyboardNavigation`) — and the cells of the `firstRow` / `lastRow`, with no row state. Takes no function: use `tdClass` for a per-cell hook."},{"name":"expand","description":"The cell under an open row that holds the `#expand` slot and spans every column — resolved with its data row's `selected`, `highlighted` and `expanded` (always on: the cell exists only while its row is open). Not a `cell`, so `pt:cell` never reaches it: a rule taken off the cells (`pt:cell=\"border-b-0\"`) needs `pt:expand=\"border-b-0\"` too. Also takes a per-item function, called with the open row's raw item."},{"name":"firstRow","description":"The row of `#<key>:first` cells, before the data rows."},{"name":"lastRow","description":"The row of `#<key>:last` cells, after the data rows (a totals row: `pt:lastRow=\"font-semibold\"`)."},{"name":"selectIcon","description":"The selection glyph: each row's checkbox (radio with single selection) and the select-all checkbox — resolved per node. Not rendered when the `select` / `select:header` slots replace them."},{"name":"dragIcon","description":"The move glyph on the chip that follows a column drag (`reorderable`)."},{"name":"dragHandle","description":"Each row's drag handle button (`reorderable-rows`), resolved with its row's states. A class list or an object; no per-row function."},{"name":"foot","description":"The footer row group (the `tfoot` slot's container)."}],"states":[{"name":"value","description":"Per node, on a DATA `cell`: the formatter / placeholder pipeline produced a value (not `null` / `undefined`), slot cells included (`bb-table__cell--value`). Not on the select, drag or actions cells."},{"name":"placeholder","description":"Per node, on a DATA `cell`: the value was empty and the column's `placeholder` shows instead, whatever its text (`bb-table__cell--placeholder`). A cell with an empty value and no `placeholder` has neither state."},{"name":"empty","description":"Component-wide: there are no rows (`bb-table--empty`)."},{"name":"sorted","description":"Per node, on `cellColumnHeader` and `sortIcon`: the column is sorted, either direction (`bb-table__cell-column-header--sorted`)."},{"name":"sortedDesc","description":"Per node, on `cellColumnHeader` and `sortIcon`: sorted descending (`bb-table__cell-column-header--sorted-desc`). Ascending is `sorted` alone."},{"name":"selected","description":"Per node, on `row`, its cells, its `dragHandle`, its `expand` and its `selectIcon`: a checked row; on the select-all glyph, every row is selected."},{"name":"indeterminate","description":"Per node, on the select-all `selectIcon`: some rows are selected, not all."},{"name":"disabled","description":"Per node, on `row`, its cells, its `dragHandle` and its `selectIcon`: the row cannot be SELECTED — `selectable` rejects it, or the table is `disabled` (`bb-table__row--disabled`). It still clicks, highlights and expands. Never on a table without selection. The select-all glyph takes it from the table's `disabled`."},{"name":"expanded","description":"Per node, on `row`, its cells, its `dragHandle` and its `expand`: the row's expand row is open (`bb-table__row--expanded`)."},{"name":"highlighted","description":"Per node, on `row`, its cells, its `dragHandle` and its `expand`: the highlighted row."},{"name":"loading","description":"Component-wide: the table is `loading`."}]},"tree":{"bindings":[{"part":"caption","target":"div.bb-table__caption"},{"part":"dragIcon","target":"BbIcon"},{"part":"table","target":"div"},{"part":"head","target":"div.bb-table__head"},{"part":"headerRow","target":"div.bb-table__header-row"},{"part":"cellColumnHeader","target":"div.bb-table__cell-column-header"},{"part":"selectIcon","target":"BbBaseCheckboxIcon"},{"part":"sortIcon","target":"BbIcon"},{"part":"body","target":"div.bb-table__body"},{"part":"foot","target":"div.bb-table__foot"}],"nodes":[{"name":"BbIcon","kind":"public"},{"name":"BbBaseCheckboxIcon","kind":"public"},{"name":"BbBaseButton","kind":"public"}]},"css":{"classes":{"bb-ruler-line":[""],"bb-sr-only":[""],"bb-table":["","--align-*","--compact","--empty","--fixed","--fixed-header","--indent-*","--inherit-widths","--loading","--overflow-left","--overflow-right","--pinned-left","--pinned-right","--reorderable","--resizable","--row-dragging","--row-grabbing","--rows-reorderable","--selectable","--virtual","--virtual-flat","__body","__caption","__cell","__cell--*","__cell--actions","__cell--clip","__cell--edge-end","__cell--edge-start","__cell--fluid","__cell--line","__cell--nowrap","__cell--outlier","__cell--placeholder","__cell--resized","__cell--row-drag","__cell--select","__cell--token","__cell--value","__cell--word","__cell-column-header","__cell-column-header--*","__cell-column-header--actions","__cell-column-header--clip","__cell-column-header--dragging","__cell-column-header--edge-end","__cell-column-header--edge-start","__cell-column-header--floored","__cell-column-header--locked","__cell-column-header--resizing","__cell-column-header--row-drag","__cell-column-header--select","__cell-column-header--sortable","__cell-column-header--sorted","__cell-column-header--sorted-desc","__cell-column-header--wrap","__drag-icon","__edge-row","__edge-row--*","__edge-row--first","__edge-row--fixed","__edge-row--last","__foot","__head","__head--dragging","__head--resizing","__header-row","__reorder-status","__row","__row--disabled","__row--drag-source","__row--expanded","__row--highlightable","__row--highlighted","__row--lifted","__row--menu","__row-handle","__row-handle-icon","__row-reorder-status","__select-icon","__sort-icon","__table","__table--hold-*"],"bb-table-check":["","__label","__label--disabled","__label-text"],"bb-table-column-drag":[""],"bb-table-column-ghost":[""],"bb-table-empty":["__cell","__content","__content--failed","__failed","__row","__text"],"bb-table-expand":["__cell","__row","__row--highlighted"],"bb-table-header":["__content","__resizer"],"bb-table-loading":["__text"],"bb-table-placeholder":["__row","__row--pending"],"bb-table-radio":["","__label","__label--disabled","__label-text"],"bb-table-resizing":[""],"bb-table-row-drag":[""],"bb-table-row-ghost":[""],"bb-table-ruler":[""],"bb-table-skeleton":["__avatar","__avatar-text","__badge","__cell","__cell--*","__cell--actions","__cell--row-drag","__cell--select","__cell-content","__image","__line","__placeholder","__row"],"bb-table-sort":["","--asc","--desc"],"bb-table-spacer":["__row"]},"locals":["--actions-spacing","--arrow-preview","--bg","--cell-h","--color-gray-200","--cue","--cue-l","--cue-r","--cue-w","--depth","--drop","--fade-a-l","--fade-a-r","--fade-l","--fade-r","--floor","--ic","--ig","--indent","--is","--line","--min-a","--min-g","--min-s","--min-w","--offset-end","--offset-external-end","--offset-external-start","--offset-internal-end","--offset-internal-start","--offset-start","--pin-l","--pin-r","--placeholder-bars","--px","--py","--ring-t","--row-bg","--row-h","--row-hover","--row-tone","--row-tone-mix","--stuck-head-h","--stuck-outer","--stuck-top","--tone","--ts","--virtual-row-tracks","--vw"],"surface":{"stable":[{"class":"bb-table","part":"root","reads":["--bg","--offset-end","--offset-external-end","--offset-external-start","--offset-start"]},{"class":"bb-table__caption","tag":"div","part":"caption"},{"class":"bb-table__table","part":"table","reads":["--min-w"]},{"class":"bb-table__head","tag":"div","part":"head","reads":["--bg","--stuck-top"]},{"class":"bb-table__header-row","tag":"div","part":"headerRow"},{"class":"bb-table__cell-column-header","tag":"div","part":"cellColumnHeader","reads":["--px","--py"]},{"class":"bb-table__sort-icon","tag":"BbIcon","part":"sortIcon","reads":["--arrow-preview"]},{"class":"bb-table__body","tag":"div","part":"body","reads":["--stuck-head-h","--stuck-outer"]},{"class":"bb-table__row","part":"row","reads":["--row-bg","--row-hover","--row-tone","--row-tone-mix","--tone"]},{"class":"bb-table__cell","part":"cell"},{"class":"bb-table__select-icon","tag":"BbBaseCheckboxIcon","part":"selectIcon"},{"class":"bb-table__drag-icon","tag":"BbIcon","part":"dragIcon"},{"class":"bb-table__foot","tag":"div","part":"foot"},{"class":"bb-table__cell--value","state":"value"},{"class":"bb-table__cell--placeholder","state":"placeholder"},{"class":"bb-table--empty","state":"empty"},{"class":"bb-table__cell-column-header--sorted","tag":"div","state":"sorted"},{"class":"bb-table__cell-column-header--sorted-desc","tag":"div","state":"sortedDesc"},{"class":"bb-table__row--disabled","state":"disabled"},{"class":"bb-table__row--expanded","state":"expanded"},{"class":"bb-table__row--highlighted","state":"highlighted","reads":["--row-bg"]},{"class":"bb-table--loading","state":"loading"}],"internal":[{"class":"bb-ruler-line"},{"class":"bb-sr-only","tag":"legend|span"},{"class":"bb-table--compact"},{"class":"bb-table--fixed"},{"class":"bb-table--fixed-header","reads":["--stuck-top"]},{"class":"bb-table--inherit-widths"},{"class":"bb-table--overflow-left","reads":["--cue-w","--fade-a-l","--fade-a-r","--fade-l","--fade-r","--pin-l","--pin-r"]},{"class":"bb-table--overflow-right","reads":["--cue-w","--fade-a-l","--fade-a-r","--fade-l","--fade-r","--pin-l","--pin-r"]},{"class":"bb-table--pinned-left","reads":["--cue-w","--fade-a-l","--fade-a-r","--fade-l","--fade-r","--pin-l","--pin-r"]},{"class":"bb-table--pinned-right","reads":["--cue-w","--fade-a-l","--fade-a-r","--fade-l","--fade-r","--pin-l","--pin-r"]},{"class":"bb-table--reorderable"},{"class":"bb-table--resizable"},{"class":"bb-table--row-dragging"},{"class":"bb-table--row-grabbing"},{"class":"bb-table--rows-reorderable"},{"class":"bb-table--selectable"},{"class":"bb-table--virtual"},{"class":"bb-table--virtual-flat"},{"class":"bb-table-check","tag":"span"},{"class":"bb-table-check__label","tag":"label","reads":["--cell-h","--drop","--line","--px"]},{"class":"bb-table-check__label--disabled","tag":"label"},{"class":"bb-table-check__label-text","tag":"span"},{"class":"bb-table-column-drag"},{"class":"bb-table-column-ghost","tag":"div"},{"class":"bb-table-empty__cell","tag":"div","reads":["--px","--py"]},{"class":"bb-table-empty__content","tag":"div","reads":["--px","--vw"]},{"class":"bb-table-empty__content--failed","tag":"div"},{"class":"bb-table-empty__failed","tag":"span"},{"class":"bb-table-empty__row","tag":"div"},{"class":"bb-table-empty__text","tag":"span"},{"class":"bb-table-expand__cell","reads":["--row-tone","--row-tone-mix","--tone"]},{"class":"bb-table-expand__row"},{"class":"bb-table-expand__row--highlighted"},{"class":"bb-table-header__content","tag":"span"},{"class":"bb-table-header__resizer","tag":"div"},{"class":"bb-table-loading__text","tag":"span"},{"class":"bb-table-placeholder__row","tag":"div","reads":["--bg","--placeholder-bars","--row-h"]},{"class":"bb-table-placeholder__row--pending","tag":"div","reads":["--bg","--placeholder-bars","--row-h"]},{"class":"bb-table-radio"},{"class":"bb-table-radio__label","reads":["--cell-h","--drop","--line","--px"]},{"class":"bb-table-radio__label--disabled"},{"class":"bb-table-radio__label-text","tag":"span"},{"class":"bb-table-resizing"},{"class":"bb-table-row-drag"},{"class":"bb-table-row-ghost"},{"class":"bb-table-ruler"},{"class":"bb-table-skeleton__avatar","tag":"div","reads":["--cell-h","--py"]},{"class":"bb-table-skeleton__avatar-text","tag":"div","reads":["--cell-h","--py"]},{"class":"bb-table-skeleton__badge","tag":"div"},{"class":"bb-table-skeleton__cell","tag":"div","reads":["--cell-h","--px","--py"]},{"class":"bb-table-skeleton__cell--actions","tag":"div"},{"class":"bb-table-skeleton__cell--row-drag","tag":"div","reads":["--px"]},{"class":"bb-table-skeleton__cell--select","tag":"div"},{"class":"bb-table-skeleton__cell-content","tag":"div","reads":["--cell-h","--py"]},{"class":"bb-table-skeleton__image","tag":"div","reads":["--cell-h","--py"]},{"class":"bb-table-skeleton__line","tag":"div"},{"class":"bb-table-skeleton__placeholder","tag":"div"},{"class":"bb-table-skeleton__row","tag":"div"},{"class":"bb-table-sort","tag":"BbBaseButton","reads":["--ring-t"]},{"class":"bb-table-sort--asc","tag":"BbBaseButton"},{"class":"bb-table-sort--desc","tag":"BbBaseButton"},{"class":"bb-table-spacer__row","tag":"div","reads":["--bg","--placeholder-bars","--row-h"]},{"class":"bb-table__cell--actions"},{"class":"bb-table__cell--clip"},{"class":"bb-table__cell--edge-end","reads":["--offset-internal-end","--px"]},{"class":"bb-table__cell--edge-start","reads":["--ic","--offset-internal-start","--px","--ts"]},{"class":"bb-table__cell--fluid"},{"class":"bb-table__cell--line"},{"class":"bb-table__cell--nowrap"},{"class":"bb-table__cell--outlier"},{"class":"bb-table__cell--resized"},{"class":"bb-table__cell--row-drag","reads":["--ig","--px"]},{"class":"bb-table__cell--select","reads":["--is","--px"]},{"class":"bb-table__cell--token"},{"class":"bb-table__cell--word"},{"class":"bb-table__cell-column-header--actions","tag":"div","reads":["--min-a"]},{"class":"bb-table__cell-column-header--clip","tag":"div"},{"class":"bb-table__cell-column-header--dragging","tag":"div"},{"class":"bb-table__cell-column-header--edge-end","tag":"div","reads":["--offset-internal-end","--px"]},{"class":"bb-table__cell-column-header--edge-start","tag":"div","reads":["--ic","--offset-internal-start","--px","--ts"]},{"class":"bb-table__cell-column-header--floored","tag":"div","reads":["--floor"]},{"class":"bb-table__cell-column-header--locked","tag":"div"},{"class":"bb-table__cell-column-header--resizing","tag":"div"},{"class":"bb-table__cell-column-header--row-drag","tag":"div","reads":["--ig","--min-g","--px"]},{"class":"bb-table__cell-column-header--select","tag":"div","reads":["--is","--min-s","--px"]},{"class":"bb-table__cell-column-header--sortable","tag":"div"},{"class":"bb-table__cell-column-header--wrap","tag":"div"},{"class":"bb-table__edge-row","reads":["--row-tone","--row-tone-mix","--tone"]},{"class":"bb-table__edge-row--first","reads":["--stuck-top"]},{"class":"bb-table__edge-row--fixed","reads":["--bg","--stuck-top"]},{"class":"bb-table__edge-row--last"},{"class":"bb-table__head--dragging","tag":"div"},{"class":"bb-table__head--resizing","tag":"div"},{"class":"bb-table__reorder-status","tag":"span"},{"class":"bb-table__row--drag-source"},{"class":"bb-table__row--highlightable"},{"class":"bb-table__row--lifted","reads":["--row-bg"]},{"class":"bb-table__row--menu","reads":["--row-bg"]},{"class":"bb-table__row-handle"},{"class":"bb-table__row-handle-icon"},{"class":"bb-table__row-reorder-status","tag":"span"}],"unaligned":{"parts":["expand","firstRow","lastRow","dragHandle"],"states":["selected","indeterminate"]}}},"attrTargets":["div","fieldset"],"config":"compact*","removed":[{"name":"allowSelectAll","new":"disableSelectAll","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"invert"}},{"name":"enabledWhileLoading","new":"interactiveWhileLoading","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"rename"}},{"name":"actions","new":null,"since":"3.0.0-beta.21","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"remove"}},{"name":"fixedColumns","new":null,"since":"3.0.0-beta.21","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"manual"}},{"name":"noDataText","new":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"no-data","new":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"header:select","new":"select:header","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"rename"}},{"name":"header:actions","new":"actions:header","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"rename"}},{"name":"header:<x>:prepend","new":"<x>:header:prepend","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"rename"}},{"name":"header:<x>:append","new":"<x>:header:append","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"rename"}},{"name":"header:<x>","new":"<x>:header","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"allowSelectAll","to":"disableSelectAll","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"invert"}},{"from":"enabledWhileLoading","to":"interactiveWhileLoading","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"rename"}},{"from":"noDataText","to":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"no-data","to":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"header:select","to":"select:header","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"rename"}},{"from":"header:actions","to":"actions:header","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"rename"}},{"from":"header:<x>:prepend","to":"<x>:header:prepend","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"rename"}},{"from":"header:<x>:append","to":"<x>:header:append","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"rename"}},{"from":"header:<x>","to":"<x>:header","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"rename"}}]},
461
+ {"name":"BbTable","group":"Data Display","description":"Displays tabular data, configurable columns and data mapper.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbTable.md","source":"ai/source/BbTable.md","props":[{"name":"accessibleLabel","type":"((columns: MappedCell[], item: Item) => string) | undefined","required":false,"description":"The label of each row's selection checkbox, from `(columns, item)`. Unset: the row's name in the locale's select template (its `rowHeader` cells, else its first column: \"Select INV-1041\"). The cells arrive in render order: look one up by `key`, never by position."},{"name":"actionsText","type":"string | undefined","required":false,"description":"Label used in the header of the actions column."},{"name":"align","type":"\"end\" | \"start\" | \"center\" | \"left\" | \"right\" | undefined","required":false,"default":"\"start\"","description":"Text alignment of the columns. `'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":"caption","type":"string | undefined","required":false,"description":"Caption describing the table's content, for accessibility."},{"name":"columns","type":"BbTableColumn<T>[] | undefined","required":false,"default":"[]","description":"Array of definitions of how the columns should be rendered."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Adds a CSS class that applies a compact style to the component."},{"name":"dependencies","type":"unknown[] | undefined","required":false,"default":"[]","description":"Defines an array of dependencies that will trigger actions in the component upon change."},{"name":"depsDebounceTime","type":"number | undefined","required":false,"default":"0","description":"Timeout used to debounce response to changes to dependencies."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the component"},{"name":"disableSelectAll","type":"boolean | undefined","required":false,"default":"false","description":"Hides the \"Select all\" checkbox that selectable multi-row tables display by default."},{"name":"displayCaption","type":"boolean | undefined","required":false,"default":"false","description":"Shows the caption as a visible title. Off by default: the caption is hidden, and screen readers still hear it as the table's name."},{"name":"emptyText","type":"string | undefined","required":false,"default":"the localized `common.emptyText` (\"No data to display\")","description":"Text shown when there are no items."},{"name":"enforceCoherence","type":"boolean | undefined","required":false,"default":"false","description":"After every load, prunes `modelValue`, `unselected-items`, `highlighted` and `expanded-items` of values whose row is gone (a single value resets to `null`). Never on a provider-paginated table: a page change would prune the other pages' selection; reconcile in the provider instead."},{"name":"expandedItems","type":"any[] | undefined","required":false,"default":"[]","description":"Used by `v-model:expandedItems`: the expanded items, toggled by the row expand control and by external writes, like the `highlighted` / `sort` v-models. Drives the `#expand` rows and their `aria-expanded` / `aria-controls` wiring."},{"name":"failedText","type":"string | undefined","required":false,"default":"the localized `common.failedText` (\"Couldn't load items\")","description":"String displayed in the empty state while the latest load FAILED (the `items` provider threw): the twin of `emptyText` for that case."},{"name":"fixed","type":"boolean | undefined","required":false,"default":"false","description":"Gives the columns that declare no `width` an equal share of the width (a `minmax(0, 1fr)` track each)."},{"name":"fixedActions","type":"boolean | undefined","required":false,"default":"false","description":"Pins the actions column (the one the `#actions` slot creates) to the right edge, `position: sticky`, in place. It has no column definition, so this is its `column.fixed`. No effect without an `#actions` slot."},{"name":"fixedFirst","type":"boolean | undefined","required":false,"default":"false","description":"Sticks the `#<key>:first` row to the top of the scrollport (under a stuck header)."},{"name":"fixedHeaders","type":"boolean | undefined","required":false,"default":"false","description":"Sticks the headers to the top of the table."},{"name":"fixedLast","type":"boolean | undefined","required":false,"default":"false","description":"Sticks the `#<key>:last` row (a totals row) to the bottom of the scrollport."},{"name":"fixedSelect","type":"boolean | undefined","required":false,"default":"false","description":"Pins the selection column to the left edge, `position: sticky`, in place. It has no column definition, so this is its `column.fixed`. No effect unless the table is `selectable`."},{"name":"headerRowClass","type":"Classes | undefined","required":false,"description":"Classes for the header row."},{"name":"highlightable","type":"boolean | ((item: Item) => boolean) | undefined","required":false,"default":"undefined","description":"Which rows a click, Enter or `toggleHighlighted` may highlight: `false` for none, or a function of the row's item. Unset: every row, when `highlighted` is bound. A value the app sets still shows on a refused row."},{"name":"highlighted","type":"any","required":false,"default":"`undefined` (unset: whether it is bound is read off it)","description":"Used by `v-model:highlighted`: the one row the UI is about (say, whose details are open), a single item value or `null`. Opt-in: bound, a row click highlights; unbound, it only emits `click:row`. The row gets `aria-current=\"true\"` and a shipped tint."},{"name":"id","type":"string | undefined","required":false,"description":"Stable id for this table's width context. When omitted a unique id is generated. Nested tables use the nearest ancestor id to inherit widths."},{"name":"inheritColumnWidths","type":"string | boolean | undefined","required":false,"description":"Snaps a nested table's columns to an ancestor table's tracks: `true` = the nearest one, a table `id` = that one (when a table in between has a different column count). Off by default: a nested table sizes itself."},{"name":"interactiveWhileLoading","type":"boolean | undefined","required":false,"default":"false","description":"Keeps the header and rows interactive while loading (by default they are `inert`: a refetch is about to replace them). For background refreshes that must not interrupt an open editor."},{"name":"items","type":"Item[] | ((context: BbTableItemsContext) => Item[] | Promise<Item[]>)","required":true,"default":"[]","description":"Rows to render: an array, or a provider called with a `BbTableItemsContext` (`reason`, `modelValue`, `signal`), sync or async. A provider fails by THROWING, never by returning `[]`: the rows clear and the failure row shows `failed-text` with \"Try again\". Return the page as it is."},{"name":"itemValue","type":"ItemAccessor<Item> | undefined","required":false,"description":"The row's value, as a property path or a function returning any value; the selection, `expandedItems` and row keys compare by it."},{"name":"keyboardNavigation","type":"boolean | undefined","required":false,"default":"false","description":"Opt-in keyboard navigation: the table becomes an ARIA `grid` (`treegrid` with an `#expand` slot) with ONE tab stop and roving focus over its cells. Controls in cells leave the tab order (Enter/F2 go in). Ignored with a `#tbody` slot."},{"name":"legend","type":"string | undefined","required":false,"description":"The `<legend>` of a `selectable` table (it renders as a `<fieldset>`): the selection's accessible name. Falls back to `caption`, then to a localized default."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Loading state: skeletons with no rows yet, else the rows stay on screen, dimmed, under an indeterminate bar. A refetch never blanks a table the user is reading."},{"name":"loadingText","type":"string | undefined","required":false,"default":"the localized `common.loadingText` (\"Loading...\")","description":"Screen-reader announcement for the loading row's `aria-live` status. Visually hidden — the skeleton (or the `#loading` slot) is the visible signal."},{"name":"max","type":"number | undefined","required":false,"default":"Infinity","description":"Maximum number of items that can be selected."},{"name":"modelValue","type":"any","required":false,"default":"[]","description":"Used by v-model. Can be any serializable type."},{"name":"multiple","type":"boolean | undefined","required":false,"default":"true","description":"Allows the selection of multiple items."},{"name":"multiSort","type":"boolean | undefined","required":false,"default":"false","description":"A plain click on a sortable header adds the column to the sort, as Shift+click always does. Off, a plain click makes the sort that column alone."},{"name":"name","type":"string | undefined","required":false,"description":"Defines the name of the input."},{"name":"order","type":"string[] | undefined","required":false,"default":"[]","description":"Used by `v-model:order`: the column keys in render order. Columns it omits follow in declaration order; unknown keys stay put. A `reorderable` move writes it back complete. Works unbound, like `sort`; never holds `select` / `actions`."},{"name":"page","type":"string | number | undefined","required":false,"description":"Current page (from 1), for the rows' `aria-rowindex` and a `BbPagination` paired through `id`. Doesn't slice `items`: pass the current page's rows. Numeric strings are coerced."},{"name":"perPage","type":"string | number | undefined","required":false,"description":"Rows per page, for `aria-rowindex` and a paired `BbPagination`. Doesn't slice `items`. Unset, an array `items` infers it from its length. Numeric strings are coerced."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"caption\", \"table\", \"head\", \"headerRow\", \"cellColumnHeader\", \"sortIcon\", \"body\", \"row\", \"cell\", \"expand\", \"firstRow\", \"lastRow\", \"selectIcon\", \"dragIcon\", \"dragHandle\", \"foot\"]; readonly states: readonly [\"value\", \"placeholder\", \"empty\", \"sorted\", \"sortedDesc\", \"selected\", \"indeterminate\", \"disabled\", \"expanded\", \"highlighted\", \"loading\"]; readonly wide: readonly [\"empty\", \"loading\"]; readonly node: { readonly cellColumnHeader: readonly [\"sorted\", \"sortedDesc\"]; readonly sortIcon: readonly [\"sorted\", \"sortedDesc\"]; readonly row: readonly [\"selected\", \"disabled\", \"expanded\", \"highlighted\"]; readonly cell: readonly [\"value\", \"placeholder\", \"selected\", \"disabled\", \"expanded\", \"highlighted\"]; readonly dragHandle: readonly [\"selected\", \"disabled\", \"expanded\", \"highlighted\"]; readonly expand: readonly [\"selected\", \"expanded\", \"highlighted\"]; readonly selectIcon: readonly [\"selected\", \"indeterminate\", \"disabled\"]; }; readonly except: { readonly row: readonly [\"empty\"]; readonly cell: readonly [\"empty\"]; readonly expand: readonly [\"empty\"]; readonly firstRow: readonly [\"empty\"]; readonly lastRow: readonly [\"empty\"]; readonly dragHandle: readonly [\"empty\"]; }; }> & { body?: PtValue | undefined; caption?: PtValue | undefined; head?: PtValue | undefined; table?: PtValue | undefined; root?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; \"cellColumnHeader:loading\"?: PtValue | undefined; foot?: PtValue | undefined; headerRow?: PtValue | undefined; sortIcon?: PtValue | undefined; cell?: PtValue | undefined; firstRow?: PtValue | undefined; lastRow?: PtValue | undefined; selectIcon?: PtValue | undefined; dragIcon?: PtValue | undefined; dragHandle?: PtValue | undefined; \"body:loading\"?: PtValue | undefined; \"body:empty\"?: PtValue | undefined; \"caption:loading\"?: PtValue | undefined; \"caption:empty\"?: PtValue | undefined; \"head:loading\"?: PtValue | undefined; \"head:empty\"?: PtValue | undefined; \"table:loading\"?: PtValue | undefined; \"table:empty\"?: PtValue | undefined; \"root:empty\"?: PtValue | undefined; \"cellColumnHeader:empty\"?: PtValue | undefined; \"foot:loading\"?: PtValue | undefined; \"foot:empty\"?: PtValue | undefined; \"headerRow:loading\"?: PtValue | undefined; \"headerRow:empty\"?: PtValue | undefined; \"sortIcon:loading\"?: PtValue | undefined; \"sortIcon:empty\"?: PtValue | undefined; \"row:loading\"?: PtValue | undefined; \"cell:loading\"?: PtValue | undefined; \"expand:loading\"?: PtValue | undefined; \"firstRow:loading\"?: PtValue | undefined; \"lastRow:loading\"?: PtValue | undefined; \"selectIcon:loading\"?: PtValue | undefined; \"selectIcon:empty\"?: PtValue | undefined; \"dragIcon:loading\"?: PtValue | undefined; \"dragIcon:empty\"?: PtValue | undefined; \"dragHandle:loading\"?: PtValue | undefined; \"cellColumnHeader:sorted\"?: PtValue | undefined; \"cellColumnHeader:sortedDesc\"?: PtValue | undefined; \"sortIcon:sorted\"?: PtValue | undefined; \"sortIcon:sortedDesc\"?: PtValue | undefined; \"row:disabled\"?: PtValue | undefined; \"row:selected\"?: PtValue | undefined; \"row:highlighted\"?: PtValue | undefined; \"row:expanded\"?: PtValue | undefined; \"cell:placeholder\"?: PtValue | undefined; \"cell:value\"?: PtValue | undefined; \"cell:disabled\"?: PtValue | undefined; \"cell:selected\"?: PtValue | undefined; \"cell:highlighted\"?: PtValue | undefined; \"cell:expanded\"?: PtValue | undefined; \"expand:selected\"?: PtValue | undefined; \"expand:highlighted\"?: PtValue | undefined; \"expand:expanded\"?: PtValue | undefined; \"selectIcon:disabled\"?: PtValue | undefined; \"selectIcon:indeterminate\"?: PtValue | undefined; \"selectIcon:selected\"?: PtValue | undefined; \"dragHandle:disabled\"?: PtValue | undefined; \"dragHandle:selected\"?: PtValue | undefined; \"dragHandle:highlighted\"?: PtValue | undefined; \"dragHandle:expanded\"?: PtValue | undefined; } & { row?: PtValue | PtItemFn<Item, BbTablePtState, never, { readonly item: Item; }> | undefined; expand?: PtValue | PtItemFn<Item, BbTablePtState, never, { readonly item: Item; }> | undefined; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:body","type":"PtValue | undefined","required":false},{"name":"pt:body:empty","type":"PtValue | undefined","required":false},{"name":"pt:body:loading","type":"PtValue | undefined","required":false},{"name":"pt:caption","type":"PtValue | undefined","required":false},{"name":"pt:caption:empty","type":"PtValue | undefined","required":false},{"name":"pt:caption:loading","type":"PtValue | undefined","required":false},{"name":"pt:cell","type":"PtValue | undefined","required":false},{"name":"pt:cell:disabled","type":"PtValue | undefined","required":false},{"name":"pt:cell:expanded","type":"PtValue | undefined","required":false},{"name":"pt:cell:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:cell:loading","type":"PtValue | undefined","required":false},{"name":"pt:cell:placeholder","type":"PtValue | undefined","required":false},{"name":"pt:cell:selected","type":"PtValue | undefined","required":false},{"name":"pt:cell:value","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:empty","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:loading","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:sorted","type":"PtValue | undefined","required":false},{"name":"pt:cellColumnHeader:sortedDesc","type":"PtValue | undefined","required":false},{"name":"pt:dragHandle","type":"PtValue | undefined","required":false},{"name":"pt:dragHandle:disabled","type":"PtValue | undefined","required":false},{"name":"pt:dragHandle:expanded","type":"PtValue | undefined","required":false},{"name":"pt:dragHandle:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:dragHandle:loading","type":"PtValue | undefined","required":false},{"name":"pt:dragHandle:selected","type":"PtValue | undefined","required":false},{"name":"pt:dragIcon","type":"PtValue | undefined","required":false},{"name":"pt:dragIcon:empty","type":"PtValue | undefined","required":false},{"name":"pt:dragIcon:loading","type":"PtValue | undefined","required":false},{"name":"pt:expand","type":"PtValue | ((ctx: PtItemCtx<Item, BbTablePtState>) => PtItemResult) | undefined","required":false},{"name":"pt:expand:expanded","type":"PtValue | undefined","required":false},{"name":"pt:expand:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:expand:loading","type":"PtValue | undefined","required":false},{"name":"pt:expand:selected","type":"PtValue | undefined","required":false},{"name":"pt:firstRow","type":"PtValue | undefined","required":false},{"name":"pt:firstRow:loading","type":"PtValue | undefined","required":false},{"name":"pt:foot","type":"PtValue | undefined","required":false},{"name":"pt:foot:empty","type":"PtValue | undefined","required":false},{"name":"pt:foot:loading","type":"PtValue | undefined","required":false},{"name":"pt:head","type":"PtValue | undefined","required":false},{"name":"pt:head:empty","type":"PtValue | undefined","required":false},{"name":"pt:head:loading","type":"PtValue | undefined","required":false},{"name":"pt:headerRow","type":"PtValue | undefined","required":false},{"name":"pt:headerRow:empty","type":"PtValue | undefined","required":false},{"name":"pt:headerRow:loading","type":"PtValue | undefined","required":false},{"name":"pt:lastRow","type":"PtValue | undefined","required":false},{"name":"pt:lastRow:loading","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:empty","type":"PtValue | undefined","required":false},{"name":"pt:root:loading","type":"PtValue | undefined","required":false},{"name":"pt:row","type":"PtValue | ((ctx: PtItemCtx<Item, BbTablePtState>) => PtItemResult) | undefined","required":false},{"name":"pt:row:disabled","type":"PtValue | undefined","required":false},{"name":"pt:row:expanded","type":"PtValue | undefined","required":false},{"name":"pt:row:highlighted","type":"PtValue | undefined","required":false},{"name":"pt:row:loading","type":"PtValue | undefined","required":false},{"name":"pt:row:selected","type":"PtValue | undefined","required":false},{"name":"pt:selectIcon","type":"PtValue | undefined","required":false},{"name":"pt:selectIcon:disabled","type":"PtValue | undefined","required":false},{"name":"pt:selectIcon:empty","type":"PtValue | undefined","required":false},{"name":"pt:selectIcon:indeterminate","type":"PtValue | undefined","required":false},{"name":"pt:selectIcon:loading","type":"PtValue | undefined","required":false},{"name":"pt:selectIcon:selected","type":"PtValue | undefined","required":false},{"name":"pt:sortIcon","type":"PtValue | undefined","required":false},{"name":"pt:sortIcon:empty","type":"PtValue | undefined","required":false},{"name":"pt:sortIcon:loading","type":"PtValue | undefined","required":false},{"name":"pt:sortIcon:sorted","type":"PtValue | undefined","required":false},{"name":"pt:sortIcon:sortedDesc","type":"PtValue | undefined","required":false},{"name":"pt:table","type":"PtValue | undefined","required":false},{"name":"pt:table:empty","type":"PtValue | undefined","required":false},{"name":"pt:table:loading","type":"PtValue | undefined","required":false},{"name":"readonly","type":"boolean | undefined","required":false,"default":"false","description":"Sets the input in a readonly state."},{"name":"reorderable","type":"boolean | undefined","required":false,"default":"false","description":"Lets the user reorder the data columns: drag a header, or Shift+←/→ on a focused header. Every move writes `v-model:order`; a column panel that only writes `order` does not need it. `select` / `actions` and a custom `#thead` never move."},{"name":"reorderableRows","type":"boolean | undefined","required":false,"default":"false","description":"Adds a drag handle at the start of each row: the user drags a row, or lifts it with Space / Enter and the arrow keys, and `reorder:rows` reports `{ item, from, to }`. The table never reorders `items`: splice it in the handler."},{"name":"resizable","type":"boolean | undefined","required":false,"default":"false","description":"Lets the user resize the data columns (drag a header's trailing edge, or Alt+←/→; double-click resets). Each commit fires `resize:column(key, width)` once: write the width back into the column definition to keep it. Ignored when inheriting widths."},{"name":"rowClass","type":"BbTableRowClasses<Item> | undefined","required":false,"description":"Classes for each data row, or a function of the row's item."},{"name":"rowMenu","type":"((item: Item) => Item[]) | undefined","required":false,"description":"A row's context menu: right-click, a long press on touch, or Shift+F10 / the Menu key on a focused row open one shared menu with these items. Never on an in-row control; with no visible item the browser's menu shows. Reuse it for the visible `#actions` menu."},{"name":"selectable","type":"boolean | ((item: Item) => boolean) | undefined","required":false,"description":"Makes rows selectable: a boolean for every row, or a function of the row's item deciding for that row."},{"name":"selectAll","type":"boolean | undefined","required":false,"default":"false","description":"Whether the \"Select all\" checkbox is checked."},{"name":"selectAllLabel","type":"string | undefined","required":false,"description":"Label of the \"Select all\" checkbox."},{"name":"selectText","type":"string | undefined","required":false,"description":"Header text of the radio column when the table is not `multiple`."},{"name":"sort","type":"BbTableSortEntry[] | undefined","required":false,"default":"[]","description":"Used by `v-model:sort`: `[columnKey, direction]` entries in priority order, written by the `sortable` headers and shown by them. Doesn't sort `items`: apply it to your data or your server query."},{"name":"tdClass","type":"ColumnClasses<Item> | undefined","required":false,"description":"Classes for every data cell, or a function of `(content, key, item)`."},{"name":"thClass","type":"Classes | undefined","required":false,"description":"Classes for every header cell."},{"name":"totalItems","type":"string | number | undefined","required":false,"description":"Total row count, for `aria-rowcount` and a paired `BbPagination`'s page count. Unset, an array `items` infers it from its length. Numeric strings are coerced."},{"name":"totalPages","type":"string | number | undefined","required":false,"description":"Seeds a paired `BbPagination`'s page count when the server reports pages, not rows; the table renders nothing from it. A known total (`totalItems`) always wins. Numeric strings are coerced."},{"name":"unselectedItems","type":"any[] | undefined","required":false,"default":"[]","description":"Items that are not selected."},{"name":"virtual","type":"boolean | undefined","required":false,"default":"false","description":"Windows the body: only the rows near the scrollport are mounted. Bound the table's height to make it the scroller; column widths are measured once, from the first rows. Ignored when inheriting widths and under a `#tbody` slot."}],"events":[{"name":"click:row","signature":"(event: MouseEvent, item: Item): void","description":"A body row was clicked, or activated with Enter/Space under `keyboardNavigation`. Carries the DOM `MouseEvent` and the raw record."},{"name":"contextmenu:row","signature":"(event: MouseEvent, item: Item): void","description":"A body row was right-clicked. Carries the DOM `MouseEvent` and the raw record."},{"name":"dblclick:row","signature":"(event: MouseEvent, item: Item): void","description":"A body row was double-clicked. Carries the DOM `MouseEvent` and the raw record."},{"name":"hide:column","signature":"(key: string): void","description":"A column was hidden through a header slot's `hideColumn()`. Fired once; write `hidden: true` into the column definition to persist it."},{"name":"item:selected","signature":"(value: TableValueOf<Item, A>): void","description":"The user selected one row. Carries the row's value (read through `itemValue`, the same value the selection v-model holds)."},{"name":"item:unselected","signature":"(value: TableValueOf<Item, A>): void","description":"The user unselected one row. Carries the row's value, like `item:selected`."},{"name":"reorder:rows","signature":"(payload: { item: Item; from: number; to: number; }): void","description":"A row was moved (`reorderable-rows`): `item` is your object, `from` / `to` index the `items` the table holds. Splice `items` in the handler; a drop in place emits nothing."},{"name":"resize:column","signature":"(key: string, width: number | null): void","description":"The user resized a column (`resizable`): the new width in px, or `null` after a double-click on the handle reset it to its declared width."},{"name":"update:expandedItems","signature":"(value: TableValueOf<Item, A>[]): void","description":"Emitted with the new value whenever `v-model:expandedItems` changes."},{"name":"update:highlighted","signature":"(value: TableValueOf<Item, A> | null): void","description":"Emitted with the new value whenever `v-model:highlighted` changes."},{"name":"update:modelValue","signature":"(value: SelectModelOf<TableValueOf<Item, A>, M>): void","description":"Emitted with the new value whenever `v-model` changes."},{"name":"update:order","signature":"(value: string[]): void","description":"Emitted with the new value whenever `v-model:order` changes."},{"name":"update:selectAll","signature":"(value: boolean): void","description":"Emitted with the new value whenever `v-model:selectAll` changes."},{"name":"update:sort","signature":"(value: BbTableSortEntry[]): void","description":"Emitted with the new value whenever `v-model:sort` changes."},{"name":"update:unselectedItems","signature":"(value: TableValueOf<Item, A>[]): void","description":"Emitted with the new value whenever `v-model:unselectedItems` changes."}],"slots":[{"name":"actions","type":"{ expanded?: boolean | undefined; expandProps?: ExpandControllerProps | undefined; toggleExpanded?: (() => void) | undefined; highlighted?: boolean | undefined; toggleHighlighted?: (() => void) | undefined; selected?: boolean | undefined; toggleSelected?: (() => void) | undefined; item: Item; value: TableValueOf<Item, A>; }","description":"Content of each row's actions cell; this slot CREATES the actions column (there is no prop). The header cell (labelled by `actions-text`, replaceable through `#actions:header`) and one cell per row come and go with it. Pin it with `fixed-actions`."},{"name":"actions:header","type":"{ text: string; }","description":"Replaces the default actions header cell content."},{"name":"empty","type":"object","description":"Content shown when there are no rows and nothing is loading, inside the table's own full-width cell: pass content, never a row. Empty only: a failed load shows the table's failure row instead (its message is `failed-text`, and it ends with \"Try again\")."},{"name":"expand","type":"{ expanded: boolean; expandProps?: ExpandControllerProps | undefined; toggleExpanded: () => void; highlighted?: boolean | undefined; toggleHighlighted?: (() => void) | undefined; selected?: boolean | undefined; toggleSelected?: (() => void) | undefined; item: Item; value: TableValueOf<Item, A>; }","description":"Full-width expandable content row rendered below each main row when expanded."},{"name":"header:append","type":"BbTableHeaderAffixSlotProps<Item>","fields":["classes?: Classes","columnKey: string","items?: Item[]","label?: string","sortable?: boolean","sortOrder?: \"asc\" | \"desc\" | null","toggleSort?: ((event?: MouseEvent | KeyboardEvent | undefined) => void)","hideColumn?: (() => void)"],"description":"Content after every data column's header content (the label + sort control, or its own `<key>:header` replacement). A column's `<key>:header:append` wins over this for that column; they never stack, unless it renders nothing there. Branch on `columnKey` for per-column output."},{"name":"header:prepend","type":"BbTableHeaderAffixSlotProps<Item>","fields":["classes?: Classes","columnKey: string","items?: Item[]","label?: string","sortable?: boolean","sortOrder?: \"asc\" | \"desc\" | null","toggleSort?: ((event?: MouseEvent | KeyboardEvent | undefined) => void)","hideColumn?: (() => void)"],"description":"Content before every data column's header content (the label + sort control, or its own `<key>:header` replacement). A column's `<key>:header:prepend` wins over this for that column; they never stack, unless it renders nothing there. Branch on `columnKey` for per-column output."},{"name":"loading","type":"{ items: Item[]; }","description":"Content shown while table rows are loading (replaces the skeleton rows)."},{"name":"select","type":"{ item: Item; value: TableValueOf<Item, A>; checked: boolean; disabled: boolean; inputName: string; readonly: boolean; toggleSelected?: (() => void) | undefined; }","description":"Replaces the default checkbox/radio in the selection cell for each row."},{"name":"select:header","type":"{ multiple: boolean; selectAll: boolean; text: string; }","description":"Replaces the default selection header cell content (checkbox or radio label)."},{"name":"tbody","type":"object","description":"Replaces the content of the body row group (`.bb-table__body`), for full control of the body markup. Provide role-complete rows (`<div role=\"row\">` with one `<div role=\"cell\">` per column), never `<tr>`/`<td>`. A full-width cell spans with `grid-column: 1 / -1`."},{"name":"tfoot","type":"{ columnCount: number; empty: boolean; }","description":"Fills the footer row group (`.bb-table__foot`) for footers that are not column-shaped (a note, pagination). Column-aligned totals go in `#<key>:last` (`#<key>:first` for a row before the data). Role-complete rows (`<div role=\"row\">` of `<div role=\"cell\">`), never `<tr>`/`<td>`."},{"name":"thead","type":"{ empty: boolean; }","description":"Replaces the header row group's content (`.bb-table__head`). The table is a CSS grid: provide `<div role=\"row\">` rows of `<div role=\"columnheader\">` cells, never `<tr>` / `<th>`."},{"name":"<key>","type":"object","description":"One column's body cell in every row, by the column `key` through `slotKey`. Scope: `{ item, value, content, selected, expanded, highlighted, classes, sortOrder, toggleSelected, toggleExpanded, toggleHighlighted, expandProps }`; `content` is this cell, `value` the row's `item-value`.","dynamic":true},{"name":"<key>:header","type":"object","description":"One column's header content, replacing its label and the built-in sort button. Scope: `{ label, items, sortable, sortOrder, toggleSort, hideColumn, classes }`.","dynamic":true},{"name":"<key>:header:prepend","type":"BbTableHeaderAffixSlotProps<Item>","description":"Content before one column's header, keeping the sort button; beats `header:prepend` (they never stack) unless it renders nothing.","dynamic":true},{"name":"<key>:header:append","type":"BbTableHeaderAffixSlotProps<Item>","description":"Content after one column's header, keeping the sort button; beats `header:append` (they never stack) unless it renders nothing.","dynamic":true},{"name":"<key>:first","type":"BbTableEdgeCellSlotProps<Item>","description":"One column's cell in a row before the data rows; any such slot creates the row, aligned with the columns. Only over rows.","dynamic":true},{"name":"<key>:last","type":"BbTableEdgeCellSlotProps<Item>","description":"One column's cell in a row after the data rows (a totals row); any such slot creates that row, aligned like `<key>:first`.","dynamic":true}],"exposed":[],"models":[{"name":"expandedItems","type":"any[] | undefined"},{"name":"highlighted","type":"TableValueOf<Item, A> | null"},{"name":"modelValue","type":"SelectModelOf<TableValueOf<Item, A>, M>"},{"name":"order","type":"string[] | undefined"},{"name":"selectAll","type":"boolean | undefined"},{"name":"sort","type":"BbTableSortEntry[] | undefined"},{"name":"unselectedItems","type":"any[] | undefined"}],"cssProps":[{"name":"--min-w","value":"0px","selector":".bb-table"},{"name":"--bg","value":"var(--bb-panel)","selector":".bb-table","description":"The table's surface colour. A root table PAINTS it (below), so the whole table is one solid surface: pinned cells, the stuck head band and the rows between them always match, whatever the table sits on. Set it on the table (`.my-table { --bg: … }`) to blend into another surface. Rows and cells stay transparent so the row states and tones lay over it; a nested table re-declares its own and paints nothing (it sits on its parent's rows)."},{"name":"--row-hover","value":"var(--bb-surface-hover)","selector":".bb-table","description":"The row hover's fill: the faint wash by default. Retint it or switch it off here (`transparent`), never with a `hover:bg-*` on the row: a pinned cell can only inherit the row's colour, and a transparent one would let the scrolled cells show through it. This one knob reaches the row and its pinned cells alike."},{"name":"--row-tone","value":"initial","selector":".bb-table","description":"A row's resting tone: set `--row-tone` on a row (`pt:row`, `row-class`) on an open row's expansion (`pt:expand`) or on a `#<key>:first` / `:last` row (`pt:firstRow` / `pt:lastRow`), never a `bg-*`. It paints as one translucent layer (`--row-tone-mix` of the colour) ABOVE every state fill, so hover and highlighted still show through it, and pinned cells and sticky rows lay the same layer over their opaque base. Re-declared on every table, so a table nested in a toned row starts untoned (the row's value would otherwise inherit into it)."},{"name":"--row-tone-mix","value":"8%","selector":".bb-table"},{"name":"--px","value":"12px","selector":".bb-table"},{"name":"--cell-h","value":"36px","selector":".bb-table"},{"name":"--py","value":"6px","selector":".bb-table"},{"name":"--actions-spacing","value":"8px","selector":".bb-table"},{"name":"--offset-start","value":"0px","selector":".bb-table","description":"Raw structural edge offset measured by the component (the parent's select/actions track width). Default 0 keeps every calc at its base."},{"name":"--offset-end","value":"0px","selector":".bb-table"},{"name":"--ig","value":"0px","selector":".bb-table","description":"Nested indent locals (see `indentAnchor` in BbTable.vue): the step lands on ONE cell's leading padding. Reset on every table so a parent's step never inherits into a child's cells; the modifier picks the anchor."},{"name":"--is","value":"0px","selector":".bb-table"},{"name":"--ic","value":"0px","selector":".bb-table"},{"name":"--depth","value":"0","selector":".bb-table","description":"Nesting depth (0 at the root) and the parent-region floors of the own structural tracks, both set inline by the component on nested tables; declared here so a parent's values never inherit into a child."},{"name":"--min-g","value":"0px","selector":".bb-table"},{"name":"--min-s","value":"0px","selector":".bb-table"},{"name":"--min-a","value":"0px","selector":".bb-table"},{"name":"--offset-internal-start","value":"var(--offset-start)","selector":".bb-table","description":"Routing of that offset. By default it is \"internal\": added to the first/last cell padding and folded into the first/last column width. Swap internal↔external (set internal to 0 and external to the raw offset) to pad the whole table instead of the edge cells."},{"name":"--offset-internal-end","value":"var(--offset-end)","selector":".bb-table"},{"name":"--offset-external-start","value":"0px","selector":".bb-table"},{"name":"--offset-external-end","value":"0px","selector":".bb-table"},{"name":"--pin-l","value":"0px","selector":".bb-table","description":"Re-declared on every table: a nested table must not inherit its parent's fade or pinned edge."},{"name":"--pin-r","value":"0px","selector":".bb-table"},{"name":"--fade-l","value":"0px","selector":".bb-table"},{"name":"--fade-r","value":"0px","selector":".bb-table"},{"name":"--fade-a-l","value":"1","selector":".bb-table"},{"name":"--fade-a-r","value":"1","selector":".bb-table"},{"name":"--cue-l","value":"0px","selector":".bb-table"},{"name":"--cue-r","value":"0px","selector":".bb-table"},{"name":"--cue-w","value":"8px","selector":".bb-table"},{"name":"--cue","value":"rgb(0 0 0 / 0.1)","selector":".bb-table"},{"name":"--row-bg","value":"var(--bb-panel)","selector":".bb-table__row--lifted"},{"name":"--tone","value":"color-mix( in oklab, var(--row-tone, transparent) var(--row-tone-mix), transparent )","selector":".bb-table__row"}],"pt":{"parts":[{"name":"root","description":"The table's container."},{"name":"caption","description":"The visible caption (`caption` with `displayCaption`)."},{"name":"table","description":"The grid root: `role=\"table\"`, or `role=\"grid\"` with `keyboardNavigation` (`role=\"treegrid\"` with an `#expand` slot too)."},{"name":"head","description":"The header row group."},{"name":"headerRow","description":"The header row."},{"name":"cellColumnHeader","description":"Every column header cell (`role=\"columnheader\"`), the select and actions headers included — a broadcast resolved per header. Not a `<th>`: the grid is `div`s with ARIA roles."},{"name":"sortIcon","description":"A sortable column's sort arrow, resolved per header."},{"name":"body","description":"The body row group."},{"name":"row","description":"Every DATA row — a broadcast resolved per row. The skeleton is not a part, and an expand row is styled through `expand`. Also takes a per-item function, called with the row's raw item, once per rendered row: keep it cheap."},{"name":"cell","description":"Every data cell, the select and actions cells included — a broadcast resolved with its row's states (`role=\"cell\"`, `gridcell` under `keyboardNavigation`) — and the cells of the `firstRow` / `lastRow`, with no row state. Takes no function: use `tdClass` for a per-cell hook."},{"name":"expand","description":"The cell under an open row that holds the `#expand` slot and spans every column — resolved with its data row's `selected`, `highlighted` and `expanded` (always on: the cell exists only while its row is open). Not a `cell`, so `pt:cell` never reaches it: a rule taken off the cells (`pt:cell=\"border-b-0\"`) needs `pt:expand=\"border-b-0\"` too. Also takes a per-item function, called with the open row's raw item."},{"name":"firstRow","description":"The row of `#<key>:first` cells, before the data rows."},{"name":"lastRow","description":"The row of `#<key>:last` cells, after the data rows (a totals row: `pt:lastRow=\"font-semibold\"`)."},{"name":"selectIcon","description":"The selection glyph: each row's checkbox (radio with single selection) and the select-all checkbox — resolved per node. Not rendered when the `select` / `select:header` slots replace them."},{"name":"dragIcon","description":"The move glyph on the chip that follows a column drag (`reorderable`)."},{"name":"dragHandle","description":"Each row's drag handle button (`reorderable-rows`), resolved with its row's states. A class list or an object; no per-row function."},{"name":"foot","description":"The footer row group (the `tfoot` slot's container)."}],"states":[{"name":"value","description":"Per node, on a DATA `cell`: the formatter / placeholder pipeline produced a value (not `null` / `undefined`), slot cells included (`bb-table__cell--value`). Not on the select, drag or actions cells."},{"name":"placeholder","description":"Per node, on a DATA `cell`: the value was empty and the column's `placeholder` shows instead, whatever its text (`bb-table__cell--placeholder`). A cell with an empty value and no `placeholder` has neither state."},{"name":"empty","description":"Component-wide: there are no rows (`bb-table--empty`)."},{"name":"sorted","description":"Per node, on `cellColumnHeader` and `sortIcon`: the column is sorted, either direction (`bb-table__cell-column-header--sorted`)."},{"name":"sortedDesc","description":"Per node, on `cellColumnHeader` and `sortIcon`: sorted descending (`bb-table__cell-column-header--sorted-desc`). Ascending is `sorted` alone."},{"name":"selected","description":"Per node, on `row`, its cells, its `dragHandle`, its `expand` and its `selectIcon`: a checked row; on the select-all glyph, every row is selected."},{"name":"indeterminate","description":"Per node, on the select-all `selectIcon`: some rows are selected, not all."},{"name":"disabled","description":"Per node, on `row`, its cells, its `dragHandle` and its `selectIcon`: the row cannot be SELECTED — `selectable` rejects it, or the table is `disabled` (`bb-table__row--disabled`). It still clicks, highlights and expands. Never on a table without selection. The select-all glyph takes it from the table's `disabled`."},{"name":"expanded","description":"Per node, on `row`, its cells, its `dragHandle` and its `expand`: the row's expand row is open (`bb-table__row--expanded`)."},{"name":"highlighted","description":"Per node, on `row`, its cells, its `dragHandle` and its `expand`: the highlighted row."},{"name":"loading","description":"Component-wide: the table is `loading`."}]},"tree":{"bindings":[{"part":"caption","target":"div.bb-table__caption"},{"part":"dragIcon","target":"BbIcon"},{"part":"table","target":"div"},{"part":"head","target":"div.bb-table__head"},{"part":"headerRow","target":"div.bb-table__header-row"},{"part":"cellColumnHeader","target":"div.bb-table__cell-column-header"},{"part":"selectIcon","target":"BbBaseCheckboxIcon"},{"part":"sortIcon","target":"BbIcon"},{"part":"body","target":"div.bb-table__body"},{"part":"foot","target":"div.bb-table__foot"}],"nodes":[{"name":"BbIcon","kind":"public"},{"name":"BbBaseCheckboxIcon","kind":"public"},{"name":"BbBaseButton","kind":"public"}]},"css":{"classes":{"bb-ruler-line":[""],"bb-sr-only":[""],"bb-table":["","--align-*","--compact","--empty","--fixed","--fixed-header","--indent-*","--inherit-widths","--loading","--overflow-left","--overflow-right","--pinned-left","--pinned-right","--reorderable","--resizable","--row-dragging","--row-grabbing","--rows-reorderable","--selectable","--virtual","--virtual-flat","__body","__caption","__cell","__cell--*","__cell--actions","__cell--clip","__cell--edge-end","__cell--edge-start","__cell--fluid","__cell--line","__cell--nowrap","__cell--outlier","__cell--placeholder","__cell--resized","__cell--row-drag","__cell--select","__cell--token","__cell--value","__cell--word","__cell-column-header","__cell-column-header--*","__cell-column-header--actions","__cell-column-header--clip","__cell-column-header--dragging","__cell-column-header--edge-end","__cell-column-header--edge-start","__cell-column-header--floored","__cell-column-header--locked","__cell-column-header--resizing","__cell-column-header--row-drag","__cell-column-header--select","__cell-column-header--sortable","__cell-column-header--sorted","__cell-column-header--sorted-desc","__cell-column-header--wrap","__drag-icon","__edge-row","__edge-row--*","__edge-row--first","__edge-row--fixed","__edge-row--last","__foot","__head","__head--dragging","__head--resizing","__header-row","__reorder-status","__row","__row--disabled","__row--drag-source","__row--expanded","__row--highlightable","__row--highlighted","__row--lifted","__row--menu","__row-handle","__row-handle-icon","__row-handle-icon--own","__row-reorder-status","__select-icon","__sort-icon","__sort-icon--own-desc","__table","__table--hold-*"],"bb-table-check":["","__label","__label--disabled","__label-text"],"bb-table-column-drag":[""],"bb-table-column-ghost":[""],"bb-table-empty":["__cell","__content","__content--failed","__failed","__row","__text"],"bb-table-expand":["__cell","__row","__row--highlighted"],"bb-table-header":["__content","__resizer"],"bb-table-loading":["__text"],"bb-table-placeholder":["__row","__row--pending"],"bb-table-radio":["","__label","__label--disabled","__label-text"],"bb-table-resizing":[""],"bb-table-row-drag":[""],"bb-table-row-ghost":[""],"bb-table-ruler":[""],"bb-table-skeleton":["__avatar","__avatar-text","__badge","__cell","__cell--*","__cell--actions","__cell--row-drag","__cell--select","__cell-content","__image","__line","__placeholder","__row"],"bb-table-sort":["","--asc","--desc"],"bb-table-spacer":["__row"]},"locals":["--actions-spacing","--arrow-preview","--bg","--cell-h","--color-gray-200","--cue","--cue-l","--cue-r","--cue-w","--depth","--drop","--fade-a-l","--fade-a-r","--fade-l","--fade-r","--floor","--ic","--ig","--indent","--is","--line","--min-a","--min-g","--min-s","--min-w","--offset-end","--offset-external-end","--offset-external-start","--offset-internal-end","--offset-internal-start","--offset-start","--pin-l","--pin-r","--placeholder-bars","--px","--py","--ring-t","--row-bg","--row-h","--row-hover","--row-tone","--row-tone-mix","--stuck-head-h","--stuck-outer","--stuck-top","--tone","--ts","--virtual-row-tracks","--vw"],"surface":{"stable":[{"class":"bb-table","part":"root","reads":["--bg","--offset-end","--offset-external-end","--offset-external-start","--offset-start"]},{"class":"bb-table__caption","tag":"div","part":"caption"},{"class":"bb-table__table","part":"table","reads":["--min-w"]},{"class":"bb-table__head","tag":"div","part":"head","reads":["--bg","--stuck-top"]},{"class":"bb-table__header-row","tag":"div","part":"headerRow"},{"class":"bb-table__cell-column-header","tag":"div","part":"cellColumnHeader","reads":["--px","--py"]},{"class":"bb-table__sort-icon","tag":"BbIcon","part":"sortIcon","reads":["--arrow-preview"]},{"class":"bb-table__body","tag":"div","part":"body","reads":["--stuck-head-h","--stuck-outer"]},{"class":"bb-table__row","part":"row","reads":["--row-bg","--row-hover","--row-tone","--row-tone-mix","--tone"]},{"class":"bb-table__cell","part":"cell"},{"class":"bb-table__select-icon","tag":"BbBaseCheckboxIcon","part":"selectIcon"},{"class":"bb-table__drag-icon","tag":"BbIcon","part":"dragIcon"},{"class":"bb-table__foot","tag":"div","part":"foot"},{"class":"bb-table__cell--value","state":"value"},{"class":"bb-table__cell--placeholder","state":"placeholder"},{"class":"bb-table--empty","state":"empty"},{"class":"bb-table__cell-column-header--sorted","tag":"div","state":"sorted"},{"class":"bb-table__cell-column-header--sorted-desc","tag":"div","state":"sortedDesc"},{"class":"bb-table__row--disabled","state":"disabled"},{"class":"bb-table__row--expanded","state":"expanded"},{"class":"bb-table__row--highlighted","state":"highlighted","reads":["--row-bg"]},{"class":"bb-table--loading","state":"loading"}],"internal":[{"class":"bb-ruler-line"},{"class":"bb-sr-only","tag":"legend|span"},{"class":"bb-table--compact"},{"class":"bb-table--fixed"},{"class":"bb-table--fixed-header","reads":["--stuck-top"]},{"class":"bb-table--inherit-widths"},{"class":"bb-table--overflow-left","reads":["--cue-w","--fade-a-l","--fade-a-r","--fade-l","--fade-r","--pin-l","--pin-r"]},{"class":"bb-table--overflow-right","reads":["--cue-w","--fade-a-l","--fade-a-r","--fade-l","--fade-r","--pin-l","--pin-r"]},{"class":"bb-table--pinned-left","reads":["--cue-w","--fade-a-l","--fade-a-r","--fade-l","--fade-r","--pin-l","--pin-r"]},{"class":"bb-table--pinned-right","reads":["--cue-w","--fade-a-l","--fade-a-r","--fade-l","--fade-r","--pin-l","--pin-r"]},{"class":"bb-table--reorderable"},{"class":"bb-table--resizable"},{"class":"bb-table--row-dragging"},{"class":"bb-table--row-grabbing"},{"class":"bb-table--rows-reorderable"},{"class":"bb-table--selectable"},{"class":"bb-table--virtual"},{"class":"bb-table--virtual-flat"},{"class":"bb-table-check","tag":"span"},{"class":"bb-table-check__label","tag":"label","reads":["--cell-h","--drop","--line","--px"]},{"class":"bb-table-check__label--disabled","tag":"label"},{"class":"bb-table-check__label-text","tag":"span"},{"class":"bb-table-column-drag"},{"class":"bb-table-column-ghost","tag":"div"},{"class":"bb-table-empty__cell","tag":"div","reads":["--px","--py"]},{"class":"bb-table-empty__content","tag":"div","reads":["--px","--vw"]},{"class":"bb-table-empty__content--failed","tag":"div"},{"class":"bb-table-empty__failed","tag":"span"},{"class":"bb-table-empty__row","tag":"div"},{"class":"bb-table-empty__text","tag":"span"},{"class":"bb-table-expand__cell","reads":["--row-tone","--row-tone-mix","--tone"]},{"class":"bb-table-expand__row"},{"class":"bb-table-expand__row--highlighted"},{"class":"bb-table-header__content","tag":"span"},{"class":"bb-table-header__resizer","tag":"div"},{"class":"bb-table-loading__text","tag":"span"},{"class":"bb-table-placeholder__row","tag":"div","reads":["--bg","--placeholder-bars","--row-h"]},{"class":"bb-table-placeholder__row--pending","tag":"div","reads":["--bg","--placeholder-bars","--row-h"]},{"class":"bb-table-radio"},{"class":"bb-table-radio__label","reads":["--cell-h","--drop","--line","--px"]},{"class":"bb-table-radio__label--disabled"},{"class":"bb-table-radio__label-text","tag":"span"},{"class":"bb-table-resizing"},{"class":"bb-table-row-drag"},{"class":"bb-table-row-ghost"},{"class":"bb-table-ruler"},{"class":"bb-table-skeleton__avatar","tag":"div","reads":["--cell-h","--py"]},{"class":"bb-table-skeleton__avatar-text","tag":"div","reads":["--cell-h","--py"]},{"class":"bb-table-skeleton__badge","tag":"div"},{"class":"bb-table-skeleton__cell","tag":"div","reads":["--cell-h","--px","--py"]},{"class":"bb-table-skeleton__cell--actions","tag":"div"},{"class":"bb-table-skeleton__cell--row-drag","tag":"div","reads":["--px"]},{"class":"bb-table-skeleton__cell--select","tag":"div"},{"class":"bb-table-skeleton__cell-content","tag":"div","reads":["--cell-h","--py"]},{"class":"bb-table-skeleton__image","tag":"div","reads":["--cell-h","--py"]},{"class":"bb-table-skeleton__line","tag":"div"},{"class":"bb-table-skeleton__placeholder","tag":"div"},{"class":"bb-table-skeleton__row","tag":"div"},{"class":"bb-table-sort","tag":"BbBaseButton","reads":["--ring-t"]},{"class":"bb-table-sort--asc","tag":"BbBaseButton"},{"class":"bb-table-sort--desc","tag":"BbBaseButton"},{"class":"bb-table-spacer__row","tag":"div","reads":["--bg","--placeholder-bars","--row-h"]},{"class":"bb-table__cell--actions"},{"class":"bb-table__cell--clip"},{"class":"bb-table__cell--edge-end","reads":["--offset-internal-end","--px"]},{"class":"bb-table__cell--edge-start","reads":["--ic","--offset-internal-start","--px","--ts"]},{"class":"bb-table__cell--fluid"},{"class":"bb-table__cell--line"},{"class":"bb-table__cell--nowrap"},{"class":"bb-table__cell--outlier"},{"class":"bb-table__cell--resized"},{"class":"bb-table__cell--row-drag","reads":["--ig","--px"]},{"class":"bb-table__cell--select","reads":["--is","--px"]},{"class":"bb-table__cell--token"},{"class":"bb-table__cell--word"},{"class":"bb-table__cell-column-header--actions","tag":"div","reads":["--min-a"]},{"class":"bb-table__cell-column-header--clip","tag":"div"},{"class":"bb-table__cell-column-header--dragging","tag":"div"},{"class":"bb-table__cell-column-header--edge-end","tag":"div","reads":["--offset-internal-end","--px"]},{"class":"bb-table__cell-column-header--edge-start","tag":"div","reads":["--ic","--offset-internal-start","--px","--ts"]},{"class":"bb-table__cell-column-header--floored","tag":"div","reads":["--floor"]},{"class":"bb-table__cell-column-header--locked","tag":"div"},{"class":"bb-table__cell-column-header--resizing","tag":"div"},{"class":"bb-table__cell-column-header--row-drag","tag":"div","reads":["--ig","--min-g","--px"]},{"class":"bb-table__cell-column-header--select","tag":"div","reads":["--is","--min-s","--px"]},{"class":"bb-table__cell-column-header--sortable","tag":"div"},{"class":"bb-table__cell-column-header--wrap","tag":"div"},{"class":"bb-table__edge-row","reads":["--row-tone","--row-tone-mix","--tone"]},{"class":"bb-table__edge-row--first","reads":["--stuck-top"]},{"class":"bb-table__edge-row--fixed","reads":["--bg","--stuck-top"]},{"class":"bb-table__edge-row--last"},{"class":"bb-table__head--dragging","tag":"div"},{"class":"bb-table__head--resizing","tag":"div"},{"class":"bb-table__reorder-status","tag":"span"},{"class":"bb-table__row--drag-source"},{"class":"bb-table__row--highlightable"},{"class":"bb-table__row--lifted","reads":["--row-bg"]},{"class":"bb-table__row--menu","reads":["--row-bg"]},{"class":"bb-table__row-handle"},{"class":"bb-table__row-handle-icon"},{"class":"bb-table__row-handle-icon--own"},{"class":"bb-table__row-reorder-status","tag":"span"},{"class":"bb-table__sort-icon--own-desc","tag":"BbIcon"}],"unaligned":{"parts":["expand","firstRow","lastRow","dragHandle"],"states":["selected","indeterminate"]}}},"attrTargets":["div","fieldset"],"config":"compact*","removed":[{"name":"allowSelectAll","new":"disableSelectAll","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"invert"}},{"name":"enabledWhileLoading","new":"interactiveWhileLoading","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"rename"}},{"name":"actions","new":null,"since":"3.0.0-beta.21","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"remove"}},{"name":"fixedColumns","new":null,"since":"3.0.0-beta.21","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"manual"}},{"name":"noDataText","new":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"no-data","new":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","silent":true,"fix":{"kind":"rename"}},{"name":"header:select","new":"select:header","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"rename"}},{"name":"header:actions","new":"actions:header","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"rename"}},{"name":"header:<x>:prepend","new":"<x>:header:prepend","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"rename"}},{"name":"header:<x>:append","new":"<x>:header:append","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"rename"}},{"name":"header:<x>","new":"<x>:header","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"allowSelectAll","to":"disableSelectAll","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"invert"}},{"from":"enabledWhileLoading","to":"interactiveWhileLoading","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"rename"}},{"from":"noDataText","to":"emptyText","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"no-data","to":"empty","surface":"slot","since":"3.0.0-beta.41","migration":"ai/guides/migration/v2-to-v3.md","fix":{"kind":"rename"}},{"from":"header:select","to":"select:header","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"rename"}},{"from":"header:actions","to":"actions:header","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"rename"}},{"from":"header:<x>:prepend","to":"<x>:header:prepend","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"rename"}},{"from":"header:<x>:append","to":"<x>:header:append","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"rename"}},{"from":"header:<x>","to":"<x>:header","surface":"slot","migration":"ai/guides/migration/components/bb-table.md","fix":{"kind":"rename"}}]},
462
462
  {"name":"BbTabs","group":"Navigation","description":"Switches between views of one page from a row of tabs. For the tabs and their panels in different places of the layout, use BbTabsRoot with BbTabsList and BbTabsPanels.","referenceOnly":false,"hasGuide":true,"contract":"ai/BbTabs.md","source":"ai/source/BbTabs.md","props":[{"name":"block","type":"boolean | undefined","required":false,"default":"undefined","description":"Displays the component as full width."},{"name":"compact","type":"boolean | undefined","required":false,"default":"undefined","description":"Adds a CSS class that applies a compact style to the component."},{"name":"direction","type":"\"horizontal\" | \"vertical\" | undefined","required":false,"default":"\"horizontal\"","description":"Direction of the tabs component."},{"name":"disableAnimateX","type":"boolean | undefined","required":false,"default":"false","description":"Disables the horizontal slide transition between tab panels (enabled by default)."},{"name":"disableAnimateY","type":"boolean | undefined","required":false,"default":"false","description":"Disables the smooth height animation when switching between tab panels (enabled by default)."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Disables the component"},{"name":"eager","type":"boolean | undefined","required":false,"default":"false","description":"Renders every tab's panel at mount and keeps it mounted, hidden while inactive, instead of only the active one. One tab alone: its item's `eager`."},{"name":"headers","type":"Record<string, string> | undefined","required":false,"description":"Additional HTTP headers forwarded to Inertia when navigation is triggered. Only meaningful in an Inertia context."},{"name":"id","type":"string | undefined","required":false,"description":"The root's `id`, and the key `useBbTabs(id)` pairs by. Generated when omitted."},{"name":"items","type":"BbTabsItem<K>[]","required":true,"description":"Array of items that define the tabs in the component."},{"name":"manualActivation","type":"boolean | undefined","required":false,"default":"`undefined` (on when `server` is set on the strip or an item)","description":"Arrow keys (and Home / End) only move focus; Enter or Space opens the tab (APG manual activation, Radix `activationMode=\"manual\"`). Unset: on when the strip or an item has `server` (else every arrow press is a visit), off elsewhere. Links (link mode) have no activation."},{"name":"modelValue","type":"K | null | undefined","required":false,"description":"The active tab's `value`. Used by v-model. In link mode (items with `href` / `to`) the page's current one, painted with `aria-current=\"page\"` and never emitted back."},{"name":"navigation","type":"boolean | undefined","required":false,"default":"false","description":"Synchronizes the current tab with the URL query parameter. Ignored in link mode (items with `href` / `to`): a link goes to its own page.\n\nPair it with `replace` unless a tab is genuinely a separate destination — see the `replace` prop."},{"name":"onBefore","type":"(() => boolean | void) | undefined","required":false,"description":"Inertia lifecycle hook — fired just before the request is sent. Return `false` to cancel the visit."},{"name":"onCancel","type":"(() => void) | undefined","required":false,"description":"Inertia lifecycle hook — fired when the request is cancelled."},{"name":"onError","type":"((errors: Record<string, string>) => void) | undefined","required":false,"description":"Inertia lifecycle hook — fired when the server returns validation errors."},{"name":"onFinish","type":"(() => void) | undefined","required":false,"description":"Inertia lifecycle hook — fired after the visit finishes (success or error)."},{"name":"only","type":"string[] | undefined","required":false,"description":"Limits which server-side props are refreshed during a partial Inertia reload. Only meaningful in an Inertia context."},{"name":"onProgress","type":"((progress: { percentage: number | undefined; }) => void) | undefined","required":false,"description":"Inertia lifecycle hook — fired when upload/download progress is available."},{"name":"onStart","type":"(() => void) | undefined","required":false,"description":"Inertia lifecycle hook — fired when the request starts."},{"name":"onSuccess","type":"(() => void) | undefined","required":false,"description":"Inertia lifecycle hook — fired when the visit completes successfully."},{"name":"preserveScroll","type":"boolean | ((props: Record<string, unknown>) => boolean) | undefined","required":false,"description":"Controls whether Inertia preserves the scroll position after navigation. Only meaningful in an Inertia context."},{"name":"preserveState","type":"boolean | ((props: Record<string, unknown>) => boolean) | null | undefined","required":false,"description":"Controls whether Inertia preserves the current component state after navigation. Only meaningful in an Inertia context."},{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"wrapper\", \"list\", \"item\", \"indicator\", \"panels\", \"panel\"]; readonly states: readonly [\"disabled\", \"active\"]; readonly wide: readonly [\"disabled\"]; readonly node: { readonly item: readonly [\"active\"]; readonly panel: readonly [\"active\"]; }; readonly variant: { readonly names: readonly [\"pill\", \"line\", \"none\"]; readonly option: \"tabsVariants\"; readonly parts: readonly [\"wrapper\", \"list\", \"item\", \"indicator\"]; }; }> & { list?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"item:active\"?: PtValue | undefined; indicator?: PtValue | undefined; \"list:disabled\"?: PtValue | undefined; \"indicator:disabled\"?: PtValue | undefined; \"item:line\"?: PtValue | undefined; \"item:pill\"?: PtValue | undefined; wrapper?: PtValue | undefined; panels?: PtValue | undefined; \"wrapper:disabled\"?: PtValue | undefined; \"panels:disabled\"?: PtValue | undefined; \"panel:active\"?: PtValue | undefined; \"item:none\"?: PtValue | undefined; } & { item?: PtValue | PtItemFn<BbTabsItem<K>, BbTabsPtState, \"line\" | \"none\" | \"pill\", { readonly item: BbTabsItem<K>; }> | undefined; } & { \"list:line\"?: PtValue | undefined; \"list:pill\"?: PtValue | undefined; \"item:line\"?: PtValue | undefined; \"item:pill\"?: PtValue | undefined; \"indicator:line\"?: PtValue | undefined; \"indicator:pill\"?: PtValue | undefined; \"item:none\"?: PtValue | undefined; \"list:none\"?: PtValue | undefined; \"indicator:none\"?: PtValue | undefined; \"wrapper:line\"?: PtValue | undefined; \"wrapper:none\"?: PtValue | undefined; \"wrapper:pill\"?: PtValue | undefined; }) | undefined","required":false,"description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},{"name":"pt:indicator","type":"PtValue | undefined","required":false},{"name":"pt:indicator:disabled","type":"PtValue | undefined","required":false},{"name":"pt:indicator:line","type":"PtValue | undefined","required":false},{"name":"pt:indicator:none","type":"PtValue | undefined","required":false},{"name":"pt:indicator:pill","type":"PtValue | undefined","required":false},{"name":"pt:item","type":"PtValue | ((ctx: PtItemCtx<BbTabsItem<K>, BbTabsPtState, \"line\" | \"none\" | \"pill\">) => PtItemResult) | undefined","required":false},{"name":"pt:item:active","type":"PtValue | undefined","required":false},{"name":"pt:item:disabled","type":"PtValue | undefined","required":false},{"name":"pt:item:line","type":"PtValue | undefined","required":false},{"name":"pt:item:none","type":"PtValue | undefined","required":false},{"name":"pt:item:pill","type":"PtValue | undefined","required":false},{"name":"pt:list","type":"PtValue | undefined","required":false},{"name":"pt:list:disabled","type":"PtValue | undefined","required":false},{"name":"pt:list:line","type":"PtValue | undefined","required":false},{"name":"pt:list:none","type":"PtValue | undefined","required":false},{"name":"pt:list:pill","type":"PtValue | undefined","required":false},{"name":"pt:panel","type":"PtValue | undefined","required":false},{"name":"pt:panel:active","type":"PtValue | undefined","required":false},{"name":"pt:panel:disabled","type":"PtValue | undefined","required":false},{"name":"pt:panels","type":"PtValue | undefined","required":false},{"name":"pt:panels:disabled","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:disabled","type":"PtValue | undefined","required":false},{"name":"pt:wrapper","type":"PtValue | undefined","required":false},{"name":"pt:wrapper:disabled","type":"PtValue | undefined","required":false},{"name":"pt:wrapper:line","type":"PtValue | undefined","required":false},{"name":"pt:wrapper:none","type":"PtValue | undefined","required":false},{"name":"pt:wrapper:pill","type":"PtValue | undefined","required":false},{"name":"queryKey","type":"string | undefined","required":false,"default":"\"tab\"","description":"Defines the query key used for URL-based navigation."},{"name":"replace","type":"boolean | undefined","required":false,"default":"false","description":"Replaces the history entry instead of pushing one when the tab changes. Recommended with `navigation`: the query keeps the tab while Back leaves the page. Leave it off when a tab is a destination of its own (a `server` visit)."},{"name":"server","type":"boolean | undefined","required":false,"default":"false","description":"When true and in an Inertia context, triggers a real server-side Inertia visit instead of a client-only `history.pushState`."},{"name":"variant","type":"keyof TabsVariantRegistry | undefined","required":false,"default":"\"pill\"","values":["none","pill","line"],"description":"Look of the tab strip: `pill` (segmented, a sliding raised pill), `line` (a baseline with a sliding underline) or `none` (no chrome). Each is a preset of the strip's tokens; register more with the vite plugin's `components.BbTabs.variants` and style `.bb-tabs-list--<variant>`."}],"events":[{"name":"update:modelValue","signature":"(value: K): void","description":"Emitted when the selected tab changes. Used by `v-model`."}],"slots":[{"name":"label","type":"BbTabsSlotProps<K>","fields":["current: K | null","currentIndex: number","disabled: boolean","isFirst: boolean","isLast: boolean","selected: boolean","label: string","value: K","goTo: (target: \"next\" | \"first\" | \"last\" | \"previous\") => void"],"description":"Fallback slot used for all tab labels when no per-tab `<value>:label` slot is provided."},{"name":"wrapper:append","type":"BbTabsScrollSlotProps","fields":["isScrolling: boolean","canScrollStart: boolean","canScrollEnd: boolean","scroll: (direction: \"start\" | \"end\") => void"],"description":"Content rendered after the scrollable tab label list, at its end (e.g. a scroll-to-end arrow)."},{"name":"wrapper:prepend","type":"BbTabsScrollSlotProps","fields":["isScrolling: boolean","canScrollStart: boolean","canScrollEnd: boolean","scroll: (direction: \"start\" | \"end\") => void"],"description":"Content rendered before the scrollable tab label list, at its start (e.g. a scroll-to-start arrow)."},{"name":"<value>","type":"BbTabsSlotProps<K>","description":"One tab's content panel, by the tab's `value` through `slotKey`; no fallback (an empty panel). With no panel slot at all, no panel renders and no tab has `aria-controls`.","dynamic":true},{"name":"<value>:label","type":"BbTabsSlotProps<K>","description":"One tab trigger's label, by the tab's `value` through `slotKey`; beats `label`, which beats the item's `label` text.","dynamic":true}],"exposed":[],"models":[{"name":"modelValue","type":"K | null | undefined"}],"cssProps":[{"name":"--gap","value":"8px","selector":".bb-tabs"},{"name":"--list-bg","value":"color-mix(in oklab, var(--bb-text) 8%, transparent)","selector":".bb-tabs-list","description":"The strip behind the triggers"},{"name":"--list-border","value":"transparent","selector":".bb-tabs-list","description":"The strip's edge line: a baseline under the triggers (beside them when vertical), --bb-border-w thick, painted inside the strip. `pill` draws none; `line` sets it to --bb-border"},{"name":"--p","value":"3px","selector":".bb-tabs-list","description":"strip inner padding — the gutter the indicator sits in, and the scroll inset"},{"name":"--list-r","value":"var(--bb-radius)","selector":".bb-tabs-list","description":"strip corners"},{"name":"--list-h","value":"var(--bb-control-h)","selector":".bb-tabs-list","description":"strip min height"},{"name":"--fs","value":"var(--bb-fs)","selector":".bb-tabs-list","description":"trigger label size"},{"name":"--trigger-gap","value":"0px","selector":".bb-tabs-list","description":"space between triggers"},{"name":"--trigger-px","value":"10px","selector":".bb-tabs-list","description":"trigger side padding"},{"name":"--trigger-r","value":"calc(var(--list-r) - var(--p))","selector":".bb-tabs-list","description":"Trigger corners, concentric inside --list-r"},{"name":"--trigger-min-h","value":"calc(var(--list-h) - var(--p) * 2)","selector":".bb-tabs-list","description":"Trigger height inside the padded strip"},{"name":"--list-fg","value":"var(--bb-text-muted)","selector":".bb-tabs-list","description":"inactive trigger label"},{"name":"--hover-fg","value":"var(--bb-text)","selector":".bb-tabs-list","description":"hovered trigger label"},{"name":"--active-fg","value":"var(--bb-text)","selector":".bb-tabs-list","description":"active trigger label"},{"name":"--active-fw","value":"500","selector":".bb-tabs-list","description":"active trigger label weight (inactive labels are 500)"},{"name":"--indicator-bg","value":"var(--bb-panel)","selector":".bb-tabs-list","description":"the indicator's fill"},{"name":"--indicator-border","value":"color-mix(in oklab, var(--bb-text) 8%, transparent)","selector":".bb-tabs-list","description":"The indicator's edge"},{"name":"--indicator-r","value":"var(--trigger-r)","selector":".bb-tabs-list","description":"The indicator's corners — the pill's, concentric inside --list-r"},{"name":"--indicator-h","value":"initial","selector":".bb-tabs-list","description":"The indicator's thickness: its height, its width on a vertical strip. `initial` fills the whole trigger box — the pill; a bar is `2px`, on the trigger's bottom edge (side edge when vertical)"},{"name":"--indicator-inset","value":"0px","selector":".bb-tabs-list","description":"Inset of the indicator from the trigger box — shrinks the pill; a bar keeps its thickness, shortens by it at both ends and floats it above the edge"},{"name":"--elev","value":"var(--bb-elev)","selector":".bb-tabs-list","description":"The theme's resting lift, composed UNDER the indicator's own shadow. Two names because they are two decisions: `--elev` is what the language lifts every plate by, `--indicator-shadow` is this component's own."},{"name":"--indicator-shadow","value":"var(--bb-shadow-sm)","selector":".bb-tabs-list","description":"Indicator lift, painted on top of --elev — the theme's selected-segment lift, so it holds in dark (a literal black 6% vanished there)."},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-tabs-list__item"},{"name":"--transition-duration","value":"var(--bb-transition-slow)","selector":".bb-tabs-panels"},{"name":"--gap","value":"30px","selector":".bb-tabs-panels"},{"name":"--max-w","value":"initial","selector":".bb-tabs-panels","description":"The strip-width knob must not percolate into panel content: nested tabs rendered inside a panel start with a clean slate"},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-tabs__panel"}],"pt":{"parts":[{"name":"root","description":"The tabs' outer element, around the strip and the panels."},{"name":"wrapper","description":"The strip's outer element: the `wrapper:prepend` slot, the triggers, the `wrapper:append` slot. `BbTabsList`'s root in a split layout."},{"name":"list","description":"The `role=\"tablist\"` row the triggers sit in (a plain list of links in link mode) — it scrolls when they overflow, and the indicator slides inside it."},{"name":"item","description":"One tab trigger (a link in link mode) — a broadcast resolved per tab with its own `active` / `disabled`. Also takes a per-item function, called with the tab's descriptor."},{"name":"indicator","description":"The marker sliding under the active trigger: the pill, or the bar of the `line` variant. Its position and size are measured."},{"name":"panels","description":"The element around the panels. `BbTabsPanels`'s root in a split layout."},{"name":"panel","description":"One tab panel — a broadcast; `panel:active` is the panel on show. Takes no function."}],"states":[{"name":"disabled","description":"On every part while the whole tabs is `disabled`; per node on `item`: a tab that is disabled."},{"name":"active","description":"Per node, on `item` and `panel`: the selected tab's trigger and its shown panel."},{"name":"line","description":"On the strip's parts: `variant: 'line'`. Below the real states, like every variant."},{"name":"none","description":"On the strip's parts: `variant: 'none'`. Below the real states, like every variant."},{"name":"pill","description":"On the strip's parts: `variant: 'pill'`. Merged after the part's base entry and before its states, so the real states still win."}]},"tree":{"forwards":[{"to":"BbTabsList","mapping":"passthrough.forwardInstance(LIST_PARTS, LIST_STATES)"},{"to":"BbTabsPanels","mapping":"passthrough.forwardInstance(PANELS_PARTS)"}],"nodes":[{"name":"BbTabsList","kind":"public"},{"name":"BbTabsPanels","kind":"public"}]},"css":{"classes":{"bb-tabs":["","--*","--block","--compact","--disabled","--no-panels","--vertical","__panel","__panel--shown","__trigger-content","__trigger-label"]},"locals":["--active-fg","--active-fw","--color-gray-200","--elev","--eq","--fs","--gap","--height","--hover-fg","--indicator-bg","--indicator-border","--indicator-h","--indicator-inset","--indicator-r","--indicator-shadow","--left","--list-bg","--list-border","--list-fg","--list-h","--list-r","--max-w","--p","--ring-t","--top","--transition-duration","--trigger-gap","--trigger-min-h","--trigger-px","--trigger-r","--width"],"surface":{"stable":[{"class":"bb-tabs","tag":"div","part":"root","reads":["--gap"]},{"class":"bb-tabs__panel","tag":"section","part":"panel","reads":["--ring-t"]},{"class":"bb-tabs--disabled","tag":"div","state":"disabled"},{"class":"bb-tabs--line","state":"line","pattern":true},{"class":"bb-tabs--none","state":"none","pattern":true},{"class":"bb-tabs--pill","state":"pill","pattern":true}],"internal":[{"class":"bb-tabs--block","tag":"div"},{"class":"bb-tabs--compact","tag":"div"},{"class":"bb-tabs--no-panels","tag":"div"},{"class":"bb-tabs--vertical","reads":["--gap"]},{"class":"bb-tabs__panel--shown","tag":"section"},{"class":"bb-tabs__trigger-content","tag":"span"},{"class":"bb-tabs__trigger-label","tag":"span"}],"unaligned":{"parts":["wrapper","list","item","indicator","panels"],"states":["active"]}}},"config":"compact*, block*, variants","removed":[{"name":"animateX","new":"disableAnimateX","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"invert"}},{"name":"animateY","new":"disableAnimateY","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"invert"}},{"name":"querykey","new":"queryKey","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"rename"}},{"name":"header:prepend","new":"wrapper:prepend","surface":"slot","since":"3.0.0-beta.36","migration":"ai/guides/migration/v3-beta-css-classes.md","silent":true,"fix":{"kind":"rename"}},{"name":"header:append","new":"wrapper:append","surface":"slot","since":"3.0.0-beta.36","migration":"ai/guides/migration/v3-beta-css-classes.md","silent":true,"fix":{"kind":"rename"}},{"name":"label:<x>","new":"<x>:label","surface":"slot","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"rename"}},{"name":"items[].key","new":"items[].value","surface":"item","hint":"a tab's identity: what `v-model` holds and its `#<value>` / `#<value>:label` slots; `check --fix` renames it","since":"3.0.0-beta.49","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"rename"}},{"name":"wrapper:*.canScrollLeft","new":"wrapper:*.canScrollStart","surface":"slotProp","hint":"`#wrapper:prepend` / `#wrapper:append` scope: start and end follow the page's `dir` (left to right, start is the left); `check --fix` renames it","since":"3.0.0-beta.69","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"rename"}},{"name":"wrapper:*.canScrollRight","new":"wrapper:*.canScrollEnd","surface":"slotProp","hint":"`#wrapper:prepend` / `#wrapper:append` scope: start and end follow the page's `dir` (left to right, start is the left); `check --fix` renames it","since":"3.0.0-beta.69","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"rename"}},{"name":"wrapper:*.scroll('left')","new":"wrapper:*.scroll('start')","surface":"slotProp","hint":"`#wrapper:prepend` / `#wrapper:append` scope: start and end follow the page's `dir` (left to right, start is the left); `check --fix` renames it","since":"3.0.0-beta.69","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"rename"}},{"name":"wrapper:*.scroll('right')","new":"wrapper:*.scroll('end')","surface":"slotProp","hint":"`#wrapper:prepend` / `#wrapper:append` scope: start and end follow the page's `dir` (left to right, start is the left); `check --fix` renames it","since":"3.0.0-beta.69","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"animateX","to":"disableAnimateX","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-tabs.md","fix":{"kind":"invert"}},{"from":"animateY","to":"disableAnimateY","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-tabs.md","fix":{"kind":"invert"}},{"from":"querykey","to":"queryKey","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-tabs.md","fix":{"kind":"rename"}},{"from":"header:prepend","to":"wrapper:prepend","surface":"slot","since":"3.0.0-beta.36","migration":"ai/guides/migration/v3-beta-css-classes.md","fix":{"kind":"rename"}},{"from":"header:append","to":"wrapper:append","surface":"slot","since":"3.0.0-beta.36","migration":"ai/guides/migration/v3-beta-css-classes.md","fix":{"kind":"rename"}},{"from":"label:<x>","to":"<x>:label","surface":"slot","migration":"ai/guides/migration/components/bb-tabs.md","fix":{"kind":"rename"}}]},
463
463
  {"name":"BbTabsList","group":"Navigation","description":"The trigger strip of a split BbTabsRoot layout (renders the tab buttons only).","referenceOnly":false,"hasGuide":false,"contract":"ai/BbTabsList.md","source":"ai/source/BbTabsList.md","props":[{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"list\", \"item\", \"indicator\"]; readonly states: readonly [\"disabled\", \"active\"]; readonly wide: readonly [\"disabled\"]; readonly node: { readonly item: readonly [\"active\"]; }; readonly variant: { readonly names: readonly [\"pill\", \"line\", \"none\"]; readonly option: \"tabsVariants\"; }; }> & { list?: PtValue | undefined; root?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"item:active\"?: PtValue | undefined; indicator?: PtValue | undefined; \"list:disabled\"?: PtValue | undefined; \"indicator:disabled\"?: PtValue | undefined; \"item:line\"?: PtValue | undefined; \"item:pill\"?: PtValue | undefined; \"item:none\"?: PtValue | undefined; } & { item?: PtValue | PtItemFn<BbTabsItem<string>, BbTabsPtState, \"line\" | \"none\" | \"pill\", { readonly item: BbTabsItem<string>; }> | undefined; } & { \"list:line\"?: PtValue | undefined; \"list:pill\"?: PtValue | undefined; \"root:line\"?: PtValue | undefined; \"root:pill\"?: PtValue | undefined; \"item:line\"?: PtValue | undefined; \"item:pill\"?: PtValue | undefined; \"indicator:line\"?: PtValue | undefined; \"indicator:pill\"?: PtValue | undefined; \"item:none\"?: PtValue | undefined; \"list:none\"?: PtValue | undefined; \"indicator:none\"?: PtValue | undefined; \"root:none\"?: 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:indicator","type":"PtValue | undefined","required":false},{"name":"pt:indicator:disabled","type":"PtValue | undefined","required":false},{"name":"pt:indicator:line","type":"PtValue | undefined","required":false},{"name":"pt:indicator:none","type":"PtValue | undefined","required":false},{"name":"pt:indicator:pill","type":"PtValue | undefined","required":false},{"name":"pt:item","type":"PtValue | ((ctx: PtItemCtx<BbTabsItem<string>, BbTabsPtState, \"line\" | \"none\" | \"pill\">) => PtItemResult) | undefined","required":false},{"name":"pt:item:active","type":"PtValue | undefined","required":false},{"name":"pt:item:disabled","type":"PtValue | undefined","required":false},{"name":"pt:item:line","type":"PtValue | undefined","required":false},{"name":"pt:item:none","type":"PtValue | undefined","required":false},{"name":"pt:item:pill","type":"PtValue | undefined","required":false},{"name":"pt:list","type":"PtValue | undefined","required":false},{"name":"pt:list:disabled","type":"PtValue | undefined","required":false},{"name":"pt:list:line","type":"PtValue | undefined","required":false},{"name":"pt:list:none","type":"PtValue | undefined","required":false},{"name":"pt:list:pill","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:line","type":"PtValue | undefined","required":false},{"name":"pt:root:none","type":"PtValue | undefined","required":false},{"name":"pt:root:pill","type":"PtValue | undefined","required":false},{"name":"variant","type":"keyof TabsVariantRegistry | undefined","required":false,"values":["none","pill","line"],"description":"Look of this strip — the `variant` of the owning `BbTabs` / `BbTabsRoot` unless set here. See `BbTabsProps.variant` for the values."}],"events":[],"slots":[{"name":"label","type":"BbTabsSlotProps<string>","fields":["current: K | null","currentIndex: number","disabled: boolean","isFirst: boolean","isLast: boolean","selected: boolean","label: string","value: K","goTo: (target: \"next\" | \"first\" | \"last\" | \"previous\") => void"],"description":"Fallback slot used for all tab labels when no per-tab `<value>:label` slot is provided."},{"name":"wrapper:append","type":"BbTabsScrollSlotProps","fields":["isScrolling: boolean","canScrollStart: boolean","canScrollEnd: boolean","scroll: (direction: \"start\" | \"end\") => void"],"description":"Content rendered after the scrollable tab label list, at its end (e.g. a scroll-to-end arrow)."},{"name":"wrapper:prepend","type":"BbTabsScrollSlotProps","fields":["isScrolling: boolean","canScrollStart: boolean","canScrollEnd: boolean","scroll: (direction: \"start\" | \"end\") => void"],"description":"Content rendered before the scrollable tab label list, at its start (e.g. a scroll-to-start arrow)."},{"name":"<value>:label","type":"BbTabsSlotProps<K>","description":"One tab trigger's label, by the tab's `value` through `slotKey`; beats `label`, which beats the item's `label` text.","dynamic":true}],"exposed":[],"models":[],"cssProps":[{"name":"--gap","value":"8px","selector":".bb-tabs"},{"name":"--list-bg","value":"color-mix(in oklab, var(--bb-text) 8%, transparent)","selector":".bb-tabs-list","description":"The strip behind the triggers"},{"name":"--list-border","value":"transparent","selector":".bb-tabs-list","description":"The strip's edge line: a baseline under the triggers (beside them when vertical), --bb-border-w thick, painted inside the strip. `pill` draws none; `line` sets it to --bb-border"},{"name":"--p","value":"3px","selector":".bb-tabs-list","description":"strip inner padding — the gutter the indicator sits in, and the scroll inset"},{"name":"--list-r","value":"var(--bb-radius)","selector":".bb-tabs-list","description":"strip corners"},{"name":"--list-h","value":"var(--bb-control-h)","selector":".bb-tabs-list","description":"strip min height"},{"name":"--fs","value":"var(--bb-fs)","selector":".bb-tabs-list","description":"trigger label size"},{"name":"--trigger-gap","value":"0px","selector":".bb-tabs-list","description":"space between triggers"},{"name":"--trigger-px","value":"10px","selector":".bb-tabs-list","description":"trigger side padding"},{"name":"--trigger-r","value":"calc(var(--list-r) - var(--p))","selector":".bb-tabs-list","description":"Trigger corners, concentric inside --list-r"},{"name":"--trigger-min-h","value":"calc(var(--list-h) - var(--p) * 2)","selector":".bb-tabs-list","description":"Trigger height inside the padded strip"},{"name":"--list-fg","value":"var(--bb-text-muted)","selector":".bb-tabs-list","description":"inactive trigger label"},{"name":"--hover-fg","value":"var(--bb-text)","selector":".bb-tabs-list","description":"hovered trigger label"},{"name":"--active-fg","value":"var(--bb-text)","selector":".bb-tabs-list","description":"active trigger label"},{"name":"--active-fw","value":"500","selector":".bb-tabs-list","description":"active trigger label weight (inactive labels are 500)"},{"name":"--indicator-bg","value":"var(--bb-panel)","selector":".bb-tabs-list","description":"the indicator's fill"},{"name":"--indicator-border","value":"color-mix(in oklab, var(--bb-text) 8%, transparent)","selector":".bb-tabs-list","description":"The indicator's edge"},{"name":"--indicator-r","value":"var(--trigger-r)","selector":".bb-tabs-list","description":"The indicator's corners — the pill's, concentric inside --list-r"},{"name":"--indicator-h","value":"initial","selector":".bb-tabs-list","description":"The indicator's thickness: its height, its width on a vertical strip. `initial` fills the whole trigger box — the pill; a bar is `2px`, on the trigger's bottom edge (side edge when vertical)"},{"name":"--indicator-inset","value":"0px","selector":".bb-tabs-list","description":"Inset of the indicator from the trigger box — shrinks the pill; a bar keeps its thickness, shortens by it at both ends and floats it above the edge"},{"name":"--elev","value":"var(--bb-elev)","selector":".bb-tabs-list","description":"The theme's resting lift, composed UNDER the indicator's own shadow. Two names because they are two decisions: `--elev` is what the language lifts every plate by, `--indicator-shadow` is this component's own."},{"name":"--indicator-shadow","value":"var(--bb-shadow-sm)","selector":".bb-tabs-list","description":"Indicator lift, painted on top of --elev — the theme's selected-segment lift, so it holds in dark (a literal black 6% vanished there)."},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-tabs-list__item"},{"name":"--transition-duration","value":"var(--bb-transition-slow)","selector":".bb-tabs-panels"},{"name":"--gap","value":"30px","selector":".bb-tabs-panels"},{"name":"--max-w","value":"initial","selector":".bb-tabs-panels","description":"The strip-width knob must not percolate into panel content: nested tabs rendered inside a panel start with a clean slate"},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-tabs__panel"}],"pt":{"parts":[{"name":"root","description":"The strip's outer element: the `wrapper:prepend` slot, the triggers, the `wrapper:append` slot (`BbTabs`'s `wrapper`)."},{"name":"list","description":"The `role=\"tablist\"` row the triggers sit in (a plain list of links in link mode)."},{"name":"item","description":"One tab trigger (a link in link mode), per tab with its own `active` / `disabled`. Also takes a per-item function, called with the tab's descriptor."},{"name":"indicator","description":"The marker sliding under the active trigger."}],"states":[{"name":"disabled","description":"On every part while the whole tabs is `disabled`; per node on `item`: a tab that is disabled."},{"name":"active","description":"Per node, on `item` and `panel`: the selected tab's trigger and its shown panel."},{"name":"line","description":"On the strip's parts: `variant: 'line'`. Below the real states, like every variant."},{"name":"none","description":"On the strip's parts: `variant: 'none'`. Below the real states, like every variant."},{"name":"pill","description":"On the strip's parts: `variant: 'pill'`. Merged after the part's base entry and before its states, so the real states still win."}]},"tree":{"bindings":[{"part":"list","target":"ul.bb-tabs-list__list"},{"part":"indicator","target":"li.bb-tabs-list__indicator"},{"part":"item","target":"BbBaseButton"}],"nodes":[{"name":"BbBaseButton","kind":"public"}]},"css":{"classes":{"bb-tabs-list":["","--*","--block","--compact","--disabled","--line","--none","--vertical","__append","__indicator","__item","__item--active","__list","__list--measuring","__list--no-transition","__prepend"]},"locals":["--active-fg","--active-fw","--color-gray-200","--elev","--eq","--fs","--gap","--height","--hover-fg","--indicator-bg","--indicator-border","--indicator-h","--indicator-inset","--indicator-r","--indicator-shadow","--left","--list-bg","--list-border","--list-fg","--list-h","--list-r","--max-w","--p","--ring-t","--top","--transition-duration","--trigger-gap","--trigger-min-h","--trigger-px","--trigger-r","--width"],"surface":{"stable":[{"class":"bb-tabs-list","part":"root"},{"class":"bb-tabs-list__list","part":"list"},{"class":"bb-tabs-list__item","part":"item"},{"class":"bb-tabs-list__indicator","part":"indicator"},{"class":"bb-tabs-list--disabled","state":"disabled"},{"class":"bb-tabs-list__item--active","state":"active"},{"class":"bb-tabs-list--line","state":"line"},{"class":"bb-tabs-list--none","state":"none"},{"class":"bb-tabs-list--pill","state":"pill","pattern":true}],"internal":[{"class":"bb-tabs-list--block"},{"class":"bb-tabs-list--compact"},{"class":"bb-tabs-list--vertical"},{"class":"bb-tabs-list__append"},{"class":"bb-tabs-list__list--measuring"},{"class":"bb-tabs-list__list--no-transition"},{"class":"bb-tabs-list__prepend"}]}},"removed":[{"name":"header:prepend","new":"wrapper:prepend","surface":"slot","since":"3.0.0-beta.36","migration":"ai/guides/migration/v3-beta-css-classes.md","silent":true,"fix":{"kind":"rename"}},{"name":"header:append","new":"wrapper:append","surface":"slot","since":"3.0.0-beta.36","migration":"ai/guides/migration/v3-beta-css-classes.md","silent":true,"fix":{"kind":"rename"}},{"name":"label:<x>","new":"<x>:label","surface":"slot","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"rename"}},{"name":"wrapper:*.canScrollLeft","new":"wrapper:*.canScrollStart","surface":"slotProp","hint":"`#wrapper:prepend` / `#wrapper:append` scope: start and end follow the page's `dir` (left to right, start is the left); `check --fix` renames it","since":"3.0.0-beta.69","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"rename"}},{"name":"wrapper:*.canScrollRight","new":"wrapper:*.canScrollEnd","surface":"slotProp","hint":"`#wrapper:prepend` / `#wrapper:append` scope: start and end follow the page's `dir` (left to right, start is the left); `check --fix` renames it","since":"3.0.0-beta.69","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"rename"}},{"name":"wrapper:*.scroll('left')","new":"wrapper:*.scroll('start')","surface":"slotProp","hint":"`#wrapper:prepend` / `#wrapper:append` scope: start and end follow the page's `dir` (left to right, start is the left); `check --fix` renames it","since":"3.0.0-beta.69","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"rename"}},{"name":"wrapper:*.scroll('right')","new":"wrapper:*.scroll('end')","surface":"slotProp","hint":"`#wrapper:prepend` / `#wrapper:append` scope: start and end follow the page's `dir` (left to right, start is the left); `check --fix` renames it","since":"3.0.0-beta.69","migration":"ai/guides/migration/components/bb-tabs.md","silent":true,"fix":{"kind":"rename"}}],"renamed":[{"from":"header:prepend","to":"wrapper:prepend","surface":"slot","since":"3.0.0-beta.36","migration":"ai/guides/migration/v3-beta-css-classes.md","fix":{"kind":"rename"}},{"from":"header:append","to":"wrapper:append","surface":"slot","since":"3.0.0-beta.36","migration":"ai/guides/migration/v3-beta-css-classes.md","fix":{"kind":"rename"}},{"from":"label:<x>","to":"<x>:label","surface":"slot","migration":"ai/guides/migration/components/bb-tabs.md","fix":{"kind":"rename"}}]},
464
464
  {"name":"BbTabsPanels","group":"Navigation","description":"The panel host of a split BbTabsRoot layout (renders the tab content only).","referenceOnly":false,"hasGuide":false,"contract":"ai/BbTabsPanels.md","source":"ai/source/BbTabsPanels.md","props":[{"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\"]; readonly states: readonly [\"disabled\", \"active\"]; readonly wide: readonly [\"disabled\"]; readonly node: { readonly panel: readonly [\"active\"]; }; }> & { root?: PtValue | undefined; panel?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"panel:active\"?: 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:active","type":"PtValue | undefined","required":false},{"name":"pt:panel:disabled","type":"PtValue | undefined","required":false},{"name":"pt:root","type":"PtValue | undefined","required":false},{"name":"pt:root:disabled","type":"PtValue | undefined","required":false}],"events":[],"slots":[{"name":"<value>","type":"BbTabsSlotProps<K>","description":"One tab's content panel, by the tab's `value` through `slotKey`; no fallback (an empty panel). With no panel slot at all, no panel renders and no tab has `aria-controls`.","dynamic":true}],"exposed":[],"models":[],"cssProps":[{"name":"--gap","value":"8px","selector":".bb-tabs"},{"name":"--list-bg","value":"color-mix(in oklab, var(--bb-text) 8%, transparent)","selector":".bb-tabs-list","description":"The strip behind the triggers"},{"name":"--list-border","value":"transparent","selector":".bb-tabs-list","description":"The strip's edge line: a baseline under the triggers (beside them when vertical), --bb-border-w thick, painted inside the strip. `pill` draws none; `line` sets it to --bb-border"},{"name":"--p","value":"3px","selector":".bb-tabs-list","description":"strip inner padding — the gutter the indicator sits in, and the scroll inset"},{"name":"--list-r","value":"var(--bb-radius)","selector":".bb-tabs-list","description":"strip corners"},{"name":"--list-h","value":"var(--bb-control-h)","selector":".bb-tabs-list","description":"strip min height"},{"name":"--fs","value":"var(--bb-fs)","selector":".bb-tabs-list","description":"trigger label size"},{"name":"--trigger-gap","value":"0px","selector":".bb-tabs-list","description":"space between triggers"},{"name":"--trigger-px","value":"10px","selector":".bb-tabs-list","description":"trigger side padding"},{"name":"--trigger-r","value":"calc(var(--list-r) - var(--p))","selector":".bb-tabs-list","description":"Trigger corners, concentric inside --list-r"},{"name":"--trigger-min-h","value":"calc(var(--list-h) - var(--p) * 2)","selector":".bb-tabs-list","description":"Trigger height inside the padded strip"},{"name":"--list-fg","value":"var(--bb-text-muted)","selector":".bb-tabs-list","description":"inactive trigger label"},{"name":"--hover-fg","value":"var(--bb-text)","selector":".bb-tabs-list","description":"hovered trigger label"},{"name":"--active-fg","value":"var(--bb-text)","selector":".bb-tabs-list","description":"active trigger label"},{"name":"--active-fw","value":"500","selector":".bb-tabs-list","description":"active trigger label weight (inactive labels are 500)"},{"name":"--indicator-bg","value":"var(--bb-panel)","selector":".bb-tabs-list","description":"the indicator's fill"},{"name":"--indicator-border","value":"color-mix(in oklab, var(--bb-text) 8%, transparent)","selector":".bb-tabs-list","description":"The indicator's edge"},{"name":"--indicator-r","value":"var(--trigger-r)","selector":".bb-tabs-list","description":"The indicator's corners — the pill's, concentric inside --list-r"},{"name":"--indicator-h","value":"initial","selector":".bb-tabs-list","description":"The indicator's thickness: its height, its width on a vertical strip. `initial` fills the whole trigger box — the pill; a bar is `2px`, on the trigger's bottom edge (side edge when vertical)"},{"name":"--indicator-inset","value":"0px","selector":".bb-tabs-list","description":"Inset of the indicator from the trigger box — shrinks the pill; a bar keeps its thickness, shortens by it at both ends and floats it above the edge"},{"name":"--elev","value":"var(--bb-elev)","selector":".bb-tabs-list","description":"The theme's resting lift, composed UNDER the indicator's own shadow. Two names because they are two decisions: `--elev` is what the language lifts every plate by, `--indicator-shadow` is this component's own."},{"name":"--indicator-shadow","value":"var(--bb-shadow-sm)","selector":".bb-tabs-list","description":"Indicator lift, painted on top of --elev — the theme's selected-segment lift, so it holds in dark (a literal black 6% vanished there)."},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-tabs-list__item"},{"name":"--transition-duration","value":"var(--bb-transition-slow)","selector":".bb-tabs-panels"},{"name":"--gap","value":"30px","selector":".bb-tabs-panels"},{"name":"--max-w","value":"initial","selector":".bb-tabs-panels","description":"The strip-width knob must not percolate into panel content: nested tabs rendered inside a panel start with a clean slate"},{"name":"--ring-t","value":"var(--bb-transition-medium)","selector":".bb-tabs__panel"}],"pt":{"parts":[{"name":"root","description":"The element around the panels (`BbTabs`'s `panels`)."},{"name":"panel","description":"One tab panel — a broadcast; `panel:active` is the panel on show. Takes no function."}],"states":[{"name":"disabled","description":"On every part while the whole tabs is `disabled`; per node on `item`: a tab that is disabled."},{"name":"active","description":"Per node, on `item` and `panel`: the selected tab's trigger and its shown panel."}]},"css":{"classes":{"bb-tabs-panels":[""]},"locals":["--active-fg","--active-fw","--color-gray-200","--elev","--eq","--fs","--gap","--height","--hover-fg","--indicator-bg","--indicator-border","--indicator-h","--indicator-inset","--indicator-r","--indicator-shadow","--left","--list-bg","--list-border","--list-fg","--list-h","--list-r","--max-w","--p","--ring-t","--top","--transition-duration","--trigger-gap","--trigger-min-h","--trigger-px","--trigger-r","--width"],"surface":{"stable":[{"class":"bb-tabs-panels","part":"root"}],"internal":[],"lands":[{"part":"panel","target":"section.bb-tabs__panel"}],"unaligned":{"states":["disabled","active"]}}},"attrTargets":["div"]},
@@ -481,9 +481,9 @@
481
481
  {"name":"CommonTimeSelector","group":"Inputs","description":"Shared hour/minute(/second/AM-PM) time rail used by BbDatePicker, BbTimePicker and BbTimePickerInput.","referenceOnly":true,"hasGuide":false,"contract":"ai/CommonTimeSelector.md","source":"ai/source/CommonTimeSelector.md","props":[{"name":"ampm","type":"boolean | undefined","required":false,"default":"false","description":"12-hour hour column plus an AM/PM column; emitted hours stay 24-hour."},{"name":"disabled","type":"boolean | undefined","required":false,"default":"false","description":"Every column is inert: nothing can be picked."},{"name":"hour","type":"string","required":true,"description":"Current hour as a 24-hour field string (may be empty)."},{"name":"max","type":"string | undefined","required":false,"description":"Latest selectable time, `HH:mm`; the same rules as `min`."},{"name":"meridiem","type":"string | undefined","required":false,"description":"Current meridiem field text (the locale's word or `AM`/`PM`, may be empty)."},{"name":"min","type":"string | undefined","required":false,"description":"Earliest selectable time, `HH:mm` (minute-granular, seconds ignored). An entry no in-range time can use is disabled: an hour with no grid minute in range, a minute out of range for the selected hour (any hour while none is), an AM / PM half with no hour."},{"name":"minute","type":"string","required":true,"description":"Current minute field string (may be empty)."},{"name":"passthrough","type":"PtBindings<\"header\" | \"item\" | \"cellColumnHeader\", \"disabled\" | \"selected\"> | undefined","required":false,"description":"The owning picker's passthrough resolver: `header` on the readout, `cellColumnHeader` on each column's letters, `item` per entry with `selected` / `disabled`. Internal."},{"name":"second","type":"string","required":true,"description":"Current second field string (may be empty)."},{"name":"seconds","type":"boolean | undefined","required":false,"default":"false","description":"Renders the seconds column."},{"name":"step","type":"number | undefined","required":false,"description":"Minute-column granularity; off-grid values highlight nothing."}],"events":[{"name":"select","signature":"(payload: { unit: TimeUnit; value: string; }): void","description":"A column entry was chosen. `hour` is always the 24-hour value (already combined with the meridiem in `ampm` mode); `meridiem` carries `AM`/`PM`. Numeric values arrive zero-padded."}],"slots":[],"exposed":[],"models":[],"cssProps":[{"name":"--time-row-h","value":"28px","selector":".bb-time-selector"},{"name":"--time-col-w","value":"44px","selector":".bb-time-selector"},{"name":"--time-mark","value":"24px","selector":".bb-time-selector","description":"Visible mark = the day-cell mark (--cell - 4). Hit area stays the full row; only the painted knob matches the calendar's."}],"tree":{"bindings":[{"part":"header","target":"div.bb-time-selector__header"},{"part":"cellColumnHeader","target":"div.bb-time-selector__cell-column-header"},{"part":"item","target":"BbBaseButton"}],"nodes":[{"name":"BbBaseButton","kind":"public"}]},"css":{"classes":{"bb-time-selector":["","__cell-column-header","__column","__column--*","__column--meridiem","__columns","__header","__header--empty","__item","__item--disabled","__item--selected","__scroll"]},"locals":["--color-gray-200","--rail-w","--ring-t","--time-col-w","--time-mark","--time-row-h"],"surface":{"stable":[],"internal":[{"class":"bb-time-selector","tag":"div","reads":["--rail-w"]},{"class":"bb-time-selector__cell-column-header","tag":"div"},{"class":"bb-time-selector__column","tag":"div","reads":["--time-col-w"]},{"class":"bb-time-selector__column--meridiem"},{"class":"bb-time-selector__columns","tag":"div"},{"class":"bb-time-selector__header","tag":"div"},{"class":"bb-time-selector__header--empty","tag":"div"},{"class":"bb-time-selector__item","tag":"BbBaseButton","reads":["--ring-t","--time-mark","--time-row-h"]},{"class":"bb-time-selector__item--disabled","tag":"BbBaseButton"},{"class":"bb-time-selector__item--selected","tag":"BbBaseButton"},{"class":"bb-time-selector__scroll","tag":"div","reads":["--time-row-h"]}]}},"attrTargets":["div"]},
482
482
  {"name":"ErrorIcon","group":"Feedback","description":"Renders the reusable error-state icon glyph used in validation UIs.","referenceOnly":true,"hasGuide":false,"contract":"ai/ErrorIcon.md","source":"ai/source/ErrorIcon.md","props":[],"events":[],"slots":[],"exposed":[],"models":[],"cssProps":[{"name":"--accent","value":"var(--bb-danger)","selector":".bb-error-icon"}],"tree":{"nodes":[{"name":"BbIcon","kind":"public"}]},"css":{"classes":{"bb-error-icon":[""]},"locals":["--accent","--color-gray-200"],"surface":{"stable":[],"internal":[{"class":"bb-error-icon","tag":"BbIcon","reads":["--accent"]}]}},"attrTargets":["svg"]},
483
483
  {"name":"FlatListBox","group":"Selection","description":"Flat listbox renderer for selectable option lists.","referenceOnly":true,"hasGuide":false,"contract":"ai/FlatListBox.md","source":"ai/source/FlatListBox.md","props":[{"name":"compact","type":"boolean | undefined","required":false,"default":"false","description":"Sets the listbox in a compact state."},{"name":"described","type":"boolean | undefined","required":false,"default":"false","description":"Every row carries a one-line description under its label (the owner's `itemProps` declares a `description`). Rows get a fixed two-line height and the description ellipsizes; an explicit `optionHeight` still wins."},{"name":"emptyText","type":"string | undefined","required":false,"description":"Text shown when no options are available."},{"name":"failedText","type":"string | undefined","required":false,"description":"Set while the latest items load FAILED: rendered above the listed options (a `stash` may keep rows on screen) so the failure is never silent. Internal."},{"name":"id","type":"string | undefined","required":false,"description":"Id applied to the `role=\"listbox\"` element itself (not the wrapper), so a combobox's `aria-controls` reference resolves to the listbox role."},{"name":"listLabel","type":"string | undefined","required":false,"description":"Plain accessible name (`aria-label`) of the `role=\"listbox\"` element, used when `listLabelledby` is not set. Internal."},{"name":"listLabelledby","type":"string | undefined","required":false,"description":"Accessible name of the `role=\"listbox\"` element: the ids that name the combobox it pops up from (`listLabelledby`), else a plain label (`listLabel`). Internal."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Shows the listbox in a loading state."},{"name":"loadingBelow","type":"boolean | undefined","required":false,"default":"false","description":"Shows the loading row BELOW the options while `loading`, instead of only when there are none: rows already known stay listed and the page fills in beneath them (BbSelect `known-items`)."},{"name":"loadingText","type":"string | undefined","required":false,"description":"Text shown while options are loading."},{"name":"multiple","type":"boolean | undefined","required":false,"default":"false","description":"Allows multiple options to be selected simultaneously."},{"name":"open","type":"boolean | undefined","required":false,"default":"false","description":"Whether the listbox is open (visible)."},{"name":"optionHeight","type":"number | undefined","required":false,"description":"Fixed height (in px) for each option row. Defaults to 28px (24px compact; 44px / 36px on mobile viewports). An explicit value wins on every viewport."},{"name":"options","type":"Option<Item>[]","required":true,"description":"List of options to display."},{"name":"passthrough","type":"PtBindings<\"option\" | \"list\" | \"itemDescription\" | \"itemText\" | \"itemIcon\" | \"check\", \"disabled\" | \"selected\"> | undefined","required":false,"description":"Passthrough resolver handed down by the select popover: `list` is the `role=\"listbox\"` node (bound whole); `option` is one option, resolved per node with its own `selected` / `disabled`. Internal."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"Duration of open/close transition in milliseconds."}],"events":[{"name":"focused:change","signature":"(id: string | undefined): void","description":"Emitted when the keyboard-focused option changes."},{"name":"option:selected","signature":"(option: Option): void","description":"Emitted when an option is selected by the user."},{"name":"option:unselected","signature":"(option: Option): void","description":"Emitted when a previously selected option is deselected."},{"name":"retry","signature":"(event: MouseEvent): void","description":"The failure footer's \"Try again\" was pressed: the host runs the failed load again."}],"slots":[{"name":"empty","type":"object","description":"Content shown when no options are available (replaces the default \"no data\" text)."},{"name":"loading","type":"object","description":"Content shown while items are loading (replaces the default loading text)."},{"name":"option","type":"FlatListBoxOptionSlotProps<Item>","fields":["disabled: boolean","focused: boolean","index: number","item: Item","selected: boolean","text: string","value: any","description: string"],"description":"Replaces the default rendering of each option row."},{"name":"options:append","type":"object","description":"Content appended inside the options list, after the last option."},{"name":"options:prepend","type":"object","description":"Content prepended inside the options list, before the first option."}],"exposed":[],"models":[],"tree":{"bindings":[{"part":"list","target":"span.bb-listbox__list"},{"part":"option","target":"span.bb-listbox__option"},{"part":"itemIcon","target":"BbIcon"},{"part":"itemText","target":"span.bb-listbox__item-text"},{"part":"itemDescription","target":"span.bb-listbox__item-description"},{"part":"check","target":"BbIcon"}],"nodes":[{"name":"BbIcon","kind":"public"},{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]}]},"attrTargets":["span"]},
484
- {"name":"GroupedListBox","group":"Selection","description":"Grouped listbox renderer for categorized options.","referenceOnly":true,"hasGuide":false,"contract":"ai/GroupedListBox.md","source":"ai/source/GroupedListBox.md","props":[{"name":"compact","type":"boolean | undefined","required":false,"default":"false","description":"Sets the listbox in a compact state."},{"name":"described","type":"boolean | undefined","required":false,"default":"false","description":"Every row carries a one-line description under its label (the owner's `itemProps` declares a `description`). Rows get a fixed two-line height and the description ellipsizes; an explicit `optionHeight` still wins."},{"name":"emptyText","type":"string | undefined","required":false,"description":"Text shown when no options are available."},{"name":"failedText","type":"string | undefined","required":false,"description":"Set while the latest items load FAILED: rendered above the listed options (a `stash` may keep rows on screen) so the failure is never silent. Internal."},{"name":"groups","type":"GroupedOptions[]","required":true,"description":"List of option groups to display."},{"name":"headerHeight","type":"number | undefined","required":false,"description":"Height of group headers (px). Defaults to 32px (24px compact; 36px / 32px on mobile viewports). An explicit value wins on every viewport."},{"name":"id","type":"string | undefined","required":false,"description":"Id applied to the `role=\"listbox\"` element itself (not the wrapper), so a combobox's `aria-controls` reference resolves to the listbox role."},{"name":"listLabel","type":"string | undefined","required":false,"description":"Plain accessible name (`aria-label`) of the `role=\"listbox\"` element, used when `listLabelledby` is not set. Internal."},{"name":"listLabelledby","type":"string | undefined","required":false,"description":"Accessible name of the `role=\"listbox\"` element: the ids that name the combobox it pops up from (`listLabelledby`), else a plain label (`listLabel`). Internal."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Shows the listbox in a loading state."},{"name":"loadingBelow","type":"boolean | undefined","required":false,"default":"false","description":"Shows the loading row BELOW the options while `loading`, instead of only when there are none: rows already known stay listed and the page fills in beneath them (BbSelect `known-items`)."},{"name":"loadingText","type":"string | undefined","required":false,"description":"Text shown while options are loading."},{"name":"multiple","type":"boolean | undefined","required":false,"default":"false","description":"Allows multiple options to be selected simultaneously."},{"name":"open","type":"boolean | undefined","required":false,"default":"false","description":"Whether the listbox is open (visible)."},{"name":"optionHeight","type":"number | undefined","required":false,"description":"Fixed height (in px) for each option row. Defaults to 28px (24px compact; 44px / 36px on mobile viewports). An explicit value wins on every viewport."},{"name":"passthrough","type":"PtBindings<\"option\" | \"list\" | \"itemDescription\" | \"itemText\" | \"itemIcon\" | \"check\", \"disabled\" | \"selected\"> | undefined","required":false,"description":"Passthrough resolver handed down by the select popover: `list` is the `role=\"listbox\"` node (bound whole); `option` is one option, resolved per node with its own `selected` / `disabled`. Internal."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"Duration of open/close transition in milliseconds."}],"events":[{"name":"focused:change","signature":"(id: string | undefined): void","description":"Emitted when the keyboard-focused option changes."},{"name":"option:selected","signature":"(option: Option): void","description":"Emitted when an option is selected by the user."},{"name":"option:unselected","signature":"(option: Option): void","description":"Emitted when a previously selected option is deselected."},{"name":"retry","signature":"(event: MouseEvent): void","description":"The failure footer's \"Try again\" was pressed: the host runs the failed load again."}],"slots":[{"name":"empty","type":"object","description":"Content shown when no options are available (replaces the default \"no data\" text)."},{"name":"group","type":"GroupedListBoxGroupSlotProps<Item>","fields":["text: string","item: Item","index: number","length: number","disabled: boolean"],"description":"Replaces the default group header rendered above each group of options. A group whose `data` is `null`/`undefined` has no header, so no call."},{"name":"loading","type":"object","description":"Content shown while items are loading (replaces the default loading text)."},{"name":"option","type":"GroupedListBoxOptionSlotProps<Item>","fields":["disabled: boolean","focused: boolean","index: number","item: Item","selected: boolean","text: string","value: any","description: string"],"description":"Replaces the default rendering of each option row within a group."},{"name":"options:append","type":"object","description":"Content appended inside the options list, after the last group."},{"name":"options:prepend","type":"object","description":"Content prepended inside the options list, before the first group."}],"exposed":[],"models":[],"tree":{"bindings":[{"part":"list","target":"span.bb-listbox__list"},{"part":"option","target":"span.bb-listbox__option"},{"part":"itemIcon","target":"BbIcon"},{"part":"itemText","target":"span.bb-listbox__item-text"},{"part":"itemDescription","target":"span.bb-listbox__item-description"},{"part":"check","target":"BbIcon"}],"nodes":[{"name":"BbIcon","kind":"public"},{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]}]},"attrTargets":["span"]},
484
+ {"name":"GroupedListBox","group":"Selection","description":"Grouped listbox renderer for categorized options.","referenceOnly":true,"hasGuide":false,"contract":"ai/GroupedListBox.md","source":"ai/source/GroupedListBox.md","props":[{"name":"compact","type":"boolean | undefined","required":false,"default":"false","description":"Sets the listbox in a compact state."},{"name":"described","type":"boolean | undefined","required":false,"default":"false","description":"Every row carries a one-line description under its label (the owner's `itemProps` declares a `description`). Rows get a fixed two-line height and the description ellipsizes; an explicit `optionHeight` still wins."},{"name":"emptyText","type":"string | undefined","required":false,"description":"Text shown when no options are available."},{"name":"failedText","type":"string | undefined","required":false,"description":"Set while the latest items load FAILED: rendered above the listed options (a `stash` may keep rows on screen) so the failure is never silent. Internal."},{"name":"groups","type":"GroupedOptions[]","required":true,"description":"List of option groups to display."},{"name":"headerHeight","type":"number | undefined","required":false,"description":"Height of group headers (px). Defaults to 32px (24px compact; 36px / 32px on mobile viewports). An explicit value wins on every viewport."},{"name":"id","type":"string | undefined","required":false,"description":"Id applied to the `role=\"listbox\"` element itself (not the wrapper), so a combobox's `aria-controls` reference resolves to the listbox role."},{"name":"listLabel","type":"string | undefined","required":false,"description":"Plain accessible name (`aria-label`) of the `role=\"listbox\"` element, used when `listLabelledby` is not set. Internal."},{"name":"listLabelledby","type":"string | undefined","required":false,"description":"Accessible name of the `role=\"listbox\"` element: the ids that name the combobox it pops up from (`listLabelledby`), else a plain label (`listLabel`). Internal."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Shows the listbox in a loading state."},{"name":"loadingBelow","type":"boolean | undefined","required":false,"default":"false","description":"Shows the loading row BELOW the options while `loading`, instead of only when there are none: rows already known stay listed and the page fills in beneath them (BbSelect `known-items`)."},{"name":"loadingText","type":"string | undefined","required":false,"description":"Text shown while options are loading."},{"name":"multiple","type":"boolean | undefined","required":false,"default":"false","description":"Allows multiple options to be selected simultaneously."},{"name":"open","type":"boolean | undefined","required":false,"default":"false","description":"Whether the listbox is open (visible)."},{"name":"optionHeight","type":"number | undefined","required":false,"description":"Fixed height (in px) for each option row. Defaults to 28px (24px compact; 44px / 36px on mobile viewports). An explicit value wins on every viewport."},{"name":"passthrough","type":"PtBindings<\"option\" | \"list\" | \"itemDescription\" | \"itemText\" | \"groupHeader\" | \"itemIcon\" | \"check\", \"disabled\" | \"selected\"> | undefined","required":false,"description":"Passthrough resolver handed down by the select popover: `list` is the `role=\"listbox\"` node (bound whole); `option` is one option, resolved per node with its own `selected` / `disabled`. Internal."},{"name":"transitionDuration","type":"number | undefined","required":false,"default":"250","description":"Duration of open/close transition in milliseconds."}],"events":[{"name":"focused:change","signature":"(id: string | undefined): void","description":"Emitted when the keyboard-focused option changes."},{"name":"option:selected","signature":"(option: Option): void","description":"Emitted when an option is selected by the user."},{"name":"option:unselected","signature":"(option: Option): void","description":"Emitted when a previously selected option is deselected."},{"name":"retry","signature":"(event: MouseEvent): void","description":"The failure footer's \"Try again\" was pressed: the host runs the failed load again."}],"slots":[{"name":"empty","type":"object","description":"Content shown when no options are available (replaces the default \"no data\" text)."},{"name":"group","type":"GroupedListBoxGroupSlotProps<Item>","fields":["text: string","item: Item","index: number","length: number","disabled: boolean"],"description":"Replaces the default group header rendered above each group of options. A group whose `data` is `null`/`undefined` has no header, so no call."},{"name":"loading","type":"object","description":"Content shown while items are loading (replaces the default loading text)."},{"name":"option","type":"GroupedListBoxOptionSlotProps<Item>","fields":["disabled: boolean","focused: boolean","index: number","item: Item","selected: boolean","text: string","value: any","description: string"],"description":"Replaces the default rendering of each option row within a group."},{"name":"options:append","type":"object","description":"Content appended inside the options list, after the last group."},{"name":"options:prepend","type":"object","description":"Content prepended inside the options list, before the first group."}],"exposed":[],"models":[],"tree":{"bindings":[{"part":"list","target":"span.bb-listbox__list"},{"part":"groupHeader","target":"span.bb-listbox__group-header"},{"part":"option","target":"span.bb-listbox__option"},{"part":"itemIcon","target":"BbIcon"},{"part":"itemText","target":"span.bb-listbox__item-text"},{"part":"itemDescription","target":"span.bb-listbox__item-description"},{"part":"check","target":"BbIcon"}],"nodes":[{"name":"BbIcon","kind":"public"},{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]}]},"attrTargets":["span"]},
485
485
  {"name":"GuidesComponent","group":"Layout & Utility","description":"Dev-only showcase that auto-collects examples/*.vue files with live preview and extractable source. Not part of the consumer API.","referenceOnly":true,"hasGuide":false,"contract":"ai/GuidesComponent.md","source":"ai/source/GuidesComponent.md","props":[],"events":[],"slots":[],"exposed":[],"models":[],"attrTargets":["section"]},
486
- {"name":"ListBox","group":"Selection","description":"Accessible listbox interaction primitive.","referenceOnly":true,"hasGuide":false,"contract":"ai/ListBox.md","source":"ai/source/ListBox.md","props":[{"name":"compact","type":"boolean | undefined","required":false,"default":"false","description":"Sets the listbox in a compact state."},{"name":"described","type":"boolean | undefined","required":false,"default":"false","description":"Every row carries a one-line description under its label (the owner's `itemProps` declares a `description`). Rows get a fixed two-line height and the description ellipsizes; an explicit `optionHeight` still wins."},{"name":"emptyText","type":"string | undefined","required":false,"description":"Text shown when no options are available."},{"name":"failedText","type":"string | undefined","required":false,"description":"Set while the latest items load FAILED: rendered above the listed options (a `stash` may keep rows on screen) so the failure is never silent. Internal."},{"name":"groups","type":"GroupedOptions[] | undefined","required":false,"description":"Grouped option list. When provided, the grouped listbox is rendered."},{"name":"headerHeight","type":"number | undefined","required":false,"description":"Height of group headers in the listbox (px)."},{"name":"id","type":"string | undefined","required":false,"description":"Id applied to the `role=\"listbox\"` element itself (not the wrapper), so a combobox's `aria-controls` reference resolves to the listbox role."},{"name":"listLabel","type":"string | undefined","required":false,"description":"Plain accessible name (`aria-label`) of the `role=\"listbox\"` element, used when `listLabelledby` is not set. Internal."},{"name":"listLabelledby","type":"string | undefined","required":false,"description":"Accessible name of the `role=\"listbox\"` element: the ids that name the combobox it pops up from (`listLabelledby`), else a plain label (`listLabel`). Internal."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Shows the listbox in a loading state."},{"name":"loadingBelow","type":"boolean | undefined","required":false,"default":"false","description":"Shows the loading row BELOW the options while `loading`, instead of only when there are none: rows already known stay listed and the page fills in beneath them (BbSelect `known-items`)."},{"name":"loadingText","type":"string | undefined","required":false,"description":"Text shown while options are loading."},{"name":"multiple","type":"boolean | undefined","required":false,"default":"false","description":"Allows multiple options to be selected simultaneously."},{"name":"open","type":"boolean | undefined","required":false,"default":"false","description":"Whether the listbox is open (visible)."},{"name":"optionHeight","type":"number | undefined","required":false,"description":"Fixed height (in px) for each option row. Defaults to 28px (24px compact; 44px / 36px on mobile viewports). An explicit value wins on every viewport."},{"name":"options","type":"Option<Item>[] | undefined","required":false,"description":"Flat option list. Used when `groups` is not provided."},{"name":"passthrough","type":"PtBindings<\"option\" | \"list\" | \"itemDescription\" | \"itemText\" | \"itemIcon\" | \"check\", \"disabled\" | \"selected\"> | undefined","required":false,"description":"Passthrough resolver handed down by the select popover: `list` is the `role=\"listbox\"` node (bound whole); `option` is one option, resolved per node with its own `selected` / `disabled`. Internal."},{"name":"transitionDuration","type":"number | undefined","required":false,"description":"Duration of open/close transition in milliseconds."}],"events":[{"name":"focused:change","signature":"(id: string | undefined): void","description":"Emitted when the keyboard-focused option changes."},{"name":"option:selected","signature":"(option: Option): void","description":"Emitted when an option is selected by the user."},{"name":"option:unselected","signature":"(option: Option): void","description":"Emitted when a previously selected option is deselected."},{"name":"retry","signature":"(event: MouseEvent): void","description":"The failure footer's \"Try again\" was pressed: the host runs the failed load again."}],"slots":[{"name":"empty","type":"object","description":"Content shown when no options are available (replaces the default \"no data\" text)."},{"name":"group","type":"ListBoxGroupSlotProps<Item>","fields":["text: string","item: Item","index: number","length: number","disabled: boolean"],"description":"Replaces the default group header (only used when `groups` is provided)."},{"name":"loading","type":"object","description":"Content shown while items are loading (replaces the default loading text)."},{"name":"option","type":"ListBoxOptionSlotProps<Item>","fields":["disabled: boolean","focused: boolean","index: number","item: Item","selected: boolean","text: string","value: any","description: string"],"description":"Replaces the default rendering of each option row."},{"name":"options:append","type":"object","description":"Content appended inside the options list, after the last option or group."},{"name":"options:prepend","type":"object","description":"Content prepended inside the options list, before the first option or group."}],"exposed":[],"models":[],"tree":{"nodes":[{"name":"FlatListBox","kind":"internal","vocabulary":"ListBox","bindings":[{"part":"list","target":"span.bb-listbox__list"},{"part":"option","target":"span.bb-listbox__option"},{"part":"itemIcon","target":"BbIcon"},{"part":"itemText","target":"span.bb-listbox__item-text"},{"part":"itemDescription","target":"span.bb-listbox__item-description"},{"part":"check","target":"BbIcon"}],"children":[{"name":"BbIcon","kind":"public"},{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]}]},{"name":"GroupedListBox","kind":"internal","vocabulary":"ListBox","bindings":[{"part":"list","target":"span.bb-listbox__list"},{"part":"option","target":"span.bb-listbox__option"},{"part":"itemIcon","target":"BbIcon"},{"part":"itemText","target":"span.bb-listbox__item-text"},{"part":"itemDescription","target":"span.bb-listbox__item-description"},{"part":"check","target":"BbIcon"}],"children":[{"name":"BbIcon","kind":"public"},{"name":"ErrorIcon","kind":"internal","repeated":true}]}]}},
486
+ {"name":"ListBox","group":"Selection","description":"Accessible listbox interaction primitive.","referenceOnly":true,"hasGuide":false,"contract":"ai/ListBox.md","source":"ai/source/ListBox.md","props":[{"name":"compact","type":"boolean | undefined","required":false,"default":"false","description":"Sets the listbox in a compact state."},{"name":"described","type":"boolean | undefined","required":false,"default":"false","description":"Every row carries a one-line description under its label (the owner's `itemProps` declares a `description`). Rows get a fixed two-line height and the description ellipsizes; an explicit `optionHeight` still wins."},{"name":"emptyText","type":"string | undefined","required":false,"description":"Text shown when no options are available."},{"name":"failedText","type":"string | undefined","required":false,"description":"Set while the latest items load FAILED: rendered above the listed options (a `stash` may keep rows on screen) so the failure is never silent. Internal."},{"name":"groups","type":"GroupedOptions[] | undefined","required":false,"description":"Grouped option list. When provided, the grouped listbox is rendered."},{"name":"headerHeight","type":"number | undefined","required":false,"description":"Height of group headers in the listbox (px)."},{"name":"id","type":"string | undefined","required":false,"description":"Id applied to the `role=\"listbox\"` element itself (not the wrapper), so a combobox's `aria-controls` reference resolves to the listbox role."},{"name":"listLabel","type":"string | undefined","required":false,"description":"Plain accessible name (`aria-label`) of the `role=\"listbox\"` element, used when `listLabelledby` is not set. Internal."},{"name":"listLabelledby","type":"string | undefined","required":false,"description":"Accessible name of the `role=\"listbox\"` element: the ids that name the combobox it pops up from (`listLabelledby`), else a plain label (`listLabel`). Internal."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Shows the listbox in a loading state."},{"name":"loadingBelow","type":"boolean | undefined","required":false,"default":"false","description":"Shows the loading row BELOW the options while `loading`, instead of only when there are none: rows already known stay listed and the page fills in beneath them (BbSelect `known-items`)."},{"name":"loadingText","type":"string | undefined","required":false,"description":"Text shown while options are loading."},{"name":"multiple","type":"boolean | undefined","required":false,"default":"false","description":"Allows multiple options to be selected simultaneously."},{"name":"open","type":"boolean | undefined","required":false,"default":"false","description":"Whether the listbox is open (visible)."},{"name":"optionHeight","type":"number | undefined","required":false,"description":"Fixed height (in px) for each option row. Defaults to 28px (24px compact; 44px / 36px on mobile viewports). An explicit value wins on every viewport."},{"name":"options","type":"Option<Item>[] | undefined","required":false,"description":"Flat option list. Used when `groups` is not provided."},{"name":"passthrough","type":"PtBindings<\"option\" | \"list\" | \"itemDescription\" | \"itemText\" | \"groupHeader\" | \"itemIcon\" | \"check\", \"disabled\" | \"selected\"> | undefined","required":false,"description":"Passthrough resolver handed down by the select popover: `list` is the `role=\"listbox\"` node (bound whole); `option` is one option, resolved per node with its own `selected` / `disabled`. Internal."},{"name":"transitionDuration","type":"number | undefined","required":false,"description":"Duration of open/close transition in milliseconds."}],"events":[{"name":"focused:change","signature":"(id: string | undefined): void","description":"Emitted when the keyboard-focused option changes."},{"name":"option:selected","signature":"(option: Option): void","description":"Emitted when an option is selected by the user."},{"name":"option:unselected","signature":"(option: Option): void","description":"Emitted when a previously selected option is deselected."},{"name":"retry","signature":"(event: MouseEvent): void","description":"The failure footer's \"Try again\" was pressed: the host runs the failed load again."}],"slots":[{"name":"empty","type":"object","description":"Content shown when no options are available (replaces the default \"no data\" text)."},{"name":"group","type":"ListBoxGroupSlotProps<Item>","fields":["text: string","item: Item","index: number","length: number","disabled: boolean"],"description":"Replaces the default group header (only used when `groups` is provided)."},{"name":"loading","type":"object","description":"Content shown while items are loading (replaces the default loading text)."},{"name":"option","type":"ListBoxOptionSlotProps<Item>","fields":["disabled: boolean","focused: boolean","index: number","item: Item","selected: boolean","text: string","value: any","description: string"],"description":"Replaces the default rendering of each option row."},{"name":"options:append","type":"object","description":"Content appended inside the options list, after the last option or group."},{"name":"options:prepend","type":"object","description":"Content prepended inside the options list, before the first option or group."}],"exposed":[],"models":[],"tree":{"nodes":[{"name":"FlatListBox","kind":"internal","vocabulary":"ListBox","bindings":[{"part":"list","target":"span.bb-listbox__list"},{"part":"option","target":"span.bb-listbox__option"},{"part":"itemIcon","target":"BbIcon"},{"part":"itemText","target":"span.bb-listbox__item-text"},{"part":"itemDescription","target":"span.bb-listbox__item-description"},{"part":"check","target":"BbIcon"}],"children":[{"name":"BbIcon","kind":"public"},{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]}]},{"name":"GroupedListBox","kind":"internal","vocabulary":"ListBox","bindings":[{"part":"list","target":"span.bb-listbox__list"},{"part":"groupHeader","target":"span.bb-listbox__group-header"},{"part":"option","target":"span.bb-listbox__option"},{"part":"itemIcon","target":"BbIcon"},{"part":"itemText","target":"span.bb-listbox__item-text"},{"part":"itemDescription","target":"span.bb-listbox__item-description"},{"part":"check","target":"BbIcon"}],"children":[{"name":"BbIcon","kind":"public"},{"name":"ErrorIcon","kind":"internal","repeated":true}]}]}},
487
487
  {"name":"OptionsContainer","group":"Layout & Utility","description":"Container utility for option list composition.","referenceOnly":true,"hasGuide":false,"contract":"ai/OptionsContainer.md","source":"ai/source/OptionsContainer.md","props":[{"name":"block","type":"string","required":true,"description":"The owning group's public BEM block (`bb-checkbox-group`): the nodes are its elements (`__list`, `__loading`, `__item`, `__label`, …), named after the `pt` parts."},{"name":"emptyText","type":"string | undefined","required":false,"description":"String displayed when there are no items to display."},{"name":"error","type":"unknown","required":false,"description":"What the owning group's latest failed `items` load rejected with; `null` (or unset) when nothing failed. While set, the list shows the failure row (`failedText` and \"Try again\"), never the `empty` slot. Internal."},{"name":"failedText","type":"string | undefined","required":false,"description":"The failure row's message while `error` is set."},{"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. Attaches a `--warnings` CSS class; suppressed when `hasErrors` is true."},{"name":"hideLabel","type":"boolean | undefined","required":false,"default":"false","description":"Visually hides the label of the input while maintaining accessibility."},{"name":"indicatorReady","type":"boolean | undefined","required":false,"default":"false","description":"With a `variant`: the indicators have been measured and painted, so they may transition. Until then the list is `--no-transition`."},{"name":"itemInputAlign","type":"FieldCrossAlign | undefined","required":false,"values":["center","top","bottom"],"description":"Vertical position of each option's control in its row; `'center'` is the middle of the label plus its description. Omitted, it sits on the label's first line."},{"name":"itemLabelAlign","type":"FieldCrossAlign | undefined","required":false,"values":["center","top","bottom"],"description":"Vertical position of each option's label in its row. Omitted, it stays as it is."},{"name":"itemLayout","type":"FieldLayout | undefined","required":false,"default":"'auto'","description":"How one row's input and label sit together: the keywords of a field's `layout`. Placed by the `-item--<keyword>` modifier."},{"name":"itemReverse","type":"boolean | undefined","required":false,"default":"false","description":"Swaps each row's input and label from their natural order."},{"name":"listBlock","type":"boolean | undefined","required":false,"default":"false","description":"The group's `block`: the rows take the list's full width (`--block`), shared equally on a line, each full width when stacked."},{"name":"listLayout","type":"ListLayout | undefined","required":false,"default":"'horizontal'","values":["horizontal","vertical","tiles"],"description":"How the rows sit inside the list."},{"name":"loading","type":"boolean | undefined","required":false,"default":"false","description":"Shows the container in a loading state."},{"name":"loadingText","type":"string | undefined","required":false,"description":"String displayed while items are being loaded."},{"name":"options","type":"Option<T>[]","required":true,"description":"List of options to render."},{"name":"passthrough","type":"PtBindings<\"label\" | \"list\" | \"icon\" | \"item\" | \"itemDescription\", RowPtState> | undefined","required":false,"description":"Passthrough resolver from the public owner: `list` (bound whole, group-wide states), `item` and `label` (per row, with its own on-state and `disabled`). The on-state goes under both `selected` and `checked`; a resolver ignores a state its component lacks. Internal."},{"name":"variant","type":"string | undefined","required":false,"description":"A tab-strip look on the list: `--strip` plus the variant's class hook (`--pill`, `--line`, a registered name), the strip and its triggers (choice-strip.css). The owning group renders the indicators."}],"events":[{"name":"retry","signature":"(event: MouseEvent): void","description":"The failure row's \"Try again\" was pressed: the group runs the failed load again."}],"slots":[{"name":"append","type":"object","description":"Content rendered after the last option, inside the options container."},{"name":"empty","type":"object","description":"Content shown when no options are available (replaces the default \"no data\" text). Empty only: a failed load shows the failure row."},{"name":"input","type":"OptionsContainerInputSlotProps<T>","fields":["index: number","option: Option<T>","labelId: string","descriptionId: string","rowStates: Partial<Record<RowPtState, boolean>>"],"description":"The actual input element for each option (e.g. radio or checkbox)."},{"name":"label","type":"OptionsContainerLabelSlotProps<T>","fields":["checked: boolean","item: T","text: string","description: string"],"description":"Replaces the default label text for each option."},{"name":"loading","type":"object","description":"Content shown while options are loading (replaces the default loading text)."},{"name":"prepend","type":"object","description":"Content rendered before the first option, inside the options container."}],"exposed":[],"models":[],"cssProps":[{"name":"--list-bg","value":"color-mix(in oklab, var(--bb-text) 8%, transparent)","selector":".bb-radio-group__list--strip","description":"The strip behind the triggers"},{"name":"--list-border","value":"transparent","selector":".bb-radio-group__list--strip","description":"The strip's edge line, --bb-border-w thick, painted inside the strip: under the triggers (beside them when vertical). `pill` draws none; `line` sets it to --bb-border"},{"name":"--p","value":"3px","selector":".bb-radio-group__list--strip","description":"strip inner padding — the gutter the indicator sits in, and the scroll inset"},{"name":"--list-r","value":"var(--bb-radius)","selector":".bb-radio-group__list--strip","description":"strip corners"},{"name":"--list-h","value":"var(--bb-control-h)","selector":".bb-radio-group__list--strip","description":"strip min height"},{"name":"--fs","value":"var(--bb-fs)","selector":".bb-radio-group__list--strip","description":"trigger label size"},{"name":"--trigger-gap","value":"0px","selector":".bb-radio-group__list--strip","description":"space between triggers"},{"name":"--trigger-px","value":"10px","selector":".bb-radio-group__list--strip","description":"trigger side padding"},{"name":"--trigger-r","value":"calc(var(--list-r) - var(--p))","selector":".bb-radio-group__list--strip","description":"Trigger corners, concentric inside --list-r"},{"name":"--trigger-min-h","value":"calc(var(--list-h) - var(--p) * 2)","selector":".bb-radio-group__list--strip","description":"Trigger height inside the padded strip"},{"name":"--list-fg","value":"var(--bb-text-muted)","selector":".bb-radio-group__list--strip","description":"unchecked trigger label"},{"name":"--hover-fg","value":"var(--bb-text)","selector":".bb-radio-group__list--strip","description":"hovered trigger label"},{"name":"--active-fg","value":"var(--bb-text)","selector":".bb-radio-group__list--strip","description":"checked trigger label"},{"name":"--active-fw","value":"500","selector":".bb-radio-group__list--strip","description":"checked trigger label weight (unchecked labels are 500)"},{"name":"--indicator-bg","value":"var(--bb-panel)","selector":".bb-radio-group__list--strip","description":"the indicator's fill"},{"name":"--indicator-border","value":"color-mix(in oklab, var(--bb-text) 8%, transparent)","selector":".bb-radio-group__list--strip","description":"The indicator's edge"},{"name":"--indicator-r","value":"var(--trigger-r)","selector":".bb-radio-group__list--strip","description":"The indicator's corners — the pill's, concentric inside --list-r"},{"name":"--indicator-h","value":"initial","selector":".bb-radio-group__list--strip","description":"The indicator's thickness: its height, its width on a vertical strip. `initial` fills the whole trigger box — the pill; a bar is `2px`, on the trigger's bottom edge (inline-end edge when vertical)"},{"name":"--indicator-inset","value":"0px","selector":".bb-radio-group__list--strip","description":"Inset of the indicator from the trigger box — shrinks the pill; a bar keeps its thickness, shortens by it at both ends and floats it above the edge"},{"name":"--elev","value":"var(--bb-elev)","selector":".bb-radio-group__list--strip","description":"The theme's resting lift, composed UNDER the indicator's own shadow"},{"name":"--indicator-shadow","value":"var(--bb-shadow-sm)","selector":".bb-radio-group__list--strip","description":"Indicator lift, painted on top of --elev"},{"name":"--list-bg","value":"transparent","selector":".bb-radio-group__list--line"},{"name":"--list-border","value":"var(--bb-border)","selector":".bb-radio-group__list--line"},{"name":"--p","value":"0px","selector":".bb-radio-group__list--line"},{"name":"--list-r","value":"0px","selector":".bb-radio-group__list--line"},{"name":"--trigger-r","value":"var(--bb-radius-sm)","selector":".bb-radio-group__list--line"},{"name":"--active-fw","value":"600","selector":".bb-radio-group__list--line"},{"name":"--indicator-bg","value":"var(--bb-primary)","selector":".bb-radio-group__list--line"},{"name":"--indicator-border","value":"transparent","selector":".bb-radio-group__list--line"},{"name":"--indicator-r","value":"0","selector":".bb-radio-group__list--line"},{"name":"--indicator-h","value":"2px","selector":".bb-radio-group__list--line"},{"name":"--indicator-shadow","value":"none","selector":".bb-radio-group__list--line"},{"name":"--elev","value":"none","selector":".bb-radio-group__list--line"},{"name":"--list-bg","value":"transparent","selector":".bb-radio-group__list--outline"},{"name":"--list-border","value":"transparent","selector":".bb-radio-group__list--outline"},{"name":"--list-h","value":"auto","selector":".bb-radio-group__list--outline"},{"name":"--p","value":"0px","selector":".bb-radio-group__list--outline"},{"name":"--trigger-gap","value":"8px","selector":".bb-radio-group__list--outline"},{"name":"--trigger-min-h","value":"calc(var(--bb-control-h) - 4px)","selector":".bb-radio-group__list--outline","description":"BbButton md"},{"name":"--trigger-px","value":"12px","selector":".bb-radio-group__list--outline"},{"name":"--fs","value":"var(--bb-fs)","selector":".bb-radio-group__list--outline"},{"name":"--trigger-r","value":"var(--bb-radius)","selector":".bb-radio-group__list--outline"},{"name":"--elev","value":"var(--bb-elev)","selector":".bb-radio-group__list--outline"}],"attrTargets":["span"]},
488
488
  {"name":"WarningIcon","group":"Feedback","description":"Renders the reusable warning-state icon glyph used in validation UIs.","referenceOnly":true,"hasGuide":false,"contract":"ai/WarningIcon.md","source":"ai/source/WarningIcon.md","props":[],"events":[],"slots":[],"exposed":[],"models":[],"cssProps":[{"name":"--accent","value":"var(--bb-warn)","selector":".bb-warning-icon"}],"tree":{"nodes":[{"name":"BbIcon","kind":"public"}]},"css":{"classes":{"bb-warning-icon":[""]},"locals":["--accent","--color-gray-200"],"surface":{"stable":[],"internal":[{"class":"bb-warning-icon","tag":"BbIcon","reads":["--accent"]}]}},"attrTargets":["svg"]}
489
489
  ]