bitboss-ui 2.1.135 → 3.0.0-alpha.4

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 (1369) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +274 -24
  3. package/bin/bitboss-ui-mcp.mjs +662 -0
  4. package/bin/bitboss-ui.mjs +710 -0
  5. package/bin/bitboss-ui.node.test.mjs +113 -0
  6. package/dist/ai/BbAccordion.md +528 -113
  7. package/dist/ai/BbAlert.md +380 -197
  8. package/dist/ai/BbAsterisk.md +46 -0
  9. package/dist/ai/BbAvatar.md +458 -178
  10. package/dist/ai/BbBadge.md +697 -225
  11. package/dist/ai/BbBadgeButton.md +54 -0
  12. package/dist/ai/BbBaseButton.md +491 -0
  13. package/dist/ai/BbBaseCheckbox.md +49 -0
  14. package/dist/ai/BbBaseCheckboxGroup.md +64 -0
  15. package/dist/ai/BbBaseCheckboxIcon.md +176 -0
  16. package/dist/ai/BbBaseColorInput.md +64 -0
  17. package/dist/ai/BbBaseColorPalette.md +39 -0
  18. package/dist/ai/BbBaseDatePicker.md +42 -0
  19. package/dist/ai/BbBaseDatePickerInput.md +73 -0
  20. package/dist/ai/BbBaseInputContainer.md +48 -0
  21. package/dist/ai/BbBaseNumberInput.md +71 -0
  22. package/dist/ai/BbBaseRadio.md +46 -0
  23. package/dist/ai/BbBaseRadioGroup.md +64 -0
  24. package/dist/ai/BbBaseRadioIcon.md +191 -0
  25. package/dist/ai/BbBaseRating.md +51 -0
  26. package/dist/ai/BbBaseSelect.md +88 -0
  27. package/dist/ai/BbBaseSlider.md +56 -0
  28. package/dist/ai/BbBaseSwitch.md +49 -0
  29. package/dist/ai/BbBaseSwitchGroup.md +64 -0
  30. package/dist/ai/BbBaseSwitchIcon.md +186 -0
  31. package/dist/ai/BbBaseTag.md +68 -0
  32. package/dist/ai/BbBaseTextInput.md +75 -0
  33. package/dist/ai/BbBaseTextarea.md +62 -0
  34. package/dist/ai/BbBaseTimePickerInput.md +62 -0
  35. package/dist/ai/BbBreadcrumbs.md +553 -503
  36. package/dist/ai/BbButton.md +841 -636
  37. package/dist/ai/BbCheckbox.md +585 -254
  38. package/dist/ai/BbCheckboxGroup.md +573 -361
  39. package/dist/ai/BbCollapsible.md +425 -103
  40. package/dist/ai/BbColorInput.md +536 -323
  41. package/dist/ai/BbColorPalette.md +569 -330
  42. package/dist/ai/BbConfirm.md +659 -136
  43. package/dist/ai/BbConfirmPortal.md +28 -0
  44. package/dist/ai/BbDatePicker.md +244 -0
  45. package/dist/ai/BbDatePickerInput.md +720 -388
  46. package/dist/ai/BbDialog.md +778 -99
  47. package/dist/ai/BbDropdown.md +1072 -763
  48. package/dist/ai/BbDropdownButton.md +525 -614
  49. package/dist/ai/BbDropdownGroup.md +34 -0
  50. package/dist/ai/BbDropzone.md +1206 -436
  51. package/dist/ai/BbForm.md +239 -0
  52. package/dist/ai/BbIcon.md +382 -212
  53. package/dist/ai/BbIndicator.md +283 -0
  54. package/dist/ai/BbNumberInput.md +717 -355
  55. package/dist/ai/BbOffCanvas.md +897 -498
  56. package/dist/ai/BbPagination.md +489 -535
  57. package/dist/ai/BbPopover.md +591 -546
  58. package/dist/ai/BbProgress.md +462 -69
  59. package/dist/ai/BbRadio.md +352 -229
  60. package/dist/ai/BbRadioGroup.md +437 -353
  61. package/dist/ai/BbRating.md +372 -225
  62. package/dist/ai/BbSelect.md +1399 -536
  63. package/dist/ai/BbSelectPopover.md +1255 -1578
  64. package/dist/ai/BbSlider.md +500 -256
  65. package/dist/ai/BbSmoothHeight.md +485 -139
  66. package/dist/ai/BbSpinner.md +718 -131
  67. package/dist/ai/BbSwitch.md +573 -119
  68. package/dist/ai/BbSwitchGroup.md +521 -214
  69. package/dist/ai/BbTable.md +1996 -2365
  70. package/dist/ai/BbTabs.md +1147 -0
  71. package/dist/ai/BbTabsList.md +29 -0
  72. package/dist/ai/BbTabsPanes.md +27 -0
  73. package/dist/ai/BbTabsRoot.md +57 -0
  74. package/dist/ai/BbTag.md +416 -292
  75. package/dist/ai/BbTextInput.md +878 -333
  76. package/dist/ai/BbTextarea.md +850 -255
  77. package/dist/ai/BbTimePicker.md +231 -0
  78. package/dist/ai/BbTimePickerInput.md +200 -0
  79. package/dist/ai/BbToast.md +669 -196
  80. package/dist/ai/BbToastPortal.md +28 -0
  81. package/dist/ai/BbTooltip.md +453 -346
  82. package/dist/ai/BbTree.md +993 -234
  83. package/dist/ai/ChipsBox.md +27 -199
  84. package/dist/ai/ClearableButton.md +21 -55
  85. package/dist/ai/CommaBox.md +25 -200
  86. package/dist/ai/CommonInputWrapper.md +42 -0
  87. package/dist/ai/CommonPopover.md +30 -510
  88. package/dist/ai/ErrorIcon.md +19 -56
  89. package/dist/ai/FlatListBox.md +35 -379
  90. package/dist/ai/GroupedListBox.md +37 -535
  91. package/dist/ai/GuidesComponent.md +21 -0
  92. package/dist/ai/ListBox.md +38 -231
  93. package/dist/ai/OptionsContainer.md +34 -253
  94. package/dist/ai/WarningIcon.md +21 -0
  95. package/dist/ai/components.json +15897 -0
  96. package/dist/ai/composables/useBbConfig.md +80 -0
  97. package/dist/ai/composables/useBbFormContext.md +110 -0
  98. package/dist/ai/composables/useBbTableContext.md +167 -0
  99. package/dist/ai/composables/useBbTabsContext.md +118 -0
  100. package/dist/ai/composables/useBroadcastChannelInstance.md +97 -0
  101. package/dist/ai/composables/useConfirm.md +313 -0
  102. package/dist/ai/composables/useCountdown.md +86 -0
  103. package/dist/ai/composables/useId.md +60 -0
  104. package/dist/ai/composables/useMobile.md +85 -0
  105. package/dist/ai/composables/useToast.md +238 -0
  106. package/dist/ai/guides/agent-contract.md +165 -0
  107. package/dist/ai/guides/ai-router.md +113 -0
  108. package/dist/ai/guides/app-layout.md +318 -0
  109. package/dist/ai/guides/coherence-playbook.md +136 -0
  110. package/dist/ai/guides/component-picker.md +236 -0
  111. package/dist/ai/guides/design-language.md +478 -0
  112. package/dist/ai/guides/design-tokens.md +450 -0
  113. package/dist/ai/guides/fetch-items-playbook.md +161 -0
  114. package/dist/ai/guides/floating-bottom-panel.md +130 -0
  115. package/dist/ai/guides/icons-policy.md +257 -0
  116. package/dist/ai/guides/inertia-helpers.md +1443 -0
  117. package/dist/ai/guides/inline-edit-playbook.md +267 -0
  118. package/dist/ai/guides/installation-and-plugin-setup.md +440 -0
  119. package/dist/ai/guides/migration/components/bb-alert.md +37 -0
  120. package/dist/ai/guides/migration/components/bb-avatar.md +24 -0
  121. package/dist/ai/guides/migration/components/bb-badge.md +110 -0
  122. package/dist/ai/guides/migration/components/bb-breadcrumbs.md +26 -0
  123. package/dist/ai/guides/migration/components/bb-button.md +55 -0
  124. package/dist/ai/guides/migration/components/bb-checkbox-group.md +54 -0
  125. package/dist/ai/guides/migration/components/bb-checkbox.md +45 -0
  126. package/dist/ai/guides/migration/components/bb-chip.md +35 -0
  127. package/dist/ai/guides/migration/components/bb-collapsible.md +26 -0
  128. package/dist/ai/guides/migration/components/bb-color-input.md +23 -0
  129. package/dist/ai/guides/migration/components/bb-color-palette.md +31 -0
  130. package/dist/ai/guides/migration/components/bb-date-picker-input.md +84 -0
  131. package/dist/ai/guides/migration/components/bb-dialog.md +46 -0
  132. package/dist/ai/guides/migration/components/bb-dropdown-button.md +31 -0
  133. package/dist/ai/guides/migration/components/bb-dropdown.md +36 -0
  134. package/dist/ai/guides/migration/components/bb-dropzone.md +27 -0
  135. package/dist/ai/guides/migration/components/bb-icon.md +27 -0
  136. package/dist/ai/guides/migration/components/bb-offcanvas.md +63 -0
  137. package/dist/ai/guides/migration/components/bb-pagination.md +24 -0
  138. package/dist/ai/guides/migration/components/bb-popover.md +52 -0
  139. package/dist/ai/guides/migration/components/bb-rating.md +24 -0
  140. package/dist/ai/guides/migration/components/bb-select-popover.md +59 -0
  141. package/dist/ai/guides/migration/components/bb-select.md +69 -0
  142. package/dist/ai/guides/migration/components/bb-slider.md +25 -0
  143. package/dist/ai/guides/migration/components/bb-smooth-height.md +45 -0
  144. package/dist/ai/guides/migration/components/bb-spinner.md +23 -0
  145. package/dist/ai/guides/migration/components/bb-table.md +66 -0
  146. package/dist/ai/guides/migration/components/bb-tabs.md +47 -0
  147. package/dist/ai/guides/migration/components/bb-tag.md +29 -0
  148. package/dist/ai/guides/migration/components/bb-text-input.md +37 -0
  149. package/dist/ai/guides/migration/components/bb-toast.md +47 -0
  150. package/dist/ai/guides/migration/components/bb-tooltip.md +34 -0
  151. package/dist/ai/guides/migration/components/bb-tree.md +77 -0
  152. package/dist/ai/guides/migration/components/use-confirm.md +46 -0
  153. package/dist/ai/guides/migration/v2-to-v3.md +649 -0
  154. package/dist/ai/guides/options-items-playbook.md +222 -0
  155. package/dist/ai/guides/page-shell.md +113 -0
  156. package/dist/ai/guides/validated-forms.md +177 -0
  157. package/dist/ai/index.md +158 -32
  158. package/dist/ai/recipes/inertia/approvals-inbox.md +1635 -0
  159. package/dist/ai/recipes/inertia/inline-edit-workspace.md +1765 -0
  160. package/dist/ai/recipes/inertia/layout-scaffold.md +385 -0
  161. package/dist/ai/recipes/inertia/onboarding.md +1791 -0
  162. package/dist/ai/recipes/inertia/ownership-atlas.md +1327 -0
  163. package/dist/ai/recipes/inertia/record-form.md +1489 -0
  164. package/dist/ai/recipes/inertia/records-workspace.md +1416 -0
  165. package/dist/ai/recipes/inertia/upload-center.md +2003 -0
  166. package/dist/ai/recipes/inertia/wizard-form.md +1500 -0
  167. package/dist/ai/recipes/nuxt/approvals-inbox.md +1578 -0
  168. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1703 -0
  169. package/dist/ai/recipes/nuxt/layout-scaffold.md +385 -0
  170. package/dist/ai/recipes/nuxt/onboarding.md +1724 -0
  171. package/dist/ai/recipes/nuxt/record-form.md +1502 -0
  172. package/dist/ai/recipes/nuxt/records-workspace.md +1329 -0
  173. package/dist/ai/recipes/nuxt/upload-center.md +1886 -0
  174. package/dist/ai/recipes/nuxt/wizard-form.md +1509 -0
  175. package/dist/ai/recipes/vue/approvals-inbox.md +1496 -0
  176. package/dist/ai/recipes/vue/inline-edit-workspace.md +1594 -0
  177. package/dist/ai/recipes/vue/layout-scaffold.md +385 -0
  178. package/dist/ai/recipes/vue/onboarding.md +1679 -0
  179. package/dist/ai/recipes/vue/record-form.md +1586 -0
  180. package/dist/ai/recipes/vue/records-workspace.md +1245 -0
  181. package/dist/ai/recipes/vue/upload-center.md +1845 -0
  182. package/dist/ai/recipes/vue/wizard-form.md +1441 -0
  183. package/dist/ai/source/BbAccordion.md +123 -0
  184. package/dist/ai/source/BbAlert.md +401 -0
  185. package/dist/ai/source/BbAsterisk.md +32 -0
  186. package/dist/ai/source/BbAvatar.md +258 -0
  187. package/dist/ai/source/BbBadge.md +560 -0
  188. package/dist/ai/source/BbBadgeButton.md +490 -0
  189. package/dist/ai/source/BbBaseButton.md +682 -0
  190. package/dist/ai/source/BbBaseCheckbox.md +461 -0
  191. package/dist/ai/source/BbBaseCheckboxGroup.md +554 -0
  192. package/dist/ai/source/BbBaseCheckboxIcon.md +201 -0
  193. package/dist/ai/source/BbBaseColorInput.md +416 -0
  194. package/dist/ai/source/BbBaseColorPalette.md +934 -0
  195. package/dist/ai/source/BbBaseDatePicker.md +1001 -0
  196. package/dist/ai/source/BbBaseDatePickerInput.md +1785 -0
  197. package/dist/ai/source/BbBaseInputContainer.md +1210 -0
  198. package/dist/ai/source/BbBaseNumberInput.md +617 -0
  199. package/dist/ai/source/BbBaseRadio.md +377 -0
  200. package/dist/ai/source/BbBaseRadioGroup.md +533 -0
  201. package/dist/ai/source/BbBaseRadioIcon.md +153 -0
  202. package/dist/ai/source/BbBaseRating.md +573 -0
  203. package/dist/ai/source/BbBaseSelect.md +898 -0
  204. package/dist/ai/source/BbBaseSlider.md +1085 -0
  205. package/dist/ai/source/BbBaseSwitch.md +246 -0
  206. package/dist/ai/source/BbBaseSwitchGroup.md +302 -0
  207. package/dist/ai/source/BbBaseSwitchIcon.md +206 -0
  208. package/dist/ai/source/BbBaseTag.md +694 -0
  209. package/dist/ai/source/BbBaseTextInput.md +511 -0
  210. package/dist/ai/source/BbBaseTextarea.md +480 -0
  211. package/dist/ai/source/BbBaseTimePickerInput.md +1031 -0
  212. package/dist/ai/source/BbBreadcrumbs.md +815 -0
  213. package/dist/ai/source/BbButton.md +1006 -0
  214. package/dist/ai/source/BbCheckbox.md +326 -0
  215. package/dist/ai/source/BbCheckboxGroup.md +419 -0
  216. package/dist/ai/source/BbCollapsible.md +137 -0
  217. package/dist/ai/source/BbColorInput.md +322 -0
  218. package/dist/ai/source/BbColorPalette.md +371 -0
  219. package/dist/ai/source/BbConfirm.md +193 -0
  220. package/dist/ai/source/BbConfirmPortal.md +74 -0
  221. package/dist/ai/source/BbDatePicker.md +729 -0
  222. package/dist/ai/source/BbDatePickerInput.md +525 -0
  223. package/dist/ai/source/BbDialog.md +818 -0
  224. package/dist/ai/source/BbDropdown.md +2387 -0
  225. package/dist/ai/source/BbDropdownButton.md +315 -0
  226. package/dist/ai/source/BbDropdownGroup.md +1259 -0
  227. package/dist/ai/source/BbDropzone.md +864 -0
  228. package/dist/ai/source/BbForm.md +100 -0
  229. package/dist/ai/source/BbIcon.md +214 -0
  230. package/dist/ai/source/BbIndicator.md +298 -0
  231. package/dist/ai/source/BbNumberInput.md +374 -0
  232. package/dist/ai/source/BbOffCanvas.md +1266 -0
  233. package/dist/ai/source/BbPagination.md +835 -0
  234. package/dist/ai/source/BbPopover.md +860 -0
  235. package/dist/ai/source/BbProgress.md +140 -0
  236. package/dist/ai/source/BbRadio.md +303 -0
  237. package/dist/ai/source/BbRadioGroup.md +420 -0
  238. package/dist/ai/source/BbRating.md +369 -0
  239. package/dist/ai/source/BbSelect.md +688 -0
  240. package/dist/ai/source/BbSelectPopover.md +2234 -0
  241. package/dist/ai/source/BbSlider.md +378 -0
  242. package/dist/ai/source/BbSmoothHeight.md +265 -0
  243. package/dist/ai/source/BbSpinner.md +127 -0
  244. package/dist/ai/source/BbSwitch.md +175 -0
  245. package/dist/ai/source/BbSwitchGroup.md +240 -0
  246. package/dist/ai/source/BbTable.md +3433 -0
  247. package/dist/ai/source/BbTabs.md +403 -0
  248. package/dist/ai/source/BbTabsList.md +578 -0
  249. package/dist/ai/source/BbTabsPanes.md +368 -0
  250. package/dist/ai/source/BbTabsRoot.md +372 -0
  251. package/dist/ai/source/BbTag.md +390 -0
  252. package/dist/ai/source/BbTextInput.md +352 -0
  253. package/dist/ai/source/BbTextarea.md +337 -0
  254. package/dist/ai/source/BbTimePicker.md +595 -0
  255. package/dist/ai/source/BbTimePickerInput.md +376 -0
  256. package/dist/ai/source/BbToast.md +525 -0
  257. package/dist/ai/source/BbToastPortal.md +482 -0
  258. package/dist/ai/source/BbTooltip.md +522 -0
  259. package/dist/ai/source/BbTree.md +323 -0
  260. package/dist/ai/source/ChipsBox.md +201 -0
  261. package/dist/ai/source/ClearableButton.md +70 -0
  262. package/dist/ai/source/CommaBox.md +202 -0
  263. package/dist/ai/source/CommonInputWrapper.md +554 -0
  264. package/dist/ai/source/CommonPopover.md +616 -0
  265. package/dist/ai/source/ErrorIcon.md +43 -0
  266. package/dist/ai/source/FlatListBox.md +396 -0
  267. package/dist/ai/source/GroupedListBox.md +540 -0
  268. package/dist/ai/source/GuidesComponent.md +383 -0
  269. package/dist/ai/source/ListBox.md +238 -0
  270. package/dist/ai/source/OptionsContainer.md +191 -0
  271. package/dist/ai/source/WarningIcon.md +47 -0
  272. package/dist/alert-variants.d.ts +19 -0
  273. package/dist/assets/css/reset.css_inline.js +4 -0
  274. package/dist/assets/svgs/alert.svg_raw.js +4 -0
  275. package/dist/assets/svgs/calendar.svg_raw.js +4 -0
  276. package/dist/assets/svgs/check_stroke.svg_raw.js +4 -0
  277. package/dist/assets/svgs/chevron_down.svg_raw.js +4 -0
  278. package/dist/assets/svgs/chevron_right.svg_raw.js +4 -0
  279. package/dist/assets/svgs/clear.svg_raw.js +4 -0
  280. package/dist/assets/svgs/clock.svg_raw.js +4 -0
  281. package/dist/assets/svgs/error.svg_raw.js +4 -0
  282. package/dist/assets/svgs/search.svg_raw.js +4 -0
  283. package/dist/assets/svgs/sort.svg_raw.js +4 -0
  284. package/dist/assets/svgs/spinner.svg_raw.js +4 -0
  285. package/dist/assets/svgs/user.svg_raw.js +4 -0
  286. package/dist/badge-variants.d.ts +19 -0
  287. package/dist/button-variants.d.ts +21 -0
  288. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +9 -3
  289. package/dist/components/BbAccordion/BbAccordion.vue.js +6 -0
  290. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +66 -0
  291. package/dist/components/BbAccordion/types.d.ts +12 -8
  292. package/dist/components/BbAlert/BbAlert.vue.d.ts +12 -3
  293. package/dist/components/BbAlert/BbAlert.vue.js +6 -0
  294. package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +65 -0
  295. package/dist/components/BbAlert/types.d.ts +56 -12
  296. package/dist/components/BbAsterisk/BbAsterisk.vue.d.ts +3 -0
  297. package/dist/components/BbAsterisk/BbAsterisk.vue.js +6 -0
  298. package/dist/components/BbAsterisk/BbAsterisk.vue_vue_type_script_setup_true_lang.js +13 -0
  299. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +5 -0
  300. package/dist/components/BbAvatar/BbAvatar.vue.js +6 -0
  301. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +78 -0
  302. package/dist/components/BbAvatar/types.d.ts +6 -5
  303. package/dist/components/BbBadge/BadgeAppendIcon.vue.d.ts +3 -0
  304. package/dist/components/BbBadge/BadgeAppendIcon.vue.js +5 -0
  305. package/dist/components/BbBadge/BadgeAppendIcon.vue_vue_type_script_setup_true_lang.js +22 -0
  306. package/dist/components/BbBadge/BadgeBodyContent.vue.d.ts +15 -0
  307. package/dist/components/BbBadge/BadgeBodyContent.vue.js +5 -0
  308. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +34 -0
  309. package/dist/components/BbBadge/BbBadge.vue.d.ts +8 -1
  310. package/dist/components/BbBadge/BbBadge.vue.js +6 -0
  311. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +83 -0
  312. package/dist/components/BbBadge/BbBadgeButton.vue.d.ts +12 -0
  313. package/dist/components/BbBadge/BbBadgeButton.vue.js +5 -0
  314. package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +54 -0
  315. package/dist/components/BbBadge/badgeButtonContext.d.ts +27 -0
  316. package/dist/components/BbBadge/badgeButtonContext.js +5 -0
  317. package/dist/components/BbBadge/types.d.ts +61 -16
  318. package/dist/components/BbBaseButton/BbBaseButton.vue.d.ts +13 -0
  319. package/dist/components/BbBaseButton/BbBaseButton.vue.js +6 -0
  320. package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +171 -0
  321. package/dist/components/BbBaseButton/RouterComponent.vue.js +5 -0
  322. package/dist/components/BbBaseButton/RouterComponent.vue_vue_type_script_setup_true_lang.js +29 -0
  323. package/dist/components/BbBaseButton/types.d.ts +191 -0
  324. package/dist/components/BbBaseButton/types.js +33 -0
  325. package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue.d.ts +40 -0
  326. package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue.js +6 -0
  327. package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue_vue_type_script_setup_true_lang.js +145 -0
  328. package/dist/components/BbBaseCheckbox/types.d.ts +224 -0
  329. package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue.d.ts +19 -0
  330. package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue.js +6 -0
  331. package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue_vue_type_script_setup_true_lang.js +190 -0
  332. package/dist/components/BbBaseCheckboxGroup/types.d.ts +257 -0
  333. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.d.ts +4 -0
  334. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.js +6 -0
  335. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue_vue_type_script_setup_true_lang.js +43 -0
  336. package/dist/components/BbBaseCheckboxIcon/types.d.ts +47 -0
  337. package/dist/components/BbBaseColorInput/BbBaseColorInput.vue.d.ts +42 -0
  338. package/dist/components/BbBaseColorInput/BbBaseColorInput.vue.js +6 -0
  339. package/dist/components/BbBaseColorInput/BbBaseColorInput.vue_vue_type_script_setup_true_lang.js +178 -0
  340. package/dist/components/BbBaseColorInput/types.d.ts +210 -0
  341. package/dist/components/BbBaseColorPalette/BbBaseColorPalette.vue.d.ts +13 -0
  342. package/dist/components/BbBaseColorPalette/BbBaseColorPalette.vue.js +6 -0
  343. package/dist/components/BbBaseColorPalette/BbBaseColorPalette.vue_vue_type_script_setup_true_lang.js +395 -0
  344. package/dist/components/BbBaseColorPalette/types.d.ts +40 -0
  345. package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue.js +6 -0
  346. package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue_vue_type_script_setup_true_lang.js +300 -0
  347. package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue.d.ts +44 -0
  348. package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue.js +5 -0
  349. package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue_vue_type_script_setup_true_lang.js +310 -0
  350. package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue.d.ts +5 -0
  351. package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue.js +5 -0
  352. package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue_vue_type_script_setup_true_lang.js +63 -0
  353. package/dist/components/BbBaseDatePicker/BbBaseDatePickerYearSelector.vue.d.ts +5 -0
  354. package/dist/components/BbBaseDatePicker/BbBaseDatePickerYearSelector.vue.js +5 -0
  355. package/dist/components/BbBaseDatePicker/BbBaseDatePickerYearSelector.vue_vue_type_script_setup_true_lang.js +75 -0
  356. package/dist/components/BbBaseDatePicker/typeahead.d.ts +112 -0
  357. package/dist/components/BbBaseDatePicker/typeahead.js +37 -0
  358. package/dist/components/BbBaseDatePicker/types.d.ts +97 -0
  359. package/dist/components/BbBaseDatePicker/useDatePickerContext.d.ts +58 -0
  360. package/dist/components/BbBaseDatePicker/useDatePickerContext.js +11 -0
  361. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue.d.ts +30 -0
  362. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue.js +6 -0
  363. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue_vue_type_script_setup_true_lang.js +716 -0
  364. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue.d.ts +30 -0
  365. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue.js +6 -0
  366. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue_vue_type_script_setup_true_lang.js +204 -0
  367. package/dist/components/BbBaseDatePickerInput/types.d.ts +311 -0
  368. package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue.d.ts +17 -0
  369. package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue.js +6 -0
  370. package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue_vue_type_script_setup_true_lang.js +191 -0
  371. package/dist/components/BbBaseInputContainer/types.d.ts +197 -0
  372. package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue.d.ts +52 -0
  373. package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue.js +6 -0
  374. package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue_vue_type_script_setup_true_lang.js +215 -0
  375. package/dist/components/BbBaseNumberInput/types.d.ts +211 -0
  376. package/dist/components/BbBaseRadio/BbBaseRadio.vue.d.ts +33 -0
  377. package/dist/components/BbBaseRadio/BbBaseRadio.vue.js +6 -0
  378. package/dist/components/BbBaseRadio/BbBaseRadio.vue_vue_type_script_setup_true_lang.js +114 -0
  379. package/dist/components/BbBaseRadio/types.d.ts +179 -0
  380. package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue.d.ts +19 -0
  381. package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue.js +6 -0
  382. package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue_vue_type_script_setup_true_lang.js +177 -0
  383. package/dist/components/BbBaseRadioGroup/types.d.ts +223 -0
  384. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.d.ts +4 -0
  385. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.js +6 -0
  386. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue_vue_type_script_setup_true_lang.js +28 -0
  387. package/dist/components/BbBaseRadioIcon/types.d.ts +41 -0
  388. package/dist/components/BbBaseRating/BbBaseRating.vue.d.ts +38 -0
  389. package/dist/components/BbBaseRating/BbBaseRating.vue.js +6 -0
  390. package/dist/components/BbBaseRating/BbBaseRating.vue_vue_type_script_setup_true_lang.js +184 -0
  391. package/dist/components/BbBaseRating/types.d.ts +168 -0
  392. package/dist/components/BbBaseSelect/BbBaseSelect.vue.d.ts +19 -0
  393. package/dist/components/BbBaseSelect/BbBaseSelect.vue.js +6 -0
  394. package/dist/components/BbBaseSelect/BbBaseSelect.vue_vue_type_script_setup_true_lang.js +307 -0
  395. package/dist/components/BbBaseSelect/types.d.ts +297 -0
  396. package/dist/components/BbBaseSlider/BbBaseSlider.vue.d.ts +35 -0
  397. package/dist/components/BbBaseSlider/BbBaseSlider.vue.js +6 -0
  398. package/dist/components/BbBaseSlider/BbBaseSlider.vue_vue_type_script_setup_true_lang.js +324 -0
  399. package/dist/components/BbBaseSlider/types.d.ts +200 -0
  400. package/dist/components/BbBaseSwitch/BbBaseSwitch.vue.d.ts +35 -0
  401. package/dist/components/BbBaseSwitch/BbBaseSwitch.vue.js +6 -0
  402. package/dist/components/BbBaseSwitch/BbBaseSwitch.vue_vue_type_script_setup_true_lang.js +146 -0
  403. package/dist/components/BbBaseSwitch/types.d.ts +10 -0
  404. package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue.d.ts +19 -0
  405. package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue.js +6 -0
  406. package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue_vue_type_script_setup_true_lang.js +190 -0
  407. package/dist/components/BbBaseSwitchGroup/types.d.ts +8 -0
  408. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.d.ts +4 -0
  409. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.js +6 -0
  410. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue_vue_type_script_setup_true_lang.js +30 -0
  411. package/dist/components/BbBaseSwitchIcon/types.d.ts +48 -0
  412. package/dist/components/BbBaseTag/BbBaseTag.vue.d.ts +50 -0
  413. package/dist/components/BbBaseTag/BbBaseTag.vue.js +6 -0
  414. package/dist/components/BbBaseTag/BbBaseTag.vue_vue_type_script_setup_true_lang.js +266 -0
  415. package/dist/components/BbBaseTag/types.d.ts +160 -0
  416. package/dist/components/BbBaseTextInput/BbBaseTextInput.vue.d.ts +45 -0
  417. package/dist/components/BbBaseTextInput/BbBaseTextInput.vue.js +6 -0
  418. package/dist/components/BbBaseTextInput/BbBaseTextInput.vue_vue_type_script_setup_true_lang.js +200 -0
  419. package/dist/components/BbBaseTextInput/types.d.ts +209 -0
  420. package/dist/components/BbBaseTextarea/BbBaseTextarea.vue.d.ts +39 -0
  421. package/dist/components/BbBaseTextarea/BbBaseTextarea.vue.js +6 -0
  422. package/dist/components/BbBaseTextarea/BbBaseTextarea.vue_vue_type_script_setup_true_lang.js +175 -0
  423. package/dist/components/BbBaseTextarea/types.d.ts +170 -0
  424. package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue.d.ts +27 -0
  425. package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue.js +6 -0
  426. package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue_vue_type_script_setup_true_lang.js +522 -0
  427. package/dist/components/BbBaseTimePickerInput/types.d.ts +151 -0
  428. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +0 -1
  429. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.js +6 -0
  430. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +224 -0
  431. package/dist/components/BbBreadcrumbs/estimateBreadcrumbItemWidth.js +47 -0
  432. package/dist/components/BbBreadcrumbs/types.d.ts +37 -22
  433. package/dist/components/BbButton/BbButton.vue.d.ts +6 -5
  434. package/dist/components/BbButton/BbButton.vue.js +6 -0
  435. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +181 -0
  436. package/dist/components/BbButton/types.d.ts +48 -47
  437. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -3
  438. package/dist/components/BbCheckbox/BbCheckbox.vue.js +6 -0
  439. package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +146 -0
  440. package/dist/components/BbCheckbox/types.d.ts +31 -10
  441. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +2 -13
  442. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.js +6 -0
  443. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +190 -0
  444. package/dist/components/BbCheckboxGroup/types.d.ts +51 -23
  445. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +2 -1
  446. package/dist/components/BbCollapsible/BbCollapsible.vue.js +6 -0
  447. package/dist/components/BbCollapsible/BbCollapsible.vue_vue_type_script_setup_true_lang.js +31 -0
  448. package/dist/components/BbCollapsible/types.d.ts +13 -8
  449. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +10 -1
  450. package/dist/components/BbColorInput/BbColorInput.vue.js +6 -0
  451. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +177 -0
  452. package/dist/components/BbColorInput/types.d.ts +44 -11
  453. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +5 -8
  454. package/dist/components/BbColorPalette/BbColorPalette.vue.js +5 -0
  455. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +126 -0
  456. package/dist/components/BbColorPalette/types.d.ts +71 -52
  457. package/dist/components/BbConfirm/BbConfirm.vue.js +6 -0
  458. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +138 -0
  459. package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +5 -6
  460. package/dist/components/BbConfirm/BbConfirmPortal.vue.js +5 -0
  461. package/dist/components/BbConfirm/BbConfirmPortal.vue_vue_type_script_setup_true_lang.js +19 -0
  462. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +37 -0
  463. package/dist/components/BbDatePicker/BbDatePicker.vue.js +6 -0
  464. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +319 -0
  465. package/dist/components/BbDatePicker/types.d.ts +159 -0
  466. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +3 -1
  467. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.js +6 -0
  468. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +179 -0
  469. package/dist/components/BbDatePickerInput/types.d.ts +134 -16
  470. package/dist/components/BbDialog/BbDialog.vue.d.ts +14 -6
  471. package/dist/components/BbDialog/BbDialog.vue.js +6 -0
  472. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +214 -0
  473. package/dist/components/BbDialog/types.d.ts +146 -1
  474. package/dist/components/BbDialog/useDialogStack.d.ts +5 -0
  475. package/dist/components/BbDialog/useDialogStack.js +20 -0
  476. package/dist/components/BbDropdown/AdaptiveDropdown.vue.d.ts +24 -0
  477. package/dist/components/BbDropdown/AdaptiveDropdown.vue.js +6 -0
  478. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +116 -0
  479. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +14 -7
  480. package/dist/components/BbDropdown/BbDropdown.vue.js +6 -0
  481. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +561 -0
  482. package/dist/components/BbDropdown/BbDropdownGroup.vue.d.ts +44 -0
  483. package/dist/components/BbDropdown/BbDropdownGroup.vue.js +5 -0
  484. package/dist/components/BbDropdown/BbDropdownGroup.vue_vue_type_script_setup_true_lang.js +36 -0
  485. package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +31 -0
  486. package/dist/components/BbDropdown/BbDropdownList.vue.js +6 -0
  487. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +470 -0
  488. package/dist/components/BbDropdown/DropdownPipelineResolver.vue.d.ts +16 -0
  489. package/dist/components/BbDropdown/DropdownPipelineResolver.vue.js +5 -0
  490. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +168 -0
  491. package/dist/components/BbDropdown/normalizeGroups.d.ts +18 -0
  492. package/dist/components/BbDropdown/normalizeGroups.js +46 -0
  493. package/dist/components/BbDropdown/types.d.ts +468 -46
  494. package/dist/components/BbDropdown/types.js +4 -0
  495. package/dist/components/BbDropdown/useDropdownContext.d.ts +89 -0
  496. package/dist/components/BbDropdown/useDropdownContext.js +9 -0
  497. package/dist/components/BbDropdown/useDropdownGroupRegistry.d.ts +108 -0
  498. package/dist/components/BbDropdown/useDropdownGroupRegistry.js +5 -0
  499. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +3 -3
  500. package/dist/components/BbDropdownButton/BbDropdownButton.vue.js +6 -0
  501. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +119 -0
  502. package/dist/components/BbDropdownButton/types.d.ts +47 -52
  503. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +5 -4
  504. package/dist/components/BbDropzone/BbDropzone.vue.js +6 -0
  505. package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +308 -0
  506. package/dist/components/BbDropzone/types.d.ts +77 -8
  507. package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -2
  508. package/dist/components/BbIcon/BbIcon.vue.js +6 -0
  509. package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +65 -0
  510. package/dist/components/BbIcon/types.d.ts +6 -19
  511. package/dist/components/BbIndicator/BbIndicator.vue.d.ts +14 -0
  512. package/dist/components/BbIndicator/BbIndicator.vue.js +6 -0
  513. package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +56 -0
  514. package/dist/components/BbIndicator/types.d.ts +49 -0
  515. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +12 -6
  516. package/dist/components/BbNumberInput/BbNumberInput.vue.js +6 -0
  517. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +194 -0
  518. package/dist/components/BbNumberInput/types.d.ts +40 -4
  519. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +16 -10
  520. package/dist/components/BbOffCanvas/BbOffCanvas.vue.js +6 -0
  521. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +284 -0
  522. package/dist/components/BbOffCanvas/types.d.ts +71 -39
  523. package/dist/components/BbOffCanvas/useOffCanvasStack.d.ts +25 -0
  524. package/dist/components/BbOffCanvas/useOffCanvasStack.js +68 -0
  525. package/dist/components/BbPagination/BbPagination.vue.d.ts +9 -4
  526. package/dist/components/BbPagination/BbPagination.vue.js +6 -0
  527. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +244 -0
  528. package/dist/components/BbPagination/paginationFit.d.ts +38 -0
  529. package/dist/components/BbPagination/paginationFit.js +13 -0
  530. package/dist/components/BbPagination/types.d.ts +51 -16
  531. package/dist/components/BbPopover/BbPopover.vue.d.ts +16 -15
  532. package/dist/components/BbPopover/BbPopover.vue.js +6 -0
  533. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +309 -0
  534. package/dist/components/BbPopover/escapeStack.d.ts +6 -0
  535. package/dist/components/BbPopover/escapeStack.js +10 -0
  536. package/dist/components/BbPopover/types.d.ts +90 -31
  537. package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -0
  538. package/dist/components/BbProgress/BbProgress.vue.js +6 -0
  539. package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +36 -0
  540. package/dist/components/BbProgress/types.d.ts +15 -1
  541. package/dist/components/BbRadio/BbRadio.vue.d.ts +5 -3
  542. package/dist/components/BbRadio/BbRadio.vue.js +6 -0
  543. package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +133 -0
  544. package/dist/components/BbRadio/types.d.ts +32 -9
  545. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -14
  546. package/dist/components/BbRadioGroup/BbRadioGroup.vue.js +6 -0
  547. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +186 -0
  548. package/dist/components/BbRadioGroup/types.d.ts +48 -22
  549. package/dist/components/BbRating/BbRating.vue.d.ts +4 -1
  550. package/dist/components/BbRating/BbRating.vue.js +6 -0
  551. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +150 -0
  552. package/dist/components/BbRating/types.d.ts +44 -10
  553. package/dist/components/BbSelect/BbSelect.vue.d.ts +2 -11
  554. package/dist/components/BbSelect/BbSelect.vue.js +6 -0
  555. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +241 -0
  556. package/dist/components/BbSelect/types.d.ts +112 -59
  557. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +1 -10
  558. package/dist/components/BbSelectPopover/BbSelectPopover.vue.js +6 -0
  559. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +639 -0
  560. package/dist/components/BbSelectPopover/types.d.ts +197 -105
  561. package/dist/components/BbSlider/BbSlider.vue.d.ts +3 -6
  562. package/dist/components/BbSlider/BbSlider.vue.js +6 -0
  563. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +166 -0
  564. package/dist/components/BbSlider/types.d.ts +44 -13
  565. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -1
  566. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.js +6 -0
  567. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue_vue_type_script_setup_true_lang.js +79 -0
  568. package/dist/components/BbSmoothHeight/types.d.ts +17 -2
  569. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +1 -1
  570. package/dist/components/BbSpinner/BbSpinner.vue.js +6 -0
  571. package/dist/components/BbSpinner/BbSpinner.vue_vue_type_script_setup_true_lang.js +30 -0
  572. package/dist/components/BbSpinner/types.d.ts +10 -3
  573. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +5 -3
  574. package/dist/components/BbSwitch/BbSwitch.vue.js +6 -0
  575. package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +142 -0
  576. package/dist/components/BbSwitch/types.d.ts +3 -1
  577. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +4 -14
  578. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.js +6 -0
  579. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +190 -0
  580. package/dist/components/BbSwitchGroup/types.d.ts +3 -22
  581. package/dist/components/BbTable/BbTable.vue.d.ts +58 -31
  582. package/dist/components/BbTable/BbTable.vue.js +6 -0
  583. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +900 -0
  584. package/dist/components/BbTable/types.d.ts +213 -37
  585. package/dist/components/BbTable/utils.d.ts +9 -1
  586. package/dist/components/BbTable/utils.js +53 -0
  587. package/dist/components/BbTabs/BbTabs.vue.d.ts +20 -0
  588. package/dist/components/BbTabs/BbTabs.vue.js +6 -0
  589. package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +64 -0
  590. package/dist/components/BbTabs/BbTabsList.vue.d.ts +19 -0
  591. package/dist/components/BbTabs/BbTabsList.vue.js +6 -0
  592. package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +123 -0
  593. package/dist/components/BbTabs/BbTabsPanes.vue.d.ts +16 -0
  594. package/dist/components/BbTabs/BbTabsPanes.vue.js +6 -0
  595. package/dist/components/BbTabs/BbTabsPanes.vue_vue_type_script_setup_true_lang.js +35 -0
  596. package/dist/components/BbTabs/BbTabsRoot.vue.d.ts +20 -0
  597. package/dist/components/BbTabs/BbTabsRoot.vue.js +5 -0
  598. package/dist/components/BbTabs/BbTabsRoot.vue_vue_type_script_setup_true_lang.js +55 -0
  599. package/dist/components/BbTabs/types.d.ts +264 -0
  600. package/dist/components/BbTag/BbTag.vue.d.ts +19 -6
  601. package/dist/components/BbTag/BbTag.vue.js +6 -0
  602. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +187 -0
  603. package/dist/components/BbTag/types.d.ts +55 -17
  604. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +10 -1
  605. package/dist/components/BbTextInput/BbTextInput.vue.js +6 -0
  606. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +195 -0
  607. package/dist/components/BbTextInput/types.d.ts +31 -4
  608. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +10 -1
  609. package/dist/components/BbTextarea/BbTextarea.vue.js +6 -0
  610. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +178 -0
  611. package/dist/components/BbTextarea/types.d.ts +33 -2
  612. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +33 -0
  613. package/dist/components/BbTimePicker/BbTimePicker.vue.js +6 -0
  614. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +244 -0
  615. package/dist/components/BbTimePicker/types.d.ts +133 -0
  616. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +25 -0
  617. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.js +6 -0
  618. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +157 -0
  619. package/dist/components/BbTimePickerInput/types.d.ts +174 -0
  620. package/dist/components/BbToast/BbToast.vue.d.ts +2 -3
  621. package/dist/components/BbToast/BbToast.vue.js +6 -0
  622. package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +39 -0
  623. package/dist/components/BbToast/BbToastMessage.vue.d.ts +17 -8
  624. package/dist/components/BbToast/BbToastMessage.vue.js +5 -0
  625. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +170 -0
  626. package/dist/components/BbToast/BbToastPortal.vue.d.ts +30 -0
  627. package/dist/components/BbToast/BbToastPortal.vue.js +5 -0
  628. package/dist/components/BbToast/BbToastPortal.vue_vue_type_script_setup_true_lang.js +19 -0
  629. package/dist/components/BbToast/BbToastRegion.vue.d.ts +8 -0
  630. package/dist/components/BbToast/BbToastRegion.vue.js +5 -0
  631. package/dist/components/BbToast/BbToastRegion.vue_vue_type_script_setup_true_lang.js +100 -0
  632. package/dist/components/BbToast/types.d.ts +69 -5
  633. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +10 -3
  634. package/dist/components/BbTooltip/BbTooltip.vue.js +6 -0
  635. package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +160 -0
  636. package/dist/components/BbTooltip/types.d.ts +69 -11
  637. package/dist/components/BbTree/BbTree.vue.d.ts +28 -13
  638. package/dist/components/BbTree/BbTree.vue.js +6 -0
  639. package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +55 -0
  640. package/dist/components/BbTree/BbTreeLevel.vue.d.ts +19 -0
  641. package/dist/components/BbTree/BbTreeLevel.vue.js +5 -0
  642. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +94 -0
  643. package/dist/components/BbTree/context.d.ts +17 -0
  644. package/dist/components/BbTree/context.js +4 -0
  645. package/dist/components/BbTree/types.d.ts +94 -41
  646. package/dist/components/ChipsBox/ChipsBox.vue.d.ts +2 -1
  647. package/dist/components/ChipsBox/ChipsBox.vue.js +5 -0
  648. package/dist/components/ChipsBox/ChipsBox.vue_vue_type_script_setup_true_lang.js +98 -0
  649. package/dist/components/ChipsBox/types.d.ts +12 -5
  650. package/dist/components/ClearableButton/ClearableButton.vue.d.ts +2 -1
  651. package/dist/components/ClearableButton/ClearableButton.vue.js +6 -0
  652. package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +19 -0
  653. package/dist/components/ClearableButton/types.d.ts +7 -1
  654. package/dist/components/CloseIcon/CloseButton.vue.d.ts +5 -0
  655. package/dist/components/CloseIcon/CloseButton.vue.js +7 -0
  656. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +23 -0
  657. package/dist/components/CloseIcon/types.d.ts +2 -0
  658. package/dist/components/CommaBox/CommaBox.vue.d.ts +2 -1
  659. package/dist/components/CommaBox/CommaBox.vue.js +6 -0
  660. package/dist/components/CommaBox/CommaBox.vue_vue_type_script_setup_true_lang.js +81 -0
  661. package/dist/components/CommaBox/types.d.ts +6 -7
  662. package/dist/components/CommonInputWrapper/CommonInputWrapper.vue.d.ts +19 -0
  663. package/dist/components/CommonInputWrapper/CommonInputWrapper.vue.js +6 -0
  664. package/dist/components/CommonInputWrapper/CommonInputWrapper.vue_vue_type_script_setup_true_lang.js +107 -0
  665. package/dist/components/CommonInputWrapper/types.d.ts +96 -0
  666. package/dist/components/CommonPopover/CommonPopover.vue.d.ts +9 -3
  667. package/dist/components/CommonPopover/CommonPopover.vue.js +6 -0
  668. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +160 -0
  669. package/dist/components/CommonPopover/types.d.ts +65 -16
  670. package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +2 -0
  671. package/dist/components/ErrorIcon/ErrorIcon.vue.js +6 -0
  672. package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +16 -0
  673. package/dist/components/FlatListBox/FlatListBox.vue.d.ts +2 -5
  674. package/dist/components/FlatListBox/FlatListBox.vue.js +5 -0
  675. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +167 -0
  676. package/dist/components/FlatListBox/types.d.ts +1 -1
  677. package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +2 -5
  678. package/dist/components/GroupedListBox/GroupedListBox.vue.js +5 -0
  679. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +218 -0
  680. package/dist/components/ListBox/ListBox.vue.d.ts +3 -6
  681. package/dist/components/ListBox/ListBox.vue.js +5 -0
  682. package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +112 -0
  683. package/dist/components/ListBox/types.d.ts +1 -1
  684. package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +1 -0
  685. package/dist/components/OptionsContainer/OptionsContainer.vue.js +5 -0
  686. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +52 -0
  687. package/dist/components/OptionsContainer/types.d.ts +14 -24
  688. package/dist/components/Transitions/ScaleFade.vue.d.ts +2 -2
  689. package/dist/components/Transitions/ScaleFade.vue.js +5 -0
  690. package/dist/components/Transitions/ScaleFade.vue_vue_type_script_setup_true_lang.js +47 -0
  691. package/dist/components/Transitions/Slide.vue.d.ts +15 -0
  692. package/dist/components/Transitions/Slide.vue.js +7 -0
  693. package/dist/components/Transitions/Slide.vue_vue_type_script_setup_true_lang.js +28 -0
  694. package/dist/components/WarningIcon/WarningIcon.vue.d.ts +5 -0
  695. package/dist/components/WarningIcon/WarningIcon.vue.js +6 -0
  696. package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +16 -0
  697. package/dist/components/WarningIcon/types.d.ts +3 -0
  698. package/dist/composables/__testResets.d.ts +1 -0
  699. package/dist/composables/useActiveInactiveState.d.ts +4 -0
  700. package/dist/composables/useActiveInactiveState.js +21 -0
  701. package/dist/composables/useBaseOptions.d.ts +3 -3
  702. package/dist/composables/useBaseOptions.js +31 -0
  703. package/dist/composables/useBbConfig.d.ts +8 -37
  704. package/dist/composables/useBbConfig.js +5 -0
  705. package/dist/composables/useBbDropdownContext.d.ts +89 -0
  706. package/dist/composables/useBbDropdownContext.js +46 -0
  707. package/dist/composables/useBbFormContext.d.ts +90 -0
  708. package/dist/composables/useBbFormContext.js +69 -0
  709. package/dist/composables/useBbTableContext.d.ts +195 -0
  710. package/dist/composables/useBbTableContext.js +208 -0
  711. package/dist/composables/useBbTabsContext.d.ts +111 -0
  712. package/dist/composables/useBbTabsContext.js +225 -0
  713. package/dist/composables/useBreakpoint.d.ts +13 -0
  714. package/dist/composables/useBreakpoint.js +39 -0
  715. package/dist/composables/useBroadcastChannelInstance.d.ts +1 -3
  716. package/dist/composables/useBroadcastChannelInstance.js +39 -0
  717. package/dist/composables/useCancelableFunction.js +37 -0
  718. package/dist/composables/useClosingInert.d.ts +28 -0
  719. package/dist/composables/useClosingInert.js +23 -0
  720. package/dist/composables/useCoherence.js +16 -0
  721. package/dist/composables/useConfirm.d.ts +278 -68
  722. package/dist/composables/useConfirm.js +130 -0
  723. package/dist/composables/useCountdown.js +42 -0
  724. package/dist/composables/useHashedWatcher.d.ts +17 -0
  725. package/dist/composables/useHashedWatcher.js +14 -0
  726. package/dist/composables/useId.d.ts +3 -2
  727. package/dist/composables/useIndexById.js +16 -0
  728. package/dist/composables/useInertiaPage.d.ts +10 -0
  729. package/dist/composables/useInertiaPage.js +8 -0
  730. package/dist/composables/useItemText.js +17 -0
  731. package/dist/composables/useItemValue.js +9 -0
  732. package/dist/composables/useItemsGetter.d.ts +1 -1
  733. package/dist/composables/useItemsGetter.js +30 -0
  734. package/dist/composables/useListboxFocus.js +66 -0
  735. package/dist/composables/useLocale.d.ts +1 -1
  736. package/dist/composables/useLocale.js +11 -0
  737. package/dist/composables/useLogger.d.ts +1 -1
  738. package/dist/composables/useLogger.js +10 -0
  739. package/dist/composables/useMinimalQueue.d.ts +1 -1
  740. package/dist/composables/useMobile.js +7 -0
  741. package/dist/composables/useOnFalsy.d.ts +2 -0
  742. package/dist/composables/useOnFalsy.js +9 -0
  743. package/dist/composables/useOnTruthy.d.ts +7 -0
  744. package/dist/composables/useOnTruthy.js +9 -0
  745. package/dist/composables/usePrefill.d.ts +2 -1
  746. package/dist/composables/usePrefill.js +24 -0
  747. package/dist/composables/useQuery.d.ts +15 -3
  748. package/dist/composables/useQuery.js +42 -0
  749. package/dist/composables/useRoute.js +11 -0
  750. package/dist/composables/useRouter.js +8 -0
  751. package/dist/composables/useSafeArea.d.ts +51 -0
  752. package/dist/composables/useSafeArea.js +16 -0
  753. package/dist/composables/useSegmentedFields.d.ts +104 -0
  754. package/dist/composables/useSegmentedFields.js +159 -0
  755. package/dist/composables/useTableWidthContext.d.ts +5 -0
  756. package/dist/composables/useTableWidthContext.js +42 -0
  757. package/dist/composables/useToast.d.ts +40 -70
  758. package/dist/composables/useToast.js +58 -0
  759. package/dist/composables/useTopLayer.d.ts +9 -0
  760. package/dist/composables/useTopLayer.js +7 -0
  761. package/dist/composables/useUntil.js +13 -0
  762. package/dist/composables/useViewportWidth.d.ts +17 -0
  763. package/dist/composables/useViewportWidth.js +6 -0
  764. package/dist/confirm-variants.d.ts +17 -0
  765. package/dist/deprecation/ai-deprecations.json.d.ts +784 -0
  766. package/dist/deprecation/ai-deprecations.json.js +4 -0
  767. package/dist/deprecation/removedProps.d.ts +3 -0
  768. package/dist/deprecation/removedProps.js +13 -0
  769. package/dist/directives/bbColor.d.ts +65 -0
  770. package/dist/directives/bbColor.js +24 -0
  771. package/dist/directives/bbDate.d.ts +66 -0
  772. package/dist/directives/bbDate.js +24 -0
  773. package/dist/directives/bbDropdown.d.ts +15 -11
  774. package/dist/directives/bbDropdown.js +23 -0
  775. package/dist/directives/bbTime.d.ts +64 -0
  776. package/dist/directives/bbTime.js +24 -0
  777. package/dist/directives/bbTooltip.d.ts +16 -11
  778. package/dist/directives/bbTooltip.js +24 -0
  779. package/dist/directives/createPopoverDirective.js +54 -0
  780. package/dist/dropdown-item-variants.d.ts +17 -0
  781. package/dist/i18n/index.d.ts +51 -3
  782. package/dist/i18n/index.js +27 -0
  783. package/dist/i18n/locales/cs.json +115 -0
  784. package/dist/i18n/locales/da.json +115 -0
  785. package/dist/i18n/locales/de.json +115 -0
  786. package/dist/i18n/locales/el.json +115 -0
  787. package/dist/i18n/locales/en.json +115 -0
  788. package/dist/i18n/locales/es.json +115 -0
  789. package/dist/i18n/locales/fi.json +115 -0
  790. package/dist/i18n/locales/fr.json +115 -0
  791. package/dist/i18n/locales/hu.json +115 -0
  792. package/dist/i18n/locales/it.json +115 -0
  793. package/dist/i18n/locales/ja.json +115 -0
  794. package/dist/i18n/locales/ko.json +115 -0
  795. package/dist/i18n/locales/nb.json +115 -0
  796. package/dist/i18n/locales/nl.json +115 -0
  797. package/dist/i18n/locales/pl.json +115 -0
  798. package/dist/i18n/locales/pt.json +115 -0
  799. package/dist/i18n/locales/ro.json +115 -0
  800. package/dist/i18n/locales/ru.json +115 -0
  801. package/dist/i18n/locales/sv.json +115 -0
  802. package/dist/i18n/locales/tr.json +115 -0
  803. package/dist/i18n/locales/uk.json +115 -0
  804. package/dist/i18n/locales/zh-cn.json +115 -0
  805. package/dist/icons-whitelist.d.ts +8 -0
  806. package/dist/index.d.ts +96 -79
  807. package/dist/index.js +76 -82
  808. package/dist/indicator-variants.d.ts +20 -0
  809. package/dist/llms-full.txt +79703 -0
  810. package/dist/llms-medium.txt +1514 -0
  811. package/dist/llms.txt +105 -0
  812. package/dist/locale-blueprint.json +141 -0
  813. package/dist/locale-registry.d.ts +37 -0
  814. package/dist/nuxt-module.d.ts +3 -0
  815. package/dist/nuxt.js +19 -0
  816. package/dist/plugin.d.ts +4 -0
  817. package/dist/plugin.js +22 -0
  818. package/dist/reset.css +1 -0
  819. package/dist/reset.d.ts +0 -0
  820. package/dist/runtime/nuxt-plugin.d.ts +2 -0
  821. package/dist/runtime/nuxt-plugin.js +24 -0
  822. package/dist/styles.css +2 -0
  823. package/dist/styles.d.ts +0 -0
  824. package/dist/toast-variants.d.ts +20 -0
  825. package/dist/tooltip-variants.d.ts +17 -0
  826. package/dist/types/ActionButton.d.ts +32 -0
  827. package/dist/types/AlertVariant.d.ts +16 -0
  828. package/dist/types/BadgeVariant.d.ts +16 -0
  829. package/dist/types/ButtonVariant.d.ts +17 -0
  830. package/dist/types/Classes.d.ts +1 -1
  831. package/dist/types/ColumnName.d.ts +1 -1
  832. package/dist/types/CommonProps.d.ts +68 -277
  833. package/dist/types/Config.d.ts +84 -0
  834. package/dist/types/ConfirmVariant.d.ts +15 -0
  835. package/dist/types/DropdownItemVariant.d.ts +18 -0
  836. package/dist/types/Icon.d.ts +5 -7
  837. package/dist/types/IndicatorVariant.d.ts +16 -0
  838. package/dist/types/InputDirection.d.ts +15 -0
  839. package/dist/types/ItemAccessor.d.ts +21 -0
  840. package/dist/types/Placement.d.ts +6 -0
  841. package/dist/types/ResponsiveSize.d.ts +20 -0
  842. package/dist/types/SizeScale.d.ts +8 -0
  843. package/dist/types/ToastVariant.d.ts +17 -0
  844. package/dist/types/TooltipVariant.d.ts +18 -0
  845. package/dist/utilities/functions/bytesToUnit.d.ts +2 -0
  846. package/dist/utilities/functions/bytesToUnit.js +18 -0
  847. package/dist/utilities/functions/clampPrecision.js +10 -0
  848. package/dist/utilities/functions/convertDateValue.d.ts +23 -10
  849. package/dist/utilities/functions/convertDateValue.js +12 -0
  850. package/dist/utilities/functions/deburr.js +5 -0
  851. package/dist/utilities/functions/empty.js +5 -0
  852. package/dist/utilities/functions/flattenTree.d.ts +1 -1
  853. package/dist/utilities/functions/hash.js +5 -0
  854. package/dist/utilities/functions/isDateDisabled.d.ts +1 -0
  855. package/dist/utilities/functions/isDateDisabled.js +20 -0
  856. package/dist/utilities/functions/isEqual.js +5 -0
  857. package/dist/utilities/functions/isNotEmpty.js +5 -0
  858. package/dist/utilities/functions/matchAnyKey.d.ts +1 -1
  859. package/dist/utilities/functions/matchAnyKey.js +15 -0
  860. package/dist/utilities/functions/parseSize.d.ts +1 -1
  861. package/dist/utilities/functions/parseSize.js +15 -0
  862. package/dist/utilities/functions/percentage.js +11 -0
  863. package/dist/utilities/functions/pipe.d.ts +1 -1
  864. package/dist/utilities/functions/reject.d.ts +25 -0
  865. package/dist/utilities/functions/reject.js +28 -0
  866. package/dist/utilities/functions/resolveEnumProp.d.ts +19 -0
  867. package/dist/utilities/functions/resolveEnumProp.js +5 -0
  868. package/dist/utilities/functions/slotKey.d.ts +13 -0
  869. package/dist/utilities/functions/slotKey.js +4 -0
  870. package/dist/utilities/functions/sort.d.ts +2 -2
  871. package/dist/utilities/functions/sort.js +19 -0
  872. package/dist/utilities/functions/throttle.js +5 -0
  873. package/dist/utilities/functions/waitFor.d.ts +9 -2
  874. package/dist/utilities/functions/waitFor.js +14 -0
  875. package/dist/utilities/functions/warnRemovedAttrs.d.ts +11 -0
  876. package/dist/utilities/functions/warnRemovedAttrs.js +20 -0
  877. package/dist/utilities/functions/when.js +5 -0
  878. package/dist/utilities/misc/iconsInjectionKey.d.ts +15 -0
  879. package/dist/utilities/misc/iconsInjectionKey.js +4 -0
  880. package/dist/utilities/misc/transitions.d.ts +5 -0
  881. package/dist/utilities/misc/transitions.js +8 -0
  882. package/dist/utils/injectLibraryStyles.d.ts +6 -0
  883. package/dist/utils/injectLibraryStyles.js +38 -0
  884. package/dist/validated/BbCheckbox.vue.d.ts +29 -0
  885. package/dist/validated/BbCheckbox.vue.js +5 -0
  886. package/dist/validated/BbCheckbox.vue_vue_type_script_setup_true_lang.js +75 -0
  887. package/dist/validated/BbCheckboxGroup.vue.d.ts +34 -0
  888. package/dist/validated/BbCheckboxGroup.vue.js +5 -0
  889. package/dist/validated/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +82 -0
  890. package/dist/validated/BbColorInput.vue.d.ts +36 -0
  891. package/dist/validated/BbColorInput.vue.js +5 -0
  892. package/dist/validated/BbColorInput.vue_vue_type_script_setup_true_lang.js +71 -0
  893. package/dist/validated/BbDatePickerInput.vue.d.ts +41 -0
  894. package/dist/validated/BbDatePickerInput.vue.js +5 -0
  895. package/dist/validated/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +90 -0
  896. package/dist/validated/BbDropzone.vue.d.ts +24 -0
  897. package/dist/validated/BbDropzone.vue.js +5 -0
  898. package/dist/validated/BbDropzone.vue_vue_type_script_setup_true_lang.js +45 -0
  899. package/dist/validated/BbForm.vue.d.ts +28 -0
  900. package/dist/validated/BbForm.vue.js +5 -0
  901. package/dist/validated/BbForm.vue_vue_type_script_setup_true_lang.js +42 -0
  902. package/dist/validated/BbNumberInput.vue.d.ts +36 -0
  903. package/dist/validated/BbNumberInput.vue.js +5 -0
  904. package/dist/validated/BbNumberInput.vue_vue_type_script_setup_true_lang.js +72 -0
  905. package/dist/validated/BbRadioGroup.vue.d.ts +34 -0
  906. package/dist/validated/BbRadioGroup.vue.js +5 -0
  907. package/dist/validated/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +78 -0
  908. package/dist/validated/BbRating.vue.d.ts +30 -0
  909. package/dist/validated/BbRating.vue.js +5 -0
  910. package/dist/validated/BbRating.vue_vue_type_script_setup_true_lang.js +63 -0
  911. package/dist/validated/BbSelect.vue.d.ts +46 -0
  912. package/dist/validated/BbSelect.vue.js +5 -0
  913. package/dist/validated/BbSelect.vue_vue_type_script_setup_true_lang.js +109 -0
  914. package/dist/validated/BbSlider.vue.d.ts +36 -0
  915. package/dist/validated/BbSlider.vue.js +5 -0
  916. package/dist/validated/BbSlider.vue_vue_type_script_setup_true_lang.js +69 -0
  917. package/dist/validated/BbSwitch.vue.d.ts +29 -0
  918. package/dist/validated/BbSwitch.vue.js +5 -0
  919. package/dist/validated/BbSwitch.vue_vue_type_script_setup_true_lang.js +75 -0
  920. package/dist/validated/BbSwitchGroup.vue.d.ts +34 -0
  921. package/dist/validated/BbSwitchGroup.vue.js +5 -0
  922. package/dist/validated/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +82 -0
  923. package/dist/validated/BbTag.vue.d.ts +36 -0
  924. package/dist/validated/BbTag.vue.js +5 -0
  925. package/dist/validated/BbTag.vue_vue_type_script_setup_true_lang.js +72 -0
  926. package/dist/validated/BbTextInput.vue.d.ts +36 -0
  927. package/dist/validated/BbTextInput.vue.js +5 -0
  928. package/dist/validated/BbTextInput.vue_vue_type_script_setup_true_lang.js +72 -0
  929. package/dist/validated/BbTextarea.vue.d.ts +36 -0
  930. package/dist/validated/BbTextarea.vue.js +5 -0
  931. package/dist/validated/BbTextarea.vue_vue_type_script_setup_true_lang.js +70 -0
  932. package/dist/validated/BbTimePickerInput.vue.d.ts +37 -0
  933. package/dist/validated/BbTimePickerInput.vue.js +5 -0
  934. package/dist/validated/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +81 -0
  935. package/dist/validated/index.d.ts +29 -0
  936. package/dist/validated/useValidatedField.d.ts +93 -0
  937. package/dist/validated/useValidatedField.js +51 -0
  938. package/dist/validated.js +21 -0
  939. package/dist/vite-plugin.d.ts +261 -0
  940. package/dist/vite.js +603 -0
  941. package/llms.txt +107 -0
  942. package/package.json +181 -60
  943. package/scripts/lib/__fixtures__/validated-manifest.json +65 -0
  944. package/scripts/lib/ensure-manifest.mjs +39 -0
  945. package/scripts/lib/eslint-plugin-autofix.node.test.mjs +109 -0
  946. package/scripts/lib/eslint-plugin-recommended.node.test.mjs +87 -0
  947. package/scripts/lib/eslint-plugin-slots.node.test.mjs +271 -0
  948. package/scripts/lib/eslint-plugin.mjs +702 -0
  949. package/scripts/lib/eslint-plugin.node.test.mjs +193 -0
  950. package/scripts/lib/html-attributes.mjs +191 -0
  951. package/scripts/lib/mcp-config.mjs +126 -0
  952. package/scripts/lib/migrate-fix.mjs +115 -0
  953. package/scripts/lib/validate-bb-markup.mjs +488 -0
  954. package/dist/ai/BaseButton.md +0 -449
  955. package/dist/ai/BaseCheckbox.md +0 -512
  956. package/dist/ai/BaseCheckboxGroup.md +0 -597
  957. package/dist/ai/BaseColorInput.md +0 -461
  958. package/dist/ai/BaseDatePicker.md +0 -739
  959. package/dist/ai/BaseDatePickerInput.md +0 -1517
  960. package/dist/ai/BaseDialog.md +0 -610
  961. package/dist/ai/BaseInputContainer.md +0 -570
  962. package/dist/ai/BaseNumberInput.md +0 -509
  963. package/dist/ai/BaseRadio.md +0 -405
  964. package/dist/ai/BaseRadioGroup.md +0 -535
  965. package/dist/ai/BaseRating.md +0 -489
  966. package/dist/ai/BaseSelect.md +0 -1742
  967. package/dist/ai/BaseSlider.md +0 -871
  968. package/dist/ai/BaseSwitch.md +0 -322
  969. package/dist/ai/BaseSwitchGroup.md +0 -298
  970. package/dist/ai/BaseTag.md +0 -623
  971. package/dist/ai/BaseTextInput.md +0 -392
  972. package/dist/ai/BaseTextarea.md +0 -398
  973. package/dist/ai/BbChip.md +0 -147
  974. package/dist/ai/BbIntersection.md +0 -120
  975. package/dist/ai/BbRatio.md +0 -61
  976. package/dist/ai/BbRows.md +0 -307
  977. package/dist/ai/BbTab.md +0 -950
  978. package/dist/ai/CommonInputInnerContainer.md +0 -414
  979. package/dist/ai/CommonInputOuterContainer.md +0 -55
  980. package/dist/components/BaseButton/BaseButton.vue.d.ts +0 -14
  981. package/dist/components/BaseButton/types.d.ts +0 -159
  982. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +0 -39
  983. package/dist/components/BaseCheckbox/types.d.ts +0 -213
  984. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +0 -30
  985. package/dist/components/BaseCheckboxGroup/types.d.ts +0 -282
  986. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +0 -35
  987. package/dist/components/BaseColorInput/ColorPalette.vue.d.ts +0 -13
  988. package/dist/components/BaseColorInput/types.d.ts +0 -233
  989. package/dist/components/BaseDatePicker/BaseDatePickerHeader.vue.d.ts +0 -15
  990. package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +0 -58
  991. package/dist/components/BaseDatePicker/BaseDatePickerMonthSelector.vue.d.ts +0 -12
  992. package/dist/components/BaseDatePicker/BaseDatePickerYearSelector.vue.d.ts +0 -12
  993. package/dist/components/BaseDatePicker/types.d.ts +0 -100
  994. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +0 -26
  995. package/dist/components/BaseDatePickerInput/types.d.ts +0 -206
  996. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +0 -37
  997. package/dist/components/BaseDialog/types.d.ts +0 -180
  998. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +0 -18
  999. package/dist/components/BaseInputContainer/types.d.ts +0 -126
  1000. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +0 -46
  1001. package/dist/components/BaseNumberInput/types.d.ts +0 -191
  1002. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +0 -31
  1003. package/dist/components/BaseRadio/types.d.ts +0 -173
  1004. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +0 -30
  1005. package/dist/components/BaseRadioGroup/types.d.ts +0 -240
  1006. package/dist/components/BaseRating/BaseRating.vue.d.ts +0 -35
  1007. package/dist/components/BaseRating/types.d.ts +0 -144
  1008. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +0 -28
  1009. package/dist/components/BaseSelect/types.d.ts +0 -470
  1010. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +0 -38
  1011. package/dist/components/BaseSlider/types.d.ts +0 -201
  1012. package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +0 -34
  1013. package/dist/components/BaseSwitch/types.d.ts +0 -25
  1014. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +0 -30
  1015. package/dist/components/BaseSwitchGroup/types.d.ts +0 -8
  1016. package/dist/components/BaseTag/BaseTag.vue.d.ts +0 -37
  1017. package/dist/components/BaseTag/types.d.ts +0 -136
  1018. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +0 -33
  1019. package/dist/components/BaseTextInput/types.d.ts +0 -166
  1020. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +0 -31
  1021. package/dist/components/BaseTextarea/types.d.ts +0 -151
  1022. package/dist/components/BbChip/BbChip.vue.d.ts +0 -17
  1023. package/dist/components/BbChip/types.d.ts +0 -23
  1024. package/dist/components/BbIntersection/BbIntersection.vue.d.ts +0 -23
  1025. package/dist/components/BbIntersection/types.d.ts +0 -36
  1026. package/dist/components/BbRatio/BbRatio.vue.d.ts +0 -14
  1027. package/dist/components/BbRatio/types.d.ts +0 -15
  1028. package/dist/components/BbRows/BbRows.vue.d.ts +0 -62
  1029. package/dist/components/BbRows/types.d.ts +0 -21
  1030. package/dist/components/BbTab/BbTab.vue.d.ts +0 -27
  1031. package/dist/components/BbTab/types.d.ts +0 -186
  1032. package/dist/components/CommonInputInnerContainer/CommonInputInnerContainer.vue.d.ts +0 -15
  1033. package/dist/components/CommonInputInnerContainer/types.d.ts +0 -47
  1034. package/dist/components/CommonInputOuterContainer/CommonInputOuterContainer.vue.d.ts +0 -11
  1035. package/dist/components/CommonInputOuterContainer/types.d.ts +0 -16
  1036. package/dist/composables/useModalsState.d.ts +0 -5
  1037. package/dist/composables/useQueue.d.ts +0 -58
  1038. package/dist/composables/useWizard.d.ts +0 -85
  1039. package/dist/i18n/en.d.ts +0 -67
  1040. package/dist/i18n/it.d.ts +0 -67
  1041. package/dist/index.css +0 -2
  1042. package/dist/index100.js +0 -6
  1043. package/dist/index101.js +0 -300
  1044. package/dist/index102.js +0 -16
  1045. package/dist/index103.js +0 -16
  1046. package/dist/index104.js +0 -27
  1047. package/dist/index109.js +0 -19
  1048. package/dist/index11.js +0 -42
  1049. package/dist/index110.js +0 -12
  1050. package/dist/index111.js +0 -19
  1051. package/dist/index112.js +0 -25
  1052. package/dist/index114.js +0 -7
  1053. package/dist/index115.js +0 -241
  1054. package/dist/index116.js +0 -5
  1055. package/dist/index117.js +0 -42
  1056. package/dist/index118.js +0 -5
  1057. package/dist/index119.js +0 -53
  1058. package/dist/index120.js +0 -5
  1059. package/dist/index121.js +0 -32
  1060. package/dist/index122.js +0 -5
  1061. package/dist/index124.js +0 -52
  1062. package/dist/index125.js +0 -5
  1063. package/dist/index126.js +0 -223
  1064. package/dist/index128.js +0 -6
  1065. package/dist/index129.js +0 -162
  1066. package/dist/index13.js +0 -92
  1067. package/dist/index130.js +0 -25
  1068. package/dist/index131.js +0 -51
  1069. package/dist/index132.js +0 -5
  1070. package/dist/index133.js +0 -607
  1071. package/dist/index135.js +0 -6
  1072. package/dist/index136.js +0 -14
  1073. package/dist/index137.js +0 -153
  1074. package/dist/index139.js +0 -6
  1075. package/dist/index14.js +0 -306
  1076. package/dist/index140.js +0 -224
  1077. package/dist/index141.js +0 -5
  1078. package/dist/index143.js +0 -128
  1079. package/dist/index145.js +0 -6
  1080. package/dist/index146.js +0 -8
  1081. package/dist/index147.js +0 -182
  1082. package/dist/index149.js +0 -6
  1083. package/dist/index15.js +0 -10
  1084. package/dist/index151.js +0 -4
  1085. package/dist/index152.js +0 -95
  1086. package/dist/index154.js +0 -6
  1087. package/dist/index155.js +0 -168
  1088. package/dist/index157.js +0 -6
  1089. package/dist/index158.js +0 -145
  1090. package/dist/index16.js +0 -59
  1091. package/dist/index160.js +0 -6
  1092. package/dist/index161.js +0 -53
  1093. package/dist/index163.js +0 -6
  1094. package/dist/index164.js +0 -16
  1095. package/dist/index166.js +0 -35
  1096. package/dist/index168.js +0 -6
  1097. package/dist/index169.js +0 -89
  1098. package/dist/index171.js +0 -6
  1099. package/dist/index172.js +0 -82
  1100. package/dist/index174.js +0 -6
  1101. package/dist/index175.js +0 -38
  1102. package/dist/index176.js +0 -461
  1103. package/dist/index177.js +0 -28
  1104. package/dist/index178.js +0 -66
  1105. package/dist/index18.js +0 -35
  1106. package/dist/index180.js +0 -162
  1107. package/dist/index181.js +0 -5
  1108. package/dist/index182.js +0 -217
  1109. package/dist/index183.js +0 -5
  1110. package/dist/index184.js +0 -112
  1111. package/dist/index185.js +0 -5
  1112. package/dist/index186.js +0 -459
  1113. package/dist/index188.js +0 -6
  1114. package/dist/index19.js +0 -4
  1115. package/dist/index192.js +0 -268
  1116. package/dist/index194.js +0 -6
  1117. package/dist/index195.js +0 -124
  1118. package/dist/index197.js +0 -6
  1119. package/dist/index198.js +0 -174
  1120. package/dist/index2.js +0 -20
  1121. package/dist/index20.js +0 -9
  1122. package/dist/index200.js +0 -6
  1123. package/dist/index201.js +0 -224
  1124. package/dist/index203.js +0 -6
  1125. package/dist/index204.js +0 -135
  1126. package/dist/index206.js +0 -6
  1127. package/dist/index207.js +0 -5
  1128. package/dist/index208.js +0 -170
  1129. package/dist/index21.js +0 -35
  1130. package/dist/index210.js +0 -6
  1131. package/dist/index211.js +0 -37
  1132. package/dist/index213.js +0 -6
  1133. package/dist/index214.js +0 -63
  1134. package/dist/index216.js +0 -6
  1135. package/dist/index217.js +0 -74
  1136. package/dist/index219.js +0 -6
  1137. package/dist/index22.js +0 -6
  1138. package/dist/index220.js +0 -65
  1139. package/dist/index222.js +0 -6
  1140. package/dist/index223.js +0 -67
  1141. package/dist/index225.js +0 -6
  1142. package/dist/index226.js +0 -41
  1143. package/dist/index228.js +0 -6
  1144. package/dist/index229.js +0 -10
  1145. package/dist/index23.js +0 -7
  1146. package/dist/index230.js +0 -22
  1147. package/dist/index232.js +0 -8
  1148. package/dist/index233.js +0 -297
  1149. package/dist/index235.js +0 -6
  1150. package/dist/index236.js +0 -47
  1151. package/dist/index237.js +0 -165
  1152. package/dist/index239.js +0 -6
  1153. package/dist/index24.js +0 -9
  1154. package/dist/index241.js +0 -159
  1155. package/dist/index243.js +0 -6
  1156. package/dist/index244.js +0 -134
  1157. package/dist/index246.js +0 -6
  1158. package/dist/index247.js +0 -167
  1159. package/dist/index249.js +0 -6
  1160. package/dist/index25.js +0 -24
  1161. package/dist/index250.js +0 -147
  1162. package/dist/index252.js +0 -6
  1163. package/dist/index253.js +0 -35
  1164. package/dist/index255.js +0 -6
  1165. package/dist/index256.js +0 -65
  1166. package/dist/index258.js +0 -6
  1167. package/dist/index259.js +0 -19
  1168. package/dist/index260.js +0 -5
  1169. package/dist/index261.js +0 -160
  1170. package/dist/index263.js +0 -6
  1171. package/dist/index264.js +0 -60
  1172. package/dist/index266.js +0 -6
  1173. package/dist/index267.js +0 -134
  1174. package/dist/index269.js +0 -6
  1175. package/dist/index27.js +0 -4
  1176. package/dist/index271.js +0 -206
  1177. package/dist/index273.js +0 -6
  1178. package/dist/index274.js +0 -85
  1179. package/dist/index275.js +0 -5
  1180. package/dist/index276.js +0 -55
  1181. package/dist/index277.js +0 -5
  1182. package/dist/index278.js +0 -164
  1183. package/dist/index28.js +0 -8
  1184. package/dist/index280.js +0 -6
  1185. package/dist/index281.js +0 -145
  1186. package/dist/index283.js +0 -6
  1187. package/dist/index284.js +0 -11
  1188. package/dist/index285.js +0 -200
  1189. package/dist/index287.js +0 -6
  1190. package/dist/index288.js +0 -241
  1191. package/dist/index29.js +0 -7
  1192. package/dist/index290.js +0 -6
  1193. package/dist/index291.js +0 -21
  1194. package/dist/index293.js +0 -6
  1195. package/dist/index294.js +0 -125
  1196. package/dist/index296.js +0 -6
  1197. package/dist/index297.js +0 -161
  1198. package/dist/index299.js +0 -6
  1199. package/dist/index30.js +0 -118
  1200. package/dist/index300.js +0 -127
  1201. package/dist/index302.js +0 -6
  1202. package/dist/index303.js +0 -20
  1203. package/dist/index305.js +0 -6
  1204. package/dist/index306.js +0 -116
  1205. package/dist/index307.js +0 -5
  1206. package/dist/index308.js +0 -507
  1207. package/dist/index31.js +0 -10
  1208. package/dist/index310.js +0 -6
  1209. package/dist/index311.js +0 -196
  1210. package/dist/index313.js +0 -6
  1211. package/dist/index314.js +0 -142
  1212. package/dist/index316.js +0 -6
  1213. package/dist/index317.js +0 -134
  1214. package/dist/index319.js +0 -6
  1215. package/dist/index32.js +0 -28
  1216. package/dist/index320.js +0 -162
  1217. package/dist/index322.js +0 -6
  1218. package/dist/index323.js +0 -319
  1219. package/dist/index325.js +0 -6
  1220. package/dist/index326.js +0 -40
  1221. package/dist/index327.js +0 -43
  1222. package/dist/index328.js +0 -665
  1223. package/dist/index33.js +0 -5
  1224. package/dist/index330.js +0 -6
  1225. package/dist/index331.js +0 -155
  1226. package/dist/index333.js +0 -6
  1227. package/dist/index334.js +0 -142
  1228. package/dist/index336.js +0 -6
  1229. package/dist/index337.js +0 -155
  1230. package/dist/index339.js +0 -6
  1231. package/dist/index34.js +0 -112
  1232. package/dist/index340.js +0 -58
  1233. package/dist/index341.js +0 -5
  1234. package/dist/index342.js +0 -20
  1235. package/dist/index344.js +0 -6
  1236. package/dist/index345.js +0 -142
  1237. package/dist/index347.js +0 -6
  1238. package/dist/index349.js +0 -109
  1239. package/dist/index351.js +0 -6
  1240. package/dist/index352.js +0 -55
  1241. package/dist/index353.js +0 -24
  1242. package/dist/index354.js +0 -23
  1243. package/dist/index355.js +0 -839
  1244. package/dist/index356.js +0 -474
  1245. package/dist/index357.js +0 -52
  1246. package/dist/index358.js +0 -7
  1247. package/dist/index36.js +0 -6
  1248. package/dist/index38.js +0 -63
  1249. package/dist/index39.js +0 -63
  1250. package/dist/index40.js +0 -9
  1251. package/dist/index42.js +0 -8
  1252. package/dist/index43.js +0 -179
  1253. package/dist/index44.js +0 -21
  1254. package/dist/index46.js +0 -385
  1255. package/dist/index48.js +0 -6
  1256. package/dist/index49.js +0 -33
  1257. package/dist/index5.js +0 -34
  1258. package/dist/index50.js +0 -12
  1259. package/dist/index51.js +0 -8
  1260. package/dist/index52.js +0 -106
  1261. package/dist/index53.js +0 -330
  1262. package/dist/index54.js +0 -97
  1263. package/dist/index55.js +0 -328
  1264. package/dist/index56.js +0 -28
  1265. package/dist/index57.js +0 -102
  1266. package/dist/index58.js +0 -157
  1267. package/dist/index6.js +0 -38
  1268. package/dist/index60.js +0 -6
  1269. package/dist/index61.js +0 -131
  1270. package/dist/index62.js +0 -5
  1271. package/dist/index65.js +0 -35
  1272. package/dist/index66.js +0 -26
  1273. package/dist/index68.js +0 -6
  1274. package/dist/index69.js +0 -54
  1275. package/dist/index7.js +0 -58
  1276. package/dist/index71.js +0 -6
  1277. package/dist/index72.js +0 -14
  1278. package/dist/index74.js +0 -6
  1279. package/dist/index75.js +0 -159
  1280. package/dist/index77.js +0 -6
  1281. package/dist/index78.js +0 -4
  1282. package/dist/index79.js +0 -4
  1283. package/dist/index80.js +0 -54
  1284. package/dist/index81.js +0 -5
  1285. package/dist/index82.js +0 -5
  1286. package/dist/index83.js +0 -141
  1287. package/dist/index85.js +0 -6
  1288. package/dist/index86.js +0 -65
  1289. package/dist/index88.js +0 -6
  1290. package/dist/index89.js +0 -30
  1291. package/dist/index9.js +0 -11
  1292. package/dist/index90.js +0 -19
  1293. package/dist/index91.js +0 -17
  1294. package/dist/index92.js +0 -9
  1295. package/dist/index93.js +0 -34
  1296. package/dist/index95.js +0 -16
  1297. package/dist/index96.js +0 -10
  1298. package/dist/index97.js +0 -18
  1299. package/dist/index98.js +0 -189
  1300. package/dist/types/VoidHtmlElements.d.ts +0 -1
  1301. package/dist/utilities/functions/add.d.ts +0 -1
  1302. package/dist/utilities/functions/booleanishToBoolean.d.ts +0 -6
  1303. package/dist/utilities/functions/capitalize.d.ts +0 -4
  1304. package/dist/utilities/functions/cloneDeep.d.ts +0 -1
  1305. package/dist/utilities/functions/debounce.d.ts +0 -1
  1306. package/dist/utilities/functions/drop.d.ts +0 -1
  1307. package/dist/utilities/functions/exceedsPrecision.d.ts +0 -1
  1308. package/dist/utilities/functions/findRight.d.ts +0 -4
  1309. package/dist/utilities/functions/findRightIndex.d.ts +0 -4
  1310. package/dist/utilities/functions/flow.d.ts +0 -1
  1311. package/dist/utilities/functions/getHueFromRGB.d.ts +0 -9
  1312. package/dist/utilities/functions/groupBy.d.ts +0 -6
  1313. package/dist/utilities/functions/gt.d.ts +0 -7
  1314. package/dist/utilities/functions/hexToRGB.d.ts +0 -7
  1315. package/dist/utilities/functions/hslToHex.d.ts +0 -1
  1316. package/dist/utilities/functions/includes.d.ts +0 -1
  1317. package/dist/utilities/functions/initial.d.ts +0 -1
  1318. package/dist/utilities/functions/isCssColor.d.ts +0 -5
  1319. package/dist/utilities/functions/lt.d.ts +0 -7
  1320. package/dist/utilities/functions/makeUrl.d.ts +0 -1
  1321. package/dist/utilities/functions/mapKeys.d.ts +0 -5
  1322. package/dist/utilities/functions/mapValues.d.ts +0 -1
  1323. package/dist/utilities/functions/matchesPropertyInsensitive.d.ts +0 -1
  1324. package/dist/utilities/functions/max.d.ts +0 -2
  1325. package/dist/utilities/functions/mean.d.ts +0 -4
  1326. package/dist/utilities/functions/merge.d.ts +0 -11
  1327. package/dist/utilities/functions/millisecondsTo.d.ts +0 -1
  1328. package/dist/utilities/functions/negate.d.ts +0 -4
  1329. package/dist/utilities/functions/normalizeItemGroups.d.ts +0 -13
  1330. package/dist/utilities/functions/omit.d.ts +0 -2
  1331. package/dist/utilities/functions/overEvery.d.ts +0 -4
  1332. package/dist/utilities/functions/pick.d.ts +0 -1
  1333. package/dist/utilities/functions/replace.d.ts +0 -1
  1334. package/dist/utilities/functions/replaceInTree.d.ts +0 -4
  1335. package/dist/utilities/functions/retry.d.ts +0 -5
  1336. package/dist/utilities/functions/roundToTheNearest.d.ts +0 -8
  1337. package/dist/utilities/functions/set.d.ts +0 -15
  1338. package/dist/utilities/functions/stub.d.ts +0 -6
  1339. package/dist/utilities/functions/transposePercent.d.ts +0 -9
  1340. package/dist/utilities/functions/tryTo.d.ts +0 -2
  1341. package/dist/utilities/functions/uniqBy.d.ts +0 -1
  1342. /package/dist/{index64.js → _virtual/_plugin-vue_export-helper.js} +0 -0
  1343. /package/dist/components/{BaseButton → BbBaseButton}/RouterComponent.vue.d.ts +0 -0
  1344. /package/dist/components/{BaseDatePicker/BaseDatePicker.vue.d.ts → BbBaseDatePicker/BbBaseDatePicker.vue.d.ts} +0 -0
  1345. /package/dist/{index165.js → composables/useArray.js} +0 -0
  1346. /package/dist/{index17.js → composables/useFrameworkDetection.js} +0 -0
  1347. /package/dist/{index12.js → composables/useId.js} +0 -0
  1348. /package/dist/{index107.js → utilities/functions/chunk.js} +0 -0
  1349. /package/dist/{index8.js → utilities/functions/clamp.js} +0 -0
  1350. /package/dist/{index150.js → utilities/functions/curry.js} +0 -0
  1351. /package/dist/{index45.js → utilities/functions/extractDomContainer.js} +0 -0
  1352. /package/dist/{index270.js → utilities/functions/findInTree.js} +0 -0
  1353. /package/dist/{index348.js → utilities/functions/flattenTree.js} +0 -0
  1354. /package/dist/{index41.js → utilities/functions/get.js} +0 -0
  1355. /package/dist/{index189.js → utilities/functions/head.js} +0 -0
  1356. /package/dist/{index108.js → utilities/functions/identity.js} +0 -0
  1357. /package/dist/{index179.js → utilities/functions/indexBy.js} +0 -0
  1358. /package/dist/{index37.js → utilities/functions/isHex.js} +0 -0
  1359. /package/dist/{index94.js → utilities/functions/isNil.js} +0 -0
  1360. /package/dist/{index26.js → utilities/functions/isNotNil.js} +0 -0
  1361. /package/dist/{index105.js → utilities/functions/last.js} +0 -0
  1362. /package/dist/{index142.js → utilities/functions/noop.js} +0 -0
  1363. /package/dist/{index231.js → utilities/functions/parseWidthString.js} +0 -0
  1364. /package/dist/{index240.js → utilities/functions/pickBy.js} +0 -0
  1365. /package/dist/{index123.js → utilities/functions/range.js} +0 -0
  1366. /package/dist/{index190.js → utilities/functions/snapToStep.js} +0 -0
  1367. /package/dist/{index191.js → utilities/functions/transpose.js} +0 -0
  1368. /package/dist/{index106.js → utilities/functions/validateDateFormat.js} +0 -0
  1369. /package/dist/{index10.js → utilities/functions/wait.js} +0 -0
