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

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 (363) hide show
  1. package/README.md +2 -2
  2. package/bin/cli.mjs +9 -3
  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 +233 -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 +100 -13
  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 +242 -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 +72 -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 +152 -11
  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 +241 -199
  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 +1997 -1151
  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/utilities/functions/hash.js +90 -3
  347. package/dist/utilities/functions/isEqual.js +61 -3
  348. package/dist/utils/versionCheck.js +1 -1
  349. package/dist/vite.js +0 -1
  350. package/llms.txt +2 -2
  351. package/package.json +12 -2
  352. package/scripts/README.md +43 -39
  353. package/scripts/lib/adoption-checklist.json +2 -2
  354. package/scripts/lib/eslint-disable.mjs +5 -3
  355. package/scripts/lib/eslint-plugin.d.ts +2 -0
  356. package/scripts/lib/eslint-plugin.mjs +213 -1
  357. package/scripts/lib/helpers-add.mjs +21 -2
  358. package/scripts/lib/redundant-item-accessor.mjs +4 -1
  359. package/scripts/lib/release-results.mjs +180 -5
  360. package/scripts/lib/renamed-item-field.mjs +4 -1
  361. package/scripts/lib/tab-links.mjs +4 -1
  362. package/scripts/lib/tree-default-expandable.mjs +53 -0
  363. 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 };
@@ -1,4 +1,91 @@
1
- import { hash as e } from "object-code";
1
+ import { toRaw as e } from "vue";
2
2
  // src/utilities/functions/hash.ts
