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
@@ -11,7 +11,7 @@
11
11
  <legend v-if="selectable" class="bb-sr-only">{{ legendText }}</legend>
12
12
  <!-- The caption lives OUTSIDE the table role (a `caption` role is invalid
13
13
  there for a div table) and names the table through `aria-labelledby`.
14
- Not displayed, it is `hidden` (Q63.2): still the table's name (accname
14
+ Not displayed, it is `hidden`: still the table's name (accname
15
15
  2B), never a second, page-text copy of it in browse mode. -->
16
16
  <div
17
17
  v-if="caption"
@@ -38,7 +38,7 @@
38
38
  t('table.resizeInstructions').value
39
39
  }}</template>
40
40
  </div>
41
- <!-- Joined to a sortable header's description (Q76.9 b): nothing else
41
+ <!-- Joined to a sortable header's description: nothing else
42
42
  tells a screen-reader user that Shift+Enter adds the column. -->
43
43
  <div v-if="sortHint" :id="sortInstructionsId" hidden>
44
44
  {{ t('table.sortInstructions').value }}
@@ -46,7 +46,7 @@
46
46
  <!-- The busy announcement belongs to the loading STATE, not to the
47
47
  skeleton: it fires for a first load and for a refetch over existing rows
48
48
  alike, and for a custom `#loading` slot that replaces the skeleton.
49
- PERSISTENT and empty at rest, and OUTSIDE `role="table"` (Q7.1). It used to
49
+ PERSISTENT and empty at rest, and OUTSIDE `role="table"`. It used to
50
50
  be mounted with its text already in it, one frame before the announcement
51
51
  was wanted, and whether a reader announces a live region that appears
52
52
  pre-filled is reader-dependent — the robust shape is a region that is
@@ -92,23 +92,12 @@
92
92
  >
93
93
  <!-- The four-way move glyph AG Grid puts on its drag chip: "this column
94
94
  is being moved", distinct from the sort arrow. -->
95
- <svg
96
- aria-hidden="true"
95
+ <BbIcon
97
96
  class="bb-table__drag-icon"
98
- fill="none"
99
- height="1em"
100
- stroke="currentColor"
101
- stroke-linecap="round"
102
- stroke-linejoin="round"
103
- stroke-width="2"
104
- viewBox="0 0 24 24"
105
- width="1em"
97
+ :icon="moveSvg"
98
+ size="1em"
106
99
  v-bind="passthrough.dragIcon"
107
- >
108
- <path
109
- d="M12 2v20M2 12h20M5 9l-3 3 3 3M9 5l3-3 3 3M15 19l-3 3-3-3M19 9l3 3-3 3"
110
- />
111
- </svg>
100
+ />
112
101
  <span>{{ dragGhostLabel }}</span>
113
102
  </div>
114
103
  </template>
@@ -327,23 +316,14 @@
327
316
  <!-- One up arrow (ascending, AG Grid convention); the desc state
328
317
  rotates it 180° (the glyph is its own mirror), so the flip
329
318
  between directions animates. -->
330
- <svg
331
- aria-hidden="true"
319
+ <BbIcon
332
320
  class="bb-table__sort-icon"
333
- fill="none"
334
- height="1em"
335
- stroke="currentColor"
336
- stroke-linecap="round"
337
- stroke-linejoin="round"
338
- stroke-width="2"
339
- viewBox="0 0 24 24"
340
- width="1em"
321
+ :icon="arrowUpSvg"
322
+ size="1em"
341
323
  v-bind="
342
324
  passthrough.part('sortIcon', sortStates(header.sortOrder))
343
325
  "
344
- >
345
- <path d="M12 20V4m-7 7l7-7l7 7" />
346
- </svg>
326
+ />
347
327
  </BbBaseButton>