@@ -1,685 +1,890 @@
1
1
  # BbButton
2
2
 
3
- ## Template & Script
3
+ ## Agent Contract
4
+
5
+ - Safety level: **Consumer API**
6
+ - Group: **Inputs**
7
+ - Description: Button with loading state, tooltip, and icon support.
8
+ - Usage rule: Prefer this component for consumer-facing implementations.
9
+ - Implementation source (only when the contract below is not enough): [source/BbButton.md](./source/BbButton.md)
10
+
11
+ ## Usage & Guidelines
12
+
13
+ ### When to use
14
+
15
+ Reach for `BbButton` for any action the user _performs_ (submit, save, delete,
16
+ toggle) and for any navigation that must look like a button — including
17
+ `variant="link"`, which recolors a button rather than turning it into text.
18
+ Decision rules:
19
+
20
+ - One action, nothing else → `BbButton`.
21
+ - One dominant action plus close alternates (_Save / Save as draft_) →
22
+ `BbDropdownButton`.
23
+ - A menu with no dominant action (overflow "…", account menu) → `BbDropdown`.
24
+ - A completely unstyled clickable/navigable element → `BbBaseButton` (same
25
+ navigation surface, zero chrome).
26
+
27
+ `BbButton` is a thin wrapper over `BbBaseButton` — variant/size/loading/toggle
28
+ chrome on top of the base's element-resolution and **navigation** engine. That
29
+ navigation surface (`href`, `to`, Inertia visits, active classes — see below)
30
+ lives on `BbBaseButton`, so **every** control built on it navigates the same
31
+ way: `BbButton`, `BbDropdownButton`, dropdown/breadcrumb/tab items, and
32
+ `BbBaseButton` itself. Whenever a click should end in navigation, hand it to one
33
+ of these via `href`/`to` rather than an `@click` handler — the rule below is
34
+ library-wide, not `BbButton`-specific.
35
+
36
+ ### Choosing a variant
37
+
38
+ Start with the built-in ladder: `primary`, `secondary`, `outline`, `ghost`,
39
+ `destructive`, and `link`. Use exactly one `variant="primary"` per view region;
40
+ everything else is `secondary`, `outline` or `ghost`. Reserve `destructive` for
41
+ irreversible actions (and gate them behind `useConfirm`). `link` is navigation
42
+ disguised as text — pair it with `href`/`to`, not with heavy actions.
43
+ `variant="none"` renders structure with no variant styling — an escape hatch,
44
+ avoid it.
45
+
46
+ **`link` changes color, not layout.** It keeps the button box: the size scale's
47
+ height and horizontal padding still apply, so it occupies button space and never
48
+ flows inline. That is right for a standalone navigation control sitting among
49
+ other buttons, and right for a clickable record name in a table cell. It is
50
+ wrong inside a sentence, a paragraph, or anywhere the text must wrap with the
51
+ copy around it — there, the padding and fixed height show. For genuinely inline
52
+ navigation use `BbBaseButton` with your own link class: it renders the same
53
+ `href`/`to` surface with no button chrome at all.
54
+
55
+ **The variant ladder**
4
56
 
