bitboss-ui 3.0.0-beta.71 → 3.0.0-beta.72

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 (359) hide show
  1. package/README.md +2 -2
  2. package/bin/cli.mjs +6 -1
  3. package/dist/ai/BbAccordion.md +38 -19
  4. package/dist/ai/BbBadge.md +25 -22
  5. package/dist/ai/BbBreadcrumbs.md +1 -1
  6. package/dist/ai/BbButton.md +32 -27
  7. package/dist/ai/BbCalendar.md +1 -0
  8. package/dist/ai/BbCarousel.md +6 -4
  9. package/dist/ai/BbCheckboxGroup.md +2 -1
  10. package/dist/ai/BbColorInput.md +1 -1
  11. package/dist/ai/BbConfirm.md +65 -81
  12. package/dist/ai/BbConfirmPortal.md +2 -2
  13. package/dist/ai/BbDatePicker.md +1 -6
  14. package/dist/ai/BbDatePickerInput.md +2 -2
  15. package/dist/ai/BbDialog.md +230 -164
  16. package/dist/ai/BbDropdown.md +52 -16
  17. package/dist/ai/BbDropdownButton.md +11 -12
  18. package/dist/ai/BbDropzone.md +12 -8
  19. package/dist/ai/BbForm.md +93 -7
  20. package/dist/ai/BbHost.md +2 -2
  21. package/dist/ai/BbHoverCardPortal.md +1 -1
  22. package/dist/ai/BbIcon.md +1 -1
  23. package/dist/ai/BbIndicator.md +17 -15
  24. package/dist/ai/BbNumberInput.md +7 -5
  25. package/dist/ai/BbOffCanvas.md +29 -7
  26. package/dist/ai/BbPagination.md +2 -2
  27. package/dist/ai/BbPopover.md +15 -9
  28. package/dist/ai/BbPopoverPortal.md +1 -1
  29. package/dist/ai/BbRadioGroup.md +29 -7
  30. package/dist/ai/BbRating.md +8 -7
  31. package/dist/ai/BbSelect.md +29 -8
  32. package/dist/ai/BbSelectPopover.md +9 -3
  33. package/dist/ai/BbSlider.md +12 -8
  34. package/dist/ai/BbSpinner.md +3 -2
  35. package/dist/ai/BbSwitch.md +3 -3
  36. package/dist/ai/BbSwitchGroup.md +7 -6
  37. package/dist/ai/BbTable.md +205 -82
  38. package/dist/ai/BbTabs.md +29 -4
  39. package/dist/ai/BbTag.md +1 -1
  40. package/dist/ai/BbTextInput.md +7 -5
  41. package/dist/ai/BbTextarea.md +4 -3
  42. package/dist/ai/BbTimePickerInput.md +1 -1
  43. package/dist/ai/BbToast.md +3 -2
  44. package/dist/ai/BbTooltip.md +22 -17
  45. package/dist/ai/BbTree.md +49 -24
  46. package/dist/ai/CommonFieldInput.md +1 -1
  47. package/dist/ai/changelog.json +238 -9
  48. package/dist/ai/components.json +52 -51
  49. package/dist/ai/composables/useBbDialog.md +5 -8
  50. package/dist/ai/composables/useBbForm.md +3 -0
  51. package/dist/ai/composables/useConfirm.md +65 -56
  52. package/dist/ai/composables/useToast.md +2 -1
  53. package/dist/ai/guides/agent-contract.md +3 -3
  54. package/dist/ai/guides/app-layout.md +3 -2
  55. package/dist/ai/guides/eslint-rules.md +3 -1
  56. package/dist/ai/guides/fetch-items-playbook.md +1 -1
  57. package/dist/ai/guides/floating-bottom-panel.md +3 -2
  58. package/dist/ai/guides/icons-policy.md +7 -5
  59. package/dist/ai/guides/inertia-helpers.md +35 -30
  60. package/dist/ai/guides/installation-and-plugin-setup.md +17 -14
  61. package/dist/ai/guides/migration/adoption-checklist.md +2 -2
  62. package/dist/ai/guides/migration/components/bb-badge.md +12 -1
  63. package/dist/ai/guides/migration/components/bb-button.md +24 -0
  64. package/dist/ai/guides/migration/components/bb-dropdown-button.md +11 -0
  65. package/dist/ai/guides/migration/components/bb-tabs.md +2 -2
  66. package/dist/ai/guides/migration/components/bb-toast.md +11 -0
  67. package/dist/ai/guides/migration/components/use-confirm.md +69 -26
  68. package/dist/ai/guides/migration/v2-to-v3.md +52 -10
  69. package/dist/ai/guides/migration/v3-beta-css-classes.md +1 -1
  70. package/dist/ai/guides/options-items-playbook.md +4 -3
  71. package/dist/ai/guides/passthrough.md +2 -2
  72. package/dist/ai/helpers/inertia/manifest.json +28 -15
  73. package/dist/ai/helpers/inertia/messages.ts +3 -3
  74. package/dist/ai/helpers/inertia/useConfirmOnRouteLeave.ts +10 -10
  75. package/dist/ai/helpers/inertia/usePromiseForm.ts +1 -1
  76. package/dist/ai/helpers/inertia/usePromiseRouter.ts +7 -2
  77. package/dist/ai/index.md +3 -3
  78. package/dist/ai/manifest/common.json +3 -3
  79. package/dist/ai/manifest/components/BbAccordion.json +8 -5
  80. package/dist/ai/manifest/components/BbAccordion.tree.json +1 -0
  81. package/dist/ai/manifest/components/BbBadge.json +8 -7
  82. package/dist/ai/manifest/components/BbBadge.removed.json +3 -1
  83. package/dist/ai/manifest/components/BbBadge.tree.json +73 -0
  84. package/dist/ai/manifest/components/BbBreadcrumbs.json +1 -1
  85. package/dist/ai/manifest/components/BbButton.json +5 -6
  86. package/dist/ai/manifest/components/BbButton.removed.json +3 -1
  87. package/dist/ai/manifest/components/BbButton.tree.json +24 -7
  88. package/dist/ai/manifest/components/BbCalendar.json +2 -1
  89. package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
  90. package/dist/ai/manifest/components/BbColorInput.json +1 -1
  91. package/dist/ai/manifest/components/BbColorInput.tree.json +1 -1
  92. package/dist/ai/manifest/components/BbConfirm.json +2 -2
  93. package/dist/ai/manifest/components/BbConfirm.removed.json +9 -0
  94. package/dist/ai/manifest/components/BbConfirm.tree.json +4 -5
  95. package/dist/ai/manifest/components/BbConfirmPortal.json +3 -3
  96. package/dist/ai/manifest/components/BbConfirmPortal.removed.json +7 -0
  97. package/dist/ai/manifest/components/BbDatePicker.json +2 -1
  98. package/dist/ai/manifest/components/BbDatePicker.tree.json +0 -6
  99. package/dist/ai/manifest/components/BbDatePickerInput.json +2 -2
  100. package/dist/ai/manifest/components/BbDatePickerInput.tree.json +1 -1
  101. package/dist/ai/manifest/components/BbDialog.json +6 -1
  102. package/dist/ai/manifest/components/BbDialog.tree.json +41 -1
  103. package/dist/ai/manifest/components/BbDropdown.json +9 -8
  104. package/dist/ai/manifest/components/BbDropdown.tree.json +4 -0
  105. package/dist/ai/manifest/components/BbDropdownButton.json +8 -9
  106. package/dist/ai/manifest/components/BbDropdownButton.removed.json +3 -1
  107. package/dist/ai/manifest/components/BbForm.json +3 -1
  108. package/dist/ai/manifest/components/BbNumberInput.json +1 -1
  109. package/dist/ai/manifest/components/BbNumberInput.tree.json +1 -1
  110. package/dist/ai/manifest/components/BbOffCanvas.json +6 -1
  111. package/dist/ai/manifest/components/BbOffCanvas.tree.json +40 -0
  112. package/dist/ai/manifest/components/BbPagination.json +1 -1
  113. package/dist/ai/manifest/components/BbRadioGroup.json +4 -3
  114. package/dist/ai/manifest/components/BbRating.json +2 -2
  115. package/dist/ai/manifest/components/BbSelect.json +16 -15
  116. package/dist/ai/manifest/components/BbSelect.tree.json +1 -1
  117. package/dist/ai/manifest/components/BbSelectPopover.json +1 -0
  118. package/dist/ai/manifest/components/BbSwitch.json +4 -4
  119. package/dist/ai/manifest/components/BbSwitchGroup.json +7 -7
  120. package/dist/ai/manifest/components/BbTable.json +15 -14
  121. package/dist/ai/manifest/components/BbTable.tree.json +2 -0
  122. package/dist/ai/manifest/components/BbTabs.json +3 -3
  123. package/dist/ai/manifest/components/BbTabsList.json +1 -1
  124. package/dist/ai/manifest/components/BbTabsRoot.json +1 -1
  125. package/dist/ai/manifest/components/BbTag.json +1 -1
  126. package/dist/ai/manifest/components/BbTag.tree.json +1 -1
  127. package/dist/ai/manifest/components/BbTextInput.json +1 -1
  128. package/dist/ai/manifest/components/BbTextInput.tree.json +1 -1
  129. package/dist/ai/manifest/components/BbTextarea.json +1 -1
  130. package/dist/ai/manifest/components/BbTextarea.tree.json +1 -1
  131. package/dist/ai/manifest/components/BbTimePicker.json +1 -1
  132. package/dist/ai/manifest/components/BbTimePickerInput.json +1 -1
  133. package/dist/ai/manifest/components/BbTimePickerInput.tree.json +1 -1
  134. package/dist/ai/manifest/components/BbToast.removed.json +2 -1
  135. package/dist/ai/manifest/components/BbTree.json +2 -2
  136. package/dist/ai/manifest/components/CommonFieldInput.tree.json +3 -3
  137. package/dist/ai/manifest/index.json +4 -4
  138. package/dist/ai/manifest/meta.json +5 -1
  139. package/dist/ai/manifest/types.advanced.json +9 -9
  140. package/dist/ai/manifest/types.api.json +6 -5
  141. package/dist/ai/recipes/inertia/approvals-inbox.md +23 -16
  142. package/dist/ai/recipes/inertia/inline-edit-workspace.md +12 -5
  143. package/dist/ai/recipes/inertia/layout-scaffold.md +5 -3
  144. package/dist/ai/recipes/inertia/onboarding.md +23 -12
  145. package/dist/ai/recipes/inertia/ownership-atlas.md +34 -18
  146. package/dist/ai/recipes/inertia/record-form.md +12 -8
  147. package/dist/ai/recipes/inertia/records-workspace.md +14 -7
  148. package/dist/ai/recipes/inertia/settings-workspace.md +75 -60
  149. package/dist/ai/recipes/inertia/upload-center.md +17 -9
  150. package/dist/ai/recipes/inertia/wizard-form.md +2 -2
  151. package/dist/ai/recipes/nuxt/approvals-inbox.md +23 -16
  152. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +12 -5
  153. package/dist/ai/recipes/nuxt/layout-scaffold.md +5 -3
  154. package/dist/ai/recipes/nuxt/onboarding.md +5 -4
  155. package/dist/ai/recipes/nuxt/ownership-atlas.md +34 -18
  156. package/dist/ai/recipes/nuxt/record-form.md +14 -10
  157. package/dist/ai/recipes/nuxt/records-workspace.md +14 -7
  158. package/dist/ai/recipes/nuxt/settings-workspace.md +70 -60
  159. package/dist/ai/recipes/nuxt/upload-center.md +17 -9
  160. package/dist/ai/recipes/nuxt/wizard-form.md +4 -4
  161. package/dist/ai/recipes/vue/approvals-inbox.md +23 -16
  162. package/dist/ai/recipes/vue/inline-edit-workspace.md +12 -5
  163. package/dist/ai/recipes/vue/layout-scaffold.md +5 -3
  164. package/dist/ai/recipes/vue/onboarding.md +5 -4
  165. package/dist/ai/recipes/vue/ownership-atlas.md +34 -18
  166. package/dist/ai/recipes/vue/record-form.md +14 -10
  167. package/dist/ai/recipes/vue/records-workspace.md +14 -7
  168. package/dist/ai/recipes/vue/settings-workspace.md +70 -60
  169. package/dist/ai/recipes/vue/upload-center.md +17 -9
  170. package/dist/ai/recipes/vue/wizard-form.md +4 -4
  171. package/dist/ai/source/BbAccordion.md +50 -16
  172. package/dist/ai/source/BbBadge.md +420 -26
  173. package/dist/ai/source/BbBadgeButton.md +378 -12
  174. package/dist/ai/source/BbButton.md +205 -55
  175. package/dist/ai/source/BbCalendar.md +5 -0
  176. package/dist/ai/source/BbCheckboxGroup.md +38 -13
  177. package/dist/ai/source/BbConfigScope.md +19 -2
  178. package/dist/ai/source/BbConfirm.md +74 -80
  179. package/dist/ai/source/BbConfirmPortal.md +6 -6
  180. package/dist/ai/source/BbDatePicker.md +9 -2
  181. package/dist/ai/source/BbDatePickerInput.md +3 -1
  182. package/dist/ai/source/BbDialog.md +53 -2
  183. package/dist/ai/source/BbDropdown.md +350 -98
  184. package/dist/ai/source/BbDropdownButton.md +20 -12
  185. package/dist/ai/source/BbDropdownGroup.md +136 -58
  186. package/dist/ai/source/BbForm.md +144 -10
  187. package/dist/ai/source/BbOffCanvas.md +53 -2
  188. package/dist/ai/source/BbPagination.md +1 -1
  189. package/dist/ai/source/BbRadioGroup.md +72 -10
  190. package/dist/ai/source/BbRating.md +30 -22
  191. package/dist/ai/source/BbSelect.md +11 -1
  192. package/dist/ai/source/BbSelectPopover.md +105 -34
  193. package/dist/ai/source/BbSwitch.md +23 -8
  194. package/dist/ai/source/BbSwitchGroup.md +67 -21
  195. package/dist/ai/source/BbTable.md +359 -48
  196. package/dist/ai/source/BbTabs.md +6 -0
  197. package/dist/ai/source/BbTabsList.md +10 -0
  198. package/dist/ai/source/BbTabsPanels.md +6 -0
  199. package/dist/ai/source/BbTabsRoot.md +6 -0
  200. package/dist/ai/source/BbTree.md +14 -4
  201. package/dist/ai/source/CommonFieldInput.md +2 -1
  202. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +7 -3
  203. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +52 -38
  204. package/dist/components/BbAccordion/ptKeys.generated.d.ts +20 -0
  205. package/dist/components/BbAccordion/types.d.ts +21 -7
  206. package/dist/components/BbAccordion/types.js +1 -1
  207. package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -1
  208. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +5 -5
  209. package/dist/components/BbBadge/BbBadge.vue.d.ts +1 -1
  210. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +65 -42
  211. package/dist/components/BbBadge/types.d.ts +15 -12
  212. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +79 -73
  213. package/dist/components/BbButton/types.d.ts +7 -6
  214. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +2 -1
  215. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +2 -1
  216. package/dist/components/BbCalendar/types.d.ts +5 -0
  217. package/dist/components/BbCalendar/useCalendarGrid.js +1 -1
  218. package/dist/components/BbCalendar/useDayGrid.js +1 -1
  219. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +10 -4
  220. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +2 -2
  221. package/dist/components/BbCheckboxGroup/types.d.ts +2 -2
  222. package/dist/components/BbConfigScope/BbConfigScope.vue_vue_type_script_setup_true_lang.js +8 -8
  223. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +71 -132
  224. package/dist/components/BbConfirm/ptKeys.generated.d.ts +5 -5
  225. package/dist/components/BbConfirm/types.d.ts +5 -5
  226. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +2 -1
  227. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +3 -0
  228. package/dist/components/BbDatePicker/types.d.ts +5 -0
  229. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -1
  230. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +2 -0
  231. package/dist/components/BbDatePickerInput/types.d.ts +2 -1
  232. package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -0
  233. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +263 -235
  234. package/dist/components/BbDialog/overlayActions.js +94 -0
  235. package/dist/components/BbDialog/types.d.ts +24 -0
  236. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +4 -3
  237. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +382 -332
  238. package/dist/components/BbDropdown/dropdownHandle.js +6 -0
  239. package/dist/components/BbDropdown/normalizeGroups.js +58 -48
  240. package/dist/components/BbDropdown/types.d.ts +107 -48
  241. package/dist/components/BbDropdown/types.js +2 -2
  242. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +71 -71
  243. package/dist/components/BbDropdownButton/types.d.ts +2 -4
  244. package/dist/components/BbForm/BbForm.vue.d.ts +2 -1
  245. package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +240 -198
  246. package/dist/components/BbForm/recognizeValidation.d.ts +9 -0
  247. package/dist/components/BbForm/recognizeValidation.js +55 -0
  248. package/dist/components/BbForm/validationError.d.ts +10 -0
  249. package/dist/components/BbForm/validationError.js +11 -0
  250. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -0
  251. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +414 -389
  252. package/dist/components/BbOffCanvas/sheetAttrs.js +5 -5
  253. package/dist/components/BbOffCanvas/types.d.ts +24 -0
  254. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +3 -3
  255. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +10 -4
  256. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +173 -157
  257. package/dist/components/BbRadioGroup/types.d.ts +9 -3
  258. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +112 -103
  259. package/dist/components/BbRating/types.d.ts +3 -2
  260. package/dist/components/BbSelect/BbSelect.vue.d.ts +9 -8
  261. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +3 -1
  262. package/dist/components/BbSelect/types.d.ts +8 -0
  263. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +11 -4
  264. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +513 -502
  265. package/dist/components/BbSelectPopover/types.d.ts +10 -2
  266. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -0
  267. package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +85 -73
  268. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +10 -4
  269. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +171 -152
  270. package/dist/components/BbSwitchGroup/types.d.ts +1 -1
  271. package/dist/components/BbTable/BbTable.vue.d.ts +36 -25
  272. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1338 -1215
  273. package/dist/components/BbTable/BbTableDataRow.js +2 -1
  274. package/dist/components/BbTable/BbTableRowMenu.js +36 -0
  275. package/dist/components/BbTable/types.d.ts +32 -17
  276. package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +2 -2
  277. package/dist/components/BbTabs/types.d.ts +6 -0
  278. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +1 -1
  279. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +1 -1
  280. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +1 -1
  281. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +88 -94
  282. package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +1 -1
  283. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +9 -9
  284. package/dist/components/BbTree/types.d.ts +8 -2
  285. package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +39 -39
  286. package/dist/composables/formSubmitLock.js +15 -8
  287. package/dist/composables/overlayRegistry.d.ts +5 -0
  288. package/dist/composables/overlayRegistry.js +154 -148
  289. package/dist/composables/useBbDropdown.d.ts +8 -0
  290. package/dist/composables/useBbDropdown.js +3 -1
  291. package/dist/composables/useBbTabs.js +138 -138
  292. package/dist/composables/useConfirm.d.ts +63 -52
  293. package/dist/composables/useConfirm.js +22 -18
  294. package/dist/deprecation/ai-deprecations.json.js +1 -1
  295. package/dist/directives/bbDropdown.d.ts +7 -7
  296. package/dist/directives/bbDropdown.js +21 -14
  297. package/dist/directives/bbTooltip.d.ts +3 -3
  298. package/dist/directives/createPopoverDirective.js +57 -35
  299. package/dist/i18n/locales/ar.json +5 -1
  300. package/dist/i18n/locales/cs.json +5 -1
  301. package/dist/i18n/locales/da.json +5 -1
  302. package/dist/i18n/locales/de-CH.json +5 -1
  303. package/dist/i18n/locales/de.json +5 -1
  304. package/dist/i18n/locales/el.json +5 -1
  305. package/dist/i18n/locales/en-GB.json +5 -1
  306. package/dist/i18n/locales/en.json +5 -1
  307. package/dist/i18n/locales/es-MX.json +5 -1
  308. package/dist/i18n/locales/es.json +5 -1
  309. package/dist/i18n/locales/fa.json +5 -1
  310. package/dist/i18n/locales/fi.json +5 -1
  311. package/dist/i18n/locales/fr.json +5 -1
  312. package/dist/i18n/locales/he.json +5 -1
  313. package/dist/i18n/locales/hu.json +5 -1
  314. package/dist/i18n/locales/it.json +5 -1
  315. package/dist/i18n/locales/ja.json +5 -1
  316. package/dist/i18n/locales/ko.json +5 -1
  317. package/dist/i18n/locales/nb.json +5 -1
  318. package/dist/i18n/locales/nl.json +5 -1
  319. package/dist/i18n/locales/pl.json +5 -1
  320. package/dist/i18n/locales/pt-BR.json +5 -1
  321. package/dist/i18n/locales/pt-PT.json +5 -1
  322. package/dist/i18n/locales/ro.json +5 -1
  323. package/dist/i18n/locales/ru.json +5 -1
  324. package/dist/i18n/locales/sv.json +5 -1
  325. package/dist/i18n/locales/tr.json +5 -1
  326. package/dist/i18n/locales/uk.json +5 -1
  327. package/dist/i18n/locales/zh-CN.json +5 -1
  328. package/dist/i18n/locales/zh-HK.json +5 -1
  329. package/dist/i18n/locales/zh-TW.json +5 -1
  330. package/dist/index.d.ts +2 -0
  331. package/dist/index.js +4 -3
  332. package/dist/llms-full.txt +1984 -1145
  333. package/dist/llms-medium.txt +21 -18
  334. package/dist/llms.txt +2 -2
  335. package/dist/locale-blueprint.json +5 -1
  336. package/dist/plugin.js +17 -40
  337. package/dist/pluginCore.js +30 -0
  338. package/dist/styles.css +2 -2
  339. package/dist/types/ActionButton.d.ts +26 -5
  340. package/dist/types/ActionButton.js +11 -0
  341. package/dist/types/ConfigDefaults.d.ts +34 -3
  342. package/dist/types/ConfigDefaults.js +14 -8
  343. package/dist/types/ItemPath.d.ts +33 -4
  344. package/dist/types/ptComponentMap.d.ts +1 -1
  345. package/dist/utilities/functions/clickCount.js +14 -0
  346. package/dist/utils/versionCheck.js +1 -1
  347. package/llms.txt +2 -2
  348. package/package.json +11 -1
  349. package/scripts/README.md +31 -27
  350. package/scripts/lib/adoption-checklist.json +2 -2
  351. package/scripts/lib/eslint-disable.mjs +5 -3
  352. package/scripts/lib/eslint-plugin.d.ts +2 -0
  353. package/scripts/lib/eslint-plugin.mjs +213 -1
  354. package/scripts/lib/redundant-item-accessor.mjs +4 -1
  355. package/scripts/lib/release-results.mjs +32 -1
  356. package/scripts/lib/renamed-item-field.mjs +4 -1
  357. package/scripts/lib/tab-links.mjs +4 -1
  358. package/scripts/lib/tree-default-expandable.mjs +53 -0
  359. package/scripts/lib/validate-bb-markup.mjs +536 -52