348
328
  <span v-else class="bb-table-header__content">{{
349
329
  header.label
@@ -537,7 +517,7 @@
537
517
  getter (see `BodyRow`) that projects the item on first access, and a
538
518
  destructuring pattern would resolve it for every spacer and skeleton
539
519
  placeholder too — exactly the work the window exists to avoid. -->
540
- <!-- Q23.1: the `#<key>:first` / `#<key>:last` rows, in the body so the
520
+ <!-- the `#<key>:first` / `#<key>:last` rows, in the body so the
541
521
  pin pass sticks their pinned cells; with rows only (they need the column
542
522
  sizes), never under `#tbody`. -->
543
523
  <BbTableEdgeRow
@@ -638,7 +618,11 @@
638
618
  lang="ts"
639
619
  generic="Item = any, T extends ItemKey<Item> = string & {}"
640
620
  >
621
+ import BbIcon from '../BbIcon/BbIcon.vue';
622
+ import moveSvg from '@/assets/svgs/move.svg?raw';
623
+ import arrowUpSvg from '@/assets/svgs/arrow_up.svg?raw';
641
624
  import type { FallthroughAttrs } from '@/types/fallthrough';
625
+ import { useConfigDefaults } from '@/composables/useConfigDefaults';
642
626
  import {
643
627
  computed,
644
628
  getCurrentInstance,
@@ -758,6 +742,7 @@ import type { ColumnProfile, FixedColumnConfig, TrackEstimate } from './utils';
758
742
  import { createMeasuredFloors, type MeasuredColumn } from './measuredFloors';
759
743
  import { useBbTableHost } from '../../composables/useBbTable';
760
744
  import { useLogger } from '@/composables/useLogger';
745
+ import { flowsRtl, isRtl } from '@/composables/useDirection';
761
746
  import {
762
747
  escapeStackDepth,
763
748
  isTopEscapeEntry,
@@ -791,11 +776,13 @@ const order = defineModel<string[]>('order', {
791
776
 
792
777
  // Highlight: documented on `BbTableProps.highlighted` (a JSDoc block here
793
778
  // would be appended to the prop's description in the manifest).
779
+ // 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`
794
780
  const highlighted = defineModel<any>('highlighted', {
795
781
  required: false,
796
782
  default: undefined,
797
783
  });
798
784
 
785
+ // 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`
799
786
  const expandedItems = defineModel<any[]>('expandedItems', {
800
787
  required: false,
801
788
  default: () => [],
@@ -809,11 +796,11 @@ const props = withDefaults(
809
796
  /* @vue-ignore */ FallthroughAttrs<
810
797
  'div' | 'fieldset',
811
798
  InternalProps<T>,
812
- BbTableEvents
799
+ BbTableEvents<Item>
813
800
  >
814
801
  >(),
815
802
  {
816
- align: 'left',
803
+ align: 'start',
817
804
  columns: () => [],
818
805
  dependencies: () => [],
819
806
  depsDebounceTime: 0,
@@ -824,10 +811,11 @@ const props = withDefaults(
824
811
  unselectedItems: () => [],
825
812
  // Unset follows the binding: on exactly when `highlighted` is bound.
826
813
  highlightable: undefined,
814
+ // Tri-state: unset lets the components map show through.
815
+ compact: undefined,
827
816
  }
828
817
  );
829
-
830
- const emit = defineEmits<BbTableEvents>();
818
+ const emit = defineEmits<BbTableEvents<Item>>();
831
819
 
832
820
  const slots = defineSlots<
833
821
  BbTableSlots<Item> &
@@ -848,8 +836,10 @@ const slots = defineSlots<
848
836
  >
849
837
  >();
850
838
 
839
+ const configDefaults = useConfigDefaults('BbTable', props, { compact: false });
840
+
851
841
  /**
852
- * Passthrough (plans/passthrough/BbTable.md). `row`, `cell` and the rows'
842
+ * Passthrough. `row`, `cell` and the rows'
853
843
  * `selectIcon` are resolved per row inside BbTableDataRow through the row
854
844
  * context (`selected` / `highlighted` / `expanded` / `disabled` are the
855
845
  * row's); `cellColumnHeader` and `sortIcon` per header (`sortStates`).
@@ -897,7 +887,7 @@ const hasExpandSlot = ref(!!slots.expand);
897
887
  const hasTbodySlot = ref(!!slots.tbody);
898
888
  const hasTheadSlot = ref(!!slots.thead);
899
889
  /**
900
- * Q23.1: the provided `#<key>:first` / `#<key>:last` slot names, sampled the
890
+ * the provided `#<key>:first` / `#<key>:last` slot names, sampled the
901
891
  * same way (a slot's presence is not reactive), joined so an unchanged set
902
892
  * writes nothing.
903
893
  */
@@ -919,7 +909,7 @@ onBeforeUpdate(() => {
919
909
  });
920
910
 
921
911
  /**
922
- * THE ROLE RULE (Q52.4). The role is a promise about the keyboard, so it follows
912
+ * THE ROLE RULE. The role is a promise about the keyboard, so it follows
923
913
  * the keyboard the table actually implements:
924
914
  *
925
915
  * - `grid` — `keyboardNavigation` on and the table's own body (no `#tbody`,
@@ -943,7 +933,7 @@ const tableRole = computed(() =>
943
933
  );
944
934
  /** `gridcell` inside a grid / treegrid, `cell` inside a table. */
945
935
  const cellRole = computed(() => (gridMode.value ? 'gridcell' : 'cell'));
946
- /** The `rowHeader` columns' keys: their body cells are `rowheader`s (Q52.4.1). */
936
+ /** The `rowHeader` columns' keys: their body cells are `rowheader`s. */
947
937
  const rowHeaderKeys = computed(
948
938
  () =>
949
939
  new Set(
@@ -1081,7 +1071,7 @@ const headerDescribedBy = (header: MappedHeader) => {
1081
1071
  /** Header cells are keyboard targets when either header interaction is on. */
1082
1072
  const headerKeyboard = computed(() => !!(props.reorderable || props.resizable));
1083
1073
 
1084
- /* --- Row reorder (POC, owner 2026-10-08) -----------------------------------
1074
+ /* --- Row reorder (POC) -----------------------------------
1085
1075
  `reorderable-rows` renders a handle column at the far left (before
1086
1076
  `select`); dragging a handle, or lifting it with the keyboard, reports
1087
1077
  `reorder:rows` with `{ item, from, to }` — indexes into the items the table
@@ -1255,7 +1245,7 @@ watch(
1255
1245
  const declaredKeys = computed(() => props.columns.map((c) => String(c.key)));
1256
1246
 
1257
1247
  /**
1258
- * Q10.2: the declared keys of columns with `reorderable: false`. They render
1248
+ * the declared keys of columns with `reorderable: false`. They render
1259
1249
  * at their declared slot whatever the model says, and no move crosses them.
1260
1250
  */
1261
1251
  const lockedColumnKeys = computed(
@@ -1302,7 +1292,7 @@ const orderedColumns = computed(() => {
1302
1292
  const columns = visibleColumns.value;
1303
1293
  const raw = dragOrder.value ?? order.value;
1304
1294
  if (!raw.length) return columns;
1305
- // Q10.2: an external write that moves a locked column still renders it at
1295
+ // an external write that moves a locked column still renders it at
1306
1296
  // its declared slot; the model is not rewritten.
1307
1297
  const model = lockedColumnKeys.value.size ? lockedOrderOf(raw) : raw;
1308
1298
  const ordered = orderColumns(columns, model);
@@ -1343,7 +1333,7 @@ const nextColumnOrder = (key: string, toIndex: number): string[] | null => {
1343
1333
  };
1344
1334
 
1345
1335
  /**
1346
- * Q10.2: `toIndex` clamped to the slots between the locked columns around
1336
+ * `toIndex` clamped to the slots between the locked columns around
1347
1337
  * `key` in render order; `null` when `key` is itself locked.
1348
1338
  */
1349
1339
  const clampToLocks = (key: string, toIndex: number): number | null => {
@@ -1490,7 +1480,7 @@ const onHeaderKeydown = async (event: KeyboardEvent, key: string) => {
1490
1480
  // Keys typed into an affix control keep their meaning; the built-in sort
1491
1481
  // button (focused by a mouse click) shares the cell's grammar.
1492
1482
  if (target !== cell && !target.closest('.bb-table-sort')) return;
1493
- const rtl = getComputedStyle(cell).direction === 'rtl';
1483
+ const rtl = isRtl(cell);
1494
1484
  // Alt + Arrow resizes (AG Grid's chord); every other Alt/Cmd/Ctrl chord
1495
1485
  // keeps its platform meaning (browser back/forward, document top/bottom).
1496
1486
  if (event.altKey && !event.ctrlKey && !event.metaKey) {
@@ -1554,7 +1544,7 @@ const onHeaderKeydown = async (event: KeyboardEvent, key: string) => {
1554
1544
  activeHeaderKey.value = key;
1555
1545
  await nextTick();
1556
1546
  focusMovedHeader(key, inGrid);
1557
- // Q10.9: an app that applies the model after an `await` (save, then write)
1547
+ // an app that applies the model after an `await` (save, then write)
1558
1548
  // re-renders the columns AFTER this tick, and Vue's keyed move blurs the
1559
1549
  // cell it detaches. Remember the move, so that re-render can put focus back.
1560
1550
  // Already applied (a synchronous model, or unbound): nothing to wait for.
@@ -1589,7 +1579,7 @@ const focusMovedHeader = (key: string, inGrid: boolean) => {
1589
1579
  };
1590
1580
 
1591
1581
  /**
1592
- * Q10.9 — the keyboard move still waiting for the app to apply it. Only THIS
1582
+ * the keyboard move still waiting for the app to apply it. Only THIS
1593
1583
  * move can pull focus back, only within `PENDING_MOVE_MS`, only once the
1594
1584
  * rendered order puts its column where the move sent it, and only if focus is
1595
1585
  * still the table's (on it, or dropped to `<body>` by the keyed move). An
@@ -1977,7 +1967,7 @@ const onResizerPointerDown = (event: PointerEvent, key: string) => {
1977
1967
  nextKey && nextCell
1978
1968
  ? { key: nextKey, startWidth: nextCell.getBoundingClientRect().width }
1979
1969
  : null,
1980
- rtl: getComputedStyle(cell).direction === 'rtl',
1970
+ rtl: flowsRtl(cell),
1981
1971
  };
1982
1972
  resizingKey.value = key;
1983
1973
  document.addEventListener('pointermove', onResizePointerMove);
@@ -2127,7 +2117,7 @@ const positionGhost = (x: number, y: number) => {
2127
2117
  * first because they paint over their scrolled siblings.
2128
2118
  *
2129
2119
  * The dragged column takes the slot of whichever header the pointer is
2130
- * INSIDE, the moment it enters it (owner ruling 2026-08-27: no midpoint —
2120
+ * INSIDE, the moment it enters it (no midpoint —
2131
2121
  * a header with a short label and wide whitespace must react as soon as the
2132
2122
  * pointer is in its area). Stability with unequal widths comes from the
2133
2123
  * direction gate: after a swap the displaced header sits on the other side
@@ -2182,7 +2172,7 @@ const placeDraggedColumn = (rawX: number) => {
2182
2172
  toIndex = rendered.indexOf(targetKey);
2183
2173
  }
2184
2174
  if (toIndex < 0) return;
2185
- // Q10.2: a drop past a locked column stops at it.
2175
+ // a drop past a locked column stops at it.
2186
2176
  toIndex = clampToLocks(drag.key, toIndex) ?? from;
2187
2177
  if (toIndex === from) return;
2188
2178
  const after = toIndex > from;
@@ -2296,7 +2286,7 @@ const startDrag = () => {
2296
2286
  }
2297
2287
  drag.row.addEventListener('lostpointercapture', onLostPointerCapture);
2298
2288
  drag.base = lockedOrderOf(order.value);
2299
- drag.rtl = getComputedStyle(drag.row).direction === 'rtl';
2289
+ drag.rtl = flowsRtl(drag.row);
2300
2290
  drag.scrollport = resolveScrollport();
2301
2291
  drag.lastMoveX = drag.x0;
2302
2292
  drag.target = null;
@@ -2398,7 +2388,7 @@ const onHeaderPointerDown = (event: PointerEvent) => {
2398
2388
  const key = cell.dataset.columnKey;
2399
2389
  const column = orderedColumns.value.find((c) => String(c.key) === key);
2400
2390
  if (!column) return;
2401
- // Q10.2: a locked column's header is not a grab surface (a click sorts).
2391
+ // a locked column's header is not a grab surface (a click sorts).
2402
2392
  if (lockedColumnKeys.value.has(key)) return;
2403
2393
 
2404
2394
  drag = {
@@ -2456,7 +2446,7 @@ const { data: highlightedIndexedByHash } = useIndexById({
2456
2446
  });
2457
2447
 
2458
2448
  /*
2459
- * Declared up here, not beside the expand controllers that use it (Q49.3):
2449
+ * Declared up here, not beside the expand controllers that use it:
2460
2450
  * `flatRows` reads it, and `watch(bodyRows)` evaluates `flatRows` during
2461
2451
  * setup. With rows already present at setup (items the server resolved),
2462
2452
  * a later declaration threw "Cannot access … before initialization" on
@@ -2466,7 +2456,7 @@ const { data: expandedItemsIndexedByHash } = useIndexById({
2466
2456
  items: expandedItems,
2467
2457
  });
2468
2458
 
2469
- // Row reorder (owner 2026-10-08, S28): a row expanded or collapsed while a
2459
+ // Row reorder: a row expanded or collapsed while a
2470
2460
  // row drag or keyboard lift runs changes the units under it — the drag ends,
2471
2461
  // nothing is emitted.
2472
2462
  watch(
@@ -2649,7 +2639,7 @@ const { state: contextState, isReady: contextIsReady } = useBbTableHost(
2649
2639
  sort.value = value;
2650
2640
  },
2651
2641
  },
2652
- // Q10.1: the column order, like `sort` — a "Columns" menu outside the
2642
+ // the column order, like `sort` — a "Columns" menu outside the
2653
2643
  // table reads and resets it by id.
2654
2644
  order: {
2655
2645
  get: () => order.value,
@@ -3100,7 +3090,7 @@ const columnIntervals = computed(() => {
3100
3090
  }
3101
3091
  // An overflow sits past the parent's edge, not in its order: it leaves
3102
3092
  // the cursor where it was, or every later claim would read as "before
3103
- // the cursor" and be demoted with it (Q79.11).
3093
+ // the cursor" and be demoted with it.
3104
3094
  if (!interval.overflow) cursor = Math.max(cursor, interval.end);
3105
3095
  return interval;
3106
3096
  });
@@ -3240,7 +3230,7 @@ const fillColumnIndex = computed(() => {
3240
3230
  // folded into the edge columns as the structural offset, keeping the table
3241
3231
  // aligned to the parent. `offsetStartValue` becomes the first column's padding.
3242
3232
  /*
3243
- * Nested geometry — the decision tree (plans/BBTABLE-GRID.md § v2.2).
3233
+ * Nested geometry — the decision tree.
3244
3234
  *
3245
3235
  * Every table publishes three kinds of rail: `select` = the START REGION
3246
3236
  * (everything left of the first content column), `0…N-1` = the pure content
@@ -3461,7 +3451,7 @@ const parentTracksPublished = computed(
3461
3451
  * length — `toLength()` passes these through verbatim. They size the track
3462
3452
  * directly and must never be wrapped in `calc()`/`minmax()`: `minmax(0, 1fr)`
3463
3453
  * used as the floor of the all-frozen `minmax(<width>, <n>fr)` made the
3464
- * template invalid, and an invalid template drops EVERY track (Q53.31).
3454
+ * template invalid, and an invalid template drops EVERY track.
3465
3455
  */
3466
3456
  const isTrackKeyword = (value: string): boolean =>
3467
3457
  /^(auto|min-content|max-content|(fit-content|minmax)\(.*\)|-?[\d.]+fr)$/.test(
@@ -3887,7 +3877,7 @@ const measureTracks = () => {
3887
3877
  const signature = `${columnOrderKey.value}|${joined}`;
3888
3878
  // A pin config the pin watch could not apply (the table was hidden then)
3889
3879
  // is still owed even when the tracks match the last publish — a re-show
3890
- // changes no track (Q10.10).
3880
+ // changes no track.
3891
3881
  const pinsOwed = fixedColumnsKey.value !== appliedPinsKey;
3892
3882
  if (signature === publishedTracks) {
3893
3883
  if (pinsOwed) applyPins(root, resolved);
@@ -4068,6 +4058,7 @@ watch(
4068
4058
  * text fills a template (`Select {0}`, `{0} auswählen`, `{0}を選択`), so each
4069
4059
  * locale puts the verb where its grammar wants it.
4070
4060
  */
4061
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- internal: the row arrives from the table's row projection erased (`MappedItem.item`) and goes to the typed `accessibleLabel` as is
4071
4062
  const getAccessibleLabel = (columns: MappedCell[], item: any) =>
4072
4063
  props.accessibleLabel
4073
4064
  ? props.accessibleLabel(columns, item)
@@ -4076,7 +4067,7 @@ const getAccessibleLabel = (columns: MappedCell[], item: any) =>
4076
4067
  const containerTag = computed(() => (props.selectable ? 'fieldset' : 'div'));
4077
4068
 
4078
4069
  /**
4079
- * The fieldset's accessible name (BTG-007). `legend` is the specific,
4070
+ * The fieldset's accessible name. `legend` is the specific,
4080
4071
  * consumer-authored source; without it we reuse `caption` (already
4081
4072
  * describing the table's content) rather than leave the fieldset nameless;
4082
4073
  * only when NEITHER is set does it fall back to a generic localized string.
@@ -4116,7 +4107,7 @@ const hasProvidedAccessibilityData = computed(
4116
4107
  const containerClass = computed(() => ({
4117
4108
  'bb-table': true,
4118
4109
  [`bb-table--align-${props.align}`]: true,
4119
- 'bb-table--compact': props.compact,
4110
+ 'bb-table--compact': configDefaults.compact,
4120
4111
  'bb-table--reorderable': !!props.reorderable,
4121
4112
  'bb-table--rows-reorderable': rowDragActive.value,
4122
4113
  'bb-table--resizable': canResize.value,
@@ -4137,7 +4128,7 @@ const containerClass = computed(() => ({
4137
4128
  'bb-table--overflow-left': overflowLeft.value,
4138
4129
  'bb-table--overflow-right': overflowRight.value,
4139
4130
  // A side with pinned columns: its cue is the pinned edge's strip, not the
4140
- // mask (Q61.20).
4131
+ // mask.
4141
4132
  'bb-table--pinned-left': pinnedLeft.value,
4142
4133
  'bb-table--pinned-right': pinnedRight.value,
4143
4134
  'scrollbar-border': true,
@@ -4174,8 +4165,8 @@ const { hasPrefilled, whenPrefilled } = usePrefill({
4174
4165
  clientReproducible,
4175
4166
  trigger: true,
4176
4167
  fn: async () => {
4177
- // The table has no search field: no `query` in the context (owner ruling).
4178
- // `pruneIncoherent` runs on an APPLIED result only (Q43.9 E1): a
4168
+ // The table has no search field: no `query` in the context.
4169
+ // `pruneIncoherent` runs on an APPLIED result only: a
4179
4170
  // superseded or failed load did not write the rows it would prune against.
4180
4171
  const outcome = await getter(undefined, 'initial', contextState.selected);
4181
4172
  if (outcome === 'applied') pruneIncoherent();
@@ -4204,7 +4195,7 @@ const { options, baseOptions } = useBaseOptions({
4204
4195
  });
4205
4196
 
4206
4197
  /**
4207
- * Q83.2: the body shows its empty row (no row, the load settled), for the
4198
+ * the body shows its empty row (no row, the load settled), for the
4208
4199
  * `#thead` / `#tfoot` scopes.
4209
4200
  */
4210
4201
  const tableEmpty = computed(() => !loading.value && !options.value.length);
@@ -4214,7 +4205,7 @@ const tableEmpty = computed(() => !loading.value && !options.value.length);
4214
4205
  watch(baseOptions, () => rowReorder.sync(), { flush: 'post' });
4215
4206
 
4216
4207
  /**
4217
- * Q23.1: which edge rows render. A row exists while a RENDERED column has its
4208
+ * which edge rows render. A row exists while a RENDERED column has its
4218
4209
  * `#<key>:first` / `#<key>:last` slot (a hidden column's slot creates
4219
4210
  * nothing), and only over rows: the empty state and the first-load skeleton
4220
4211
  * show neither (the cells need the column sizes), a refetch over rows keeps
@@ -4272,8 +4263,8 @@ useHashedWatcher(
4272
4263
  if (!hasPrefilled.value) {
4273
4264
  return;
4274
4265
  }
4275
- // A page or page-size move alone reports `'pagination'` (owner ruling
4276
- // 2026-09-30); a `dependencies` / `items` change, with or without a page
4266
+ // A page or page-size move alone reports `'pagination'`;
4267
+ // a `dependencies` / `items` change, with or without a page
4277
4268
  // move, reports `'dependencies'`.
4278
4269
  const changed = (index: number) =>
4279
4270
  hash(value?.[index]) !== hash(oldValue?.[index]);
@@ -4304,6 +4295,7 @@ const pruneIncoherent = () => {
4304
4295
  const isCoherent = (value: unknown) => rowHashes.has(hash(value));
4305
4296
 
4306
4297
  if (props.multiple) {
4298
+ // 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`
4307
4299
  const selected: any[] = contextState.selected ?? [];
4308
4300
  if (!selected.every(isCoherent)) {
4309
4301
  contextState.selected = selected.filter(isCoherent);
@@ -4331,7 +4323,7 @@ const pruneIncoherent = () => {
4331
4323
 
4332
4324
  /**
4333
4325
  * A cell's value as the table shows it: formatter, then placeholder. `kind`
4334
- * names what came out (Q75.8): a `value`, the column's `placeholder`, or
4326
+ * names what came out: a `value`, the column's `placeholder`, or
4335
4327
  * nothing (`null`: a nil result and no placeholder).
4336
4328
  */
4337
4329
  const cellResultOf = (
@@ -4357,7 +4349,7 @@ const mapColumnToCell = (
4357
4349
  ): MappedCell => {
4358
4350
  const content = () => result().content;
4359
4351
  const slotName = slotNamesByKey.value[column.key];
4360
- const align = column.align ?? 'left';
4352
+ const align = column.align ?? 'start';
4361
4353
 
4362
4354
  return {
4363
4355
  align,
@@ -4396,7 +4388,7 @@ const mapColumnToCell = (
4396
4388
  };
4397
4389
 
4398
4390
  /**
4399
- * CONTENT-ESTIMATED FLOORS (Q9.1b). An unsized column of a root table is an
4391
+ * CONTENT-ESTIMATED FLOORS. An unsized column of a root table is an
4400
4392
  * `auto` track, whose minimum is the longest word in it: a long description
4401
4393
  * collapses to a ribbon of one word per line while an email next to it
4402
4394
  * refuses to shrink, and a table of many columns overflows for no reason.
@@ -4534,7 +4526,7 @@ const columnEstimates = computed(() => {
4534
4526
  const profiles = columnProfiles.value;
4535
4527
  const padEm = floorMetrics.value?.padEm ?? 1.5;
4536
4528
  const headerType = floorMetrics.value?.head;
4537
- // Before Q75.3 the floors were figured in em of the table root (16px),
4529
+ // Before the floors were figured in em of the table root (16px),
4538
4530
  // not of the body text: the old floor AS IT RENDERED is the one a table
4539
4531
  // fitted at, so the balance rule ("a table that fitted must not start to
4540
4532
  // scroll", see `fitFloors`) compares against that.
@@ -4562,7 +4554,7 @@ const columnEstimates = computed(() => {
4562
4554
  measured.labelOf(key, arrowEm)
4563
4555
  );
4564
4556
  estimate.squeeze = (estimate.squeeze - legacyPadEm) * legacyScale + padEm;
4565
- // Only our own label wraps (Q76.9 e): a header slot or an affix keeps
4557
+ // Only our own label wraps: a header slot or an affix keeps
4566
4558
  // its heading on one line, so the fit must not count on two.
4567
4559
  if (!ownsHeading(column)) {
4568
4560
  estimate.labelWrap = estimate.label;
@@ -4625,7 +4617,7 @@ const fluidColumnKeys = computed(
4625
4617
  * column its wish, in `--bb-fs` (the body text's size, the estimate's em).
4626
4618
  */
4627
4619
  /**
4628
- * The header's type, read on the client (engines gate, Q13.1): a
4620
+ * The header's type, read on the client (engines gate): a
4629
4621
  * `header-row-class` with letter-spacing, a larger size or `uppercase` made
4630
4622
  * the label wider than its estimate, clipped by 14px off Chromium.
4631
4623
  */
@@ -4681,7 +4673,7 @@ const holdClass = computed(() => {
4681
4673
  ? `bb-table__table--hold-${hold}`
4682
4674
  : undefined;
4683
4675
  });
4684
- /** Headings given two lines so the table fits (Q76.9 e): `--wrap`. */
4676
+ /** Headings given two lines so the table fits: `--wrap`. */
4685
4677
  const wrapLabelKeys = computed(() => fittedFloors.value.wrapLabels);
4686
4678
 
4687
4679
  /** Header style per estimated column: `--floor`, the spacer's width. */
@@ -4887,7 +4879,7 @@ onBeforeUnmount(() => {
4887
4879
  });
4888
4880
 
4889
4881
  /**
4890
- * THE SCROLL CUE (Q53.10). A table wider than its box used to give no sign
4882
+ * THE SCROLL CUE. A table wider than its box used to give no sign
4891
4883
  * of it on a phone — a column cut at the right edge was the only hint. Each
4892
4884
  * side with content hidden past it now carries a state class
4893
4885
  * (`--overflow-left` / `--overflow-right`), and the CSS fades the content at
@@ -4902,7 +4894,7 @@ onBeforeUnmount(() => {
4902
4894
  * pinned columns on a side the fade starts at their inner edge (`--pin-l` /
4903
4895
  * `--pin-r`, published here).
4904
4896
  *
4905
- * A side WITH pinned columns is not masked (Q61.20): the mask faded the row
4897
+ * A side WITH pinned columns is not masked: the mask faded the row
4906
4898
  * tints in its band, so a hovered or highlighted row showed a pale strip
4907
4899
  * beside the opaque pinned cell. There the root carries `--pinned-left` /
4908
4900
  * `--pinned-right`, and the innermost pinned cell (`data-pin-edge`, stamped
@@ -4965,7 +4957,7 @@ const readOverflow = () => {
4965
4957
  overflowRange = isInheriting.value
4966
4958
  ? 0
4967
4959
  : container.scrollWidth - container.clientWidth;
4968
- overflowRtl = getComputedStyle(container).direction === 'rtl';
4960
+ overflowRtl = flowsRtl(container);
4969
4961
  scrollable.value =
4970
4962
  !isInheriting.value &&
4971
4963
  (overflowRange > 1 || container.scrollHeight - container.clientHeight > 1);
@@ -4988,7 +4980,7 @@ const readOverflow = () => {
4988
4980
  };
4989
4981
 
4990
4982
  /**
4991
- * The scroller's keyboard stop (engines gate, Q13.1). Chromium makes a
4983
+ * The scroller's keyboard stop (engines gate). Chromium makes a
4992
4984
  * scroller a tab stop only when nothing inside can take focus; Firefox makes
4993
4985
  * any scroller one (a `keyboardNavigation` table had TWO stops, the root and
4994
4986
  * the grid's cell); WebKit never does (an overflowing plain table could not
@@ -5065,8 +5057,8 @@ onBeforeUnmount(() => {
5065
5057
 
5066
5058
  const mappedHeaders = computed(() =>
5067
5059
  orderedColumns.value.map((column: BbTableColumn<Item>): MappedHeader => {
5068
- const align = column.align ?? 'left';
5069
- // Key first (Q59): `#<key>:header`, never the table-wide
5060
+ const align = column.align ?? 'start';
5061
+ // Key first: `#<key>:header`, never the table-wide
5070
5062
  // `#header:prepend` / `#header:append`, whatever the key.
5071
5063
  const slotName = `${slotNamesByKey.value[column.key]}:header`;
5072
5064
  // The live sort model wins over the static `sorted` column flag.
@@ -5440,7 +5432,7 @@ const mappedItemAt = (row: FlatRow): MappedItem => {
5440
5432
  return mapped;
5441
5433
  };
5442
5434
 
5443
- /* --- Grid tab stop (Q52.4) -------------------------------------------------
5435
+ /* --- Grid tab stop -------------------------------------------------
5444
5436
  Under `role="grid"` / `role="treegrid"` (`tableRole`) the table is ONE tab
5445
5437
  stop, a roving tabindex over its cells (and, in a treegrid, its rows). The
5446
5438
  state lives here, ahead of the virtualizer, because the virtualizer's range
@@ -5449,7 +5441,7 @@ const mappedItemAt = (row: FlatRow): MappedItem => {
5449
5441
 
5450
5442
  /**
5451
5443
  * The grammar's ids of the rows that are not body rows: the header row and the
5452
- * Q23.1 edge rows (`#<key>:first` / `#<key>:last`, Q61.11). Body rows are their
5444
+ * Edge rows (`#<key>:first` / `#<key>:last`). Body rows are their
5453
5445
  * flat index, `0` and up.
5454
5446
  */
5455
5447
  const HEADER_ROW = -1;
@@ -5584,12 +5576,12 @@ const flatRows = computed<FlatRow[]>(() => {
5584
5576
  let expandedRows = 0;
5585
5577
  const indexPageOffset =
5586
5578
  ((contextState.page ?? 0) - 1) * (contextState.perPage ?? 0);
5587
- // The header row, and the `first` edge row when there is one (Q23.1).
5579
+ // The header row, and the `first` edge row when there is one.
5588
5580
  const headRowOffset = 1 + Number(edgeRows.value.first);
5589
5581
  baseOptions.value.forEach((base, index) => {
5590
5582
  // `in`, not `[hash] ?? false`: the index stores the VALUE, so an item whose
5591
5583
  // `item-value` is `0` (or `''`, or `false`) indexed to a falsy hit and read
5592
- // as "not expanded" — the row simply never opened (Q11.5). Highlight and
5584
+ // as "not expanded" — the row simply never opened. Highlight and
5593
5585
  // selection already test membership rather than truthiness.
5594
5586
  const expanded = base.valueHash in expandedItemsIndexedByHash.value;
5595
5587
  const rowIndex = indexPageOffset + headRowOffset + index + 1 + expandedRows;
@@ -5705,7 +5697,7 @@ const syncVirtualScroller = () => {
5705
5697
  el = el.parentElement;
5706
5698
  }
5707
5699
  }
5708
- // The data rows start below the `first` edge row (Q23.1): its LAYOUT
5700
+ // The data rows start below the `first` edge row: its LAYOUT
5709
5701
  // height, which a stuck row keeps.
5710
5702
  const firstRow = body.querySelector<HTMLElement>(
5711
5703
  ':scope > .bb-table__edge-row--first'
@@ -5719,7 +5711,7 @@ const syncVirtualScroller = () => {
5719
5711
  (scroller as HTMLElement).getBoundingClientRect().top +
5720
5712
  (scroller as HTMLElement).scrollTop;
5721
5713
  // Assign only on a real change. This is what makes the synchronous call in
5722
- // the container's ResizeObserver safe (Q12.2): resolving to the same scroller
5714
+ // the container's ResizeObserver safe: resolving to the same scroller
5723
5715
  // and the same margin writes nothing, so it triggers no render, so it cannot
5724
5716
  // resize the box that just notified us — which is how a ResizeObserver loop
5725
5717
  // starts.
@@ -5792,7 +5784,7 @@ let virtualFlushFrame = 0;
5792
5784
  *
5793
5785
  * THE TRIGGER IS NOT A VELOCITY. It used to be — 6px/ms — and a brisk
5794
5786
  * two-finger drag crossed it on a machine that had no trouble keeping up,
5795
- * which is the whole of the owner's complaint (FOLLOWUPS Q11.6). What matters
5787
+ * which is the whole of the owner's complaint. What matters
5796
5788
  * is not how fast the reader scrolls but whether THIS table, on THIS machine,
5797
5789
  * with THIS row shape, can put a window on screen before the scroll has
5798
5790
  * carried it away. Both halves of that are measured, not assumed:
@@ -5881,7 +5873,7 @@ const noteVirtualScroll = (offset: number) => {
5881
5873
  * every entry to the end — O(rows). A mean over a list whose rows are 32px and
5882
5874
  * 114px lands near 44 and therefore matches NOTHING, so every row scrolled into
5883
5875
  * view for the first time paid that rebuild: at 50,000 rows a drag stalled
5884
- * 300–460ms (Q11.7, named by the CPU profile as `Virtualizer.getMeasurements`).
5876
+ * 300–460ms (named by the CPU profile as `Virtualizer.getMeasurements`).
5885
5877
  * The mode matches the majority exactly — a uniform table then never disagrees
5886
5878
  * at all, and the 32/114 table disagrees only on the tall minority. Rounded
5887
5879
  * because a measured height is a whole number of device pixels and a fractional
@@ -5910,7 +5902,7 @@ const syncVirtualMean = () => {
5910
5902
  virtualMeanCacheSize = cache.size;
5911
5903
  // Latched (below): the estimate no longer moves until the row list changes,
5912
5904
  // so the tally would be computed only to be thrown away — a full walk of a
5913
- // cache that grows with every row scrolled into view (Q44.23). The
5905
+ // cache that grows with every row scrolled into view. The
5914
5906
  // placeholder height still follows on this cadence.
5915
5907
  if (virtualEstimateLatched) {
5916
5908
  syncPlaceholderRowHeight();
@@ -6144,6 +6136,7 @@ const rowVirtualizer = useVirtualizer(
6144
6136
  onChange: virtualOnChange,
6145
6137
  count: virtualActive.value ? flatRows.value.length : 0,
6146
6138
  enabled: virtualActive.value,
6139
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- TanStack Virtual's options are typed per scroll element (an `Element` or the `Window`); this one object serves both, picked at runtime by `isWindow`
6147
6140
  getScrollElement: () => scroller as any,
6148
6141
  estimateSize: virtualEstimateSize,
6149
6142
  getItemKey: virtualItemKey,
@@ -6174,6 +6167,7 @@ const rowVirtualizer = useVirtualizer(
6174
6167
  ? observeWindowOffset
6175
6168
  : observeElementOffset,
6176
6169
  scrollToFn: isWindow ? windowScroll : elementScroll,
6170
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- TanStack Virtual's options are typed per scroll element (an `Element` or the `Window`); this one object serves both, picked at runtime by `isWindow`
6177
6171
  } as any;
6178
6172
  })
6179
6173
  );
@@ -6235,7 +6229,7 @@ const measureVirtualRow = (el: unknown) => {
6235
6229
  * first frame. Both reach `bodyRows` with the rows in hand and the virtualizer
6236
6230
  * still counting zero: its options are pushed by a watcher, which never runs
6237
6231
  * on the server and lands after the first client render, so `flushVirtual`
6238
- * had nothing to publish (Queue 36: a virtual table server-rendered an empty
6232
+ * had nothing to publish (a virtual table server-rendered an empty
6239
6233
  * body, and the client's hydration frame was just as empty). Rendering this
6240
6234
  * window on both sides keeps the server HTML and the hydration frame identical
6241
6235
  * AND painted; the first real flush replaces it with the virtualizer's own
@@ -6451,7 +6445,7 @@ const armVirtualObserver = () => {
6451
6445
  });
6452
6446
  };
6453
6447
  if (virtualScroller.value === container) {
6454
- // Synchronously, not deferred (Q12.2). The container losing its bound —
6448
+ // Synchronously, not deferred. The container losing its bound —
6455
6449
  // a `max-height` dropped at a breakpoint — means the page is the scroller
6456
6450
  // now, and until that is resolved the window is computed against a
6457
6451
  // scrollport that no longer exists: for one frame the range extractor's
@@ -6463,7 +6457,7 @@ const armVirtualObserver = () => {
6463
6457
  virtualContainerObserver.observe(container);
6464
6458
  } else {
6465
6459
  window.addEventListener('resize', schedule);
6466
- // Q12.3. In page mode the window position depends on `scrollMargin` — how
6460
+ // In page mode the window position depends on `scrollMargin` — how
6467
6461
  // far the body sits from the top of the document — and a window resize is
6468
6462
  // not the only thing that moves it. Anything ABOVE the table changing
6469
6463
  // height does: an accordion opening, a banner arriving, an image finally
@@ -6489,7 +6483,7 @@ const armVirtualObserver = () => {
6489
6483
  watch(virtualScroller, armVirtualObserver);
6490
6484
 
6491
6485
  /**
6492
- * Q23.1: the `first` edge row sits between the body's top and the data rows,
6486
+ * the `first` edge row sits between the body's top and the data rows,
6493
6487
  * so its height is part of `scrollMargin`. Re-read it when the row comes or
6494
6488
  * goes and whenever it resizes — in a bounded container nothing else would
6495
6489
  * notice (the container keeps its size).
@@ -6592,7 +6586,7 @@ onBeforeUnmount(() => {
6592
6586
  if (virtualFlushFrame) cancelAnimationFrame(virtualFlushFrame);
6593
6587
  });
6594
6588
 
6595
- /* --- Grid keyboard (Q52.4) --------------------------------------------------
6589
+ /* --- Grid keyboard --------------------------------------------------
6596
6590
  The APG data grid (role="grid") and treegrid (role="treegrid") grammars, on
6597
6591
  ONE delegated listener on the grid root. Focus is on cells; a treegrid's rows
6598
6592
  take focus too. Header cells keep their own reorder / resize / sort chords
@@ -6621,7 +6615,7 @@ const bodyRowElement = (index: number) =>
6621
6615
  `:scope > [role="row"][data-index="${index}"]`
6622
6616
  ) ?? null;
6623
6617
 
6624
- /** An edge row (Q23.1), by its grammar id. */
6618
+ /** An edge row, by its grammar id. */
6625
6619
  const edgeRowElement = (row: number) =>
6626
6620
  bodyRef.value?.querySelector<HTMLElement>(
6627
6621
  `:scope > .bb-table__edge-row--${row === EDGE_FIRST_ROW ? 'first' : 'last'}`
@@ -6913,7 +6907,7 @@ const onGridFocusOut = (event: FocusEvent) => {
6913
6907
 
6914
6908
  /**
6915
6909
  * Shift+Space: the row's selection, as a Shift+click on its checkbox — the
6916
- * range from the last toggled row (Q60.12), or the row alone without one.
6910
+ * range from the last toggled row, or the row alone without one.
6917
6911
  */
6918
6912
  const toggleGridRowSelection = (row: number) => {
6919
6913
  const flat = flatRows.value[row];
@@ -6938,7 +6932,7 @@ const activateGridRow = (hit: GridHit) => {
6938
6932
  * The rows a vertical move goes through, top to bottom, as a rank: the header
6939
6933
  * (when navigable), the first edge row, the body rows (rank = flat index), the
6940
6934
  * last edge row — each only when it exists, so the ranks have no holes and a
6941
- * table without edge rows moves exactly as before (Q61.11).
6935
+ * table without edge rows moves exactly as before.
6942
6936
  */
6943
6937
  const gridRowRank = (row: number) => {
6944
6938
  if (row >= 0) return row;
@@ -7016,7 +7010,7 @@ const onGridKeydown = (event: KeyboardEvent) => {
7016
7010
  // have (selection is by row): only Shift+Space is ours.
7017
7011
  if (event.shiftKey && key !== ' ') return;
7018
7012
  const ctrl = event.ctrlKey;
7019
- const rtl = getComputedStyle(hit.rowEl).direction === 'rtl';
7013
+ const rtl = isRtl(hit.rowEl);
7020
7014
  const forward = rtl ? 'ArrowLeft' : 'ArrowRight';
7021
7015
  const backward = rtl ? 'ArrowRight' : 'ArrowLeft';
7022
7016
  const last = flatRows.value.length - 1;
@@ -7325,7 +7319,7 @@ const isSelectToggleBlocked = (item: MappedItem): boolean => {
7325
7319
  };
7326
7320
 
7327
7321
  /**
7328
- * Q60.12: the row a Shift+click extends from — the last row toggled, by value
7322
+ * the row a Shift+click extends from — the last row toggled, by value
7329
7323
  * hash. Plain, not reactive: nothing renders from it.
7330
7324
  */
7331
7325
  let selectionAnchor: string | undefined;
@@ -7337,8 +7331,8 @@ const toggleSelectedFor = (item: MappedItem) => {
7337
7331
  };
7338
7332
 
7339
7333
  /**
7340
- * Shift+click on a row's built-in checkbox, and Shift+Space in the grid
7341
- * (Q60.12, owner 2026-10-06): every row from the anchor to this one takes the
7334
+ * Shift+click on a row's built-in checkbox, and Shift+Space in the grid:
7335
+ * every row from the anchor to this one takes the
7342
7336
  * clicked row's NEW state, in the order the rows show. Rules:
7343
7337
  * - the rows are this page's (`options`): an anchor on another page, or gone
7344
7338
  * after a refetch, means no anchor, and the click toggles this row alone;
@@ -7566,7 +7560,7 @@ const dataRowContext = computed<DataRowContext>(() => ({
7566
7560
  rowReorder: rowReorderContext.value,
7567
7561
  }));
7568
7562
 
7569
- /** The edge rows' shared context (Q23.1), stable across window moves. */
7563
+ /** The edge rows' shared context, stable across window moves. */
7570
7564
  const edgeRowContext = computed<EdgeRowContext>(() => ({
7571
7565
  passthrough,
7572
7566
  slots,
@@ -7578,7 +7572,7 @@ const edgeRowContext = computed<EdgeRowContext>(() => ({
7578
7572
  rowHeaderKeys: rowHeaderKeys.value,
7579
7573
  contentInert: contentInert.value,
7580
7574
  columns: orderedColumns.value.map((column) => {
7581
- const align = column.align ?? 'left';
7575
+ const align = column.align ?? 'start';
7582
7576
  return {
7583
7577
  key: String(column.key),
7584
7578
  slotName: slotNamesByKey.value[column.key],
@@ -7604,7 +7598,7 @@ const edgeRowIndex = computed(() => {
7604
7598
  });
7605
7599
 
7606
7600
  /**
7607
- * Q61.10: the `aria-rowindex` of the body's final row, once the pager facts
7601
+ * the `aria-rowindex` of the body's final row, once the pager facts
7608
7602
  * are known — the header, every item (`totalItems`, not the page or the
7609
7603
  * virtual window), the edge rows and the open expand rows. Expand rows are
7610
7604
  * counted where the table knows them: the rows it holds (every row under
@@ -7630,7 +7624,7 @@ const lastBodyRowIndex = computed(() => {
7630
7624
  });
7631
7625
 
7632
7626
  /**
7633
- * Q61.10: the `#tfoot` rows. They are the consumer's markup, so the table
7627
+ * the `#tfoot` rows. They are the consumer's markup, so the table
7634
7628
  * numbers them after render: each `role="row"` the foot rowgroup owns gets the
7635
7629
  * next `aria-rowindex` after the body, kept current as the footer's content or
7636
7630
  * the body's count changes, and counts in `aria-rowcount`. An `aria-rowindex`
@@ -7790,7 +7784,7 @@ watch(
7790
7784
  // need a fresh read — it moves cells between tracks and this
7791
7785
  // post-flush watch can run before the header cells' resize is
7792
7786
  // delivered — so that identity check stays.
7793
- // Not gated on `virtual` any more (Q12.9). The argument was always about
7787
+ // Not gated on `virtual` any more. The argument was always about
7794
7788
  // GEOMETRY, not about windowing: `lastResolvedTracks` is republished by
7795
7789
  // `measureTracks`, which runs from the header cells' ResizeObserver —
7796
7790
  // a header cell is a stretched subgrid item whose border box IS the
@@ -7865,6 +7859,7 @@ import type { ItemAccessor } from '@/types/ItemAccessor';
7865
7859
  import type { BbTableItemsContext } from '@/types/ItemsProvider';
7866
7860
  import type { Option } from '@/types/Option';
7867
7861
  import type { InputHTMLAttributes } from 'vue';
7862
+ import type { BbTablePtKeys } from './ptKeys.generated';
7868
7863
 
7869
7864
  /**
7870
7865
  * Recursively builds dot-notation paths from a type's keys.
@@ -7875,7 +7870,7 @@ type NestedPaths<T, Depth extends unknown[] = []> = Depth['length'] extends 3
7875
7870
  : 0 extends 1 & T
7876
7871
  ? string
7877
7872
  : T extends object
7878
- ? // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type -- type-level filter must match any function shape
7873
+ ? // eslint-disable-next-line @typescript-eslint/no-unsafe-function-type, @typescript-eslint/no-explicit-any -- type-level filter must match any function, array, Map and Set shape
7879
7874
  T extends any[] | Date | Function | RegExp | Map<any, any> | Set<any>
7880
7875
  ? never
7881
7876
  : {
@@ -7940,6 +7935,7 @@ export type BaseColumn<Item = any> = {
7940
7935
  * @param key Key of the column taken from the column definition.
7941
7936
  * @param item Item of the row.
7942
7937
  */
7938
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- `content` is the cell's value read through the column `key` (a dot path, unresolved at the type level); the return is rendered as text, so any value a formatter returns is accepted
7943
7939
  formatter?: (content: any, key: string, item: Item) => any;
7944
7940
  /**
7945
7941
  * Key identifying the column.
@@ -7962,9 +7958,10 @@ export type BaseColumn<Item = any> = {
7962
7958
  */
7963
7959
  export type BbTableColumn<Item = any> = BaseColumn<Item> & {
7964
7960
  /**
7965
- * Text alignment of the column.
7961
+ * Text alignment of the column. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it.
7962
+ * Unset, the column takes the table's `align`.
7966
7963
  */
7967
- align?: 'left' | 'right' | 'center';
7964
+ align?: 'left' | 'center' | 'right' | 'start' | 'end';
7968
7965
 
7969
7966
  /**
7970
7967
  * Skeleton placeholder style shown during loading. Defaults to `'text'`.
@@ -8107,7 +8104,7 @@ export type BbTableColumn<Item = any> = BaseColumn<Item> & {
8107
8104
  };
8108
8105
 
8109
8106
  /**
8110
- * Passthrough parts of `BbTable` (plans/passthrough/BbTable.md).
8107
+ * Passthrough parts of `BbTable`.
8111
8108
  *
8112
8109
  * Per-item functions: on the instance, `row` and `expand` also accept `({ item, highlighted, … }) => PtValue | false | null | undefined` — `item` is the row's raw item (the element of `items`), and every state a boolean beside it, on for it (`highlighted`, `selected`, …) — in the `pt` object or the `:pt:row` / `:pt:expand` attribute, never on a `<part>:<state>` key and never in the global map or a scope (they ship as JSON). Its result is merged last, after every state entry, through the same deduper; a falsy result leaves the node as it was. It runs once per rendered row per render, so keep it cheap on a large table; `cell` takes no function (use `tdClass` for a per-cell hook). See the passthrough guide, _Per-item functions_.
8113
8110
  *
@@ -8328,395 +8325,397 @@ export const BB_TABLE_PT = {
8328
8325
  except: Partial<Record<BbTablePtPart, readonly BbTablePtState[]>>;
8329
8326
  };
8330
8327
 
8328
+ /**
8329
+ * BbTable's `pt:*` attributes: the documented keys, and the patterns
8330
+ * Vue's SFC resolver skips (compound keys, an app's own variant states; the
8331
+ * vue-ignore marker). This alias keeps the marker on a member right after its
8332
+ * `=`: the declaration emit drops it at the start of a line or ahead of a whole type.
8333
+ */
8334
+ type BbTablePtProps = /* @vue-ignore */ PtCompoundProps<typeof BB_TABLE_PT> &
8335
+ BbTablePtKeys;
8336
+
8331
8337
  // Spelled INLINE with this component's own unions (Vue's SFC type resolver
8332
8338
  // does not substitute a generic alias's type parameters — PASSTHROUGH.md T20).
8333
- // eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style
8334
- export type BbTableProps<Item = any> = {
8335
- [K in
8336
- | `pt:${BbTableSurfacePtPart}`
8337
- | `pt:${BbTablePtPart}:loading`
8338
- | `pt:${BbTableEmptyPtPart}:empty`
8339
- | `pt:${BbTableHeaderPtPart}:${'sorted' | 'sortedDesc'}`
8340
- | `pt:${BbTableRowPtPart}:${'expanded' | 'disabled' | 'selected' | 'highlighted'}`
8341
- | `pt:expand:${'expanded' | 'selected' | 'highlighted'}`
8342
- | `pt:selectIcon:${'selected' | 'disabled' | 'indeterminate'}`
8343
- | `pt:cell:${'value' | 'placeholder'}`]?: PtValue;
8344
- } & /* @vue-ignore */ PtCompoundProps<typeof BB_TABLE_PT> & {
8345
- // `row` and `expand` also take a per-item function, called with the row's
8346
- // item. Literal function types, not `PtItemFn` (PASSTHROUGH.md T23).
8347
- 'pt:row'?:
8348
- | PtValue
8349
- | ((ctx: PtItemCtx<PtNoInfer<Item>, BbTablePtState>) => PtItemResult);
8350
- 'pt:expand'?:
8351
- | PtValue
8352
- | ((ctx: PtItemCtx<PtNoInfer<Item>, BbTablePtState>) => PtItemResult);
8353
- /**
8354
- * Passthrough, object form: the same keys as the `pt:*` attributes
8355
- * without the prefix. See the `pt:<part>` row.
8356
- */
8357
- pt?: PtScopedItemMap<
8358
- BbTablePtKey,
8359
- 'row' | 'expand',
8360
- BbTablePtState,
8361
- PtNoInfer<Item>
8362
- >;
8363
- /**
8364
- * The label of each row's selection checkbox, from `(columns, item)`. Unset:
8365
- * the row's name in the locale's select template (its `rowHeader` cells,
8366
- * else its first column: "Select INV-1041"). The cells arrive in render
8367
- * order: look one up by `key`, never by position.
8368
- */
8369
- accessibleLabel?: (columns: MappedCell[], item: any) => string;
8370
- /**
8371
- * Label used in the header of the actions column.
8372
- */
8373
- actionsText?: string;
8374
- /**
8375
- * Text alignment of the columns.
8376
- *
8377
- * @defaultValue `'left'`
8378
- */
8379
- align?: 'left' | 'center' | 'right';
8380
- /**
8381
- * Caption describing the table's content, for accessibility.
8382
- */
8383
- caption?: string;
8384
- /**
8385
- * Array of definitions of how the columns should be rendered.
8386
- *
8387
- * Optional: the component defaults to `[]` (columns can also come entirely
8388
- * from slots/virtual keys), so the type no longer demands what the runtime
8389
- * never required.
8390
- */
8391
- columns?: Array<BbTableColumn<Item>>;
8392
- /**
8393
- * Adds a CSS class that applies a compact style to the component.
8394
- */
8395
- compact?: boolean;
8396
- /**
8397
- * Defines an array of dependencies that will trigger actions in the component upon change.
8398
- *
8399
- * @defaultValue `[]`
8400
- */
8401
- dependencies?: unknown[];
8402
- /**
8403
- * Timeout used to debounce response to changes to dependencies.
8404
- *
8405
- * @defaultValue `0`
8406
- */
8407
- depsDebounceTime?: number;
8408
- /**
8409
- * Disables the component
8410
- */
8411
- disabled?: boolean;
8412
- /**
8413
- * Hides the "Select all" checkbox that selectable multi-row tables
8414
- * display by default.
8415
- *
8416
- * @defaultValue `false`
8417
- */
8418
- disableSelectAll?: boolean;
8419
- /**
8420
- * Shows the caption as a visible title. Off by default: the caption is
8421
- * hidden, and screen readers still hear it as the table's name.
8422
- */
8423
- displayCaption?: boolean;
8424
- /**
8425
- * After every load, prunes `modelValue`, `unselected-items`, `highlighted`
8426
- * and `expanded-items` of values whose row is gone (a single value resets
8427
- * to `null`). Never on a provider-paginated table: a page change would
8428
- * prune the other pages' selection; reconcile in the provider instead.
8429
- *
8430
- * @defaultValue `false`
8431
- */
8432
- enforceCoherence?: boolean;
8433
- /**
8434
- * Used by `v-model:expandedItems`: the expanded items, toggled by the row
8435
- * expand control and by external writes, like the `highlighted` / `sort`
8436
- * v-models. Drives the `#expand` rows and their `aria-expanded` /
8437
- * `aria-controls` wiring.
8438
- *
8439
- * @defaultValue `[]`
8440
- */
8441
- expandedItems?: any[];
8442
- /**
8443
- * Gives the columns that declare no `width` an equal share of the width (a
8444
- * `minmax(0, 1fr)` track each).
8445
- */
8446
- fixed?: boolean;
8447
- /**
8448
- * Pins the actions column (the one the `#actions` slot creates) to the
8449
- * right edge, `position: sticky`, in place. It has no column definition, so
8450
- * this is its `column.fixed`. No effect without an `#actions` slot.
8451
- *
8452
- * @defaultValue `false`
8453
- */
8454
- fixedActions?: boolean;
8455
- /**
8456
- * Sticks the `#<key>:first` row to the top of the scrollport (under a
8457
- * stuck header).
8458
- *
8459
- * @defaultValue `false`
8460
- */
8461
- fixedFirst?: boolean;
8462
- /**
8463
- * Sticks the headers to the top of the table.
8464
- */
8465
- fixedHeaders?: boolean;
8466
- /**
8467
- * Sticks the `#<key>:last` row (a totals row) to the bottom of the
8468
- * scrollport.
8469
- *
8470
- * @defaultValue `false`
8471
- */
8472
- fixedLast?: boolean;
8473
- /**
8474
- * Pins the selection column to the left edge, `position: sticky`, in
8475
- * place. It has no column definition, so this is its `column.fixed`. No
8476
- * effect unless the table is `selectable`.
8477
- *
8478
- * @defaultValue `false`
8479
- */
8480
- fixedSelect?: boolean;
8481
- /**
8482
- * Classes for the header row.
8483
- */
8484
- headerRowClass?: Classes;
8485
- /**
8486
- * Which rows a click, Enter or `toggleHighlighted` may highlight: `false`
8487
- * for none, or a function of the row's item. Unset: every row, when
8488
- * `highlighted` is bound. A value the app sets still shows on a refused row.
8489
- */
8490
- highlightable?: boolean | ((item: Item) => boolean);
8491
- /**
8492
- * Used by `v-model:highlighted`: the one row the UI is about (say, whose
8493
- * details are open), a single item value or `null`. Opt-in: bound,
8494
- * a row click highlights; unbound, it only emits `click:row`. The row gets
8495
- * `aria-current="true"` and a shipped tint.
8496
- */
8497
- highlighted?: any;
8498
- /**
8499
- * Stable id for this table's width context. When omitted a unique id is
8500
- * generated. Nested tables use the nearest ancestor id to inherit widths.
8501
- */
8502
- id?: string;
8503
- /**
8504
- * Snaps a nested table's columns to an ancestor table's tracks: `true` = the
8505
- * nearest one, a table `id` = that one (when a table in between has a
8506
- * different column count). Off by default: a nested table sizes itself.
8507
- */
8508
- inheritColumnWidths?: boolean | string;
8509
- /**
8510
- * Keeps the header and rows interactive while loading (by default they are
8511
- * `inert`: a refetch is about to replace them). For background refreshes
8512
- * that must not interrupt an open editor.
8513
- */
8514
- interactiveWhileLoading?: boolean;
8515
- /**
8516
- * Rows to render: an array, or a provider called with a
8517
- * `BbTableItemsContext` (`reason`, `modelValue`, `signal`), sync or async.
8518
- * A provider fails by THROWING, never by returning `[]`: the rows clear and
8519
- * `#empty` gets the `error`. Return the page as it is.
8520
- *
8521
- * @defaultValue `[]`
8522
- */
8523
- items:
8524
- | Item[]
8525
- | ((context: BbTableItemsContext) => Item[] | Promise<Item[]>);
8526
- /**
8527
- * The row's value, as a property path or a function returning any value;
8528
- * the selection, `expandedItems` and row keys compare by it.
8529
- */
8530
- itemValue?: ItemAccessor<Item>;
8531
- /**
8532
- * Opt-in keyboard navigation: the table becomes an ARIA `grid` (`treegrid`
8533
- * with an `#expand` slot) with ONE tab stop and roving focus over its cells.
8534
- * Controls in cells leave the tab order (Enter/F2 go in). Ignored with a
8535
- * `#tbody` slot.
8536
- */
8537
- keyboardNavigation?: boolean;
8538
- /**
8539
- * The `<legend>` of a `selectable` table (it renders as a `<fieldset>`):
8540
- * the selection's accessible name. Falls back to `caption`, then to a
8541
- * localized default.
8542
- */
8543
- legend?: string;
8544
- /**
8545
- * Loading state: skeletons with no rows yet, else the rows stay on screen,
8546
- * dimmed, under an indeterminate bar. A refetch never blanks a table the
8547
- * user is reading.
8548
- */
8549
- loading?: boolean;
8550
- /**
8551
- * Screen-reader announcement for the loading row's `aria-live` status.
8552
- * Visually hidden — the skeleton (or the `#loading` slot) is the visible
8553
- * signal.
8554
- *
8555
- * @defaultValue the localized `common.loadingText` ("Loading...")
8556
- */
8557
- loadingText?: string;
8558
- /**
8559
- * Maximum number of items that can be selected.
8560
- *
8561
- * @defaultValue `Infinity`
8562
- */
8563
- max?: number;
8564
- /**
8565
- * Used by v-model. Can be any serializable type.
8566
- *
8567
- * @defaultValue `[]`
8568
- */
8569
- modelValue?: any;
8570
- /**
8571
- * A plain click on a sortable header adds the column to the sort, as
8572
- * Shift+click always does. Off, a plain click makes the sort that column
8573
- * alone.
8574
- *
8575
- * @defaultValue `false`
8576
- */
8577
- multiSort?: boolean;
8578
- /**
8579
- * Allows the selection of multiple items.
8580
- *
8581
- * @defaultValue `true`
8582
- */
8583
- multiple?: boolean;
8584
- /**
8585
- * Defines the name of the input.
8586
- */
8587
- name?: InputHTMLAttributes['name'];
8588
- /**
8589
- * Text shown when there are no items.
8590
- *
8591
- * @defaultValue the localized `common.emptyText` ("No data to display")
8592
- */
8593
- emptyText?: string;
8594
- /**
8595
- * String displayed in the empty state while the latest load FAILED (the
8596
- * `items` provider threw): the twin of `emptyText` for that case.
8597
- *
8598
- * @defaultValue the localized `common.failedText` ("Couldn't load items")
8599
- */
8600
- failedText?: string;
8601
- /**
8602
- * Used by `v-model:order`: the column keys in render order. Columns it
8603
- * omits follow in declaration order; unknown keys stay put.
8604
- * A `reorderable` move writes it back complete. Works unbound, like `sort`;
8605
- * never holds `select` / `actions`.
8606
- *
8607
- * @defaultValue `[]`
8608
- */
8609
- order?: string[];
8610
- /**
8611
- * Current page (from 1), for the rows' `aria-rowindex` and a `BbPagination`
8612
- * paired through `id`. Doesn't slice `items`: pass the current page's rows.
8613
- * Numeric strings are coerced.
8614
- */
8615
- page?: number | string;
8616
- /**
8617
- * Rows per page, for `aria-rowindex` and a paired `BbPagination`. Doesn't
8618
- * slice `items`. Unset, an array `items` infers it from its length.
8619
- * Numeric strings are coerced.
8620
- */
8621
- perPage?: number | string;
8622
- /**
8623
- * Sets the input in a readonly state.
8624
- */
8625
- readonly?: boolean;
8626
- /**
8627
- * Lets the user reorder the data columns: drag a header, or Shift+←/→ on a
8628
- * focused header. Every move writes `v-model:order`; a column panel that
8629
- * only writes `order` does not need it. `select` / `actions` and a custom
8630
- * `#thead` never move.
8631
- *
8632
- * @defaultValue `false`
8633
- */
8634
- reorderable?: boolean;
8635
- /**
8636
- * Adds a drag handle at the start of each row: the user drags a row, or lifts it
8637
- * with Space / Enter and the arrow keys, and `reorder:rows` reports
8638
- * `{ item, from, to }`. The table never reorders `items`: splice it in the
8639
- * handler.
8640
- *
8641
- * @defaultValue `false`
8642
- */
8643
- reorderableRows?: boolean;
8644
- /**
8645
- * Lets the user resize the data columns (drag a header's trailing edge, or
8646
- * Alt+←/→; double-click resets). Each commit fires `resize:column(key,
8647
- * width)` once: write the width back into the column definition to keep it.
8648
- * Ignored when inheriting widths.
8649
- *
8650
- * @defaultValue `false`
8651
- */
8652
- resizable?: boolean;
8653
- /**
8654
- * Classes for each data row, or a function of the row's item.
8655
- */
8656
- rowClass?: RowClasses<Item>;
8657
- /**
8658
- * Makes rows selectable: a boolean for every row, or a function of the
8659
- * row's item deciding for that row.
8660
- */
8661
- selectable?: boolean | ((item: Item) => boolean);
8662
- /**
8663
- * Whether the "Select all" checkbox is checked.
8664
- *
8665
- * @defaultValue `false`
8666
- */
8667
- selectAll?: boolean;
8668
- /**
8669
- * Label of the "Select all" checkbox.
8670
- */
8671
- selectAllLabel?: string;
8672
- /**
8673
- * Header text of the radio column when the table is not `multiple`.
8674
- */
8675
- selectText?: string;
8676
- /**
8677
- * Used by `v-model:sort`: `[columnKey, direction]` entries in priority
8678
- * order, written by the `sortable` headers and shown by them. Doesn't sort
8679
- * `items`: apply it to your data or your server query.
8680
- *
8681
- * @defaultValue `[]`
8682
- */
8683
- sort?: BbTableSortEntry[];
8684
- /**
8685
- * Classes for every data cell, or a function of `(content, key, item)`.
8686
- */
8687
- tdClass?: ColumnClasses<Item>;
8688
- /**
8689
- * Classes for every header cell.
8690
- */
8691
- thClass?: Classes;
8692
- /**
8693
- * Total row count, for `aria-rowcount` and a paired `BbPagination`'s page
8694
- * count. Unset, an array `items` infers it from its length. Numeric strings
8695
- * are coerced.
8696
- */
8697
- totalItems?: number | string;
8698
- /**
8699
- * Seeds a paired `BbPagination`'s page count when the server reports pages,
8700
- * not rows; the table renders nothing from it. A known total (`totalItems`)
8701
- * always wins. Numeric strings are coerced.
8702
- */
8703
- totalPages?: number | string;
8704
- /**
8705
- * Items that are not selected.
8706
- *
8707
- * @defaultValue `[]`
8708
- */
8709
- unselectedItems?: any[];
8710
- /**
8711
- * Windows the body: only the rows near the scrollport are mounted. Bound
8712
- * the table's height to make it the scroller; column widths are measured
8713
- * once, from the first rows. Ignored when inheriting widths and under a
8714
- * `#tbody` slot.
8715
- *
8716
- * @defaultValue `false`
8717
- */
8718
- virtual?: boolean;
8719
- };
8339
+
8340
+ export type BbTableProps<Item = any> = BbTablePtProps & {
8341
+ // `row` and `expand` also take a per-item function, called with the row's
8342
+ // item. Literal function types, not `PtItemFn` (PASSTHROUGH.md T23).
8343
+ 'pt:row'?:
8344
+ | PtValue
8345
+ | ((ctx: PtItemCtx<PtNoInfer<Item>, BbTablePtState>) => PtItemResult);
8346
+ 'pt:expand'?:
8347
+ | PtValue
8348
+ | ((ctx: PtItemCtx<PtNoInfer<Item>, BbTablePtState>) => PtItemResult);
8349
+ /**
8350
+ * Passthrough, object form: the same keys as the `pt:*` attributes
8351
+ * without the prefix. See the `pt:<part>` row.
8352
+ */
8353
+ pt?: PtScopedItemMap<
8354
+ BbTablePtKey,
8355
+ 'row' | 'expand',
8356
+ BbTablePtState,
8357
+ PtNoInfer<Item>
8358
+ >;
8359
+ /**
8360
+ * The label of each row's selection checkbox, from `(columns, item)`. Unset:
8361
+ * the row's name in the locale's select template (its `rowHeader` cells,
8362
+ * else its first column: "Select INV-1041"). The cells arrive in render
8363
+ * order: look one up by `key`, never by position.
8364
+ */
8365
+ accessibleLabel?: (columns: MappedCell[], item: PtNoInfer<Item>) => string;
8366
+ /**
8367
+ * Label used in the header of the actions column.
8368
+ */
8369
+ actionsText?: string;
8370
+ /**
8371
+ * Text alignment of the columns. `'start'` / `'end'` follow the page direction (the inline start is the left in a left-to-right page, the right in a right-to-left one); `'left'` / `'right'` stay physical; `'center'` centres it.
8372
+ * The default, `'start'`, follows the page direction.
8373
+ *
8374
+ * @defaultValue `'start'`
8375
+ */
8376
+ align?: 'left' | 'center' | 'right' | 'start' | 'end';
8377
+ /**
8378
+ * Caption describing the table's content, for accessibility.
8379
+ */
8380
+ caption?: string;
8381
+ /**
8382
+ * Array of definitions of how the columns should be rendered.
8383
+ *
8384
+ * Optional: the component defaults to `[]` (columns can also come entirely
8385
+ * from slots/virtual keys), so the type no longer demands what the runtime
8386
+ * never required.
8387
+ */
8388
+ columns?: Array<BbTableColumn<Item>>;
8389
+ /**
8390
+ * Adds a CSS class that applies a compact style to the component.
8391
+ */
8392
+ compact?: boolean;
8393
+ /**
8394
+ * Defines an array of dependencies that will trigger actions in the component upon change.
8395
+ *
8396
+ * @defaultValue `[]`
8397
+ */
8398
+ dependencies?: unknown[];
8399
+ /**
8400
+ * Timeout used to debounce response to changes to dependencies.
8401
+ *
8402
+ * @defaultValue `0`
8403
+ */
8404
+ depsDebounceTime?: number;
8405
+ /**
8406
+ * Disables the component
8407
+ */
8408
+ disabled?: boolean;
8409
+ /**
8410
+ * Hides the "Select all" checkbox that selectable multi-row tables
8411
+ * display by default.
8412
+ *
8413
+ * @defaultValue `false`
8414
+ */
8415
+ disableSelectAll?: boolean;
8416
+ /**
8417
+ * Shows the caption as a visible title. Off by default: the caption is
8418
+ * hidden, and screen readers still hear it as the table's name.
8419
+ */
8420
+ displayCaption?: boolean;
8421
+ /**
8422
+ * After every load, prunes `modelValue`, `unselected-items`, `highlighted`
8423
+ * and `expanded-items` of values whose row is gone (a single value resets
8424
+ * to `null`). Never on a provider-paginated table: a page change would
8425
+ * prune the other pages' selection; reconcile in the provider instead.
8426
+ *
8427
+ * @defaultValue `false`
8428
+ */
8429
+ enforceCoherence?: boolean;
8430
+ /**
8431
+ * Used by `v-model:expandedItems`: the expanded items, toggled by the row
8432
+ * expand control and by external writes, like the `highlighted` / `sort`
8433
+ * v-models. Drives the `#expand` rows and their `aria-expanded` /
8434
+ * `aria-controls` wiring.
8435
+ *
8436
+ * @defaultValue `[]`
8437
+ */
8438
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- the expanded rows' values, read through `item-value` (a key, a dot path or a function) the table does not resolve at the type level
8439
+ expandedItems?: any[];
8440
+ /**
8441
+ * Gives the columns that declare no `width` an equal share of the width (a
8442
+ * `minmax(0, 1fr)` track each).
8443
+ */
8444
+ fixed?: boolean;
8445
+ /**
8446
+ * Pins the actions column (the one the `#actions` slot creates) to the
8447
+ * right edge, `position: sticky`, in place. It has no column definition, so
8448
+ * this is its `column.fixed`. No effect without an `#actions` slot.
8449
+ *
8450
+ * @defaultValue `false`
8451
+ */
8452
+ fixedActions?: boolean;
8453
+ /**
8454
+ * Sticks the `#<key>:first` row to the top of the scrollport (under a
8455
+ * stuck header).
8456
+ *
8457
+ * @defaultValue `false`
8458
+ */
8459
+ fixedFirst?: boolean;
8460
+ /**
8461
+ * Sticks the headers to the top of the table.
8462
+ */
8463
+ fixedHeaders?: boolean;
8464
+ /**
8465
+ * Sticks the `#<key>:last` row (a totals row) to the bottom of the
8466
+ * scrollport.
8467
+ *
8468
+ * @defaultValue `false`
8469
+ */
8470
+ fixedLast?: boolean;
8471
+ /**
8472
+ * Pins the selection column to the left edge, `position: sticky`, in
8473
+ * place. It has no column definition, so this is its `column.fixed`. No
8474
+ * effect unless the table is `selectable`.
8475
+ *
8476
+ * @defaultValue `false`
8477
+ */
8478
+ fixedSelect?: boolean;
8479
+ /**
8480
+ * Classes for the header row.
8481
+ */
8482
+ headerRowClass?: Classes;
8483
+ /**
8484
+ * Which rows a click, Enter or `toggleHighlighted` may highlight: `false`
8485
+ * for none, or a function of the row's item. Unset: every row, when
8486
+ * `highlighted` is bound. A value the app sets still shows on a refused row.
8487
+ */
8488
+ highlightable?: boolean | ((item: Item) => boolean);
8489
+ /**
8490
+ * Used by `v-model:highlighted`: the one row the UI is about (say, whose
8491
+ * details are open), a single item value or `null`. Opt-in: bound,
8492
+ * a row click highlights; unbound, it only emits `click:row`. The row gets
8493
+ * `aria-current="true"` and a shipped tint.
8494
+ */
8495
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a row's value is read through `item-value` (a key, a dot path or a function), which the table does not resolve at the type level: typing it per path is the nested-key cost the types avoid
8496
+ highlighted?: any;
8497
+ /**
8498
+ * Stable id for this table's width context. When omitted a unique id is
8499
+ * generated. Nested tables use the nearest ancestor id to inherit widths.
8500
+ */
8501
+ id?: string;
8502
+ /**
8503
+ * Snaps a nested table's columns to an ancestor table's tracks: `true` = the
8504
+ * nearest one, a table `id` = that one (when a table in between has a
8505
+ * different column count). Off by default: a nested table sizes itself.
8506
+ */
8507
+ inheritColumnWidths?: boolean | string;
8508
+ /**
8509
+ * Keeps the header and rows interactive while loading (by default they are
8510
+ * `inert`: a refetch is about to replace them). For background refreshes
8511
+ * that must not interrupt an open editor.
8512
+ */
8513
+ interactiveWhileLoading?: boolean;
8514
+ /**
8515
+ * Rows to render: an array, or a provider called with a
8516
+ * `BbTableItemsContext` (`reason`, `modelValue`, `signal`), sync or async.
8517
+ * A provider fails by THROWING, never by returning `[]`: the rows clear and
8518
+ * `#empty` gets the `error`. Return the page as it is.
8519
+ *
8520
+ * @defaultValue `[]`
8521
+ */
8522
+ items: Item[] | ((context: BbTableItemsContext) => Item[] | Promise<Item[]>);
8523
+ /**
8524
+ * The row's value, as a property path or a function returning any value;
8525
+ * the selection, `expandedItems` and row keys compare by it.
8526
+ */
8527
+ itemValue?: ItemAccessor<Item>;
8528
+ /**
8529
+ * Opt-in keyboard navigation: the table becomes an ARIA `grid` (`treegrid`
8530
+ * with an `#expand` slot) with ONE tab stop and roving focus over its cells.
8531
+ * Controls in cells leave the tab order (Enter/F2 go in). Ignored with a
8532
+ * `#tbody` slot.
8533
+ */
8534
+ keyboardNavigation?: boolean;
8535
+ /**
8536
+ * The `<legend>` of a `selectable` table (it renders as a `<fieldset>`):
8537
+ * the selection's accessible name. Falls back to `caption`, then to a
8538
+ * localized default.
8539
+ */
8540
+ legend?: string;
8541
+ /**
8542
+ * Loading state: skeletons with no rows yet, else the rows stay on screen,
8543
+ * dimmed, under an indeterminate bar. A refetch never blanks a table the
8544
+ * user is reading.
8545
+ */
8546
+ loading?: boolean;
8547
+ /**
8548
+ * Screen-reader announcement for the loading row's `aria-live` status.
8549
+ * Visually hidden — the skeleton (or the `#loading` slot) is the visible
8550
+ * signal.
8551
+ *
8552
+ * @defaultValue the localized `common.loadingText` ("Loading...")
8553
+ */
8554
+ loadingText?: string;
8555
+ /**
8556
+ * Maximum number of items that can be selected.
8557
+ *
8558
+ * @defaultValue `Infinity`
8559
+ */
8560
+ max?: number;
8561
+ /**
8562
+ * Used by v-model. Can be any serializable type.
8563
+ *
8564
+ * @defaultValue `[]`
8565
+ */
8566
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a row's value is read through `item-value` (a key, a dot path or a function), which the table 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[]>`) bind both ways through `v-model`
8567
+ modelValue?: any;
8568
+ /**
8569
+ * A plain click on a sortable header adds the column to the sort, as
8570
+ * Shift+click always does. Off, a plain click makes the sort that column
8571
+ * alone.
8572
+ *
8573
+ * @defaultValue `false`
8574
+ */
8575
+ multiSort?: boolean;
8576
+ /**
8577
+ * Allows the selection of multiple items.
8578
+ *
8579
+ * @defaultValue `true`
8580
+ */
8581
+ multiple?: boolean;
8582
+ /**
8583
+ * Defines the name of the input.
8584
+ */
8585
+ name?: InputHTMLAttributes['name'];
8586
+ /**
8587
+ * Text shown when there are no items.
8588
+ *
8589
+ * @defaultValue the localized `common.emptyText` ("No data to display")
8590
+ */
8591
+ emptyText?: string;
8592
+ /**
8593
+ * String displayed in the empty state while the latest load FAILED (the
8594
+ * `items` provider threw): the twin of `emptyText` for that case.
8595
+ *
8596
+ * @defaultValue the localized `common.failedText` ("Couldn't load items")
8597
+ */
8598
+ failedText?: string;
8599
+ /**
8600
+ * Used by `v-model:order`: the column keys in render order. Columns it
8601
+ * omits follow in declaration order; unknown keys stay put.
8602
+ * A `reorderable` move writes it back complete. Works unbound, like `sort`;
8603
+ * never holds `select` / `actions`.
8604
+ *
8605
+ * @defaultValue `[]`
8606
+ */
8607
+ order?: string[];
8608
+ /**
8609
+ * Current page (from 1), for the rows' `aria-rowindex` and a `BbPagination`
8610
+ * paired through `id`. Doesn't slice `items`: pass the current page's rows.
8611
+ * Numeric strings are coerced.
8612
+ */
8613
+ page?: number | string;
8614
+ /**
8615
+ * Rows per page, for `aria-rowindex` and a paired `BbPagination`. Doesn't
8616
+ * slice `items`. Unset, an array `items` infers it from its length.
8617
+ * Numeric strings are coerced.
8618
+ */
8619
+ perPage?: number | string;
8620
+ /**
8621
+ * Sets the input in a readonly state.
8622
+ */
8623
+ readonly?: boolean;
8624
+ /**
8625
+ * Lets the user reorder the data columns: drag a header, or Shift+←/→ on a
8626
+ * focused header. Every move writes `v-model:order`; a column panel that
8627
+ * only writes `order` does not need it. `select` / `actions` and a custom
8628
+ * `#thead` never move.
8629
+ *
8630
+ * @defaultValue `false`
8631
+ */
8632
+ reorderable?: boolean;
8633
+ /**
8634
+ * Adds a drag handle at the start of each row: the user drags a row, or lifts it
8635
+ * with Space / Enter and the arrow keys, and `reorder:rows` reports
8636
+ * `{ item, from, to }`. The table never reorders `items`: splice it in the
8637
+ * handler.
8638
+ *
8639
+ * @defaultValue `false`
8640
+ */
8641
+ reorderableRows?: boolean;
8642
+ /**
8643
+ * Lets the user resize the data columns (drag a header's trailing edge, or
8644
+ * Alt+←/→; double-click resets). Each commit fires `resize:column(key,
8645
+ * width)` once: write the width back into the column definition to keep it.
8646
+ * Ignored when inheriting widths.
8647
+ *
8648
+ * @defaultValue `false`
8649
+ */
8650
+ resizable?: boolean;
8651
+ /**
8652
+ * Classes for each data row, or a function of the row's item.
8653
+ */
8654
+ rowClass?: RowClasses<Item>;
8655
+ /**
8656
+ * Makes rows selectable: a boolean for every row, or a function of the
8657
+ * row's item deciding for that row.
8658
+ */
8659
+ selectable?: boolean | ((item: Item) => boolean);
8660
+ /**
8661
+ * Whether the "Select all" checkbox is checked.
8662
+ *
8663
+ * @defaultValue `false`
8664
+ */
8665
+ selectAll?: boolean;
8666
+ /**
8667
+ * Label of the "Select all" checkbox.
8668
+ */
8669
+ selectAllLabel?: string;
8670
+ /**
8671
+ * Header text of the radio column when the table is not `multiple`.
8672
+ */
8673
+ selectText?: string;
8674
+ /**
8675
+ * Used by `v-model:sort`: `[columnKey, direction]` entries in priority
8676
+ * order, written by the `sortable` headers and shown by them. Doesn't sort
8677
+ * `items`: apply it to your data or your server query.
8678
+ *
8679
+ * @defaultValue `[]`
8680
+ */
8681
+ sort?: BbTableSortEntry[];
8682
+ /**
8683
+ * Classes for every data cell, or a function of `(content, key, item)`.
8684
+ */
8685
+ tdClass?: ColumnClasses<Item>;
8686
+ /**
8687
+ * Classes for every header cell.
8688
+ */
8689
+ thClass?: Classes;
8690
+ /**
8691
+ * Total row count, for `aria-rowcount` and a paired `BbPagination`'s page
8692
+ * count. Unset, an array `items` infers it from its length. Numeric strings
8693
+ * are coerced.
8694
+ */
8695
+ totalItems?: number | string;
8696
+ /**
8697
+ * Seeds a paired `BbPagination`'s page count when the server reports pages,
8698
+ * not rows; the table renders nothing from it. A known total (`totalItems`)
8699
+ * always wins. Numeric strings are coerced.
8700
+ */
8701
+ totalPages?: number | string;
8702
+ /**
8703
+ * Items that are not selected.
8704
+ *
8705
+ * @defaultValue `[]`
8706
+ */
8707
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- the unselected rows' values, read through `item-value`, which the table does not resolve at the type level
8708
+ unselectedItems?: any[];
8709
+ /**
8710
+ * Windows the body: only the rows near the scrollport are mounted. Bound
8711
+ * the table's height to make it the scroller; column widths are measured
8712
+ * once, from the first rows. Ignored when inheriting widths and under a
8713
+ * `#tbody` slot.
8714
+ *
8715
+ * @defaultValue `false`
8716
+ */
8717
+ virtual?: boolean;
8718
+ };
8720
8719
 
8721
8720
  /**
8722
8721
  * We allow table data classes to be a function so it can depend on the item.
@@ -8725,6 +8724,7 @@ export type BbTableProps<Item = any> = {
8725
8724
  */
8726
8725
  export type ColumnClasses<Item = any> =
8727
8726
  | Classes
8727
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a cell's content is read through its column `key`, a dot path into the row the table does not resolve at the type level (the nested-key cost the types avoid)
8728
8728
  | ((content: any, key: string, item: Item) => Classes | undefined);
8729
8729
 
8730
8730
  /**
@@ -8789,6 +8789,7 @@ export type MappedHeader = {
8789
8789
  export type MappedCell = {
8790
8790
  align: string;
8791
8791
  classes: Classes;
8792
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a cell's content is read through its column `key`, a dot path into the row the table does not resolve at the type level (the nested-key cost the types avoid)
8792
8793
  content: any;
8793
8794
  /** What the formatter / placeholder pipeline produced; `null` when nothing. */
8794
8795
  kind: 'value' | 'placeholder' | null;
@@ -8804,20 +8805,25 @@ export type ExpandControllerProps = {
8804
8805
  onKeydown: (event: KeyboardEvent) => void;
8805
8806
  };
8806
8807
 
8807
- export type BbTableEvents = {
8808
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- the default: an untyped table reads its rows freely, like the component's own `Item = any`
8809
+ export type BbTableEvents<Item = any> = {
8808
8810
  // Row events carry `(event, item)` only, where `item` is the RAW record
8809
- // from `items` — not the table's internal row wrapper. Selection state is
8810
- // derivable from the selection v-model, so it is not repeated here.
8811
+ // from `items` — not the table's internal row wrapper — typed as the
8812
+ // table's row (`PtNoInfer`: a handler's annotation never infers `Item`;
8813
+ // it comes from `items`). Selection state is derivable from the selection
8814
+ // v-model, so it is not repeated here.
8811
8815
  /**
8812
8816
  * A body row was clicked, or activated with Enter/Space under
8813
8817
  * `keyboardNavigation`. Carries the DOM `MouseEvent` and the raw record.
8814
8818
  */
8815
- (e: 'click:row', event: MouseEvent, item: any): void;
8819
+ (e: 'click:row', event: MouseEvent, item: PtNoInfer<Item>): void;
8816
8820
  /** A body row was right-clicked. Carries the DOM `MouseEvent` and the raw record. */
8817
- (e: 'contextmenu:row', event: MouseEvent, item: any): void;
8821
+ (e: 'contextmenu:row', event: MouseEvent, item: PtNoInfer<Item>): void;
8818
8822
  /** A body row was double-clicked. Carries the DOM `MouseEvent` and the raw record. */
8819
- (e: 'dblclick:row', event: MouseEvent, item: any): void;
8823
+ (e: 'dblclick:row', event: MouseEvent, item: PtNoInfer<Item>): void;
8824
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a row's value is read through `item-value` (a key, a dot path or a function), which the table 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)`
8820
8825
  (e: 'update:highlighted', value: any): void;
8826
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a row's value is read through `item-value` (a key, a dot path or a function), which the table 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 `(ids: number[])`
8821
8827
  (e: 'update:modelValue', value: any): void;
8822
8828
  (e: 'update:selectAll', value: boolean): void;
8823
8829
  (e: 'update:sort', value: BbTableSortEntry[]): void;
@@ -8827,7 +8833,10 @@ export type BbTableEvents = {
8827
8833
  * `to` index the `items` the table holds. Splice `items` in the handler; a
8828
8834
  * drop in place emits nothing.
8829
8835
  */
8830
- (e: 'reorder:rows', payload: { item: any; from: number; to: number }): void;
8836
+ (
8837
+ e: 'reorder:rows',
8838
+ payload: { item: PtNoInfer<Item>; from: number; to: number }
8839
+ ): void;
8831
8840
  /**
8832
8841
  * The user resized a column (`resizable`): the new width in px, or `null`
8833
8842
  * after a double-click on the handle reset it to its declared width.
@@ -8838,14 +8847,18 @@ export type BbTableEvents = {
8838
8847
  * write `hidden: true` into the column definition to persist it.
8839
8848
  */
8840
8849
  (e: 'hide:column', key: string): void;
8850
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- the expanded rows' values (see `expandedItems`); `unknown[]` would reject a handler annotated `(ids: number[])`
8841
8851
  (e: 'update:expandedItems', value: any[]): void;
8852
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- the unselected rows' values (see `unselectedItems`); `unknown[]` would reject a handler annotated `(ids: number[])`
8842
8853
  (e: 'update:unselectedItems', value: any[]): void;
8843
8854
  /**
8844
8855
  * The user selected one row. Carries the row's value (read through
8845
8856
  * `itemValue`, the same value the selection v-model holds).
8846
8857
  */
8858
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a row's value is read through `item-value` (a key, a dot path or a function), which the table 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)`
8847
8859
  (e: 'item:selected', value: any): void;
8848
8860
  /** The user unselected one row. Carries the row's value, like `item:selected`. */
8861
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a row's value is read through `item-value` (a key, a dot path or a function), which the table 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)`
8849
8862
  (e: 'item:unselected', value: any): void;
8850
8863
  };
8851
8864
 
@@ -8884,7 +8897,7 @@ export type BbTableHeaderAffixSlotProps<Item = any> = {
8884
8897
  };
8885
8898
 
8886
8899
  /**
8887
- * Scope of a column's edge-row slots `#<key>:first` / `#<key>:last` (Q23.1).
8900
+ * Scope of a column's edge-row slots `#<key>:first` / `#<key>:last`.
8888
8901
  */
8889
8902
  export type BbTableEdgeCellSlotProps<Item = any> = {
8890
8903
  /** The raw key of the column. */
@@ -8899,6 +8912,7 @@ export type BbTableEdgeCellSlotProps<Item = any> = {
8899
8912
  */
8900
8913
  export type BbTableCellSlotProps<Item = any> = {
8901
8914
  classes?: Classes;
8915
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a cell's content is read through its column `key`, a dot path into the row the table does not resolve at the type level (the nested-key cost the types avoid)
8902
8916
  content?: any;
8903
8917
  expanded?: boolean;
8904
8918
  expandProps?: ExpandControllerProps;
@@ -8909,12 +8923,14 @@ export type BbTableCellSlotProps<Item = any> = {
8909
8923
  toggleSelected?: () => void;
8910
8924
  sortOrder?: 'asc' | 'desc' | null;
8911
8925
  item: Item;
8926
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a row's value is read through `item-value` (a key, a dot path or a function), which the table does not resolve at the type level: typing it per path is the nested-key cost the types avoid
8912
8927
  value?: any;
8913
8928
  };
8914
8929
 
8915
8930
  /** Scope of a column's header slot `#<key>:header`. Headers have no row. */
8916
8931
  export type BbTableHeaderSlotProps<Item = any> = {
8917
8932
  classes?: Classes;
8933
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a header's content is the column's label or what its header formatter returned
8918
8934
  content?: any;
8919
8935
  items?: Item[];
8920
8936
  label?: string;
@@ -8926,7 +8942,7 @@ export type BbTableHeaderSlotProps<Item = any> = {
8926
8942
  };
8927
8943
 
8928
8944
  /**
8929
- * The per-column slots, by name shape. Q57.2: one `Record<string, …>` used to
8945
+ * The per-column slots, by name shape. One `Record<string, …>` used to
8930
8946
  * type them all, so `#<key>` got an optional `item` and `#<key>:header` the
8931
8947
  * body scope wherever the column keys are not literal (a wrapper declaring
8932
8948
  * `defineSlots<BbTableSlots<Row>>()`, a `BbTableColumn<Row>[]` variable). A key
@@ -9063,6 +9079,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9063
9079
  selected?: boolean;
9064
9080
  toggleSelected?: () => void;
9065
9081
  item: Item;
9082
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a row's value is read through `item-value` (a key, a dot path or a function), which the table does not resolve at the type level: typing it per path is the nested-key cost the types avoid
9066
9083
  value: any;
9067
9084
  }) => any;
9068
9085
  /**
@@ -9086,6 +9103,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9086
9103
  selected?: boolean;
9087
9104
  toggleSelected?: () => void;
9088
9105
  item: Item;
9106
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a row's value is read through `item-value` (a key, a dot path or a function), which the table does not resolve at the type level: typing it per path is the nested-key cost the types avoid
9089
9107
  value: any;
9090
9108
  }) => any;
9091
9109
  /**
@@ -9100,6 +9118,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9100
9118
  */
9101
9119
  select?: (props: {
9102
9120
  item: Item;
9121
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any -- a row's value is read through `item-value` (a key, a dot path or a function), which the table does not resolve at the type level: typing it per path is the nested-key cost the types avoid
9103
9122
  value: any;
9104
9123
  checked: boolean;
9105
9124
  disabled: boolean;
@@ -9182,7 +9201,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9182
9201
 
9183
9202
  position: relative;
9184
9203
 
9185
- /* The scroll cue (Q53.10). An edge with content hidden past it fades
9204
+ /* The scroll cue. An edge with content hidden past it fades
9186
9205
  what sits against it, so a table that scrolls sideways says so at rest
9187
9206
  (the classes are set by the component, see `readOverflow`). A mask on
9188
9207
  the root, which is the scrollport: it is fixed to the visible box
@@ -9193,7 +9212,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9193
9212
  published by the component). No motion: a state flip just repaints.
9194
9213
 
9195
9214
  A side WITH pinned columns (`--pinned-left` / `--pinned-right`) is not
9196
- masked (Q61.20): a mask fades everything in its band, row tints
9215
+ masked: a mask fades everything in its band, row tints
9197
9216
  included, so a hovered or highlighted row showed a pale strip beside
9198
9217
  the opaque pinned cell. There the innermost pinned cell
9199
9218
  (`[data-pin-edge]`, stamped by the component) casts a strip over the
@@ -9248,7 +9267,15 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9248
9267
  }
9249
9268
  }
9250
9269
 
9270
+ /* `start` / `end` follow the page direction; `left` / `right` are
9271
+ physical. A column without its own `align` inherits this. */
9251
9272
  &--align {
9273
+ &-start {
9274
+ text-align: start;
9275
+ }
9276
+ &-end {
9277
+ text-align: end;
9278
+ }
9252
9279
  &-left {
9253
9280
  /* stylelint-disable-next-line declaration-property-value-disallowed-list -- geometry: the column `align` prop names a physical side */
9254
9281
  text-align: left;
@@ -9405,7 +9432,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9405
9432
  width with the tracks overflowing it — row backgrounds and the busy bar
9406
9433
  would paint short and `%` widths would resolve against the wrong box.
9407
9434
  Nothing paints on the root itself: rowgroups and rows are the paint
9408
- surfaces. `--min-w` (Q75.5 4) raises the floor for a wide table:
9435
+ surfaces. `--min-w` (4) raises the floor for a wide table:
9409
9436
  `<BbTable style="--min-w: 1020px">` scrolls inside its card instead
9410
9437
  of shrinking to it. */
9411
9438
  min-width: max(100%, var(--min-w));
@@ -9498,7 +9525,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9498
9525
  }
9499
9526
  }
9500
9527
 
9501
- /* Q23.1: `fixed-first` / `fixed-last` stick the edge rows. A body ROW can
9528
+ /* `fixed-first` / `fixed-last` stick the edge rows. A body ROW can
9502
9529
  stick where a cell cannot: its sticky slack is the body rowgroup, the
9503
9530
  whole run of rows. The first row sits under a stuck head (the body
9504
9531
  publishes `--stuck-top`, see above); both paint opaque like the head, and
@@ -9530,7 +9557,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9530
9557
  — a click inside the pinned header sorted the hidden column — and a
9531
9558
  scrolled-under header's resize handle (z 1, it overhangs its neighbour)
9532
9559
  slid over the pinned header at the same level. */
9533
- /* The colour is forced OPAQUE (owner ruling Q56.24 b): a glass theme's
9560
+ /* The colour is forced OPAQUE: a glass theme's
9534
9561
  translucent `--bb-panel` let the rows show through a pinned column and
9535
9562
  painted a band. `rgb(from … / 1)` keeps the resolved colour and drops
9536
9563
  only its alpha, so an opaque theme renders exactly as before, and a row
@@ -9549,7 +9576,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9549
9576
  z-index: 2;
9550
9577
  }
9551
9578
 
9552
- /* The pinned side's scroll cue (Q61.20, see the root): the innermost
9579
+ /* The pinned side's scroll cue (see the root): the innermost
9553
9580
  pinned cell casts it over the content scrolled beneath. `--cue-l` /
9554
9581
  `--cue-r` come from this cell's own table, so they are 0 (nothing
9555
9582
  painted) unless that side overflows. Never takes a click. */
@@ -9694,7 +9721,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9694
9721
  min-width: 0;
9695
9722
  }
9696
9723
 
9697
- /* Q9.1b: an unsized column's estimated floor (`--floor`, set inline from
9724
+ /* an unsized column's estimated floor (`--floor`, set inline from
9698
9725
  the text the column shows). A zero-height spacer widens the header's
9699
9726
  min-content, so the `auto` track floors at the larger of the estimate
9700
9727
  and the header's own content: the heading still never clips. */
@@ -9705,7 +9732,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9705
9732
  width: var(--floor, 0);
9706
9733
  }
9707
9734
 
9708
- /* Q76.9 e: a long heading of several words, given two lines because
9735
+ /* a long heading of several words, given two lines because
9709
9736
  the alternative was a sideways scroll. Only the label wraps (the
9710
9737
  cell stays `nowrap`, so an affix keeps to its line); words never
9711
9738
  break, so it still never clips. */
@@ -9719,10 +9746,20 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9719
9746
  cursor: pointer;
9720
9747
  }
9721
9748
 
9749
+ /* A column's own `align`; `--start` (unset) inherits the table's. */
9750
+ &--end {
9751
+ text-align: end;
9752
+ }
9753
+
9722
9754
  &--center {
9723
9755
  text-align: center;
9724
9756
  }
9725
9757
 
9758
+ &--left {
9759
+ /* stylelint-disable-next-line declaration-property-value-disallowed-list -- geometry: the column `align` prop names a physical side */
9760
+ text-align: left;
9761
+ }
9762
+
9726
9763
  &--right {
9727
9764
  /* stylelint-disable-next-line declaration-property-value-disallowed-list -- geometry: the column `align` prop names a physical side */
9728
9765
  text-align: right;
@@ -9765,7 +9802,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9765
9802
  /* Clips like the plain label: the label track shrinks to an ellipsis
9766
9803
  and then to nothing while the arrow (`flex-shrink: 0`) stays. */
9767
9804
  max-width: 100%;
9768
- /* The focus ring is the outline (Q81.6): full width from rest, transparent; only its colour fades, in on the focused state's `--ring-t`, out on this one's. A BbBaseButton: the scaffold's transitions, the ring on `--ring-t` */
9805
+ /* The focus ring is the outline: full width from rest, transparent; only its colour fades, in on the focused state's `--ring-t`, out on this one's. A BbBaseButton: the scaffold's transitions, the ring on `--ring-t` */
9769
9806
  outline: var(--bb-ring-size) solid transparent;
9770
9807
  outline-offset: 0;
9771
9808
  overflow: hidden;
@@ -9834,12 +9871,13 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9834
9871
  }
9835
9872
  }
9836
9873
 
9837
- /* A right-aligned column puts the arrow on the label's LEADING side (Q56.24
9838
- a). After the label, its slot — reserved while unsorted so nothing jumps
9874
+ /* A right-aligned column puts the arrow on the label's LEADING side.
9875
+ After the label, its slot — reserved while unsorted so nothing jumps
9839
9876
  when it appears — pushed the label ~18px left of the figures under it.
9840
9877
  Leading, the label lines up with its cells sorted or not, and the arrow
9841
9878
  still never moves the label. */
9842
- &__cell-column-header--right .bb-table-sort {
9879
+ &__cell-column-header--right .bb-table-sort,
9880
+ &__cell-column-header--end .bb-table-sort {
9843
9881
  flex-direction: row-reverse;
9844
9882
  }
9845
9883
 
@@ -9870,7 +9908,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9870
9908
  }
9871
9909
  }
9872
9910
 
9873
- /* A `reorderable: false` column (Q10.2) is no grab surface: the sort
9911
+ /* A `reorderable: false` column is no grab surface: the sort
9874
9912
  button keeps its own `pointer`. */
9875
9913
  &--reorderable .bb-table__cell-column-header--locked[data-column-key] {
9876
9914
  cursor: auto;
@@ -10022,7 +10060,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10022
10060
  grip and checkbox: the table has no spacing scale below `--px`, and a
10023
10061
  quarter is its smallest step that still reads (3px, 2px compact). Three
10024
10062
  quarters before it (9px, 6px compact), not a half: a compact grip sat
10025
- 1px from the highlighted row's 3px accent bar (owner, 2026-10-12). */
10063
+ 1px from the highlighted row's 3px accent bar. */
10026
10064
  &__head > [role='row'] > .bb-table__cell-column-header--row-drag,
10027
10065
  &__body > [role='row'] > .bb-table__cell--row-drag {
10028
10066
  align-items: center;
@@ -10135,7 +10173,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10135
10173
  /* Review r4 (touch target): on a coarse pointer the grip's invisible
10136
10174
  `::after` fills its own cell (the row's `--cell-h`, the cell's paddings),
10137
10175
  so a thumb anywhere in the grip column takes the handle while the look
10138
- stays the glyph. The select toggle's own touch box (Q44.19) reaches a
10176
+ stays the glyph. The select toggle's own touch box reaches a
10139
10177
  full `--px` back; after the grip it stops at the half `--px` its cell
10140
10178
  now has, so the two boxes never overlap. */
10141
10179
  @media (pointer: coarse) {
@@ -10376,7 +10414,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10376
10414
  text-align: center;
10377
10415
  }
10378
10416
 
10379
- /* Q75.5 (5): the cell is as wide as the grid, which the header keeps
10417
+ /* the cell is as wide as the grid, which the header keeps
10380
10418
  wide, so on a scrolling table a message centred on the cell sat off
10381
10419
  screen. The content is as wide as the scrollport instead (`--vw`, the
10382
10420
  root's client width, written by the overflow observer; an inheriting
@@ -10437,10 +10475,10 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10437
10475
  background-color: var(--row-bg);
10438
10476
  }
10439
10477
 
10440
- /* Q76.7 (b): on hover a pinned cell takes the row's OWN fill, so an
10478
+ /* on hover a pinned cell takes the row's OWN fill, so an
10441
10479
  app's `pt:row` hover colour (`hover:bg-*`) reaches it as it reaches
10442
10480
  the rest of the row (it kept the library's tint before). The row
10443
- then has to be opaque for the pinned cell to stay opaque (Q56.24 b),
10481
+ then has to be opaque for the pinned cell to stay opaque,
10444
10482
  so the library's own hover is forced opaque on a row that has one;
10445
10483
  an opaque theme renders exactly as before. A translucent app hover
10446
10484
  colour shows through the pinned cell while the row is hovered: give
@@ -10469,8 +10507,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10469
10507
  }
10470
10508
 
10471
10509
  /* Default cursor for `v-model:highlighted` / `keyboard-navigation` —
10472
- without this, the row only gets `aria-current` and a bare class
10473
- (BTG-014).
10510
+ without this, the row only gets `aria-current` and a bare class.
10474
10511
 
10475
10512
  The FILL is neutral, from the shared surface ladder in
10476
10513
  variables.css, which is built on --bb-text and therefore contrasts
@@ -10514,14 +10551,14 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10514
10551
  }
10515
10552
 
10516
10553
  &__cell {
10517
- /* Q9.1: a value longer than its column (an email, a URL, an ID) breaks
10554
+ /* a value longer than its column (an email, a URL, an ID) breaks
10518
10555
  inside the cell instead of painting over the next one. `break-word`,
10519
10556
  not `anywhere`: it only breaks what would overflow and leaves the
10520
10557
  min-content size alone, so column sizing is unchanged and ordinary
10521
10558
  words never split. */
10522
10559
  overflow-wrap: break-word;
10523
10560
 
10524
- /* Q9.1b: in a column with an estimated floor (see `--floored` above) the
10561
+ /* in a column with an estimated floor (see `--floored` above) the
10525
10562
  floor is the minimum, not the longest word: a value too long for it
10526
10563
  wraps, or breaks, rather than widening every row. The values the fit
10527
10564
  promises are held instead, by the root's hold level (below). */
@@ -10529,10 +10566,19 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10529
10566
  min-width: 0;
10530
10567
  }
10531
10568
 
10569
+ &--end {
10570
+ text-align: end;
10571
+ }
10572
+
10532
10573
  &--center {
10533
10574
  text-align: center;
10534
10575
  }
10535
10576
 
10577
+ &--left {
10578
+ /* stylelint-disable-next-line declaration-property-value-disallowed-list -- geometry: the column `align` prop names a physical side */
10579
+ text-align: left;
10580
+ }
10581
+
10536
10582
  &--right {
10537
10583
  /* stylelint-disable-next-line declaration-property-value-disallowed-list -- geometry: the column `align` prop names a physical side */
10538
10584
  text-align: right;
@@ -10614,7 +10660,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10614
10660
  }
10615
10661
 
10616
10662
  /* The selection toggle inside its label: the native input and the glyph,
10617
- stacked in one cell (Q65.4, `.bb-toggle-input`). */
10663
+ stacked in one cell (`.bb-toggle-input`). */
10618
10664
  &-check,
10619
10665
  &-radio {
10620
10666
  display: inline-grid;
@@ -10653,7 +10699,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10653
10699
  }
10654
10700
  }
10655
10701
 
10656
- /* --- Touch target: the select toggle (Q44.19) -------------------------------
10702
+ /* --- Touch target: the select toggle -------------------------------
10657
10703
  * The checkbox / radio label is a 16×20 glyph in a 40×36 cell: a thumb that
10658
10704
  * lands on the cell's padding hits the row instead. On a coarse pointer only,
10659
10705
  * its invisible `::after` fills the select cell: across the cell's inline