5
57
  ```vue
6
- <template>
7
- <BaseButton
8
- :ref="setButtonRef"
9
- v-bind="propsToPass"
10
- :aria-disabled="loading ? true : undefined"
11
- :aria-pressed="isToggle ? isPressed : undefined"
12
- :class="{
13
- 'bb-button': true,
14
- 'bb-button--loading': loading,
15
- 'bb-button--group': props.group,
16
- 'bb-button--icon': !!icon,
17
- 'bb-button--active': isToggle && isPressed,
18
- }"
19
- :disabled="disabled"
20
- :tabindex="loading ? -1 : undefined"
21
- @click="onClick"
22
- >
23
- <BbSpinner class="bb-button__spinner" />
24
- <BbIcon
25
- v-if="props['icon']"
26
- class="bb-button__icon"
27
- :type="props['icon']"
28
- />
29
- <BbIcon
30
- v-else-if="props['prepend:icon']"
31
- class="bb-button__prepend-icon"
32
- :type="props['prepend:icon']"
33
- />
34
- <span class="bb-button__content" :class="{ 'sr-only': !!icon }"
35
- ><slot>{{ text }}</slot></span
36
- >
37
- <span v-if="loading" class="bb-button__loading-label sr-only">{{
38
- t('common.loadingText')
39
- }}</span>
40
-
41
- <BbIcon
42
- v-if="!icon && props['append:icon']"
43
- class="bb-button__append-icon"
44
- :type="props['append:icon']"
45
- />
46
-
47
- <BbTooltipAsync
48
- v-if="tooltip != null || $slots.tooltip"
49
- :activator="buttonDom"
50
- :placement="tooltipPlacement"
51
- :timeout="tooltipTimeout"
52
- >
53
- <slot name="tooltip" :text="tooltip">{{ tooltip }}</slot>
54
- </BbTooltipAsync>
55
- </BaseButton>
56
- </template>
58
+ <div class="flex flex-wrap items-center gap-2">
59
+ <BbButton variant="primary">Save</BbButton>
60
+ <BbButton variant="secondary">Duplicate</BbButton>
61
+ <BbButton variant="outline">Export</BbButton>
62
+ <BbButton variant="ghost">Cancel</BbButton>
63
+ <BbButton variant="destructive">Delete</BbButton>
64
+ <BbButton variant="link" href="#pricing">See pricing</BbButton>
65
+ </div>
66
+ ```
57
67
 
