bitboss-ui 3.0.0-beta.68 → 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 (915) hide show
  1. package/README.md +229 -90
  2. package/bin/bitboss-ui-mcp.mjs +284 -126
  3. package/bin/bitboss-ui.mjs +24 -2077
  4. package/bin/cli.mjs +1922 -0
  5. package/dist/ai/BbAccordion.md +1 -1
  6. package/dist/ai/BbAlert.md +1 -1
  7. package/dist/ai/BbAvatar.md +1 -1
  8. package/dist/ai/BbBadge.md +1 -1
  9. package/dist/ai/BbBadgeButton.md +1 -1
  10. package/dist/ai/BbBaseButton.md +1 -1
  11. package/dist/ai/BbBreadcrumbs.md +1 -1
  12. package/dist/ai/BbButton.md +1 -1
  13. package/dist/ai/BbCalendar.md +14 -1
  14. package/dist/ai/BbCarousel.md +1093 -0
  15. package/dist/ai/BbCheckbox.md +7 -5
  16. package/dist/ai/BbCheckboxGroup.md +15 -9
  17. package/dist/ai/BbColorInput.md +6 -4
  18. package/dist/ai/BbColorPalette.md +4 -1
  19. package/dist/ai/BbConfirm.md +1 -1
  20. package/dist/ai/BbDatePicker.md +8 -2
  21. package/dist/ai/BbDatePickerInput.md +14 -4
  22. package/dist/ai/BbDialog.md +1 -1
  23. package/dist/ai/BbDropdown.md +10 -13
  24. package/dist/ai/BbDropdownButton.md +3 -3
  25. package/dist/ai/BbDropzone.md +4 -15
  26. package/dist/ai/BbForm.md +8 -4
  27. package/dist/ai/BbHost.md +1 -1
  28. package/dist/ai/BbHoverCard.md +2 -2
  29. package/dist/ai/BbNumberInput.md +4 -4
  30. package/dist/ai/BbOffCanvas.md +12 -8
  31. package/dist/ai/BbPagination.md +6 -5
  32. package/dist/ai/BbPopover.md +11 -4
  33. package/dist/ai/BbRadio.md +9 -7
  34. package/dist/ai/BbRadioGroup.md +11 -7
  35. package/dist/ai/BbRating.md +10 -8
  36. package/dist/ai/BbSelect.md +11 -11
  37. package/dist/ai/BbSelectPopover.md +6 -6
  38. package/dist/ai/BbSlider.md +9 -6
  39. package/dist/ai/BbSpinner.md +1 -1
  40. package/dist/ai/BbSwitch.md +8 -7
  41. package/dist/ai/BbSwitchGroup.md +7 -7
  42. package/dist/ai/BbTable.md +19 -21
  43. package/dist/ai/BbTabs.md +23 -26
  44. package/dist/ai/BbTabsList.md +4 -4
  45. package/dist/ai/BbTabsRoot.md +1 -1
  46. package/dist/ai/BbTag.md +4 -4
  47. package/dist/ai/BbTextInput.md +8 -6
  48. package/dist/ai/BbTextarea.md +6 -5
  49. package/dist/ai/BbTimePicker.md +2 -2
  50. package/dist/ai/BbTimePickerInput.md +4 -4
  51. package/dist/ai/BbToast.md +8 -3
  52. package/dist/ai/BbTooltip.md +5 -4
  53. package/dist/ai/BbTree.md +1 -1
  54. package/dist/ai/ChipsBox.md +1 -1
  55. package/dist/ai/ClearableButton.md +1 -1
  56. package/dist/ai/CommonField.md +5 -5
  57. package/dist/ai/CommonFieldInput.md +1 -1
  58. package/dist/ai/CommonPopover.md +4 -4
  59. package/dist/ai/CommonTimeSelector.md +1 -1
  60. package/dist/ai/ErrorIcon.md +1 -1
  61. package/dist/ai/FlatListBox.md +1 -1
  62. package/dist/ai/GroupedListBox.md +1 -1
  63. package/dist/ai/ListBox.md +1 -1
  64. package/dist/ai/OptionsContainer.md +3 -3
  65. package/dist/ai/WarningIcon.md +1 -1
  66. package/dist/ai/changelog.json +526 -10
  67. package/dist/ai/components.json +95 -232
  68. package/dist/ai/composables/useToast.md +15 -15
  69. package/dist/ai/guides/agent-contract.md +7 -2
  70. package/dist/ai/guides/ai-router.md +14 -9
  71. package/dist/ai/guides/calendars-and-digits.md +123 -0
  72. package/dist/ai/guides/component-picker.md +1 -1
  73. package/dist/ai/guides/design-language.md +1 -1
  74. package/dist/ai/guides/design-tokens.md +4 -1
  75. package/dist/ai/guides/eslint-rules.md +18 -1
  76. package/dist/ai/guides/inertia-helpers.md +322 -41
  77. package/dist/ai/guides/installation-and-plugin-setup.md +166 -31
  78. package/dist/ai/guides/migration/components/bb-rating.md +1 -1
  79. package/dist/ai/guides/migration/components/bb-table.md +1 -0
  80. package/dist/ai/guides/migration/components/bb-tabs.md +32 -14
  81. package/dist/ai/guides/migration/components/bb-toast.md +4 -3
  82. package/dist/ai/guides/migration/v2-to-v3.md +158 -24
  83. package/dist/ai/guides/migration/v3-beta-css-classes.md +1 -0
  84. package/dist/ai/guides/migration/v3-beta-tooling.md +28 -11
  85. package/dist/ai/guides/options-items-playbook.md +5 -1
  86. package/dist/ai/guides/passthrough.md +12 -6
  87. package/dist/ai/guides/ssr-prefill.md +7 -1
  88. package/dist/ai/guides/validated-forms.md +9 -0
  89. package/dist/ai/helpers/inertia/manifest.json +23 -14
  90. package/dist/ai/helpers/inertia/useQuery.ts +74 -0
  91. package/dist/ai/helpers/inertia/useQueryObject.ts +33 -1
  92. package/dist/ai/helpers/inertia/useRouteQuery.ts +158 -30
  93. package/dist/ai/index.md +2 -0
  94. package/dist/ai/manifest/common.json +7 -7
  95. package/dist/ai/manifest/components/BbAccordion.tree.json +22 -4
  96. package/dist/ai/manifest/components/BbAlert.tree.json +26 -3
  97. package/dist/ai/manifest/components/BbAsterisk.tree.json +7 -1
  98. package/dist/ai/manifest/components/BbAvatar.tree.json +16 -2
  99. package/dist/ai/manifest/components/BbBadge.json +1 -1
  100. package/dist/ai/manifest/components/BbBadge.tree.json +39 -4
  101. package/dist/ai/manifest/components/BbBadgeButton.tree.json +2 -2
  102. package/dist/ai/manifest/components/BbBaseButton.tree.json +16 -1
  103. package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +18 -1
  104. package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +14 -1
  105. package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +17 -1
  106. package/dist/ai/manifest/components/BbBreadcrumbs.json +1 -1
  107. package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +34 -4
  108. package/dist/ai/manifest/components/BbButton.json +1 -1
  109. package/dist/ai/manifest/components/BbButton.tree.json +75 -4
  110. package/dist/ai/manifest/components/BbCalendar.json +2 -2
  111. package/dist/ai/manifest/components/BbCalendar.tree.json +81 -6
  112. package/dist/ai/manifest/components/BbCarousel.json +59 -0
  113. package/dist/ai/manifest/components/BbCarousel.tree.json +135 -0
  114. package/dist/ai/manifest/components/BbCheckbox.json +1 -1
  115. package/dist/ai/manifest/components/BbCheckbox.tree.json +31 -2
  116. package/dist/ai/manifest/components/BbCheckboxGroup.json +3 -3
  117. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +65 -2
  118. package/dist/ai/manifest/components/BbCollapsible.tree.json +11 -1
  119. package/dist/ai/manifest/components/BbColorInput.json +2 -2
  120. package/dist/ai/manifest/components/BbColorInput.tree.json +47 -3
  121. package/dist/ai/manifest/components/BbColorPalette.json +2 -2
  122. package/dist/ai/manifest/components/BbColorPalette.tree.json +36 -3
  123. package/dist/ai/manifest/components/BbConfigScope.json +1 -1
  124. package/dist/ai/manifest/components/BbConfirm.json +1 -1
  125. package/dist/ai/manifest/components/BbConfirm.tree.json +27 -3
  126. package/dist/ai/manifest/components/BbDatePicker.json +5 -5
  127. package/dist/ai/manifest/components/BbDatePicker.tree.json +42 -3
  128. package/dist/ai/manifest/components/BbDatePickerInput.json +2 -2
  129. package/dist/ai/manifest/components/BbDatePickerInput.tree.json +83 -4
  130. package/dist/ai/manifest/components/BbDialog.tree.json +28 -3
  131. package/dist/ai/manifest/components/BbDropdown.json +8 -7
  132. package/dist/ai/manifest/components/BbDropdown.tree.json +80 -3
  133. package/dist/ai/manifest/components/BbDropdownButton.json +4 -4
  134. package/dist/ai/manifest/components/BbDropdownButton.tree.json +46 -3
  135. package/dist/ai/manifest/components/BbDropzone.json +1 -1
  136. package/dist/ai/manifest/components/BbDropzone.tree.json +27 -1
  137. package/dist/ai/manifest/components/BbForm.json +1 -1
  138. package/dist/ai/manifest/components/BbHost.tree.json +1 -1
  139. package/dist/ai/manifest/components/BbHoverCard.json +3 -3
  140. package/dist/ai/manifest/components/BbHoverCard.tree.json +18 -1
  141. package/dist/ai/manifest/components/BbIcon.tree.json +7 -1
  142. package/dist/ai/manifest/components/BbIndicator.tree.json +27 -1
  143. package/dist/ai/manifest/components/BbNumberInput.json +2 -2
  144. package/dist/ai/manifest/components/BbNumberInput.tree.json +38 -2
  145. package/dist/ai/manifest/components/BbOffCanvas.json +1 -1
  146. package/dist/ai/manifest/components/BbOffCanvas.tree.json +55 -2
  147. package/dist/ai/manifest/components/BbPagination.json +1 -1
  148. package/dist/ai/manifest/components/BbPagination.tree.json +22 -3
  149. package/dist/ai/manifest/components/BbPopover.json +3 -3
  150. package/dist/ai/manifest/components/BbPopover.tree.json +20 -2
  151. package/dist/ai/manifest/components/BbProgress.tree.json +9 -1
  152. package/dist/ai/manifest/components/BbRadio.tree.json +30 -2
  153. package/dist/ai/manifest/components/BbRadioGroup.json +3 -3
  154. package/dist/ai/manifest/components/BbRadioGroup.tree.json +64 -2
  155. package/dist/ai/manifest/components/BbRating.json +4 -4
  156. package/dist/ai/manifest/components/BbRating.removed.json +1 -0
  157. package/dist/ai/manifest/components/BbRating.tree.json +37 -2
  158. package/dist/ai/manifest/components/BbSelect.json +3 -3
  159. package/dist/ai/manifest/components/BbSelect.tree.json +65 -4
  160. package/dist/ai/manifest/components/BbSelectPopover.json +8 -6
  161. package/dist/ai/manifest/components/BbSelectPopover.tree.json +91 -8
  162. package/dist/ai/manifest/components/BbSlider.json +13 -12
  163. package/dist/ai/manifest/components/BbSlider.tree.json +44 -1
  164. package/dist/ai/manifest/components/BbSmoothHeight.tree.json +10 -1
  165. package/dist/ai/manifest/components/BbSpinner.tree.json +21 -2
  166. package/dist/ai/manifest/components/BbSwitch.json +2 -2
  167. package/dist/ai/manifest/components/BbSwitch.tree.json +31 -2
  168. package/dist/ai/manifest/components/BbSwitchGroup.json +4 -4
  169. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +60 -2
  170. package/dist/ai/manifest/components/BbTable.json +8 -8
  171. package/dist/ai/manifest/components/BbTable.tree.json +142 -4
  172. package/dist/ai/manifest/components/BbTabs.json +4 -4
  173. package/dist/ai/manifest/components/BbTabs.removed.json +5 -1
  174. package/dist/ai/manifest/components/BbTabs.tree.json +34 -3
  175. package/dist/ai/manifest/components/BbTabsList.json +4 -4
  176. package/dist/ai/manifest/components/BbTabsList.removed.json +5 -1
  177. package/dist/ai/manifest/components/BbTabsList.tree.json +24 -2
  178. package/dist/ai/manifest/components/BbTabsPanels.tree.json +16 -1
  179. package/dist/ai/manifest/components/BbTabsRoot.json +1 -1
  180. package/dist/ai/manifest/components/BbTag.json +2 -2
  181. package/dist/ai/manifest/components/BbTag.tree.json +47 -3
  182. package/dist/ai/manifest/components/BbTextInput.json +2 -2
  183. package/dist/ai/manifest/components/BbTextInput.tree.json +41 -2
  184. package/dist/ai/manifest/components/BbTextarea.json +2 -2
  185. package/dist/ai/manifest/components/BbTextarea.tree.json +44 -2
  186. package/dist/ai/manifest/components/BbTimePicker.json +5 -5
  187. package/dist/ai/manifest/components/BbTimePicker.tree.json +30 -3
  188. package/dist/ai/manifest/components/BbTimePickerInput.json +2 -2
  189. package/dist/ai/manifest/components/BbTimePickerInput.tree.json +55 -5
  190. package/dist/ai/manifest/components/BbToast.json +1 -1
  191. package/dist/ai/manifest/components/BbToast.tree.json +41 -2
  192. package/dist/ai/manifest/components/BbTooltip.json +3 -3
  193. package/dist/ai/manifest/components/BbTooltip.tree.json +17 -1
  194. package/dist/ai/manifest/components/BbTree.tree.json +14 -1
  195. package/dist/ai/manifest/components/ChipsBox.tree.json +1 -1
  196. package/dist/ai/manifest/components/ClearableButton.tree.json +8 -2
  197. package/dist/ai/manifest/components/CommonField.json +2 -2
  198. package/dist/ai/manifest/components/CommonField.tree.json +68 -1
  199. package/dist/ai/manifest/components/CommonFieldInput.tree.json +36 -6
  200. package/dist/ai/manifest/components/CommonPopover.json +7 -5
  201. package/dist/ai/manifest/components/CommonPopover.tree.json +11 -1
  202. package/dist/ai/manifest/components/CommonTimeSelector.tree.json +18 -2
  203. package/dist/ai/manifest/components/ErrorIcon.tree.json +8 -2
  204. package/dist/ai/manifest/components/FlatListBox.tree.json +2 -2
  205. package/dist/ai/manifest/components/GroupedListBox.tree.json +2 -2
  206. package/dist/ai/manifest/components/ListBox.tree.json +2 -2
  207. package/dist/ai/manifest/components/OptionsContainer.json +2 -2
  208. package/dist/ai/manifest/components/WarningIcon.tree.json +8 -2
  209. package/dist/ai/manifest/index.json +5 -4
  210. package/dist/ai/manifest/meta.json +8 -147
  211. package/dist/ai/manifest/types.advanced.json +78 -76
  212. package/dist/ai/manifest/types.api.json +17 -16
  213. package/dist/ai/manifest/types.wrapper.json +115 -112
  214. package/dist/ai/recipes/inertia/approvals-inbox.md +8 -8
  215. package/dist/ai/recipes/inertia/inline-edit-workspace.md +11 -11
  216. package/dist/ai/recipes/inertia/onboarding.md +8 -8
  217. package/dist/ai/recipes/inertia/ownership-atlas.md +6 -6
  218. package/dist/ai/recipes/inertia/record-form.md +14 -14
  219. package/dist/ai/recipes/inertia/records-workspace.md +11 -10
  220. package/dist/ai/recipes/inertia/settings-workspace.md +11 -11
  221. package/dist/ai/recipes/inertia/upload-center.md +10 -10
  222. package/dist/ai/recipes/inertia/wizard-form.md +14 -14
  223. package/dist/ai/recipes/nuxt/approvals-inbox.md +11 -11
  224. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +13 -13
  225. package/dist/ai/recipes/nuxt/onboarding.md +8 -8
  226. package/dist/ai/recipes/nuxt/ownership-atlas.md +10 -10
  227. package/dist/ai/recipes/nuxt/record-form.md +14 -14
  228. package/dist/ai/recipes/nuxt/records-workspace.md +14 -13
  229. package/dist/ai/recipes/nuxt/settings-workspace.md +10 -10
  230. package/dist/ai/recipes/nuxt/upload-center.md +11 -11
  231. package/dist/ai/recipes/nuxt/wizard-form.md +15 -15
  232. package/dist/ai/recipes/vue/approvals-inbox.md +13 -11
  233. package/dist/ai/recipes/vue/inline-edit-workspace.md +13 -13
  234. package/dist/ai/recipes/vue/onboarding.md +14 -9
  235. package/dist/ai/recipes/vue/ownership-atlas.md +10 -10
  236. package/dist/ai/recipes/vue/record-form.md +16 -14
  237. package/dist/ai/recipes/vue/records-workspace.md +16 -13
  238. package/dist/ai/recipes/vue/settings-workspace.md +13 -11
  239. package/dist/ai/recipes/vue/upload-center.md +11 -11
  240. package/dist/ai/recipes/vue/wizard-form.md +16 -14
  241. package/dist/ai/source/BbAccordion.md +11 -14
  242. package/dist/ai/source/BbAlert.md +95 -89
  243. package/dist/ai/source/BbAsterisk.md +6 -7
  244. package/dist/ai/source/BbAvatar.md +37 -37
  245. package/dist/ai/source/BbBadge.md +85 -81
  246. package/dist/ai/source/BbBadgeButton.md +80 -76
  247. package/dist/ai/source/BbBaseButton.md +284 -276
  248. package/dist/ai/source/BbBaseCheckboxIcon.md +69 -63
  249. package/dist/ai/source/BbBaseRadioIcon.md +63 -57
  250. package/dist/ai/source/BbBaseSwitchIcon.md +84 -65
  251. package/dist/ai/source/BbBreadcrumbs.md +76 -63
  252. package/dist/ai/source/BbButton.md +63 -55
  253. package/dist/ai/source/BbCalendar.md +161 -146
  254. package/dist/ai/source/BbCarousel.md +2897 -0
  255. package/dist/ai/source/BbCheckbox.md +211 -186
  256. package/dist/ai/source/BbCheckboxGroup.md +108 -54
  257. package/dist/ai/source/BbCollapsible.md +7 -10
  258. package/dist/ai/source/BbColorInput.md +233 -227
  259. package/dist/ai/source/BbColorPalette.md +218 -140
  260. package/dist/ai/source/BbConfirm.md +33 -29
  261. package/dist/ai/source/BbConfirmPortal.md +30 -26
  262. package/dist/ai/source/BbDatePicker.md +202 -181
  263. package/dist/ai/source/BbDatePickerInput.md +751 -407
  264. package/dist/ai/source/BbDialog.md +187 -181
  265. package/dist/ai/source/BbDropdown.md +274 -218
  266. package/dist/ai/source/BbDropdownButton.md +50 -45
  267. package/dist/ai/source/BbDropdownGroup.md +242 -210
  268. package/dist/ai/source/BbDropzone.md +101 -100
  269. package/dist/ai/source/BbForm.md +28 -28
  270. package/dist/ai/source/BbHost.md +2 -2
  271. package/dist/ai/source/BbHoverCard.md +28 -18
  272. package/dist/ai/source/BbHoverCardPortal.md +9 -12
  273. package/dist/ai/source/BbIcon.md +27 -26
  274. package/dist/ai/source/BbIndicator.md +76 -70
  275. package/dist/ai/source/BbNumberInput.md +300 -293
  276. package/dist/ai/source/BbOffCanvas.md +236 -214
  277. package/dist/ai/source/BbPagination.md +134 -98
  278. package/dist/ai/source/BbPopover.md +32 -22
  279. package/dist/ai/source/BbPopoverPortal.md +9 -12
  280. package/dist/ai/source/BbProgress.md +20 -12
  281. package/dist/ai/source/BbRadio.md +188 -175
  282. package/dist/ai/source/BbRadioGroup.md +407 -350
  283. package/dist/ai/source/BbRating.md +192 -167
  284. package/dist/ai/source/BbSelect.md +474 -461
  285. package/dist/ai/source/BbSelectPopover.md +426 -385
  286. package/dist/ai/source/BbSlider.md +333 -266
  287. package/dist/ai/source/BbSmoothHeight.md +8 -9
  288. package/dist/ai/source/BbSpinner.md +20 -20
  289. package/dist/ai/source/BbSwitch.md +25 -13
  290. package/dist/ai/source/BbSwitchGroup.md +88 -26
  291. package/dist/ai/source/BbTable.md +560 -501
  292. package/dist/ai/source/BbTabs.md +129 -114
  293. package/dist/ai/source/BbTabsList.md +163 -135
  294. package/dist/ai/source/BbTabsPanels.md +127 -112
  295. package/dist/ai/source/BbTabsRoot.md +124 -109
  296. package/dist/ai/source/BbTag.md +264 -266
  297. package/dist/ai/source/BbTextInput.md +31 -25
  298. package/dist/ai/source/BbTextarea.md +33 -27
  299. package/dist/ai/source/BbTimePicker.md +128 -121
  300. package/dist/ai/source/BbTimePickerInput.md +356 -302
  301. package/dist/ai/source/BbToast.md +80 -36
  302. package/dist/ai/source/BbToastPortal.md +42 -30
  303. package/dist/ai/source/BbTooltip.md +154 -128
  304. package/dist/ai/source/BbTree.md +16 -12
  305. package/dist/ai/source/CommonField.md +94 -59
  306. package/dist/ai/source/CommonFieldInput.md +9 -9
  307. package/dist/ai/source/CommonPopover.md +28 -9
  308. package/dist/ai/source/CommonTimeSelector.md +41 -8
  309. package/dist/ai/source/FlatListBox.md +5 -4
  310. package/dist/ai/source/GroupedListBox.md +6 -5
  311. package/dist/ai/source/ListBox.md +1 -0
  312. package/dist/ai/source/OptionsContainer.md +39 -8
  313. package/dist/assets/svgs/chevron_left.svg_raw.js +3 -0
  314. package/dist/assets/svgs/pause.svg_raw.js +3 -0
  315. package/dist/assets/svgs/play.svg_raw.js +3 -0
  316. package/dist/assets/svgs/star.svg_raw.js +1 -1
  317. package/dist/calendar-runtime.js +112 -0
  318. package/dist/calendars.js +83 -0
  319. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +2 -2
  320. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +4 -4
  321. package/dist/components/BbAccordion/ptKeys.generated.d.ts +44 -0
  322. package/dist/components/BbAccordion/types.d.ts +5 -6
  323. package/dist/components/BbAlert/BbAlert.vue.d.ts +4 -4
  324. package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +4 -4
  325. package/dist/components/BbAlert/ptKeys.generated.d.ts +104 -0
  326. package/dist/components/BbAlert/types.d.ts +15 -8
  327. package/dist/components/BbAsterisk/BbAsterisk.vue.d.ts +2 -2
  328. package/dist/components/BbAsterisk/ptKeys.generated.d.ts +8 -0
  329. package/dist/components/BbAsterisk/types.d.ts +4 -5
  330. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +3 -3
  331. package/dist/components/BbAvatar/ptKeys.generated.d.ts +12 -0
  332. package/dist/components/BbAvatar/types.d.ts +5 -6
  333. package/dist/components/BbBadge/BbBadge.vue.d.ts +4 -4
  334. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +15 -15
  335. package/dist/components/BbBadge/BbBadgeButton.vue.d.ts +2 -2
  336. package/dist/components/BbBadge/badgeButtonContext.d.ts +5 -5
  337. package/dist/components/BbBadge/ptKeys.generated.d.ts +160 -0
  338. package/dist/components/BbBadge/types.d.ts +16 -9
  339. package/dist/components/BbBaseButton/BbBaseButton.vue.d.ts +2 -2
  340. package/dist/components/BbBaseButton/ptKeys.generated.d.ts +20 -0
  341. package/dist/components/BbBaseButton/types.d.ts +13 -6
  342. package/dist/components/BbBaseButton/useLinkState.d.ts +1 -1
  343. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.d.ts +2 -2
  344. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue_vue_type_script_setup_true_lang.js +4 -4
  345. package/dist/components/BbBaseCheckboxIcon/ptKeys.generated.d.ts +40 -0
  346. package/dist/components/BbBaseCheckboxIcon/types.d.ts +12 -6
  347. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.d.ts +2 -2
  348. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue_vue_type_script_setup_true_lang.js +4 -4
  349. package/dist/components/BbBaseRadioIcon/ptKeys.generated.d.ts +36 -0
  350. package/dist/components/BbBaseRadioIcon/types.d.ts +12 -6
  351. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.d.ts +2 -2
  352. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue_vue_type_script_setup_true_lang.js +4 -4
  353. package/dist/components/BbBaseSwitchIcon/ptKeys.generated.d.ts +40 -0
  354. package/dist/components/BbBaseSwitchIcon/types.d.ts +12 -6
  355. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +2 -2
  356. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +5 -5
  357. package/dist/components/BbBreadcrumbs/ptKeys.generated.d.ts +48 -0
  358. package/dist/components/BbBreadcrumbs/types.d.ts +15 -8
  359. package/dist/components/BbButton/BbButton.vue.d.ts +4 -4
  360. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +20 -20
  361. package/dist/components/BbButton/ptKeys.generated.d.ts +196 -0
  362. package/dist/components/BbButton/toggleRoving.js +29 -28
  363. package/dist/components/BbButton/types.d.ts +17 -11
  364. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +9 -71
  365. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +34 -32
  366. package/dist/components/BbCalendar/CalendarMonthPanel.vue_vue_type_script_setup_true_lang.js +67 -65
  367. package/dist/components/BbCalendar/CalendarYearPanel.vue_vue_type_script_setup_true_lang.js +76 -67
  368. package/dist/components/BbCalendar/calendarHost.d.ts +1 -1
  369. package/dist/components/BbCalendar/calendarMath.d.ts +102 -0
  370. package/dist/components/BbCalendar/calendarMath.js +124 -0
  371. package/dist/components/BbCalendar/ptKeys.generated.d.ts +248 -0
  372. package/dist/components/BbCalendar/types.d.ts +15 -9
  373. package/dist/components/BbCalendar/useCalendarContext.d.ts +43 -17
  374. package/dist/components/BbCalendar/useCalendarGrid.d.ts +71 -4
  375. package/dist/components/BbCalendar/useCalendarGrid.js +264 -210
  376. package/dist/components/BbCalendar/useDayGrid.d.ts +26 -8
  377. package/dist/components/BbCalendar/useDayGrid.js +178 -172
  378. package/dist/components/BbCalendar/useDayjsLocale.d.ts +18 -3
  379. package/dist/components/BbCalendar/useDayjsLocale.js +28 -28
  380. package/dist/components/BbCalendar/useToday.d.ts +5 -3
  381. package/dist/components/BbCalendar/useToday.js +22 -12
  382. package/dist/components/BbCarousel/BbCarousel.vue.d.ts +51 -0
  383. package/dist/components/BbCarousel/BbCarousel.vue.js +5 -0
  384. package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +818 -0
  385. package/dist/components/BbCarousel/ptKeys.generated.d.ts +60 -0
  386. package/dist/components/BbCarousel/types.d.ts +213 -0
  387. package/dist/components/BbCarousel/types.js +27 -0
  388. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -4
  389. package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +30 -30
  390. package/dist/components/BbCheckbox/ptKeys.generated.d.ts +220 -0
  391. package/dist/components/BbCheckbox/types.d.ts +30 -14
  392. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +164 -326
  393. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +50 -50
  394. package/dist/components/BbCheckboxGroup/ptKeys.generated.d.ts +492 -0
  395. package/dist/components/BbCheckboxGroup/types.d.ts +32 -23
  396. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +3 -3
  397. package/dist/components/BbCollapsible/BbCollapsible.vue_vue_type_script_setup_true_lang.js +1 -1
  398. package/dist/components/BbCollapsible/ptKeys.generated.d.ts +20 -0
  399. package/dist/components/BbCollapsible/types.d.ts +5 -6
  400. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +3 -3
  401. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +124 -124
  402. package/dist/components/BbColorInput/ptKeys.generated.d.ts +656 -0
  403. package/dist/components/BbColorInput/types.d.ts +24 -14
  404. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
  405. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +324 -287
  406. package/dist/components/BbColorPalette/ptKeys.generated.d.ts +40 -0
  407. package/dist/components/BbColorPalette/types.d.ts +15 -8
  408. package/dist/components/BbConfigScope/BbConfigScope.vue.d.ts +1 -1
  409. package/dist/components/BbConfigScope/types.d.ts +1 -1
  410. package/dist/components/BbConfirm/BbConfirm.vue.d.ts +1 -1
  411. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +24 -24
  412. package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +1 -1
  413. package/dist/components/BbConfirm/confirmEntry.d.ts +2 -2
  414. package/dist/components/BbConfirm/ptKeys.generated.d.ts +184 -0
  415. package/dist/components/BbConfirm/types.d.ts +14 -7
  416. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +16 -97
  417. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +208 -205
  418. package/dist/components/BbDatePicker/ptKeys.generated.d.ts +324 -0
  419. package/dist/components/BbDatePicker/types.d.ts +20 -13
  420. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +17 -306
  421. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +696 -579
  422. package/dist/components/BbDatePickerInput/calendarFields.d.ts +91 -0
  423. package/dist/components/BbDatePickerInput/calendarFields.js +188 -0
  424. package/dist/components/BbDatePickerInput/dateFieldLayout.d.ts +6 -0
  425. package/dist/components/BbDatePickerInput/dateFieldLayout.js +11 -1
  426. package/dist/components/BbDatePickerInput/ptKeys.generated.d.ts +1156 -0
  427. package/dist/components/BbDatePickerInput/types.d.ts +30 -20
  428. package/dist/components/BbDialog/BbDialog.vue.d.ts +6 -6
  429. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +7 -7
  430. package/dist/components/BbDialog/ptKeys.generated.d.ts +100 -0
  431. package/dist/components/BbDialog/types.d.ts +24 -18
  432. package/dist/components/BbDropdown/AdaptiveDropdown.vue.d.ts +1 -1
  433. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -3
  434. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +333 -327
  435. package/dist/components/BbDropdown/BbDropdownGroup.vue.d.ts +2 -2
  436. package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +1 -1
  437. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +278 -277
  438. package/dist/components/BbDropdown/DropdownRow.vue.d.ts +2 -2
  439. package/dist/components/BbDropdown/normalizeGroups.d.ts +2 -2
  440. package/dist/components/BbDropdown/ptKeys.generated.d.ts +228 -0
  441. package/dist/components/BbDropdown/types.d.ts +40 -35
  442. package/dist/components/BbDropdown/useDropdownContext.d.ts +2 -2
  443. package/dist/components/BbDropdown/useDropdownGroupRegistry.d.ts +5 -5
  444. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -4
  445. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +84 -84
  446. package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +616 -0
  447. package/dist/components/BbDropdownButton/types.d.ts +17 -10
  448. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +6 -25
  449. package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +14 -14
  450. package/dist/components/BbDropzone/ptKeys.generated.d.ts +76 -0
  451. package/dist/components/BbDropzone/types.d.ts +15 -8
  452. package/dist/components/BbForm/BbForm.vue.d.ts +3 -3
  453. package/dist/components/BbForm/BbFormCustomField.d.ts +1 -1
  454. package/dist/components/BbForm/bindFormField.d.ts +4 -4
  455. package/dist/components/BbForm/formFields.d.ts +5 -5
  456. package/dist/components/BbForm/formSchema.d.ts +4 -4
  457. package/dist/components/BbHost/BbHost.vue.d.ts +1 -1
  458. package/dist/components/BbHost/BbHostOpening.d.ts +3 -3
  459. package/dist/components/BbHost/types.d.ts +1 -1
  460. package/dist/components/BbHoverCard/BbHoverCard.vue.d.ts +3 -3
  461. package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +150 -144
  462. package/dist/components/BbHoverCard/BbHoverCardPortal.vue.d.ts +1 -1
  463. package/dist/components/BbHoverCard/ptKeys.generated.d.ts +44 -0
  464. package/dist/components/BbHoverCard/types.d.ts +8 -9
  465. package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -3
  466. package/dist/components/BbIcon/ptKeys.generated.d.ts +8 -0
  467. package/dist/components/BbIcon/types.d.ts +7 -8
  468. package/dist/components/BbIndicator/BbIndicator.vue.d.ts +4 -4
  469. package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +1 -1
  470. package/dist/components/BbIndicator/ptKeys.generated.d.ts +52 -0
  471. package/dist/components/BbIndicator/types.d.ts +14 -7
  472. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +3 -3
  473. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +79 -79
  474. package/dist/components/BbNumberInput/numberDisplay.d.ts +10 -11
  475. package/dist/components/BbNumberInput/ptKeys.generated.d.ts +476 -0
  476. package/dist/components/BbNumberInput/types.d.ts +23 -13
  477. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +7 -7
  478. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +407 -406
  479. package/dist/components/BbOffCanvas/ptKeys.generated.d.ts +88 -0
  480. package/dist/components/BbOffCanvas/sheetAttrs.d.ts +1 -1
  481. package/dist/components/BbOffCanvas/sheetSnap.d.ts +2 -2
  482. package/dist/components/BbOffCanvas/types.d.ts +30 -23
  483. package/dist/components/BbOffCanvas/useOffCanvasStack.d.ts +1 -1
  484. package/dist/components/BbPagination/BbPagination.vue.d.ts +3 -3
  485. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +6 -6
  486. package/dist/components/BbPagination/paginationFit.d.ts +1 -1
  487. package/dist/components/BbPagination/ptKeys.generated.d.ts +48 -0
  488. package/dist/components/BbPagination/types.d.ts +16 -8
  489. package/dist/components/BbPopover/BbPopover.vue.d.ts +3 -3
  490. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +119 -113
  491. package/dist/components/BbPopover/BbPopoverPortal.vue.d.ts +1 -1
  492. package/dist/components/BbPopover/ptKeys.generated.d.ts +52 -0
  493. package/dist/components/BbPopover/types.d.ts +8 -9
  494. package/dist/components/BbProgress/BbProgress.vue.d.ts +2 -2
  495. package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +1 -1
  496. package/dist/components/BbProgress/ptKeys.generated.d.ts +20 -0
  497. package/dist/components/BbProgress/types.d.ts +4 -5
  498. package/dist/components/BbRadio/BbRadio.vue.d.ts +4 -4
  499. package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +30 -30
  500. package/dist/components/BbRadio/ptKeys.generated.d.ts +196 -0
  501. package/dist/components/BbRadio/types.d.ts +24 -13
  502. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +148 -267
  503. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +44 -44
  504. package/dist/components/BbRadioGroup/ptKeys.generated.d.ts +492 -0
  505. package/dist/components/BbRadioGroup/types.d.ts +30 -19
  506. package/dist/components/BbRating/BbRating.vue.d.ts +3 -3
  507. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +107 -107
  508. package/dist/components/BbRating/ptKeys.generated.d.ts +152 -0
  509. package/dist/components/BbRating/types.d.ts +31 -20
  510. package/dist/components/BbRating/types.js +1 -1
  511. package/dist/components/BbSelect/BbSelect.vue.d.ts +264 -497
  512. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +190 -190
  513. package/dist/components/BbSelect/ptKeys.generated.d.ts +960 -0
  514. package/dist/components/BbSelect/types.d.ts +29 -20
  515. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +19 -51
  516. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +518 -512
  517. package/dist/components/BbSelectPopover/knownItems.d.ts +4 -4
  518. package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +148 -0
  519. package/dist/components/BbSelectPopover/reclickClears.d.ts +1 -1
  520. package/dist/components/BbSelectPopover/sheetChipAttrs.d.ts +1 -1
  521. package/dist/components/BbSelectPopover/types.d.ts +23 -15
  522. package/dist/components/BbSlider/BbSlider.vue.d.ts +14 -80
  523. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +286 -270
  524. package/dist/components/BbSlider/ptKeys.generated.d.ts +316 -0
  525. package/dist/components/BbSlider/types.d.ts +28 -16
  526. package/dist/components/BbSlider/types.js +2 -0
  527. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -3
  528. package/dist/components/BbSmoothHeight/ptKeys.generated.d.ts +8 -0
  529. package/dist/components/BbSmoothHeight/types.d.ts +5 -6
  530. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +3 -3
  531. package/dist/components/BbSpinner/ptKeys.generated.d.ts +8 -0
  532. package/dist/components/BbSpinner/types.d.ts +5 -6
  533. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +4 -4
  534. package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +30 -30
  535. package/dist/components/BbSwitch/ptKeys.generated.d.ts +220 -0
  536. package/dist/components/BbSwitch/types.d.ts +15 -5
  537. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +35 -114
  538. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +10 -10
  539. package/dist/components/BbSwitchGroup/ptKeys.generated.d.ts +332 -0
  540. package/dist/components/BbSwitchGroup/types.d.ts +14 -5
  541. package/dist/components/BbTable/BbTable.vue.d.ts +10 -10
  542. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1274 -1273
  543. package/dist/components/BbTable/BbTableDataRow.d.ts +4 -4
  544. package/dist/components/BbTable/BbTableEdgeRow.d.ts +5 -5
  545. package/dist/components/BbTable/BbTableExpandRow.d.ts +2 -2
  546. package/dist/components/BbTable/BbTableSelectToggle.d.ts +2 -2
  547. package/dist/components/BbTable/estimatedFloors.golden.d.ts +1 -1
  548. package/dist/components/BbTable/gridWidgets.d.ts +1 -1
  549. package/dist/components/BbTable/measuredFloors.d.ts +1 -1
  550. package/dist/components/BbTable/measuredFloorsTestKit.d.ts +1 -1
  551. package/dist/components/BbTable/ptKeys.generated.d.ts +280 -0
  552. package/dist/components/BbTable/types.d.ts +30 -22
  553. package/dist/components/BbTable/utils.d.ts +5 -5
  554. package/dist/components/BbTable/utils.js +89 -88
  555. package/dist/components/BbTabs/BbTabs.vue.d.ts +41 -69
  556. package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +13 -13
  557. package/dist/components/BbTabs/BbTabsList.vue.d.ts +3 -3
  558. package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +121 -122
  559. package/dist/components/BbTabs/BbTabsPanels.vue.d.ts +3 -3
  560. package/dist/components/BbTabs/BbTabsPanels.vue_vue_type_script_setup_true_lang.js +1 -1
  561. package/dist/components/BbTabs/BbTabsRoot.vue.d.ts +2 -2
  562. package/dist/components/BbTabs/ptKeys.generated.d.ts +226 -0
  563. package/dist/components/BbTabs/types.d.ts +40 -22
  564. package/dist/components/BbTag/BbTag.vue.d.ts +3 -3
  565. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +261 -262
  566. package/dist/components/BbTag/ptKeys.generated.d.ts +540 -0
  567. package/dist/components/BbTag/types.d.ts +23 -13
  568. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +14 -166
  569. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +110 -110
  570. package/dist/components/BbTextInput/ptKeys.generated.d.ts +608 -0
  571. package/dist/components/BbTextInput/types.d.ts +23 -14
  572. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +14 -166
  573. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +110 -110
  574. package/dist/components/BbTextarea/ptKeys.generated.d.ts +608 -0
  575. package/dist/components/BbTextarea/types.d.ts +23 -14
  576. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +13 -33
  577. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +6 -6
  578. package/dist/components/BbTimePicker/ptKeys.generated.d.ts +80 -0
  579. package/dist/components/BbTimePicker/types.d.ts +17 -11
  580. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +15 -198
  581. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +398 -387
  582. package/dist/components/BbTimePickerInput/ptKeys.generated.d.ts +732 -0
  583. package/dist/components/BbTimePickerInput/types.d.ts +29 -17
  584. package/dist/components/BbToast/BbToast.vue.d.ts +2 -2
  585. package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +59 -52
  586. package/dist/components/BbToast/BbToastMessage.vue.d.ts +2 -2
  587. package/dist/components/BbToast/BbToastPortal.vue.d.ts +1 -1
  588. package/dist/components/BbToast/BbToastRegion.vue.d.ts +5 -3
  589. package/dist/components/BbToast/ptKeys.generated.d.ts +232 -0
  590. package/dist/components/BbToast/types.d.ts +20 -11
  591. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +4 -4
  592. package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +99 -88
  593. package/dist/components/BbTooltip/ptKeys.generated.d.ts +36 -0
  594. package/dist/components/BbTooltip/tooltipWarmup.d.ts +2 -2
  595. package/dist/components/BbTooltip/types.d.ts +15 -8
  596. package/dist/components/BbTree/BbTree.vue.d.ts +7 -11
  597. package/dist/components/BbTree/BbTreeLevel.vue.d.ts +1 -1
  598. package/dist/components/BbTree/context.d.ts +2 -2
  599. package/dist/components/BbTree/ptKeys.generated.d.ts +16 -0
  600. package/dist/components/BbTree/types.d.ts +5 -6
  601. package/dist/components/ChipsBox/ChipsBox.vue.d.ts +2 -2
  602. package/dist/components/ChipsBox/types.d.ts +2 -2
  603. package/dist/components/ClearableButton/ClearableButton.vue.d.ts +2 -2
  604. package/dist/components/CloseIcon/CloseButton.vue.d.ts +2 -2
  605. package/dist/components/CommaBox/CommaBox.vue.d.ts +2 -2
  606. package/dist/components/CommaBox/types.d.ts +2 -2
  607. package/dist/components/CommonField/CommonField.vue.d.ts +7 -7
  608. package/dist/components/CommonField/CommonField.vue_vue_type_script_setup_true_lang.js +9 -4
  609. package/dist/components/CommonField/messageHeightMatrix.d.ts +1 -1
  610. package/dist/components/CommonField/types.d.ts +18 -14
  611. package/dist/components/CommonFieldInput/CommonFieldInput.vue.d.ts +3 -3
  612. package/dist/components/CommonFieldInput/types.d.ts +3 -3
  613. package/dist/components/CommonPopover/CommonPopover.vue.d.ts +4 -4
  614. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +56 -55
  615. package/dist/components/CommonPopover/resolvePlacement.d.ts +9 -0
  616. package/dist/components/CommonPopover/resolvePlacement.js +9 -0
  617. package/dist/components/CommonPopover/types.d.ts +5 -5
  618. package/dist/components/CommonTimeSelector/CommonTimeSelector.vue.d.ts +2 -2
  619. package/dist/components/CommonTimeSelector/CommonTimeSelector.vue_vue_type_script_setup_true_lang.js +110 -99
  620. package/dist/components/CommonTimeSelector/useMeridiem.d.ts +1 -1
  621. package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +2 -2
  622. package/dist/components/FlatListBox/FlatListBox.vue.d.ts +2 -2
  623. package/dist/components/FlatListBox/types.d.ts +2 -2
  624. package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +2 -2
  625. package/dist/components/GroupedListBox/types.d.ts +2 -2
  626. package/dist/components/ListBox/ListBox.vue.d.ts +2 -2
  627. package/dist/components/ListBox/types.d.ts +2 -2
  628. package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +1 -1
  629. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +55 -41
  630. package/dist/components/OptionsContainer/types.d.ts +3 -3
  631. package/dist/components/Transitions/Slide.vue.d.ts +5 -3
  632. package/dist/components/Transitions/Slide.vue.js +1 -1
  633. package/dist/components/WarningIcon/WarningIcon.vue.d.ts +2 -2
  634. package/dist/composables/autoHost.d.ts +1 -1
  635. package/dist/composables/formSubmitLock.d.ts +5 -5
  636. package/dist/composables/hostOpenings.d.ts +6 -6
  637. package/dist/composables/hostRegistry.d.ts +2 -2
  638. package/dist/composables/overlayRegistry.d.ts +25 -25
  639. package/dist/composables/overlayRegistry.js +13 -7
  640. package/dist/composables/useBaseOptions.d.ts +2 -2
  641. package/dist/composables/useBbConfig.d.ts +5 -5
  642. package/dist/composables/useBbDialog.d.ts +17 -17
  643. package/dist/composables/useBbDialog.js +2 -1
  644. package/dist/composables/useBbDropdown.d.ts +1 -1
  645. package/dist/composables/useBbForm.d.ts +2 -2
  646. package/dist/composables/useBbFormField.d.ts +4 -4
  647. package/dist/composables/useBbOffCanvas.d.ts +6 -6
  648. package/dist/composables/useBbTable.d.ts +4 -4
  649. package/dist/composables/useBbTabs.d.ts +4 -4
  650. package/dist/composables/useBbTabs.js +44 -43
  651. package/dist/composables/useBreakpoint.d.ts +1 -1
  652. package/dist/composables/useCharacterCounter.d.ts +2 -2
  653. package/dist/composables/useChoiceIndicator.d.ts +2 -2
  654. package/dist/composables/useClosingInert.d.ts +1 -1
  655. package/dist/composables/useConfig.d.ts +3 -3
  656. package/dist/composables/useConfigDefaults.d.ts +3 -3
  657. package/dist/composables/useConfirm.d.ts +11 -11
  658. package/dist/composables/useDirection.d.ts +43 -0
  659. package/dist/composables/useDirection.js +12 -0
  660. package/dist/composables/useFormBinding.d.ts +4 -4
  661. package/dist/composables/useId.d.ts +1 -1
  662. package/dist/composables/useItemsGetter.d.ts +3 -3
  663. package/dist/composables/useKeyboardInset.d.ts +1 -1
  664. package/dist/composables/useListboxFocus.d.ts +1 -1
  665. package/dist/composables/useLocale.d.ts +2 -2
  666. package/dist/composables/useOnDemandOpener.d.ts +3 -3
  667. package/dist/composables/useOverlayNavigation.d.ts +1 -1
  668. package/dist/composables/useOverlayYield.d.ts +1 -1
  669. package/dist/composables/usePassthrough.d.ts +6 -6
  670. package/dist/composables/useQuery.d.ts +1 -1
  671. package/dist/composables/useRefusedCloseAnnouncement.d.ts +1 -1
  672. package/dist/composables/useSafeArea.d.ts +1 -1
  673. package/dist/composables/useSafeAreaInternal.d.ts +1 -1
  674. package/dist/composables/useSegmentedFields.d.ts +25 -0
  675. package/dist/composables/useSegmentedFields.js +165 -115
  676. package/dist/composables/useServerPrefetch.d.ts +2 -2
  677. package/dist/composables/useSheetSurface.d.ts +1 -1
  678. package/dist/composables/useSsrState.d.ts +2 -2
  679. package/dist/composables/useToast.d.ts +8 -1
  680. package/dist/composables/useToast.js +39 -35
  681. package/dist/composables/useTypeahead.js +22 -21
  682. package/dist/deprecation/ai-deprecations.json.d.ts +116 -0
  683. package/dist/deprecation/ai-deprecations.json.js +1 -1
  684. package/dist/deprecation/removedProps.d.ts +1 -1
  685. package/dist/directives/bbColor.d.ts +1 -1
  686. package/dist/directives/bbDate.d.ts +1 -1
  687. package/dist/directives/bbDialog.d.ts +3 -3
  688. package/dist/directives/bbDropdown.d.ts +1 -1
  689. package/dist/directives/bbHoverCard.d.ts +3 -3
  690. package/dist/directives/bbOffCanvas.d.ts +2 -2
  691. package/dist/directives/bbPopover.d.ts +3 -3
  692. package/dist/directives/bbTime.d.ts +1 -1
  693. package/dist/directives/bbTooltip.d.ts +4 -4
  694. package/dist/directives/directivePortal.d.ts +4 -4
  695. package/dist/directives/overlayTrigger.d.ts +4 -4
  696. package/dist/directives/overlayTrigger.js +2 -1
  697. package/dist/i18n/eraNames.d.ts +2 -0
  698. package/dist/i18n/eraNames.js +2013 -0
  699. package/dist/i18n/index.d.ts +9 -7
  700. package/dist/i18n/localeTags.d.ts +36 -0
  701. package/dist/i18n/locales/ar.json +176 -0
  702. package/dist/i18n/locales/cs.json +21 -2
  703. package/dist/i18n/locales/da.json +21 -2
  704. package/dist/i18n/locales/de-CH.json +21 -2
  705. package/dist/i18n/locales/de.json +21 -2
  706. package/dist/i18n/locales/el.json +21 -2
  707. package/dist/i18n/locales/en-GB.json +21 -2
  708. package/dist/i18n/locales/en.json +21 -2
  709. package/dist/i18n/locales/es-MX.json +21 -2
  710. package/dist/i18n/locales/es.json +21 -2
  711. package/dist/i18n/locales/fa.json +176 -0
  712. package/dist/i18n/locales/fi.json +21 -2
  713. package/dist/i18n/locales/fr.json +21 -2
  714. package/dist/i18n/locales/he.json +176 -0
  715. package/dist/i18n/locales/hu.json +21 -2
  716. package/dist/i18n/locales/it.json +21 -2
  717. package/dist/i18n/locales/ja.json +21 -2
  718. package/dist/i18n/locales/ko.json +21 -2
  719. package/dist/i18n/locales/nb.json +21 -2
  720. package/dist/i18n/locales/nl.json +21 -2
  721. package/dist/i18n/locales/pl.json +21 -2
  722. package/dist/i18n/locales/pt-BR.json +21 -2
  723. package/dist/i18n/locales/pt-PT.json +21 -2
  724. package/dist/i18n/locales/ro.json +21 -2
  725. package/dist/i18n/locales/ru.json +21 -2
  726. package/dist/i18n/locales/sv.json +21 -2
  727. package/dist/i18n/locales/tr.json +21 -2
  728. package/dist/i18n/locales/uk.json +21 -2
  729. package/dist/i18n/locales/zh-CN.json +21 -2
  730. package/dist/i18n/locales/zh-HK.json +21 -2
  731. package/dist/i18n/locales/zh-TW.json +21 -2
  732. package/dist/i18n/regionHints.js +22 -22
  733. package/dist/i18n/regions.d.ts +73 -24
  734. package/dist/i18n/regions.js +57 -12
  735. package/dist/index.d.ts +191 -189
  736. package/dist/index.js +55 -54
  737. package/dist/llms-full.txt +7025 -5079
  738. package/dist/llms-medium.txt +486 -340
  739. package/dist/llms.txt +4 -3
  740. package/dist/locale-blueprint.json +24 -2
  741. package/dist/locale-tags.js +81 -0
  742. package/dist/mcp-sdk.LICENSES.txt +210 -0
  743. package/dist/mcp-sdk.mjs +78 -0
  744. package/dist/nuxt-auto-imports.d.ts +1 -1
  745. package/dist/nuxt-auto-imports.js +1 -1
  746. package/dist/nuxt-module.d.ts +5 -5
  747. package/dist/nuxt.js +20 -17
  748. package/dist/plugin.d.ts +2 -2
  749. package/dist/project-dts.d.ts +4 -4
  750. package/dist/project-dts.js +68 -62
  751. package/dist/setup-kit.LICENSES.txt +23 -0
  752. package/dist/setup-kit.mjs +9 -0
  753. package/dist/styles.css +2 -2
  754. package/dist/types/ActionButton.d.ts +3 -3
  755. package/dist/types/AlertVariant.d.ts +1 -1
  756. package/dist/types/BadgeVariant.d.ts +1 -1
  757. package/dist/types/ButtonVariant.d.ts +1 -1
  758. package/dist/types/CheckboxVariant.d.ts +2 -2
  759. package/dist/types/ColumnName.d.ts +1 -1
  760. package/dist/types/CommonProps.d.ts +25 -3
  761. package/dist/types/Config.d.ts +9 -9
  762. package/dist/types/ConfigDefaults.d.ts +37 -37
  763. package/dist/types/ConfirmVariant.d.ts +1 -1
  764. package/dist/types/DatePickerType.d.ts +29 -2
  765. package/dist/types/DatePickerType.js +6 -2
  766. package/dist/types/DropdownItemVariant.d.ts +1 -1
  767. package/dist/types/IndicatorVariant.d.ts +1 -1
  768. package/dist/types/InputVariant.d.ts +1 -1
  769. package/dist/types/ItemAccessor.d.ts +7 -1
  770. package/dist/types/ItemProps.d.ts +3 -3
  771. package/dist/types/ItemsProvider.d.ts +2 -2
  772. package/dist/types/Placement.d.ts +7 -2
  773. package/dist/types/RadioVariant.d.ts +2 -2
  774. package/dist/types/ShapeErased.d.ts +1 -1
  775. package/dist/types/TabsVariant.d.ts +1 -1
  776. package/dist/types/ToastVariant.d.ts +1 -1
  777. package/dist/types/TooltipVariant.d.ts +1 -1
  778. package/dist/types/fallthrough.d.ts +1 -1
  779. package/dist/types/passthrough.d.ts +17 -17
  780. package/dist/types/ptComponentMap.d.ts +16 -15
  781. package/dist/utilities/calendar/canonicalParts.d.ts +29 -0
  782. package/dist/utilities/calendar/canonicalParts.js +12 -0
  783. package/dist/utilities/calendar/digits.d.ts +18 -0
  784. package/dist/utilities/calendar/digits.js +26 -0
  785. package/dist/utilities/calendar/gregorian.d.ts +2 -0
  786. package/dist/utilities/calendar/gregorian.js +36 -0
  787. package/dist/utilities/calendar/index.d.ts +3 -0
  788. package/dist/utilities/calendar/index.js +1 -0
  789. package/dist/utilities/calendar/international.d.ts +19 -0
  790. package/dist/utilities/calendar/resolve.d.ts +32 -0
  791. package/dist/utilities/calendar/resolve.js +12 -0
  792. package/dist/utilities/calendar/runtime.d.ts +49 -0
  793. package/dist/utilities/calendar/types.d.ts +140 -0
  794. package/dist/utilities/calendar/types.js +83 -0
  795. package/dist/utilities/functions/convertDateValue.d.ts +15 -2
  796. package/dist/utilities/functions/convertDateValue.js +22 -17
  797. package/dist/utilities/functions/elementLabel.d.ts +1 -1
  798. package/dist/utilities/functions/extractDomContainer.d.ts +1 -1
  799. package/dist/utilities/functions/isDateDisabled.d.ts +9 -1
  800. package/dist/utilities/functions/isDateDisabled.js +38 -21
  801. package/dist/utilities/functions/itemProps.d.ts +1 -1
  802. package/dist/utilities/functions/normalizeDateBound.d.ts +45 -2
  803. package/dist/utilities/functions/normalizeDateBound.js +52 -11
  804. package/dist/utilities/functions/parseSize.d.ts +2 -2
  805. package/dist/utilities/functions/readableValue.d.ts +1 -1
  806. package/dist/utilities/functions/responsiveDefault.d.ts +1 -1
  807. package/dist/utilities/functions/slotKey.d.ts +1 -1
  808. package/dist/utilities/functions/toggleInput.d.ts +1 -1
  809. package/dist/utilities/functions/warnRemovedAttrs.d.ts +3 -3
  810. package/dist/utilities/functions/when.d.ts +1 -1
  811. package/dist/utilities/misc/autofocus.d.ts +2 -2
  812. package/dist/utilities/misc/listboxMetrics.d.ts +1 -1
  813. package/dist/utilities/misc/maskaDataOptions.d.ts +1 -1
  814. package/dist/utilities/misc/ssrStateInjectionKey.d.ts +1 -1
  815. package/dist/utilities/misc/ssrValue.d.ts +1 -1
  816. package/dist/utils/configDefaults.d.ts +11 -1
  817. package/dist/utils/configDefaults.js +73 -43
  818. package/dist/utils/copyData.d.ts +2 -2
  819. package/dist/utils/cssLayers.d.ts +1 -1
  820. package/dist/utils/focusVisibility.d.ts +1 -1
  821. package/dist/utils/injectLibraryStyles.d.ts +1 -1
  822. package/dist/utils/overlayEscapeStack.d.ts +1 -1
  823. package/dist/utils/passthrough.d.ts +1 -1
  824. package/dist/utils/passthroughDeduper.d.ts +1 -1
  825. package/dist/utils/releasedActivator.d.ts +20 -0
  826. package/dist/utils/releasedActivator.js +11 -0
  827. package/dist/utils/versionCheck.d.ts +1 -1
  828. package/dist/utils/versionCheck.js +1 -1
  829. package/dist/vite-plugin.d.ts +90 -32
  830. package/dist/vite.js +416 -341
  831. package/llms.txt +4 -3
  832. package/package.json +51 -19
  833. package/scripts/README.md +2 -1
  834. package/scripts/lib/agent-manifest.mjs +105 -22
  835. package/scripts/lib/agent-refresh.mjs +151 -0
  836. package/scripts/lib/agent-setup.mjs +679 -0
  837. package/scripts/lib/carousel-items-without-slide.mjs +263 -0
  838. package/scripts/lib/carousel-prop-or-local.mjs +117 -0
  839. package/scripts/lib/check-fix.mjs +1 -1
  840. package/scripts/lib/collapsible-trigger-aria.mjs +1 -1
  841. package/scripts/lib/css-class-check.mjs +3 -3
  842. package/scripts/lib/css-local-check.mjs +25 -17
  843. package/scripts/lib/css-surface-answer.mjs +117 -0
  844. package/scripts/lib/define-preset-copy.mjs +1 -1
  845. package/scripts/lib/distributed-alias.mjs +81 -0
  846. package/scripts/lib/doc-sections.mjs +12 -4
  847. package/scripts/lib/dropdown-default-slot.mjs +1 -1
  848. package/scripts/lib/eslint-disable.mjs +58 -2
  849. package/scripts/lib/eslint-plugin.d.ts +10 -1
  850. package/scripts/lib/eslint-plugin.mjs +542 -64
  851. package/scripts/lib/form-v-model.mjs +1 -1
  852. package/scripts/lib/hand-imported-styles.mjs +2 -2
  853. package/scripts/lib/hand-roll-hints.mjs +25 -3
  854. package/scripts/lib/helper-canon.mjs +4 -4
  855. package/scripts/lib/helpers-add.mjs +39 -24
  856. package/scripts/lib/hidden-label-placeholder.mjs +1 -1
  857. package/scripts/lib/idiom-scan.mjs +4 -4
  858. package/scripts/lib/is-direct-run.mjs +20 -0
  859. package/scripts/lib/items-provider-context.mjs +1 -1
  860. package/scripts/lib/linked-target.mjs +26 -2
  861. package/scripts/lib/local-components.mjs +2 -2
  862. package/scripts/lib/locale-check.mjs +109 -13
  863. package/scripts/lib/mcp-config.mjs +140 -75
  864. package/scripts/lib/mcp-sdk.mjs +199 -0
  865. package/scripts/lib/migrate-fix.mjs +3 -3
  866. package/scripts/lib/plugin-options-check.mjs +170 -0
  867. package/scripts/lib/pnp.mjs +165 -0
  868. package/scripts/lib/portal-names.mjs +4 -4
  869. package/scripts/lib/prefer-v-bb-dialog.mjs +1 -1
  870. package/scripts/lib/project-variant-dts.mjs +80 -15
  871. package/scripts/lib/reactive-v-model.mjs +2 -2
  872. package/scripts/lib/redundant-item-accessor.mjs +1 -1
  873. package/scripts/lib/renamed-item-field.mjs +1 -1
  874. package/scripts/lib/renamed-slot-prop.mjs +524 -0
  875. package/scripts/lib/rule-registry.mjs +1 -1
  876. package/scripts/lib/setup-edits.mjs +1845 -0
  877. package/scripts/lib/setup.mjs +440 -0
  878. package/scripts/lib/slot-key.mjs +1 -1
  879. package/scripts/lib/slot-renames.mjs +3 -3
  880. package/scripts/lib/squashed-slot-words.mjs +1 -1
  881. package/scripts/lib/tab-links.mjs +2 -2
  882. package/scripts/lib/text-null-value.mjs +1 -1
  883. package/scripts/lib/toolchain-check.mjs +3 -3
  884. package/scripts/lib/tooling-options.mjs +87 -0
  885. package/scripts/lib/unimported-components.mjs +1 -1
  886. package/scripts/lib/unstyled-variants.mjs +1 -1
  887. package/scripts/lib/valid-locale.mjs +119 -0
  888. package/scripts/lib/validate-bb-markup.mjs +146 -102
  889. package/scripts/lib/wrapper-props.mjs +2 -2
  890. package/dist/components/BbNumberInput/warroom/corpus.d.ts +0 -58
  891. package/dist/components/BbNumberInput/warroom/currency-verify.rows.d.ts +0 -28
  892. package/dist/components/BbNumberInput/warroom/currency.rows.d.ts +0 -2
  893. package/dist/components/BbNumberInput/warroom/harness.d.ts +0 -217
  894. package/dist/components/BbNumberInput/warroom/oracle.d.ts +0 -150
  895. package/dist/components/BbTable/warroom/harness.d.ts +0 -260
  896. package/dist/utilities/functions/pipe.d.ts +0 -3
  897. package/dist/utilities/functions/range.js +0 -7
  898. package/scripts/lib/check-queue.mjs +0 -102
  899. package/scripts/lib/component-attr-targets.ts +0 -123
  900. package/scripts/lib/component-tree.ts +0 -648
  901. package/scripts/lib/consumer-install.mjs +0 -64
  902. package/scripts/lib/css-class-surface.mjs +0 -328
  903. package/scripts/lib/css-color-resolve.mjs +0 -296
  904. package/scripts/lib/css-comment-text.mjs +0 -16
  905. package/scripts/lib/design-token-manifest.mjs +0 -506
  906. package/scripts/lib/ensure-manifest.mjs +0 -135
  907. package/scripts/lib/example-checks.mjs +0 -337
  908. package/scripts/lib/guide-claims.mjs +0 -452
  909. package/scripts/lib/manifest-pointers.mjs +0 -71
  910. package/scripts/lib/pack.mjs +0 -55
  911. package/scripts/lib/public-type-exports.mjs +0 -273
  912. package/scripts/lib/quiet-gate.mjs +0 -385
  913. package/scripts/lib/recipe-excerpts.mjs +0 -98
  914. package/scripts/lib/swap-noun.mjs +0 -33
  915. 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
