bitboss-ui 3.0.0-beta.67 → 3.0.0-beta.69

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 (1027) hide show
  1. package/README.md +230 -91
  2. package/bin/bitboss-ui-mcp.mjs +368 -142
  3. package/bin/bitboss-ui.mjs +24 -2073
  4. package/bin/cli.mjs +1922 -0
  5. package/dist/ai/BbAccordion.md +1 -1
  6. package/dist/ai/BbAlert.md +16 -12
  7. package/dist/ai/BbAsterisk.md +1 -1
  8. package/dist/ai/BbAvatar.md +3 -3
  9. package/dist/ai/BbBadge.md +5 -5
  10. package/dist/ai/BbBadgeButton.md +1 -1
  11. package/dist/ai/BbBaseButton.md +1 -1
  12. package/dist/ai/BbBaseCheckboxIcon.md +4 -0
  13. package/dist/ai/BbBaseRadioIcon.md +7 -3
  14. package/dist/ai/BbBaseSwitchIcon.md +11 -2
  15. package/dist/ai/BbBreadcrumbs.md +3 -3
  16. package/dist/ai/BbButton.md +63 -10
  17. package/dist/ai/BbCalendar.md +15 -2
  18. package/dist/ai/BbCarousel.md +1093 -0
  19. package/dist/ai/BbCheckbox.md +28 -8
  20. package/dist/ai/BbCheckboxGroup.md +65 -32
  21. package/dist/ai/BbColorInput.md +18 -15
  22. package/dist/ai/BbColorPalette.md +9 -6
  23. package/dist/ai/BbConfigScope.md +218 -0
  24. package/dist/ai/BbConfirm.md +25 -22
  25. package/dist/ai/BbDatePicker.md +12 -6
  26. package/dist/ai/BbDatePickerInput.md +29 -18
  27. package/dist/ai/BbDialog.md +11 -10
  28. package/dist/ai/BbDropdown.md +36 -29
  29. package/dist/ai/BbDropdownButton.md +21 -21
  30. package/dist/ai/BbDropzone.md +5 -16
  31. package/dist/ai/BbForm.md +14 -8
  32. package/dist/ai/BbHost.md +20 -14
  33. package/dist/ai/BbHoverCard.md +2 -2
  34. package/dist/ai/BbIcon.md +3 -3
  35. package/dist/ai/BbIndicator.md +4 -4
  36. package/dist/ai/BbNumberInput.md +20 -16
  37. package/dist/ai/BbOffCanvas.md +15 -10
  38. package/dist/ai/BbPagination.md +15 -6
  39. package/dist/ai/BbPopover.md +16 -9
  40. package/dist/ai/BbRadio.md +30 -9
  41. package/dist/ai/BbRadioGroup.md +78 -35
  42. package/dist/ai/BbRating.md +13 -11
  43. package/dist/ai/BbSelect.md +84 -49
  44. package/dist/ai/BbSelectPopover.md +33 -31
  45. package/dist/ai/BbSlider.md +266 -66
  46. package/dist/ai/BbSpinner.md +3 -3
  47. package/dist/ai/BbSwitch.md +33 -9
  48. package/dist/ai/BbSwitchGroup.md +27 -18
  49. package/dist/ai/BbTable.md +28 -25
  50. package/dist/ai/BbTabs.md +29 -32
  51. package/dist/ai/BbTabsList.md +4 -4
  52. package/dist/ai/BbTabsRoot.md +2 -2
  53. package/dist/ai/BbTag.md +15 -14
  54. package/dist/ai/BbTextInput.md +32 -22
  55. package/dist/ai/BbTextarea.md +20 -18
  56. package/dist/ai/BbTimePicker.md +5 -5
  57. package/dist/ai/BbTimePickerInput.md +15 -14
  58. package/dist/ai/BbToast.md +72 -28
  59. package/dist/ai/BbTooltip.md +7 -6
  60. package/dist/ai/BbTree.md +1 -1
  61. package/dist/ai/ChipsBox.md +1 -1
  62. package/dist/ai/ClearableButton.md +1 -1
  63. package/dist/ai/CommonField.md +5 -5
  64. package/dist/ai/CommonFieldInput.md +3 -2
  65. package/dist/ai/CommonPopover.md +4 -4
  66. package/dist/ai/CommonTimeSelector.md +1 -1
  67. package/dist/ai/ErrorIcon.md +1 -1
  68. package/dist/ai/FlatListBox.md +5 -4
  69. package/dist/ai/GroupedListBox.md +5 -4
  70. package/dist/ai/ListBox.md +6 -5
  71. package/dist/ai/OptionsContainer.md +20 -4
  72. package/dist/ai/WarningIcon.md +1 -1
  73. package/dist/ai/changelog.json +1002 -39
  74. package/dist/ai/components.json +117 -246
  75. package/dist/ai/composables/useBbConfig.md +3 -3
  76. package/dist/ai/composables/useBbDialog.md +1 -1
  77. package/dist/ai/composables/useBbFormField.md +1 -1
  78. package/dist/ai/composables/useConfirm.md +1 -1
  79. package/dist/ai/composables/useToast.md +16 -16
  80. package/dist/ai/design-tokens.json +10 -5
  81. package/dist/ai/guides/agent-contract.md +15 -10
  82. package/dist/ai/guides/ai-router.md +15 -10
  83. package/dist/ai/guides/app-layout.md +1 -1
  84. package/dist/ai/guides/calendars-and-digits.md +123 -0
  85. package/dist/ai/guides/component-picker.md +1 -1
  86. package/dist/ai/guides/design-language.md +18 -14
  87. package/dist/ai/guides/design-tokens.md +85 -43
  88. package/dist/ai/guides/eslint-rules.md +21 -2
  89. package/dist/ai/guides/fetch-items-playbook.md +1 -1
  90. package/dist/ai/guides/icons-policy.md +1 -1
  91. package/dist/ai/guides/inertia-helpers.md +322 -41
  92. package/dist/ai/guides/inline-edit-playbook.md +1 -1
  93. package/dist/ai/guides/installation-and-plugin-setup.md +498 -189
  94. package/dist/ai/guides/migration/adoption-checklist.md +5 -5
  95. package/dist/ai/guides/migration/components/bb-alert.md +2 -2
  96. package/dist/ai/guides/migration/components/bb-badge.md +1 -1
  97. package/dist/ai/guides/migration/components/bb-checkbox-group.md +15 -15
  98. package/dist/ai/guides/migration/components/bb-dialog.md +2 -2
  99. package/dist/ai/guides/migration/components/bb-dropdown.md +1 -1
  100. package/dist/ai/guides/migration/components/bb-host.md +10 -8
  101. package/dist/ai/guides/migration/components/bb-offcanvas.md +1 -1
  102. package/dist/ai/guides/migration/components/bb-rating.md +1 -1
  103. package/dist/ai/guides/migration/components/bb-select-popover.md +2 -2
  104. package/dist/ai/guides/migration/components/bb-select.md +3 -3
  105. package/dist/ai/guides/migration/components/bb-slider.md +17 -2
  106. package/dist/ai/guides/migration/components/bb-table.md +1 -0
  107. package/dist/ai/guides/migration/components/bb-tabs.md +33 -15
  108. package/dist/ai/guides/migration/components/bb-toast.md +10 -9
  109. package/dist/ai/guides/migration/components/use-confirm.md +1 -1
  110. package/dist/ai/guides/migration/v2-to-v3.md +345 -76
  111. package/dist/ai/guides/migration/v3-beta-css-classes.md +1 -0
  112. package/dist/ai/guides/migration/v3-beta-tooling.md +30 -13
  113. package/dist/ai/guides/options-items-playbook.md +5 -1
  114. package/dist/ai/guides/passthrough.md +150 -135
  115. package/dist/ai/guides/ssr-prefill.md +7 -1
  116. package/dist/ai/guides/typescript-generic-components.md +7 -7
  117. package/dist/ai/guides/validated-forms.md +14 -5
  118. package/dist/ai/guides/validation-libraries.md +4 -4
  119. package/dist/ai/helpers/inertia/manifest.json +23 -14
  120. package/dist/ai/helpers/inertia/useQuery.ts +74 -0
  121. package/dist/ai/helpers/inertia/useQueryObject.ts +33 -1
  122. package/dist/ai/helpers/inertia/useRouteQuery.ts +158 -30
  123. package/dist/ai/index.md +5 -3
  124. package/dist/ai/manifest/common.json +13 -15
  125. package/dist/ai/manifest/components/BbAccordion.tree.json +22 -4
  126. package/dist/ai/manifest/components/BbAlert.json +3 -2
  127. package/dist/ai/manifest/components/BbAlert.tree.json +26 -3
  128. package/dist/ai/manifest/components/BbAsterisk.tree.json +7 -1
  129. package/dist/ai/manifest/components/BbAvatar.json +2 -1
  130. package/dist/ai/manifest/components/BbAvatar.tree.json +16 -2
  131. package/dist/ai/manifest/components/BbBadge.json +4 -3
  132. package/dist/ai/manifest/components/BbBadge.tree.json +39 -4
  133. package/dist/ai/manifest/components/BbBadgeButton.tree.json +2 -2
  134. package/dist/ai/manifest/components/BbBaseButton.tree.json +16 -1
  135. package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +23 -2
  136. package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +21 -4
  137. package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +26 -2
  138. package/dist/ai/manifest/components/BbBreadcrumbs.json +1 -1
  139. package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +34 -4
  140. package/dist/ai/manifest/components/BbButton.json +5 -4
  141. package/dist/ai/manifest/components/BbButton.tree.json +78 -5
  142. package/dist/ai/manifest/components/BbCalendar.json +2 -2
  143. package/dist/ai/manifest/components/BbCalendar.tree.json +81 -5
  144. package/dist/ai/manifest/components/BbCarousel.json +59 -0
  145. package/dist/ai/manifest/components/BbCarousel.tree.json +135 -0
  146. package/dist/ai/manifest/components/BbCheckbox.json +5 -4
  147. package/dist/ai/manifest/components/BbCheckbox.tree.json +31 -2
  148. package/dist/ai/manifest/components/BbCheckboxGroup.json +18 -15
  149. package/dist/ai/manifest/components/BbCheckboxGroup.removed.json +1 -1
  150. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +89 -5
  151. package/dist/ai/manifest/components/BbCollapsible.tree.json +11 -1
  152. package/dist/ai/manifest/components/BbColorInput.json +7 -6
  153. package/dist/ai/manifest/components/BbColorInput.tree.json +49 -4
  154. package/dist/ai/manifest/components/BbColorPalette.json +4 -3
  155. package/dist/ai/manifest/components/BbColorPalette.tree.json +36 -2
  156. package/dist/ai/manifest/components/BbConfigScope.json +23 -0
  157. package/dist/ai/manifest/components/BbConfirm.json +3 -2
  158. package/dist/ai/manifest/components/BbConfirm.tree.json +27 -3
  159. package/dist/ai/manifest/components/BbDatePicker.json +7 -6
  160. package/dist/ai/manifest/components/BbDatePicker.tree.json +42 -3
  161. package/dist/ai/manifest/components/BbDatePickerInput.json +7 -6
  162. package/dist/ai/manifest/components/BbDatePickerInput.tree.json +86 -5
  163. package/dist/ai/manifest/components/BbDialog.json +3 -2
  164. package/dist/ai/manifest/components/BbDialog.tree.json +28 -3
  165. package/dist/ai/manifest/components/BbDropdown.json +14 -10
  166. package/dist/ai/manifest/components/BbDropdown.tree.json +80 -3
  167. package/dist/ai/manifest/components/BbDropdownButton.json +14 -11
  168. package/dist/ai/manifest/components/BbDropdownButton.tree.json +47 -4
  169. package/dist/ai/manifest/components/BbDropzone.json +2 -1
  170. package/dist/ai/manifest/components/BbDropzone.tree.json +27 -1
  171. package/dist/ai/manifest/components/BbForm.json +2 -2
  172. package/dist/ai/manifest/components/BbHost.tree.json +1 -1
  173. package/dist/ai/manifest/components/BbHoverCard.json +3 -3
  174. package/dist/ai/manifest/components/BbHoverCard.tree.json +18 -1
  175. package/dist/ai/manifest/components/BbIcon.json +2 -1
  176. package/dist/ai/manifest/components/BbIcon.tree.json +7 -1
  177. package/dist/ai/manifest/components/BbIndicator.json +2 -1
  178. package/dist/ai/manifest/components/BbIndicator.tree.json +27 -1
  179. package/dist/ai/manifest/components/BbNumberInput.json +6 -5
  180. package/dist/ai/manifest/components/BbNumberInput.tree.json +40 -3
  181. package/dist/ai/manifest/components/BbOffCanvas.json +2 -1
  182. package/dist/ai/manifest/components/BbOffCanvas.tree.json +55 -2
  183. package/dist/ai/manifest/components/BbPagination.json +1 -1
  184. package/dist/ai/manifest/components/BbPagination.tree.json +23 -3
  185. package/dist/ai/manifest/components/BbPopover.json +5 -4
  186. package/dist/ai/manifest/components/BbPopover.tree.json +20 -2
  187. package/dist/ai/manifest/components/BbProgress.tree.json +9 -1
  188. package/dist/ai/manifest/components/BbRadio.json +3 -2
  189. package/dist/ai/manifest/components/BbRadio.tree.json +30 -2
  190. package/dist/ai/manifest/components/BbRadioGroup.json +22 -19
  191. package/dist/ai/manifest/components/BbRadioGroup.removed.json +1 -1
  192. package/dist/ai/manifest/components/BbRadioGroup.tree.json +88 -5
  193. package/dist/ai/manifest/components/BbRating.json +6 -5
  194. package/dist/ai/manifest/components/BbRating.removed.json +1 -0
  195. package/dist/ai/manifest/components/BbRating.tree.json +37 -2
  196. package/dist/ai/manifest/components/BbSelect.json +13 -11
  197. package/dist/ai/manifest/components/BbSelect.tree.json +70 -7
  198. package/dist/ai/manifest/components/BbSelectPopover.json +17 -13
  199. package/dist/ai/manifest/components/BbSelectPopover.tree.json +94 -8
  200. package/dist/ai/manifest/components/BbSlider.json +30 -27
  201. package/dist/ai/manifest/components/BbSlider.removed.json +3 -0
  202. package/dist/ai/manifest/components/BbSlider.tree.json +48 -3
  203. package/dist/ai/manifest/components/BbSmoothHeight.tree.json +10 -1
  204. package/dist/ai/manifest/components/BbSpinner.tree.json +21 -2
  205. package/dist/ai/manifest/components/BbSwitch.json +3 -2
  206. package/dist/ai/manifest/components/BbSwitch.tree.json +31 -2
  207. package/dist/ai/manifest/components/BbSwitchGroup.json +9 -7
  208. package/dist/ai/manifest/components/BbSwitchGroup.removed.json +1 -1
  209. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +65 -3
  210. package/dist/ai/manifest/components/BbTable.json +10 -9
  211. package/dist/ai/manifest/components/BbTable.tree.json +144 -5
  212. package/dist/ai/manifest/components/BbTabs.json +7 -6
  213. package/dist/ai/manifest/components/BbTabs.removed.json +5 -1
  214. package/dist/ai/manifest/components/BbTabs.tree.json +34 -3
  215. package/dist/ai/manifest/components/BbTabsList.json +4 -4
  216. package/dist/ai/manifest/components/BbTabsList.removed.json +5 -1
  217. package/dist/ai/manifest/components/BbTabsList.tree.json +24 -2
  218. package/dist/ai/manifest/components/BbTabsPanels.tree.json +16 -1
  219. package/dist/ai/manifest/components/BbTabsRoot.json +3 -3
  220. package/dist/ai/manifest/components/BbTag.json +7 -6
  221. package/dist/ai/manifest/components/BbTag.tree.json +49 -4
  222. package/dist/ai/manifest/components/BbTextInput.json +6 -5
  223. package/dist/ai/manifest/components/BbTextInput.tree.json +43 -3
  224. package/dist/ai/manifest/components/BbTextarea.json +7 -6
  225. package/dist/ai/manifest/components/BbTextarea.tree.json +46 -3
  226. package/dist/ai/manifest/components/BbTimePicker.json +7 -6
  227. package/dist/ai/manifest/components/BbTimePicker.tree.json +30 -3
  228. package/dist/ai/manifest/components/BbTimePickerInput.json +7 -6
  229. package/dist/ai/manifest/components/BbTimePickerInput.tree.json +58 -6
  230. package/dist/ai/manifest/components/BbToast.json +3 -2
  231. package/dist/ai/manifest/components/BbToast.tree.json +46 -2
  232. package/dist/ai/manifest/components/BbTooltip.json +4 -3
  233. package/dist/ai/manifest/components/BbTooltip.tree.json +17 -1
  234. package/dist/ai/manifest/components/BbTree.tree.json +14 -1
  235. package/dist/ai/manifest/components/ChipsBox.tree.json +1 -1
  236. package/dist/ai/manifest/components/ClearableButton.tree.json +8 -2
  237. package/dist/ai/manifest/components/CommonField.json +2 -2
  238. package/dist/ai/manifest/components/CommonField.tree.json +68 -1
  239. package/dist/ai/manifest/components/CommonFieldInput.json +2 -2
  240. package/dist/ai/manifest/components/CommonFieldInput.tree.json +38 -6
  241. package/dist/ai/manifest/components/CommonPopover.json +7 -5
  242. package/dist/ai/manifest/components/CommonPopover.tree.json +11 -1
  243. package/dist/ai/manifest/components/CommonTimeSelector.tree.json +18 -2
  244. package/dist/ai/manifest/components/ErrorIcon.tree.json +8 -2
  245. package/dist/ai/manifest/components/FlatListBox.json +1 -1
  246. package/dist/ai/manifest/components/FlatListBox.tree.json +4 -3
  247. package/dist/ai/manifest/components/GroupedListBox.json +1 -1
  248. package/dist/ai/manifest/components/GroupedListBox.tree.json +4 -3
  249. package/dist/ai/manifest/components/ListBox.json +1 -1
  250. package/dist/ai/manifest/components/ListBox.tree.json +2 -2
  251. package/dist/ai/manifest/components/OptionsContainer.json +4 -3
  252. package/dist/ai/manifest/components/OptionsContainer.tree.json +16 -1
  253. package/dist/ai/manifest/components/WarningIcon.tree.json +8 -2
  254. package/dist/ai/manifest/index.json +6 -5
  255. package/dist/ai/manifest/meta.json +23 -153
  256. package/dist/ai/manifest/types.advanced.json +78 -77
  257. package/dist/ai/manifest/types.api.json +29 -19
  258. package/dist/ai/manifest/types.wrapper.json +115 -112
  259. package/dist/ai/recipes/inertia/approvals-inbox.md +10 -10
  260. package/dist/ai/recipes/inertia/inline-edit-workspace.md +24 -20
  261. package/dist/ai/recipes/inertia/onboarding.md +10 -10
  262. package/dist/ai/recipes/inertia/ownership-atlas.md +8 -8
  263. package/dist/ai/recipes/inertia/record-form.md +16 -16
  264. package/dist/ai/recipes/inertia/records-workspace.md +13 -12
  265. package/dist/ai/recipes/inertia/settings-workspace.md +16 -15
  266. package/dist/ai/recipes/inertia/upload-center.md +13 -13
  267. package/dist/ai/recipes/inertia/wizard-form.md +16 -16
  268. package/dist/ai/recipes/nuxt/approvals-inbox.md +13 -13
  269. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +26 -22
  270. package/dist/ai/recipes/nuxt/onboarding.md +10 -10
  271. package/dist/ai/recipes/nuxt/ownership-atlas.md +12 -12
  272. package/dist/ai/recipes/nuxt/record-form.md +16 -16
  273. package/dist/ai/recipes/nuxt/records-workspace.md +16 -15
  274. package/dist/ai/recipes/nuxt/settings-workspace.md +15 -14
  275. package/dist/ai/recipes/nuxt/upload-center.md +15 -15
  276. package/dist/ai/recipes/nuxt/wizard-form.md +17 -17
  277. package/dist/ai/recipes/vue/approvals-inbox.md +15 -13
  278. package/dist/ai/recipes/vue/inline-edit-workspace.md +26 -22
  279. package/dist/ai/recipes/vue/onboarding.md +16 -11
  280. package/dist/ai/recipes/vue/ownership-atlas.md +12 -12
  281. package/dist/ai/recipes/vue/record-form.md +18 -16
  282. package/dist/ai/recipes/vue/records-workspace.md +18 -15
  283. package/dist/ai/recipes/vue/settings-workspace.md +18 -15
  284. package/dist/ai/recipes/vue/upload-center.md +15 -15
  285. package/dist/ai/recipes/vue/wizard-form.md +18 -16
  286. package/dist/ai/source/BbAccordion.md +11 -14
  287. package/dist/ai/source/BbAlert.md +103 -91
  288. package/dist/ai/source/BbAsterisk.md +6 -7
  289. package/dist/ai/source/BbAvatar.md +42 -41
  290. package/dist/ai/source/BbBadge.md +100 -89
  291. package/dist/ai/source/BbBadgeButton.md +80 -76
  292. package/dist/ai/source/BbBaseButton.md +284 -276
  293. package/dist/ai/source/BbBaseCheckboxIcon.md +76 -68
  294. package/dist/ai/source/BbBaseRadioIcon.md +80 -68
  295. package/dist/ai/source/BbBaseSwitchIcon.md +98 -74
  296. package/dist/ai/source/BbBreadcrumbs.md +76 -63
  297. package/dist/ai/source/BbButton.md +101 -77
  298. package/dist/ai/source/BbCalendar.md +166 -176
  299. package/dist/ai/source/BbCarousel.md +2897 -0
  300. package/dist/ai/source/BbCheckbox.md +230 -192
  301. package/dist/ai/source/BbCheckboxGroup.md +172 -79
  302. package/dist/ai/source/BbCollapsible.md +7 -10
  303. package/dist/ai/source/BbColorInput.md +256 -243
  304. package/dist/ai/source/BbColorPalette.md +239 -160
  305. package/dist/ai/source/BbConfigScope.md +123 -0
  306. package/dist/ai/source/BbConfirm.md +38 -32
  307. package/dist/ai/source/BbConfirmPortal.md +30 -26
  308. package/dist/ai/source/BbDatePicker.md +218 -187
  309. package/dist/ai/source/BbDatePickerInput.md +789 -428
  310. package/dist/ai/source/BbDialog.md +207 -191
  311. package/dist/ai/source/BbDropdown.md +326 -234
  312. package/dist/ai/source/BbDropdownButton.md +115 -68
  313. package/dist/ai/source/BbDropdownGroup.md +271 -216
  314. package/dist/ai/source/BbDropzone.md +101 -100
  315. package/dist/ai/source/BbForm.md +29 -29
  316. package/dist/ai/source/BbHost.md +6 -6
  317. package/dist/ai/source/BbHoverCard.md +34 -20
  318. package/dist/ai/source/BbHoverCardPortal.md +9 -12
  319. package/dist/ai/source/BbIcon.md +32 -30
  320. package/dist/ai/source/BbIndicator.md +76 -70
  321. package/dist/ai/source/BbNumberInput.md +334 -313
  322. package/dist/ai/source/BbOffCanvas.md +245 -216
  323. package/dist/ai/source/BbPagination.md +144 -116
  324. package/dist/ai/source/BbPopover.md +49 -31
  325. package/dist/ai/source/BbPopoverPortal.md +11 -14
  326. package/dist/ai/source/BbProgress.md +20 -12
  327. package/dist/ai/source/BbRadio.md +205 -181
  328. package/dist/ai/source/BbRadioGroup.md +461 -364
  329. package/dist/ai/source/BbRating.md +212 -177
  330. package/dist/ai/source/BbSelect.md +514 -482
  331. package/dist/ai/source/BbSelectPopover.md +497 -413
  332. package/dist/ai/source/BbSlider.md +1208 -777
  333. package/dist/ai/source/BbSmoothHeight.md +8 -9
  334. package/dist/ai/source/BbSpinner.md +20 -20
  335. package/dist/ai/source/BbSwitch.md +25 -13
  336. package/dist/ai/source/BbSwitchGroup.md +115 -34
  337. package/dist/ai/source/BbTable.md +577 -531
  338. package/dist/ai/source/BbTabs.md +134 -116
  339. package/dist/ai/source/BbTabsList.md +164 -136
  340. package/dist/ai/source/BbTabsPanels.md +128 -113
  341. package/dist/ai/source/BbTabsRoot.md +125 -110
  342. package/dist/ai/source/BbTag.md +286 -281
  343. package/dist/ai/source/BbTextInput.md +59 -50
  344. package/dist/ai/source/BbTextarea.md +85 -71
  345. package/dist/ai/source/BbTimePicker.md +145 -126
  346. package/dist/ai/source/BbTimePickerInput.md +383 -316
  347. package/dist/ai/source/BbToast.md +97 -44
  348. package/dist/ai/source/BbToastPortal.md +56 -36
  349. package/dist/ai/source/BbTooltip.md +155 -129
  350. package/dist/ai/source/BbTree.md +16 -12
  351. package/dist/ai/source/CommonField.md +94 -59
  352. package/dist/ai/source/CommonFieldInput.md +18 -13
  353. package/dist/ai/source/CommonPopover.md +28 -9
  354. package/dist/ai/source/CommonTimeSelector.md +41 -8
  355. package/dist/ai/source/FlatListBox.md +16 -5
  356. package/dist/ai/source/GroupedListBox.md +18 -6
  357. package/dist/ai/source/ListBox.md +2 -1
  358. package/dist/ai/source/OptionsContainer.md +82 -4
  359. package/dist/assets/svgs/arrow_up.svg_raw.js +3 -0
  360. package/dist/assets/svgs/caret_down.svg_raw.js +3 -0
  361. package/dist/assets/svgs/chevron_left.svg_raw.js +3 -0
  362. package/dist/assets/svgs/chevron_left_small.svg_raw.js +3 -0
  363. package/dist/assets/svgs/chevron_right_small.svg_raw.js +3 -0
  364. package/dist/assets/svgs/close.svg_raw.js +3 -0
  365. package/dist/assets/svgs/eyedropper.svg_raw.js +3 -0
  366. package/dist/assets/svgs/move.svg_raw.js +3 -0
  367. package/dist/assets/svgs/pause.svg_raw.js +3 -0
  368. package/dist/assets/svgs/play.svg_raw.js +3 -0
  369. package/dist/assets/svgs/star.svg_raw.js +1 -1
  370. package/dist/assets/svgs/x.svg_raw.js +3 -0
  371. package/dist/calendar-runtime.js +112 -0
  372. package/dist/calendars.js +83 -0
  373. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +2 -2
  374. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +4 -4
  375. package/dist/components/BbAccordion/ptKeys.generated.d.ts +44 -0
  376. package/dist/components/BbAccordion/types.d.ts +5 -6
  377. package/dist/components/BbAlert/BbAlert.vue.d.ts +5 -4
  378. package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +52 -48
  379. package/dist/components/BbAlert/ptKeys.generated.d.ts +104 -0
  380. package/dist/components/BbAlert/types.d.ts +16 -9
  381. package/dist/components/BbAsterisk/BbAsterisk.vue.d.ts +2 -2
  382. package/dist/components/BbAsterisk/ptKeys.generated.d.ts +8 -0
  383. package/dist/components/BbAsterisk/types.d.ts +4 -5
  384. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +3 -3
  385. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +54 -53
  386. package/dist/components/BbAvatar/ptKeys.generated.d.ts +12 -0
  387. package/dist/components/BbAvatar/types.d.ts +5 -6
  388. package/dist/components/BbBadge/BbBadge.vue.d.ts +4 -4
  389. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +75 -71
  390. package/dist/components/BbBadge/BbBadgeButton.vue.d.ts +2 -2
  391. package/dist/components/BbBadge/badgeButtonContext.d.ts +5 -5
  392. package/dist/components/BbBadge/ptKeys.generated.d.ts +160 -0
  393. package/dist/components/BbBadge/types.d.ts +17 -10
  394. package/dist/components/BbBaseButton/BbBaseButton.vue.d.ts +2 -2
  395. package/dist/components/BbBaseButton/ptKeys.generated.d.ts +20 -0
  396. package/dist/components/BbBaseButton/types.d.ts +13 -6
  397. package/dist/components/BbBaseButton/useLinkState.d.ts +1 -1
  398. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.d.ts +2 -2
  399. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue_vue_type_script_setup_true_lang.js +4 -4
  400. package/dist/components/BbBaseCheckboxIcon/ptKeys.generated.d.ts +40 -0
  401. package/dist/components/BbBaseCheckboxIcon/types.d.ts +12 -6
  402. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.d.ts +2 -2
  403. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue_vue_type_script_setup_true_lang.js +4 -4
  404. package/dist/components/BbBaseRadioIcon/ptKeys.generated.d.ts +36 -0
  405. package/dist/components/BbBaseRadioIcon/types.d.ts +12 -6
  406. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.d.ts +2 -2
  407. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue_vue_type_script_setup_true_lang.js +4 -4
  408. package/dist/components/BbBaseSwitchIcon/ptKeys.generated.d.ts +40 -0
  409. package/dist/components/BbBaseSwitchIcon/types.d.ts +12 -6
  410. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +2 -2
  411. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +5 -5
  412. package/dist/components/BbBreadcrumbs/ptKeys.generated.d.ts +48 -0
  413. package/dist/components/BbBreadcrumbs/types.d.ts +15 -8
  414. package/dist/components/BbButton/BbButton.vue.d.ts +6 -4
  415. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +130 -118
  416. package/dist/components/BbButton/ptKeys.generated.d.ts +196 -0
  417. package/dist/components/BbButton/toggleRoving.js +29 -28
  418. package/dist/components/BbButton/types.d.ts +29 -21
  419. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +9 -71
  420. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +327 -340
  421. package/dist/components/BbCalendar/CalendarMonthPanel.vue_vue_type_script_setup_true_lang.js +67 -65
  422. package/dist/components/BbCalendar/CalendarYearPanel.vue_vue_type_script_setup_true_lang.js +76 -67
  423. package/dist/components/BbCalendar/calendarHost.d.ts +1 -1
  424. package/dist/components/BbCalendar/calendarMath.d.ts +102 -0
  425. package/dist/components/BbCalendar/calendarMath.js +124 -0
  426. package/dist/components/BbCalendar/ptKeys.generated.d.ts +248 -0
  427. package/dist/components/BbCalendar/types.d.ts +15 -9
  428. package/dist/components/BbCalendar/useCalendarContext.d.ts +43 -17
  429. package/dist/components/BbCalendar/useCalendarGrid.d.ts +71 -4
  430. package/dist/components/BbCalendar/useCalendarGrid.js +264 -209
  431. package/dist/components/BbCalendar/useDayGrid.d.ts +26 -8
  432. package/dist/components/BbCalendar/useDayGrid.js +178 -172
  433. package/dist/components/BbCalendar/useDayjsLocale.d.ts +18 -3
  434. package/dist/components/BbCalendar/useDayjsLocale.js +28 -28
  435. package/dist/components/BbCalendar/useToday.d.ts +5 -3
  436. package/dist/components/BbCalendar/useToday.js +22 -12
  437. package/dist/components/BbCarousel/BbCarousel.vue.d.ts +51 -0
  438. package/dist/components/BbCarousel/BbCarousel.vue.js +5 -0
  439. package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +818 -0
  440. package/dist/components/BbCarousel/ptKeys.generated.d.ts +60 -0
  441. package/dist/components/BbCarousel/types.d.ts +213 -0
  442. package/dist/components/BbCarousel/types.js +27 -0
  443. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +8 -6
  444. package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +123 -111
  445. package/dist/components/BbCheckbox/ptKeys.generated.d.ts +220 -0
  446. package/dist/components/BbCheckbox/types.d.ts +30 -14
  447. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +167 -306
  448. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +222 -189
  449. package/dist/components/BbCheckboxGroup/ptKeys.generated.d.ts +492 -0
  450. package/dist/components/BbCheckboxGroup/types.d.ts +42 -28
  451. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +4 -4
  452. package/dist/components/BbCollapsible/BbCollapsible.vue_vue_type_script_setup_true_lang.js +1 -1
  453. package/dist/components/BbCollapsible/ptKeys.generated.d.ts +20 -0
  454. package/dist/components/BbCollapsible/types.d.ts +5 -6
  455. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +16 -14
  456. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +206 -195
  457. package/dist/components/BbColorInput/ptKeys.generated.d.ts +656 -0
  458. package/dist/components/BbColorInput/types.d.ts +30 -20
  459. package/dist/components/BbColorInput/types.js +1 -1
  460. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +4 -4
  461. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +331 -296
  462. package/dist/components/BbColorPalette/ptKeys.generated.d.ts +40 -0
  463. package/dist/components/BbColorPalette/types.d.ts +17 -10
  464. package/dist/components/BbConfigScope/BbConfigScope.vue.d.ts +12 -0
  465. package/dist/components/BbConfigScope/BbConfigScope.vue.js +4 -0
  466. package/dist/components/BbConfigScope/BbConfigScope.vue_vue_type_script_setup_true_lang.js +37 -0
  467. package/dist/components/BbConfigScope/types.d.ts +20 -0
  468. package/dist/components/BbConfirm/BbConfirm.vue.d.ts +1 -1
  469. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +27 -27
  470. package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +1 -1
  471. package/dist/components/BbConfirm/confirmEntry.d.ts +2 -2
  472. package/dist/components/BbConfirm/ptKeys.generated.d.ts +184 -0
  473. package/dist/components/BbConfirm/types.d.ts +14 -7
  474. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +16 -97
  475. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +201 -197
  476. package/dist/components/BbDatePicker/ptKeys.generated.d.ts +324 -0
  477. package/dist/components/BbDatePicker/types.d.ts +22 -15
  478. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +20 -309
  479. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +793 -660
  480. package/dist/components/BbDatePickerInput/calendarFields.d.ts +91 -0
  481. package/dist/components/BbDatePickerInput/calendarFields.js +188 -0
  482. package/dist/components/BbDatePickerInput/dateFieldLayout.d.ts +6 -0
  483. package/dist/components/BbDatePickerInput/dateFieldLayout.js +11 -1
  484. package/dist/components/BbDatePickerInput/ptKeys.generated.d.ts +1156 -0
  485. package/dist/components/BbDatePickerInput/types.d.ts +36 -26
  486. package/dist/components/BbDatePickerInput/types.js +1 -1
  487. package/dist/components/BbDialog/BbDialog.vue.d.ts +9 -8
  488. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +211 -204
  489. package/dist/components/BbDialog/ptKeys.generated.d.ts +100 -0
  490. package/dist/components/BbDialog/types.d.ts +26 -20
  491. package/dist/components/BbDropdown/AdaptiveDropdown.vue.d.ts +1 -1
  492. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +7 -6
  493. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +399 -377
  494. package/dist/components/BbDropdown/BbDropdownGroup.vue.d.ts +2 -2
  495. package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +1 -1
  496. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +297 -292
  497. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +97 -97
  498. package/dist/components/BbDropdown/DropdownRow.vue.d.ts +3 -3
  499. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +2 -2
  500. package/dist/components/BbDropdown/normalizeGroups.d.ts +2 -2
  501. package/dist/components/BbDropdown/pointerTrail.d.ts +5 -0
  502. package/dist/components/BbDropdown/pointerTrail.js +26 -0
  503. package/dist/components/BbDropdown/ptKeys.generated.d.ts +228 -0
  504. package/dist/components/BbDropdown/types.d.ts +65 -48
  505. package/dist/components/BbDropdown/types.js +11 -2
  506. package/dist/components/BbDropdown/useDropdownContext.d.ts +3 -3
  507. package/dist/components/BbDropdown/useDropdownGroupRegistry.d.ts +5 -5
  508. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +7 -6
  509. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +168 -144
  510. package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +616 -0
  511. package/dist/components/BbDropdownButton/types.d.ts +47 -23
  512. package/dist/components/BbDropdownButton/types.js +7 -3
  513. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +7 -26
  514. package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +14 -14
  515. package/dist/components/BbDropzone/ptKeys.generated.d.ts +76 -0
  516. package/dist/components/BbDropzone/types.d.ts +15 -8
  517. package/dist/components/BbForm/BbForm.vue.d.ts +5 -5
  518. package/dist/components/BbForm/BbFormCustomField.d.ts +1 -1
  519. package/dist/components/BbForm/BbFormCustomField.js +2 -2
  520. package/dist/components/BbForm/bindFormField.d.ts +4 -4
  521. package/dist/components/BbForm/bindFormField.js +66 -66
  522. package/dist/components/BbForm/formFields.d.ts +5 -5
  523. package/dist/components/BbForm/formSchema.d.ts +4 -4
  524. package/dist/components/BbHost/BbHost.vue.d.ts +1 -1
  525. package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +1 -1
  526. package/dist/components/BbHost/BbHostOpening.d.ts +4 -4
  527. package/dist/components/BbHost/types.d.ts +3 -3
  528. package/dist/components/BbHoverCard/BbHoverCard.vue.d.ts +4 -4
  529. package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +169 -162
  530. package/dist/components/BbHoverCard/BbHoverCardPortal.vue.d.ts +1 -1
  531. package/dist/components/BbHoverCard/ptKeys.generated.d.ts +44 -0
  532. package/dist/components/BbHoverCard/types.d.ts +8 -9
  533. package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -3
  534. package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +41 -40
  535. package/dist/components/BbIcon/ptKeys.generated.d.ts +8 -0
  536. package/dist/components/BbIcon/types.d.ts +7 -8
  537. package/dist/components/BbIndicator/BbIndicator.vue.d.ts +4 -4
  538. package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +1 -1
  539. package/dist/components/BbIndicator/ptKeys.generated.d.ts +52 -0
  540. package/dist/components/BbIndicator/types.d.ts +15 -8
  541. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +15 -12
  542. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +327 -311
  543. package/dist/components/BbNumberInput/numberDisplay.d.ts +10 -11
  544. package/dist/components/BbNumberInput/ptKeys.generated.d.ts +476 -0
  545. package/dist/components/BbNumberInput/types.d.ts +33 -22
  546. package/dist/components/BbNumberInput/types.js +1 -1
  547. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +9 -9
  548. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +408 -406
  549. package/dist/components/BbOffCanvas/ptKeys.generated.d.ts +88 -0
  550. package/dist/components/BbOffCanvas/sheetAttrs.d.ts +1 -1
  551. package/dist/components/BbOffCanvas/sheetSnap.d.ts +2 -2
  552. package/dist/components/BbOffCanvas/types.d.ts +30 -23
  553. package/dist/components/BbOffCanvas/useOffCanvasStack.d.ts +1 -1
  554. package/dist/components/BbPagination/BbPagination.vue.d.ts +3 -3
  555. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +110 -114
  556. package/dist/components/BbPagination/paginationFit.d.ts +1 -1
  557. package/dist/components/BbPagination/ptKeys.generated.d.ts +48 -0
  558. package/dist/components/BbPagination/types.d.ts +16 -8
  559. package/dist/components/BbPopover/BbPopover.vue.d.ts +4 -4
  560. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +121 -115
  561. package/dist/components/BbPopover/BbPopoverPortal.vue.d.ts +1 -1
  562. package/dist/components/BbPopover/ptKeys.generated.d.ts +52 -0
  563. package/dist/components/BbPopover/types.d.ts +10 -11
  564. package/dist/components/BbProgress/BbProgress.vue.d.ts +2 -2
  565. package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +1 -1
  566. package/dist/components/BbProgress/ptKeys.generated.d.ts +20 -0
  567. package/dist/components/BbProgress/types.d.ts +4 -5
  568. package/dist/components/BbRadio/BbRadio.vue.d.ts +8 -6
  569. package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +134 -122
  570. package/dist/components/BbRadio/ptKeys.generated.d.ts +196 -0
  571. package/dist/components/BbRadio/types.d.ts +24 -13
  572. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +152 -248
  573. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +248 -215
  574. package/dist/components/BbRadioGroup/ptKeys.generated.d.ts +492 -0
  575. package/dist/components/BbRadioGroup/types.d.ts +41 -24
  576. package/dist/components/BbRating/BbRating.vue.d.ts +9 -7
  577. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +153 -142
  578. package/dist/components/BbRating/ptKeys.generated.d.ts +152 -0
  579. package/dist/components/BbRating/types.d.ts +31 -20
  580. package/dist/components/BbRating/types.js +1 -1
  581. package/dist/components/BbSelect/BbSelect.vue.d.ts +269 -483
  582. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +362 -341
  583. package/dist/components/BbSelect/ptKeys.generated.d.ts +960 -0
  584. package/dist/components/BbSelect/types.d.ts +50 -37
  585. package/dist/components/BbSelect/types.js +4 -2
  586. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +23 -50
  587. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +750 -730
  588. package/dist/components/BbSelectPopover/knownItems.d.ts +4 -4
  589. package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +148 -0
  590. package/dist/components/BbSelectPopover/reclickClears.d.ts +17 -0
  591. package/dist/components/BbSelectPopover/reclickClears.js +4 -0
  592. package/dist/components/BbSelectPopover/sheetChipAttrs.d.ts +1 -1
  593. package/dist/components/BbSelectPopover/types.d.ts +44 -31
  594. package/dist/components/BbSelectPopover/types.js +3 -1
  595. package/dist/components/BbSlider/BbSlider.vue.d.ts +27 -86
  596. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +414 -331
  597. package/dist/components/BbSlider/ptKeys.generated.d.ts +316 -0
  598. package/dist/components/BbSlider/types.d.ts +162 -61
  599. package/dist/components/BbSlider/types.js +2 -0
  600. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -3
  601. package/dist/components/BbSmoothHeight/ptKeys.generated.d.ts +8 -0
  602. package/dist/components/BbSmoothHeight/types.d.ts +5 -6
  603. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +3 -3
  604. package/dist/components/BbSpinner/ptKeys.generated.d.ts +8 -0
  605. package/dist/components/BbSpinner/types.d.ts +5 -6
  606. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +6 -6
  607. package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +30 -30
  608. package/dist/components/BbSwitch/ptKeys.generated.d.ts +220 -0
  609. package/dist/components/BbSwitch/types.d.ts +15 -5
  610. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +38 -116
  611. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +13 -10
  612. package/dist/components/BbSwitchGroup/ptKeys.generated.d.ts +332 -0
  613. package/dist/components/BbSwitchGroup/types.d.ts +14 -5
  614. package/dist/components/BbTable/BbTable.vue.d.ts +13 -13
  615. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1360 -1366
  616. package/dist/components/BbTable/BbTableDataRow.d.ts +4 -4
  617. package/dist/components/BbTable/BbTableEdgeRow.d.ts +5 -5
  618. package/dist/components/BbTable/BbTableExpandRow.d.ts +2 -2
  619. package/dist/components/BbTable/BbTableSelectToggle.d.ts +3 -3
  620. package/dist/components/BbTable/estimatedFloors.golden.d.ts +1 -1
  621. package/dist/components/BbTable/gridWidgets.d.ts +1 -1
  622. package/dist/components/BbTable/measuredFloors.d.ts +1 -1
  623. package/dist/components/BbTable/measuredFloorsTestKit.d.ts +1 -1
  624. package/dist/components/BbTable/ptKeys.generated.d.ts +280 -0
  625. package/dist/components/BbTable/types.d.ts +30 -22
  626. package/dist/components/BbTable/utils.d.ts +5 -5
  627. package/dist/components/BbTable/utils.js +89 -88
  628. package/dist/components/BbTabs/BbTabs.vue.d.ts +41 -69
  629. package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +21 -15
  630. package/dist/components/BbTabs/BbTabsList.vue.d.ts +3 -3
  631. package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +121 -122
  632. package/dist/components/BbTabs/BbTabsPanels.vue.d.ts +3 -3
  633. package/dist/components/BbTabs/BbTabsPanels.vue_vue_type_script_setup_true_lang.js +1 -1
  634. package/dist/components/BbTabs/BbTabsRoot.vue.d.ts +2 -2
  635. package/dist/components/BbTabs/ptKeys.generated.d.ts +226 -0
  636. package/dist/components/BbTabs/types.d.ts +41 -23
  637. package/dist/components/BbTag/BbTag.vue.d.ts +18 -16
  638. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +248 -238
  639. package/dist/components/BbTag/ptKeys.generated.d.ts +540 -0
  640. package/dist/components/BbTag/types.d.ts +28 -18
  641. package/dist/components/BbTag/types.js +1 -1
  642. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +19 -171
  643. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +176 -165
  644. package/dist/components/BbTextInput/ptKeys.generated.d.ts +608 -0
  645. package/dist/components/BbTextInput/types.d.ts +30 -21
  646. package/dist/components/BbTextInput/types.js +1 -1
  647. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +19 -171
  648. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +206 -196
  649. package/dist/components/BbTextarea/ptKeys.generated.d.ts +608 -0
  650. package/dist/components/BbTextarea/types.d.ts +29 -20
  651. package/dist/components/BbTextarea/types.js +1 -1
  652. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +13 -33
  653. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +137 -136
  654. package/dist/components/BbTimePicker/ptKeys.generated.d.ts +80 -0
  655. package/dist/components/BbTimePicker/types.d.ts +19 -13
  656. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +18 -201
  657. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +421 -397
  658. package/dist/components/BbTimePickerInput/ptKeys.generated.d.ts +732 -0
  659. package/dist/components/BbTimePickerInput/types.d.ts +35 -23
  660. package/dist/components/BbTimePickerInput/types.js +1 -1
  661. package/dist/components/BbToast/BbToast.vue.d.ts +2 -2
  662. package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +60 -53
  663. package/dist/components/BbToast/BbToastMessage.vue.d.ts +2 -2
  664. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +75 -80
  665. package/dist/components/BbToast/BbToastPortal.vue.d.ts +1 -1
  666. package/dist/components/BbToast/BbToastRegion.vue.d.ts +5 -3
  667. package/dist/components/BbToast/ptKeys.generated.d.ts +232 -0
  668. package/dist/components/BbToast/types.d.ts +22 -13
  669. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +6 -6
  670. package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +99 -88
  671. package/dist/components/BbTooltip/ptKeys.generated.d.ts +36 -0
  672. package/dist/components/BbTooltip/tooltipWarmup.d.ts +2 -2
  673. package/dist/components/BbTooltip/types.d.ts +16 -9
  674. package/dist/components/BbTree/BbTree.vue.d.ts +7 -11
  675. package/dist/components/BbTree/BbTreeLevel.vue.d.ts +1 -1
  676. package/dist/components/BbTree/context.d.ts +2 -2
  677. package/dist/components/BbTree/ptKeys.generated.d.ts +16 -0
  678. package/dist/components/BbTree/types.d.ts +5 -6
  679. package/dist/components/ChipsBox/ChipsBox.vue.d.ts +2 -2
  680. package/dist/components/ChipsBox/types.d.ts +2 -2
  681. package/dist/components/ClearableButton/ClearableButton.vue.d.ts +2 -2
  682. package/dist/components/CloseIcon/CloseButton.vue.d.ts +2 -2
  683. package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
  684. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +11 -16
  685. package/dist/components/CommaBox/CommaBox.vue.d.ts +2 -2
  686. package/dist/components/CommaBox/types.d.ts +2 -2
  687. package/dist/components/CommonField/CommonField.vue.d.ts +7 -7
  688. package/dist/components/CommonField/CommonField.vue_vue_type_script_setup_true_lang.js +9 -4
  689. package/dist/components/CommonField/messageHeightMatrix.d.ts +1 -1
  690. package/dist/components/CommonField/types.d.ts +18 -14
  691. package/dist/components/CommonFieldInput/CommonFieldInput.vue.d.ts +3 -3
  692. package/dist/components/CommonFieldInput/types.d.ts +4 -4
  693. package/dist/components/CommonPopover/CommonPopover.vue.d.ts +4 -4
  694. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +56 -55
  695. package/dist/components/CommonPopover/resolvePlacement.d.ts +9 -0
  696. package/dist/components/CommonPopover/resolvePlacement.js +9 -0
  697. package/dist/components/CommonPopover/types.d.ts +5 -5
  698. package/dist/components/CommonTimeSelector/CommonTimeSelector.vue.d.ts +2 -2
  699. package/dist/components/CommonTimeSelector/CommonTimeSelector.vue_vue_type_script_setup_true_lang.js +110 -99
  700. package/dist/components/CommonTimeSelector/useMeridiem.d.ts +1 -1
  701. package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +2 -2
  702. package/dist/components/FlatListBox/FlatListBox.vue.d.ts +2 -2
  703. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +5 -2
  704. package/dist/components/FlatListBox/types.d.ts +3 -3
  705. package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +2 -2
  706. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +5 -2
  707. package/dist/components/GroupedListBox/types.d.ts +3 -3
  708. package/dist/components/ListBox/ListBox.vue.d.ts +2 -2
  709. package/dist/components/ListBox/types.d.ts +3 -3
  710. package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +1 -1
  711. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +101 -69
  712. package/dist/components/OptionsContainer/types.d.ts +8 -3
  713. package/dist/components/Transitions/Slide.vue.d.ts +5 -3
  714. package/dist/components/Transitions/Slide.vue.js +1 -1
  715. package/dist/components/WarningIcon/WarningIcon.vue.d.ts +2 -2
  716. package/dist/composables/autoHost.d.ts +1 -1
  717. package/dist/composables/formSubmitLock.d.ts +5 -5
  718. package/dist/composables/hostOpenings.d.ts +6 -6
  719. package/dist/composables/hostRegistry.d.ts +2 -2
  720. package/dist/composables/overlayRegistry.d.ts +25 -25
  721. package/dist/composables/overlayRegistry.js +13 -7
  722. package/dist/composables/useBaseOptions.d.ts +2 -2
  723. package/dist/composables/useBbConfig.d.ts +5 -5
  724. package/dist/composables/useBbDialog.d.ts +17 -17
  725. package/dist/composables/useBbDialog.js +2 -1
  726. package/dist/composables/useBbDropdown.d.ts +1 -1
  727. package/dist/composables/useBbForm.d.ts +2 -2
  728. package/dist/composables/useBbFormField.d.ts +4 -4
  729. package/dist/composables/useBbOffCanvas.d.ts +6 -6
  730. package/dist/composables/useBbTable.d.ts +4 -4
  731. package/dist/composables/useBbTabs.d.ts +4 -4
  732. package/dist/composables/useBbTabs.js +99 -94
  733. package/dist/composables/useBreakpoint.d.ts +1 -1
  734. package/dist/composables/useCharacterCounter.d.ts +2 -2
  735. package/dist/composables/useChoiceIndicator.d.ts +2 -2
  736. package/dist/composables/useClosingInert.d.ts +1 -1
  737. package/dist/composables/useConfig.d.ts +3 -3
  738. package/dist/composables/useConfig.js +2 -9
  739. package/dist/composables/useConfigDefaults.d.ts +54 -0
  740. package/dist/composables/useConfigDefaults.js +56 -0
  741. package/dist/composables/useConfirm.d.ts +18 -18
  742. package/dist/composables/useDirection.d.ts +43 -0
  743. package/dist/composables/useDirection.js +12 -0
  744. package/dist/composables/useFormBinding.d.ts +5 -5
  745. package/dist/composables/useFormBinding.js +3 -3
  746. package/dist/composables/useId.d.ts +1 -1
  747. package/dist/composables/useItemsGetter.d.ts +3 -3
  748. package/dist/composables/useKeyboardInset.d.ts +1 -1
  749. package/dist/composables/useListboxFocus.d.ts +1 -1
  750. package/dist/composables/useLocale.d.ts +2 -2
  751. package/dist/composables/useOnDemandOpener.d.ts +3 -3
  752. package/dist/composables/useOverlayNavigation.d.ts +1 -1
  753. package/dist/composables/useOverlayYield.d.ts +1 -1
  754. package/dist/composables/usePassthrough.d.ts +13 -11
  755. package/dist/composables/usePassthrough.js +137 -133
  756. package/dist/composables/useQuery.d.ts +1 -1
  757. package/dist/composables/useRefusedCloseAnnouncement.d.ts +1 -1
  758. package/dist/composables/useSafeArea.d.ts +1 -1
  759. package/dist/composables/useSafeAreaInternal.d.ts +1 -1
  760. package/dist/composables/useSegmentedFields.d.ts +25 -0
  761. package/dist/composables/useSegmentedFields.js +165 -115
  762. package/dist/composables/useServerPrefetch.d.ts +2 -2
  763. package/dist/composables/useSheetSurface.d.ts +1 -1
  764. package/dist/composables/useSsrState.d.ts +2 -2
  765. package/dist/composables/useToast.d.ts +13 -5
  766. package/dist/composables/useToast.js +52 -38
  767. package/dist/composables/useTypeahead.js +22 -21
  768. package/dist/deprecation/ai-deprecations.json.d.ts +160 -15
  769. package/dist/deprecation/ai-deprecations.json.js +1 -1
  770. package/dist/deprecation/removedProps.d.ts +1 -1
  771. package/dist/directives/bbColor.d.ts +1 -1
  772. package/dist/directives/bbDate.d.ts +1 -1
  773. package/dist/directives/bbDialog.d.ts +3 -3
  774. package/dist/directives/bbDropdown.d.ts +1 -1
  775. package/dist/directives/bbDropdown.js +7 -7
  776. package/dist/directives/bbHoverCard.d.ts +3 -3
  777. package/dist/directives/bbOffCanvas.d.ts +2 -2
  778. package/dist/directives/bbPopover.d.ts +3 -3
  779. package/dist/directives/bbTime.d.ts +1 -1
  780. package/dist/directives/bbTooltip.d.ts +4 -4
  781. package/dist/directives/directivePortal.d.ts +4 -4
  782. package/dist/directives/overlayTrigger.d.ts +4 -4
  783. package/dist/directives/overlayTrigger.js +2 -1
  784. package/dist/i18n/eraNames.d.ts +2 -0
  785. package/dist/i18n/eraNames.js +2013 -0
  786. package/dist/i18n/index.d.ts +9 -7
  787. package/dist/i18n/localeTags.d.ts +36 -0
  788. package/dist/i18n/locales/ar.json +176 -0
  789. package/dist/i18n/locales/cs.json +23 -3
  790. package/dist/i18n/locales/da.json +23 -3
  791. package/dist/i18n/locales/de-CH.json +23 -3
  792. package/dist/i18n/locales/de.json +23 -3
  793. package/dist/i18n/locales/el.json +23 -3
  794. package/dist/i18n/locales/en-GB.json +23 -3
  795. package/dist/i18n/locales/en.json +23 -3
  796. package/dist/i18n/locales/es-MX.json +23 -3
  797. package/dist/i18n/locales/es.json +23 -3
  798. package/dist/i18n/locales/fa.json +176 -0
  799. package/dist/i18n/locales/fi.json +23 -3
  800. package/dist/i18n/locales/fr.json +23 -3
  801. package/dist/i18n/locales/he.json +176 -0
  802. package/dist/i18n/locales/hu.json +23 -3
  803. package/dist/i18n/locales/it.json +23 -3
  804. package/dist/i18n/locales/ja.json +23 -3
  805. package/dist/i18n/locales/ko.json +23 -3
  806. package/dist/i18n/locales/nb.json +23 -3
  807. package/dist/i18n/locales/nl.json +23 -3
  808. package/dist/i18n/locales/pl.json +23 -3
  809. package/dist/i18n/locales/pt-BR.json +23 -3
  810. package/dist/i18n/locales/pt-PT.json +23 -3
  811. package/dist/i18n/locales/ro.json +23 -3
  812. package/dist/i18n/locales/ru.json +23 -3
  813. package/dist/i18n/locales/sv.json +23 -3
  814. package/dist/i18n/locales/tr.json +23 -3
  815. package/dist/i18n/locales/uk.json +23 -3
  816. package/dist/i18n/locales/zh-CN.json +23 -3
  817. package/dist/i18n/locales/zh-HK.json +23 -3
  818. package/dist/i18n/locales/zh-TW.json +23 -3
  819. package/dist/i18n/regionHints.js +22 -22
  820. package/dist/i18n/regions.d.ts +73 -24
  821. package/dist/i18n/regions.js +57 -12
  822. package/dist/index.d.ts +192 -190
  823. package/dist/index.js +55 -54
  824. package/dist/llms-full.txt +8848 -5872
  825. package/dist/llms-medium.txt +830 -506
  826. package/dist/llms.txt +6 -5
  827. package/dist/locale-blueprint.json +26 -3
  828. package/dist/locale-tags.js +81 -0
  829. package/dist/mcp-sdk.LICENSES.txt +210 -0
  830. package/dist/mcp-sdk.mjs +78 -0
  831. package/dist/nuxt-auto-imports.d.ts +1 -1
  832. package/dist/nuxt-auto-imports.js +1 -1
  833. package/dist/nuxt-module.d.ts +5 -5
  834. package/dist/nuxt.js +26 -23
  835. package/dist/plugin.d.ts +2 -2
  836. package/dist/project-dts.d.ts +76 -14
  837. package/dist/project-dts.js +117 -63
  838. package/dist/setup-kit.LICENSES.txt +23 -0
  839. package/dist/setup-kit.mjs +9 -0
  840. package/dist/styles.css +2 -2
  841. package/dist/types/ActionButton.d.ts +3 -3
  842. package/dist/types/AlertVariant.d.ts +2 -2
  843. package/dist/types/BadgeVariant.d.ts +2 -2
  844. package/dist/types/ButtonVariant.d.ts +2 -2
  845. package/dist/types/CheckboxVariant.d.ts +9 -6
  846. package/dist/types/CheckboxVariant.js +5 -1
  847. package/dist/types/ColumnName.d.ts +1 -1
  848. package/dist/types/CommonProps.d.ts +25 -3
  849. package/dist/types/Config.d.ts +24 -110
  850. package/dist/types/ConfigDefaults.d.ts +352 -0
  851. package/dist/types/ConfigDefaults.js +115 -0
  852. package/dist/types/ConfirmVariant.d.ts +2 -2
  853. package/dist/types/DatePickerType.d.ts +29 -2
  854. package/dist/types/DatePickerType.js +6 -2
  855. package/dist/types/DropdownItemVariant.d.ts +2 -2
  856. package/dist/types/FieldLayout.d.ts +3 -3
  857. package/dist/types/IndicatorVariant.d.ts +2 -2
  858. package/dist/types/InputVariant.d.ts +58 -25
  859. package/dist/types/ItemAccessor.d.ts +7 -1
  860. package/dist/types/ItemProps.d.ts +3 -3
  861. package/dist/types/ItemsProvider.d.ts +2 -2
  862. package/dist/types/Placement.d.ts +7 -2
  863. package/dist/types/RadioVariant.d.ts +9 -6
  864. package/dist/types/RadioVariant.js +5 -1
  865. package/dist/types/ShapeErased.d.ts +1 -1
  866. package/dist/types/SizeScale.d.ts +4 -0
  867. package/dist/types/SizeScale.js +17 -0
  868. package/dist/types/TabsVariant.d.ts +2 -2
  869. package/dist/types/ToastVariant.d.ts +2 -2
  870. package/dist/types/TooltipVariant.d.ts +2 -2
  871. package/dist/types/fallthrough.d.ts +1 -1
  872. package/dist/types/passthrough.d.ts +23 -23
  873. package/dist/types/ptComponentMap.d.ts +29 -28
  874. package/dist/utilities/calendar/canonicalParts.d.ts +29 -0
  875. package/dist/utilities/calendar/canonicalParts.js +12 -0
  876. package/dist/utilities/calendar/digits.d.ts +18 -0
  877. package/dist/utilities/calendar/digits.js +26 -0
  878. package/dist/utilities/calendar/gregorian.d.ts +2 -0
  879. package/dist/utilities/calendar/gregorian.js +36 -0
  880. package/dist/utilities/calendar/index.d.ts +3 -0
  881. package/dist/utilities/calendar/index.js +1 -0
  882. package/dist/utilities/calendar/international.d.ts +19 -0
  883. package/dist/utilities/calendar/resolve.d.ts +32 -0
  884. package/dist/utilities/calendar/resolve.js +12 -0
  885. package/dist/utilities/calendar/runtime.d.ts +49 -0
  886. package/dist/utilities/calendar/types.d.ts +140 -0
  887. package/dist/utilities/calendar/types.js +83 -0
  888. package/dist/utilities/functions/convertDateValue.d.ts +15 -2
  889. package/dist/utilities/functions/convertDateValue.js +22 -17
  890. package/dist/utilities/functions/elementLabel.d.ts +1 -1
  891. package/dist/utilities/functions/extractDomContainer.d.ts +1 -1
  892. package/dist/utilities/functions/isDateDisabled.d.ts +9 -1
  893. package/dist/utilities/functions/isDateDisabled.js +38 -21
  894. package/dist/utilities/functions/itemProps.d.ts +1 -1
  895. package/dist/utilities/functions/normalizeDateBound.d.ts +45 -2
  896. package/dist/utilities/functions/normalizeDateBound.js +52 -11
  897. package/dist/utilities/functions/parseSize.d.ts +2 -2
  898. package/dist/utilities/functions/readableValue.d.ts +1 -1
  899. package/dist/utilities/functions/responsiveDefault.d.ts +1 -1
  900. package/dist/utilities/functions/searchRank.d.ts +19 -0
  901. package/dist/utilities/functions/searchRank.js +76 -0
  902. package/dist/utilities/functions/slotKey.d.ts +1 -1
  903. package/dist/utilities/functions/toggleInput.d.ts +1 -1
  904. package/dist/utilities/functions/warnRemovedAttrs.d.ts +3 -3
  905. package/dist/utilities/functions/when.d.ts +1 -1
  906. package/dist/utilities/misc/autofocus.d.ts +2 -2
  907. package/dist/utilities/misc/listboxMetrics.d.ts +2 -2
  908. package/dist/utilities/misc/maskaDataOptions.d.ts +1 -1
  909. package/dist/utilities/misc/ssrStateInjectionKey.d.ts +1 -1
  910. package/dist/utilities/misc/ssrValue.d.ts +1 -1
  911. package/dist/utils/configDefaults.d.ts +43 -0
  912. package/dist/utils/configDefaults.js +170 -0
  913. package/dist/utils/configScope.d.ts +43 -0
  914. package/dist/utils/configScope.js +13 -0
  915. package/dist/utils/copyData.d.ts +2 -2
  916. package/dist/utils/cssLayers.d.ts +1 -1
  917. package/dist/utils/focusVisibility.d.ts +1 -1
  918. package/dist/utils/injectLibraryStyles.d.ts +1 -1
  919. package/dist/utils/overlayEscapeStack.d.ts +1 -1
  920. package/dist/utils/passthrough.d.ts +5 -8
  921. package/dist/utils/passthrough.js +31 -29
  922. package/dist/utils/passthroughDeduper.d.ts +1 -1
  923. package/dist/utils/releasedActivator.d.ts +20 -0
  924. package/dist/utils/releasedActivator.js +11 -0
  925. package/dist/utils/versionCheck.d.ts +1 -1
  926. package/dist/utils/versionCheck.js +1 -1
  927. package/dist/vite-plugin.d.ts +139 -218
  928. package/dist/vite.js +451 -425
  929. package/llms.txt +6 -5
  930. package/package.json +51 -19
  931. package/scripts/README.md +2 -1
  932. package/scripts/lib/adoption-checklist.json +2 -2
  933. package/scripts/lib/agent-manifest.mjs +107 -22
  934. package/scripts/lib/agent-refresh.mjs +151 -0
  935. package/scripts/lib/agent-setup.mjs +679 -0
  936. package/scripts/lib/carousel-items-without-slide.mjs +263 -0
  937. package/scripts/lib/carousel-prop-or-local.mjs +117 -0
  938. package/scripts/lib/check-fix.mjs +1 -1
  939. package/scripts/lib/collapsible-trigger-aria.mjs +1 -1
  940. package/scripts/lib/css-class-check.mjs +3 -3
  941. package/scripts/lib/css-local-check.mjs +25 -17
  942. package/scripts/lib/css-surface-answer.mjs +117 -0
  943. package/scripts/lib/define-preset-copy.mjs +1 -1
  944. package/scripts/lib/distributed-alias.mjs +81 -0
  945. package/scripts/lib/doc-sections.mjs +12 -4
  946. package/scripts/lib/dropdown-default-slot.mjs +1 -1
  947. package/scripts/lib/eslint-disable.mjs +60 -2
  948. package/scripts/lib/eslint-plugin.d.ts +13 -2
  949. package/scripts/lib/eslint-plugin.mjs +609 -64
  950. package/scripts/lib/form-v-model.mjs +1 -1
  951. package/scripts/lib/hand-imported-styles.mjs +2 -2
  952. package/scripts/lib/hand-roll-hints.mjs +25 -3
  953. package/scripts/lib/helper-canon.mjs +4 -4
  954. package/scripts/lib/helpers-add.mjs +39 -24
  955. package/scripts/lib/hidden-label-placeholder.mjs +1 -1
  956. package/scripts/lib/idiom-scan.mjs +12 -11
  957. package/scripts/lib/is-direct-run.mjs +20 -0
  958. package/scripts/lib/items-provider-context.mjs +1 -1
  959. package/scripts/lib/linked-target.mjs +26 -2
  960. package/scripts/lib/local-components.mjs +2 -2
  961. package/scripts/lib/locale-check.mjs +109 -13
  962. package/scripts/lib/mcp-config.mjs +140 -75
  963. package/scripts/lib/mcp-sdk.mjs +199 -0
  964. package/scripts/lib/migrate-fix.mjs +3 -3
  965. package/scripts/lib/plugin-options-check.mjs +170 -0
  966. package/scripts/lib/pnp.mjs +165 -0
  967. package/scripts/lib/portal-names.mjs +4 -4
  968. package/scripts/lib/prefer-v-bb-dialog.mjs +1 -1
  969. package/scripts/lib/project-variant-dts.mjs +182 -48
  970. package/scripts/lib/reactive-v-model.mjs +2 -2
  971. package/scripts/lib/redundant-item-accessor.mjs +1 -1
  972. package/scripts/lib/renamed-item-field.mjs +1 -1
  973. package/scripts/lib/renamed-slot-prop.mjs +524 -0
  974. package/scripts/lib/rule-registry.mjs +1 -1
  975. package/scripts/lib/setup-edits.mjs +1845 -0
  976. package/scripts/lib/setup.mjs +440 -0
  977. package/scripts/lib/slot-key.mjs +1 -1
  978. package/scripts/lib/slot-renames.mjs +3 -3
  979. package/scripts/lib/squashed-slot-words.mjs +1 -1
  980. package/scripts/lib/tab-links.mjs +2 -2
  981. package/scripts/lib/text-null-value.mjs +1 -1
  982. package/scripts/lib/toolchain-check.mjs +3 -3
  983. package/scripts/lib/tooling-options.mjs +87 -0
  984. package/scripts/lib/unimported-components.mjs +1 -1
  985. package/scripts/lib/unstyled-variants.mjs +1 -1
  986. package/scripts/lib/valid-locale.mjs +119 -0
  987. package/scripts/lib/validate-bb-markup.mjs +219 -115
  988. package/scripts/lib/wrapper-props.mjs +2 -2
  989. package/dist/ai/BbPtScope.md +0 -138
  990. package/dist/ai/manifest/components/BbPtScope.json +0 -21
  991. package/dist/ai/source/BbPtScope.md +0 -54
  992. package/dist/components/BbNumberInput/warroom/corpus.d.ts +0 -58
  993. package/dist/components/BbNumberInput/warroom/currency-verify.rows.d.ts +0 -28
  994. package/dist/components/BbNumberInput/warroom/currency.rows.d.ts +0 -2
  995. package/dist/components/BbNumberInput/warroom/harness.d.ts +0 -217
  996. package/dist/components/BbNumberInput/warroom/oracle.d.ts +0 -150
  997. package/dist/components/BbPtScope/BbPtScope.vue.d.ts +0 -12
  998. package/dist/components/BbPtScope/BbPtScope.vue.js +0 -4
  999. package/dist/components/BbPtScope/BbPtScope.vue_vue_type_script_setup_true_lang.js +0 -12
  1000. package/dist/components/BbPtScope/types.d.ts +0 -15
  1001. package/dist/components/BbTable/warroom/harness.d.ts +0 -260
  1002. package/dist/types/PtScope.d.ts +0 -15
  1003. package/dist/utilities/functions/head.js +0 -3
  1004. package/dist/utilities/functions/matchAnyKey.d.ts +0 -8
  1005. package/dist/utilities/functions/matchAnyKey.js +0 -14
  1006. package/dist/utilities/functions/pipe.d.ts +0 -3
  1007. package/dist/utilities/functions/range.js +0 -7
  1008. package/dist/utils/ptScope.d.ts +0 -8
  1009. package/dist/utils/ptScope.js +0 -3
  1010. package/scripts/lib/check-queue.mjs +0 -102
  1011. package/scripts/lib/component-attr-targets.ts +0 -123
  1012. package/scripts/lib/component-tree.ts +0 -648
  1013. package/scripts/lib/consumer-install.mjs +0 -64
  1014. package/scripts/lib/css-class-surface.mjs +0 -328
  1015. package/scripts/lib/css-color-resolve.mjs +0 -296
  1016. package/scripts/lib/css-comment-text.mjs +0 -16
  1017. package/scripts/lib/design-token-manifest.mjs +0 -506
  1018. package/scripts/lib/ensure-manifest.mjs +0 -135
  1019. package/scripts/lib/example-checks.mjs +0 -337
  1020. package/scripts/lib/guide-claims.mjs +0 -452
  1021. package/scripts/lib/manifest-pointers.mjs +0 -71
  1022. package/scripts/lib/pack.mjs +0 -55
  1023. package/scripts/lib/public-type-exports.mjs +0 -273
  1024. package/scripts/lib/quiet-gate.mjs +0 -385
  1025. package/scripts/lib/recipe-excerpts.mjs +0 -98
  1026. package/scripts/lib/swap-noun.mjs +0 -33
  1027. package/scripts/lib/token-color-mix.mjs +0 -114