58
- <script setup lang="ts">
59
- import { BaseButton, BbSpinner } from '@/index';
60
- import BbIcon from '../BbIcon/BbIcon.vue';
61
- import { computed, defineAsyncComponent, ref, toRef, useAttrs } from 'vue';
62
- import { pickBy } from '@/utilities/functions/pickBy';
63
- import { noop } from '@/utilities/functions/noop';
64
- import { useLocale } from '@/composables/useLocale';
65
- import { extractDomContainer } from '@/utilities/functions/extractDomContainer';
66
- import { isEqual } from '@/utilities/functions/isEqual';
67
- import type { BbButtonProps, BbButtonSlots } from './types';
68
-
69
- const BbTooltipAsync = defineAsyncComponent(
70
- () => import('../BbTooltip/BbTooltip.vue')
71
- );
72
- type Sizes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
73
-
74
- defineOptions({
75
- inheritAttrs: false,
76
- });
68
+ If your product needs another semantic style, register it in the plugin config
69
+ instead of shipping one-off inline styling — registered names become typed
70
+ values of `variant`:
77
71
 
78
- const props = withDefaults(defineProps<BbButtonProps>(), {
79
- falseValue: false,
80
- size: 'md',
81
- trueValue: true,
82
- });
72
+ ```ts
73
+ // vite.config.ts
74
+ bitbossUi({ buttonVariants: ['upgrade'] });
83
75
 
84
- const modelValue = defineModel<unknown>();
76
+ // nuxt.config.ts
77
+ export default defineNuxtConfig({ bitboss: { buttonVariants: ['upgrade'] } });
78
+ ```
85
79
 