3
- var t = (t, n = "bb") => `${n}${e(t)}`;
4
- export { t as hash };
3
+ var t = () => [
4
+ 1083885398,
5
+ -537806866,
6
+ 1531344004,
7
+ -1003682756
8
+ ], n = (e, t) => {
9
+ let [n, r, i, a] = e;
10
+ for (let e = 0; e < t.length; e++) {
11
+ let o = t.charCodeAt(e);
12
+ n = Math.imul(n ^ o, 2654435761), r = Math.imul(r ^ o, 1597334677), i = Math.imul(i ^ o, 2246822519), a = Math.imul(a ^ o, 3266489917);
13
+ }
14
+ e[0] = n, e[1] = r, e[2] = i, e[3] = a;
15
+ }, r = (e, t) => (e = Math.imul(e ^ e >>> 16, 2246822507), e ^= Math.imul(t ^ t >>> 13, 3266489909), t = Math.imul(t ^ t >>> 16, 2246822507), t ^= Math.imul(e ^ e >>> 13, 3266489909), 4294967296 * (2097151 & t) + (e >>> 0)), i = (e) => e.toString(36).padStart(11, "0"), a = (e) => e === null || Object.getPrototypeOf(e) === null, o = (e) => Object.keys(e).sort(), s = (e) => {
16
+ let t = e.valueOf;
17
+ if (typeof t == "function" && t !== Object.prototype.valueOf) try {
18
+ let n = t.call(e);
19
+ if (n !== e && (typeof n != "object" || !n)) return { value: n };
20
+ } catch {}
21
+ }, c = (e) => typeof e.toString == "function" && e.toString !== Object.prototype.toString, l = (t, r, i) => {
22
+ switch (typeof r) {
23
+ case "undefined": return n(t, "u");
24
+ case "boolean": return n(t, r ? "t" : "f");
25
+ case "number": return n(t, `d${Object.is(r, -0) ? "-0" : String(r)};`);
26
+ case "bigint": return n(t, `g${String(r)};`);
27
+ case "string": return n(t, `s${r.length}:`), n(t, r);
28
+ case "symbol": {
29
+ let e = String(r.description);
30
+ return n(t, `y${e.length}:${e}`);
31
+ }
32
+ case "function": {
33
+ let e = String(r);
34
+ return n(t, `F${e.length}:${e}`);
35
+ }
36
+ }
37
+ if (r === null) return n(t, "n");
38
+ let a = e(r), o = i.indexOf(a);
39
+ if (o !== -1) return n(t, `R${o};`);
40
+ i.push(a);
41
+ try {
42
+ f(t, a, i);
43
+ } finally {
44
+ i.pop();
45
+ }
46
+ }, u = (e, t) => n(e, `${t.length}:${t}`), d = (e, t) => [...e].map((e) => m(e, t)).sort(), f = (e, t, r) => {
47
+ if (Array.isArray(t)) {
48
+ n(e, `A${t.length}[`);
49
+ for (let n of t) l(e, n, r);
50
+ return n(e, "]");
51
+ }
52
+ if (t instanceof Date) return n(e, `D${t.getTime()};`);
53
+ if (t instanceof Map) {
54
+ let i = [...t.entries()].map(([e, t]) => `${m(e, r)}=${m(t, r)}`).sort();
55
+ return n(e, `M${i.length}{${i.join(",")}}`);
56
+ }
57
+ if (t instanceof Set) {
58
+ let i = d(t, r);
59
+ return n(e, `S${i.length}{${i.join(",")}}`);
60
+ }
61
+ if (typeof Blob < "u" && t instanceof Blob) return n(e, "B"), l(e, t.name ?? null, r), n(e, `${t.size};`), l(e, t.type, r), n(e, `${t.lastModified ?? ""};`);
62
+ if (a(Object.getPrototypeOf(t))) return p(e, t, r);
63
+ n(e, "C"), u(e, String(t.constructor?.name ?? ""));
64
+ let i = s(t);
65
+ return i ? (n(e, "v"), l(e, i.value, r)) : o(t).length === 0 && c(t) ? (n(e, "x"), l(e, String(t), r)) : p(e, t, r);
66
+ }, p = (e, t, r) => {
67
+ let i = o(t);
68
+ n(e, `O${i.length}{`);
69
+ for (let n of i) l(e, n, r), l(e, t[n], r);
70
+ n(e, "}");
71
+ }, m = (e, n) => {
72
+ let a = t();
73
+ return l(a, e, n), i(r(a[0], a[1])) + i(r(a[2], a[3]));
74
+ }, h = /^[A-Za-z0-9_-]{0,64}$/, g = (e) => {
75
+ if (Object.is(e, -0)) return "m0";
76
+ let t = String(e);
77
+ return /[.+-]/.test(t) ? t.replace(/[.+-]/g, (e) => e === "." ? "p" : e === "-" ? "m" : "") : t;
78
+ }, _ = (e, t = "bb") => {
79
+ switch (typeof e) {
80
+ case "number": return `${t}n${g(e)}`;
81
+ case "boolean": return `${t}${e ? "t" : "f"}`;
82
+ case "undefined": return `${t}u`;
83
+ case "bigint": return `${t}g${String(e).replace("-", "m")}`;
84
+ case "string":
85
+ if (h.test(e)) return `${t}s${e}`;
86
+ break;
87
+ default: if (e === null) return `${t}z`;
88
+ }
89
+ return `${t}h${m(e, [])}`;
90
+ };
91
+ export { c as hasCustomToString, _ as hash, s as primitiveValueOf };
@@ -1,4 +1,62 @@
1
- import { hash as e } from "./hash.js";
1
+ import { hasCustomToString as e, primitiveValueOf as t } from "./hash.js";
2
+ import { toRaw as n } from "vue";
2
3
  // src/utilities/functions/isEqual.ts