@@ -3,11 +3,12 @@ import { IconType } from './Icon.js';
3
3
  import { BbButtonProps } from '../components/BbButton/types.js';
4
4
  /**
5
5
  * Configuration for a single action button rendered by a library-owned
6
- * surface — the confirm dialog footer (`confirm({ actions: [...] })` or
7
- * `yes` / `no`) or a toast's action row (`toast({ actions: [...] })`).
6
+ * surface: a dialog's or off-canvas's `ok` / `cancel` / `actions`, a confirm
7
+ * (`confirm({ ok, cancel, actions })`) or a toast's action row
8
+ * (`toast({ actions: [...] })`).
8
9
  */
9
10
  export type ActionButtonConfig = {
10
- /** Button label. Optional — icon-only buttons use `icon` instead. */
11
+ /** Button label; with `iconOnly`, the accessible name. */
11
12
  text?: string;
12
13
  /** Visual variant. */
13
14
  variant?: ButtonVariantType;
@@ -20,8 +21,11 @@ export type ActionButtonConfig = {
20
21
  'prepend:icon'?: IconType;
21
22
  /** Icon rendered after the label. */
22
23
  'append:icon'?: IconType;
23
- /** Standalone icon button (no label). */
24
- icon?: IconType;
24
+ /**
25
+ * Show the icon alone (`prepend:icon`, else `append:icon`); `text` stays
26
+ * the accessible name.
27
+ */
28
+ iconOnly?: boolean;
25
29
  /** Stretch the button to fill all available width. */
26
30
  block?: boolean;
27
31
  /**
@@ -30,3 +34,20 @@ export type ActionButtonConfig = {
30
34
  */
31
35
  onClick?: () => unknown | Promise<unknown>;
32
36
  };
37
+ /**
38
+ * An `ok` / `cancel` button: `false` (or unset) = none, `true` = the locale
39
+ * label, a string = the label, or the whole config.
40
+ */
41
+ export type BbAction = boolean | string | ActionButtonConfig;
42
+ /** What config may set for `ok` / `cancel`: the look, never a handler. */
43
+ export type BbActionLook = Omit<ActionButtonConfig, 'onClick'>;
44
+ /** The `BbButton` props of an action (the config minus `onClick`). Internal. */
45
+ export declare const actionButtonProps: (action: ActionButtonConfig) => {
46
+ text: string | undefined;
47
+ 'prepend:icon': string | undefined;
48
+ 'append:icon': string | undefined;
49
+ iconOnly: boolean | undefined;
50
+ block: boolean | undefined;
51
+ size: import('./ResponsiveSize.js').Responsive<"sm" | "md" | "lg" | "xl" | "2xl" | "xs"> | undefined;
52
+ variant: ButtonVariantType | undefined;
53
+ };
@@ -0,0 +1,11 @@
1
+ // src/types/ActionButton.ts
2
+ var e = (e) => ({
3
+ text: e.text,
4
+ "prepend:icon": e["prepend:icon"],
5
+ "append:icon": e["append:icon"],
6
+ iconOnly: e.iconOnly,
7
+ block: e.block,
8
+ size: e.size,
9
+ variant: e.variant
10
+ });
11
+ export { e as actionButtonProps };
@@ -1,3 +1,5 @@
1
+ import { BbActionLook } from '../types/ActionButton.js';
2
+ import { BbIsValidationError } from '../components/BbForm/recognizeValidation.js';
1
3
  import { BbAlertProps } from '../components/BbAlert/types.js';
2
4
  import { BbBadgeProps } from '../components/BbBadge/types.js';
3
5
  import { BbButtonProps } from '../components/BbButton/types.js';
@@ -66,8 +68,8 @@ export declare const DEFAULTS_ALLOWLIST: {
66
68
  readonly BbSelect: readonly ["labelMode", "validationMode", "autocomplete", "compact", "layout", "reverse", "adaptive"];
67
69
  readonly BbSelectPopover: readonly ["adaptive", "compact"];
68
70
  readonly BbSlider: readonly ["labelMode", "validationMode", "compact", "layout", "reverse"];
69
- readonly BbSwitch: readonly ["validationMode"];
70
- readonly BbSwitchGroup: readonly ["validationMode"];
71
+ readonly BbSwitch: readonly ["validationMode", "compact", "layout", "reverse", "inputPosition"];
72
+ readonly BbSwitchGroup: readonly ["validationMode", "compact", "layout", "listLayout", "itemLayout", "itemReverse", "reverse", "inputPosition", "block"];
71
73
  readonly BbTable: readonly ["compact"];
72
74
  readonly BbTabs: readonly ["compact", "block"];
73
75
  readonly BbTag: readonly ["labelMode", "validationMode", "autocomplete", "compact", "layout", "reverse"];
@@ -76,12 +78,24 @@ export declare const DEFAULTS_ALLOWLIST: {
76
78
  readonly BbTimePicker: readonly ["adaptive"];
77
79
  readonly BbTimePickerInput: readonly ["labelMode", "validationMode", "autocomplete", "compact", "layout", "reverse", "adaptive"];
78
80
  };
81
+ /**
82
+ * The config keys that style the `ok` / `cancel` buttons of every BbConfirm,
83
+ * BbDialog and BbOffCanvas (global styling only: they never turn a button
84
+ * on). `*Props`, like `offCanvasProps` / `itemProps`. One place for the names.
85
+ */
86
+ export declare const ACTION_LOOK_KEYS: {
87
+ readonly ok: "okProps";
88
+ readonly cancel: "cancelProps";
89
+ };
79
90
  /**
80
91
  * Per-component settings that are not props: a host's default the component
81
92
  * reads where no instance prop exists (`useToast` / `useConfirm` messages).
82
93
  */
83
94
  export declare const COMPONENT_SETTINGS: {
84
- readonly BbConfirm: readonly ["size"];
95
+ readonly BbConfirm: readonly ["size", "okProps", "cancelProps"];
96
+ readonly BbDialog: readonly ["okProps", "cancelProps"];
97
+ readonly BbOffCanvas: readonly ["okProps", "cancelProps"];
98
+ readonly BbForm: readonly ["isValidationError"];
85
99
  readonly BbToast: readonly ["position"];
86
100
  };
87
101
  /**
@@ -191,11 +205,28 @@ interface VariantsOf {
191
205
  BbToast: BbIconVariantNames;
192
206
  BbTooltip: BbVariantNames;
193
207
  }
208
+ /** The look of the `ok` / `cancel` buttons, by `ACTION_LOOK_KEYS`. */
209
+ type ActionLooks = Partial<Record<(typeof ACTION_LOOK_KEYS)[keyof typeof ACTION_LOOK_KEYS], BbActionLook>>;
194
210
  /** Per component, the non-prop settings (`COMPONENT_SETTINGS`). */
195
211
  interface SettingsOf {
196
212
  /** Default maximum width of every confirm, a `BbDialog` size; a per-call `size` wins. */
197
213
  BbConfirm: {
198
214
  size?: keyof Sizes;
215
+ } & ActionLooks;
216
+ /** The look of `ok` / `cancel` where a dialog writes them (never turns one on). */
217
+ BbDialog: ActionLooks;
218
+ /** The look of `ok` / `cancel` where a panel writes them (never turns one on). */
219
+ BbOffCanvas: ActionLooks;
220
+ /**
221
+ * Which `@submit` rejections are a validation answer (not reported, the
222
+ * messages land on the fields). Unset: a 422 from axios / ofetch at
223
+ * `data.errors`, `data.detail` (FastAPI) or `data.violations` (API
224
+ * Platform); `false`: only a `BbValidationError`; a function replaces
225
+ * the default (return the messages, `true`, or anything else for a real
226
+ * error).
227
+ */
228
+ BbForm: {
229
+ isValidationError?: BbIsValidationError;
199
230
  };
200
231
  /** The viewport corner a toast renders in when the call names none. */
201
232
  BbToast: {
@@ -69,8 +69,8 @@ var e = [
69
69
  "layout",
70
70
  "reverse"
71
71
  ],
72
- BbSwitch: ["validationMode"],
73
- BbSwitchGroup: ["validationMode"],
72
+ BbSwitch: ["validationMode", ...t],
73
+ BbSwitchGroup: n,
74
74
  BbTable: ["compact"],
75
75
  BbTabs: ["compact", "block"],
76
76
  BbTag: e,
@@ -83,9 +83,15 @@ var e = [
83
83
  BbTimePicker: ["adaptive"],
84
84
  BbTimePickerInput: [...e, "adaptive"]
85
85
  }, i = {
86
- BbConfirm: ["size"],
86
+ ok: "okProps",
87
+ cancel: "cancelProps"
88
+ }, a = [i.ok, i.cancel], o = {
89
+ BbConfirm: ["size", ...a],
90
+ BbDialog: a,
91
+ BbOffCanvas: a,
92
+ BbForm: ["isValidationError"],
87
93
  BbToast: ["position"]
88
- }, a = [
94
+ }, s = [
89
95
  "adaptive",
90
96
  "labelMode",
91
97
  "validationMode",
@@ -98,18 +104,18 @@ var e = [
98
104
  "reverse",
99
105
  "inputPosition",
100
106
  "block"
101
- ], o = [
107
+ ], c = [
102
108
  "requiredAsterisk",
103
109
  "autoDisableWritingThreshold",
104
110
  "popoverOffset"
105
- ], s = [
111
+ ], l = [
106
112
  "BbAvatar",
107
113
  "BbDialog",
108
114
  "BbIcon",
109
115
  "BbOffCanvas",
110
116
  "BbRating"
111
- ], c = {
117
+ ], u = {
112
118
  BbTextarea: ["nullValue"],
113
119
  BbTextInput: ["nullValue"]
114
120
  };
115
- export { a as ALL_PROPS, o as ALL_SETTINGS, i as COMPONENT_SETTINGS, r as DEFAULTS_ALLOWLIST, c as GLOBAL_ONLY_DEFAULTS, s as SIZE_MAP_COMPONENTS };
121
+ export { i as ACTION_LOOK_KEYS, s as ALL_PROPS, c as ALL_SETTINGS, o as COMPONENT_SETTINGS, r as DEFAULTS_ALLOWLIST, u as GLOBAL_ONLY_DEFAULTS, l as SIZE_MAP_COMPONENTS };
@@ -11,7 +11,8 @@ type StepInto<V, K extends string> = Present<V> extends ReadonlyArray<infer E> ?
11
11
  type PreviewPaths<T> = 0 extends 1 & T ? string : Extract<NestedPaths<Present<T>>, keyof Present<T> | `${keyof Present<T> & string}.${string}`>;
12
12
  /** The paths valid at the segment `P` has reached: only that path is walked. */
13
13
  export type ItemPath<T, P extends string> = P extends `${infer H}.${infer R}` ? H extends KeysOf<T> ? `${H}.${ItemPath<StepInto<T, H>, R>}` : KeysOf<T> : KeysOf<T>;
14
- type PathValue<T, P extends string> = P extends `${infer H}.${infer R}` ? PathValue<StepInto<T, H>, R> | Nullish<T> : StepInto<T, P> | Nullish<T>;
14
+ /** The value read at `P`, nullish where any step on the way may be. */
15
+ export type PathValue<T, P extends string> = P extends `${infer H}.${infer R}` ? PathValue<StepInto<T, H>, R> | Nullish<T> : StepInto<T, P> | Nullish<T>;
15
16
  type IsAny<T> = 0 extends 1 & T ? true : false;
16
17
  type Primitive = string | number | boolean | bigint | symbol | null | undefined;
17
18
  /**
@@ -24,10 +25,38 @@ type DefaultOptionValue<T> = T extends {
24
25
  value: infer V;
25
26
  } ? V : T;
26
27
  /** The value an option yields: the same chain as the runtime's. */
27
- /** The value an option yields: the same chain as the runtime's. */
28
28
  export type OptionValueOf<T, A> = [string] extends [A] ? any : IsAny<T> extends true ? any : [A] extends [undefined] ? DefaultOptionValue<T> : A extends (...args: never[]) => infer R ? R : A extends string ? T extends Primitive ? T : PathValue<T, A> : never;
29
- /** `boolean` when not inferred, so a preset can still set `multiple`. */
30
- export type MultipleInput<M> = [M] extends [false] ? boolean : M;
29
+ /**
30
+ * The value a table row yields through `item-value`: the same chain as the
31
+ * runtime's `getItemValue`, which keeps the whole row when it is unset (a
32
+ * table never reads an own `value`, unlike an option).
33
+ */
34
+ export type TableValueOf<T, A> = [A] extends [undefined] ? IsAny<T> extends true ? any : T : OptionValueOf<T, A>;
35
+ /**
36
+ * `boolean` when not inferred (`M` at its default `D`), so a preset can still
37
+ * set `multiple`. `D` is the component's own default: `true` on the groups.
38
+ */
39
+ export type MultipleInput<M, D extends boolean = false> = [M] extends [D] ? boolean : M;
31
40
  /** A `multiple` only known at run time leaves the model untyped. */
32
41
  export type SelectModelOf<V, M> = [boolean] extends [M] ? any : [M] extends [true] ? V[] : V;
42
+ /**
43
+ * Whether a written column key names a field: dotless and a key, or dotted
44
+ * with a key first. Anything else is a virtual column (a formatter or a slot
45
+ * fills it). Rows with an index signature have every key.
46
+ */
47
+ type IsFieldKey<T, K extends string> = string extends KeysOf<T> ? false : K extends `${infer H}.${string}` ? H extends KeysOf<T> ? true : false : K extends KeysOf<T> ? true : false;
48
+ /**
49
+ * What a written column key may be: a dotted field key is walked to its end,
50
+ * so a typo past a real field fails; any other key passes (a dotless key may
51
+ * name a virtual column). A dotless key stays non-conditional on `T`, so a
52
+ * generic wrapper's own inline columns still pass.
53
+ */
54
+ export type ColumnKeyInput<T, K extends string> = K extends `${string}.${string}` ? IsAny<T> extends true ? K : IsFieldKey<T, K> extends true ? K extends ItemPath<T, K> ? K : ItemPath<T, K> : K : K;
55
+ /**
56
+ * The cell a formatter reads: the field's value, `any` for a virtual key.
57
+ * Distributed over `T`, so a generic wrapper's `T` reads through its
58
+ * constraint instead of staying unresolved.
59
+ */
60
+ export type ColumnContentOf<T, K extends string> = T extends unknown ? ColumnContentOfRow<T, K> : never;
61
+ type ColumnContentOfRow<T, K extends string> = IsAny<T> extends true ? any : IsFieldKey<T, K> extends true ? PathValue<T, K> : any;
33
62
  export {};
@@ -18,7 +18,7 @@ import { TooltipVariantRegistry } from './TooltipVariant.js';
18
18
  * error here and a build error in the plugin.
19
19
  */
20
20
  export interface BbPtComponentMap {
21
- BbAccordion?: PtDataMap<'root' | 'header' | 'title' | 'icon' | 'panel', 'open'>;
21
+ BbAccordion?: PtDataMap<'root' | 'header' | 'title' | 'icon' | 'panel', 'disabled' | 'open'>;
22
22
  BbAlert?: PtDataMap<'root' | 'icon' | 'title' | 'text' | 'close', never> & PtVariantDataMap<'root' | 'icon' | 'title' | 'text' | 'close', keyof AlertVariantRegistry>;
23
23
  BbAsterisk?: PtDataMap<'root', never>;
24
24
  BbAvatar?: PtDataMap<'root' | 'icon', never>;
@@ -0,0 +1,14 @@
1
+ // src/utilities/functions/clickCount.ts
2
+ var e = () => {
3
+ let e = 0;
4
+ return {
5
+ onPress: (t) => {
6
+ e = t.detail;
7
+ },
8
+ count: (t) => {
9
+ let n = Math.max(t.detail, e);
10
+ return e = 0, n;
11
+ }
12
+ };
13
+ };
14
+ export { e as createClickCount };
@@ -9,7 +9,7 @@ function r() {
9
9
  if (process.env.NODE_ENV === "production" || n || typeof window > "u") return;
10
10
  n = !0;
11
11
  let r = () => {
12
- let n = t("3.0.0-beta.71", getComputedStyle(document.documentElement).getPropertyValue(e));
12
+ let n = t("3.0.0-beta.72", getComputedStyle(document.documentElement).getPropertyValue(e));
13
13
  n && console.warn(n);
14
14
  };
15
15
  document.readyState === "complete" ? setTimeout(r, 0) : window.addEventListener("load", r, { once: !0 });
package/llms.txt CHANGED
@@ -72,7 +72,7 @@ Note: the `dist/` paths below resolve inside the installed `bitboss-ui` package
72
72
  - [Migration v2→v3: BbToast and toast()](dist/ai/guides/migration/components/bb-toast.md): Host placement becomes position with a corner-based value set; toast() options rewritten (variant, duration, actions, portal).
73
73
  - [Migration v2→v3: BbTooltip](dist/ai/guides/migration/components/bb-tooltip.md): timeout renamed to delay; theme replaced by typed variant; hideArrow is now a declared prop; block removed; modelValue is new.
74
74
  - [Migration v2→v3: BbTree](dist/ai/guides/migration/components/bb-tree.md): Item model rewritten — payload moves under meta, open becomes expanded, identifier becomes itemValue, expansion is a v-model.
75
- - [Migration v2→v3: confirm() / useConfirm](dist/ai/guides/migration/components/use-confirm.md): yesText/onYes/noText/onNo collapse into yes/no configs, actions becomes an array-or-false, theme→variant, timeout→duration, autoClose flips to default-true, labels are localized, footer buttons default md.
75
+ - [Migration v2→v3: confirm() / useConfirm](dist/ai/guides/migration/components/use-confirm.md): yes/yesText/onYes and no/noText/onNo collapse into ok/cancel configs, actions becomes an array-or-false, theme→variant, timeout→duration, autoClose flips to default-true, labels are localized, footer buttons default md.
76
76
  - [Migration v2→v3: useBroadcastChannelInstance](dist/ai/guides/migration/components/use-broadcast-channel-instance.md): Removed — cross-tab messaging is not a UI concern; use useBroadcastChannel from @vueuse/core.
77
77
  - [Page Shell](dist/ai/guides/page-shell.md): App-side page layout — topbar, content, and a right details sidebar driven by a stack-based context (push a record to peek it, pop to go back). The implementation ships in the per-platform Layout Scaffold recipe; this guide covers when and how to use it.
78
78
  - [Passthrough (pt)](dist/ai/guides/passthrough.md): Reach a named part of a component — its icon, its field box, a table row, a menu entry — with a class list, a style or an attribute, optionally only while a named state is on. One grammar for every component, typed and linted. A pt value typed in <script> (a const, a preset, a wrapper's prop, a split components map) uses <Component>Props['pt'] and satisfies BbComponentsMap; the Pt* types are not exported.
@@ -128,7 +128,7 @@ Open one platform file only (`vue` / `nuxt` / `inertia`). Full intent map: AI Ro
128
128
  - [useBbOffCanvas](dist/ai/composables/useBbOffCanvas.md): Open, close and read a BbOffCanvas by id, with typed data, no v-model; the code twin of v-bb-off-canvas.
129
129
  - [useBbTable](dist/ai/composables/useBbTable.md): Drive and read a BbTable's state (selection, sort, column order, highlight, pagination) from anywhere by id — no prop drilling, no template refs.
130
130
  - [useBbTabs](dist/ai/composables/useBbTabs.md): Read and drive a BbTabs/BbTabsRoot group from anywhere by id — writable current tab, goTo/select, no template refs.
131
- - [useConfirm](dist/ai/composables/useConfirm.md): Promise-based confirm dialogs — await the user's yes/no, with yes/no button configs, async onClick busy states, and portal content. The plugin renders the <BbHost /> that shows them.
131
+ - [useConfirm](dist/ai/composables/useConfirm.md): Promise-based confirm dialogs — await the user's OK/Cancel, with ok/cancel button configs, async onClick busy states, and portal content. The plugin renders the <BbHost /> that shows them.
132
132
  - [useCountdown](dist/ai/composables/useCountdown.md): Reactive countdown timer with start, pause, reset, and formatted time output.
133
133
  - [useId](dist/ai/composables/useId.md): Generate a unique, hydration-safe DOM id (prefixed bb-ui-) for aria wiring in custom markup.
134
134
  - [useMobile](dist/ai/composables/useMobile.md): Reactive isMobile flag using the same viewport breakpoint the library's adaptive components use.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bitboss-ui",
3
- "version": "3.0.0-beta.71",
3
+ "version": "3.0.0-beta.72",
4
4
  "description": "Vue 3 component library by BitBoss: forms, selects, layout, overlays, and more.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -255,7 +255,15 @@
255
255
  "!scripts/lib/fixture-library.mjs",
256
256
  "!scripts/lib/gate.mjs",
257
257
  "!scripts/lib/wall-steps.mjs",
258
+ "!scripts/lib/wall-stats.mjs",
259
+ "!scripts/lib/step-pool.mjs",
260
+ "!scripts/lib/spotlight.mjs",
261
+ "!scripts/lib/self-tests.mjs",
258
262
  "!scripts/lib/gate-plan.mjs",
263
+ "!scripts/lib/scope-plan.mjs",
264
+ "!scripts/lib/scope-graph.mjs",
265
+ "!scripts/lib/browser-chunks.mjs",
266
+ "!scripts/lib/gregorian-files.mjs",
259
267
  "!scripts/lib/inertia-helpers.mjs",
260
268
  "!scripts/lib/provenance.mjs",
261
269
  "!scripts/lib/internal-notes.mjs",
@@ -279,7 +287,9 @@
279
287
  "!scripts/lib/guide-claims.mjs",
280
288
  "!scripts/lib/manifest-pointers.mjs",
281
289
  "!scripts/lib/public-type-exports.mjs",
290
+ "!scripts/lib/heavy-admission.mjs",
282
291
  "!scripts/lib/quiet-gate.mjs",
292
+ "!scripts/lib/timing-window-command.mjs",
283
293
  "!scripts/lib/recipe-excerpts.mjs",
284
294
  "!scripts/lib/swap-noun.mjs",
285
295
  "!scripts/lib/token-color-mix.mjs"
package/scripts/README.md CHANGED
@@ -10,33 +10,37 @@ several of them exist because the thing they now catch already shipped once.
10
10
 
11
11
  ## Gates — wired into `npm run gate` and CI
12
12
 
13
- | Command | Script | Guards |
14
- | --------------------- | -------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
15
- | `check:docs` | `generate-component-docs.ts` | The generated contract docs are in sync with source. `--strict` fails on any prop/event/slot the docs claim and the component does not have. |
16
- | `check:default-docs` | `check-default-docs.ts` | Every prop with a runtime default carries an `@defaultValue` tag, so the docs never state a default the code disagrees with. |
17
- | `check:doc-drift` | `check-doc-drift.mjs` | API names in prose **outside** code fences — tables and inline claims — still exist. Catches the half of doc rot the fence validator cannot see. |
18
- | `check:doc-ts` | `check-doc-ts.mjs` | Every `ts` fence and every `<script>` inside a `vue` fence parses, and every `bitboss-ui` import resolves to a real export via the `exports` map. |
19
- | `check:doc-links` | `check-doc-links.mjs` | Relative links inside the shipped `dist/ai` knowledge base resolve. A dangling link in an agent's router is a dead end. |
20
- | `check:recipes` | `check-recipes.mjs` | Whole-page recipes use real component APIs — same checker as the ESLint rule, so a recipe cannot teach a prop that does not exist. |
21
- | `check:examples` | `check-examples.mjs` | Every example (companion SFC or live guide fence) is copy-safe: imports only `vue`, `bitboss-ui` and declared packages; every provider icon name exists in its installed set, and `local:` appears only in BbIcon's guide; no `setInterval`, no mount hook, no timer that starts without a user action (Q18.21). |
22
- | `check:guide-types` | `check-guide-types.mjs` | The companion example SFCs on disk, and every doc code fence that uses the library (given the imports it implies), type-check against the real components. |
23
- | `check:fixture-types` | `check-fixture-types.mjs` | The platform fixtures type-check against the built package. |
24
- | `check:tokens` | `check-tokens.mjs` | Only declared `--bb-*` tokens are used, colour mixing happens `in oklab`, and percentages stay on the emphasis ladder. |
25
- | `check:pins` | `check-pins.mjs` | Every pin-the-bug / skipped test cites a ledger ID that exists. A pinned bug with no ledger entry quietly becomes the spec. |
26
- | `check:register` | `check-deprecation-register.mjs` | Every §F breaking-rename row is wired to `ai-deprecations.json`, so the runtime warner, the CLI and the ESLint autofix all know about the rename. |
27
- | `check:mcp` | `check-mcp.mjs` | Spawns the real MCP server and speaks JSON-RPC over stdio: all 8 tools, their schemas, refusal paths, and 8 path-traversal attempts. |
28
- | `check:ai-evals` | `run-ai-evals.mjs` | The golden validator tasks still pass — the regression suite for "would an agent be told the right thing?" |
29
- | `check-api` | `check-api-consistency.ts` | Cross-component API divergence, diffed against an accepted baseline. A NEW divergence fails; accept one with `-- --update-baseline`. |
30
- | `check:inertia-props` | `check-inertia-link-props.mjs` | Every prop Inertia's `Link` accepts is forwarded by BbButton. The list is hand-written because `@inertiajs/vue3` is an optional peer our public types may not import — so nothing but this gate notices when Inertia adds one. |
31
- | `release:check` | `release-check.mjs` | THE quality wall: every static check first (build, lint, gates, dist checks, node tests), then the browser tiers, which a static red skips. Prints all results; reruns a failed vitest file once and reports it FLAKY. Writes a results record (failed files + WARN passed-only-alone); `--plan` runs a rerun's steps/files. The pre-push gate runs it on every v3 push. |
32
- | `hooks:install` | `hooks-install.mjs` | Installs the git hooks and the gate into `.git/bb-hooks` (checkout-independent) and sets `core.hooksPath`; `prepare` runs it. Reads the hooks from `origin/v3`, not the checkout (`--from-checkout` to try a change); `--repair` fixes a reset path first (`push:check`, Claude Code PreToolUse). `hooks:check` (`--check`) reports every broken state. |
33
- | `gate` | `gate.mjs` | The lane gate (Q96.3): build + every static check of the wall (one list, `lib/wall-steps.mjs`), then the tests touching what changed since `v3` (`-- --all` for the full suite as the wall runs it, `-- --tests=none` for static only). Every step runs; one table of exit codes + durations. Runs in your checkout before reporting; `push:check` stays the commit-exact gate. |
34
- | `land` | `land.mjs` | Lands a lane branch on local `v3` (Q96.4): merge in a clean worktree of `v3` (reinstalling deps there when the merge changes `package.json`/the lockfile), `npm run gate -- --base <merge-base>` there, verify the gated tree is still exactly the merge commit, then fast-forward the main checkout only on green. Every refusal (dirty/wrong-branch main, missing or landed branch, conflict, red or tree-dirtying gate) says why and leaves `v3` untouched. Never pushes. Tested end-to-end by `test-land.sh` (`npm run test:land`). |
35
- | `push:check` | `pre-push-gate.mjs --sha HEAD` | Runs the pre-push gate for HEAD without pushing, in a clean worktree, and records the pass, so the push that follows is instant. |
36
- | `release:local` | `release-local.mjs` | Everything owed before a tag, in a clean short-path worktree of HEAD: the static half of release:check, fixtures:install, eval:prepare and the consumer checks, then the browser tiers, test:fixtures and test:engines. Writes a results record too and prints the tag commands on green. Red? Fix, commit, `-- --rerun-failed` (only failed steps/files, never a pass/tag); rerun green still owes one full run. |
37
- | `test:pre-push-gate` | `test-pre-push-gate.sh` | End-to-end test of the pre-push hook: real `git push` calls to throwaway bare remotes, with a stub wall. |
38
- | `check:pack` | `check-pack.mjs` | The tarball: required files, byte/count floors, **the manifest covers every component `src/index.ts` exports**, and the shipped + tracked variant/locale registries list built-in defaults ONLY. |
39
- | `check:commit` | `check-commit-msg.mjs` | Commit message shape (the commit-msg hook). |
13
+ | Command | Script | Guards |
14
+ | ----------------------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
15
+ | `check:docs` | `generate-component-docs.ts` | The generated contract docs are in sync with source. `--strict` fails on any prop/event/slot the docs claim and the component does not have. |
16
+ | `check:default-docs` | `check-default-docs.ts` | Every prop with a runtime default carries an `@defaultValue` tag, so the docs never state a default the code disagrees with. |
17
+ | `check:doc-drift` | `check-doc-drift.mjs` | API names in prose **outside** code fences — tables and inline claims — still exist. Catches the half of doc rot the fence validator cannot see. |
18
+ | `check:doc-ts` | `check-doc-ts.mjs` | Every `ts` fence and every `<script>` inside a `vue` fence parses, and every `bitboss-ui` import resolves to a real export via the `exports` map. |
19
+ | `check:doc-links` | `check-doc-links.mjs` | Relative links inside the shipped `dist/ai` knowledge base resolve. A dangling link in an agent's router is a dead end. |
20
+ | `check:recipes` | `check-recipes.mjs` | Whole-page recipes use real component APIs — same checker as the ESLint rule, so a recipe cannot teach a prop that does not exist. |
21
+ | `check:examples` | `check-examples.mjs` | Every example (companion SFC or live guide fence) is copy-safe: imports only `vue`, `bitboss-ui` and declared packages; every provider icon name exists in its installed set, and `local:` appears only in BbIcon's guide; no `setInterval`, no mount hook, no timer that starts without a user action (Q18.21). |
22
+ | `check:guide-types` | `check-guide-types.mjs` | The companion example SFCs on disk, and every doc code fence that uses the library (given the imports it implies), type-check against the real components. |
23
+ | `check:fixture-types` | `check-fixture-types.mjs` | The platform fixtures type-check against the built package. |
24
+ | `check:tokens` | `check-tokens.mjs` | Only declared `--bb-*` tokens are used, colour mixing happens `in oklab`, and percentages stay on the emphasis ladder. |
25
+ | `check:pins` | `check-pins.mjs` | Every pin-the-bug / skipped test cites a ledger ID that exists. A pinned bug with no ledger entry quietly becomes the spec. |
26
+ | `check:register` | `check-deprecation-register.mjs` | Every §F breaking-rename row is wired to `ai-deprecations.json`, so the runtime warner, the CLI and the ESLint autofix all know about the rename. |
27
+ | `check:mcp` | `check-mcp.mjs` | Spawns the real MCP server and speaks JSON-RPC over stdio: all 8 tools, their schemas, refusal paths, and 8 path-traversal attempts. |
28
+ | `check:ai-evals` | `run-ai-evals.mjs` | The golden validator tasks still pass — the regression suite for "would an agent be told the right thing?" |
29
+ | `check-api` | `check-api-consistency.ts` | Cross-component API divergence, diffed against an accepted baseline. A NEW divergence fails; accept one with `-- --update-baseline`. |
30
+ | `check:inertia-props` | `check-inertia-link-props.mjs` | Every prop Inertia's `Link` accepts is forwarded by BbButton. The list is hand-written because `@inertiajs/vue3` is an optional peer our public types may not import — so nothing but this gate notices when Inertia adds one. |
31
+ | `check:virtual-modules` | `check-virtual-modules.mjs` | Every `virtual:` id `src/vite-plugin.ts` or `src/nuxt-module.ts` declares is known to the scoped gate (`lib/scope-plan.mjs` VIRTUAL_MODULES): the module graph drops edges through virtual ids, so a new one is a decision, never a silent hole in the scope. |
32
+ | `release:check` | `release-check.mjs` | THE quality wall: every static check first (build, lint, gates, dist checks, node tests), then the browser tiers, which a static red skips. Prints all results; reruns a failed vitest file once and reports it FLAKY. Writes a results record (failed files + WARN passed-only-alone); `--plan` runs a rerun's steps/files. The pre-push gate runs it on every v3 push. |
33
+ | `hooks:install` | `hooks-install.mjs` | Installs the git hooks and the gate into `.git/bb-hooks` (checkout-independent) and sets `core.hooksPath`; `prepare` runs it. Reads the hooks from `origin/v3`, not the checkout (`--from-checkout` to try a change); `--repair` fixes a reset path first (`push:check`, Claude Code PreToolUse). `hooks:check` (`--check`) reports every broken state. |
34
+ | `gate` | `gate.mjs` | The lane gate (Q96.3): build + every static check of the wall (one list, `lib/wall-steps.mjs`) and the node/types/ssr projects, then the browser tiers SCOPED to the change since the last full pass (Q96.1, `scope.mjs`; anything the module graph cannot see runs them in full). `-- --all` for the full suite as the wall runs it, `-- --tests=none` for static only, `-- --shadow` to also run the full tiers and log the comparison, `-- --shadow-report` to sum the log up, `-- --stats [--days N]` for what the walls spend their time on (Q96.6, `lib/wall-stats.mjs`). Every step runs; one table of exit codes + durations. Runs in your checkout before reporting; `push:check` stays the commit-exact gate. |
35
+ | — | `spotlight.mjs` | The wall step before the browser chunks (Q96.2): a component or directive this change publishes (new runtime exports in `src/index.ts` since the last full pass) runs its own tests on Chromium, Firefox and WebKit first; red stops the queue. `--list` prints what it would run. |
36
+ | — | `self-tests.mjs` | The wall step `gate self-tests`: runs `test:land`, `test:pre-push-gate` and `test:release-yml` when the change since the last full pass touches the gate code they cover (map: `lib/self-tests.mjs`; an unmapped gate path runs all three). `--list` prints the plan. |
37
+ | `land` | `land.mjs` | Lands a lane branch on local `v3` (Q96.4): merge in a clean worktree of `v3` (reinstalling deps there when the merge changes `package.json`/the lockfile), `npm run gate` there (scoped from the last full pass below the merge, so it covers what either side changed), verify the gated tree is still exactly the merge commit, then fast-forward the main checkout only on green. Prints the browser files the scoped gate selected. Uncommitted work in main never blocks unless it overlaps the merge. Every refusal (wrong branch in main, an edit to a path the merge changes or an untracked file at a path it adds, missing or landed branch, conflict, red or tree-dirtying gate) says why and leaves `v3` untouched. Never pushes. Tested end-to-end by `test-land.sh` (`npm run test:land`). |
38
+ | `push:check` | `pre-push-gate.mjs --sha HEAD` | Runs the pre-push gate for HEAD without pushing, in a clean worktree, and records the pass, so the push that follows is instant. |
39
+ | `release:local` | `release-local.mjs` | Everything owed before a tag, in a clean short-path worktree of HEAD: the static half of release:check, fixtures:install, eval:prepare and the consumer checks, then the browser tiers, test:fixtures and test:engines. Writes a results record too and prints the tag commands on green. Red? Fix, commit, `-- --rerun-failed` (only failed steps/files, never a pass/tag); rerun green still owes one full run — or `-- --scoped` (Q96.1): a fix on top of a full release pass reruns the static phase whole, the browser tiers on the scope, and carries the fixture/consumer/eval results when the rebuilt `dist/` is byte-identical; it writes a `scoped` pass and a `scoped+…` tag line. |
40
+ | `scope` | `scope.mjs` | The scoped rule (Q96.1, `lib/scope-plan.mjs`): what the browser tiers must rerun since the last full pass — the Vitest module graph at the base (a throwaway snapshot) and at HEAD (`lib/scope-graph.mjs`), the code the build plugin generates for its virtual modules, guide tests naming a changed component, widened to whole chunks (`lib/browser-chunks.mjs`). Fails closed to the full tiers on CSS, global files, virtual-module reach, unclassifiable files, mocking tests, an empty scope with `src/` changed, too many files, an old base. `--verify <rev>` recomputes a `scoped` pass record's scope. |
41
+ | `test:pre-push-gate` | `test-pre-push-gate.sh` | End-to-end test of the pre-push hook: real `git push` calls to throwaway bare remotes, with a stub wall. |
42
+ | `check:pack` | `check-pack.mjs` | The tarball: required files, byte/count floors, **the manifest covers every component `src/index.ts` exports**, and the shipped + tracked variant/locale registries list built-in defaults ONLY. |
43
+ | `check:commit` | `check-commit-msg.mjs` | Commit message shape (the commit-msg hook). |
40
44
 
41
45
  `check:pack` runs in `npm run gate`, CI and at `prepack` — it needs a built
42
46
  `dist/`, which the gate builds first.
@@ -115,7 +115,7 @@
115
115
  }
116
116
  ],
117
117
  "use": "BbNumberInput (its slots get `{ increase, decrease }`)",
118
- "example": "<BbNumberInput v-model=\"qty\" label=\"Quantity\" :min=\"0\"><template #append=\"{ increase }\"><BbButton icon=\"lucide:plus\" variant=\"ghost\" @click=\"increase\">More</BbButton></template></BbNumberInput>",
118
+ "example": "<BbNumberInput v-model=\"qty\" label=\"Quantity\" :min=\"0\"><template #append=\"{ increase }\"><BbButton icon-only prepend:icon=\"lucide:plus\" variant=\"ghost\" @click=\"increase\">More</BbButton></template></BbNumberInput>",
119
119
  "note": "Arrow keys, clamping to `min` / `max`, `step` and locale formatting come with the field."
120
120
  },
121
121
  {
@@ -196,7 +196,7 @@
196
196
  ],
197
197
  "use": "`confirm({ variant: 'destructive' })`",
198
198
  "example": "const ok = await confirm({ title: 'Delete invoice?', variant: 'destructive' });",
199
- "note": "The Yes button takes the variant too. A row menu's delete item takes `variant: 'destructive'` on the item."
199
+ "note": "The OK button takes the variant too. A row menu's delete item takes `variant: 'destructive'` on the item."
200
200
  },
201
201
  {
202
202
  "id": "media-query",
@@ -85,12 +85,14 @@ export function ruleForFinding(finding) {
85
85
  return 'no-conflicting-props';
86
86
  // The check-only kinds below have no ESLint twin, so the partner-prop
87
87
  // rule's name silences them: object items with neither `label` nor
88
- // `text` want their `item-text` partner; a dropdown row in a selectable
89
- // group needs its `value`, a selectable group its `id`, and rows
90
- // without a `value` that share a label collide. (`missing-key` /
88
+ // `text` want their `item-text` partner, and an accessor naming a field
89
+ // no row has is that pair read the other way; a dropdown row in a
90
+ // selectable group needs its `value`, a selectable group its `id`, and
91
+ // rows without a `value` that share a label collide. (`missing-key` /
91
92
  // `duplicate-row-text` were these kinds' names before 3.0.0-beta.49.)
92
93
  case 'missing-partner-prop':
93
94
  case 'object-items-without-text':
95
+ case 'unknown-item-key':
94
96
  case 'missing-value':
95
97
  case 'missing-id':
96
98
  case 'duplicate-row-label':
@@ -59,6 +59,7 @@ export type BitbossUiRuleName =
59
59
  | 'no-dialog-in-panel'
60
60
  | 'no-conflicting-props'
61
61
  | 'valid-locale'
62
+ | 'table-columns-satisfies'
62
63
  | 'static-plugin-options';
63
64
 
64
65
  /** Options accepted by `bitboss-ui/no-unknown-token`. */
@@ -177,6 +178,7 @@ export const noDialogInPanel: Rule.RuleModule;
177
178
  export const noConflictingProps: Rule.RuleModule;
178
179
  export const validLocale: Rule.RuleModule;
179
180
  export const staticPluginOptions: Rule.RuleModule;
181
+ export const tableColumnsSatisfies: Rule.RuleModule;
180
182
 
181
183
  /**
182
184
  * Resolves the optional `@typescript-eslint/parser` peer, or `null` when it is