86
- const isToggle = computed(() => modelValue.value !== undefined);
87
- const isPressed = computed(() => isEqual(modelValue.value, props.trueValue));
80
+ The library ships **no CSS for registered variants**: style
81
+ `.bb-button--upgrade` yourself, following the built-in state recipe (neutral
82
+ hover, `aria-pressed` for pressed, `--bb-ring` for focus):
88
83
 
89
- defineSlots<BbButtonSlots>();
84
+ ```css
85
+ .bb-button.bb-button--upgrade {
86
+ background-color: var(--bb-primary);
90
87
 
91
- const { t } = useLocale();
92
- const attrs = useAttrs();
93
- const buttonDom = ref<HTMLElement>();
88
+ &:hover:not(.bb-base-button--disabled) {
89
+ background-color: color-mix(in oklab, var(--bb-primary) 90%, black);
90
+ }
94
91
 
95
- const setButtonRef = (el: unknown) => {
96
- buttonDom.value = extractDomContainer(el) ?? undefined;
97
- };
92
+ &:focus-visible {
93
+ box-shadow: 0 0 0 var(--bb-ring-size) var(--bb-ring);
94
+ }
95
+ }
96
+ ```
98
97
 
99
- const forwardedAttrs = computed(() => {
100
- const { onClick: _, ...rest } = attrs;
101
- return rest;
102
- });
98
+ Never use a variant name that is neither built-in nor registered in the
99
+ project's `vite.config.*` / `nuxt.config.*`. Unsure what's currently legal in
100
+ a given project (built-ins plus whatever it has registered)? Don't guess from
101
+ an example — the plugin regenerates
102
+ `node_modules/bitboss-ui/button-variants.d.ts` on every build; that file
103
+ **is** the closed, machine-readable list of every legal `variant` value for
104
+ that project, registrations included (see
105
+ [Installation and Plugin Setup](./guides/installation-and-plugin-setup.md) §
106
+ variants).
107
+
108
+ ### Label, tag and type
109
+
110
+ **Prefer the default slot for the label** — write `<BbButton>Save</BbButton>`,
111
+ not `:text="'Save'"`. The `text` prop renders identically (`<slot>{{ text }}</slot>`
112
+ under the hood) and exists mainly for `:items`-style loops that spread a config
113
+ object; when both are present the slot wins. Reach for `text` only when a string
114
+ is all you have; otherwise the slot reads cleaner and lets you compose markup.
115
+ `type` defaults to `'button'`, so a `BbButton` inside a form never submits by
116
+ accident; set `type="submit"` for the one that should, and let the form's
117
+ `@submit` handler own the logic:
118
+
119
+ **Submitting a form via type, not @click**
103
120
 