3
- var t = (t, n) => e(t) === e(n);
4
- export { t as isEqual };
4
+ var r = (e) => e === null || Object.getPrototypeOf(e) === null, i = (e, t) => a(e, t, []), a = (e, t, r) => {
5
+ if (Object.is(e, t)) return !0;
6
+ if (e === null || t === null || typeof e != "object" || typeof t != "object") return !1;
7
+ let i = n(e), a = n(t);
8
+ if (i === a) return !0;
9
+ for (let [e, t] of r) if (e === i && t === a) return !0;
10
+ r.push([i, a]);
11
+ try {
12
+ return o(i, a, r);
13
+ } finally {
14
+ r.pop();
15
+ }
16
+ }, o = (n, i, o) => {
17
+ if (Object.getPrototypeOf(n) !== Object.getPrototypeOf(i)) return !r(Object.getPrototypeOf(n)) || !r(Object.getPrototypeOf(i)) ? !1 : s(n, i, o);
18
+ if (Array.isArray(n)) {
19
+ let e = i;
20
+ if (n.length !== e.length) return !1;
21
+ for (let t = 0; t < n.length; t++) if (!a(n[t], e[t], o)) return !1;
22
+ return !0;
23
+ }
24
+ if (n instanceof Date) return Object.is(n.getTime(), i.getTime());
25
+ if (n instanceof Map) return c(n, i, o);
26
+ if (n instanceof Set) return l(n, i, o);
27
+ if (typeof Blob < "u" && n instanceof Blob) {
28
+ let e = n, t = i;
29
+ return e.name === t.name && e.size === t.size && e.type === t.type && e.lastModified === t.lastModified;
30
+ }
31
+ if (r(Object.getPrototypeOf(n))) return s(n, i, o);
32
+ let u = t(n);
33
+ if (u) {
34
+ let e = t(i);
35
+ return !!e && Object.is(u.value, e.value);
36
+ }
37
+ return Object.keys(n).length === 0 && Object.keys(i).length === 0 && e(n) ? String(n) === String(i) : s(n, i, o);
38
+ }, s = (e, t, n) => {
39
+ let r = Object.keys(e);
40
+ if (r.length !== Object.keys(t).length) return !1;
41
+ for (let i of r) if (!Object.prototype.hasOwnProperty.call(t, i) || !a(e[i], t[i], n)) return !1;
42
+ return !0;
43
+ }, c = (e, t, n) => {
44
+ if (e.size !== t.size) return !1;
45
+ let r = [...t.entries()];
46
+ for (let [i, o] of e) {
47
+ let e = t.has(i) ? r.findIndex(([e]) => e === i || Object.is(e, i)) : r.findIndex(([e]) => a(e, i, n));
48
+ if (e === -1 || !a(o, r[e][1], n)) return !1;
49
+ r.splice(e, 1);
50
+ }
51
+ return !0;
52
+ }, l = (e, t, n) => {
53
+ if (e.size !== t.size) return !1;
54
+ let r = [...t];
55
+ for (let i of e) {
56
+ let e = t.has(i) ? r.findIndex((e) => e === i || Object.is(e, i)) : r.findIndex((e) => a(e, i, n));
57
+ if (e === -1) return !1;
58
+ r.splice(e, 1);
59
+ }
60
+ return !0;
61
+ };
62
+ export { i as isEqual };
@@ -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.73", 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/dist/vite.js CHANGED
@@ -449,7 +449,6 @@ var pt = [
449
449
  "maska",
450
450
  "maska/vue",
451
451
  "mime",
452
- "object-code",
453
452
  "tailwind-merge"
454
453
  ], mt = ["bitboss-ui"], ht = "@internationalized/date", gt = lt, K = "bitboss-ui";
455
454
  function _t(e) {
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.73",
4
4
  "description": "Vue 3 component library by BitBoss: forms, selects, layout, overlays, and more.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -208,7 +208,7 @@
208
208
  "heroicons": "^2.2.0",
209
209
  "husky": "^9.1.7",
210
210
  "inertia2-vue3": "npm:@inertiajs/vue3@^2.3.10",
211
- "joi": "^18.2.9",
211
+ "joi": "^18.3.2",
212
212
  "lightningcss": "^1.32.0",
213
213
  "lint-staged": "^17.0.4",
214
214
  "nuxt": "^4.6.3",
@@ -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"