@@ -517,7 +517,7 @@
517
517
  getter (see `BodyRow`) that projects the item on first access, and a
518
518
  destructuring pattern would resolve it for every spacer and skeleton
519
519
  placeholder too — exactly the work the window exists to avoid. -->
520
- <!-- 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
521
521
  pin pass sticks their pinned cells; with rows only (they need the column
522
522
  sizes), never under `#tbody`. -->
523
523
  <BbTableEdgeRow
@@ -742,6 +742,7 @@ import type { ColumnProfile, FixedColumnConfig, TrackEstimate } from './utils';
742
742
  import { createMeasuredFloors, type MeasuredColumn } from './measuredFloors';
743
743
  import { useBbTableHost } from '../../composables/useBbTable';
744
744
  import { useLogger } from '@/composables/useLogger';
745
+ import { flowsRtl, isRtl } from '@/composables/useDirection';
745
746
  import {
746
747
  escapeStackDepth,
747
748
  isTopEscapeEntry,
@@ -775,11 +776,13 @@ const order = defineModel<string[]>('order', {
775
776
 
776
777
  // Highlight: documented on `BbTableProps.highlighted` (a JSDoc block here
777
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`
778
780
  const highlighted = defineModel<any>('highlighted', {
779
781
  required: false,
780
782
  default: undefined,
781
783
  });
782
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`
783
786
  const expandedItems = defineModel<any[]>('expandedItems', {
784
787
  required: false,
785
788
  default: () => [],
@@ -793,11 +796,11 @@ const props = withDefaults(
793
796
  /* @vue-ignore */ FallthroughAttrs<
794
797
  'div' | 'fieldset',
795
798
  InternalProps<T>,
796
- BbTableEvents
799
+ BbTableEvents<Item>
797
800
  >
798
801
  >(),
799
802
  {
800
- align: 'left',
803
+ align: 'start',
801
804
  columns: () => [],
802
805
  dependencies: () => [],
803
806
  depsDebounceTime: 0,
@@ -812,7 +815,7 @@ const props = withDefaults(
812
815
  compact: undefined,
813
816
  }
814
817
  );
815
- const emit = defineEmits<BbTableEvents>();
818
+ const emit = defineEmits<BbTableEvents<Item>>();
816
819
 
817
820
  const slots = defineSlots<
818
821
  BbTableSlots<Item> &
@@ -836,7 +839,7 @@ const slots = defineSlots<
836
839
  const configDefaults = useConfigDefaults('BbTable', props, { compact: false });
837
840
 
838
841
  /**
839
- * Passthrough (plans/passthrough/BbTable.md). `row`, `cell` and the rows'
842
+ * Passthrough. `row`, `cell` and the rows'
840
843
  * `selectIcon` are resolved per row inside BbTableDataRow through the row
841
844
  * context (`selected` / `highlighted` / `expanded` / `disabled` are the
842
845
  * row's); `cellColumnHeader` and `sortIcon` per header (`sortStates`).
@@ -884,7 +887,7 @@ const hasExpandSlot = ref(!!slots.expand);
884
887
  const hasTbodySlot = ref(!!slots.tbody);
885
888
  const hasTheadSlot = ref(!!slots.thead);
886
889
  /**
887
- * Q23.1: the provided `#<key>:first` / `#<key>:last` slot names, sampled the
890
+ * the provided `#<key>:first` / `#<key>:last` slot names, sampled the
888
891
  * same way (a slot's presence is not reactive), joined so an unchanged set
889
892
  * writes nothing.
890
893
  */
@@ -906,7 +909,7 @@ onBeforeUpdate(() => {
906
909
  });
907
910
 
908
911
  /**
909
- * 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
910
913
  * the keyboard the table actually implements:
911
914
  *
912
915
  * - `grid` — `keyboardNavigation` on and the table's own body (no `#tbody`,
@@ -930,7 +933,7 @@ const tableRole = computed(() =>
930
933
  );
931
934
  /** `gridcell` inside a grid / treegrid, `cell` inside a table. */
932
935
  const cellRole = computed(() => (gridMode.value ? 'gridcell' : 'cell'));
933
- /** The `rowHeader` columns' keys: their body cells are `rowheader`s (Q52.4.1). */
936
+ /** The `rowHeader` columns' keys: their body cells are `rowheader`s. */
934
937
  const rowHeaderKeys = computed(
935
938
  () =>
936
939
  new Set(
@@ -1068,7 +1071,7 @@ const headerDescribedBy = (header: MappedHeader) => {
1068
1071
  /** Header cells are keyboard targets when either header interaction is on. */
1069
1072
  const headerKeyboard = computed(() => !!(props.reorderable || props.resizable));
1070
1073
 
1071
- /* --- Row reorder (POC, owner 2026-10-08) -----------------------------------
1074
+ /* --- Row reorder (POC) -----------------------------------
1072
1075
  `reorderable-rows` renders a handle column at the far left (before
1073
1076
  `select`); dragging a handle, or lifting it with the keyboard, reports
1074
1077
  `reorder:rows` with `{ item, from, to }` — indexes into the items the table
@@ -1242,7 +1245,7 @@ watch(
1242
1245
  const declaredKeys = computed(() => props.columns.map((c) => String(c.key)));
1243
1246
 
1244
1247
  /**
1245
- * Q10.2: the declared keys of columns with `reorderable: false`. They render
1248
+ * the declared keys of columns with `reorderable: false`. They render
1246
1249
  * at their declared slot whatever the model says, and no move crosses them.
1247
1250
  */
1248
1251
  const lockedColumnKeys = computed(
@@ -1289,7 +1292,7 @@ const orderedColumns = computed(() => {
1289
1292
  const columns = visibleColumns.value;
1290
1293
  const raw = dragOrder.value ?? order.value;
1291
1294
  if (!raw.length) return columns;
1292
- // 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
1293
1296
  // its declared slot; the model is not rewritten.
1294
1297
  const model = lockedColumnKeys.value.size ? lockedOrderOf(raw) : raw;
1295
1298
  const ordered = orderColumns(columns, model);
@@ -1330,7 +1333,7 @@ const nextColumnOrder = (key: string, toIndex: number): string[] | null => {
1330
1333
  };
1331
1334
 
1332
1335
  /**
1333
- * Q10.2: `toIndex` clamped to the slots between the locked columns around
1336
+ * `toIndex` clamped to the slots between the locked columns around
1334
1337
  * `key` in render order; `null` when `key` is itself locked.
1335
1338
  */
1336
1339
  const clampToLocks = (key: string, toIndex: number): number | null => {
@@ -1477,7 +1480,7 @@ const onHeaderKeydown = async (event: KeyboardEvent, key: string) => {
1477
1480
  // Keys typed into an affix control keep their meaning; the built-in sort
1478
1481
  // button (focused by a mouse click) shares the cell's grammar.
1479
1482
  if (target !== cell && !target.closest('.bb-table-sort')) return;
1480
- const rtl = getComputedStyle(cell).direction === 'rtl';
1483
+ const rtl = isRtl(cell);
1481
1484
  // Alt + Arrow resizes (AG Grid's chord); every other Alt/Cmd/Ctrl chord
1482
1485
  // keeps its platform meaning (browser back/forward, document top/bottom).
1483
1486
  if (event.altKey && !event.ctrlKey && !event.metaKey) {
@@ -1541,7 +1544,7 @@ const onHeaderKeydown = async (event: KeyboardEvent, key: string) => {
1541
1544
  activeHeaderKey.value = key;
1542
1545
  await nextTick();
1543
1546
  focusMovedHeader(key, inGrid);
1544
- // 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)
1545
1548
  // re-renders the columns AFTER this tick, and Vue's keyed move blurs the
1546
1549
  // cell it detaches. Remember the move, so that re-render can put focus back.
1547
1550
  // Already applied (a synchronous model, or unbound): nothing to wait for.
@@ -1576,7 +1579,7 @@ const focusMovedHeader = (key: string, inGrid: boolean) => {
1576
1579
  };
1577
1580
 
1578
1581
  /**
1579
- * 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
1580
1583
  * move can pull focus back, only within `PENDING_MOVE_MS`, only once the
1581
1584
  * rendered order puts its column where the move sent it, and only if focus is
1582
1585
  * still the table's (on it, or dropped to `<body>` by the keyed move). An
@@ -1964,7 +1967,7 @@ const onResizerPointerDown = (event: PointerEvent, key: string) => {
1964
1967
  nextKey && nextCell
1965
1968
  ? { key: nextKey, startWidth: nextCell.getBoundingClientRect().width }
1966
1969
  : null,
1967
- rtl: getComputedStyle(cell).direction === 'rtl',
1970
+ rtl: flowsRtl(cell),
1968
1971
  };
1969
1972
  resizingKey.value = key;
1970
1973
  document.addEventListener('pointermove', onResizePointerMove);
@@ -2114,7 +2117,7 @@ const positionGhost = (x: number, y: number) => {
2114
2117
  * first because they paint over their scrolled siblings.
2115
2118
  *
2116
2119
  * The dragged column takes the slot of whichever header the pointer is
2117
- * INSIDE, the moment it enters it (owner ruling 2026-08-27: no midpoint —
2120
+ * INSIDE, the moment it enters it (no midpoint —
2118
2121
  * a header with a short label and wide whitespace must react as soon as the
2119
2122
  * pointer is in its area). Stability with unequal widths comes from the
2120
2123
  * direction gate: after a swap the displaced header sits on the other side
@@ -2169,7 +2172,7 @@ const placeDraggedColumn = (rawX: number) => {
2169
2172
  toIndex = rendered.indexOf(targetKey);
2170
2173
  }
2171
2174
  if (toIndex < 0) return;
2172
- // Q10.2: a drop past a locked column stops at it.
2175
+ // a drop past a locked column stops at it.
2173
2176
  toIndex = clampToLocks(drag.key, toIndex) ?? from;
2174
2177
  if (toIndex === from) return;
2175
2178
  const after = toIndex > from;
@@ -2283,7 +2286,7 @@ const startDrag = () => {
2283
2286
  }
2284
2287
  drag.row.addEventListener('lostpointercapture', onLostPointerCapture);
2285
2288
  drag.base = lockedOrderOf(order.value);
2286
- drag.rtl = getComputedStyle(drag.row).direction === 'rtl';
2289
+ drag.rtl = flowsRtl(drag.row);
2287
2290
  drag.scrollport = resolveScrollport();
2288
2291
  drag.lastMoveX = drag.x0;
2289
2292
  drag.target = null;
@@ -2385,7 +2388,7 @@ const onHeaderPointerDown = (event: PointerEvent) => {
2385
2388
  const key = cell.dataset.columnKey;
2386
2389
  const column = orderedColumns.value.find((c) => String(c.key) === key);
2387
2390
  if (!column) return;
2388
- // 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).
2389
2392
  if (lockedColumnKeys.value.has(key)) return;
2390
2393
 
2391
2394
  drag = {
@@ -2443,7 +2446,7 @@ const { data: highlightedIndexedByHash } = useIndexById({
2443
2446
  });
2444
2447
 
2445
2448
  /*
2446
- * 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:
2447
2450
  * `flatRows` reads it, and `watch(bodyRows)` evaluates `flatRows` during
2448
2451
  * setup. With rows already present at setup (items the server resolved),
2449
2452
  * a later declaration threw "Cannot access … before initialization" on
@@ -2453,7 +2456,7 @@ const { data: expandedItemsIndexedByHash } = useIndexById({
2453
2456
  items: expandedItems,
2454
2457
  });
2455
2458
 
2456
- // Row reorder (owner 2026-10-08, S28): a row expanded or collapsed while a
2459
+ // Row reorder: a row expanded or collapsed while a
2457
2460
  // row drag or keyboard lift runs changes the units under it — the drag ends,
2458
2461
  // nothing is emitted.
2459
2462
  watch(
@@ -2636,7 +2639,7 @@ const { state: contextState, isReady: contextIsReady } = useBbTableHost(
2636
2639
  sort.value = value;
2637
2640
  },
2638
2641
  },
2639
- // Q10.1: the column order, like `sort` — a "Columns" menu outside the
2642
+ // the column order, like `sort` — a "Columns" menu outside the
2640
2643
  // table reads and resets it by id.
2641
2644
  order: {
2642
2645
  get: () => order.value,
@@ -3087,7 +3090,7 @@ const columnIntervals = computed(() => {
3087
3090
  }
3088
3091
  // An overflow sits past the parent's edge, not in its order: it leaves
3089
3092
  // the cursor where it was, or every later claim would read as "before
3090
- // the cursor" and be demoted with it (Q79.11).
3093
+ // the cursor" and be demoted with it.
3091
3094
  if (!interval.overflow) cursor = Math.max(cursor, interval.end);
3092
3095
  return interval;
3093
3096
  });
@@ -3227,7 +3230,7 @@ const fillColumnIndex = computed(() => {
3227
3230
  // folded into the edge columns as the structural offset, keeping the table
3228
3231
  // aligned to the parent. `offsetStartValue` becomes the first column's padding.
3229
3232
  /*
3230
- * Nested geometry — the decision tree (plans/BBTABLE-GRID.md § v2.2).
3233
+ * Nested geometry — the decision tree.
3231
3234
  *
3232
3235
  * Every table publishes three kinds of rail: `select` = the START REGION
3233
3236
  * (everything left of the first content column), `0…N-1` = the pure content
@@ -3448,7 +3451,7 @@ const parentTracksPublished = computed(
3448
3451
  * length — `toLength()` passes these through verbatim. They size the track
3449
3452
  * directly and must never be wrapped in `calc()`/`minmax()`: `minmax(0, 1fr)`
3450
3453
  * used as the floor of the all-frozen `minmax(<width>, <n>fr)` made the
3451
- * template invalid, and an invalid template drops EVERY track (Q53.31).
3454
+ * template invalid, and an invalid template drops EVERY track.
3452
3455
  */
3453
3456
  const isTrackKeyword = (value: string): boolean =>
3454
3457
  /^(auto|min-content|max-content|(fit-content|minmax)\(.*\)|-?[\d.]+fr)$/.test(
@@ -3874,7 +3877,7 @@ const measureTracks = () => {
3874
3877
  const signature = `${columnOrderKey.value}|${joined}`;
3875
3878
  // A pin config the pin watch could not apply (the table was hidden then)
3876
3879
  // is still owed even when the tracks match the last publish — a re-show
3877
- // changes no track (Q10.10).
3880
+ // changes no track.
3878
3881
  const pinsOwed = fixedColumnsKey.value !== appliedPinsKey;
3879
3882
  if (signature === publishedTracks) {
3880
3883
  if (pinsOwed) applyPins(root, resolved);
@@ -4055,6 +4058,7 @@ watch(
4055
4058
  * text fills a template (`Select {0}`, `{0} auswählen`, `{0}を選択`), so each
4056
4059
  * locale puts the verb where its grammar wants it.
4057
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
4058
4062
  const getAccessibleLabel = (columns: MappedCell[], item: any) =>
4059
4063
  props.accessibleLabel
4060
4064
  ? props.accessibleLabel(columns, item)
@@ -4063,7 +4067,7 @@ const getAccessibleLabel = (columns: MappedCell[], item: any) =>
4063
4067
  const containerTag = computed(() => (props.selectable ? 'fieldset' : 'div'));
4064
4068
 
4065
4069
  /**
4066
- * The fieldset's accessible name (BTG-007). `legend` is the specific,
4070
+ * The fieldset's accessible name. `legend` is the specific,
4067
4071
  * consumer-authored source; without it we reuse `caption` (already
4068
4072
  * describing the table's content) rather than leave the fieldset nameless;
4069
4073
  * only when NEITHER is set does it fall back to a generic localized string.
@@ -4124,7 +4128,7 @@ const containerClass = computed(() => ({
4124
4128
  'bb-table--overflow-left': overflowLeft.value,
4125
4129
  'bb-table--overflow-right': overflowRight.value,
4126
4130
  // A side with pinned columns: its cue is the pinned edge's strip, not the
4127
- // mask (Q61.20).
4131
+ // mask.
4128
4132
  'bb-table--pinned-left': pinnedLeft.value,
4129
4133
  'bb-table--pinned-right': pinnedRight.value,
4130
4134
  'scrollbar-border': true,
@@ -4161,8 +4165,8 @@ const { hasPrefilled, whenPrefilled } = usePrefill({
4161
4165
  clientReproducible,
4162
4166
  trigger: true,
4163
4167
  fn: async () => {
4164
- // The table has no search field: no `query` in the context (owner ruling).
4165
- // `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
4166
4170
  // superseded or failed load did not write the rows it would prune against.
4167
4171
  const outcome = await getter(undefined, 'initial', contextState.selected);
4168
4172
  if (outcome === 'applied') pruneIncoherent();
@@ -4191,7 +4195,7 @@ const { options, baseOptions } = useBaseOptions({
4191
4195
  });
4192
4196
 
4193
4197
  /**
4194
- * 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
4195
4199
  * `#thead` / `#tfoot` scopes.
4196
4200
  */
4197
4201
  const tableEmpty = computed(() => !loading.value && !options.value.length);
@@ -4201,7 +4205,7 @@ const tableEmpty = computed(() => !loading.value && !options.value.length);
4201
4205
  watch(baseOptions, () => rowReorder.sync(), { flush: 'post' });
4202
4206
 
4203
4207
  /**
4204
- * 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
4205
4209
  * `#<key>:first` / `#<key>:last` slot (a hidden column's slot creates
4206
4210
  * nothing), and only over rows: the empty state and the first-load skeleton
4207
4211
  * show neither (the cells need the column sizes), a refetch over rows keeps
@@ -4259,8 +4263,8 @@ useHashedWatcher(
4259
4263
  if (!hasPrefilled.value) {
4260
4264
  return;
4261
4265
  }
4262
- // A page or page-size move alone reports `'pagination'` (owner ruling
4263
- // 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
4264
4268
  // move, reports `'dependencies'`.
4265
4269
  const changed = (index: number) =>
4266
4270
  hash(value?.[index]) !== hash(oldValue?.[index]);
@@ -4291,6 +4295,7 @@ const pruneIncoherent = () => {
4291
4295
  const isCoherent = (value: unknown) => rowHashes.has(hash(value));
4292
4296
 
4293
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`
4294
4299
  const selected: any[] = contextState.selected ?? [];
4295
4300
  if (!selected.every(isCoherent)) {
4296
4301
  contextState.selected = selected.filter(isCoherent);
@@ -4318,7 +4323,7 @@ const pruneIncoherent = () => {
4318
4323
 
4319
4324
  /**
4320
4325
  * A cell's value as the table shows it: formatter, then placeholder. `kind`
4321
- * 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
4322
4327
  * nothing (`null`: a nil result and no placeholder).
4323
4328
  */
4324
4329
  const cellResultOf = (
@@ -4344,7 +4349,7 @@ const mapColumnToCell = (
4344
4349
  ): MappedCell => {
4345
4350
  const content = () => result().content;
4346
4351
  const slotName = slotNamesByKey.value[column.key];
4347
- const align = column.align ?? 'left';
4352
+ const align = column.align ?? 'start';
4348
4353
 
4349
4354
  return {
4350
4355
  align,
@@ -4383,7 +4388,7 @@ const mapColumnToCell = (
4383
4388
  };
4384
4389
 
4385
4390
  /**
4386
- * 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
4387
4392
  * `auto` track, whose minimum is the longest word in it: a long description
4388
4393
  * collapses to a ribbon of one word per line while an email next to it
4389
4394
  * refuses to shrink, and a table of many columns overflows for no reason.
@@ -4521,7 +4526,7 @@ const columnEstimates = computed(() => {
4521
4526
  const profiles = columnProfiles.value;
4522
4527
  const padEm = floorMetrics.value?.padEm ?? 1.5;
4523
4528
  const headerType = floorMetrics.value?.head;
4524
- // 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),
4525
4530
  // not of the body text: the old floor AS IT RENDERED is the one a table
4526
4531
  // fitted at, so the balance rule ("a table that fitted must not start to
4527
4532
  // scroll", see `fitFloors`) compares against that.
@@ -4549,7 +4554,7 @@ const columnEstimates = computed(() => {
4549
4554
  measured.labelOf(key, arrowEm)
4550
4555
  );
4551
4556
  estimate.squeeze = (estimate.squeeze - legacyPadEm) * legacyScale + padEm;
4552
- // 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
4553
4558
  // its heading on one line, so the fit must not count on two.
4554
4559
  if (!ownsHeading(column)) {
4555
4560
  estimate.labelWrap = estimate.label;
@@ -4612,7 +4617,7 @@ const fluidColumnKeys = computed(
4612
4617
  * column its wish, in `--bb-fs` (the body text's size, the estimate's em).
4613
4618
  */
4614
4619
  /**
4615
- * 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
4616
4621
  * `header-row-class` with letter-spacing, a larger size or `uppercase` made
4617
4622
  * the label wider than its estimate, clipped by 14px off Chromium.
4618
4623
  */
@@ -4668,7 +4673,7 @@ const holdClass = computed(() => {
4668
4673
  ? `bb-table__table--hold-${hold}`
4669
4674
  : undefined;
4670
4675
  });
4671
- /** Headings given two lines so the table fits (Q76.9 e): `--wrap`. */
4676
+ /** Headings given two lines so the table fits: `--wrap`. */
4672
4677
  const wrapLabelKeys = computed(() => fittedFloors.value.wrapLabels);
4673
4678
 
4674
4679
  /** Header style per estimated column: `--floor`, the spacer's width. */
@@ -4874,7 +4879,7 @@ onBeforeUnmount(() => {
4874
4879
  });
4875
4880
 
4876
4881
  /**
4877
- * 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
4878
4883
  * of it on a phone — a column cut at the right edge was the only hint. Each
4879
4884
  * side with content hidden past it now carries a state class
4880
4885
  * (`--overflow-left` / `--overflow-right`), and the CSS fades the content at
@@ -4889,7 +4894,7 @@ onBeforeUnmount(() => {
4889
4894
  * pinned columns on a side the fade starts at their inner edge (`--pin-l` /
4890
4895
  * `--pin-r`, published here).
4891
4896
  *
4892
- * 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
4893
4898
  * tints in its band, so a hovered or highlighted row showed a pale strip
4894
4899
  * beside the opaque pinned cell. There the root carries `--pinned-left` /
4895
4900
  * `--pinned-right`, and the innermost pinned cell (`data-pin-edge`, stamped
@@ -4952,7 +4957,7 @@ const readOverflow = () => {
4952
4957
  overflowRange = isInheriting.value
4953
4958
  ? 0
4954
4959
  : container.scrollWidth - container.clientWidth;
4955
- overflowRtl = getComputedStyle(container).direction === 'rtl';
4960
+ overflowRtl = flowsRtl(container);
4956
4961
  scrollable.value =
4957
4962
  !isInheriting.value &&
4958
4963
  (overflowRange > 1 || container.scrollHeight - container.clientHeight > 1);
@@ -4975,7 +4980,7 @@ const readOverflow = () => {
4975
4980
  };
4976
4981
 
4977
4982
  /**
4978
- * The scroller's keyboard stop (engines gate, Q13.1). Chromium makes a
4983
+ * The scroller's keyboard stop (engines gate). Chromium makes a
4979
4984
  * scroller a tab stop only when nothing inside can take focus; Firefox makes
4980
4985
  * any scroller one (a `keyboardNavigation` table had TWO stops, the root and
4981
4986
  * the grid's cell); WebKit never does (an overflowing plain table could not
@@ -5052,8 +5057,8 @@ onBeforeUnmount(() => {
5052
5057
 
5053
5058
  const mappedHeaders = computed(() =>
5054
5059
  orderedColumns.value.map((column: BbTableColumn<Item>): MappedHeader => {
5055
- const align = column.align ?? 'left';
5056
- // Key first (Q59): `#<key>:header`, never the table-wide
5060
+ const align = column.align ?? 'start';
5061
+ // Key first: `#<key>:header`, never the table-wide
5057
5062
  // `#header:prepend` / `#header:append`, whatever the key.
5058
5063
  const slotName = `${slotNamesByKey.value[column.key]}:header`;
5059
5064
  // The live sort model wins over the static `sorted` column flag.
@@ -5427,7 +5432,7 @@ const mappedItemAt = (row: FlatRow): MappedItem => {
5427
5432
  return mapped;
5428
5433
  };
5429
5434
 
5430
- /* --- Grid tab stop (Q52.4) -------------------------------------------------
5435
+ /* --- Grid tab stop -------------------------------------------------
5431
5436
  Under `role="grid"` / `role="treegrid"` (`tableRole`) the table is ONE tab
5432
5437
  stop, a roving tabindex over its cells (and, in a treegrid, its rows). The
5433
5438
  state lives here, ahead of the virtualizer, because the virtualizer's range
@@ -5436,7 +5441,7 @@ const mappedItemAt = (row: FlatRow): MappedItem => {
5436
5441
 
5437
5442
  /**
5438
5443
  * The grammar's ids of the rows that are not body rows: the header row and the
5439
- * 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
5440
5445
  * flat index, `0` and up.
5441
5446
  */
5442
5447
  const HEADER_ROW = -1;
@@ -5571,12 +5576,12 @@ const flatRows = computed<FlatRow[]>(() => {
5571
5576
  let expandedRows = 0;
5572
5577
  const indexPageOffset =
5573
5578
  ((contextState.page ?? 0) - 1) * (contextState.perPage ?? 0);
5574
- // 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.
5575
5580
  const headRowOffset = 1 + Number(edgeRows.value.first);
5576
5581
  baseOptions.value.forEach((base, index) => {
5577
5582
  // `in`, not `[hash] ?? false`: the index stores the VALUE, so an item whose
5578
5583
  // `item-value` is `0` (or `''`, or `false`) indexed to a falsy hit and read
5579
- // as "not expanded" — the row simply never opened (Q11.5). Highlight and
5584
+ // as "not expanded" — the row simply never opened. Highlight and
5580
5585
  // selection already test membership rather than truthiness.
5581
5586
  const expanded = base.valueHash in expandedItemsIndexedByHash.value;
5582
5587
  const rowIndex = indexPageOffset + headRowOffset + index + 1 + expandedRows;
@@ -5692,7 +5697,7 @@ const syncVirtualScroller = () => {
5692
5697
  el = el.parentElement;
5693
5698
  }
5694
5699
  }
5695
- // 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
5696
5701
  // height, which a stuck row keeps.
5697
5702
  const firstRow = body.querySelector<HTMLElement>(
5698
5703
  ':scope > .bb-table__edge-row--first'
@@ -5706,7 +5711,7 @@ const syncVirtualScroller = () => {
5706
5711
  (scroller as HTMLElement).getBoundingClientRect().top +
5707
5712
  (scroller as HTMLElement).scrollTop;
5708
5713
  // Assign only on a real change. This is what makes the synchronous call in
5709
- // the container's ResizeObserver safe (Q12.2): resolving to the same scroller
5714
+ // the container's ResizeObserver safe: resolving to the same scroller
5710
5715
  // and the same margin writes nothing, so it triggers no render, so it cannot
5711
5716
  // resize the box that just notified us — which is how a ResizeObserver loop
5712
5717
  // starts.
@@ -5779,7 +5784,7 @@ let virtualFlushFrame = 0;
5779
5784
  *
5780
5785
  * THE TRIGGER IS NOT A VELOCITY. It used to be — 6px/ms — and a brisk
5781
5786
  * two-finger drag crossed it on a machine that had no trouble keeping up,
5782
- * 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
5783
5788
  * is not how fast the reader scrolls but whether THIS table, on THIS machine,
5784
5789
  * with THIS row shape, can put a window on screen before the scroll has
5785
5790
  * carried it away. Both halves of that are measured, not assumed:
@@ -5868,7 +5873,7 @@ const noteVirtualScroll = (offset: number) => {
5868
5873
  * every entry to the end — O(rows). A mean over a list whose rows are 32px and
5869
5874
  * 114px lands near 44 and therefore matches NOTHING, so every row scrolled into
5870
5875
  * view for the first time paid that rebuild: at 50,000 rows a drag stalled
5871
- * 300–460ms (Q11.7, named by the CPU profile as `Virtualizer.getMeasurements`).
5876
+ * 300–460ms (named by the CPU profile as `Virtualizer.getMeasurements`).
5872
5877
  * The mode matches the majority exactly — a uniform table then never disagrees
5873
5878
  * at all, and the 32/114 table disagrees only on the tall minority. Rounded
5874
5879
  * because a measured height is a whole number of device pixels and a fractional
@@ -5897,7 +5902,7 @@ const syncVirtualMean = () => {
5897
5902
  virtualMeanCacheSize = cache.size;
5898
5903
  // Latched (below): the estimate no longer moves until the row list changes,
5899
5904
  // so the tally would be computed only to be thrown away — a full walk of a
5900
- // cache that grows with every row scrolled into view (Q44.23). The
5905
+ // cache that grows with every row scrolled into view. The
5901
5906
  // placeholder height still follows on this cadence.
5902
5907
  if (virtualEstimateLatched) {
5903
5908
  syncPlaceholderRowHeight();
@@ -6131,6 +6136,7 @@ const rowVirtualizer = useVirtualizer(
6131
6136
  onChange: virtualOnChange,
6132
6137
  count: virtualActive.value ? flatRows.value.length : 0,
6133
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`
6134
6140
  getScrollElement: () => scroller as any,
6135
6141
  estimateSize: virtualEstimateSize,
6136
6142
  getItemKey: virtualItemKey,
@@ -6161,6 +6167,7 @@ const rowVirtualizer = useVirtualizer(
6161
6167
  ? observeWindowOffset
6162
6168
  : observeElementOffset,
6163
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`
6164
6171
  } as any;
6165
6172
  })
6166
6173
  );
@@ -6222,7 +6229,7 @@ const measureVirtualRow = (el: unknown) => {
6222
6229
  * first frame. Both reach `bodyRows` with the rows in hand and the virtualizer
6223
6230
  * still counting zero: its options are pushed by a watcher, which never runs
6224
6231
  * on the server and lands after the first client render, so `flushVirtual`
6225
- * 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
6226
6233
  * body, and the client's hydration frame was just as empty). Rendering this
6227
6234
  * window on both sides keeps the server HTML and the hydration frame identical
6228
6235
  * AND painted; the first real flush replaces it with the virtualizer's own
@@ -6438,7 +6445,7 @@ const armVirtualObserver = () => {
6438
6445
  });
6439
6446
  };
6440
6447
  if (virtualScroller.value === container) {
6441
- // Synchronously, not deferred (Q12.2). The container losing its bound —
6448
+ // Synchronously, not deferred. The container losing its bound —
6442
6449
  // a `max-height` dropped at a breakpoint — means the page is the scroller
6443
6450
  // now, and until that is resolved the window is computed against a
6444
6451
  // scrollport that no longer exists: for one frame the range extractor's
@@ -6450,7 +6457,7 @@ const armVirtualObserver = () => {
6450
6457
  virtualContainerObserver.observe(container);
6451
6458
  } else {
6452
6459
  window.addEventListener('resize', schedule);
6453
- // Q12.3. In page mode the window position depends on `scrollMargin` — how
6460
+ // In page mode the window position depends on `scrollMargin` — how
6454
6461
  // far the body sits from the top of the document — and a window resize is
6455
6462
  // not the only thing that moves it. Anything ABOVE the table changing
6456
6463
  // height does: an accordion opening, a banner arriving, an image finally
@@ -6476,7 +6483,7 @@ const armVirtualObserver = () => {
6476
6483
  watch(virtualScroller, armVirtualObserver);
6477
6484
 
6478
6485
  /**
6479
- * 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,
6480
6487
  * so its height is part of `scrollMargin`. Re-read it when the row comes or
6481
6488
  * goes and whenever it resizes — in a bounded container nothing else would
6482
6489
  * notice (the container keeps its size).
@@ -6579,7 +6586,7 @@ onBeforeUnmount(() => {
6579
6586
  if (virtualFlushFrame) cancelAnimationFrame(virtualFlushFrame);
6580
6587
  });
6581
6588
 
6582
- /* --- Grid keyboard (Q52.4) --------------------------------------------------
6589
+ /* --- Grid keyboard --------------------------------------------------
6583
6590
  The APG data grid (role="grid") and treegrid (role="treegrid") grammars, on
6584
6591
  ONE delegated listener on the grid root. Focus is on cells; a treegrid's rows
6585
6592
  take focus too. Header cells keep their own reorder / resize / sort chords
@@ -6608,7 +6615,7 @@ const bodyRowElement = (index: number) =>
6608
6615
  `:scope > [role="row"][data-index="${index}"]`
6609
6616
  ) ?? null;
6610
6617
 
6611
- /** An edge row (Q23.1), by its grammar id. */
6618
+ /** An edge row, by its grammar id. */
6612
6619
  const edgeRowElement = (row: number) =>
6613
6620
  bodyRef.value?.querySelector<HTMLElement>(
6614
6621
  `:scope > .bb-table__edge-row--${row === EDGE_FIRST_ROW ? 'first' : 'last'}`
@@ -6900,7 +6907,7 @@ const onGridFocusOut = (event: FocusEvent) => {
6900
6907
 
6901
6908
  /**
6902
6909
  * Shift+Space: the row's selection, as a Shift+click on its checkbox — the
6903
- * 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.
6904
6911
  */
6905
6912
  const toggleGridRowSelection = (row: number) => {
6906
6913
  const flat = flatRows.value[row];
@@ -6925,7 +6932,7 @@ const activateGridRow = (hit: GridHit) => {
6925
6932
  * The rows a vertical move goes through, top to bottom, as a rank: the header
6926
6933
  * (when navigable), the first edge row, the body rows (rank = flat index), the
6927
6934
  * last edge row — each only when it exists, so the ranks have no holes and a
6928
- * table without edge rows moves exactly as before (Q61.11).
6935
+ * table without edge rows moves exactly as before.
6929
6936
  */
6930
6937
  const gridRowRank = (row: number) => {
6931
6938
  if (row >= 0) return row;
@@ -7003,7 +7010,7 @@ const onGridKeydown = (event: KeyboardEvent) => {
7003
7010
  // have (selection is by row): only Shift+Space is ours.
7004
7011
  if (event.shiftKey && key !== ' ') return;
7005
7012
  const ctrl = event.ctrlKey;
7006
- const rtl = getComputedStyle(hit.rowEl).direction === 'rtl';
7013
+ const rtl = isRtl(hit.rowEl);
7007
7014
  const forward = rtl ? 'ArrowLeft' : 'ArrowRight';
7008
7015
  const backward = rtl ? 'ArrowRight' : 'ArrowLeft';
7009
7016
  const last = flatRows.value.length - 1;
@@ -7312,7 +7319,7 @@ const isSelectToggleBlocked = (item: MappedItem): boolean => {
7312
7319
  };
7313
7320
 
7314
7321
  /**
7315
- * 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
7316
7323
  * hash. Plain, not reactive: nothing renders from it.
7317
7324
  */
7318
7325
  let selectionAnchor: string | undefined;
@@ -7324,8 +7331,8 @@ const toggleSelectedFor = (item: MappedItem) => {
7324
7331
  };
7325
7332
 
7326
7333
  /**
7327
- * Shift+click on a row's built-in checkbox, and Shift+Space in the grid
7328
- * (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
7329
7336
  * clicked row's NEW state, in the order the rows show. Rules:
7330
7337
  * - the rows are this page's (`options`): an anchor on another page, or gone
7331
7338
  * after a refetch, means no anchor, and the click toggles this row alone;
@@ -7553,7 +7560,7 @@ const dataRowContext = computed<DataRowContext>(() => ({
7553
7560
  rowReorder: rowReorderContext.value,
7554
7561
  }));
7555
7562
 
7556
- /** The edge rows' shared context (Q23.1), stable across window moves. */
7563
+ /** The edge rows' shared context, stable across window moves. */
7557
7564
  const edgeRowContext = computed<EdgeRowContext>(() => ({
7558
7565
  passthrough,
7559
7566
  slots,
@@ -7565,7 +7572,7 @@ const edgeRowContext = computed<EdgeRowContext>(() => ({
7565
7572
  rowHeaderKeys: rowHeaderKeys.value,
7566
7573
  contentInert: contentInert.value,
7567
7574
  columns: orderedColumns.value.map((column) => {
7568
- const align = column.align ?? 'left';
7575
+ const align = column.align ?? 'start';
7569
7576
  return {
7570
7577
  key: String(column.key),
7571
7578
  slotName: slotNamesByKey.value[column.key],
@@ -7591,7 +7598,7 @@ const edgeRowIndex = computed(() => {
7591
7598
  });
7592
7599
 
7593
7600
  /**
7594
- * 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
7595
7602
  * are known — the header, every item (`totalItems`, not the page or the
7596
7603
  * virtual window), the edge rows and the open expand rows. Expand rows are
7597
7604
  * counted where the table knows them: the rows it holds (every row under
@@ -7617,7 +7624,7 @@ const lastBodyRowIndex = computed(() => {
7617
7624
  });
7618
7625
 
7619
7626
  /**
7620
- * 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
7621
7628
  * numbers them after render: each `role="row"` the foot rowgroup owns gets the
7622
7629
  * next `aria-rowindex` after the body, kept current as the footer's content or
7623
7630
  * the body's count changes, and counts in `aria-rowcount`. An `aria-rowindex`
@@ -7777,7 +7784,7 @@ watch(
7777
7784
  // need a fresh read — it moves cells between tracks and this
7778
7785
  // post-flush watch can run before the header cells' resize is
7779
7786
  // delivered — so that identity check stays.
7780
- // 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
7781
7788
  // GEOMETRY, not about windowing: `lastResolvedTracks` is republished by
7782
7789
  // `measureTracks`, which runs from the header cells' ResizeObserver —
7783
7790
  // a header cell is a stretched subgrid item whose border box IS the
@@ -7852,6 +7859,7 @@ import type { ItemAccessor } from '@/types/ItemAccessor';
7852
7859
  import type { BbTableItemsContext } from '@/types/ItemsProvider';
7853
7860
  import type { Option } from '@/types/Option';
7854
7861
  import type { InputHTMLAttributes } from 'vue';
7862
+ import type { BbTablePtKeys } from './ptKeys.generated';
7855
7863
 
7856
7864
  /**
7857
7865
  * Recursively builds dot-notation paths from a type's keys.
@@ -7862,7 +7870,7 @@ type NestedPaths<T, Depth extends unknown[] = []> = Depth['length'] extends 3
7862
7870
  : 0 extends 1 & T
7863
7871
  ? string
7864
7872
  : T extends object
7865
- ? // 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
7866
7874
  T extends any[] | Date | Function | RegExp | Map<any, any> | Set<any>
7867
7875
  ? never
7868
7876
  : {
@@ -7927,6 +7935,7 @@ export type BaseColumn<Item = any> = {
7927
7935
  * @param key Key of the column taken from the column definition.
7928
7936
  * @param item Item of the row.
7929
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
7930
7939
  formatter?: (content: any, key: string, item: Item) => any;
7931
7940
  /**
7932
7941
  * Key identifying the column.
@@ -7949,9 +7958,10 @@ export type BaseColumn<Item = any> = {
7949
7958
  */
7950
7959
  export type BbTableColumn<Item = any> = BaseColumn<Item> & {
7951
7960
  /**
7952
- * 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`.
7953
7963
  */
7954
- align?: 'left' | 'right' | 'center';
7964
+ align?: 'left' | 'center' | 'right' | 'start' | 'end';
7955
7965
 
7956
7966
  /**
7957
7967
  * Skeleton placeholder style shown during loading. Defaults to `'text'`.
@@ -8094,7 +8104,7 @@ export type BbTableColumn<Item = any> = BaseColumn<Item> & {
8094
8104
  };
8095
8105
 
8096
8106
  /**
8097
- * Passthrough parts of `BbTable` (plans/passthrough/BbTable.md).
8107
+ * Passthrough parts of `BbTable`.
8098
8108
  *
8099
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_.
8100
8110
  *
@@ -8315,395 +8325,397 @@ export const BB_TABLE_PT = {
8315
8325
  except: Partial<Record<BbTablePtPart, readonly BbTablePtState[]>>;
8316
8326
  };
8317
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
+
8318
8337
  // Spelled INLINE with this component's own unions (Vue's SFC type resolver
8319
8338
  // does not substitute a generic alias's type parameters — PASSTHROUGH.md T20).
8320
- // eslint-disable-next-line @typescript-eslint/consistent-indexed-object-style
8321
- export type BbTableProps<Item = any> = {
8322
- [K in
8323
- | `pt:${BbTableSurfacePtPart}`
8324
- | `pt:${BbTablePtPart}:loading`
8325
- | `pt:${BbTableEmptyPtPart}:empty`
8326
- | `pt:${BbTableHeaderPtPart}:${'sorted' | 'sortedDesc'}`
8327
- | `pt:${BbTableRowPtPart}:${'expanded' | 'disabled' | 'selected' | 'highlighted'}`
8328
- | `pt:expand:${'expanded' | 'selected' | 'highlighted'}`
8329
- | `pt:selectIcon:${'selected' | 'disabled' | 'indeterminate'}`
8330
- | `pt:cell:${'value' | 'placeholder'}`]?: PtValue;
8331
- } & /* @vue-ignore */ PtCompoundProps<typeof BB_TABLE_PT> & {
8332
- // `row` and `expand` also take a per-item function, called with the row's
8333
- // item. Literal function types, not `PtItemFn` (PASSTHROUGH.md T23).
8334
- 'pt:row'?:
8335
- | PtValue
8336
- | ((ctx: PtItemCtx<PtNoInfer<Item>, BbTablePtState>) => PtItemResult);
8337
- 'pt:expand'?:
8338
- | PtValue
8339
- | ((ctx: PtItemCtx<PtNoInfer<Item>, BbTablePtState>) => PtItemResult);
8340
- /**
8341
- * Passthrough, object form: the same keys as the `pt:*` attributes
8342
- * without the prefix. See the `pt:<part>` row.
8343
- */
8344
- pt?: PtScopedItemMap<
8345
- BbTablePtKey,
8346
- 'row' | 'expand',
8347
- BbTablePtState,
8348
- PtNoInfer<Item>
8349
- >;
8350
- /**
8351
- * The label of each row's selection checkbox, from `(columns, item)`. Unset:
8352
- * the row's name in the locale's select template (its `rowHeader` cells,
8353
- * else its first column: "Select INV-1041"). The cells arrive in render
8354
- * order: look one up by `key`, never by position.
8355
- */
8356
- accessibleLabel?: (columns: MappedCell[], item: any) => string;
8357
- /**
8358
- * Label used in the header of the actions column.
8359
- */
8360
- actionsText?: string;
8361
- /**
8362
- * Text alignment of the columns.
8363
- *
8364
- * @defaultValue `'left'`
8365
- */
8366
- align?: 'left' | 'center' | 'right';
8367
- /**
8368
- * Caption describing the table's content, for accessibility.
8369
- */
8370
- caption?: string;
8371
- /**
8372
- * Array of definitions of how the columns should be rendered.
8373
- *
8374
- * Optional: the component defaults to `[]` (columns can also come entirely
8375
- * from slots/virtual keys), so the type no longer demands what the runtime
8376
- * never required.
8377
- */
8378
- columns?: Array<BbTableColumn<Item>>;
8379
- /**
8380
- * Adds a CSS class that applies a compact style to the component.
8381
- */
8382
- compact?: boolean;
8383
- /**
8384
- * Defines an array of dependencies that will trigger actions in the component upon change.
8385
- *
8386
- * @defaultValue `[]`
8387
- */
8388
- dependencies?: unknown[];
8389
- /**
8390
- * Timeout used to debounce response to changes to dependencies.
8391
- *
8392
- * @defaultValue `0`
8393
- */
8394
- depsDebounceTime?: number;
8395
- /**
8396
- * Disables the component
8397
- */
8398
- disabled?: boolean;
8399
- /**
8400
- * Hides the "Select all" checkbox that selectable multi-row tables
8401
- * display by default.
8402
- *
8403
- * @defaultValue `false`
8404
- */
8405
- disableSelectAll?: boolean;
8406
- /**
8407
- * Shows the caption as a visible title. Off by default: the caption is
8408
- * hidden, and screen readers still hear it as the table's name.
8409
- */
8410
- displayCaption?: boolean;
8411
- /**
8412
- * After every load, prunes `modelValue`, `unselected-items`, `highlighted`
8413
- * and `expanded-items` of values whose row is gone (a single value resets
8414
- * to `null`). Never on a provider-paginated table: a page change would
8415
- * prune the other pages' selection; reconcile in the provider instead.
8416
- *
8417
- * @defaultValue `false`
8418
- */
8419
- enforceCoherence?: boolean;
8420
- /**
8421
- * Used by `v-model:expandedItems`: the expanded items, toggled by the row
8422
- * expand control and by external writes, like the `highlighted` / `sort`
8423
- * v-models. Drives the `#expand` rows and their `aria-expanded` /
8424
- * `aria-controls` wiring.
8425
- *
8426
- * @defaultValue `[]`
8427
- */
8428
- expandedItems?: any[];
8429
- /**
8430
- * Gives the columns that declare no `width` an equal share of the width (a
8431
- * `minmax(0, 1fr)` track each).
8432
- */
8433
- fixed?: boolean;
8434
- /**
8435
- * Pins the actions column (the one the `#actions` slot creates) to the
8436
- * right edge, `position: sticky`, in place. It has no column definition, so
8437
- * this is its `column.fixed`. No effect without an `#actions` slot.
8438
- *
8439
- * @defaultValue `false`
8440
- */
8441
- fixedActions?: boolean;
8442
- /**
8443
- * Sticks the `#<key>:first` row to the top of the scrollport (under a
8444
- * stuck header).
8445
- *
8446
- * @defaultValue `false`
8447
- */
8448
- fixedFirst?: boolean;
8449
- /**
8450
- * Sticks the headers to the top of the table.
8451
- */
8452
- fixedHeaders?: boolean;
8453
- /**
8454
- * Sticks the `#<key>:last` row (a totals row) to the bottom of the
8455
- * scrollport.
8456
- *
8457
- * @defaultValue `false`
8458
- */
8459
- fixedLast?: boolean;
8460
- /**
8461
- * Pins the selection column to the left edge, `position: sticky`, in
8462
- * place. It has no column definition, so this is its `column.fixed`. No
8463
- * effect unless the table is `selectable`.
8464
- *
8465
- * @defaultValue `false`
8466
- */
8467
- fixedSelect?: boolean;
8468
- /**
8469
- * Classes for the header row.
8470
- */
8471
- headerRowClass?: Classes;
8472
- /**
8473
- * Which rows a click, Enter or `toggleHighlighted` may highlight: `false`
8474
- * for none, or a function of the row's item. Unset: every row, when
8475
- * `highlighted` is bound. A value the app sets still shows on a refused row.
8476
- */
8477
- highlightable?: boolean | ((item: Item) => boolean);
8478
- /**
8479
- * Used by `v-model:highlighted`: the one row the UI is about (say, whose
8480
- * details are open), a single item value or `null`. Opt-in: bound,
8481
- * a row click highlights; unbound, it only emits `click:row`. The row gets
8482
- * `aria-current="true"` and a shipped tint.
8483
- */
8484
- highlighted?: any;
8485
- /**
8486
- * Stable id for this table's width context. When omitted a unique id is
8487
- * generated. Nested tables use the nearest ancestor id to inherit widths.
8488
- */
8489
- id?: string;
8490
- /**
8491
- * Snaps a nested table's columns to an ancestor table's tracks: `true` = the
8492
- * nearest one, a table `id` = that one (when a table in between has a
8493
- * different column count). Off by default: a nested table sizes itself.
8494
- */
8495
- inheritColumnWidths?: boolean | string;
8496
- /**
8497
- * Keeps the header and rows interactive while loading (by default they are
8498
- * `inert`: a refetch is about to replace them). For background refreshes
8499
- * that must not interrupt an open editor.
8500
- */
8501
- interactiveWhileLoading?: boolean;
8502
- /**
8503
- * Rows to render: an array, or a provider called with a
8504
- * `BbTableItemsContext` (`reason`, `modelValue`, `signal`), sync or async.
8505
- * A provider fails by THROWING, never by returning `[]`: the rows clear and
8506
- * `#empty` gets the `error`. Return the page as it is.
8507
- *
8508
- * @defaultValue `[]`
8509
- */
8510
- items:
8511
- | Item[]
8512
- | ((context: BbTableItemsContext) => Item[] | Promise<Item[]>);
8513
- /**
8514
- * The row's value, as a property path or a function returning any value;
8515
- * the selection, `expandedItems` and row keys compare by it.
8516
- */
8517
- itemValue?: ItemAccessor<Item>;
8518
- /**
8519
- * Opt-in keyboard navigation: the table becomes an ARIA `grid` (`treegrid`
8520
- * with an `#expand` slot) with ONE tab stop and roving focus over its cells.
8521
- * Controls in cells leave the tab order (Enter/F2 go in). Ignored with a
8522
- * `#tbody` slot.
8523
- */
8524
- keyboardNavigation?: boolean;
8525
- /**
8526
- * The `<legend>` of a `selectable` table (it renders as a `<fieldset>`):
8527
- * the selection's accessible name. Falls back to `caption`, then to a
8528
- * localized default.
8529
- */
8530
- legend?: string;
8531
- /**
8532
- * Loading state: skeletons with no rows yet, else the rows stay on screen,
8533
- * dimmed, under an indeterminate bar. A refetch never blanks a table the
8534
- * user is reading.
8535
- */
8536
- loading?: boolean;
8537
- /**
8538
- * Screen-reader announcement for the loading row's `aria-live` status.
8539
- * Visually hidden — the skeleton (or the `#loading` slot) is the visible
8540
- * signal.
8541
- *
8542
- * @defaultValue the localized `common.loadingText` ("Loading...")
8543
- */
8544
- loadingText?: string;
8545
- /**
8546
- * Maximum number of items that can be selected.
8547
- *
8548
- * @defaultValue `Infinity`
8549
- */
8550
- max?: number;
8551
- /**
8552
- * Used by v-model. Can be any serializable type.
8553
- *
8554
- * @defaultValue `[]`
8555
- */
8556
- modelValue?: any;
8557
- /**
8558
- * A plain click on a sortable header adds the column to the sort, as
8559
- * Shift+click always does. Off, a plain click makes the sort that column
8560
- * alone.
8561
- *
8562
- * @defaultValue `false`
8563
- */
8564
- multiSort?: boolean;
8565
- /**
8566
- * Allows the selection of multiple items.
8567
- *
8568
- * @defaultValue `true`
8569
- */
8570
- multiple?: boolean;
8571
- /**
8572
- * Defines the name of the input.
8573
- */
8574
- name?: InputHTMLAttributes['name'];
8575
- /**
8576
- * Text shown when there are no items.
8577
- *
8578
- * @defaultValue the localized `common.emptyText` ("No data to display")
8579
- */
8580
- emptyText?: string;
8581
- /**
8582
- * String displayed in the empty state while the latest load FAILED (the
8583
- * `items` provider threw): the twin of `emptyText` for that case.
8584
- *
8585
- * @defaultValue the localized `common.failedText` ("Couldn't load items")
8586
- */
8587
- failedText?: string;
8588
- /**
8589
- * Used by `v-model:order`: the column keys in render order. Columns it
8590
- * omits follow in declaration order; unknown keys stay put.
8591
- * A `reorderable` move writes it back complete. Works unbound, like `sort`;
8592
- * never holds `select` / `actions`.
8593
- *
8594
- * @defaultValue `[]`
8595
- */
8596
- order?: string[];
8597
- /**
8598
- * Current page (from 1), for the rows' `aria-rowindex` and a `BbPagination`
8599
- * paired through `id`. Doesn't slice `items`: pass the current page's rows.
8600
- * Numeric strings are coerced.
8601
- */
8602
- page?: number | string;
8603
- /**
8604
- * Rows per page, for `aria-rowindex` and a paired `BbPagination`. Doesn't
8605
- * slice `items`. Unset, an array `items` infers it from its length.
8606
- * Numeric strings are coerced.
8607
- */
8608
- perPage?: number | string;
8609
- /**
8610
- * Sets the input in a readonly state.
8611
- */
8612
- readonly?: boolean;
8613
- /**
8614
- * Lets the user reorder the data columns: drag a header, or Shift+←/→ on a
8615
- * focused header. Every move writes `v-model:order`; a column panel that
8616
- * only writes `order` does not need it. `select` / `actions` and a custom
8617
- * `#thead` never move.
8618
- *
8619
- * @defaultValue `false`
8620
- */
8621
- reorderable?: boolean;
8622
- /**
8623
- * Adds a drag handle at the start of each row: the user drags a row, or lifts it
8624
- * with Space / Enter and the arrow keys, and `reorder:rows` reports
8625
- * `{ item, from, to }`. The table never reorders `items`: splice it in the
8626
- * handler.
8627
- *
8628
- * @defaultValue `false`
8629
- */
8630
- reorderableRows?: boolean;
8631
- /**
8632
- * Lets the user resize the data columns (drag a header's trailing edge, or
8633
- * Alt+←/→; double-click resets). Each commit fires `resize:column(key,
8634
- * width)` once: write the width back into the column definition to keep it.
8635
- * Ignored when inheriting widths.
8636
- *
8637
- * @defaultValue `false`
8638
- */
8639
- resizable?: boolean;
8640
- /**
8641
- * Classes for each data row, or a function of the row's item.
8642
- */
8643
- rowClass?: RowClasses<Item>;
8644
- /**
8645
- * Makes rows selectable: a boolean for every row, or a function of the
8646
- * row's item deciding for that row.
8647
- */
8648
- selectable?: boolean | ((item: Item) => boolean);
8649
- /**
8650
- * Whether the "Select all" checkbox is checked.
8651
- *
8652
- * @defaultValue `false`
8653
- */
8654
- selectAll?: boolean;
8655
- /**
8656
- * Label of the "Select all" checkbox.
8657
- */
8658
- selectAllLabel?: string;
8659
- /**
8660
- * Header text of the radio column when the table is not `multiple`.
8661
- */
8662
- selectText?: string;
8663
- /**
8664
- * Used by `v-model:sort`: `[columnKey, direction]` entries in priority
8665
- * order, written by the `sortable` headers and shown by them. Doesn't sort
8666
- * `items`: apply it to your data or your server query.
8667
- *
8668
- * @defaultValue `[]`
8669
- */
8670
- sort?: BbTableSortEntry[];
8671
- /**
8672
- * Classes for every data cell, or a function of `(content, key, item)`.
8673
- */
8674
- tdClass?: ColumnClasses<Item>;
8675
- /**
8676
- * Classes for every header cell.
8677
- */
8678
- thClass?: Classes;
8679
- /**
8680
- * Total row count, for `aria-rowcount` and a paired `BbPagination`'s page
8681
- * count. Unset, an array `items` infers it from its length. Numeric strings
8682
- * are coerced.
8683
- */
8684
- totalItems?: number | string;
8685
- /**
8686
- * Seeds a paired `BbPagination`'s page count when the server reports pages,
8687
- * not rows; the table renders nothing from it. A known total (`totalItems`)
8688
- * always wins. Numeric strings are coerced.
8689
- */
8690
- totalPages?: number | string;
8691
- /**
8692
- * Items that are not selected.
8693
- *
8694
- * @defaultValue `[]`
8695
- */
8696
- unselectedItems?: any[];
8697
- /**
8698
- * Windows the body: only the rows near the scrollport are mounted. Bound
8699
- * the table's height to make it the scroller; column widths are measured
8700
- * once, from the first rows. Ignored when inheriting widths and under a
8701
- * `#tbody` slot.
8702
- *
8703
- * @defaultValue `false`
8704
- */
8705
- virtual?: boolean;
8706
- };
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
+ };
8707
8719
 
8708
8720
  /**
8709
8721
  * We allow table data classes to be a function so it can depend on the item.
@@ -8712,6 +8724,7 @@ export type BbTableProps<Item = any> = {
8712
8724
  */
8713
8725
  export type ColumnClasses<Item = any> =
8714
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)
8715
8728
  | ((content: any, key: string, item: Item) => Classes | undefined);
8716
8729
 
8717
8730
  /**
@@ -8776,6 +8789,7 @@ export type MappedHeader = {
8776
8789
  export type MappedCell = {
8777
8790
  align: string;
8778
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)
8779
8793
  content: any;
8780
8794
  /** What the formatter / placeholder pipeline produced; `null` when nothing. */
8781
8795
  kind: 'value' | 'placeholder' | null;
@@ -8791,20 +8805,25 @@ export type ExpandControllerProps = {
8791
8805
  onKeydown: (event: KeyboardEvent) => void;
8792
8806
  };
8793
8807
 
8794
- 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> = {
8795
8810
  // Row events carry `(event, item)` only, where `item` is the RAW record
8796
- // from `items` — not the table's internal row wrapper. Selection state is
8797
- // 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.
8798
8815
  /**
8799
8816
  * A body row was clicked, or activated with Enter/Space under
8800
8817
  * `keyboardNavigation`. Carries the DOM `MouseEvent` and the raw record.
8801
8818
  */
8802
- (e: 'click:row', event: MouseEvent, item: any): void;
8819
+ (e: 'click:row', event: MouseEvent, item: PtNoInfer<Item>): void;
8803
8820
  /** A body row was right-clicked. Carries the DOM `MouseEvent` and the raw record. */
8804
- (e: 'contextmenu:row', event: MouseEvent, item: any): void;
8821
+ (e: 'contextmenu:row', event: MouseEvent, item: PtNoInfer<Item>): void;
8805
8822
  /** A body row was double-clicked. Carries the DOM `MouseEvent` and the raw record. */
8806
- (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)`
8807
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[])`
8808
8827
  (e: 'update:modelValue', value: any): void;
8809
8828
  (e: 'update:selectAll', value: boolean): void;
8810
8829
  (e: 'update:sort', value: BbTableSortEntry[]): void;
@@ -8814,7 +8833,10 @@ export type BbTableEvents = {
8814
8833
  * `to` index the `items` the table holds. Splice `items` in the handler; a
8815
8834
  * drop in place emits nothing.
8816
8835
  */
8817
- (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;
8818
8840
  /**
8819
8841
  * The user resized a column (`resizable`): the new width in px, or `null`
8820
8842
  * after a double-click on the handle reset it to its declared width.
@@ -8825,14 +8847,18 @@ export type BbTableEvents = {
8825
8847
  * write `hidden: true` into the column definition to persist it.
8826
8848
  */
8827
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[])`
8828
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[])`
8829
8853
  (e: 'update:unselectedItems', value: any[]): void;
8830
8854
  /**
8831
8855
  * The user selected one row. Carries the row's value (read through
8832
8856
  * `itemValue`, the same value the selection v-model holds).
8833
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)`
8834
8859
  (e: 'item:selected', value: any): void;
8835
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)`
8836
8862
  (e: 'item:unselected', value: any): void;
8837
8863
  };
8838
8864
 
@@ -8871,7 +8897,7 @@ export type BbTableHeaderAffixSlotProps<Item = any> = {
8871
8897
  };
8872
8898
 
8873
8899
  /**
8874
- * 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`.
8875
8901
  */
8876
8902
  export type BbTableEdgeCellSlotProps<Item = any> = {
8877
8903
  /** The raw key of the column. */
@@ -8886,6 +8912,7 @@ export type BbTableEdgeCellSlotProps<Item = any> = {
8886
8912
  */
8887
8913
  export type BbTableCellSlotProps<Item = any> = {
8888
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)
8889
8916
  content?: any;
8890
8917
  expanded?: boolean;
8891
8918
  expandProps?: ExpandControllerProps;
@@ -8896,12 +8923,14 @@ export type BbTableCellSlotProps<Item = any> = {
8896
8923
  toggleSelected?: () => void;
8897
8924
  sortOrder?: 'asc' | 'desc' | null;
8898
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
8899
8927
  value?: any;
8900
8928
  };
8901
8929
 
8902
8930
  /** Scope of a column's header slot `#<key>:header`. Headers have no row. */
8903
8931
  export type BbTableHeaderSlotProps<Item = any> = {
8904
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
8905
8934
  content?: any;
8906
8935
  items?: Item[];
8907
8936
  label?: string;
@@ -8913,7 +8942,7 @@ export type BbTableHeaderSlotProps<Item = any> = {
8913
8942
  };
8914
8943
 
8915
8944
  /**
8916
- * 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
8917
8946
  * type them all, so `#<key>` got an optional `item` and `#<key>:header` the
8918
8947
  * body scope wherever the column keys are not literal (a wrapper declaring
8919
8948
  * `defineSlots<BbTableSlots<Row>>()`, a `BbTableColumn<Row>[]` variable). A key
@@ -9050,6 +9079,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9050
9079
  selected?: boolean;
9051
9080
  toggleSelected?: () => void;
9052
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
9053
9083
  value: any;
9054
9084
  }) => any;
9055
9085
  /**
@@ -9073,6 +9103,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9073
9103
  selected?: boolean;
9074
9104
  toggleSelected?: () => void;
9075
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
9076
9107
  value: any;
9077
9108
  }) => any;
9078
9109
  /**
@@ -9087,6 +9118,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9087
9118
  */
9088
9119
  select?: (props: {
9089
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
9090
9122
  value: any;
9091
9123
  checked: boolean;
9092
9124
  disabled: boolean;
@@ -9169,7 +9201,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9169
9201
 
9170
9202
  position: relative;
9171
9203
 
9172
- /* 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
9173
9205
  what sits against it, so a table that scrolls sideways says so at rest
9174
9206
  (the classes are set by the component, see `readOverflow`). A mask on
9175
9207
  the root, which is the scrollport: it is fixed to the visible box
@@ -9180,7 +9212,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9180
9212
  published by the component). No motion: a state flip just repaints.
9181
9213
 
9182
9214
  A side WITH pinned columns (`--pinned-left` / `--pinned-right`) is not
9183
- masked (Q61.20): a mask fades everything in its band, row tints
9215
+ masked: a mask fades everything in its band, row tints
9184
9216
  included, so a hovered or highlighted row showed a pale strip beside
9185
9217
  the opaque pinned cell. There the innermost pinned cell
9186
9218
  (`[data-pin-edge]`, stamped by the component) casts a strip over the
@@ -9235,7 +9267,15 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9235
9267
  }
9236
9268
  }
9237
9269
 
9270
+ /* `start` / `end` follow the page direction; `left` / `right` are
9271
+ physical. A column without its own `align` inherits this. */
9238
9272
  &--align {
9273
+ &-start {
9274
+ text-align: start;
9275
+ }
9276
+ &-end {
9277
+ text-align: end;
9278
+ }
9239
9279
  &-left {
9240
9280
  /* stylelint-disable-next-line declaration-property-value-disallowed-list -- geometry: the column `align` prop names a physical side */
9241
9281
  text-align: left;
@@ -9392,7 +9432,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9392
9432
  width with the tracks overflowing it — row backgrounds and the busy bar
9393
9433
  would paint short and `%` widths would resolve against the wrong box.
9394
9434
  Nothing paints on the root itself: rowgroups and rows are the paint
9395
- 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:
9396
9436
  `<BbTable style="--min-w: 1020px">` scrolls inside its card instead
9397
9437
  of shrinking to it. */
9398
9438
  min-width: max(100%, var(--min-w));
@@ -9485,7 +9525,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9485
9525
  }
9486
9526
  }
9487
9527
 
9488
- /* 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
9489
9529
  stick where a cell cannot: its sticky slack is the body rowgroup, the
9490
9530
  whole run of rows. The first row sits under a stuck head (the body
9491
9531
  publishes `--stuck-top`, see above); both paint opaque like the head, and
@@ -9517,7 +9557,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9517
9557
  — a click inside the pinned header sorted the hidden column — and a
9518
9558
  scrolled-under header's resize handle (z 1, it overhangs its neighbour)
9519
9559
  slid over the pinned header at the same level. */
9520
- /* The colour is forced OPAQUE (owner ruling Q56.24 b): a glass theme's
9560
+ /* The colour is forced OPAQUE: a glass theme's
9521
9561
  translucent `--bb-panel` let the rows show through a pinned column and
9522
9562
  painted a band. `rgb(from … / 1)` keeps the resolved colour and drops
9523
9563
  only its alpha, so an opaque theme renders exactly as before, and a row
@@ -9536,7 +9576,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9536
9576
  z-index: 2;
9537
9577
  }
9538
9578
 
9539
- /* 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
9540
9580
  pinned cell casts it over the content scrolled beneath. `--cue-l` /
9541
9581
  `--cue-r` come from this cell's own table, so they are 0 (nothing
9542
9582
  painted) unless that side overflows. Never takes a click. */
@@ -9681,7 +9721,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9681
9721
  min-width: 0;
9682
9722
  }
9683
9723
 
9684
- /* Q9.1b: an unsized column's estimated floor (`--floor`, set inline from
9724
+ /* an unsized column's estimated floor (`--floor`, set inline from
9685
9725
  the text the column shows). A zero-height spacer widens the header's
9686
9726
  min-content, so the `auto` track floors at the larger of the estimate
9687
9727
  and the header's own content: the heading still never clips. */
@@ -9692,7 +9732,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9692
9732
  width: var(--floor, 0);
9693
9733
  }
9694
9734
 
9695
- /* Q76.9 e: a long heading of several words, given two lines because
9735
+ /* a long heading of several words, given two lines because
9696
9736
  the alternative was a sideways scroll. Only the label wraps (the
9697
9737
  cell stays `nowrap`, so an affix keeps to its line); words never
9698
9738
  break, so it still never clips. */
@@ -9706,10 +9746,20 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9706
9746
  cursor: pointer;
9707
9747
  }
9708
9748
 
9749
+ /* A column's own `align`; `--start` (unset) inherits the table's. */
9750
+ &--end {
9751
+ text-align: end;
9752
+ }
9753
+
9709
9754
  &--center {
9710
9755
  text-align: center;
9711
9756
  }
9712
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
+
9713
9763
  &--right {
9714
9764
  /* stylelint-disable-next-line declaration-property-value-disallowed-list -- geometry: the column `align` prop names a physical side */
9715
9765
  text-align: right;
@@ -9752,7 +9802,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9752
9802
  /* Clips like the plain label: the label track shrinks to an ellipsis
9753
9803
  and then to nothing while the arrow (`flex-shrink: 0`) stays. */
9754
9804
  max-width: 100%;
9755
- /* 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` */
9756
9806
  outline: var(--bb-ring-size) solid transparent;
9757
9807
  outline-offset: 0;
9758
9808
  overflow: hidden;
@@ -9821,12 +9871,13 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9821
9871
  }
9822
9872
  }
9823
9873
 
9824
- /* A right-aligned column puts the arrow on the label's LEADING side (Q56.24
9825
- 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
9826
9876
  when it appears — pushed the label ~18px left of the figures under it.
9827
9877
  Leading, the label lines up with its cells sorted or not, and the arrow
9828
9878
  still never moves the label. */
9829
- &__cell-column-header--right .bb-table-sort {
9879
+ &__cell-column-header--right .bb-table-sort,
9880
+ &__cell-column-header--end .bb-table-sort {
9830
9881
  flex-direction: row-reverse;
9831
9882
  }
9832
9883
 
@@ -9857,7 +9908,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
9857
9908
  }
9858
9909
  }
9859
9910
 
9860
- /* A `reorderable: false` column (Q10.2) is no grab surface: the sort
9911
+ /* A `reorderable: false` column is no grab surface: the sort
9861
9912
  button keeps its own `pointer`. */
9862
9913
  &--reorderable .bb-table__cell-column-header--locked[data-column-key] {
9863
9914
  cursor: auto;
@@ -10009,7 +10060,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10009
10060
  grip and checkbox: the table has no spacing scale below `--px`, and a
10010
10061
  quarter is its smallest step that still reads (3px, 2px compact). Three
10011
10062
  quarters before it (9px, 6px compact), not a half: a compact grip sat
10012
- 1px from the highlighted row's 3px accent bar (owner, 2026-10-12). */
10063
+ 1px from the highlighted row's 3px accent bar. */
10013
10064
  &__head > [role='row'] > .bb-table__cell-column-header--row-drag,
10014
10065
  &__body > [role='row'] > .bb-table__cell--row-drag {
10015
10066
  align-items: center;
@@ -10122,7 +10173,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10122
10173
  /* Review r4 (touch target): on a coarse pointer the grip's invisible
10123
10174
  `::after` fills its own cell (the row's `--cell-h`, the cell's paddings),
10124
10175
  so a thumb anywhere in the grip column takes the handle while the look
10125
- 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
10126
10177
  full `--px` back; after the grip it stops at the half `--px` its cell
10127
10178
  now has, so the two boxes never overlap. */
10128
10179
  @media (pointer: coarse) {
@@ -10363,7 +10414,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10363
10414
  text-align: center;
10364
10415
  }
10365
10416
 
10366
- /* 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
10367
10418
  wide, so on a scrolling table a message centred on the cell sat off
10368
10419
  screen. The content is as wide as the scrollport instead (`--vw`, the
10369
10420
  root's client width, written by the overflow observer; an inheriting
@@ -10424,10 +10475,10 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10424
10475
  background-color: var(--row-bg);
10425
10476
  }
10426
10477
 
10427
- /* 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
10428
10479
  app's `pt:row` hover colour (`hover:bg-*`) reaches it as it reaches
10429
10480
  the rest of the row (it kept the library's tint before). The row
10430
- 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,
10431
10482
  so the library's own hover is forced opaque on a row that has one;
10432
10483
  an opaque theme renders exactly as before. A translucent app hover
10433
10484
  colour shows through the pinned cell while the row is hovered: give
@@ -10456,8 +10507,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10456
10507
  }
10457
10508
 
10458
10509
  /* Default cursor for `v-model:highlighted` / `keyboard-navigation` —
10459
- without this, the row only gets `aria-current` and a bare class
10460
- (BTG-014).
10510
+ without this, the row only gets `aria-current` and a bare class.
10461
10511
 
10462
10512
  The FILL is neutral, from the shared surface ladder in
10463
10513
  variables.css, which is built on --bb-text and therefore contrasts
@@ -10501,14 +10551,14 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10501
10551
  }
10502
10552
 
10503
10553
  &__cell {
10504
- /* 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
10505
10555
  inside the cell instead of painting over the next one. `break-word`,
10506
10556
  not `anywhere`: it only breaks what would overflow and leaves the
10507
10557
  min-content size alone, so column sizing is unchanged and ordinary
10508
10558
  words never split. */
10509
10559
  overflow-wrap: break-word;
10510
10560
 
10511
- /* 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
10512
10562
  floor is the minimum, not the longest word: a value too long for it
10513
10563
  wraps, or breaks, rather than widening every row. The values the fit
10514
10564
  promises are held instead, by the root's hold level (below). */
@@ -10516,10 +10566,19 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10516
10566
  min-width: 0;
10517
10567
  }
10518
10568
 
10569
+ &--end {
10570
+ text-align: end;
10571
+ }
10572
+
10519
10573
  &--center {
10520
10574
  text-align: center;
10521
10575
  }
10522
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
+
10523
10582
  &--right {
10524
10583
  /* stylelint-disable-next-line declaration-property-value-disallowed-list -- geometry: the column `align` prop names a physical side */
10525
10584
  text-align: right;
@@ -10601,7 +10660,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10601
10660
  }
10602
10661
 
10603
10662
  /* The selection toggle inside its label: the native input and the glyph,
10604
- stacked in one cell (Q65.4, `.bb-toggle-input`). */
10663
+ stacked in one cell (`.bb-toggle-input`). */
10605
10664
  &-check,
10606
10665
  &-radio {
10607
10666
  display: inline-grid;
@@ -10640,7 +10699,7 @@ export type BbTableSlots<Item = any> = BbTableColumnSlots<Item> & {
10640
10699
  }
10641
10700
  }
10642
10701
 
10643
- /* --- Touch target: the select toggle (Q44.19) -------------------------------
10702
+ /* --- Touch target: the select toggle -------------------------------
10644
10703
  * The checkbox / radio label is a 16×20 glyph in a 40×36 cell: a thumb that
10645
10704
  * lands on the cell's padding hits the row instead. On a coarse pointer only,
10646
10705
  * its invisible `::after` fills the select cell: across the cell's inline