104
- const internalLoading = ref(0);
121
+ ```vue
122
+ <form
123
+ class="flex max-w-sm flex-col gap-3 rounded-[var(--bb-radius)] border p-3"
124
+ @submit.prevent="state.sent = true"
125
+ >
126
+ <div class="flex flex-col gap-0.5">
127
+ <span class="text-sm font-medium">Request workspace access</span>
128
+ <span class="text-xs text-[color:var(--bb-text-muted)]">Acme Studio · billing team</span>
129
+ </div>
130
+ <div class="flex items-center gap-2">
131
+ <BbButton type="submit" variant="primary">Request access</BbButton>
132
+ <span class="text-xs text-[color:var(--bb-text-muted)]">
133
+ {{ state.sent ? 'Request sent — check your email.' : 'Owner will approve by email.' }}
134
+ </span>
135
+ </div>
136
+ </form>
137
+ ```
105
138
 
106
- const loading = computed(
107
- () => props.loading || (!!internalLoading.value && props.autoLoading)
108
- );
139
+ `tag` renders the button as one of `button` (default), `div`, `span` or `label`,
140
+ for the rare case where a native `<button>` is invalid in context (e.g. inside
141
+ another interactive element, or a `<label>` wrapping a hidden file input).
142
+ Non-`button` tags drop the native `type` and
143
+ `disabled` attributes (invalid there); disabled state is then conveyed only by
144
+ the `bb-base-button--disabled` class, so you lose native form/keyboard
145
+ semantics — keep the default unless you must not.
109
146
 
110
- const disabled = computed(() => props.disabled);
147
+ ### Sizes and layout
111
148
 
112
- const onClick = async (event: Event) => {
113
- if (loading.value && !props.enabledWhileLoading) {
114
- // router-link doesn't allow for prevent default but the logic stays
115
- if (props.type === 'submit' || props.href || props.to) {
116
- event.preventDefault();
117
- }
118
- return null;
119
- }
120
- if (isToggle.value) {
121
- const trueVal = props.trueValue;
122
- const falseVal = props.falseValue;
123
- modelValue.value = isEqual(modelValue.value, trueVal) ? falseVal : trueVal;
124
- }
125
- internalLoading.value++;
126
- await ((attrs.onClick ?? noop) as (...args: any[]) => any)(event);
127
- internalLoading.value--;
128
- };
149
+ Six sizes, `xs`–`2xl` (default `md`), derived from the global `--bb-control-h`
150
+ scale — height, padding, font, radius and icon size move together. **Prefer
151
+ `md`**: at 28px it sits one step under the 32px input height and exactly
152
+ matches a `compact` input, so an `md` button aligns flush beside compact
153
+ fields — and being the default, you simply omit the `size` prop. Use
154
+ `sm`/`xs` inside genuinely dense surfaces (table row actions, toolbars,
155
+ bulk-action bars) and `lg`+ only for a rare hero action. `block` stretches
156
+ the button to its container's width (e.g. mobile CTAs, dialog footers).
129
157
 
130
- const baseSize: { default: Sizes } & Partial<Record<Sizes, Sizes>> =
131
- typeof props.size === 'string'
132
- ? { default: props.size }
133
- : { default: 'md', ...props.size };
134
-
135
- const sizeAttributes = Object.entries<Sizes>(baseSize).reduce(
136
- (acc: Record<string, string>, [key, value]) => {
137
- if (key === 'default') {
138
- acc[`data-${value}`] = '';
139
- } else {
140
- acc[`data-${key}:${value}`] = '';
141
- }
142
- return acc;
143
- },
144
- {}
145
- );
146
-
147
- const propsToPass = toRef(() => ({
148
- ...forwardedAttrs.value,
149
- ...sizeAttributes,
150
- ...pickBy(
151
- props,
152
- (_, key) =>
153
- ![
154
- 'append:icon',
155
- 'autoLoading',
156
- 'disabled',
157
- 'enabledWhileLoading',
158
- 'falseValue',
159
- 'group',
160
- 'icon',
161
- 'loading',
162
- 'modelValue',
163
- 'prepend:icon',
164
- 'size',
165
- 'tooltip',
166
- 'tooltipPlacement',
167
- 'trueValue',
168
- ].includes(key)
169
- ),
170
- }));
171
-
172
- /**
173
- * Redefined so current implementation of other components
174
- * which leverage this component can still access the button
175
- * DOM element
176
- */
177
- defineExpose({ $el: buttonDom });
178
- </script>
179
- <style lang="postcss">
180
- @import './index.css';
181
- </style>
158
+ **The size scale**
159
+
160
+ ```vue
161
+ <div class="flex flex-wrap items-center gap-2">
162
+ <BbButton size="xs" variant="outline">xs</BbButton>
163
+ <BbButton size="sm" variant="outline">sm</BbButton>
164
+ <BbButton size="md" variant="outline">md</BbButton>
165
+ <BbButton size="lg" variant="outline">lg</BbButton>
166
+ <BbButton size="xl" variant="outline">xl</BbButton>
167
+ <BbButton size="2xl" variant="outline">2xl</BbButton>
168
+ </div>
182
169
  ```
183
170
 