@@ -132,7 +132,7 @@
132
132
  <ListBox
133
133
  :id="`${id}_listbox`"
134
134
  ref="optionsContainer"
135
- :compact="compact"
135
+ :compact="configDefaults.compact"
136
136
  :described="described"
137
137
  :empty-text="computedNoDataText"
138
138
  :failed-text="itemsError !== null ? computedNoDataText : undefined"
@@ -264,11 +264,11 @@
264
264
  'bb-select-popover--loading': computedLoading,
265
265
  'bb-select-popover--reloading': isReloading,
266
266
  'bb-select-popover--clearable-active': hasClearableValue,
267
- 'bb-select-popover--compact': compact,
267
+ 'bb-select-popover--compact': configDefaults.compact,
268
268
  }"
269
269
  :disable-flip="disableFlip"
270
270
  hide-arrow
271
- :offset="offset"
271
+ :offset="offset ?? popoverOffset() ?? 4"
272
272
  :padding="padding"
273
273
  :placement="placement"
274
274
  :style="panelStyles"
@@ -302,6 +302,7 @@
302
302
  lang="ts"
303
303
  generic="Item = any, Known extends BbSelectKnownItems | undefined = undefined"
304
304
  >
305
+ import { closeOnRelease } from '@/utils/releasedActivator';
305
306
  import { asSheetAttrs } from '../BbOffCanvas/sheetAttrs';