184
- ## Types
171
+ `size` also accepts a responsive map keyed by breakpoint (`default` plus
172
+ Tailwind's `sm` 640 / `md` 768 / `lg` 1024 / `xl` 1280 / `2xl` 1536). It is
173
+ purely CSS-driven — no runtime breakpoint watching, so it is SSR-safe. Note:
174
+ breakpoint entries switch height, font size and content gap; horizontal
175
+ padding, icon size and radius stay at the `default` entry's values.
185
176
 
186
- ```ts
187
- import type { RouteLocationRaw } from 'vue-router';
188
- import type { Placement } from '@floating-ui/vue';
189
- import type { IconType } from '@/types/Icon';
190
- import type { InertiaLinkProps } from '@inertiajs/vue3';
191
-
192
- type Sizes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
193
-
194
- export type BbButtonProps = {
195
- /**
196
- * Tracks the loading status internally.
197
- */
198
- autoLoading?: boolean;
199
- /**
200
- * Class to apply when the link is active.
201
- */
202
- activeClass?: string;
203
- /**
204
- * Value passed to the attribute `aria-current` when the link is exact active.
205
- *
206
- * @defaultValue `'page'`
207
- */
208
- ariaCurrentValue?:
209
- | 'page'
210
- | 'step'
211
- | 'location'
212
- | 'date'
213
- | 'time'
214
- | 'true'
215
- | 'false';
216
- /**
217
- * Icon to be added on the right of the text.
218
- */
219
- // eslint-disable-next-line vue/prop-name-casing
220
- 'append:icon'?: IconType;
221
- /**
222
- * Displays the component as full width.
223
- */
224
- block?: boolean;
225
-
226
- data?: object;
227
-
228
- /**
229
- * Disables the component.
230
- */
231
- disabled?: boolean;
232
-
233
- /**
234
- * Disables the click handler while the component is loading.
235
- */
236
- enabledWhileLoading?: boolean;
237
-
238
- /**
239
- * Class to apply when the link is exact active.
240
- */
241
- exactActiveClass?: string;
242
-
243
- /**
244
- * Identifies the button as part of a button group.
245
- */
246
- group?: boolean;
247
-
248
- headers?: object;
249
-
250
- /**
251
- * Returns the hyperlink's URL.
252
- *
253
- * Can be set, to change the URL.
254
- */
255
- href?: HTMLAnchorElement['href'];
256
- /**
257
- * Used when only an icon with no text should be displayed.
258
- */
259
- icon?: IconType;
260
-
261
- /**
262
- * Triggers a loading indicator.
263
- */
264
- loading?: boolean;
265
-
266
- method?: 'get' | 'post' | 'put' | 'patch' | 'delete';
267
-
268
- onBefore?: () => void;
269
-
270
- onCancel?: () => void;
271
-
272
- onCancelToken?: InertiaLinkProps['onCancelToken'];
273
-
274
- onFinish?: () => void;
275
-
276
- only?: string[];
277
-
278
- onProgress?: (progress: { percentage: number | undefined }) => void;
279
-
280
- onStart?: () => void;
281
-
282
- onSuccess?: () => void;
283
-
284
- /**
285
- * Icon to be added on the left of the text.
286
- */
287
- // eslint-disable-next-line vue/prop-name-casing
288
- 'prepend:icon'?: IconType;
289
-
290
- preserveScroll?: boolean | ((props: { [key: string]: unknown }) => boolean);
291
-
292
- preserveState?:
293
- | boolean
294
- | ((props: { [key: string]: unknown }) => boolean)
295
- | null;
296
-
297
- queryStringArrayFormat?: 'brackets' | 'indices';
298
-
299
- /**
300
- * Calls `router.replace` instead of `router.push`.
301
- */
302
- replace?: boolean;
303
-
304
- /**
305
- * Sets the size of the button. When the value is a string, it will be applied to all
306
- * screen sizes. Otherwise, it will be applied to the screen size specified by the object.
307
- *
308
- * @defaultValue `'md'`
309
- */
310
- size?:
311
- | Sizes
312
- | Partial<
313
- Record<'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | 'default', Sizes>
314
- >;
315
-
316
- /**
317
- * Any HTML tag corresponding to a non-void HTML element.
318
- */
319
- tag?: string;
320
-
321
- /**
322
- * Sets or retrieves the window or frame at which to target content.
323
- */
324
- target?: HTMLAnchorElement['target'];
325
-
326
- /**
327
- * Text content of the component.
328
- */
329
- text?: string;
330
-
331
- /**
332
- * Text content for a tooltip displayed on hover.
333
- * When provided, a {@link BbTooltip} is lazily loaded and attached to the button.
334
- */
335
- tooltip?: string;
336
-
337
- /**
338
- * Placement of the tooltip relative to the button.
339
- * Accepts any {@link Placement} value from Floating UI.
340
- *
341
- * @defaultValue `'top'`
342
- */
343
- tooltipPlacement?: Placement;
344
-
345
- /**
346
- * The delay in milliseconds before the tooltip is shown.
347
- *
348
- * @defaultValue `0`
349
- */
350
- tooltipTimeout?: number;
351
-
352
- /**
353
- * Route Location the link should navigate to when clicked on.
354
- */
355
- to?: RouteLocationRaw;
356
-
357
- /**
358
- * Value emitted when the toggle is activated.
359
- *
360
- * @defaultValue `true`
361
- */
362
- trueValue?: any;
363
-
364
- /**
365
- * Value emitted when the toggle is deactivated.
366
- *
367
- * @defaultValue `false`
368
- */
369
- falseValue?: any;
370
-
371
- /**
372
- * Gets the classification and default behavior of the button.
373
- */
374
- type?: HTMLButtonElement['type'];
375
- };
177
+ **Responsive size — resize the preview**
376
178
 
377
- /** Props exposed by the `tooltip` slot. */
378
- export type BbButtonTooltipSlotProps = {
379
- /** The `tooltip` prop value, or `undefined` if not set. */
380
- text: string | undefined;
381
- };
179
+ ```vue
180
+ <BbButton :size="{ default: 'sm', lg: 'lg' }" variant="primary">
181
+ Start free trial
182
+ </BbButton>
183
+ ```
382
184
 
383
- export type BbButtonSlots = {
384
- /**
385
- * Primary content rendered inside the button. Falls back to the `text` prop when empty.
386
- */
387
- default?: (props: object) => any;
388
- /**
389
- * Custom content for the tooltip. Falls back to the {@link BbButtonProps.tooltip | tooltip} prop text.
390
- */
391
- tooltip?: (props: BbButtonTooltipSlotProps) => any;
392
- };
185
+ ### Icons
186
+
187
+ Use `prepend:icon` / `append:icon` for labelled buttons, and `icon` for
188
+ icon-only buttons. Accessibility here is **symmetric**: the label content still
189
+ matters, it is just rendered `sr-only` when `icon` is set. So give an icon-only
190
+ button its accessible name the same way as any other — through the default slot
191
+ (or `text`): `<BbButton icon="lucide:settings">Settings</BbButton>` renders no
192
+ visible text but announces "Settings". `aria-label` is plan B — an override for
193
+ when the accessible name must differ from (or you can't supply) slot content.
194
+ Just don't ship an icon-only button with neither. When `icon` is set,
195
+ `append:icon` is ignored. Icons scale with the button's `size`; names come from
196
+ the `lucide:*` set (see the icons policy).
197
+
198
+ **Icons and icon-only**
199
+
200
+ ```vue
201
+ <div
202
+ class="flex max-w-sm items-center justify-between gap-2 rounded-[var(--bb-radius)] border p-3"
203
+ >
204
+ <span class="text-sm font-medium">Invoices</span>
205
+ <div class="flex items-center gap-1.5">
206
+ <BbButton variant="primary" prepend:icon="lucide:plus">New invoice</BbButton>
207
+ <BbButton variant="outline" append:icon="lucide:download">Export</BbButton>
208
+ <!-- Label comes from slot content, rendered sr-only — no aria-label needed. -->
209
+ <BbButton variant="ghost" icon="lucide:settings">Settings</BbButton>
210
+ </div>
211
+ </div>
393
212
  ```
394
213
 
395
- ## Styles
214
+ ### Toggle buttons
215
+
216
+ Binding `v-model` turns the button into a toggle: each click flips the model
217
+ between `true-value` and `false-value` (defaults `true`/`false`), and the
218
+ component manages `aria-pressed` plus the pressed styling for you. Values are
219
+ compared structurally, so object `true-value`s work. Because toggle mode is
220
+ detected by the model being defined, **seed the model** (`ref(false)`, not an
221
+ undefined `state.*`) — an undefined model is not a toggle yet and the first
222
+ click won't set it.
223
+
224
+ For an exclusive set, share one `v-model` across the buttons and give each its
225
+ own `true-value`. The `false-value` decides the selection policy:
226
+
227
+ - `:false-value="null"` — optional: clicking the active button clears the
228
+ selection.
229
+ - `false-value` **mirroring that same button's own `true-value`** — mandatory:
230
+ re-clicking the active button re-emits the same value, so one choice is
231
+ always selected.
232
+
233
+ **Point every button's `false-value` at its own `true-value`, never at a
234
+ sibling's.** Each button independently answers "what do I emit when I'm
235
+ clicked while I'm not the active one?" — under the mandatory policy the
236
+ answer is always "myself," never "whichever value the other button owns." Get
237
+ this backwards and the control inverts silently: the button that is
238
+ _currently pressed_ is the one whose click now emits the _other_ button's
239
+ value, so clicking the visibly-active segment switches away from it instead
240
+ of re-confirming it. Nothing catches this — both strings are legal
241
+ `false-value`s, so it passes `vue-tsc`, lint, and `bitboss-ui check`, and it
242
+ only shows up when someone clicks the segment that's already selected. A
243
+ two-button segmented toggle, written out explicitly rather than looped, is
244
+ the shape that trips this up most:
396
245
 
397
- ```css
398
- .bb-button {
399
- --color: var(--bb-primary);
400
- --border-color: var(--color);
401
- --text-color: var(--bb-contrasting);
402
- --gap: 8px;
403
- --px: 12px;
404
- --py: 4px;
405
- --ring-color: color-mix(
406
- in srgb,
407
- var(--color),
408
- transparent calc(100% - var(--bb-ring-opacity) * 100%)
409
- );
410
- --font-size-xs: 12px;
411
- --font-size-sm: 14px;
412
- --font-size-md: 16px;
413
- --font-size-lg: 18px;
414
- --font-size-xl: 20px;
415
- --bb-button-h-xs: 28px;
416
- --bb-button-h-sm: 32px;
417
- --bb-button-h-md: 36px;
418
- --bb-button-h-lg: 40px;
419
- --bb-button-h-xl: 44px;
420
- align-items: center;
421
- background-color: var(--color);
422
- border-color: var(--border-color);
423
- border-radius: var(--bb-radius);
424
- border-width: 1px;
425
- box-shadow: 0px 0px 0px 0px var(--bb-ring);
426
- color: var(--text-color);
427
- display: inline-flex;
428
- font-size: var(--font-size);
429
- font-weight: 500;
430
- gap: var(--gap);
431
- justify-content: center;
432
- line-height: 1;
433
- min-height: var(--bb-button-h);
434
- padding-bottom: var(--py);
435
- padding-left: var(--px);
436
- padding-right: var(--px);
437
- padding-top: var(--py);
438
- transition: all 0.3s;
439
- transition-duration: 150ms;
440
- transition-property:
441
- box-shadow, color, background-color, min-height, font-size;
442
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
443
- vertical-align: top;
444
-
445
- &[aria-pressed='true']:not(.base-btn--disabled) {
446
- background-color: color-mix(in srgb, var(--color) 80%, black);
447
- }
246
+ ```vue
247
+ <!-- Mandatory exclusive set — each button's false-value mirrors ITS OWN
248
+ true-value. Board's false-value is "board", not "table"; Table's is
249
+ "table", not "board". Swapping them makes the pressed segment toggle
250
+ away to its sibling instead of staying selected. -->
251
+ <BbButton v-model="view" group true-value="board" false-value="board">
252
+ Board
253
+ </BbButton>
254
+ <BbButton v-model="view" group true-value="table" false-value="table">
255
+ Table
256
+ </BbButton>
257
+ ```
448
258
 
449
- &:hover:not(.base-btn--disabled) {
450
- background-color: color-mix(in srgb, var(--color) 90%, black);
451
- }
259
+ A `v-for` over an options array gets this correct for free —
260
+ `:true-value="option.value"` and `:false-value="option.value"` both read the
261
+ _same_ loop item, so every rendered button automatically mirrors itself (the
262
+ live example below uses this shape). The mistake above only becomes possible
263
+ once that loop is unrolled into separate elements with their own literal
264
+ strings.
452
265
 
453
- &:focus-visible {
454
- background-color: color-mix(in srgb, var(--color) 90%, black);
455
- box-shadow: 0px 0px 0px var(--bb-ring-size) var(--ring-color);
456
- outline: none;
457
- }
266
+ Add `group` to fuse adjacent buttons into one visual segment control. It is
267
+ purely visual (shared borders/radius between siblings) — each button keeps its
268
+ own semantics, and there is no arrow-key roving between them.
458
269
 
459
- &.base-btn--disabled {
460
- cursor: not-allowed;
270
+ **Exclusive toggle groups**
461
271
 
462
- &:not(.bb-button--loading) {
463
- --color: color-mix(in srgb, var(--bb-panel), var(--bb-text) 10%);
464
- --text-color: color-mix(in srgb, var(--bb-panel), var(--bb-text) 40%);
465
- }
466
- }
272
+ ```vue
273
+ <template>
274
+ <div
275
+ class="flex max-w-md flex-col gap-3 rounded-[var(--bb-radius)] border p-3"
276
+ >
277
+ <div class="flex flex-col gap-0.5">
278
+ <span class="text-sm font-medium">Issues</span>
279
+ <span class="text-xs text-[color:var(--bb-text-muted)]">
280
+ Acme workspace ·
281
+ {{
282
+ statusFilter
283
+ ? statuses.find((s) => s.value === statusFilter)?.label
284
+ : 'All statuses'
285
+ }}
286
+ · {{ views.find((v) => v.value === activeView)?.label }} view
287
+ </span>
288
+ </div>
289
+
290
+ <div class="flex flex-col gap-1.5">
291
+ <span class="text-xs text-[color:var(--bb-text-muted)]">Status</span>
292
+ <div>
293
+ <BbButton
294
+ v-for="status in statuses"
295
+ :key="status.value"
296
+ v-model="statusFilter"
297
+ :false-value="null"
298
+ group
299
+ size="sm"
300
+ :true-value="status.value"
301
+ variant="outline"
302
+ >
303
+ {{ status.label }}
304
+ </BbButton>
305
+ </div>
306
+ </div>
307
+
308
+ <div class="flex flex-col gap-1.5">
309
+ <span class="text-xs text-[color:var(--bb-text-muted)]">View</span>
310
+ <div>
311
+ <BbButton
312
+ v-for="view in views"
313
+ :key="view.value"
314
+ v-model="activeView"
315
+ :false-value="view.value"
316
+ group
317
+ :prepend:icon="view.icon"
318
+ size="sm"
319
+ :true-value="view.value"
320
+ variant="outline"
321
+ >
322
+ {{ view.label }}
323
+ </BbButton>
324
+ </div>
325
+ </div>
326
+ </div>
327
+ </template>
328
+ <script setup lang="ts">
329
+ import { ref } from 'vue';
330
+ import { BbButton, type IconType } from 'bitboss-ui';
331
+
332
+ type IssueStatus = 'open' | 'in-progress' | 'done';
333
+ type IssueView = 'list' | 'board' | 'timeline';
334
+
335
+ const statuses: Array<{ label: string; value: IssueStatus }> = [
336
+ { label: 'Open', value: 'open' },
337
+ { label: 'In progress', value: 'in-progress' },
338
+ { label: 'Done', value: 'done' },
339
+ ];
340
+
341
+ const views: Array<{ label: string; value: IssueView; icon: IconType }> = [
342
+ { label: 'List', value: 'list', icon: 'lucide:list' },
343
+ { label: 'Board', value: 'board', icon: 'lucide:kanban' },
344
+ { label: 'Timeline', value: 'timeline', icon: 'lucide:calendar-range' },
345
+ ];
346
+
347
+ const statusFilter = ref<IssueStatus | null>('open');
348
+ const activeView = ref<IssueView>('list');
349
+ </script>
350
+ ```
467
351
 
468
- &.bb-button--icon {
469
- --px: var(--py);
470
- min-width: var(--bb-button-h);
471
- }
352
+ Listen to `update:modelValue` only if you need side effects; state itself is
353
+ handled. For form-ish multi-selection prefer `BbCheckboxGroup` /
354
+ `BbRadioGroup`; toggle buttons are for immediate, tool-bar-like state.
472
355
 
473
- &.bb-button--loading {
474
- .bb-spinner {
475
- opacity: 1;
356
+ Toggles don't have to be exclusive. Give each button its own seeded boolean
357
+ model for independent on/off state — the classic formatting toolbar. Combine
358
+ with `icon` and `size="xs"` for the dense icon-only look; the slot content
359
+ stays on as the accessible name:
476
360
 
477
- + .bb-icon {
478
- opacity: 0;
479
- }
361
+ **Icon-only formatting toolbar**
480
362
 
481
- + .bb-button__content {
482
- margin-left: calc(var(--gap) + var(--bb-button-icon));
483
- }
484
- }
485
- }
363
+ ```vue
364
+ <template>
365
+ <div
366
+ class="flex max-w-sm flex-col gap-2 rounded-[var(--bb-radius)] border p-3"
367
+ >
368
+ <div class="flex items-center justify-between gap-2">
369
+ <span class="text-xs font-medium text-[color:var(--bb-text-muted)]"
370
+ >Format</span
371
+ >
372
+ <span class="text-xs text-[color:var(--bb-text-muted)]">{{
373
+ summary
374
+ }}</span>
375
+ </div>
376
+ <div>
377
+ <BbButton
378
+ v-model="bold"
379
+ group
380
+ icon="lucide:bold"
381
+ size="xs"
382
+ variant="outline"
383
+ >
384
+ Bold
385
+ </BbButton>
386
+ <BbButton
387
+ v-model="italic"
388
+ group
389
+ icon="lucide:italic"
390
+ size="xs"
391
+ variant="outline"
392
+ >
393
+ Italic
394
+ </BbButton>
395
+ <BbButton
396
+ v-model="underline"
397
+ group
398
+ icon="lucide:underline"
399
+ size="xs"
400
+ variant="outline"
401
+ >
402
+ Underline
403
+ </BbButton>
404
+ </div>
405
+ <p
406
+ class="text-sm"
407
+ :class="{
408
+ 'font-bold': bold,
409
+ italic: italic,
410
+ underline: underline,
411
+ }"
412
+ >
413
+ Q3 billing note for Acme Studio
414
+ </p>
415
+ </div>
416
+ </template>
417
+ <script setup lang="ts">
418
+ import { computed, ref } from 'vue';
419
+ import { BbButton } from 'bitboss-ui';
420
+
421
+ // Independent toggles: each button owns its own seeded boolean model.
422
+ const bold = ref(false);
423
+ const italic = ref(true);
424
+ const underline = ref(false);
425
+
426
+ const summary = computed(() => {
427
+ const active = [
428
+ bold.value && 'bold',
429
+ italic.value && 'italic',
430
+ underline.value && 'underline',
431
+ ].filter(Boolean);
432
+ return active.length ? active.join(' + ') : 'plain text';
433
+ });
434
+ </script>
435
+ ```
486
436
 
487
- &.bb-button--group {
488
- &:has(+ .bb-button--group) {
489
- border-bottom-right-radius: 0;
490
- border-top-right-radius: 0;
491
- }
437
+ ### Loading and async actions
492
438
 
493
- & + .bb-button--group {
494
- border-bottom-left-radius: 0 !important;
495
- border-top-left-radius: 0 !important;
496
- }
497
- }
439
+ Return a promise from `@click` and the button tracks it automatically: a
440
+ spinner appears, the label announces loading to screen readers, and the button
441
+ blocks re-clicks (for `type="submit"`, `href` and `to` the click is also
442
+ prevented) until the promise settles. Concurrent handlers are counted, so the
443
+ spinner stays until the last one resolves — no manual `isSaving` flag, no
444
+ hand-placed `BbSpinner`.
498
445
 
499
- &[data-xs] {
500
- --bb-button-h: var(--bb-button-h-xs);
501
- --font-size: var(--font-size-xs);
502
- }
503
- &[data-sm] {
504
- --bb-button-h: var(--bb-button-h-sm);
505
- --font-size: var(--font-size-sm);
506
- }
446
+ **An async save, tracked automatically**
507
447
 
508
- &[data-md] {
509
- --bb-button-h: var(--bb-button-h-md);
510
- --font-size: var(--font-size-md);
511
- }
448
+ ```vue
449
+ <template>
450
+ <div
451
+ class="flex max-w-sm flex-col gap-3 rounded-[var(--bb-radius)] border p-3"
452
+ >
453
+ <div class="flex flex-col gap-0.5">
454
+ <span class="text-sm font-medium">Invoice INV-1042</span>
455
+ <span class="text-xs text-[color:var(--bb-text-muted)]">
456
+ Acme Studio · draft · due Jul 31, 2026
457
+ </span>
458
+ </div>
459
+ <div class="flex items-center gap-2">
460
+ <BbButton prepend:icon="lucide:save" variant="primary" @click="save">
461
+ Save changes
462
+ </BbButton>
463
+ <span class="text-xs text-[color:var(--bb-text-muted)]">{{
464
+ status
465
+ }}</span>
466
+ </div>
467
+ </div>
468
+ </template>
469
+ <script setup lang="ts">
470
+ import { ref } from 'vue';
471
+ import { BbButton } from 'bitboss-ui';
512
472
 
513
- &[data-lg] {
514
- --bb-button-h: var(--bb-button-h-lg);
515
- --font-size: var(--font-size-lg);
516
- }
473
+ const status = ref('Unsaved changes');
517
474
 
518
- &[data-xl] {
519
- --bb-button-h: var(--bb-button-h-xl);
520
- --font-size: var(--font-size-xl);
521
- }
522
- .bb-button__content {
523
- transition: margin-left 0.3s;
524
- }
475
+ /** Stand-in mutation; the button spins until the promise settles. */
476
+ const save = async () => {
477
+ await new Promise((resolve) => setTimeout(resolve, 900));
478
+ status.value = `Saved at ${new Date().toLocaleTimeString()}`;
479
+ };
480
+ </script>
481
+ ```
525
482
 
526
- .bb-spinner,
527
- .bb-button__icon,
528
- .bb-button__prepend-icon,
529
- .bb-button__append-icon {
530
- color: currentColor;
531
- display: inline-block;
532
- flex-shrink: 0;
533
- transition: opacity 0.3s;
534
- width: var(--bb-button-icon);
535
- }
483
+ Escape hatches, when the default isn't right:
536
484
 
537
- .bb-spinner {
538
- margin-right: calc((var(--gap) + var(--bb-button-icon)) * -1);
539
- opacity: 0;
540
- }
485
+ - `loading` — bind it when the pending state lives elsewhere (a store mutation,
486
+ a parent-owned request). While loading, the button exposes
487
+ `aria-disabled="true"` and leaves the tab order; it is not natively
488
+ `disabled`.
489
+ - `disable-auto-loading` — opts out of promise tracking entirely (e.g. the
490
+ handler opens a dialog and you don't want a spinner flash).
491
+ - `interactive-while-loading` — keeps the button clickable while it shows the
492
+ loading state, for controls that must stay interactive (this is how the
493
+ `BbDropdownButton` caret stays usable while the primary action runs).
541
494
 
542
- .bb-button__loading-label {
543
- }
544
- }
495
+ The sr-only loading announcement is localized via the plugin's `locale`
496
+ option. `disabled` and `loading` are independent: `disabled` wins the muted
497
+ styling and native blocking; don't set both.
545
498
 
546
- @media (min-width: 640px) {
547
- .bb-button {
548
- &[data-sm\:xs] {
549
- --bb-button-h: var(--bb-button-h-xs);
550
- --font-size: var(--font-size-xs);
551
- }
552
-
553
- &[data-sm\:sm] {
554
- --bb-button-h: var(--bb-button-h-sm);
555
- --font-size: var(--font-size-sm);
556
- }
557
-
558
- &[data-sm\:md] {
559
- --bb-button-h: var(--bb-button-h-md);
560
- --font-size: var(--font-size-md);
561
- }
562
-
563
- &[data-sm\:lg] {
564
- --bb-button-h: var(--bb-button-h-lg);
565
- --font-size: var(--font-size-lg);
566
- }
567
- &[data-sm\:xl] {
568
- --bb-button-h: var(--bb-button-h-xl);
569
- --font-size: var(--font-size-xl);
570
- }
571
- }
572
- }
499
+ **Externally-owned loading state**
573
500
 
574
- @media (min-width: 768px) {
575
- .bb-button {
576
- &[data-md\:xs] {
577
- --bb-button-h: var(--bb-button-h-xs);
578
- --font-size: var(--font-size-xs);
579
- }
580
-
581
- &[data-md\:sm] {
582
- --bb-button-h: var(--bb-button-h-sm);
583
- --font-size: var(--font-size-sm);
584
- }
585
-
586
- &[data-md\:md] {
587
- --bb-button-h: var(--bb-button-h-md);
588
- --font-size: var(--font-size-md);
589
- }
590
-
591
- &[data-md\:lg] {
592
- --bb-button-h: var(--bb-button-h-lg);
593
- --font-size: var(--font-size-lg);
594
- }
595
- &[data-md\:xl] {
596
- --bb-button-h: var(--bb-button-h-xl);
597
- --font-size: var(--font-size-xl);
598
- }
599
- }
600
- }
501
+ ```vue
502
+ <div
503
+ class="flex max-w-sm flex-col gap-3 rounded-[var(--bb-radius)] border p-3"
504
+ >
505
+ <div class="flex flex-col gap-0.5">
506
+ <span class="text-sm font-medium">Release notes</span>
507
+ <span class="text-xs text-[color:var(--bb-text-muted)]">v2.4.0 · draft in review</span>
508
+ </div>
509
+ <div class="flex items-center gap-2">
510
+ <BbButton :loading="state.publishing" variant="primary">Publish</BbButton>
511
+ <BbButton variant="outline" @click="state.publishing = !state.publishing">
512
+ {{ state.publishing ? 'Stop simulating' : 'Simulate pending' }}
513
+ </BbButton>
514
+ </div>
515
+ </div>
516
+ ```
601
517
 
602
- @media (min-width: 1024px) {
603
- .bb-button {
604
- &[data-lg\:xs] {
605
- --bb-button-h: var(--bb-button-h-xs);
606
- --font-size: var(--font-size-xs);
607
- }
608
-
609
- &[data-lg\:sm] {
610
- --bb-button-h: var(--bb-button-h-sm);
611
- --font-size: var(--font-size-sm);
612
- }
613
-
614
- &[data-lg\:md] {
615
- --bb-button-h: var(--bb-button-h-md);
616
- --font-size: var(--font-size-md);
617
- }
618
-
619
- &[data-lg\:lg] {
620
- --bb-button-h: var(--bb-button-h-lg);
621
- --font-size: var(--font-size-lg);
622
- }
623
- &[data-lg\:xl] {
624
- --bb-button-h: var(--bb-button-h-xl);
625
- --font-size: var(--font-size-xl);
626
- }
627
- }
628
- }
518
+ ### Links and navigation
519
+
520
+ Navigation comes from `BbBaseButton`, the primitive `BbButton` wraps — so this
521
+ whole surface works identically on `BbButton`, `BbDropdownButton`, and the base
522
+ itself, and item-driven components (dropdowns, breadcrumbs, tabs) expose the
523
+ same fields on their items. The rule is absolute: whenever a click should end in
524
+ navigation, offload it to `href`/`to` — **never** write
525
+ `@click="router.push(...)"` or touch `window.location`. The rendered element
526
+ adapts to what you pass:
527
+
528
+ - `href` → a real `<a>`; in an Inertia app a same-origin `href` upgrades to an
529
+ Inertia link automatically (hash-only, protocol-relative and cross-origin
530
+ URLs stay plain anchors).
531
+ - `to` → `RouterLink` (or `NuxtLink` in Nuxt).
532
+ - `target` set → always a plain anchor, even under Inertia (Inertia can't open
533
+ new tabs); `target="_blank"` automatically merges `noopener noreferrer` into
534
+ `rel`.
535
+ - `disabled` on a link → the `href` is dropped and the element gets
536
+ `role="link"`, `aria-disabled="true"` and `tabindex="-1"`, so it cannot be
537
+ followed or tabbed to but keeps its place in the layout.
538
+
539
+ **Buttons that are links**
629
540
 
630
- @media (min-width: 1280px) {
631
- .bb-button {
632
- &[data-xl\:xs] {
633
- --bb-button-h: var(--bb-button-h-xs);
634
- --font-size: var(--font-size-xs);
635
- }
636
-
637
- &[data-xl\:sm] {
638
- --bb-button-h: var(--bb-button-h-sm);
639
- --font-size: var(--font-size-sm);
640
- }
641
-
642
- &[data-xl\:md] {
643
- --bb-button-h: var(--bb-button-h-md);
644
- --font-size: var(--font-size-md);
645
- }
646
-
647
- &[data-xl\:lg] {
648
- --bb-button-h: var(--bb-button-h-lg);
649
- --font-size: var(--font-size-lg);
650
- }
651
- &[data-xl\:xl] {
652
- --bb-button-h: var(--bb-button-h-xl);
653
- --font-size: var(--font-size-xl);
654
- }
655
- }
656
- }
541
+ ```vue
542
+ <div
543
+ class="flex max-w-sm flex-col gap-3 rounded-[var(--bb-radius)] border p-3"
544
+ >
545
+ <div class="flex flex-col gap-0.5">
546
+ <span class="text-sm font-medium">Q2 revenue report</span>
547
+ <span class="text-xs text-[color:var(--bb-text-muted)]">Ready · exported Jul 12, 2026</span>
548
+ </div>
549
+ <div class="flex flex-wrap items-center gap-1.5">
550
+ <BbButton variant="outline" href="#reports">View report</BbButton>
551
+ <BbButton
552
+ variant="ghost"
553
+ href="#help"
554
+ target="_blank"
555
+ append:icon="lucide:external-link"
556
+ >
557
+ Help center
558
+ </BbButton>
559
+ <BbButton variant="outline" href="#archive" disabled>
560
+ Archive (soon)
561
+ </BbButton>
562
+ </div>
563
+ </div>
564
+ ```
657
565
 
658
- @media (min-width: 1536px) {
659
- .bb-button {
660
- &[data-2xl\:xs] {
661
- --bb-button-h: var(--bb-button-h-xs);
662
- --font-size: var(--font-size-xs);
663
- }
664
-
665
- &[data-2xl\:sm] {
666
- --bb-button-h: var(--bb-button-h-sm);
667
- --font-size: var(--font-size-sm);
668
- }
669
-
670
- &[data-2xl\:md] {
671
- --bb-button-h: var(--bb-button-h-md);
672
- --font-size: var(--font-size-md);
673
- }
674
-
675
- &[data-2xl\:lg] {
676
- --bb-button-h: var(--bb-button-h-lg);
677
- --font-size: var(--font-size-lg);
678
- }
679
- &[data-2xl\:xl] {
680
- --bb-button-h: var(--bb-button-h-xl);
681
- --font-size: var(--font-size-xl);
682
- }
683
- }
566
+ #### Active state — highlighting the current page
567
+
568
+ The goal here is the "you are here" affordance: in a sidebar, tab bar, or nav
569
+ menu, the link pointing at the page you're on should stand out. This is exactly
570
+ what vue-router's `RouterLink` does with its `active-class` — and the library
571
+ **ports that same behavior to Inertia and to plain apps with no router at all**,
572
+ so one navigation link gets consistent active styling on every platform.
573
+
574
+ How it works: when a link's target matches the current location, the component
575
+ adds a **class name** to the rendered element. It attaches only the hook — it
576
+ ships **no styling of its own** — so you decide what "active" looks like by
577
+ writing CSS for that class. "Current location" comes from whichever model is in
578
+ play: vue-router computes it natively for `to` links; for an `href` link the
579
+ library matches against the Inertia page (under Inertia) or `window.location`
580
+ (a plain app). There are two classes, for two kinds of match:
581
+
582
+ - **`router-link-active`** — added when the current page is at or _below_ the target
583
+ (a path-prefix match). Good for a section link that should stay lit on child
584
+ pages (`/invoices` highlighted while on `/invoices/42`).
585
+ - **`router-link-exact-active`** — added only on an _exact_ match. Good for a specific
586
+ page link that should light up on that page alone.
587
+
588
+ Name them per link, or set project-wide defaults once via the plugin's
589
+ `linkActiveClass` / `linkExactActiveClass` options (defaults
590
+ `router-link-active` / `router-link-exact-active`). The library papers over the
591
+ platform differences — the same `active-class` works whether the link navigates
592
+ by `to`, by Inertia `href`, or by a plain `href`.
593
+
594
+ ```vue
595
+ <template>
596
+ <!-- vue-router / Nuxt: active state computed natively from the route. -->
597
+ <BbButton
598
+ variant="ghost"
599
+ :to="{ name: 'invoices.index' }"
600
+ active-class="nav-active"
601
+ >
602
+ Invoices
603
+ </BbButton>
604
+ <!-- Inertia (or a plain app): the library matches the href against the
605
+ current URL and applies the same `nav-active` hook. -->
606
+ <BbButton
607
+ variant="ghost"
608
+ :href="route('invoices.index')"
609
+ active-class="nav-active"
610
+ >
611
+ Invoices
612
+ </BbButton>
613
+ </template>
614
+
615
+ <style scoped>
616
+ /* Nothing highlights until you style the class the component attached. */
617
+ .nav-active {
618
+ font-weight: 600;
619
+ color: var(--bb-primary);
684
620
  }
621
+ </style>
622
+ ```
623
+
624
+ #### Inertia visits
625
+
626
+ Under Inertia, `href` accepts the full visit surface as props, grouped by
627
+ concern:
628
+
629
+ - **Request shape** — `method` (`get`…`delete`), `data`, `headers`, `only`
630
+ (partial reloads), `query-string-array-format`.
631
+ - **History & scroll** — `replace`, `preserve-scroll`, `preserve-state` (each
632
+ also accepts a callback form).
633
+ - **Lifecycle hooks** — `onBefore`, `onStart`, `onProgress`, `onSuccess`,
634
+ `onCancel`, `onFinish`, plus `onCancelToken` to capture a cancel handle.
635
+ Bind them as props (`:on-success="..."`), not `@` listeners.
636
+
637
+ ```vue
638
+ <!-- Inertia: href becomes a visit; the whole option set rides along -->
639
+ <BbButton
640
+ href="/invoices"
641
+ method="post"
642
+ :data="{ customerId }"
643
+ preserve-scroll
644
+ :only="['invoices']"
645
+ :on-success="() => drawer.close()"
646
+ >
647
+ Create invoice
648
+ </BbButton>
649
+ ```
650
+
651
+ ### Works well with
652
+
653
+ - `BbDropdownButton` — escalate to it when a primary action grows close
654
+ alternates; it shares this component's `variant`/`size`/loading language.
655
+ - `useConfirm` — gate every `destructive` button behind a confirm: mount the
656
+ `<BbConfirm />` host once (app root), `await confirm(...)` in the handler and
657
+ act only on a yes. The dialog's own buttons are `BbButton` configs (see the
658
+ composable doc), so the confirm speaks the same `variant`/icon language:
659
+
660
+ **Destructive action gated behind useConfirm**
661
+
662
+ ```vue
663
+ <template>
664
+ <div
665
+ class="flex max-w-sm flex-col gap-3 rounded-[var(--bb-radius)] border p-3"
666
+ >
667
+ <div class="flex flex-col gap-0.5">
668
+ <span class="text-sm font-medium">API keys</span>
669
+ <span class="text-xs text-[color:var(--bb-text-muted)]">
670
+ <span data-count>{{ keys.length }}</span> active · revoking is immediate
671
+ </span>
672
+ </div>
673
+ <div
674
+ v-for="key in keys"
675
+ :key="key.id"
676
+ class="flex items-center gap-2"
677
+ data-key-row
678
+ >
679
+ <div class="flex min-w-0 flex-1 flex-col">
680
+ <span class="truncate text-sm font-medium">{{ key.label }}</span>
681
+ <span class="font-mono text-xs text-[color:var(--bb-text-muted)]">
682
+ {{ key.masked }} · created {{ key.created }}
683
+ </span>
684
+ </div>
685
+ <BbButton
686
+ prepend:icon="lucide:trash-2"
687
+ size="xs"
688
+ variant="destructive"
689
+ @click="revoke(key)"
690
+ >
691
+ Revoke
692
+ </BbButton>
693
+ </div>
694
+ <p
695
+ v-if="keys.length === 0"
696
+ class="text-xs text-[color:var(--bb-text-muted)]"
697
+ >
698
+ No active keys.
699
+ </p>
700
+
701
+ <!--
702
+ Standalone example: it mounts its own host because it has no app root.
703
+ A real app mounts exactly one <BbConfirm /> at the app root, and pages
704
+ mount none. See ai/guides/agent-contract.md § Global Host Rule.
705
+ -->
706
+ <BbConfirm />
707
+ </div>
708
+ </template>
709
+ <script setup lang="ts">
710
+ import { ref } from 'vue';
711
+ import { BbButton, BbConfirm, useConfirm } from 'bitboss-ui';
712
+
713
+ type ApiKey = { id: string; label: string; masked: string; created: string };
714
+
715
+ const keys = ref<ApiKey[]>([
716
+ {
717
+ id: 'key_prod',
718
+ label: 'Production',
719
+ masked: 'sk-live-…9f2c',
720
+ created: '2026-03-14',
721
+ },
722
+ {
723
+ id: 'key_stg',
724
+ label: 'Staging',
725
+ masked: 'sk-test-…41ab',
726
+ created: '2026-05-02',
727
+ },
728
+ ]);
729
+
730
+ const { confirm } = useConfirm();
731
+
732
+ /** Gate the destructive action: await the decision, act only on a yes. */
733
+ const revoke = async (key: ApiKey) => {
734
+ const ok = await confirm({
735
+ title: `Revoke "${key.label}"?`,
736
+ text: 'Integrations using this key will stop working immediately. This cannot be undone.',
737
+ variant: 'destructive',
738
+ yes: { text: 'Revoke key', 'prepend:icon': 'lucide:trash-2' },
739
+ no: 'Keep key',
740
+ });
741
+ if (ok) keys.value = keys.value.filter((k) => k.id !== key.id);
742
+ };
743
+ </script>
744
+ ```
745
+
746
+ - `BbIndicator` — wrap the button to anchor a count or a status dot to its
747
+ corner (the pinned-over-another-element sibling of `BbBadge`).
748
+ - `BbTooltip` / `v-bb-tooltip` — give an icon-only button a _visible_ name on
749
+ hover; the tooltip complements the accessible name (from slot content), it
750
+ does not replace it.
751
+
752
+ **Indicator count and tooltip on icon-only buttons**
753
+
754
+ ```vue
755
+ <div
756
+ class="flex max-w-sm items-center justify-between gap-2 rounded-[var(--bb-radius)] border p-3"
757
+ >
758
+ <span class="text-sm font-medium">Acme Studio</span>
759
+ <div class="flex items-center gap-1.5">
760
+ <BbIndicator :text="3" variant="destructive">
761
+ <!-- Accessible name from slot content, rendered sr-only. -->
762
+ <BbButton variant="outline" icon="lucide:bell">Notifications</BbButton>
763
+ </BbIndicator>
764
+ <BbButton
765
+ v-bb-tooltip="'Workspace settings'"
766
+ variant="ghost"
767
+ icon="lucide:settings"
768
+ >
769
+ Workspace settings
770
+ </BbButton>
771
+ </div>
772
+ </div>
685
773
  ```
774
+
775
+ ### Gotchas & anti-patterns
776
+
777
+ Gotchas (real behavior, verified against source):
778
+
779
+ - A `v-model` bound to an undefined value is not a toggle yet — the first click
780
+ won't set it. Seed the model.
781
+ - Every default-slot child lands inside one `.bb-button__content` span, so
782
+ sibling elements sit inline with no gap and the button's own flex layout
783
+ cannot space them — `class="justify-between"` on the button reaches the
784
+ content span, not its children, and `Label` + `142` renders as `Label142`.
785
+ Put the count in a `BbBadge`, or use `append:icon`, rather than two bare
786
+ spans.
787
+ - Binding `aria-pressed` yourself does nothing: the component owns that
788
+ attribute and drops yours. A hand-rolled toggle (`:aria-pressed` plus a
789
+ `variant` swap) therefore looks right and is invisible to assistive tech.
790
+ Use `v-model` — see [Toggle buttons](#toggle-buttons). Dev builds warn.
791
+ - `group` fuses looks only; it adds no radio semantics or arrow-key navigation.
792
+ - Responsive `size` maps change height/font/gap per breakpoint; padding, icon
793
+ size and radius follow the `default` entry.
794
+ - Auto-loading tracks the promise **returned** from `@click`; a handler that
795
+ fires work without returning it shows no spinner.
796
+ - Registered custom variants ship no CSS — unstyled until you write
797
+ `.bb-button--<name>`.
798
+
799
+ Anti-patterns:
800
+
801
+ - `@click` + `router.push`/`window.location` for plain navigation — use
802
+ `to`/`href`.
803
+ - Hand-rolling the pending state: `BbSpinner` in the slot or manual `isSaving`
804
+ flags — return the promise instead.
805
+ - More than one `variant="primary"` in a view region.
806
+ - A disabled button with no nearby explanation of how to enable it.
807
+ - Faking a split button with a flex row of `BbButton` + `BbDropdown` — that is
808
+ `BbDropdownButton`.
809
+
810
+ ### Accessibility
811
+
812
+ - Icon-only buttons still need an accessible name, but it works like any other
813
+ button: put it in the default slot (or `text`) and it renders `sr-only` when
814
+ `icon` is set — not removed. Use `aria-label` only to override that name, not
815
+ as the default mechanism. Never ship an icon-only button with no name at all.
816
+ - Toggles expose `aria-pressed` (`true`/`false`) automatically — never add your
817
+ own.
818
+ - While loading: `aria-disabled="true"`, `tabindex="-1"`, and a localized
819
+ sr-only loading announcement.
820
+ - Disabled links render with `role="link"`, `aria-disabled="true"`, no `href`,
821
+ and leave the tab order.
822
+ - The exact-active link gets `aria-current` (default `"page"`) on every
823
+ platform — vue-router, Inertia, and plain apps alike.
824
+ - `target="_blank"` links are secured with `rel="noopener noreferrer"`
825
+ automatically.
826
+ - Prefer real actions over disabled buttons; when disabled, explain why nearby.
827
+
828
+ ## v-model
829
+
830
+ - `v-model` — type: `any`
831
+
832
+ ## Props
833
+
834
+ | Prop | Type | Default | Required | Description |
835
+ | --- | --- | --- | --- | --- |
836
+ | `activeClass` | `string \| undefined` | | | Class to apply when the link is active. |
837
+ | `append:icon` | `string \| undefined` | | | Icon to be added on the right of the text. |
838
+ | `ariaCurrentValue` | `"page" \| "step" \| "location" \| "date" \| "time" \| "true" \| "false" \| undefined` | | | Value passed to the attribute `aria-current` when the link is exact active. |
839
+ | `block` | `boolean \| undefined` | | | Displays the component as full width. |
840
+ | `data` | `object \| undefined` | | | |
841
+ | `disableAutoLoading` | `boolean \| undefined` | | | Disables the automatic loading state that tracks async click handlers (enabled by default). |
842
+ | `disabled` | `boolean \| undefined` | | | Disables the component. |
843
+ | `download` | `string \| boolean \| undefined` | | | Marks an `href` link as a download: renders a plain `<a download>` doing a native navigation (never an Inertia/router visit), so file downloads work. Pass a string for the suggested filename. A native-anchor signal alongside `target` and `e… |
844
+ | `exactActiveClass` | `string \| undefined` | | | Class to apply when the link is exact active. |
845
+ | `external` | `boolean \| undefined` | | | Forces an `href` link to render as a plain `<a>` (native navigation), bypassing Inertia/router interception — same intent as Nuxt's `external`. A native-anchor signal alongside `target` and `download`. |
846
+ | `falseValue` | `any` | `false` | | Value emitted when the toggle is deactivated. |
847
+ | `group` | `boolean \| undefined` | | | Identifies the button as part of a button group. |
848
+ | `headers` | `object \| undefined` | | | |
849
+ | `href` | `string \| undefined` | | | Returns the hyperlink's URL. Can be set, to change the URL. |
850
+ | `icon` | `string \| undefined` | | | Used when only an icon with no text should be displayed. |
851
+ | `interactiveWhileLoading` | `boolean \| undefined` | | | Keeps the button clickable while it is loading. Buttons are disabled while loading by default; this escape hatch exists for toggles that must stay interactive (e.g. the dropdown-button caret). |
852
+ | `loading` | `boolean \| undefined` | | | Triggers a loading indicator. |
853
+ | `method` | `"get" \| "post" \| "put" \| "patch" \| "delete" \| undefined` | | | |
854
+ | `modelValue` | `any` | | | |
855
+ | `onBefore` | `(() => void) \| undefined` | | | |
856
+ | `onCancel` | `(() => void) \| undefined` | | | |
857
+ | `onCancelToken` | `((cancelToken: unknown) => void) \| undefined` | | | |
858
+ | `onFinish` | `(() => void) \| undefined` | | | |
859
+ | `only` | `string[] \| undefined` | | | |
860
+ | `onProgress` | `((progress: { percentage: number \| undefined; }) => void) \| undefined` | | | |
861
+ | `onStart` | `(() => void) \| undefined` | | | |
862
+ | `onSuccess` | `(() => void) \| undefined` | | | |
863
+ | `prepend:icon` | `string \| undefined` | | | Icon to be added on the left of the text. |
864
+ | `preserveScroll` | `boolean \| ((props: Record<string, unknown>) => boolean) \| undefined` | | | |
865
+ | `preserveState` | `boolean \| ((props: Record<string, unknown>) => boolean) \| null \| undefined` | | | |
866
+ | `queryStringArrayFormat` | `"brackets" \| "indices" \| undefined` | | | |
867
+ | `replace` | `boolean \| undefined` | | | Calls `router.replace` instead of `router.push`. |
868
+ | `size` | `Responsive<Sizes> \| undefined` | `"md"` | | Sets the size of the button. A single value applies at every breakpoint; a per-breakpoint map (e.g. `{ default: 'sm', lg: 'md' }`) switches responsively. Purely CSS-driven — no runtime breakpoint watching. |
869
+ | `tag` | `ButtonTag \| undefined` | | | Element to render for the plain (non-link, non-router) button: `'button'` (default), `'div'`/`'span'` when nesting inside another button or link, or `'label'` for a file-upload trigger. Ignored when `href`/`to` make the button render as a l… |
870
+ | `target` | `string \| undefined` | | | Sets or retrieves the window or frame at which to target content. |
871
+ | `text` | `string \| undefined` | | | Text content of the component. |
872
+ | `to` | `string \| wt \| bt \| undefined` | | | Route Location the link should navigate to when clicked on. |
873
+ | `trueValue` | `any` | `true` | | Value emitted when the toggle is activated. |
874
+ | `type` | `"button" \| "submit" \| "reset" \| undefined` | | | Gets the classification and default behavior of the button. |
875
+ | `variant` | `ButtonVariantType \| undefined` | `"primary"` | | Visual variant of the button. Controls colors and surface style while keeping spacing and sizing unchanged. |
876
+
877
+ ## Events
878
+
879
+ - `update:modelValue` — `(event: "update:modelValue", value: any): void`
880
+
881
+ ## Slots
882
+
883
+ - `default` — scope: `object` — Primary content rendered inside the button. Falls back to the `text` prop when empty.
884
+
885
+ ## See Also
886
+
887
+ - [BbBaseButton](./BbBaseButton.md) — Unstyled button/link primitive: element resolution (button/anchor/router link) and the full navigation engine, with no visual chrome. Use for any clickable or navigable surface that is not a variant-first BbButton — cards, list rows, custom links.
888
+ - [BbDropdownButton](./BbDropdownButton.md) — A button with primary action and all other actions collected in a dropdown.
889
+ - [BbDropdown](./BbDropdown.md) — Displays contextual action menus and menu content.
890
+ - [BbConfirm](./BbConfirm.md) — Prompts users to confirm or cancel critical actions (includes co-located BbConfirmPortal export).