306
307
  import type { FallthroughAttrs } from '@/types/fallthrough';
307
308
  import type { Option as BaseOption, GroupedOptions } from '@/types/Option';
@@ -338,7 +339,7 @@ import {
338
339
  } from '@/utilities/functions/itemProps';
339
340
  import { useLogger } from '@/composables/useLogger';
340
341
  import { isNil } from '@/utilities/functions/isNil';
341
- import { matchAnyKey } from '@/utilities/functions/matchAnyKey';
342
+ import { keyHaystacks, rankByQuery } from '@/utilities/functions/searchRank';
342
343
  import { parseWidthString } from '@/utilities/functions/parseWidthString';
343
344
  import { mergeProps, toRef } from 'vue';
344
345
  import { useArray } from '@/composables/useArray';
@@ -363,6 +364,7 @@ import { useItemsGetter } from '@/composables/useItemsGetter';
363
364
  import type { ItemsRequestArgs } from '@/composables/useItemsGetter';
364
365
  import { SsrMarker } from '@/composables/ssrMarker';
365
366
  import { provideSheetChipAttrs, useSheetChipAttrs } from './sheetChipAttrs';
367
+ import { provideReclickClears, useReclickClears } from './reclickClears';
366
368
  import {
367
369
  indexKnownRows,
368
370
  knownRowsCover,
@@ -375,6 +377,10 @@ import { useMobile } from '@/composables/useMobile';
375
377
  import { provideSheetSurface } from '@/composables/useSheetSurface';
376
378
  import { usePrefill } from '@/composables/usePrefill';
377
379
  import { useConfig } from '@/composables/useConfig';
380
+ import {
381
+ useConfigDefaults,
382
+ useConfigSetting,
383
+ } from '@/composables/useConfigDefaults';
378
384
  import {
379
385
  isPrintableTypeaheadKey,
380
386
  normalizeSearchToken,
@@ -424,7 +430,7 @@ const props = withDefaults(
424
430
  >(),
425
431
  {
426
432
  // `undefined` (declared, not omitted) keeps `adaptive` three-state: it disables
427
- // Vue's absent→`false` Boolean cast so `props.adaptive ?? config.adaptive` can
433
+ // Vue's absent→`false` Boolean cast so `props.adaptive ?? all.adaptive` can
428
434
  // reach the config default, while keeping the Boolean type so the valueless
429
435
  // `adaptive` shorthand still resolves to `true`.
430
436
  adaptive: undefined,
@@ -445,7 +451,8 @@ const props = withDefaults(
445
451
  filterBy: () => [],
446
452
  max: Infinity,
447
453
  modelValueDebounceTime: 0,
448
- offset: 4,
454
+ // Unset: `all.popoverOffset`, else 4 px.
455
+ offset: undefined,
449
456
  padding: 10,
450
457
  placement: 'bottom',
451
458
  prefill: 'interaction',
@@ -453,15 +460,19 @@ const props = withDefaults(
453
460
  selectable: true,
454
461
  transitionDuration: transitions.medium,
455
462
  width: '200',
463
+ // Tri-state: unset lets the components map show through.
464
+ compact: undefined,
456
465
  }
457
466
  );
458
-
459
467
  const emit = defineEmits<BbSelectPopoverEvents>();
460
468
 
461
469
  defineSlots<BbSelectPopoverSlots<Item, Known>>();
462
470
 
471
+ /** `all.popoverOffset`: the app's or the scope's gap, read per render. */
472
+ const popoverOffset = useConfigSetting<number>(null, 'popoverOffset');
473
+
463
474
  /**
464
- * Passthrough (plans/passthrough/BbSelectPopover.md). `root` merges into the `$attrs` spread on the desktop floating element (no node on the phone sheet, where `panel` then `sheet` land on the sheet root); `option` is resolved per option inside the listbox with `part()`.
475
+ * Passthrough. `root` merges into the `$attrs` spread on the desktop floating element (no node on the phone sheet, where `panel` then `sheet` land on the sheet root); `option` is resolved per option inside the listbox with `part()`.
465
476
  */
466
477
  const passthrough = usePassthrough({
467
478
  component: 'BbSelectPopover',
@@ -506,6 +517,7 @@ onBeforeMount(() => {
506
517
  * START ELEMENT REFERENCES
507
518
  */
508
519
  const activatorEl = ref<DomHost>();
520
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- internal: a template ref of the generic OptionsContainer, which has no `InstanceType`; only its exposed `focusByHash` / `focusFirstSelected` are called
509
521
  const optionsContainer = ref<any | null>(null);
510
522
  const searchInput = ref<HTMLInputElement | null>(null);
511
523
  const popoverFocusProxy = ref<HTMLButtonElement | null>(null);
@@ -545,8 +557,28 @@ const setActivatorRef = (reference: unknown) => {
545
557
 
546
558
  watch(
547
559
  () => props.activator,
548
- (val) => {
549
- if (val) setActivatorRef(val);
560
+ (val, old) => {
561
+ const held = activatorEl.value;
562
+ // Assigned, not through `setActivatorRef` (which keeps the previous
563
+ // element for the slot's unmount call): a value that resolves to no
564
+ // element releases the old one too.
565
+ if (val) activatorEl.value = extractDomContainer(val) ?? undefined;
566
+ // Let go of an external activator the app cleared: its listeners and
567
+ // ARIA come off and the panel stops anchoring to it. The slot's
568
+ // activator, rendered again now, sets its own element.
569
+ else if (old) activatorEl.value = undefined;
570
+ // Released while open: nothing anchors the panel any more, so it closes.
571
+ if (held && !activatorEl.value && shown.value)
572
+ void closeOnRelease({
573
+ inPanel: (node) =>
574
+ !!popoverSurface.value?.$el.contains(node) ||
575
+ !!document
576
+ .getElementById(`${id}_listbox`)
577
+ ?.closest('dialog')
578
+ ?.contains(node),
579
+ close,
580
+ activator: () => activatorEl.value,
581
+ });
550
582
  },
551
583
  { immediate: true }
552
584
  );
@@ -558,14 +590,20 @@ const { isMobile } = useMobile();
558
590
  /**
559
591
  * The instance's `disable-writing`, or `'auto'` when it is absent: the
560
592
  * component default, not a config value — there is deliberately no global
561
- * "hide every search field" switch (owner ruling 2026-09-18); the only knob
593
+ * "hide every search field" switch; the only knob
562
594
  * is the threshold below. An explicit value — including the valueless
563
595
  * shorthand, which is `true` — always wins.
564
596
  */
565
597
  const resolvedDisableWriting = computed(() => props.disableWriting ?? 'auto');
598
+ /** `all.autoDisableWritingThreshold`: read when the panel opens. */
599
+ const thresholdSetting = useConfigSetting<number>(
600
+ null,
601
+ 'autoDisableWritingThreshold'
602
+ );
603
+
566
604
  /**
567
605
  * `'auto'`: hide the search field when an ARRAY `items` renders fewer options
568
- * than `config.autoDisableWritingThreshold` — a list that short is quicker to
606
+ * than `all.autoDisableWritingThreshold` (default 6) — a list that short is quicker to
569
607
  * scan than to filter. Counted as the array is declared (disabled options
570
608
  * included, group headers excluded: grouping only sorts the same options
571
609
  * under headings), which is also what the panel renders at open, when the
@@ -584,7 +622,7 @@ const instance = getCurrentInstance();
584
622
  const resolveAutoHidesSearch = (): boolean => {
585
623
  if (resolvedDisableWriting.value !== 'auto') return false;
586
624
  if (!Array.isArray(props.items)) return false;
587
- const threshold = config.autoDisableWritingThreshold;
625
+ const threshold = thresholdSetting() ?? 6;
588
626
  if (!(threshold > 0)) return false;
589
627
  if (hasVnodeListener(instance, 'option:add')) return false;
590
628
  return props.items.length < threshold;
@@ -637,7 +675,7 @@ const computedAriaDescribedby = computed(() => {
637
675
  ? [describedBy.trim()]
638
676
  : [];
639
677
  // While the latest load FAILED and the panel is open, the combobox is also
640
- // described by the listbox's failure footer (Q61.15), so a reader landing
678
+ // described by the listbox's failure footer, so a reader landing
641
679
  // on the field hears why the list is what it is.
642
680
  if (shown.value && itemsError.value !== null)
643
681
  own.push(`${id}_listbox_failed`);
@@ -691,7 +729,7 @@ const normalizedWidth = computed(() => {
691
729
  * `panel`: the surface you see — CommonPopover's painted bubble on desktop,
692
730
  * the sheet itself on a phone (forwarded as the off-canvas `root`), so the box
693
731
  * inside the sheet takes only our class there. `root` is the floating element
694
- * and has no node on the sheet (owner 2026-09-18).
732
+ * and has no node on the sheet.
695
733
  */
696
734
  const panelBindings = computed(() =>
697
735
  mergeProps(
@@ -874,8 +912,7 @@ const canProcessKeyboardBindings = computed(() => {
874
912
  // Only a load with NOTHING on screen blocks the keyboard. A refetch over
875
913
  // existing options merely dims them — they stay clickable — so freezing
876
914
  // Arrow/Enter there left the mouse working while the keyboard did not, which
877
- // is a keyboard-only trap for the duration of every background reload
878
- // (SWP-034).
915
+ // is a keyboard-only trap for the duration of every background reload.
879
916
  if (computedLoading.value && !internalItems.value.length) return false;
880
917
  return true;
881
918
  });
@@ -922,7 +959,7 @@ const focusLastSelectedOption = () => {
922
959
  * the list and its transition before it places the first highlight. A key
923
960
  * pressed in that window (a quick second ArrowDown, an Enter) used to act on
924
961
  * the half-open list and then be overwritten by that first highlight, so the
925
- * key was lost (found through Q56.49). Keys now wait for the open in flight
962
+ * key was lost. Keys now wait for the open in flight
926
963
  * and act after it, in the order they were pressed.
927
964
  */
928
965
  let keyboardOpen: Promise<void> | null = null;
@@ -990,7 +1027,7 @@ const onHome = () => focusEdge('first');
990
1027
  const onEnd = () => focusEdge('last');
991
1028
 
992
1029
  /**
993
- * Typeahead (Q44.17), only when there is NO search field (`disableWriting`,
1030
+ * Typeahead, only when there is NO search field (`disableWriting`,
994
1031
  * or `auto` hiding it): a printable key moves the highlight to the first
995
1032
  * enabled option starting with what was typed, like a native `<select>` —
996
1033
  * opening the list first when it is closed. With a search field, typing
@@ -1015,7 +1052,7 @@ const typeahead = useTypeahead<BaseOption<Item>>({
1015
1052
  /**
1016
1053
  * A key typed while a keyboard open is still placing focus belongs to the
1017
1054
  * search field it is about to reach: it waits for the open, then is written
1018
- * there as an input, so typing straight after Enter is not lost (MW-106).
1055
+ * there as an input, so typing straight after Enter is not lost.
1019
1056
  */
1020
1057
  const typeIntoSearchAfterOpen = async (event: KeyboardEvent) => {
1021
1058
  event.preventDefault();
@@ -1115,7 +1152,7 @@ const escapeKey = Symbol('bb-select-popover-escape');
1115
1152
  * cover the search input, the focus proxy and the activator — with focus parked
1116
1153
  * anywhere else (a `#header`/`#footer` control, the clear button) Escape used to
1117
1154
  * bubble past an open panel to whatever overlay sat underneath, closing the
1118
- * parent instead of the panel (SWP-030). BbDropdown has had this listener all
1155
+ * parent instead of the panel. BbDropdown has had this listener all
1119
1156
  * along; this is the same one, gated on the shared stack so a surface opened on
1120
1157
  * top of the panel still wins.
1121
1158
  */
@@ -1166,7 +1203,7 @@ const hasModelValue = computed(() =>
1166
1203
  );
1167
1204
 
1168
1205
  /**
1169
- * KNOWN ROWS (Q75.1, plans/Q75-1-KNOWN-ITEMS.md). `known-items`, this
1206
+ * KNOWN ROWS. `known-items`, this
1170
1207
  * popover's own or else the owning `BbSelect`'s: rows the app already holds,
1171
1208
  * which name the model's values with no request (R1). They are never options
1172
1209
  * of their own (R3): only a selected value's row is listed. Nothing below
@@ -1180,7 +1217,7 @@ provideKnownItems(null);
1180
1217
  const knownItemsGiven = () =>
1181
1218
  props.knownItems !== undefined ? props.knownItems : knownSource?.rows();
1182
1219
  /**
1183
- * Every `{ value, label }` row this select was given (owner 2026-10-18): they
1220
+ * Every `{ value, label }` row this select was given: they
1184
1221
  * travel as items, but `item-value`, `item-text`, `item-props`, `selectable`
1185
1222
  * and `group-by` are the options' and never run on them. Never pruned: a pin
1186
1223
  * may still hold a row the app has since replaced.
@@ -1289,14 +1326,14 @@ const {
1289
1326
  // validate it, which is impossible without options — so load. An empty
1290
1327
  // model needs no check and stays lazy.
1291
1328
  // The known rows stand in for that load while they vouch for all of
1292
- // the model (Q75.1 R10).
1329
+ // the model.
1293
1330
  (props.enforceCoherence && hasModelValue.value && !fullyVouched.value) ||
1294
1331
  (props.prefill === 'interaction' && hasInteracted.value)
1295
1332
  ),
1296
1333
  currentValue: undefined,
1297
1334
  multiple: false,
1298
1335
  fn: async () => {
1299
- // Post-load work runs on an APPLIED result only (Q43.9 E1): a load a
1336
+ // Post-load work runs on an APPLIED result only: a load a
1300
1337
  // newer call superseded returned at once, and stashing or pruning against
1301
1338
  // the list it did not write would act on the old or still-empty rows; a
1302
1339
  // failed load cleared the rows, and a failure never prunes.
@@ -1320,6 +1357,7 @@ const {
1320
1357
 
1321
1358
  // Single-select wraps rather than concats: an option value may itself be an
1322
1359
  // array, and `concat` would spread it into several picks.
1360
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- internal: the model's values, read through `item-value` (a key, a dot path or a function) and not resolved at the type level, like the public `modelValue`
1323
1361
  const modelValueList = computed<any[]>(() =>
1324
1362
  props.multiple ? [].concat(props.modelValue) : [props.modelValue]
1325
1363
  );
@@ -1463,7 +1501,7 @@ const outsideRows = computed<Item[]>((previous) => {
1463
1501
  });
1464
1502
 
1465
1503
  /**
1466
- * ORDER (R7, reading b, owner 2026-10-16). The rows from outside the list
1504
+ * ORDER (R7, reading b). The rows from outside the list
1467
1505
  * come first, and the ones listed when the panel opened stay first, in place,
1468
1506
  * until it closes: picking only toggles a check. A search replaces the list;
1469
1507
  * clearing it pins again, like a fresh open. The one place the order is
@@ -1471,7 +1509,7 @@ const outsideRows = computed<Item[]>((previous) => {
1471
1509
  */
1472
1510
  const pinned = shallowRef<Array<{ valueHash: string; row: Item }>>([]);
1473
1511
  /**
1474
- * G4 (owner 2026-10-16): on a provider select, a pick once pinned stays
1512
+ * on a provider select, a pick once pinned stays
1475
1513
  * first on every later open while it stays selected, even after an answer
1476
1514
  * appended it by id. Unpicking it, or clearing a search, drops it to the
1477
1515
  * page's order. Array `items` are not sticky (R7 b).
@@ -1568,9 +1606,11 @@ const extraProjection = useBaseOptions({
1568
1606
  itemValue: (row: unknown) =>
1569
1607
  isKnown(row) ? row.value : getOptionValue(row as Item, props.itemValue),
1570
1608
  itemText: (row: unknown) =>
1609
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- internal: the typed accessor handed to the shared `getOptionText`, which takes the row erased
1571
1610
  isKnown(row) ? row.label : getOptionText(row, props.itemText as any),
1572
1611
  itemProps: computed(() => {
1573
1612
  if (!props.itemProps) return props.itemProps;
1613
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- internal: the typed `itemProps` handed to the shared resolver, which takes the row erased
1574
1614
  const { all } = createItemPropsResolver(props.itemProps as any);
1575
1615
  return (row: unknown) => (isKnown(row) ? {} : all(row));
1576
1616
  }),
@@ -1609,7 +1649,7 @@ const options = computed(() => {
1609
1649
  );
1610
1650
  const top: typeof fetched = [];
1611
1651
  const topSet = new Set<string>();
1612
- // R25 (owner 2026-10-18): a pin the list holds keeps its list place (an
1652
+ // a pin the list holds keeps its list place (an
1613
1653
  // ordered select stays ordered); only the rows the list lacks go first. A
1614
1654
  // masked reopen's rows are the old search's, so its pins all stay on top.
1615
1655
  const listedInPlace = !listMasked.value;
@@ -1649,7 +1689,7 @@ const pruneSticky = () => {
1649
1689
  * (a masked one opens on an empty query too, so it qualifies). Under a search
1650
1690
  * the row leaves the selected tail as on v3, and clearing the search orders
1651
1691
  * like a fresh open, which lists no unselected row (R7, newcode-r7-1) — also
1652
- * when the query was typed over the mask (Q75.6 a).
1692
+ * when the query was typed over the mask.
1653
1693
  */
1654
1694
  const unpickKeepsPlace = () => !query.value;
1655
1695
  /** B3: removals from outside the list that the user made (a field chip, the clear button). */
@@ -1694,7 +1734,7 @@ if (knownSource) {
1694
1734
 
1695
1735
  /**
1696
1736
  * The option slot's props, with the `known` that tells a known row from the
1697
- * list's own (Q77.7). The scope is typed by whether this popover binds
1737
+ * list's own. The scope is typed by whether this popover binds
1698
1738
  * `known-items` (`Known`), which runtime cannot see: the one cast lives here.
1699
1739
  */
1700
1740
  const optionSlotProps = <D extends { item: Item }>(data: D) =>
@@ -1805,7 +1845,7 @@ watch(
1805
1845
  * picks against the search page).
1806
1846
  *
1807
1847
  * `fetchedCoherent` reads the FETCHED rows only and is what the prune after an
1808
- * applied non-search load checks (owner ruling 2026-09-30, Q43.9 §4): `stash`
1848
+ * applied non-search load checks: `stash`
1809
1849
  * keeps a pick's row resolvable, it is not evidence the pick is still valid,
1810
1850
  * so a dependency reload whose result lacks a stashed pick prunes it. The
1811
1851
  * stash then follows the model (the watcher above), and the pruned row leaves
@@ -1877,8 +1917,8 @@ const selectedOptions = computed<BaseOption[]>(() =>
1877
1917
 
1878
1918
  /**
1879
1919
  * The picks as the user sees them: the phone sheet's chips and the trigger's
1880
- * text. After a FAILED load a pick no row names still shows (Q61.16b, owner
1881
- * 2026-10-01): its value as given when it reads as text, else no text, and it
1920
+ * text. After a FAILED load a pick no row names still shows:
1921
+ * its value as given when it reads as text, else no text, and it
1882
1922
  * stays removable. While a load is pending or applied, only resolved picks
1883
1923
  * show (a pending load would flash the raw value before its row's text).
1884
1924
  * Internal: the slots' `selectedOptions` stay the resolved options.
@@ -2307,8 +2347,10 @@ const onOptionUnselected = async (option: BaseOption) => {
2307
2347
  // simply closes on the value it has. Emptying is an explicit affordance (the
2308
2348
  // clear button, or the `clear` callback on the activator/panel slots), never
2309
2349
  // an accidental second click. Multiple mode still toggles: there, unselecting
2310
- // by clicking is the whole interaction.
2350
+ // by clicking is the whole interaction. A `clearable` BbSelect opts into
2351
+ // clearing on it (BbDropdown's `clearable` parity).
2311
2352
  if (!props.multiple) {
2353
+ if (reclickClears?.()) onClear();
2312
2354
  focusActivator();
2313
2355
  close();
2314
2356
  return;
@@ -2330,13 +2372,14 @@ const onOptionUnselected = async (option: BaseOption) => {
2330
2372
  };
2331
2373
 
2332
2374
  /**
2333
- * Whether every row is a two-line row (plans/ITEM-DESCRIPTION.md v2.3). The
2375
+ * Whether every row is a two-line row. The
2334
2376
  * object form of `itemProps` says so up front; the function form can only be
2335
2377
  * asked, so the options are scanned — a list whose rows would otherwise change
2336
2378
  * height as descriptions appear. Rows are fixed-height because they are
2337
2379
  * virtualized, which is why this is decided for the whole list at once.
2338
2380
  */
2339
2381
  const described = computed(() => {
2382
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- internal: the typed `itemProps` handed to the shared resolver, which takes the row erased
2340
2383
  const declared = itemPropsDeclares(props.itemProps as any, 'description');
2341
2384
  if (declared !== undefined) return declared;
2342
2385
  return options.value.some((option) => option.description !== undefined);
@@ -2364,21 +2407,25 @@ const filteredOptions = computed<Array<BaseOption<Item>>>(() => {
2364
2407
  }
2365
2408
  // `false`: the provider matched the query; its answer is the list.
2366
2409
  if (props.filterBy === false) return options.value;
2367
- const q = query.value.trim();
2410
+ // Ranked (searchRank.ts): the best matches first; `groupedOptions` keeps
2411
+ // the groups in the page's order.
2368
2412
  const keys = props.filterBy;
2369
- if (Array.isArray(keys) && keys.length) {
2370
- return options.value.filter((item: BaseOption) =>
2371
- matchAnyKey(item.item, keys, q)
2413
+ if (Array.isArray(keys) && keys.length)
2414
+ return rankByQuery(
2415
+ options.value,
2416
+ (option) => keyHaystacks(option.item, keys),
2417
+ query.value
2372
2418
  );
2373
- }
2374
2419
  // The description joins the text when the option has one — the same rule as
2375
- // BbDropdown's rows and fetched groups (plans/ITEM-DESCRIPTION.md ruling 5).
2376
- return options.value.filter((item: BaseOption) =>
2377
- matchAnyKey(
2378
- item,
2379
- item.description != null ? ['text', 'description'] : ['text'],
2380
- q
2381
- )
2420
+ // BbDropdown's rows and fetched groups.
2421
+ return rankByQuery(
2422
+ options.value,
2423
+ (option: BaseOption) =>
2424
+ keyHaystacks(
2425
+ option,
2426
+ option.description != null ? ['text', 'description'] : ['text']
2427
+ ),
2428
+ query.value
2382
2429
  );
2383
2430
  });
2384
2431
 
@@ -2389,14 +2436,15 @@ const getGroupData = (option: BaseOption) => {
2389
2436
  // A known row has no group of its own until the list brings its row.
2390
2437
  if (isKnown(option.item)) return undefined;
2391
2438
  if (typeof props.groupBy === 'function') return props.groupBy(option.item);
2439
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- `get` types its path per row type; `groupBy` is a dot path the app wrote, not resolved at the type level
2392
2440
  return (get as any)(option.item, props.groupBy);
2393
2441
  };
2394
2442
 
2395
2443
  /**
2396
- * G5 (owner 2026-10-16): the page decides the order of the groups; a pinned
2444
+ * the page decides the order of the groups; a pinned
2397
2445
  * row goes first inside its own group, and a group only pinned rows hold
2398
2446
  * goes first. Rows with no group (a nullish `groupBy`, a known row) are
2399
- * listed before every header (owner 2026-10-26, ATT-15), as in BbDropdown.
2447
+ * listed before every header, as in BbDropdown.
2400
2448
  */
2401
2449
  const groupedOptions = computed<GroupedOptions[]>(() => {
2402
2450
  // Every row the open list puts on top (pins and other outside rows) is
@@ -2416,7 +2464,13 @@ const groupedOptions = computed<GroupedOptions[]>(() => {
2416
2464
  GroupedOptions & { pinnedOptions: BaseOption[]; firstListed: number }
2417
2465
  > = [];
2418
2466
  const groupIndex: Record<GroupedOptions['id'], (typeof groups)[number]> = {};
2419
- filteredOptions.value.forEach((option, index) => {
2467
+ // A group's place is its first row's place on the PAGE: a search ranks the
2468
+ // rows inside each group and never reorders the groups.
2469
+ const pagePosition = new Map(
2470
+ options.value.map((option, index) => [option.valueHash, index])
2471
+ );
2472
+ filteredOptions.value.forEach((option) => {
2473
+ const index = pagePosition.get(option.valueHash) ?? Infinity;
2420
2474
  const groupData = getGroupData(option);
2421
2475
  const groupId = hash(groupData);
2422
2476
  let group = groupIndex[groupId];
@@ -2470,10 +2524,10 @@ const renderListBox = useUntil(shown);
2470
2524
  * (same `transitionDuration`) and only then goes inert.
2471
2525
  *
2472
2526
  * The same settled-closed signal hides the whole desktop panel from assistive
2473
- * tech (`aria-hidden`, Q75.5 d): the closed popover stays mounted at opacity 0,
2527
+ * tech (`aria-hidden`): the closed popover stays mounted at opacity 0,
2474
2528
  * so without it a screen reader still finds the listbox and the no-search focus
2475
- * proxy. `aria-hidden`, not `inert`: the select listboxes are never inert (ruling
2476
- * 2026-08-04) — focus is not the issue, only what gets announced.
2529
+ * proxy. `aria-hidden`, not `inert`: the select listboxes are never inert
2530
+ * — focus is not the issue, only what gets announced.
2477
2531
  */
2478
2532
  const panelSettledClosed = useClosingInert(
2479
2533
  shown,
@@ -2487,14 +2541,18 @@ const panelSettledClosed = useClosingInert(
2487
2541
  * until it closes, so a mid-session resize never swaps a live popover into a sheet
2488
2542
  * (or vice-versa) — mirroring BbPopover/BbDropdown/BbDialog.
2489
2543
  */
2544
+ const configDefaults = useConfigDefaults('BbSelectPopover', props, {
2545
+ adaptive: true,
2546
+ compact: false,
2547
+ });
2490
2548
  const resolveSurface = (): 'popover' | 'canvas' =>
2491
- (props.adaptive ?? config.adaptive) && isMobile.value ? 'canvas' : 'popover';
2549
+ configDefaults.adaptive && isMobile.value ? 'canvas' : 'popover';
2492
2550
  const surface = ref<'popover' | 'canvas'>(resolveSurface());
2493
2551
  const useOffcanvas = computed(() => surface.value === 'canvas');
2494
2552
 
2495
2553
  // While closed, keep tracking the viewport so the next open resolves correctly;
2496
2554
  // while open the surface stays frozen.
2497
- watch([() => props.adaptive, isMobile, shown], () => {
2555
+ watch([() => configDefaults.adaptive, isMobile, shown], () => {
2498
2556
  if (!shown.value) surface.value = resolveSurface();
2499
2557
  });
2500
2558
 
@@ -2507,10 +2565,13 @@ watch([() => props.adaptive, isMobile, shown], () => {
2507
2565
  * `useTouchRowLadder`). Reactive, because the surface re-latches on every open.
2508
2566
  */
2509
2567
  provideSheetSurface(useOffcanvas);
2510
- // The owning BbSelect's `pt:badge` for the sheet's chips (Q56.13); nothing
2568
+ // The owning BbSelect's `pt:badge` for the sheet's chips; nothing
2511
2569
  // below this popover inherits it.
2512
2570
  const sheetChipAttrs = useSheetChipAttrs();
2513
2571
  provideSheetChipAttrs(null);
2572
+ // A `clearable` BbSelect clears on a re-click (3); same scoping.
2573
+ const reclickClears = useReclickClears();
2574
+ provideReclickClears(null);
2514
2575
 
2515
2576
  /**
2516
2577
  * Android: dismissing the on-screen keyboard (back gesture/button) only HIDES
@@ -2595,7 +2656,7 @@ const offcanvasBindings = computed(() => ({
2595
2656
  // Name the modal sheet after its activator: with no `title` the dialog root
2596
2657
  // is otherwise nameless. A string copied from the activator, never an
2597
2658
  // `aria-labelledby` pointing at it: the modal makes the activator inert, and
2598
- // a name read through an inert element computes empty (Q60.1). Skipped when
2659
+ // a name read through an inert element computes empty. Skipped when
2599
2660
  // the consumer passes a title (so BbOffCanvas's own titleId labelling stays
2600
2661
  // in charge — fallthrough attrs beat the template binding); a consumer
2601
2662
  // aria-labelledby/aria-label in `offCanvasProps` wins via the spread below.
@@ -2608,7 +2669,7 @@ const offcanvasBindings = computed(() => ({
2608
2669
  */
2609
2670
 
2610
2671
  /**
2611
- * DIRTY REOPEN (Q56.7, owner ruling 2026-09-28).
2672
+ * DIRTY REOPEN.
2612
2673
  *
2613
2674
  * `close()` clears the query, but the list it leaves came from whatever the
2614
2675
  * user searched: reopening showed the old search's rows under an empty box.
@@ -2658,7 +2719,7 @@ watch(query, (next, prev) => {
2658
2719
  if (shown.value && prev && !next) repinOnSettle = true;
2659
2720
  });
2660
2721
  // A new query is a new list: it starts at its first match, not at the offset
2661
- // the previous list was scrolled to (Q75.5 c). An opening list places itself.
2722
+ // the previous list was scrolled to. An opening list places itself.
2662
2723
  watch(
2663
2724
  query,
2664
2725
  () => {
@@ -2671,7 +2732,7 @@ watch(
2671
2732
  * An opening list places itself on its selected row, but a provider list's
2672
2733
  * rows may not be there yet: a first open that loads (known rows cover the
2673
2734
  * model, nothing fetched) or a masked reopen placed against the known row
2674
- * alone, or nothing (Q75.5 c). Set at such an open: when its unfiltered load
2735
+ * alone, or nothing. Set at such an open: when its unfiltered load
2675
2736
  * lands, the list is placed again, once — unless the user has scrolled, moved
2676
2737
  * the highlight or typed since, which clears it. The selected row is wherever
2677
2738
  * the list has it: pinned on top when the page lacks it, else at its place.
@@ -2718,7 +2779,7 @@ const refreshDirtyList = () => {
2718
2779
  markPrefilled();
2719
2780
  listMasked.value = true;
2720
2781
  if (isSearchFirst.value) return;
2721
- // A reopen is "initial after closing" (owner ruling 2026-09-30, B2): its
2782
+ // A reopen is "initial after closing": its
2722
2783
  // applied result prunes like every other non-search load.
2723
2784
  void load('', reason, props.modelValue).then((outcome) => {
2724
2785
  if (outcome === 'applied') pruneAgainstFetchedRows();
@@ -2750,7 +2811,7 @@ const open = async ({
2750
2811
  !hasPrefilled.value && !isPrefilling.value && !isSearchFirst.value
2751
2812
  ? prefillItems()
2752
2813
  : undefined;
2753
- // The panel does not wait for that load (Q75.5 b): it opens on its loading
2814
+ // The panel does not wait for that load: it opens on its loading
2754
2815
  // state and takes focus now. Waiting left focus on the activator for the
2755
2816
  // whole fetch, so keys typed right after the click were lost and a space
2756
2817
  // toggled the panel shut; in the search field they search, and that search
@@ -2773,7 +2834,7 @@ const settleOpen = async (focusPopoverContent: boolean) => {
2773
2834
  resume();
2774
2835
  // Join the shared Escape stack only in flyout mode — the sheet returned
2775
2836
  // above and BbOffCanvas registers itself instead. The element is the
2776
- // panel, for the surfaces that give way to it (Q63.7).
2837
+ // panel, for the surfaces that give way to it.
2777
2838
  pushEscapeEntry(escapeKey, {
2778
2839
  element: () => {
2779
2840
  const containerEl = optionsContainer.value?.$el;
@@ -2829,9 +2890,9 @@ const close = async () => {
2829
2890
  // transition finishes; the flyout's document listeners were never attached.
2830
2891
  if (useOffcanvas.value) return;
2831
2892
 
2832
- // The closed panel turns `aria-hidden` (Q75.5 d): a close that did not come
2893
+ // The closed panel turns `aria-hidden`: a close that did not come
2833
2894
  // from the activator (the slot's `toggle` from app code, the activator
2834
- // scrolling away) must not leave focus inside it (Q75.6 c).
2895
+ // scrolling away) must not leave focus inside it.
2835
2896
  if (popoverSurface.value?.$el.contains(document.activeElement)) {
2836
2897
  activatorEl.value?.focus({ preventScroll: true });
2837
2898
  }
@@ -2948,7 +3009,7 @@ const onSearchClear = () => {
2948
3009
  * across surfaces.
2949
3010
  */
2950
3011
  /**
2951
- * Q83.2: the list shows its empty state (no row, the load settled): no
3012
+ * the list shows its empty state (no row, the load settled): no
2952
3013
  * items, none matching the query, or a failed load with nothing listed.
2953
3014
  */
2954
3015
  const listEmpty = computed(
@@ -2966,7 +3027,7 @@ const panelSlotProps = computed(() => ({
2966
3027
  focus: focusPopoverContent,
2967
3028
  query: query.value,
2968
3029
  selectedOptions: publicSelectedOptions.value,
2969
- // The sheet hands its dialog's own id instead (Q76.10 d).
3030
+ // The sheet hands its dialog's own id instead.
2970
3031
  titleId: `${id}_title`,
2971
3032
  }));
2972
3033
 
@@ -2977,7 +3038,7 @@ const panelSlotProps = computed(() => ({
2977
3038
  */
2978
3039
  let cleanupActivator: (() => void) | null = null;
2979
3040
 
2980
- // BTG-013: `combobox` is not in ARIA's name-from-content set, so a slot-authored
3041
+ // `combobox` is not in ARIA's name-from-content set, so a slot-authored
2981
3042
  // trigger's visible text is exposed as the current *value* (a select-only
2982
3043
  // combobox's value is its element content / input value — `aria-valuetext` is
2983
3044
  // not supported on the combobox role and AT ignores it there), never the
@@ -3164,14 +3225,14 @@ watch(
3164
3225
  ]) => {
3165
3226
  if (!el) return;
3166
3227
  el.setAttribute('aria-expanded', String(isShown));
3167
- // See BTG-013 note above `activatorHasOwnName`: never override a name the
3228
+ // See the note above `activatorHasOwnName`: never override a name the
3168
3229
  // consumer set themselves.
3169
3230
  if (!hasOwnName) el.setAttribute('aria-label', fallbackLabel);
3170
3231
  // The listbox popup is named after the combobox (RR P5-4). A name is not
3171
3232
  // followed through a second `aria-labelledby` hop, so the listbox copies
3172
3233
  // the activator's own name source instead of pointing at the activator.
3173
3234
  // On the phone sheet it takes `activatorName` instead: an id outside the
3174
- // modal computes empty there (Q60.1).
3235
+ // modal computes empty there.
3175
3236
  listLabelledby.value = el.getAttribute('aria-labelledby') ?? undefined;
3176
3237
  listLabel.value = el.getAttribute('aria-label') ?? undefined;
3177
3238
  if (ariaInvalid != null) {
@@ -3248,9 +3309,14 @@ import type {
3248
3309
  PtValue,
3249
3310
  } from '@/types/passthrough';
3250
3311
  import type { Placement } from '@/types/Placement';
3312
+ import type {
3313
+ ElementOrComponentRef,
3314
+ ElementOrComponentRefOrSelector,
3315
+ } from '@/types/CommonProps';
3251
3316
  import type { ItemAccessor } from '@/types/ItemAccessor';
3252
3317
  import type { BbSelectPopoverItemsContext } from '@/types/ItemsProvider';
3253
3318
  import type { BbOffCanvasProps } from '../BbOffCanvas/types';
3319
+ import type { BbSelectPopoverPtKeys } from './ptKeys.generated';
3254
3320
 
3255
3321
  /** A row naming a value the app already holds (`known-items`): the model value and its text. */
3256
3322
  export type BbSelectKnownItem = { value: unknown; label: string };
@@ -3259,7 +3325,7 @@ export type BbSelectKnownItem = { value: unknown; label: string };
3259
3325
  export type BbSelectKnownItems = Array<BbSelectKnownItem | null | undefined>;
3260
3326
 
3261
3327
  /**
3262
- * The row an option or chip slot gets, told apart by `known` (Q77.7). On a
3328
+ * The row an option or chip slot gets, told apart by `known`. On a
3263
3329
  * select that binds `known-items`, a known row stands in as `item` until the
3264
3330
  * list brings the real one: `{ value, label }`, whatever the options' shape.
3265
3331
  * Without `known-items` the row is always the option. `BbSelectSlotRow<Row>`
@@ -3306,6 +3372,7 @@ export type BbSelectResolvedOption<Item = any> = {
3306
3372
  /** The resolved display text for this option. */
3307
3373
  text: string;
3308
3374
  /** The resolved value for this option. */
3375
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- an option's value is read through `item-value` (a key, a dot path or a function), which the select does not resolve at the type level: typing it per path is the nested-key cost the types avoid
3309
3376
  value: any;
3310
3377
  /** Whether this option is currently selected. */
3311
3378
  selected: boolean;
@@ -3314,11 +3381,11 @@ export type BbSelectResolvedOption<Item = any> = {
3314
3381
  };
3315
3382
 
3316
3383
  /**
3317
- * Passthrough parts of `BbSelectPopover`
3318
- * (plans/passthrough/BbSelectPopover.md). The listbox's groups and the chips
3384
+ * Passthrough parts of `BbSelectPopover`.
3385
+ * The listbox's groups and the chips
3319
3386
  * are not parts.
3320
3387
  *
3321
- * Per-item functions: on the instance, an option part (`option`, `itemText`, `itemIcon`, `itemDescription`) also accepts `({ item, selected, … }) => PtValue | false | null | undefined` — `item` is the raw item of that option, and every state a boolean beside it, on for it (`selected`, `disabled`, …) — 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 option as it was. See the passthrough guide, _Per-item functions_.
3388
+ * Per-item functions: on the instance, an option part (`option`, `itemText`, `itemIcon`, `itemDescription`, `check`) also accepts `({ item, selected, … }) => PtValue | false | null | undefined` — `item` is the raw item of that option, and every state a boolean beside it, on for it (`selected`, `disabled`, …) — 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 option as it was. See the passthrough guide, _Per-item functions_.
3322
3389
  *
3323
3390
  * @part root - The floating element — an invisible positioning wrapper; a
3324
3391
  * `class` on the component lands here. No node on the phone sheet: style
@@ -3342,6 +3409,10 @@ export type BbSelectResolvedOption<Item = any> = {
3342
3409
  * @part itemDescription - An option's second line (its description) —
3343
3410
  * resolved with that option's states. A custom `#option` slot replaces it.
3344
3411
  * Also takes a per-item function.
3412
+ * @part check - The tick on the chosen option, at the row's end — mounted on
3413
+ * every option and drawn on the chosen ones; a custom `#option` slot keeps
3414
+ * it. `pt:check="hidden"` removes it and leaves a glyph your slot draws
3415
+ * alone. Also takes a per-item function.
3345
3416
  * @part header - The flyout's header band.
3346
3417
  * @part footer - The flyout's footer band.
3347
3418
  */
@@ -3356,6 +3427,7 @@ export type BbSelectPopoverPtPart =
3356
3427
  | 'itemText'
3357
3428
  | 'itemIcon'
3358
3429
  | 'itemDescription'
3430
+ | 'check'
3359
3431
  | 'header'
3360
3432
  | 'footer';
3361
3433
  /** The surface parts — they take a `PtValue` only. Spelled flat (T20). */
@@ -3373,14 +3445,15 @@ export type BbSelectPopoverOptionPtPart =
3373
3445
  | 'option'
3374
3446
  | 'itemText'
3375
3447
  | 'itemIcon'
3376
- | 'itemDescription';
3448
+ | 'itemDescription'
3449
+ | 'check';
3377
3450
  /**
3378
3451
  * Passthrough states of `BbSelectPopover`, true while the matching `--` modifier is on.
3379
3452
  *
3380
- * @state selected - Per node, on `option` and its `item-*` parts: a chosen
3381
- * option.
3382
- * @state disabled - Per node, on `option` and its `item-*` parts: an option
3383
- * that is disabled.
3453
+ * @state selected - Per node, on `option`, its `item-*` parts and `check`: a
3454
+ * chosen option.
3455
+ * @state disabled - Per node, on `option`, its `item-*` parts and `check`: an
3456
+ * option that is disabled.
3384
3457
  * @state open - Component-wide: the options surface is showing.
3385
3458
  */
3386
3459
  export type BbSelectPopoverPtState = 'open' | 'selected' | 'disabled';
@@ -3405,6 +3478,7 @@ export const BB_SELECT_POPOVER_PT = {
3405
3478
  'itemText',
3406
3479
  'itemIcon',
3407
3480
  'itemDescription',
3481
+ 'check',
3408
3482
  'header',
3409
3483
  'footer',
3410
3484
  ],
@@ -3417,6 +3491,7 @@ export const BB_SELECT_POPOVER_PT = {
3417
3491
  itemText: ['selected', 'disabled'],
3418
3492
  itemIcon: ['selected', 'disabled'],
3419
3493
  itemDescription: ['selected', 'disabled'],
3494
+ check: ['selected', 'disabled'],
3420
3495
  },
3421
3496
  } as const satisfies {
3422
3497
  parts: readonly BbSelectPopoverPtPart[];
@@ -3427,6 +3502,17 @@ export const BB_SELECT_POPOVER_PT = {
3427
3502
  >;
3428
3503
  };
3429
3504
 
3505
+ /**
3506
+ * BbSelectPopover's `pt:*` attributes: the documented keys, and the patterns
3507
+ * Vue's SFC resolver skips (compound keys, an app's own variant states; the
3508
+ * vue-ignore marker). This alias keeps the marker on a member right after its
3509
+ * `=`: the declaration emit drops it at the start of a line or ahead of a whole type.
3510
+ */
3511
+ type BbSelectPopoverPtProps = /* @vue-ignore */ PtCompoundProps<
3512
+ typeof BB_SELECT_POPOVER_PT
3513
+ > &
3514
+ BbSelectPopoverPtKeys;
3515
+
3430
3516
  // Spelled INLINE with this component's own unions (Vue's SFC type resolver
3431
3517
  // does not substitute a generic alias's type parameters — PASSTHROUGH.md T20).
3432
3518
  // Two mapped types, never `Partial<Record<…>>`: the lint autofix rewrites one
@@ -3434,337 +3520,333 @@ export const BB_SELECT_POPOVER_PT = {
3434
3520
  /* eslint-disable @typescript-eslint/consistent-indexed-object-style */
3435
3521
  export type BbSelectPopoverProps<
3436
3522
  Item,
3437
- // The type alone is the bound case, as on `BbSelectProps` (Q77.7).
3523
+ // The type alone is the bound case, as on `BbSelectProps`.
3438
3524
  Known extends BbSelectKnownItems | undefined = BbSelectKnownItems,
3439
- > = {
3440
- [K in
3441
- | `pt:${BbSelectPopoverSurfacePtPart}`
3442
- | `pt:${BbSelectPopoverPtPart}:open`
3443
- | `pt:${BbSelectPopoverOptionPtPart}:${'selected' | 'disabled'}`]?: PtValue;
3444
- } & /* @vue-ignore */ PtCompoundProps<typeof BB_SELECT_POPOVER_PT> & {
3445
- // The option parts also take a per-item function, typed on the popover's
3446
- // item — a literal function type, not `PtItemFn` (T23).
3447
- [K in `pt:${BbSelectPopoverOptionPtPart}`]?:
3448
- | PtValue
3449
- | ((
3450
- ctx: PtItemCtx<
3451
- PtNoInfer<Item>,
3452
- BbSelectPopoverPtState,
3453
- never,
3454
- BbSelectSlotRow<PtNoInfer<Item>, PtNoInfer<Known>>
3455
- >
3456
- ) => PtItemResult);
3457
- } & {
3458
- /* eslint-enable @typescript-eslint/consistent-indexed-object-style */
3459
- /**
3460
- * Passthrough, object form: the same keys as the `pt:*` attributes
3461
- * without the prefix. See the `pt:<part>` row.
3462
- */
3463
- pt?: PtScopedItemMap<
3464
- BbSelectPopoverPtKey,
3465
- BbSelectPopoverOptionPtPart,
3466
- BbSelectPopoverPtState,
3467
- PtNoInfer<Item>,
3468
- never,
3469
- BbSelectSlotRow<PtNoInfer<Item>, PtNoInfer<Known>>
3470
- >;
3471
- /**
3472
- * External activator element or component ref.
3473
- * When provided, the activator slot is not rendered and event listeners
3474
- * are attached programmatically to the referenced element.
3475
- */
3476
- activator?: HTMLElement | Record<string, any> | null;
3477
- /**
3478
- * On mobile, the panel opens as a bottom sheet instead of a floating
3479
- * popover, with the same search and list. Unset, the global
3480
- * `config.adaptive` applies.
3481
- *
3482
- * @defaultValue `config.adaptive` (`true`)
3483
- */
3484
- adaptive?: boolean;
3485
- /**
3486
- * Props for the phone sheet (the `BbOffCanvas` that `adaptive` renders on
3487
- * mobile), spread over its defaults. A `pt` inside it styles only the sheet
3488
- * (passthrough guide § Inside the sheet).
3489
- */
3490
- offCanvasProps?: Partial<BbOffCanvasProps>;
3491
- /**
3492
- * Override the element used for popover positioning and width measurement.
3493
- * Useful when the focusable activator is narrower than its visual container
3494
- * (e.g. a button inside a wrapper). Falls back to `activatorEl` when omitted.
3495
- *
3496
- * @defaultValue `null`
3497
- */
3498
- anchor?: HTMLElement | Record<string, any> | null;
3499
- /**
3500
- * Hides the panel's search field: `true` everywhere, `'mobile'` /
3501
- * `'desktop'` on that platform only. `'auto'` hides it, per open, for an
3502
- * array `items` shorter than the plugin's `autoDisableWritingThreshold`
3503
- * (6); never for a provider or with an `option:add` listener.
3504
- *
3505
- * @defaultValue `'auto'`
3506
- */
3507
- disableWriting?: boolean | 'mobile' | 'desktop' | 'auto';
3508
- /**
3509
- * Space-separated IDREF(s) that describe this field for assistive technologies.
3510
- * Accepts either a string or array of ids.
3511
- */
3512
- ariaDescribedby?: string | string[];
3513
- /**
3514
- * Explicit invalid state for accessibility semantics.
3515
- * Falls back to `hasErrors` when not provided.
3516
- */
3517
- ariaInvalid?: boolean;
3518
- /**
3519
- * Browser autocomplete hint for the popover search input.
3520
- *
3521
- * @defaultValue `'off'`
3522
- */
3523
- // Not Vue's InputHTMLAttributes['autocomplete']: since Vue 3.5.27 that is a
3524
- // ~10k-member union, and our props overflow TS on it (TS2590).
3525
- autocomplete?: string;
3526
- /**
3527
- * Constrains the popover to a specific boundary element: it stays inside
3528
- * it alongside its trigger (sideways for a popover above or below); away
3529
- * from the trigger it may pass the edge, and it flips at the viewport only.
3530
- */
3531
- boundary?: HTMLElement | Record<string, any> | string | null;
3532
- /**
3533
- * Apply the compact density variant.
3534
- */
3535
- compact?: boolean;
3536
- /**
3537
- * Additional dependencies that trigger item reloading when changed.
3538
- *
3539
- * @defaultValue `[]`
3540
- */
3541
- dependencies?: unknown[];
3542
- /**
3543
- * Debounce delay (ms) for dependency-triggered reloads.
3544
- *
3545
- * @defaultValue `0`
3546
- */
3547
- depsDebounceTime?: number;
3548
- /**
3549
- * Shows a clear button in the search field, in the lens' place while there
3550
- * is a query or a selection; it resets both. None without a search field.
3551
- * Leave it off when the activator already clears (as BbSelect's does).
3552
- */
3553
- clearable?: boolean;
3554
- /**
3555
- * Disables the component.
3556
- */
3557
- disabled?: boolean;
3558
- /**
3559
- * Drops the picks the items no longer contain (single: `null`). Checked
3560
- * after every applied, successful load whose `reason` is not `'search'`
3561
- * (an empty one included), against the FETCHED rows only (a `stash` does
3562
- * not count); a search or failed load never prunes.
3563
- */
3564
- enforceCoherence?: boolean;
3565
- /**
3566
- * What typing filters on: empty = the display text and description; item
3567
- * paths = those fields (`['name', 'email']`); `false` = no filtering.
3568
- * Use `false` when the provider matched the query on the server, or its
3569
- * email/accent matches show as "No results".
3570
- *
3571
- * @defaultValue `[]`
3572
- */
3573
- filterBy?: string[] | false;
3574
- /**
3575
- * Disables the automatic flip to the opposite side when the popover
3576
- * would overflow (flipping is on by default).
3577
- *
3578
- * @defaultValue `false`
3579
- */
3580
- disableFlip?: boolean;
3581
- /** Path to item property for grouping options. */
3582
- groupBy?: string | ((item: Item) => string | number | symbol);
3583
- /**
3584
- * Marks the component as being in error state.
3585
- */
3586
- hasErrors?: boolean;
3587
- /**
3588
- * Marks the component as being in a warning state. Visually mirrors
3589
- * `hasErrors` but uses `--bb-warn` chrome; errors take priority when both
3590
- * are set.
3591
- */
3592
- hasWarnings?: boolean;
3593
- /**
3594
- * Height of group headers in the listbox (px). Defaults to 32px (24px
3595
- * compact; 36px / 32px on mobile viewports). Only applies when `groupBy`
3596
- * is set. An explicit value wins on every viewport.
3597
- */
3598
- headerHeight?: number;
3599
- /**
3600
- * Seeds the ids the popover sets: its listbox is `<id>_listbox` (the
3601
- * activator's `aria-controls`) and each option's id derives from it.
3602
- * Generated when omitted.
3603
- */
3604
- id?: HTMLAttributes['id'];
3605
- /**
3606
- * Height of the options in the listbox (px). Defaults to 28px (24px
3607
- * compact; 44px / 36px on mobile viewports). An explicit value wins on
3608
- * every viewport.
3609
- *
3610
- * @defaultValue `28`
3611
- */
3612
- itemHeight?: number;
3613
- /**
3614
- * The options: an array, or a sync or async provider given a
3615
- * `BbSelectPopoverItemsContext` (`query`, `reason`, `modelValue`,
3616
- * `signal`). Branch on `reason !== 'search'` to resolve the
3617
- * selection by id. A provider fails by THROWING, never by returning `[]`.
3618
- *
3619
- * @defaultValue `[]`
3620
- */
3621
- items:
3622
- | Item[]
3623
- | ((context: BbSelectPopoverItemsContext) => Item[] | Promise<Item[]>);
3624
- /**
3625
- * Path to item property for display text or function to extract it.
3626
- *
3627
- * Unset: own `label`, else `text` (`{ label, value }` needs no accessor).
3628
- *
3629
- * @defaultValue own `label`, else `text`, else `JSON.stringify(item)`
3630
- */
3631
- itemText?: ItemAccessor<Item, string>;
3632
- /**
3633
- * ADDITIONAL row fields, never the text or value: `description` (a muted
3634
- * line under the label), `prepend:icon`, `append:icon`. An object of paths
3635
- * or getters per field, or a function of the item. Nothing is read
3636
- * implicitly; none shows in the trigger or the chips.
3637
- */
3638
- itemProps?: BbSelectItemProps<Item>;
3639
- /**
3640
- * Path to item property for value or function to extract it.
3641
- *
3642
- * Unset: own `value`, even `null`.
3643
- *
3644
- * @defaultValue own `value`, else the whole item
3645
- */
3646
- itemValue?: ItemAccessor<Item>;
3647
- /**
3648
- * `{ value, label }` rows naming the value the app already holds, whatever
3649
- * the options' shape: the activator's `text` with no request until the
3650
- * first open (`prefill: true` still loads). Not options: accessors never
3651
- * run on them; slots get one as `item`, `known: true`, until the list
3652
- * brings its own.
3653
- */
3654
- knownItems?: [Known] extends [undefined] ? BbSelectKnownItems : Known;
3655
- /**
3656
- * Display the loading state styles.
3657
- */
3658
- loading?: boolean;
3659
- /**
3660
- * Message shown while items are being loaded.
3661
- */
3662
- loadingText?: string;
3663
- /**
3664
- * Maximum number of selectable items (limits selection when `multiple` is true).
3665
- *
3666
- * @defaultValue `Infinity`
3667
- */
3668
- max?: number;
3669
- /**
3670
- * v-model value. Single value for single select, array for multiple select.
3671
- */
3672
- modelValue: any;
3673
- /**
3674
- * Debounce delay (ms) for modelValue change handling.
3675
- *
3676
- * @defaultValue `0`
3677
- */
3678
- modelValueDebounceTime?: number;
3679
- /**
3680
- * Enable multiple item selection. When true, modelValue must be an array.
3681
- */
3682
- multiple?: boolean;
3683
- /**
3684
- * Message displayed when no items are available.
3685
- */
3686
- emptyText?: string;
3687
- /**
3688
- * Message displayed in the empty state while the latest load FAILED (the
3689
- * provider threw): the twin of `emptyText` for that case.
3690
- *
3691
- * @defaultValue the localized `common.failedText` ("Couldn't load items")
3692
- */
3693
- failedText?: string;
3694
- /**
3695
- * Distance (px) between the activator and the popover.
3696
- *
3697
- * @defaultValue `4`
3698
- */
3699
- offset?: number;
3700
- /**
3701
- * Minimum page padding used by floating shift middleware.
3702
- *
3703
- * @defaultValue `10`
3704
- */
3705
- padding?: number;
3706
- /**
3707
- * Floating placement of the popover.
3708
- *
3709
- * @defaultValue `'bottom'`
3710
- */
3711
- placement?: Placement;
3712
- /**
3713
- * When the options first load: `'interaction'` on first open, `true` on
3714
- * mount (and in SSR), `false` once the user types (on open with
3715
- * `disable-writing` or a non-empty model). An array `items` always
3716
- * resolves on mount; else a seeded model's text waits for the first open.
3717
- *
3718
- * @defaultValue `'interaction'`
3719
- */
3720
- prefill?: boolean | 'interaction';
3721
- /**
3722
- * Debounce delay (ms) before triggering search queries after user input stops.
3723
- *
3724
- * @defaultValue `500`
3725
- */
3726
- queryDebounceTime?: number;
3727
- /**
3728
- * Prevents opening the popover while keeping the activator accessible.
3729
- */
3730
- readonly?: boolean;
3731
- /**
3732
- * Accessible label used by the search input rendered inside the popover.
3733
- * Falls back to the localized `select.searchLabel` key when omitted.
3734
- *
3735
- * @defaultValue `t('select.searchLabel')` (`'Search options'`)
3736
- */
3737
- searchInputAriaLabel?: string;
3738
- /**
3739
- * Defines whether options are selectable.
3740
- * Can be a global boolean that affects all options or a function
3741
- * that accepts an item and returns a boolean that only affects that item.
3742
- * Non-selectable options are rendered disabled.
3743
- *
3744
- * @defaultValue `true`
3745
- */
3746
- selectable?: boolean | ((item: Item) => boolean);
3747
- /**
3748
- * Keeps picked options named across searches: a pick stays resolvable when
3749
- * a later search or a failed load no longer returns it. It follows the
3750
- * model, and does not keep a pick valid: `enforce-coherence` still prunes
3751
- * it.
3752
- */
3753
- stash?: boolean;
3754
- /**
3755
- * Transition duration (ms) for popover show/hide animations.
3756
- *
3757
- * @defaultValue `250`
3758
- */
3759
- transitionDuration?: number;
3760
- /**
3761
- * Width of the popover in pixels, percentage, or `'auto'`. A bare number is
3762
- * read as pixels — the default is the string `'200'`, not the number `200`.
3763
- *
3764
- * @defaultValue `'200'`
3765
- */
3766
- width?: number | string;
3767
- };
3525
+ > = BbSelectPopoverPtProps & {
3526
+ // The option parts also take a per-item function, typed on the popover's
3527
+ // item — a literal function type, not `PtItemFn` (T23).
3528
+ [K in `pt:${BbSelectPopoverOptionPtPart}`]?:
3529
+ | PtValue
3530
+ | ((
3531
+ ctx: PtItemCtx<
3532
+ PtNoInfer<Item>,
3533
+ BbSelectPopoverPtState,
3534
+ never,
3535
+ BbSelectSlotRow<PtNoInfer<Item>, PtNoInfer<Known>>
3536
+ >
3537
+ ) => PtItemResult);
3538
+ } & {
3539
+ /* eslint-enable @typescript-eslint/consistent-indexed-object-style */
3540
+ /**
3541
+ * Passthrough, object form: the same keys as the `pt:*` attributes
3542
+ * without the prefix. See the `pt:<part>` row.
3543
+ */
3544
+ pt?: PtScopedItemMap<
3545
+ BbSelectPopoverPtKey,
3546
+ BbSelectPopoverOptionPtPart,
3547
+ BbSelectPopoverPtState,
3548
+ PtNoInfer<Item>,
3549
+ never,
3550
+ BbSelectSlotRow<PtNoInfer<Item>, PtNoInfer<Known>>
3551
+ >;
3552
+ /**
3553
+ * External activator element or component ref.
3554
+ * When provided, the activator slot is not rendered and event listeners
3555
+ * are attached programmatically to the referenced element.
3556
+ */
3557
+ activator?: ElementOrComponentRef;
3558
+ /**
3559
+ * On mobile, the panel opens as a bottom sheet instead of a floating
3560
+ * popover, with the same search and list. Unset, the global
3561
+ * `all.adaptive` applies.
3562
+ *
3563
+ * @defaultValue `all.adaptive` (`true`)
3564
+ */
3565
+ adaptive?: boolean;
3566
+ /**
3567
+ * Props for the phone sheet (the `BbOffCanvas` that `adaptive` renders on
3568
+ * mobile), spread over its defaults. A `pt` inside it styles only the sheet
3569
+ * (passthrough guide § Inside the sheet).
3570
+ */
3571
+ offCanvasProps?: Partial<BbOffCanvasProps>;
3572
+ /**
3573
+ * Override the element used for popover positioning and width measurement.
3574
+ * Useful when the focusable activator is narrower than its visual container
3575
+ * (e.g. a button inside a wrapper). Falls back to `activatorEl` when omitted.
3576
+ *
3577
+ * @defaultValue `null`
3578
+ */
3579
+ anchor?: ElementOrComponentRef;
3580
+ /**
3581
+ * Hides the panel's search field: `true` everywhere, `'mobile'` /
3582
+ * `'desktop'` on that platform only. `'auto'` hides it, per open, for an
3583
+ * array `items` shorter than the plugin's `autoDisableWritingThreshold`
3584
+ * (6); never for a provider or with an `option:add` listener.
3585
+ *
3586
+ * @defaultValue `'auto'`
3587
+ */
3588
+ disableWriting?: boolean | 'mobile' | 'desktop' | 'auto';
3589
+ /**
3590
+ * Space-separated IDREF(s) that describe this field for assistive technologies.
3591
+ * Accepts either a string or array of ids.
3592
+ */
3593
+ ariaDescribedby?: string | string[];
3594
+ /**
3595
+ * Explicit invalid state for accessibility semantics.
3596
+ * Falls back to `hasErrors` when not provided.
3597
+ */
3598
+ ariaInvalid?: boolean;
3599
+ /**
3600
+ * Browser autocomplete hint for the popover search input.
3601
+ *
3602
+ * @defaultValue `'off'`
3603
+ */
3604
+ // Not Vue's InputHTMLAttributes['autocomplete']: since Vue 3.5.27 that is a
3605
+ // ~10k-member union, and our props overflow TS on it (TS2590).
3606
+ autocomplete?: string;
3607
+ /**
3608
+ * An element the popover stays inside alongside its trigger (sideways for
3609
+ * one above or below). Away from the trigger it may pass the edge, and it
3610
+ * flips at the viewport only.
3611
+ */
3612
+ boundary?: ElementOrComponentRefOrSelector;
3613
+ /**
3614
+ * Apply the compact density variant.
3615
+ */
3616
+ compact?: boolean;
3617
+ /**
3618
+ * Additional dependencies that trigger item reloading when changed.
3619
+ *
3620
+ * @defaultValue `[]`
3621
+ */
3622
+ dependencies?: unknown[];
3623
+ /**
3624
+ * Debounce delay (ms) for dependency-triggered reloads.
3625
+ *
3626
+ * @defaultValue `0`
3627
+ */
3628
+ depsDebounceTime?: number;
3629
+ /**
3630
+ * Shows a clear button in the search field, in the lens' place while there
3631
+ * is a query or a selection; it resets both. None without a search field.
3632
+ * Leave it off when the activator already clears (as BbSelect's does).
3633
+ */
3634
+ clearable?: boolean;
3635
+ /**
3636
+ * Disables the component.
3637
+ */
3638
+ disabled?: boolean;
3639
+ /**
3640
+ * Drops the picks the items no longer contain (single: `null`). Checked
3641
+ * after every applied, successful load whose `reason` is not `'search'`
3642
+ * (an empty one included), against the FETCHED rows only (a `stash` does
3643
+ * not count); a search or failed load never prunes.
3644
+ */
3645
+ enforceCoherence?: boolean;
3646
+ /**
3647
+ * What typing filters on: empty = the display text and description; item
3648
+ * paths = those fields (`['name', 'email']`); `false` = no filtering.
3649
+ * Use `false` when the provider matched the query on the server, or its
3650
+ * email matches show as "No results".
3651
+ *
3652
+ * @defaultValue `[]`
3653
+ */
3654
+ filterBy?: string[] | false;
3655
+ /**
3656
+ * Disables the automatic flip to the opposite side when the popover
3657
+ * would overflow (flipping is on by default).
3658
+ *
3659
+ * @defaultValue `false`
3660
+ */
3661
+ disableFlip?: boolean;
3662
+ /** Path to item property for grouping options. */
3663
+ groupBy?: string | ((item: Item) => string | number | symbol);
3664
+ /**
3665
+ * Marks the component as being in error state.
3666
+ */
3667
+ hasErrors?: boolean;
3668
+ /**
3669
+ * Marks the component as being in a warning state. Visually mirrors
3670
+ * `hasErrors` but uses `--bb-warn` chrome; errors take priority when both
3671
+ * are set.
3672
+ */
3673
+ hasWarnings?: boolean;
3674
+ /**
3675
+ * Height of group headers in the listbox (px). Defaults to 32px (24px
3676
+ * compact; 36px / 32px on mobile viewports). Only applies when `groupBy`
3677
+ * is set. An explicit value wins on every viewport.
3678
+ */
3679
+ headerHeight?: number;
3680
+ /**
3681
+ * Seeds the ids the popover sets: its listbox is `<id>_listbox` (the
3682
+ * activator's `aria-controls`) and each option's id derives from it.
3683
+ * Generated when omitted.
3684
+ */
3685
+ id?: HTMLAttributes['id'];
3686
+ /**
3687
+ * Height of the options in the listbox (px). Defaults to 28px (24px
3688
+ * compact; 44px / 36px on mobile viewports). An explicit value wins on
3689
+ * every viewport.
3690
+ *
3691
+ * @defaultValue `28`
3692
+ */
3693
+ itemHeight?: number;
3694
+ /**
3695
+ * The options: an array, or a sync or async provider given a
3696
+ * `BbSelectPopoverItemsContext` (`query`, `reason`, `modelValue`,
3697
+ * `signal`). Branch on `reason !== 'search'` to resolve the
3698
+ * selection by id. A provider fails by THROWING, never by returning `[]`.
3699
+ *
3700
+ * @defaultValue `[]`
3701
+ */
3702
+ items:
3703
+ | Item[]
3704
+ | ((context: BbSelectPopoverItemsContext) => Item[] | Promise<Item[]>);
3705
+ /**
3706
+ * Path to item property for display text or function to extract it.
3707
+ *
3708
+ * Unset: own `label`, else `text` (`{ label, value }` needs no accessor).
3709
+ *
3710
+ * @defaultValue own `label`, else `text`, else `JSON.stringify(item)`
3711
+ */
3712
+ itemText?: ItemAccessor<Item, string>;
3713
+ /**
3714
+ * ADDITIONAL row fields, never the text or value: `description` (a muted
3715
+ * line under the label), `prepend:icon`, `append:icon`. An object of paths
3716
+ * or getters per field, or a function of the item. Nothing is read
3717
+ * implicitly; none shows in the trigger or the chips.
3718
+ */
3719
+ itemProps?: BbSelectItemProps<Item>;
3720
+ /**
3721
+ * Path to item property for value or function to extract it.
3722
+ *
3723
+ * Unset: own `value`, even `null`.
3724
+ *
3725
+ * @defaultValue own `value`, else the whole item
3726
+ */
3727
+ itemValue?: ItemAccessor<Item>;
3728
+ /**
3729
+ * `{ value, label }` rows naming the value the app already holds, whatever
3730
+ * the options' shape: the activator's `text` with no request until the
3731
+ * first open (`prefill: true` still loads). Not options: accessors never
3732
+ * run on them; slots get one as `item`, `known: true`, until the list
3733
+ * brings its own.
3734
+ */
3735
+ knownItems?: [Known] extends [undefined] ? BbSelectKnownItems : Known;
3736
+ /**
3737
+ * Display the loading state styles.
3738
+ */
3739
+ loading?: boolean;
3740
+ /**
3741
+ * Message shown while items are being loaded.
3742
+ */
3743
+ loadingText?: string;
3744
+ /**
3745
+ * Maximum number of selectable items (limits selection when `multiple` is true).
3746
+ *
3747
+ * @defaultValue `Infinity`
3748
+ */
3749
+ max?: number;
3750
+ /**
3751
+ * v-model value. Single value for single select, array for multiple select.
3752
+ */
3753
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- an option's value is read through `item-value` (a key, a dot path or a function), which the select does not resolve at the type level: typing it per path is the nested-key cost the types avoid; `any` lets a typed ref (`ref<number | null>`, `ref<number[]>`) bind both ways through `v-model`
3754
+ modelValue: any;
3755
+ /**
3756
+ * Debounce delay (ms) for modelValue change handling.
3757
+ *
3758
+ * @defaultValue `0`
3759
+ */
3760
+ modelValueDebounceTime?: number;
3761
+ /**
3762
+ * Enable multiple item selection. When true, modelValue must be an array.
3763
+ */
3764
+ multiple?: boolean;
3765
+ /**
3766
+ * Message displayed when no items are available.
3767
+ */
3768
+ emptyText?: string;
3769
+ /**
3770
+ * Message displayed in the empty state while the latest load FAILED (the
3771
+ * provider threw): the twin of `emptyText` for that case.
3772
+ *
3773
+ * @defaultValue the localized `common.failedText` ("Couldn't load items")
3774
+ */
3775
+ failedText?: string;
3776
+ /**
3777
+ * Distance (px) between the activator and the popover.
3778
+ *
3779
+ * @defaultValue `4`
3780
+ */
3781
+ offset?: number;
3782
+ /**
3783
+ * Minimum page padding used by floating shift middleware.
3784
+ *
3785
+ * @defaultValue `10`
3786
+ */
3787
+ padding?: number;
3788
+ /**
3789
+ * Floating placement of the popover.
3790
+ *
3791
+ * @defaultValue `'bottom'`
3792
+ */
3793
+ placement?: Placement;
3794
+ /**
3795
+ * When the options first load: `'interaction'` on first open, `true` on
3796
+ * mount (and in SSR), `false` once the user types (on open with
3797
+ * `disable-writing` or a non-empty model). An array `items` always
3798
+ * resolves on mount; else a seeded model's text waits for the first open.
3799
+ *
3800
+ * @defaultValue `'interaction'`
3801
+ */
3802
+ prefill?: boolean | 'interaction';
3803
+ /**
3804
+ * Debounce delay (ms) before triggering search queries after user input stops.
3805
+ *
3806
+ * @defaultValue `500`
3807
+ */
3808
+ queryDebounceTime?: number;
3809
+ /**
3810
+ * Prevents opening the popover while keeping the activator accessible.
3811
+ */
3812
+ readonly?: boolean;
3813
+ /**
3814
+ * Accessible label used by the search input rendered inside the popover.
3815
+ * Falls back to the localized `select.searchLabel` key when omitted.
3816
+ *
3817
+ * @defaultValue `t('select.searchLabel')` (`'Search options'`)
3818
+ */
3819
+ searchInputAriaLabel?: string;
3820
+ /**
3821
+ * Defines whether options are selectable.
3822
+ * Can be a global boolean that affects all options or a function
3823
+ * that accepts an item and returns a boolean that only affects that item.
3824
+ * Non-selectable options are rendered disabled.
3825
+ *
3826
+ * @defaultValue `true`
3827
+ */
3828
+ selectable?: boolean | ((item: Item) => boolean);
3829
+ /**
3830
+ * Keeps picked options named across searches: a pick stays resolvable when
3831
+ * a later search or a failed load no longer returns it. It follows the
3832
+ * model, and does not keep a pick valid: `enforce-coherence` still prunes
3833
+ * it.
3834
+ */
3835
+ stash?: boolean;
3836
+ /**
3837
+ * Transition duration (ms) for popover show/hide animations.
3838
+ *
3839
+ * @defaultValue `250`
3840
+ */
3841
+ transitionDuration?: number;
3842
+ /**
3843
+ * Width of the popover: a bare number or `'200'` is pixels, else a CSS
3844
+ * width, a percentage or `'auto'`. The default is the string `'200'`.
3845
+ *
3846
+ * @defaultValue `'200'`
3847
+ */
3848
+ width?: number | string;
3849
+ };
3768
3850
 
3769
3851
  export type BbSelectPopoverEvents = {
3770
3852
  /** Emitted as soon as the options surface starts to open (the popover, or the sheet on a phone). */
@@ -3804,6 +3886,7 @@ export type BbSelectPopoverEvents = {
3804
3886
  /**
3805
3887
  * Emitted with the next selection value whenever selection changes.
3806
3888
  */
3889
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- an option's value is read through `item-value` (a key, a dot path or a function), which the select does not resolve at the type level: typing it per path is the nested-key cost the types avoid; `unknown` would reject a handler annotated `(id: number)`
3807
3890
  (e: 'update:modelValue', value: any): void;
3808
3891
  /**
3809
3892
  * Emitted when the user types a new value and confirms it (Enter key) while
@@ -3863,6 +3946,7 @@ export type BbSelectPopoverOptionSlotProps<
3863
3946
  /** The resolved display text for this option. */
3864
3947
  text: string;
3865
3948
  /** The resolved value for this option. */
3949
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- an option's value is read through `item-value` (a key, a dot path or a function), which the select does not resolve at the type level: typing it per path is the nested-key cost the types avoid
3866
3950
  value: any;
3867
3951
  /** The resolved `itemProps.description` for this option, when it has one. */
3868
3952
  description: string | undefined;
@@ -3965,7 +4049,7 @@ export type BbSelectPopoverSlots<
3965
4049
  ## Styles
3966
4050
 
3967
4051
  ```css
3968
- /* Sealed fill (Q44.15): the plate paints `--bg`, defaulted to the panel at
4052
+ /* Sealed fill: the plate paints `--bg`, defaulted to the panel at
3969
4053
  specificity 0 — a `pt` class or a theme island retints this one surface
3970
4054
  without moving `--bb-panel` for every panel on the page. */
3971
4055
  :where(.bb-listbox__outer-container) {
@@ -4176,7 +4260,7 @@ export type BbSelectPopoverSlots<
4176
4260
  }
4177
4261
  }
4178
4262
 
4179
- /* The failed-load footer (owner ruling 2026-10-01, Q61.15): the
4263
+ /* The failed-load footer: the
4180
4264
  destructive alert's voice — danger text and glyph on the plain panel,
4181
4265
  no tint — under whatever the list still shows, outside the scroll
4182
4266
  area. Its own divider only when rows sit above it. It fades with the
@@ -4265,7 +4349,7 @@ export type BbSelectPopoverSlots<
4265
4349
 
4266
4350
  .bb-listbox__loading,
4267
4351
  .bb-listbox__empty {
4268
- /* Read, not disabled: muted meets AA, faint does not (Q44.18). */
4352
+ /* Read, not disabled: muted meets AA, faint does not. */
4269
4353
  color: var(--bb-text-muted);
4270
4354
  display: none;
4271
4355
  font-size: calc(var(--bb-fs) - 1px);
@@ -4294,7 +4378,7 @@ export type BbSelectPopoverSlots<
4294
4378
 
4295
4379
  .bb-listbox__group-header-label {
4296
4380
  /* Muted, like BbDropdown's group titles (parity): faint fails
4297
- AA on live text (Q44.18). */
4381
+ AA on live text. */
4298
4382
  color: var(--bb-text-muted);
4299
4383
  flex: auto;
4300
4384
  /* One step under the option label, on both ladders. */