bitboss-ui 3.0.0-beta.66 → 3.0.0-beta.68

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 (1007) hide show
  1. package/README.md +4 -3
  2. package/bin/bitboss-ui-mcp.mjs +127 -28
  3. package/bin/bitboss-ui.mjs +6 -2
  4. package/dist/_virtual/_plugin-vue_export-helper.js +1 -2
  5. package/dist/ai/BbAlert.md +16 -12
  6. package/dist/ai/BbAsterisk.md +1 -1
  7. package/dist/ai/BbAvatar.md +3 -3
  8. package/dist/ai/BbBadge.md +5 -5
  9. package/dist/ai/BbBadgeButton.md +2 -2
  10. package/dist/ai/BbBaseButton.md +1 -1
  11. package/dist/ai/BbBaseCheckboxIcon.md +4 -0
  12. package/dist/ai/BbBaseRadioIcon.md +7 -3
  13. package/dist/ai/BbBaseSwitchIcon.md +11 -2
  14. package/dist/ai/BbBreadcrumbs.md +3 -3
  15. package/dist/ai/BbButton.md +69 -10
  16. package/dist/ai/BbCalendar.md +102 -22
  17. package/dist/ai/BbCheckbox.md +27 -5
  18. package/dist/ai/BbCheckboxGroup.md +52 -25
  19. package/dist/ai/BbColorInput.md +16 -14
  20. package/dist/ai/BbColorPalette.md +5 -5
  21. package/dist/ai/BbConfigScope.md +218 -0
  22. package/dist/ai/BbConfirm.md +26 -22
  23. package/dist/ai/BbDatePicker.md +33 -21
  24. package/dist/ai/BbDatePickerInput.md +99 -36
  25. package/dist/ai/BbDialog.md +16 -12
  26. package/dist/ai/BbDropdown.md +30 -20
  27. package/dist/ai/BbDropdownButton.md +22 -19
  28. package/dist/ai/BbDropzone.md +1 -1
  29. package/dist/ai/BbForm.md +10 -8
  30. package/dist/ai/BbHost.md +19 -13
  31. package/dist/ai/BbIcon.md +3 -3
  32. package/dist/ai/BbIndicator.md +4 -4
  33. package/dist/ai/BbNumberInput.md +33 -25
  34. package/dist/ai/BbOffCanvas.md +9 -8
  35. package/dist/ai/BbPagination.md +11 -3
  36. package/dist/ai/BbPopover.md +5 -5
  37. package/dist/ai/BbRadio.md +27 -4
  38. package/dist/ai/BbRadioGroup.md +69 -30
  39. package/dist/ai/BbRating.md +9 -9
  40. package/dist/ai/BbSelect.md +78 -42
  41. package/dist/ai/BbSelectPopover.md +30 -29
  42. package/dist/ai/BbSlider.md +259 -62
  43. package/dist/ai/BbSpinner.md +2 -2
  44. package/dist/ai/BbSwitch.md +31 -4
  45. package/dist/ai/BbSwitchGroup.md +22 -13
  46. package/dist/ai/BbTable.md +29 -11
  47. package/dist/ai/BbTabs.md +7 -7
  48. package/dist/ai/BbTabsList.md +1 -1
  49. package/dist/ai/BbTabsRoot.md +1 -1
  50. package/dist/ai/BbTag.md +14 -13
  51. package/dist/ai/BbTextInput.md +29 -21
  52. package/dist/ai/BbTextarea.md +16 -15
  53. package/dist/ai/BbTimePicker.md +6 -5
  54. package/dist/ai/BbTimePickerInput.md +19 -21
  55. package/dist/ai/BbToast.md +65 -26
  56. package/dist/ai/BbTooltip.md +4 -4
  57. package/dist/ai/BbTree.md +2 -2
  58. package/dist/ai/ChipsBox.md +1 -1
  59. package/dist/ai/CommonField.md +4 -4
  60. package/dist/ai/CommonFieldInput.md +3 -2
  61. package/dist/ai/FlatListBox.md +5 -4
  62. package/dist/ai/GroupedListBox.md +5 -4
  63. package/dist/ai/ListBox.md +6 -5
  64. package/dist/ai/OptionsContainer.md +18 -2
  65. package/dist/ai/changelog.json +695 -540
  66. package/dist/ai/components.json +85 -77
  67. package/dist/ai/composables/useBbConfig.md +5 -5
  68. package/dist/ai/composables/useBbDialog.md +1 -1
  69. package/dist/ai/composables/useBbFormField.md +1 -1
  70. package/dist/ai/composables/useConfirm.md +1 -1
  71. package/dist/ai/composables/useToast.md +16 -16
  72. package/dist/ai/design-tokens.json +10 -5
  73. package/dist/ai/guides/agent-contract.md +8 -8
  74. package/dist/ai/guides/ai-router.md +1 -1
  75. package/dist/ai/guides/app-layout.md +1 -1
  76. package/dist/ai/guides/component-picker.md +3 -2
  77. package/dist/ai/guides/design-language.md +41 -14
  78. package/dist/ai/guides/design-tokens.md +107 -54
  79. package/dist/ai/guides/eslint-rules.md +4 -2
  80. package/dist/ai/guides/fetch-items-playbook.md +2 -1
  81. package/dist/ai/guides/icons-policy.md +2 -2
  82. package/dist/ai/guides/inline-edit-playbook.md +2 -2
  83. package/dist/ai/guides/installation-and-plugin-setup.md +351 -177
  84. package/dist/ai/guides/migration/adoption-checklist.md +5 -5
  85. package/dist/ai/guides/migration/components/bb-alert.md +2 -2
  86. package/dist/ai/guides/migration/components/bb-badge.md +1 -1
  87. package/dist/ai/guides/migration/components/bb-checkbox-group.md +15 -15
  88. package/dist/ai/guides/migration/components/bb-dialog.md +2 -2
  89. package/dist/ai/guides/migration/components/bb-dropdown.md +1 -1
  90. package/dist/ai/guides/migration/components/bb-host.md +10 -8
  91. package/dist/ai/guides/migration/components/bb-offcanvas.md +1 -1
  92. package/dist/ai/guides/migration/components/bb-select-popover.md +2 -2
  93. package/dist/ai/guides/migration/components/bb-select.md +4 -5
  94. package/dist/ai/guides/migration/components/bb-slider.md +17 -2
  95. package/dist/ai/guides/migration/components/bb-table.md +3 -3
  96. package/dist/ai/guides/migration/components/bb-tabs.md +1 -1
  97. package/dist/ai/guides/migration/components/bb-toast.md +6 -6
  98. package/dist/ai/guides/migration/components/use-confirm.md +1 -1
  99. package/dist/ai/guides/migration/v2-to-v3.md +240 -57
  100. package/dist/ai/guides/migration/v3-beta-tooling.md +5 -5
  101. package/dist/ai/guides/passthrough.md +186 -136
  102. package/dist/ai/guides/typescript-generic-components.md +7 -7
  103. package/dist/ai/guides/validated-forms.md +8 -8
  104. package/dist/ai/guides/validation-libraries.md +15 -17
  105. package/dist/ai/helpers/inertia/manifest.json +2 -2
  106. package/dist/ai/index.md +3 -3
  107. package/dist/ai/manifest/common.json +12 -12
  108. package/dist/ai/manifest/components/BbAlert.json +3 -2
  109. package/dist/ai/manifest/components/BbAvatar.json +2 -1
  110. package/dist/ai/manifest/components/BbAvatar.tree.json +1 -1
  111. package/dist/ai/manifest/components/BbBadge.json +5 -4
  112. package/dist/ai/manifest/components/BbBadge.tree.json +1 -1
  113. package/dist/ai/manifest/components/BbBadgeButton.json +2 -2
  114. package/dist/ai/manifest/components/BbBadgeButton.tree.json +1 -1
  115. package/dist/ai/manifest/components/BbBaseButton.json +2 -2
  116. package/dist/ai/manifest/components/BbBaseCheckboxIcon.json +1 -1
  117. package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +5 -1
  118. package/dist/ai/manifest/components/BbBaseRadioIcon.json +1 -1
  119. package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +7 -3
  120. package/dist/ai/manifest/components/BbBaseSwitchIcon.json +1 -1
  121. package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +9 -1
  122. package/dist/ai/manifest/components/BbBreadcrumbs.json +3 -3
  123. package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
  124. package/dist/ai/manifest/components/BbButton.json +6 -5
  125. package/dist/ai/manifest/components/BbButton.tree.json +8 -1
  126. package/dist/ai/manifest/components/BbCalendar.json +27 -25
  127. package/dist/ai/manifest/components/BbCalendar.tree.json +17 -2
  128. package/dist/ai/manifest/components/BbCheckbox.json +5 -4
  129. package/dist/ai/manifest/components/BbCheckbox.tree.json +5 -2
  130. package/dist/ai/manifest/components/BbCheckboxGroup.json +17 -14
  131. package/dist/ai/manifest/components/BbCheckboxGroup.removed.json +1 -1
  132. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +25 -4
  133. package/dist/ai/manifest/components/BbColorInput.json +23 -21
  134. package/dist/ai/manifest/components/BbColorInput.tree.json +4 -3
  135. package/dist/ai/manifest/components/BbColorPalette.json +3 -2
  136. package/dist/ai/manifest/components/BbColorPalette.tree.json +2 -1
  137. package/dist/ai/manifest/components/BbConfigScope.json +23 -0
  138. package/dist/ai/manifest/components/BbConfirm.json +4 -2
  139. package/dist/ai/manifest/components/BbConfirm.tree.json +2 -2
  140. package/dist/ai/manifest/components/BbDatePicker.json +30 -27
  141. package/dist/ai/manifest/components/BbDatePicker.tree.json +2 -2
  142. package/dist/ai/manifest/components/BbDatePickerInput.json +41 -38
  143. package/dist/ai/manifest/components/BbDatePickerInput.tree.json +8 -5
  144. package/dist/ai/manifest/components/BbDialog.json +6 -5
  145. package/dist/ai/manifest/components/BbDialog.tree.json +6 -3
  146. package/dist/ai/manifest/components/BbDropdown.json +15 -12
  147. package/dist/ai/manifest/components/BbDropdown.tree.json +2 -2
  148. package/dist/ai/manifest/components/BbDropdownButton.json +13 -10
  149. package/dist/ai/manifest/components/BbDropdownButton.tree.json +3 -3
  150. package/dist/ai/manifest/components/BbDropzone.json +2 -1
  151. package/dist/ai/manifest/components/BbForm.json +1 -1
  152. package/dist/ai/manifest/components/BbHost.tree.json +1 -1
  153. package/dist/ai/manifest/components/BbIcon.json +2 -1
  154. package/dist/ai/manifest/components/BbIndicator.json +2 -1
  155. package/dist/ai/manifest/components/BbNumberInput.json +12 -11
  156. package/dist/ai/manifest/components/BbNumberInput.tree.json +3 -2
  157. package/dist/ai/manifest/components/BbOffCanvas.json +5 -4
  158. package/dist/ai/manifest/components/BbOffCanvas.tree.json +7 -4
  159. package/dist/ai/manifest/components/BbPagination.json +2 -2
  160. package/dist/ai/manifest/components/BbPagination.tree.json +3 -2
  161. package/dist/ai/manifest/components/BbPopover.json +2 -1
  162. package/dist/ai/manifest/components/BbPopover.tree.json +1 -1
  163. package/dist/ai/manifest/components/BbRadio.json +4 -3
  164. package/dist/ai/manifest/components/BbRadio.tree.json +5 -2
  165. package/dist/ai/manifest/components/BbRadioGroup.json +21 -18
  166. package/dist/ai/manifest/components/BbRadioGroup.removed.json +1 -1
  167. package/dist/ai/manifest/components/BbRadioGroup.tree.json +25 -4
  168. package/dist/ai/manifest/components/BbRating.json +10 -9
  169. package/dist/ai/manifest/components/BbRating.tree.json +2 -2
  170. package/dist/ai/manifest/components/BbSelect.json +31 -29
  171. package/dist/ai/manifest/components/BbSelect.tree.json +7 -5
  172. package/dist/ai/manifest/components/BbSelectPopover.json +19 -17
  173. package/dist/ai/manifest/components/BbSelectPopover.tree.json +6 -2
  174. package/dist/ai/manifest/components/BbSlider.json +28 -26
  175. package/dist/ai/manifest/components/BbSlider.removed.json +3 -0
  176. package/dist/ai/manifest/components/BbSlider.tree.json +4 -2
  177. package/dist/ai/manifest/components/BbSwitch.json +3 -2
  178. package/dist/ai/manifest/components/BbSwitch.tree.json +5 -2
  179. package/dist/ai/manifest/components/BbSwitchGroup.json +8 -6
  180. package/dist/ai/manifest/components/BbSwitchGroup.removed.json +1 -1
  181. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +6 -2
  182. package/dist/ai/manifest/components/BbTable.json +25 -24
  183. package/dist/ai/manifest/components/BbTable.tree.json +7 -4
  184. package/dist/ai/manifest/components/BbTabs.json +9 -8
  185. package/dist/ai/manifest/components/BbTabsList.json +4 -4
  186. package/dist/ai/manifest/components/BbTabsPanels.json +2 -2
  187. package/dist/ai/manifest/components/BbTabsRoot.json +2 -2
  188. package/dist/ai/manifest/components/BbTag.json +7 -6
  189. package/dist/ai/manifest/components/BbTag.tree.json +3 -2
  190. package/dist/ai/manifest/components/BbTextInput.json +8 -7
  191. package/dist/ai/manifest/components/BbTextInput.tree.json +5 -4
  192. package/dist/ai/manifest/components/BbTextarea.json +7 -6
  193. package/dist/ai/manifest/components/BbTextarea.tree.json +3 -2
  194. package/dist/ai/manifest/components/BbTimePicker.json +8 -7
  195. package/dist/ai/manifest/components/BbTimePicker.tree.json +1 -1
  196. package/dist/ai/manifest/components/BbTimePickerInput.json +23 -22
  197. package/dist/ai/manifest/components/BbTimePickerInput.tree.json +5 -3
  198. package/dist/ai/manifest/components/BbToast.json +3 -2
  199. package/dist/ai/manifest/components/BbToast.tree.json +6 -1
  200. package/dist/ai/manifest/components/BbTooltip.json +1 -0
  201. package/dist/ai/manifest/components/BbTooltip.tree.json +2 -2
  202. package/dist/ai/manifest/components/BbTree.json +3 -3
  203. package/dist/ai/manifest/components/BbTree.tree.json +1 -1
  204. package/dist/ai/manifest/components/CommonField.json +4 -4
  205. package/dist/ai/manifest/components/CommonFieldInput.json +2 -2
  206. package/dist/ai/manifest/components/CommonFieldInput.tree.json +3 -1
  207. package/dist/ai/manifest/components/CommonPopover.tree.json +3 -0
  208. package/dist/ai/manifest/components/FlatListBox.json +2 -2
  209. package/dist/ai/manifest/components/FlatListBox.tree.json +2 -1
  210. package/dist/ai/manifest/components/GroupedListBox.json +2 -2
  211. package/dist/ai/manifest/components/GroupedListBox.tree.json +2 -1
  212. package/dist/ai/manifest/components/ListBox.json +2 -2
  213. package/dist/ai/manifest/components/ListBox.tree.json +2 -2
  214. package/dist/ai/manifest/components/OptionsContainer.json +4 -3
  215. package/dist/ai/manifest/components/OptionsContainer.tree.json +16 -1
  216. package/dist/ai/manifest/index.json +3 -3
  217. package/dist/ai/manifest/meta.json +16 -7
  218. package/dist/ai/manifest/types.advanced.json +6 -7
  219. package/dist/ai/manifest/types.api.json +16 -7
  220. package/dist/ai/manifest/types.wrapper.json +2 -2
  221. package/dist/ai/recipes/inertia/approvals-inbox.md +2 -2
  222. package/dist/ai/recipes/inertia/inline-edit-workspace.md +13 -9
  223. package/dist/ai/recipes/inertia/onboarding.md +2 -2
  224. package/dist/ai/recipes/inertia/ownership-atlas.md +2 -2
  225. package/dist/ai/recipes/inertia/record-form.md +2 -2
  226. package/dist/ai/recipes/inertia/records-workspace.md +2 -2
  227. package/dist/ai/recipes/inertia/settings-workspace.md +5 -4
  228. package/dist/ai/recipes/inertia/upload-center.md +3 -3
  229. package/dist/ai/recipes/inertia/wizard-form.md +2 -2
  230. package/dist/ai/recipes/nuxt/approvals-inbox.md +2 -2
  231. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +13 -9
  232. package/dist/ai/recipes/nuxt/onboarding.md +2 -2
  233. package/dist/ai/recipes/nuxt/ownership-atlas.md +2 -2
  234. package/dist/ai/recipes/nuxt/record-form.md +2 -2
  235. package/dist/ai/recipes/nuxt/records-workspace.md +2 -2
  236. package/dist/ai/recipes/nuxt/settings-workspace.md +5 -4
  237. package/dist/ai/recipes/nuxt/upload-center.md +4 -4
  238. package/dist/ai/recipes/nuxt/wizard-form.md +2 -2
  239. package/dist/ai/recipes/vue/approvals-inbox.md +2 -2
  240. package/dist/ai/recipes/vue/inline-edit-workspace.md +13 -9
  241. package/dist/ai/recipes/vue/onboarding.md +2 -2
  242. package/dist/ai/recipes/vue/ownership-atlas.md +2 -2
  243. package/dist/ai/recipes/vue/record-form.md +2 -2
  244. package/dist/ai/recipes/vue/records-workspace.md +2 -2
  245. package/dist/ai/recipes/vue/settings-workspace.md +5 -4
  246. package/dist/ai/recipes/vue/upload-center.md +4 -4
  247. package/dist/ai/recipes/vue/wizard-form.md +2 -2
  248. package/dist/ai/source/BbAlert.md +10 -4
  249. package/dist/ai/source/BbAvatar.md +6 -5
  250. package/dist/ai/source/BbBadge.md +46 -19
  251. package/dist/ai/source/BbBadgeButton.md +31 -11
  252. package/dist/ai/source/BbBaseButton.md +270 -267
  253. package/dist/ai/source/BbBaseCheckboxIcon.md +62 -56
  254. package/dist/ai/source/BbBaseRadioIcon.md +66 -56
  255. package/dist/ai/source/BbBaseSwitchIcon.md +70 -61
  256. package/dist/ai/source/BbBreadcrumbs.md +62 -47
  257. package/dist/ai/source/BbButton.md +127 -26
  258. package/dist/ai/source/BbCalendar.md +513 -148
  259. package/dist/ai/source/BbCheckbox.md +235 -178
  260. package/dist/ai/source/BbCheckboxGroup.md +86 -43
  261. package/dist/ai/source/BbColorInput.md +102 -39
  262. package/dist/ai/source/BbColorPalette.md +156 -141
  263. package/dist/ai/source/BbConfigScope.md +123 -0
  264. package/dist/ai/source/BbConfirm.md +30 -10
  265. package/dist/ai/source/BbConfirmPortal.md +16 -6
  266. package/dist/ai/source/BbDatePicker.md +220 -167
  267. package/dist/ai/source/BbDatePickerInput.md +331 -48
  268. package/dist/ai/source/BbDialog.md +166 -142
  269. package/dist/ai/source/BbDropdown.md +109 -35
  270. package/dist/ai/source/BbDropdownButton.md +123 -38
  271. package/dist/ai/source/BbDropdownGroup.md +86 -25
  272. package/dist/ai/source/BbDropzone.md +86 -78
  273. package/dist/ai/source/BbForm.md +1 -1
  274. package/dist/ai/source/BbHost.md +4 -4
  275. package/dist/ai/source/BbHoverCard.md +6 -2
  276. package/dist/ai/source/BbIcon.md +5 -4
  277. package/dist/ai/source/BbIndicator.md +1 -1
  278. package/dist/ai/source/BbNumberInput.md +103 -51
  279. package/dist/ai/source/BbOffCanvas.md +172 -150
  280. package/dist/ai/source/BbPagination.md +107 -103
  281. package/dist/ai/source/BbPopover.md +17 -9
  282. package/dist/ai/source/BbPopoverPortal.md +2 -2
  283. package/dist/ai/source/BbRadio.md +222 -167
  284. package/dist/ai/source/BbRadioGroup.md +84 -42
  285. package/dist/ai/source/BbRating.md +178 -155
  286. package/dist/ai/source/BbSelect.md +126 -38
  287. package/dist/ai/source/BbSelectPopover.md +453 -365
  288. package/dist/ai/source/BbSlider.md +1121 -744
  289. package/dist/ai/source/BbSwitch.md +79 -8
  290. package/dist/ai/source/BbSwitchGroup.md +48 -25
  291. package/dist/ai/source/BbTable.md +487 -416
  292. package/dist/ai/source/BbTabs.md +67 -24
  293. package/dist/ai/source/BbTabsList.md +63 -23
  294. package/dist/ai/source/BbTabsPanels.md +63 -23
  295. package/dist/ai/source/BbTabsRoot.md +63 -23
  296. package/dist/ai/source/BbTag.md +67 -40
  297. package/dist/ai/source/BbTextInput.md +73 -36
  298. package/dist/ai/source/BbTextarea.md +91 -51
  299. package/dist/ai/source/BbTimePicker.md +133 -108
  300. package/dist/ai/source/BbTimePickerInput.md +97 -28
  301. package/dist/ai/source/BbToast.md +44 -27
  302. package/dist/ai/source/BbToastPortal.md +40 -24
  303. package/dist/ai/source/BbTooltip.md +3 -3
  304. package/dist/ai/source/BbTree.md +16 -3
  305. package/dist/ai/source/CommonField.md +2 -2
  306. package/dist/ai/source/CommonFieldInput.md +11 -6
  307. package/dist/ai/source/CommonPopover.md +7 -0
  308. package/dist/ai/source/CommonTimeSelector.md +3 -1
  309. package/dist/ai/source/FlatListBox.md +12 -2
  310. package/dist/ai/source/GroupedListBox.md +13 -2
  311. package/dist/ai/source/ListBox.md +2 -2
  312. package/dist/ai/source/OptionsContainer.md +49 -2
  313. package/dist/assets/css/reset.css_inline.js +1 -2
  314. package/dist/assets/svgs/alert.svg_raw.js +1 -2
  315. package/dist/assets/svgs/arrow_up.svg_raw.js +3 -0
  316. package/dist/assets/svgs/calendar.svg_raw.js +1 -2
  317. package/dist/assets/svgs/caret_down.svg_raw.js +3 -0
  318. package/dist/assets/svgs/check_stroke.svg_raw.js +1 -2
  319. package/dist/assets/svgs/chevron_down.svg_raw.js +1 -2
  320. package/dist/assets/svgs/chevron_left_small.svg_raw.js +3 -0
  321. package/dist/assets/svgs/chevron_right.svg_raw.js +1 -2
  322. package/dist/assets/svgs/chevron_right_small.svg_raw.js +3 -0
  323. package/dist/assets/svgs/clear.svg_raw.js +1 -2
  324. package/dist/assets/svgs/clock.svg_raw.js +1 -2
  325. package/dist/assets/svgs/close.svg_raw.js +3 -0
  326. package/dist/assets/svgs/error.svg_raw.js +1 -2
  327. package/dist/assets/svgs/eyedropper.svg_raw.js +3 -0
  328. package/dist/assets/svgs/move.svg_raw.js +3 -0
  329. package/dist/assets/svgs/search.svg_raw.js +1 -2
  330. package/dist/assets/svgs/spinner.svg_raw.js +1 -2
  331. package/dist/assets/svgs/star.svg_raw.js +1 -2
  332. package/dist/assets/svgs/user.svg_raw.js +1 -2
  333. package/dist/assets/svgs/x.svg_raw.js +3 -0
  334. package/dist/components/BbAccordion/BbAccordion.vue.js +1 -2
  335. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +21 -22
  336. package/dist/components/BbAccordion/types.js +1 -2
  337. package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -0
  338. package/dist/components/BbAlert/BbAlert.vue.js +1 -2
  339. package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +46 -43
  340. package/dist/components/BbAlert/types.d.ts +1 -1
  341. package/dist/components/BbAlert/types.js +1 -2
  342. package/dist/components/BbAsterisk/BbAsterisk.vue.js +1 -2
  343. package/dist/components/BbAsterisk/BbAsterisk.vue_vue_type_script_setup_true_lang.js +1 -2
  344. package/dist/components/BbAsterisk/types.js +1 -2
  345. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
  346. package/dist/components/BbAvatar/BbAvatar.vue.js +1 -2
  347. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +52 -52
  348. package/dist/components/BbAvatar/types.js +1 -2
  349. package/dist/components/BbBadge/BadgeBodyContent.vue.js +1 -2
  350. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +13 -14
  351. package/dist/components/BbBadge/BbBadge.vue.js +1 -2
  352. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +73 -71
  353. package/dist/components/BbBadge/BbBadgeButton.vue.js +1 -2
  354. package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +11 -16
  355. package/dist/components/BbBadge/badgeButtonContext.js +1 -2
  356. package/dist/components/BbBadge/types.d.ts +21 -5
  357. package/dist/components/BbBadge/types.js +7 -2
  358. package/dist/components/BbBaseButton/BbBaseButton.vue.js +1 -2
  359. package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +12 -13
  360. package/dist/components/BbBaseButton/RouterComponent.vue.js +1 -2
  361. package/dist/components/BbBaseButton/RouterComponent.vue_vue_type_script_setup_true_lang.js +8 -9
  362. package/dist/components/BbBaseButton/types.d.ts +4 -2
  363. package/dist/components/BbBaseButton/types.js +6 -2
  364. package/dist/components/BbBaseButton/useLinkState.js +5 -6
  365. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.js +1 -2
  366. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue_vue_type_script_setup_true_lang.js +16 -17
  367. package/dist/components/BbBaseCheckboxIcon/types.d.ts +4 -2
  368. package/dist/components/BbBaseCheckboxIcon/types.js +3 -3
  369. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.js +1 -2
  370. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue_vue_type_script_setup_true_lang.js +13 -14
  371. package/dist/components/BbBaseRadioIcon/types.d.ts +4 -2
  372. package/dist/components/BbBaseRadioIcon/types.js +3 -3
  373. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.js +1 -2
  374. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue_vue_type_script_setup_true_lang.js +15 -16
  375. package/dist/components/BbBaseSwitchIcon/types.d.ts +4 -2
  376. package/dist/components/BbBaseSwitchIcon/types.js +3 -3
  377. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.js +1 -2
  378. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +156 -167
  379. package/dist/components/BbBreadcrumbs/estimateBreadcrumbItemWidth.js +1 -2
  380. package/dist/components/BbBreadcrumbs/types.d.ts +19 -5
  381. package/dist/components/BbBreadcrumbs/types.js +8 -3
  382. package/dist/components/BbButton/BbButton.vue.d.ts +2 -0
  383. package/dist/components/BbButton/BbButton.vue.js +1 -2
  384. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +122 -111
  385. package/dist/components/BbButton/toggleRoving.js +2 -3
  386. package/dist/components/BbButton/types.d.ts +16 -12
  387. package/dist/components/BbButton/types.js +8 -2
  388. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +47 -77
  389. package/dist/components/BbCalendar/BbCalendar.vue.js +1 -2
  390. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +340 -374
  391. package/dist/components/BbCalendar/CalendarMonthPanel.vue.js +1 -2
  392. package/dist/components/BbCalendar/CalendarMonthPanel.vue_vue_type_script_setup_true_lang.js +15 -17
  393. package/dist/components/BbCalendar/CalendarYearPanel.vue.js +1 -2
  394. package/dist/components/BbCalendar/CalendarYearPanel.vue_vue_type_script_setup_true_lang.js +55 -57
  395. package/dist/components/BbCalendar/calendarHost.js +1 -2
  396. package/dist/components/BbCalendar/types.d.ts +75 -30
  397. package/dist/components/BbCalendar/types.js +54 -3
  398. package/dist/components/BbCalendar/useCalendarContext.js +1 -2
  399. package/dist/components/BbCalendar/useCalendarGrid.js +182 -194
  400. package/dist/components/BbCalendar/useDayGrid.d.ts +17 -0
  401. package/dist/components/BbCalendar/useDayGrid.js +159 -155
  402. package/dist/components/BbCalendar/useDayjsLocale.d.ts +6 -0
  403. package/dist/components/BbCalendar/useDayjsLocale.js +10 -4
  404. package/dist/components/BbCalendar/useToday.js +1 -2
  405. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -2
  406. package/dist/components/BbCheckbox/BbCheckbox.vue.js +1 -2
  407. package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +99 -94
  408. package/dist/components/BbCheckbox/types.d.ts +4 -2
  409. package/dist/components/BbCheckbox/types.js +3 -3
  410. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +95 -54
  411. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.js +1 -2
  412. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +206 -179
  413. package/dist/components/BbCheckboxGroup/types.d.ts +22 -11
  414. package/dist/components/BbCheckboxGroup/types.js +8 -9
  415. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
  416. package/dist/components/BbCollapsible/BbCollapsible.vue.js +1 -2
  417. package/dist/components/BbCollapsible/BbCollapsible.vue_vue_type_script_setup_true_lang.js +12 -13
  418. package/dist/components/BbCollapsible/types.js +1 -2
  419. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +13 -11
  420. package/dist/components/BbColorInput/BbColorInput.vue.js +1 -2
  421. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +185 -154
  422. package/dist/components/BbColorInput/types.d.ts +33 -18
  423. package/dist/components/BbColorInput/types.js +19 -10
  424. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
  425. package/dist/components/BbColorPalette/BbColorPalette.vue.js +1 -2
  426. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +269 -279
  427. package/dist/components/BbColorPalette/types.d.ts +14 -6
  428. package/dist/components/BbColorPalette/types.js +4 -3
  429. package/dist/components/BbConfigScope/BbConfigScope.vue.d.ts +12 -0
  430. package/dist/components/BbConfigScope/BbConfigScope.vue.js +4 -0
  431. package/dist/components/BbConfigScope/BbConfigScope.vue_vue_type_script_setup_true_lang.js +37 -0
  432. package/dist/components/BbConfigScope/types.d.ts +20 -0
  433. package/dist/components/BbConfirm/BbConfirm.vue.js +1 -2
  434. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +108 -97
  435. package/dist/components/BbConfirm/BbConfirmHost.js +9 -10
  436. package/dist/components/BbConfirm/BbConfirmPortal.vue.js +1 -2
  437. package/dist/components/BbConfirm/BbConfirmPortal.vue_vue_type_script_setup_true_lang.js +2 -3
  438. package/dist/components/BbConfirm/confirmEntry.js +1 -2
  439. package/dist/components/BbConfirm/types.d.ts +8 -4
  440. package/dist/components/BbConfirm/types.js +3 -3
  441. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +61 -105
  442. package/dist/components/BbDatePicker/BbDatePicker.vue.js +1 -2
  443. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +206 -263
  444. package/dist/components/BbDatePicker/types.d.ts +46 -21
  445. package/dist/components/BbDatePicker/types.js +6 -3
  446. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +154 -278
  447. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.js +1 -2
  448. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +562 -661
  449. package/dist/components/BbDatePickerInput/dateFieldLayout.js +1 -2
  450. package/dist/components/BbDatePickerInput/types.d.ts +69 -21
  451. package/dist/components/BbDatePickerInput/types.js +68 -8
  452. package/dist/components/BbDialog/BbDialog.vue.d.ts +5 -4
  453. package/dist/components/BbDialog/BbDialog.vue.js +1 -2
  454. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +227 -223
  455. package/dist/components/BbDialog/types.d.ts +7 -5
  456. package/dist/components/BbDialog/types.js +3 -3
  457. package/dist/components/BbDialog/useDialogStack.js +1 -2
  458. package/dist/components/BbDropdown/AdaptiveDropdown.vue.js +1 -2
  459. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +56 -57
  460. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +5 -4
  461. package/dist/components/BbDropdown/BbDropdown.vue.js +1 -2
  462. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +377 -396
  463. package/dist/components/BbDropdown/BbDropdownGroup.vue.js +1 -2
  464. package/dist/components/BbDropdown/BbDropdownGroup.vue_vue_type_script_setup_true_lang.js +19 -22
  465. package/dist/components/BbDropdown/BbDropdownList.vue.js +1 -2
  466. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +386 -399
  467. package/dist/components/BbDropdown/DropdownPipelineResolver.vue.js +1 -2
  468. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +114 -114
  469. package/dist/components/BbDropdown/DropdownRow.vue.d.ts +1 -1
  470. package/dist/components/BbDropdown/DropdownRow.vue.js +1 -2
  471. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +22 -23
  472. package/dist/components/BbDropdown/normalizeGroups.js +20 -21
  473. package/dist/components/BbDropdown/pointerTrail.d.ts +5 -0
  474. package/dist/components/BbDropdown/pointerTrail.js +26 -0
  475. package/dist/components/BbDropdown/types.d.ts +44 -16
  476. package/dist/components/BbDropdown/types.js +39 -4
  477. package/dist/components/BbDropdown/useDropdownContext.d.ts +1 -1
  478. package/dist/components/BbDropdown/useDropdownContext.js +1 -2
  479. package/dist/components/BbDropdown/useDropdownGroupRegistry.js +1 -2
  480. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -3
  481. package/dist/components/BbDropdownButton/BbDropdownButton.vue.js +1 -2
  482. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +126 -103
  483. package/dist/components/BbDropdownButton/types.d.ts +46 -18
  484. package/dist/components/BbDropdownButton/types.js +19 -10
  485. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +13 -5
  486. package/dist/components/BbDropzone/BbDropzone.vue.js +1 -2
  487. package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +141 -150
  488. package/dist/components/BbDropzone/types.d.ts +4 -2
  489. package/dist/components/BbDropzone/types.js +8 -2
  490. package/dist/components/BbForm/BbForm.vue.d.ts +2 -2
  491. package/dist/components/BbForm/BbForm.vue.js +1 -2
  492. package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +154 -159
  493. package/dist/components/BbForm/BbFormCustomField.js +4 -5
  494. package/dist/components/BbForm/bindFormField.js +67 -68
  495. package/dist/components/BbForm/formFields.js +1 -2
  496. package/dist/components/BbForm/formSchema.js +15 -53
  497. package/dist/components/BbHost/BbHost.vue.js +1 -2
  498. package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +2 -3
  499. package/dist/components/BbHost/BbHostOpening.d.ts +1 -1
  500. package/dist/components/BbHost/BbHostOpening.js +12 -14
  501. package/dist/components/BbHost/types.d.ts +2 -2
  502. package/dist/components/BbHoverCard/BbHoverCard.vue.d.ts +2 -2
  503. package/dist/components/BbHoverCard/BbHoverCard.vue.js +1 -2
  504. package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +149 -153
  505. package/dist/components/BbHoverCard/BbHoverCardPortal.vue.js +1 -2
  506. package/dist/components/BbHoverCard/BbHoverCardPortal.vue_vue_type_script_setup_true_lang.js +1 -2
  507. package/dist/components/BbHoverCard/hoverCardFocus.js +1 -2
  508. package/dist/components/BbHoverCard/types.js +1 -2
  509. package/dist/components/BbIcon/BbIcon.vue.d.ts +1 -1
  510. package/dist/components/BbIcon/BbIcon.vue.js +1 -2
  511. package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +45 -45
  512. package/dist/components/BbIcon/iconCache.js +1 -2
  513. package/dist/components/BbIcon/types.js +1 -2
  514. package/dist/components/BbIndicator/BbIndicator.vue.js +1 -2
  515. package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +9 -10
  516. package/dist/components/BbIndicator/types.d.ts +1 -1
  517. package/dist/components/BbIndicator/types.js +1 -2
  518. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +12 -9
  519. package/dist/components/BbNumberInput/BbNumberInput.vue.js +1 -2
  520. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +357 -374
  521. package/dist/components/BbNumberInput/numberDisplay.js +1 -2
  522. package/dist/components/BbNumberInput/platform.js +1 -2
  523. package/dist/components/BbNumberInput/types.d.ts +38 -16
  524. package/dist/components/BbNumberInput/types.js +12 -11
  525. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -3
  526. package/dist/components/BbOffCanvas/BbOffCanvas.vue.js +1 -2
  527. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +407 -429
  528. package/dist/components/BbOffCanvas/hostCloseLabel.js +1 -2
  529. package/dist/components/BbOffCanvas/sheetAttrs.js +1 -2
  530. package/dist/components/BbOffCanvas/sheetSnap.js +3 -8
  531. package/dist/components/BbOffCanvas/types.d.ts +5 -3
  532. package/dist/components/BbOffCanvas/types.js +3 -3
  533. package/dist/components/BbOffCanvas/useOffCanvasStack.js +1 -2
  534. package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
  535. package/dist/components/BbPagination/BbPagination.vue.js +1 -2
  536. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +123 -128
  537. package/dist/components/BbPagination/paginationFit.js +0 -1
  538. package/dist/components/BbPagination/types.d.ts +12 -4
  539. package/dist/components/BbPagination/types.js +4 -3
  540. package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
  541. package/dist/components/BbPopover/BbPopover.vue.js +1 -2
  542. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +144 -163
  543. package/dist/components/BbPopover/BbPopoverPortal.vue.js +1 -2
  544. package/dist/components/BbPopover/BbPopoverPortal.vue_vue_type_script_setup_true_lang.js +1 -2
  545. package/dist/components/BbPopover/types.d.ts +2 -2
  546. package/dist/components/BbPopover/types.js +1 -2
  547. package/dist/components/BbProgress/BbProgress.vue.js +1 -2
  548. package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +16 -17
  549. package/dist/components/BbProgress/types.js +1 -2
  550. package/dist/components/BbRadio/BbRadio.vue.d.ts +4 -2
  551. package/dist/components/BbRadio/BbRadio.vue.js +1 -2
  552. package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +106 -98
  553. package/dist/components/BbRadio/types.d.ts +4 -2
  554. package/dist/components/BbRadio/types.js +3 -3
  555. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +89 -48
  556. package/dist/components/BbRadioGroup/BbRadioGroup.vue.js +1 -2
  557. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +183 -156
  558. package/dist/components/BbRadioGroup/types.d.ts +23 -11
  559. package/dist/components/BbRadioGroup/types.js +8 -9
  560. package/dist/components/BbRating/BbRating.vue.d.ts +7 -5
  561. package/dist/components/BbRating/BbRating.vue.js +1 -2
  562. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +171 -172
  563. package/dist/components/BbRating/types.d.ts +15 -5
  564. package/dist/components/BbRating/types.js +10 -3
  565. package/dist/components/BbSelect/BbSelect.vue.d.ts +203 -206
  566. package/dist/components/BbSelect/BbSelect.vue.js +1 -2
  567. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +285 -296
  568. package/dist/components/BbSelect/types.d.ts +49 -21
  569. package/dist/components/BbSelect/types.js +20 -3
  570. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +40 -37
  571. package/dist/components/BbSelectPopover/BbSelectPopover.vue.js +1 -2
  572. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +735 -783
  573. package/dist/components/BbSelectPopover/knownItems.js +1 -2
  574. package/dist/components/BbSelectPopover/reclickClears.d.ts +17 -0
  575. package/dist/components/BbSelectPopover/reclickClears.js +4 -0
  576. package/dist/components/BbSelectPopover/sheetChipAttrs.js +1 -2
  577. package/dist/components/BbSelectPopover/types.d.ts +41 -22
  578. package/dist/components/BbSelectPopover/types.js +11 -3
  579. package/dist/components/BbSlider/BbSlider.vue.d.ts +38 -30
  580. package/dist/components/BbSlider/BbSlider.vue.js +1 -2
  581. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +412 -367
  582. package/dist/components/BbSlider/types.d.ts +143 -44
  583. package/dist/components/BbSlider/types.js +10 -3
  584. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.js +1 -2
  585. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue_vue_type_script_setup_true_lang.js +14 -21
  586. package/dist/components/BbSmoothHeight/types.js +1 -2
  587. package/dist/components/BbSpinner/BbSpinner.vue.js +1 -2
  588. package/dist/components/BbSpinner/BbSpinner.vue_vue_type_script_setup_true_lang.js +14 -15
  589. package/dist/components/BbSpinner/types.js +1 -2
  590. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -2
  591. package/dist/components/BbSwitch/BbSwitch.vue.js +1 -2
  592. package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +110 -117
  593. package/dist/components/BbSwitch/types.d.ts +21 -2
  594. package/dist/components/BbSwitch/types.js +8 -5
  595. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +42 -27
  596. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.js +1 -2
  597. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +158 -160
  598. package/dist/components/BbSwitchGroup/types.d.ts +11 -4
  599. package/dist/components/BbSwitchGroup/types.js +4 -5
  600. package/dist/components/BbTable/BbTable.vue.d.ts +4 -4
  601. package/dist/components/BbTable/BbTable.vue.js +1 -2
  602. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1335 -1515
  603. package/dist/components/BbTable/BbTableDataRow.js +1 -2
  604. package/dist/components/BbTable/BbTableEdgeRow.js +1 -2
  605. package/dist/components/BbTable/BbTableExpandRow.js +1 -2
  606. package/dist/components/BbTable/BbTableSelectToggle.d.ts +1 -1
  607. package/dist/components/BbTable/BbTableSelectToggle.js +17 -18
  608. package/dist/components/BbTable/gridWidgets.js +2 -7
  609. package/dist/components/BbTable/measuredFloors.js +67 -65
  610. package/dist/components/BbTable/textRuler.d.ts +3 -1
  611. package/dist/components/BbTable/textRuler.js +40 -39
  612. package/dist/components/BbTable/types.d.ts +40 -8
  613. package/dist/components/BbTable/types.js +45 -3
  614. package/dist/components/BbTable/useRowReorder.js +179 -203
  615. package/dist/components/BbTable/utils.d.ts +7 -1
  616. package/dist/components/BbTable/utils.js +35 -40
  617. package/dist/components/BbTabs/BbTabs.vue.d.ts +39 -32
  618. package/dist/components/BbTabs/BbTabs.vue.js +1 -2
  619. package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +32 -32
  620. package/dist/components/BbTabs/BbTabsList.vue.js +1 -2
  621. package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +19 -24
  622. package/dist/components/BbTabs/BbTabsPanels.vue.js +1 -2
  623. package/dist/components/BbTabs/BbTabsPanels.vue_vue_type_script_setup_true_lang.js +4 -7
  624. package/dist/components/BbTabs/BbTabsRoot.vue.js +1 -2
  625. package/dist/components/BbTabs/BbTabsRoot.vue_vue_type_script_setup_true_lang.js +6 -7
  626. package/dist/components/BbTabs/tablistName.js +1 -2
  627. package/dist/components/BbTabs/types.d.ts +38 -11
  628. package/dist/components/BbTabs/types.js +11 -3
  629. package/dist/components/BbTag/BbTag.vue.d.ts +15 -13
  630. package/dist/components/BbTag/BbTag.vue.js +1 -2
  631. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +232 -246
  632. package/dist/components/BbTag/types.d.ts +26 -18
  633. package/dist/components/BbTag/types.js +20 -10
  634. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +49 -35
  635. package/dist/components/BbTextInput/BbTextInput.vue.js +1 -2
  636. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +145 -140
  637. package/dist/components/BbTextInput/types.d.ts +23 -13
  638. package/dist/components/BbTextInput/types.js +23 -13
  639. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +49 -35
  640. package/dist/components/BbTextarea/BbTextarea.vue.js +1 -2
  641. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +146 -138
  642. package/dist/components/BbTextarea/types.d.ts +22 -12
  643. package/dist/components/BbTextarea/types.js +23 -13
  644. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +24 -18
  645. package/dist/components/BbTimePicker/BbTimePicker.vue.js +1 -2
  646. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +151 -156
  647. package/dist/components/BbTimePicker/types.d.ts +16 -6
  648. package/dist/components/BbTimePicker/types.js +4 -3
  649. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +99 -99
  650. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.js +1 -2
  651. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +313 -332
  652. package/dist/components/BbTimePickerInput/types.d.ts +33 -12
  653. package/dist/components/BbTimePickerInput/types.js +18 -8
  654. package/dist/components/BbToast/BbToast.vue.js +1 -2
  655. package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +14 -19
  656. package/dist/components/BbToast/BbToastMessage.vue.js +1 -2
  657. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +50 -57
  658. package/dist/components/BbToast/BbToastPortal.vue.js +1 -2
  659. package/dist/components/BbToast/BbToastPortal.vue_vue_type_script_setup_true_lang.js +2 -3
  660. package/dist/components/BbToast/BbToastRegion.vue.js +1 -2
  661. package/dist/components/BbToast/BbToastRegion.vue_vue_type_script_setup_true_lang.js +31 -32
  662. package/dist/components/BbToast/types.d.ts +19 -7
  663. package/dist/components/BbToast/types.js +12 -13
  664. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -3
  665. package/dist/components/BbTooltip/BbTooltip.vue.js +1 -2
  666. package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +120 -121
  667. package/dist/components/BbTooltip/tooltipWarmup.js +0 -1
  668. package/dist/components/BbTooltip/types.d.ts +1 -1
  669. package/dist/components/BbTooltip/types.js +1 -2
  670. package/dist/components/BbTree/BbTree.vue.d.ts +2 -3
  671. package/dist/components/BbTree/BbTree.vue.js +1 -2
  672. package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +28 -27
  673. package/dist/components/BbTree/BbTreeLevel.vue.js +1 -2
  674. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +12 -20
  675. package/dist/components/BbTree/context.js +1 -2
  676. package/dist/components/BbTree/types.d.ts +13 -3
  677. package/dist/components/BbTree/types.js +4 -3
  678. package/dist/components/ChipsBox/ChipsBox.vue.js +1 -2
  679. package/dist/components/ChipsBox/ChipsBox.vue_vue_type_script_setup_true_lang.js +24 -26
  680. package/dist/components/ClearableButton/ClearableButton.vue.js +1 -2
  681. package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +1 -2
  682. package/dist/components/CloseIcon/CloseButton.vue.js +2 -3
  683. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +12 -18
  684. package/dist/components/CommaBox/CommaBox.vue.js +1 -2
  685. package/dist/components/CommaBox/CommaBox.vue_vue_type_script_setup_true_lang.js +20 -22
  686. package/dist/components/CommonField/CommonField.vue.js +1 -2
  687. package/dist/components/CommonField/CommonField.vue_vue_type_script_setup_true_lang.js +78 -73
  688. package/dist/components/CommonField/types.d.ts +2 -2
  689. package/dist/components/CommonFieldInput/CommonFieldInput.vue.js +1 -2
  690. package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +20 -21
  691. package/dist/components/CommonFieldInput/types.d.ts +1 -1
  692. package/dist/components/CommonPopover/CommonPopover.vue.js +1 -2
  693. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +92 -91
  694. package/dist/components/CommonTimeSelector/CommonTimeSelector.vue.js +1 -2
  695. package/dist/components/CommonTimeSelector/CommonTimeSelector.vue_vue_type_script_setup_true_lang.js +29 -38
  696. package/dist/components/CommonTimeSelector/useMeridiem.js +1 -2
  697. package/dist/components/ErrorIcon/ErrorIcon.vue.js +1 -2
  698. package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +1 -2
  699. package/dist/components/FlatListBox/FlatListBox.vue.js +1 -2
  700. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +153 -157
  701. package/dist/components/FlatListBox/types.d.ts +2 -2
  702. package/dist/components/GroupedListBox/GroupedListBox.vue.js +1 -2
  703. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +108 -112
  704. package/dist/components/GroupedListBox/types.d.ts +2 -2
  705. package/dist/components/ListBox/ListBox.vue.js +1 -2
  706. package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +21 -22
  707. package/dist/components/ListBox/types.d.ts +2 -2
  708. package/dist/components/OptionsContainer/OptionsContainer.vue.js +1 -2
  709. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +92 -78
  710. package/dist/components/OptionsContainer/types.d.ts +6 -1
  711. package/dist/components/Transitions/ScaleFade.vue.js +1 -2
  712. package/dist/components/Transitions/ScaleFade.vue_vue_type_script_setup_true_lang.js +1 -2
  713. package/dist/components/Transitions/Slide.vue.d.ts +1 -1
  714. package/dist/components/Transitions/Slide.vue.js +4 -5
  715. package/dist/components/Transitions/Slide.vue_vue_type_script_setup_true_lang.js +4 -5
  716. package/dist/components/WarningIcon/WarningIcon.vue.js +1 -2
  717. package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +1 -2
  718. package/dist/composables/autoHost.js +1 -2
  719. package/dist/composables/formSubmitLock.js +1 -2
  720. package/dist/composables/hostOpenings.js +6 -11
  721. package/dist/composables/hostRegistry.js +1 -2
  722. package/dist/composables/overlayRegistry.js +2 -3
  723. package/dist/composables/ssrMarker.js +1 -2
  724. package/dist/composables/useActiveInactiveState.js +1 -2
  725. package/dist/composables/useArray.js +1 -2
  726. package/dist/composables/useBaseOptions.js +19 -20
  727. package/dist/composables/useBbConfig.js +1 -2
  728. package/dist/composables/useBbDialog.js +18 -22
  729. package/dist/composables/useBbDropdown.js +3 -4
  730. package/dist/composables/useBbForm.js +6 -10
  731. package/dist/composables/useBbFormField.js +1 -2
  732. package/dist/composables/useBbOffCanvas.js +4 -5
  733. package/dist/composables/useBbTable.js +2 -3
  734. package/dist/composables/useBbTabs.js +108 -116
  735. package/dist/composables/useBodyScrollLock.js +1 -2
  736. package/dist/composables/useBreakpoint.js +1 -2
  737. package/dist/composables/useCancelableFunction.js +1 -2
  738. package/dist/composables/useCharacterCounter.js +2 -3
  739. package/dist/composables/useChoiceIndicator.js +4 -9
  740. package/dist/composables/useClosingInert.js +3 -8
  741. package/dist/composables/useCoarsePointer.js +1 -2
  742. package/dist/composables/useCoherence.js +1 -2
  743. package/dist/composables/useConfig.js +3 -11
  744. package/dist/composables/useConfigDefaults.d.ts +54 -0
  745. package/dist/composables/useConfigDefaults.js +56 -0
  746. package/dist/composables/useConfirm.d.ts +29 -31
  747. package/dist/composables/useConfirm.js +7 -8
  748. package/dist/composables/useCountdown.js +6 -7
  749. package/dist/composables/useEscapeStackEntry.js +1 -2
  750. package/dist/composables/useFormBinding.d.ts +1 -1
  751. package/dist/composables/useFormBinding.js +7 -10
  752. package/dist/composables/useFrameworkDetection.js +1 -2
  753. package/dist/composables/useHashedWatcher.js +1 -2
  754. package/dist/composables/useHydrated.js +1 -2
  755. package/dist/composables/useId.js +1 -2
  756. package/dist/composables/useImeDismissBlur.js +2 -7
  757. package/dist/composables/useIndexById.js +1 -2
  758. package/dist/composables/useInertiaPage.js +1 -2
  759. package/dist/composables/useItemText.js +3 -3
  760. package/dist/composables/useItemValue.js +1 -2
  761. package/dist/composables/useItemsGetter.js +12 -19
  762. package/dist/composables/useKeyboardInset.js +0 -1
  763. package/dist/composables/useListboxFocus.js +1 -2
  764. package/dist/composables/useLocale.js +7 -8
  765. package/dist/composables/useLogger.js +1 -2
  766. package/dist/composables/useMobile.js +1 -2
  767. package/dist/composables/useOnDemandOpener.js +12 -13
  768. package/dist/composables/useOnFalsy.js +1 -2
  769. package/dist/composables/useOnTruthy.js +1 -2
  770. package/dist/composables/useOverlayNavigation.js +6 -11
  771. package/dist/composables/useOverlayYield.js +1 -2
  772. package/dist/composables/usePassthrough.d.ts +7 -5
  773. package/dist/composables/usePassthrough.js +235 -147
  774. package/dist/composables/usePrefill.js +11 -16
  775. package/dist/composables/useQuery.js +9 -22
  776. package/dist/composables/useRefusedCloseAnnouncement.js +1 -2
  777. package/dist/composables/useRoute.js +1 -2
  778. package/dist/composables/useRouter.js +1 -2
  779. package/dist/composables/useSafeArea.js +10 -11
  780. package/dist/composables/useSafeAreaInternal.js +4 -5
  781. package/dist/composables/useSegmentedFields.js +5 -17
  782. package/dist/composables/useServerPrefetch.js +1 -2
  783. package/dist/composables/useSheetSurface.js +1 -2
  784. package/dist/composables/useSsrState.js +1 -2
  785. package/dist/composables/useTableWidthContext.js +2 -3
  786. package/dist/composables/useToast.d.ts +5 -4
  787. package/dist/composables/useToast.js +48 -39
  788. package/dist/composables/useToggleInput.js +1 -2
  789. package/dist/composables/useTopLayer.js +1 -2
  790. package/dist/composables/useTypeahead.js +0 -1
  791. package/dist/composables/useUntil.js +1 -2
  792. package/dist/composables/useUrlQueryParam.d.ts +1 -1
  793. package/dist/composables/useUrlQueryParam.js +1 -2
  794. package/dist/composables/useViewportWidth.js +2 -3
  795. package/dist/deprecation/ai-deprecations.json.d.ts +44 -15
  796. package/dist/deprecation/ai-deprecations.json.js +2 -3
  797. package/dist/deprecation/removedProps.js +1 -2
  798. package/dist/directives/bbColor.js +7 -8
  799. package/dist/directives/bbDate.js +7 -8
  800. package/dist/directives/bbDialog.js +1 -2
  801. package/dist/directives/bbDropdown.js +18 -19
  802. package/dist/directives/bbHoverCard.js +8 -9
  803. package/dist/directives/bbOffCanvas.js +1 -2
  804. package/dist/directives/bbPopover.js +12 -13
  805. package/dist/directives/bbTime.js +7 -8
  806. package/dist/directives/bbTooltip.js +1 -2
  807. package/dist/directives/createPopoverDirective.js +6 -17
  808. package/dist/directives/directivePortal.js +1 -2
  809. package/dist/directives/overlayTrigger.js +24 -25
  810. package/dist/directives/renderingInstance.js +4 -8
  811. package/dist/i18n/locales/cs.json +10 -2
  812. package/dist/i18n/locales/da.json +10 -2
  813. package/dist/i18n/locales/de-CH.json +10 -2
  814. package/dist/i18n/locales/de.json +10 -2
  815. package/dist/i18n/locales/el.json +10 -2
  816. package/dist/i18n/locales/en-GB.json +10 -2
  817. package/dist/i18n/locales/en.json +10 -2
  818. package/dist/i18n/locales/es-MX.json +10 -2
  819. package/dist/i18n/locales/es.json +10 -2
  820. package/dist/i18n/locales/fi.json +10 -2
  821. package/dist/i18n/locales/fr.json +10 -2
  822. package/dist/i18n/locales/hu.json +10 -2
  823. package/dist/i18n/locales/it.json +10 -2
  824. package/dist/i18n/locales/ja.json +10 -2
  825. package/dist/i18n/locales/ko.json +10 -2
  826. package/dist/i18n/locales/nb.json +10 -2
  827. package/dist/i18n/locales/nl.json +10 -2
  828. package/dist/i18n/locales/pl.json +10 -2
  829. package/dist/i18n/locales/pt-BR.json +10 -2
  830. package/dist/i18n/locales/pt-PT.json +10 -2
  831. package/dist/i18n/locales/ro.json +10 -2
  832. package/dist/i18n/locales/ru.json +10 -2
  833. package/dist/i18n/locales/sv.json +10 -2
  834. package/dist/i18n/locales/tr.json +10 -2
  835. package/dist/i18n/locales/uk.json +10 -2
  836. package/dist/i18n/locales/zh-CN.json +10 -2
  837. package/dist/i18n/locales/zh-HK.json +10 -2
  838. package/dist/i18n/locales/zh-TW.json +10 -2
  839. package/dist/i18n/regionHints.js +1 -2
  840. package/dist/i18n/regions.js +1 -2
  841. package/dist/icon-scan.js +6 -11
  842. package/dist/index.d.ts +5 -5
  843. package/dist/index.js +87 -87
  844. package/dist/llms-full.txt +2809 -1459
  845. package/dist/llms-medium.txt +405 -203
  846. package/dist/llms.txt +4 -4
  847. package/dist/locale-blueprint.json +10 -2
  848. package/dist/nuxt-auto-imports.js +2 -3
  849. package/dist/nuxt-module.d.ts +1 -1
  850. package/dist/nuxt.js +25 -26
  851. package/dist/passthrough-deduper.js +1 -2
  852. package/dist/plugin.js +15 -16
  853. package/dist/project-dts.d.ts +72 -10
  854. package/dist/project-dts.js +70 -23
  855. package/dist/runtime/nuxt-plugin.js +25 -26
  856. package/dist/styles.css +2 -2
  857. package/dist/types/AlertVariant.d.ts +1 -1
  858. package/dist/types/AlertVariant.js +1 -2
  859. package/dist/types/BadgeVariant.d.ts +1 -1
  860. package/dist/types/BadgeVariant.js +1 -2
  861. package/dist/types/ButtonVariant.d.ts +1 -1
  862. package/dist/types/ButtonVariant.js +1 -2
  863. package/dist/types/CheckboxVariant.d.ts +7 -4
  864. package/dist/types/CheckboxVariant.js +6 -3
  865. package/dist/types/Config.d.ts +17 -103
  866. package/dist/types/ConfigDefaults.d.ts +352 -0
  867. package/dist/types/ConfigDefaults.js +115 -0
  868. package/dist/types/ConfirmVariant.d.ts +1 -1
  869. package/dist/types/ConfirmVariant.js +1 -2
  870. package/dist/types/DatePickerType.d.ts +10 -5
  871. package/dist/types/DatePickerType.js +3 -4
  872. package/dist/types/DropdownItemVariant.d.ts +1 -1
  873. package/dist/types/DropdownItemVariant.js +1 -2
  874. package/dist/types/FieldLayout.d.ts +3 -3
  875. package/dist/types/FieldLayout.js +1 -2
  876. package/dist/types/IndicatorVariant.d.ts +1 -1
  877. package/dist/types/IndicatorVariant.js +1 -2
  878. package/dist/types/InputVariant.d.ts +57 -24
  879. package/dist/types/InputVariant.js +1 -2
  880. package/dist/types/RadioVariant.d.ts +7 -4
  881. package/dist/types/RadioVariant.js +6 -3
  882. package/dist/types/SizeScale.d.ts +4 -0
  883. package/dist/types/SizeScale.js +17 -0
  884. package/dist/types/TabsVariant.d.ts +1 -1
  885. package/dist/types/TabsVariant.js +1 -2
  886. package/dist/types/ToastVariant.d.ts +1 -1
  887. package/dist/types/ToastVariant.js +1 -2
  888. package/dist/types/TooltipVariant.d.ts +1 -1
  889. package/dist/types/TooltipVariant.js +1 -2
  890. package/dist/types/passthrough.d.ts +116 -6
  891. package/dist/types/passthrough.js +19 -13
  892. package/dist/types/ptComponentMap.d.ts +34 -34
  893. package/dist/utilities/functions/animationsSettled.js +1 -2
  894. package/dist/utilities/functions/bytesToUnit.js +1 -2
  895. package/dist/utilities/functions/chunk.js +1 -2
  896. package/dist/utilities/functions/clamp.js +1 -2
  897. package/dist/utilities/functions/clampPrecision.js +1 -2
  898. package/dist/utilities/functions/convertDateValue.d.ts +5 -2
  899. package/dist/utilities/functions/convertDateValue.js +19 -13
  900. package/dist/utilities/functions/curry.js +1 -2
  901. package/dist/utilities/functions/deburr.js +1 -2
  902. package/dist/utilities/functions/elementLabel.js +1 -2
  903. package/dist/utilities/functions/empty.js +1 -2
  904. package/dist/utilities/functions/extractDomContainer.js +1 -2
  905. package/dist/utilities/functions/findInTree.js +1 -2
  906. package/dist/utilities/functions/flattenTree.js +1 -2
  907. package/dist/utilities/functions/get.js +1 -2
  908. package/dist/utilities/functions/hasVnodeListener.js +1 -2
  909. package/dist/utilities/functions/hash.js +1 -2
  910. package/dist/utilities/functions/identity.js +1 -2
  911. package/dist/utilities/functions/indexBy.js +1 -2
  912. package/dist/utilities/functions/isDateDisabled.js +23 -19
  913. package/dist/utilities/functions/isEqual.js +1 -2
  914. package/dist/utilities/functions/isHex.js +1 -2
  915. package/dist/utilities/functions/isImeComposing.js +1 -2
  916. package/dist/utilities/functions/isNil.js +1 -2
  917. package/dist/utilities/functions/isNotEmpty.js +1 -2
  918. package/dist/utilities/functions/isNotNil.js +1 -2
  919. package/dist/utilities/functions/isTextEntry.js +1 -2
  920. package/dist/utilities/functions/isoWeek.d.ts +36 -0
  921. package/dist/utilities/functions/isoWeek.js +21 -0
  922. package/dist/utilities/functions/itemProps.js +1 -2
  923. package/dist/utilities/functions/last.js +1 -2
  924. package/dist/utilities/functions/noop.js +1 -2
  925. package/dist/utilities/functions/normalizeDateBound.d.ts +4 -0
  926. package/dist/utilities/functions/normalizeDateBound.js +11 -10
  927. package/dist/utilities/functions/parsePaginationNumber.js +1 -2
  928. package/dist/utilities/functions/parseSize.js +1 -2
  929. package/dist/utilities/functions/parseWidthString.js +1 -2
  930. package/dist/utilities/functions/percentage.js +1 -2
  931. package/dist/utilities/functions/pickBy.js +1 -2
  932. package/dist/utilities/functions/range.js +1 -2
  933. package/dist/utilities/functions/readableValue.js +1 -2
  934. package/dist/utilities/functions/reject.js +1 -2
  935. package/dist/utilities/functions/resolveEnumProp.js +1 -2
  936. package/dist/utilities/functions/responsiveDefault.js +1 -2
  937. package/dist/utilities/functions/searchRank.d.ts +19 -0
  938. package/dist/utilities/functions/searchRank.js +76 -0
  939. package/dist/utilities/functions/settlesVisible.js +1 -2
  940. package/dist/utilities/functions/slotKey.js +1 -2
  941. package/dist/utilities/functions/snapToStep.js +1 -2
  942. package/dist/utilities/functions/sort.js +1 -2
  943. package/dist/utilities/functions/throttle.js +1 -2
  944. package/dist/utilities/functions/toggleInput.js +1 -2
  945. package/dist/utilities/functions/transpose.js +1 -2
  946. package/dist/utilities/functions/validateDateFormat.js +1 -2
  947. package/dist/utilities/functions/wait.js +1 -2
  948. package/dist/utilities/functions/waitFor.js +2 -7
  949. package/dist/utilities/functions/warnRemovedAttrs.js +2 -5
  950. package/dist/utilities/functions/when.js +1 -2
  951. package/dist/utilities/misc/autofocus.js +1 -2
  952. package/dist/utilities/misc/iconsInjectionKey.js +1 -2
  953. package/dist/utilities/misc/listboxMetrics.d.ts +1 -1
  954. package/dist/utilities/misc/listboxMetrics.js +1 -2
  955. package/dist/utilities/misc/maskaDataOptions.d.ts +12 -0
  956. package/dist/utilities/misc/maskaDataOptions.js +36 -0
  957. package/dist/utilities/misc/pageText.d.ts +16 -0
  958. package/dist/utilities/misc/pageText.js +10 -0
  959. package/dist/utilities/misc/ssrStateInjectionKey.js +1 -2
  960. package/dist/utilities/misc/ssrValue.js +1 -2
  961. package/dist/utilities/misc/transitions.js +1 -2
  962. package/dist/utils/configDefaults.d.ts +33 -0
  963. package/dist/utils/configDefaults.js +140 -0
  964. package/dist/utils/configScope.d.ts +43 -0
  965. package/dist/utils/configScope.js +13 -0
  966. package/dist/utils/copyData.js +1 -2
  967. package/dist/utils/cssLayers.js +1 -2
  968. package/dist/utils/focusVisibility.js +1 -2
  969. package/dist/utils/injectLibraryStyles.js +3 -12
  970. package/dist/utils/overlayEscapeStack.js +1 -2
  971. package/dist/utils/overlaySurfaceIsolation.js +1 -2
  972. package/dist/utils/passthrough.d.ts +4 -7
  973. package/dist/utils/passthrough.js +32 -31
  974. package/dist/utils/versionCheck.js +2 -3
  975. package/dist/vite-plugin.d.ts +55 -192
  976. package/dist/vite.js +415 -537
  977. package/llms.txt +4 -4
  978. package/package.json +15 -11
  979. package/scripts/lib/adoption-checklist.json +3 -3
  980. package/scripts/lib/agent-manifest.mjs +2 -0
  981. package/scripts/lib/check-queue.mjs +102 -0
  982. package/scripts/lib/consumer-install.mjs +64 -0
  983. package/scripts/lib/css-comment-text.mjs +16 -0
  984. package/scripts/lib/eslint-disable.mjs +2 -0
  985. package/scripts/lib/eslint-plugin.d.ts +4 -2
  986. package/scripts/lib/eslint-plugin.mjs +76 -7
  987. package/scripts/lib/hidden-label-placeholder.mjs +19 -6
  988. package/scripts/lib/idiom-scan.mjs +8 -7
  989. package/scripts/lib/mcp-config.mjs +1 -1
  990. package/scripts/lib/pack.mjs +55 -0
  991. package/scripts/lib/project-variant-dts.mjs +105 -36
  992. package/scripts/lib/quiet-gate.mjs +385 -0
  993. package/scripts/lib/reactive-v-model.mjs +11 -5
  994. package/scripts/lib/validate-bb-markup.mjs +150 -16
  995. package/dist/ai/BbPtScope.md +0 -138
  996. package/dist/ai/manifest/components/BbPtScope.json +0 -21
  997. package/dist/ai/source/BbPtScope.md +0 -54
  998. package/dist/components/BbPtScope/BbPtScope.vue.d.ts +0 -12
  999. package/dist/components/BbPtScope/BbPtScope.vue.js +0 -5
  1000. package/dist/components/BbPtScope/BbPtScope.vue_vue_type_script_setup_true_lang.js +0 -13
  1001. package/dist/components/BbPtScope/types.d.ts +0 -15
  1002. package/dist/types/PtScope.d.ts +0 -15
  1003. package/dist/utilities/functions/head.js +0 -4
  1004. package/dist/utilities/functions/matchAnyKey.d.ts +0 -8
  1005. package/dist/utilities/functions/matchAnyKey.js +0 -15
  1006. package/dist/utils/ptScope.d.ts +0 -8
  1007. package/dist/utils/ptScope.js +0 -4
@@ -128,7 +128,7 @@ inline-edit playbook) instead of inventing a new shape.
128
128
  | A Tailwind utility on a `Bb*` component does nothing, or half-applies | [installation](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/installation-and-plugin-setup.md) § Cascade layers — v4 is layered, we are not by default. It is per PROPERTY: a utility loses only where we declare the same one, and a shorthand like `p-4` can half-apply. `cssLayers: TAILWIND_V4_LAYERS` in the build plugin |
129
129
  | Restyling ONE part of a component (its icon, its spinner, its field box) — or a `:deep()` you are about to write | [passthrough](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/passthrough.md) — the first choice: `pt:<part>` / `pt:<part>:<state>`, typed and linted; classes append, attributes win, listeners concatenate. A look many places need is a **variant**, not `pt`. No part for it? A CSS override on the internal class is allowed but can break in any release (a part's class is stable within 3.x) — [design-language](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/design-language.md) § Hard Rules |
130
130
  | Styling the SELECTED option, the HIGHLIGHTED row, the CURRENT tab — a state a modifier class used to carry | [passthrough](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/passthrough.md) § Parts that resolve per node — `pt:option:selected`, `pt:row:highlighted`, `pt:item:active`; every component's parts and states are in its table |
131
- | Typing a `pt` value in `<script>` (a const, a preset, a wrapper's `pt` prop, a global map split across files) | [passthrough](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/passthrough.md) § Typing `pt` in `<script>` — `<Component>Props<Row>['pt']` with `satisfies`, `definePt` for map fragments. `PtValue` / `PtMap` are not exported |
131
+ | Typing a `pt` value in `<script>` (a const, a preset, a wrapper's `pt` prop, a global map split across files) | [passthrough](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/passthrough.md) § Typing `pt` in `<script>` — `<Component>Props<Row>['pt']` with `satisfies`, `satisfies BbComponentsMap` for map fragments. `PtValue` / `PtMap` are not exported |
132
132
  | `InstanceType<typeof BbSelect>` fails, a Storybook `Meta` or `findComponent` won't type, a `ref('')` on a text field | [typescript-generic-components](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/typescript-generic-components.md) — the generic components and their four script-side differences |
133
133
  | Wrapping a `Bb*` component in your own (`MemberSelect`, `PriceListSelect`) | A preset (fixed items, label, option row): [preset-components](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/preset-components.md), one `definePreset` call. With its own logic: [options-items-playbook](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/options-items-playbook.md) § Wrapping BbSelect in your own component |
134
134
  | Forms with validation (`BbForm`) | [validated-forms](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/validated-forms.md); the schema library (Zod, Valibot, ArkType, Yup, Joi, Effect, string rules) and switching between them: [validation-libraries](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/validation-libraries.md); server errors from Inertia, a Laravel 422, Precognition, vee-validate or Nuxt UI into `setErrors`: [validation-providers](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/validation-providers.md); porting an Element Plus / Naive UI / Ant Design Vue form (`rules` objects, async-validator): [from-async-validator](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/migration/from-async-validator.md) |
@@ -419,10 +419,10 @@ shipped names (`primary`, `secondary`, `destructive`, `outline`, …) are the
419
419
  design needs. When a design calls for a colour the library does not ship — soft
420
420
  semantic status badges, a brand button tone — **add it, in both halves**:
421
421
 
422
- 1. **Register the name** in the build plugin: `badgeVariants`, `buttonVariants`,
423
- `alertVariants`, `confirmVariants`, `dropdownItemVariants`, `tooltipVariants`,
424
- `toastVariants`, `indicatorVariants`, `inputVariants`, `tabsVariants`,
425
- `radioVariants`, `checkboxVariants` (`bitboss-ui/vite` or `bitboss-ui/nuxt`).
422
+ 1. **Register the name** in the build plugin: `components.BbBadge.variants`, `components.BbButton.variants`,
423
+ `components.BbAlert.variants`, `components.BbConfirm.variants`, `components.BbDropdown.variants`, `components.BbTooltip.variants`,
424
+ `components.BbToast.variants`, `components.BbIndicator.variants`, each field's `components.<C>.variants`, `components.BbTabs.variants`,
425
+ `components.BbRadioGroup.variants`, `components.BbCheckboxGroup.variants` (`bitboss-ui/vite` or `bitboss-ui/nuxt`).
426
426
  The plugin regenerates the typed registry, so the name type-checks.
427
427
  2. **Style the class** — `.bb-badge--<name>`, `.bb-button--<name>`, … —
428
428
  in a project stylesheet loaded **after** `bitboss-ui/styles.css`. The library
@@ -470,16 +470,16 @@ page is `BbCalendar`. See [BbCalendar](https://llms-bitboss-ui.bitboss.it/dist/a
470
470
 
471
471
  `useToast()` and `useConfirm()` write to **module-level singleton state**, not to a component instance. `<BbHost />` is the only thing that renders that state: every `toast()` and every `confirm()`, and every on-demand dialog (`useBbDialog(Component).show()`, `v-bb-dialog="{ component }"`).
472
472
 
473
- **Mount nothing: the plugin renders the host.** `app.use(bitbossUiPlugin)` (and the Nuxt module) renders one `<BbHost />` beside the app when it mounts, under Vue, Nuxt and Inertia alike. Never place one per page, per route or per component; a page that calls `toast()` or `confirm()` mounts nothing. It takes no props: the confirm width is the plugin's `confirm: { defaultSize }`, the toast corner is `toastPosition`, the styling is the build-time `pt.BbConfirm` / `pt.BbToast`.
473
+ **Mount nothing: the plugin renders the host.** `app.use(bitbossUiPlugin)` (and the Nuxt module) renders one `<BbHost />` beside the app when it mounts, under Vue, Nuxt and Inertia alike. Never place one per page, per route or per component; a page that calls `toast()` or `confirm()` mounts nothing. It takes no props: the confirm width is the plugin's `BbConfirm: { size }`, the toast corner is `BbToast.position`, the styling is the build-time `pt.BbConfirm` / `pt.BbToast`.
474
474
 
475
475
  **One exception: areas with their own look.** When the app is split into
476
- areas that each wrap their pages in a `<BbPtScope>` (a backoffice and a member
476
+ areas that each wrap their pages in a `<BbConfigScope>` (a backoffice and a member
477
477
  area — see [passthrough](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/passthrough.md) § Named scopes), place one
478
478
  `<BbHost />` **inside each area's layout**, within its scope, so toasts take
479
479
  that area's scope and tokens (a confirm already takes the scope of the
480
480
  component that called `useConfirm()`). A placed host takes over from the
481
481
  plugin's while it is mounted; a page outside every area falls back to the
482
- plugin's. The plugin's host does not see a `<BbPtScope>` or `provide` in
482
+ plugin's. The plugin's host does not see a `<BbConfigScope>` or `provide` in
483
483
  `App.vue`: that is the case for a placed host too.
484
484
 
485
485
  - **Zero hosts** (only without the plugin) — `toast(...)` stays queued and shows once a host mounts (the dismiss timer lives inside the host); `await confirm(...)` resolves `false` after one second. Neither throws. Both warn once per process in DEV.
@@ -609,7 +609,7 @@ Picks agents get wrong, one line each; the linked guide has the how:
609
609
  - [ ] Avoids reference-only imports unless explicitly requested.
610
610
  - [ ] Uses declarative coherence/dependencies before manual watchers.
611
611
  - [ ] An always-visible calendar is `BbCalendar` (named with `aria-label`) — never a `BbDatePicker` forced open; a date field is `BbDatePickerInput` (see § Date Controls Rule).
612
- - [ ] Places no `<BbHost />` (the plugin renders it) — except one per area layout when areas scoped with `<BbPtScope>` need their own toast look (see § Global Host Rule).
612
+ - [ ] Places no `<BbHost />` (the plugin renders it) — except one per area layout when areas scoped with `<BbConfigScope>` need their own toast look (see § Global Host Rule).
613
613
  - [ ] Confirmed the plugin's `locale` is set explicitly if the app isn't English (default is `'en'`) — see Setup-First Rule.
614
614
  - [ ] Ran the Rebuild Check over the hand-written markup — nothing reimplements `BbAvatar`, `BbSpinner` or `BbBadge`.
615
615
 
@@ -625,7 +625,7 @@ Source of truth for integrating `bitboss-ui`. Two pieces are always required:
625
625
  1. a **build plugin** (`bitboss-ui/vite` or `bitboss-ui/nuxt`) that serves the `virtual:bitboss-ui/icons` and `virtual:bitboss-ui/config` modules, scans local SVG icons, and generates typed variant registries;
626
626
  2. the **runtime plugin** (`bitbossUiPlugin` — installed automatically by the Nuxt module) that injects styles, provides the icon registry, and registers the `v-bb-tooltip`, `v-bb-dropdown`, `v-bb-color`, `v-bb-date`, `v-bb-time`, `v-bb-hover-card`, `v-bb-popover`, `v-bb-dialog` and `v-bb-off-canvas` directives.
627
627
 
628
- ## Quick start: the 10 things you need
628
+ ## Quick start: the 11 things you need
629
629
 
630
630
  1. [Install the package](#1-install): `npm install bitboss-ui@beta` (the dist-tag is required).
631
631
  2. [Add the build plugin](#2-vite--vue): `bitboss-ui/vite` in `vite.config.ts`, or [`bitboss-ui/nuxt`](#3-nuxt) in `modules`.
@@ -634,9 +634,10 @@ Source of truth for integrating `bitboss-ui`. Two pieces are always required:
634
634
  5. [Locale](#locale-localekey-default-en): set `locale` (default `'en'`) and list any others in `enabledLocales`.
635
635
  6. [Icons](#6-icons): install an `@iconify-json/*` set, and point `iconDir` at your own SVG folder if you use `local:` icons.
636
636
  7. [SSR and Inertia notes](#4-inertia): the build plugin handles `noExternal` and the Inertia `Link`; in Nuxt do not call `app.use`.
637
- 8. [Run `npx bitboss-ui ai-init`](#8-ai-knowledge-base) so coding agents find the docs and the MCP server.
638
- 9. [Run `npx bitboss-ui check`](#8-ai-knowledge-base) (and add the ESLint plugin) to catch unknown props before review.
639
- 10. [Walk the verification checklist](#9-setup-verification-checklist) before you write component examples.
637
+ 8. [App-wide defaults and area looks](#the-components-map): one `components` map (and `configScopes` / `<BbConfigScope>` for an area) instead of repeating props.
638
+ 9. [Run `npx bitboss-ui ai-init`](#8-ai-knowledge-base) so coding agents find the docs and the MCP server.
639
+ 10. [Run `npx bitboss-ui check`](#8-ai-knowledge-base) (and add the ESLint plugin) to catch unknown props before review.
640
+ 11. [Walk the verification checklist](#9-setup-verification-checklist) before you write component examples.
640
641
 
641
642
  ## 1) Install
642
643
 
@@ -657,7 +658,7 @@ frozen at the last alpha and does not receive fixes — it is not simply an olde
657
658
  copy of the same line. `@latest` is the **v2** line and always will be until v3
658
659
  goes stable, so never reach for it here.
659
660
 
660
- Peer dependency: `vue ^3.5.12` — the only required one. `@inertiajs/vue3` is an **optional** peer, needed only in Inertia apps.
661
+ Peer dependency: `vue ^3.5.42` — the only required one. `@inertiajs/vue3` is an **optional** peer, needed only in Inertia apps.
661
662
 
662
663
  You do **not** need `@iconify/collections`. It is declared as an optional peer
663
664
  for one reason only: when it happens to be installed, the dev-overlay message
@@ -1218,6 +1219,274 @@ Reach for the documented variable before reaching for a utility.
1218
1219
 
1219
1220
  Policy for choosing icons: [Icons Policy](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/icons-policy.md).
1220
1221
 
1222
+ ## The components map
1223
+
1224
+ Everything a component reads from your build config lives in one place:
1225
+ `components`, keyed by component and written with the component's own prop
1226
+ names. The same map, minus two app-wide keys, makes a **config scope** for one
1227
+ area of the app: named in `configScopes`, or inline on `<BbConfigScope>`.
1228
+ This section is the reference for all three; the other guides link here.
1229
+
1230
+ ### The five things you will write
1231
+
1232
+ **1. An app-wide default.** A back office that is dense everywhere, with
1233
+ floating labels:
1234
+
1235
+ ```ts
1236
+ // vite.config.ts (Nuxt: the same object under `bitboss` in nuxt.config.ts)
1237
+ bitbossUi({
1238
+ components: {
1239
+ all: { compact: true, labelMode: 'floating' },
1240
+ BbButton: { size: 'sm' },
1241
+ },
1242
+ });
1243
+ ```
1244
+
1245
+ `all` reaches every component that **owns** the prop, and nothing else:
1246
+ `compact` above makes every component with a `compact` prop dense, and
1247
+ `labelMode` every text-like field. `size` is not shared, so it goes on the
1248
+ component (`all: { size: 'sm' }` fails the build and says so).
1249
+
1250
+ **2. Your own variant, used as the default.** Register the name in the same
1251
+ entry and pick it; the editor suggests it, and a misspelt one is a type error:
1252
+
1253
+ ```ts
1254
+ bitbossUi({
1255
+ components: {
1256
+ BbButton: { variants: ['brand'], variant: 'brand' },
1257
+ },
1258
+ });
1259
+ ```
1260
+
1261
+ The library ships no CSS for a name you register: style `.bb-button--brand`
1262
+ yourself ([BbButton](https://llms-bitboss-ui.bitboss.it/dist/ai/BbButton.md) § variants). Registration is app-wide;
1263
+ a scope can pick `variant: 'brand'`, never register a name of its own.
1264
+
1265
+ **3. A size scale, partly.** Name only the sizes you change; the others keep
1266
+ the built-in values:
1267
+
1268
+ ```ts
1269
+ bitbossUi({
1270
+ components: {
1271
+ BbIcon: { sizeMap: { md: 20 } }, // xs, sm, lg, xl, 2xl unchanged
1272
+ BbDialog: { sizeMap: { lg: 720 } },
1273
+ },
1274
+ });
1275
+ ```
1276
+
1277
+ **4. A named scope for an area.** A settings page whose fields sit beside
1278
+ their labels, switched on by one wrapper:
1279
+
1280
+ ```ts
1281
+ bitbossUi({
1282
+ configScopes: {
1283
+ settings: { all: { layout: 'horizontal', inputPosition: 'right' } },
1284
+ },
1285
+ });
1286
+ ```
1287
+
1288
+ ```vue
1289
+ <template>
1290
+ <BbConfigScope name="settings">
1291
+ <BbTextInput v-model="name" label="Display name" name="name" />
1292
+ <BbSwitch v-model="digest" label="Weekly digest" name="digest" />
1293
+ </BbConfigScope>
1294
+ </template>
1295
+
1296
+ <script setup lang="ts">
1297
+ import { ref } from 'vue';
1298
+ import { BbConfigScope, BbSwitch, BbTextInput } from 'bitboss-ui';
1299
+
1300
+ const name = ref<string | null>('');
1301
+ const digest = ref(true);
1302
+ </script>
1303
+ ```
1304
+
1305
+ **5. An inline scope for one group.** A card of switches, compact and with the
1306
+ label first, without a name in the plugin config:
1307
+
1308
+ ```vue
1309
+ <template>
1310
+ <BbConfigScope :config="{ all: { compact: true, reverse: true } }">
1311
+ <BbSwitch v-model="email" label="Email" name="email" />
1312
+ <BbSwitch v-model="push" label="Push" name="push" />
1313
+ </BbConfigScope>
1314
+ </template>
1315
+
1316
+ <script setup lang="ts">
1317
+ import { ref } from 'vue';
1318
+ import { BbConfigScope, BbSwitch } from 'bitboss-ui';
1319
+
1320
+ const email = ref(true);
1321
+ const push = ref(false);
1322
+ </script>
1323
+ ```
1324
+
1325
+ Reuse a look → a named scope. One group → an inline one. Both nest; the
1326
+ [BbConfigScope guide](https://llms-bitboss-ui.bitboss.it/dist/ai/BbConfigScope.md) has the component's own details
1327
+ (overlays, directives, toasts and confirms inside a scope).
1328
+
1329
+ ### Which value wins
1330
+
1331
+ Per prop, the first that sets it:
1332
+
1333
+ 1. the instance's own prop (`:compact="false"` undoes a default for one),
1334
+ 2. the nearest `<BbConfigScope>`: its entry for the component, then its `all`
1335
+ (an inline `:config` sits on top of the same scope's `name`),
1336
+ 3. outer scopes, the same way,
1337
+ 4. the `components` map: the component's entry, then `all`,
1338
+ 5. the component's own default.
1339
+
1340
+ `pt` merges instead of winning: the map's, then each active scope's from the
1341
+ outermost in, then the instance's `class` / `pt` / `pt:*` (classes append, a
1342
+ conflicting utility is replaced, styles merge, attributes win; see
1343
+ [passthrough](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/passthrough.md)).
1344
+
1345
+ ### What an entry takes
1346
+
1347
+ Every key at every level is optional: write only what you change. The props
1348
+ (generated from the library's own table):
1349
+
1350
+ <!-- generated:config-props -->
1351
+
1352
+ - `adaptive` (also through `all`): `BbColorInput`, `BbColorPalette`, `BbDatePicker`, `BbDatePickerInput`, `BbDialog`, `BbDropdown`, `BbPopover`, `BbSelect`, `BbSelectPopover`, `BbTimePicker`, `BbTimePickerInput`
1353
+ - `autocomplete` (also through `all`): `BbColorInput`, `BbDatePickerInput`, `BbNumberInput`, `BbSelect`, `BbTag`, `BbTextInput`, `BbTextarea`, `BbTimePickerInput`
1354
+ - `block` (also through `all`): `BbButton`, `BbCheckboxGroup`, `BbDropdownButton`, `BbRadioGroup`, `BbTabs`
1355
+ - `compact` (also through `all`): `BbCheckbox`, `BbCheckboxGroup`, `BbColorInput`, `BbDatePickerInput`, `BbDropdown`, `BbNumberInput`, `BbRadio`, `BbRadioGroup`, `BbRating`, `BbSelect`, `BbSelectPopover`, `BbSlider`, `BbTable`, `BbTabs`, `BbTag`, `BbTextInput`, `BbTextarea`, `BbTimePickerInput`
1356
+ - `inputPosition` (also through `all`): `BbCheckbox`, `BbCheckboxGroup`, `BbRadio`, `BbRadioGroup`, `BbRating`
1357
+ - `itemLayout` (also through `all`): `BbCheckboxGroup`, `BbRadioGroup`
1358
+ - `itemReverse` (also through `all`): `BbCheckboxGroup`, `BbRadioGroup`
1359
+ - `labelMode` (also through `all`): `BbColorInput`, `BbDatePickerInput`, `BbNumberInput`, `BbSelect`, `BbSlider`, `BbTag`, `BbTextInput`, `BbTextarea`, `BbTimePickerInput`
1360
+ - `layout` (also through `all`): `BbCheckbox`, `BbCheckboxGroup`, `BbColorInput`, `BbDatePickerInput`, `BbNumberInput`, `BbRadio`, `BbRadioGroup`, `BbRating`, `BbSelect`, `BbSlider`, `BbTag`, `BbTextInput`, `BbTextarea`, `BbTimePickerInput`
1361
+ - `listLayout` (also through `all`): `BbCheckboxGroup`, `BbRadioGroup`
1362
+ - `reverse` (also through `all`): `BbCheckbox`, `BbCheckboxGroup`, `BbColorInput`, `BbDatePickerInput`, `BbNumberInput`, `BbRadio`, `BbRadioGroup`, `BbRating`, `BbSelect`, `BbSlider`, `BbTag`, `BbTextInput`, `BbTextarea`, `BbTimePickerInput`
1363
+ - `validationMode` (also through `all`): `BbCheckbox`, `BbCheckboxGroup`, `BbColorInput`, `BbDatePickerInput`, `BbDropzone`, `BbNumberInput`, `BbRadioGroup`, `BbRating`, `BbSelect`, `BbSlider`, `BbSwitch`, `BbSwitchGroup`, `BbTag`, `BbTextInput`, `BbTextarea`, `BbTimePickerInput`
1364
+ - `autoGrow`: `BbTextarea`
1365
+ - `disableAutoLoading`: `BbButton`
1366
+ - `disableFormatting`: `BbNumberInput`
1367
+ - `floating`: `BbDatePickerInput`
1368
+ - `fullscreen`: `BbDialog`
1369
+ - `hideClose`: `BbAlert`
1370
+ - `maxPrecision`: `BbNumberInput`
1371
+ - `nullValue` (app-wide only): `BbTextInput`, `BbTextarea`
1372
+ - `side`: `BbOffCanvas`
1373
+ - `size`: `BbBadge`, `BbButton`
1374
+ - `variant`: `BbBadge`, `BbButton`
1375
+
1376
+ <!-- /generated:config-props -->
1377
+
1378
+ The keys that are not props:
1379
+
1380
+ <!-- generated:config-keys -->
1381
+
1382
+ - `pt`: every component
1383
+ - `variants` (app-wide only): `BbAlert`, `BbBadge`, `BbButton`, `BbCheckboxGroup`, `BbColorInput`, `BbConfirm`, `BbDatePickerInput`, `BbDropdown`, `BbIndicator`, `BbNumberInput`, `BbRadioGroup`, `BbSelect`, `BbTabs`, `BbTag`, `BbTextInput`, `BbTextarea`, `BbTimePickerInput`, `BbToast`, `BbTooltip`
1384
+ - `sizeMap`: `BbAvatar`, `BbDialog`, `BbIcon`, `BbOffCanvas`, `BbRating`
1385
+ - `size`: `BbConfirm`
1386
+ - `position`: `BbToast`
1387
+ - only in `all`: `requiredAsterisk`, `autoDisableWritingThreshold`, `popoverOffset`
1388
+
1389
+ <!-- /generated:config-keys -->
1390
+
1391
+ The `all`-only settings:
1392
+
1393
+ - `requiredAsterisk` (default `true`): the red asterisk beside required
1394
+ fields' labels. Presentational only: outside a `BbForm` the `required`
1395
+ prop raises it; inside one a `required` rule, a key the `schema` requires,
1396
+ or the `required` prop. `false` turns it off. A control you build
1397
+ yourself (`useBbFormField`) renders the exported `BbAsterisk`.
1398
+ - `autoDisableWritingThreshold` (default `6`): an unset `disable-writing` on
1399
+ BbSelect / BbSelectPopover means `'auto'`, and an **array** `items` with
1400
+ **fewer** options than this (disabled ones count, group headers don't)
1401
+ opens without a search field, decided when the panel opens. A provider
1402
+ `items`, or a listener on `option:add`, keeps the field. `0` keeps every
1403
+ field; hiding or forcing one field is its own `disable-writing`.
1404
+ - `popoverOffset` (default `4`): the gap in px between every floating surface
1405
+ and its trigger; an instance's `offset` wins.
1406
+
1407
+ The MCP `get_component` answer lists the same keys per component (`config`).
1408
+
1409
+ ### App-wide only: `variants` and `nullValue`
1410
+
1411
+ A scope (named or inline) takes the whole map except these two, because both
1412
+ change **types**: the plugin writes the registered names and the empty-value
1413
+ policy into your project's `bitboss-ui.d.ts`, and TypeScript cannot know which
1414
+ scope a template sits in. In a scope they are a type error, and a build error
1415
+ (or a dev warning, inline) naming the path. A scope's size scales,
1416
+ `BbToast.position` and `BbConfirm.size` do apply to what is called inside it
1417
+ (a toast from `useToast()`, a confirm from `useConfirm()`).
1418
+
1419
+ **`nullValue`: what an emptied text field emits.** `BbTextInput` /
1420
+ `BbTextarea` emit `null` when they are emptied (typed empty, the clear button,
1421
+ an empty mask); `'string'` makes them emit `''`. Pick what your backend and
1422
+ your validation expect: with `'string'`, a schema such as
1423
+ `z.string().min(1, 'Required')` shows your message on an emptied field instead
1424
+ of the library's type error for `null` (see
1425
+ [validation-libraries](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/validation-libraries.md) § What needs a tweak). It
1426
+ changes only what an EMPTIED field emits: a field nobody touched keeps the
1427
+ value your page gave it, so in `'string'` mode start text values as `''`. With
1428
+ `nullValue: 'string'` the field's `update:modelValue` types as `string`
1429
+ (commit the regenerated `bitboss-ui.d.ts`); one field can still differ with its
1430
+ own `null-value` prop. Without the Vite plugin, write the augmentation by hand:
1431
+
1432
+ ```ts
1433
+ export {};
1434
+ declare module 'bitboss-ui' {
1435
+ interface EmptyStringControlRegistry {
1436
+ BbTextInput: true;
1437
+ BbTextarea: true;
1438
+ }
1439
+ }
1440
+ ```
1441
+
1442
+ ### A map in its own file
1443
+
1444
+ A real map grows; keep it beside `vite.config.ts` and type it with
1445
+ `satisfies`:
1446
+
1447
+ ```ts
1448
+ // bitboss-ui.components.ts
1449
+ import type { BbComponentsMap } from 'bitboss-ui/vite'; // 'bitboss-ui/nuxt' in a Nuxt app
1450
+
1451
+ export const components = {
1452
+ all: { compact: true },
1453
+ BbTextInput: { pt: { label: 'text-xs' } },
1454
+ } satisfies BbComponentsMap;
1455
+
1456
+ export const configScopes = {
1457
+ settings: { all: { layout: 'horizontal' } },
1458
+ } satisfies Record<string, BbComponentsMap<'scope'>>;
1459
+ ```
1460
+
1461
+ ```ts
1462
+ // vite.config.ts
1463
+ import { defineConfig } from 'vite';
1464
+ import { bitbossUi } from 'bitboss-ui/vite';
1465
+ import { components, configScopes } from './bitboss-ui.components';
1466
+
1467
+ export default defineConfig({
1468
+ plugins: [bitbossUi({ components, configScopes })],
1469
+ });
1470
+ ```
1471
+
1472
+ There, a `variant` takes any string while you type (nothing tells the type
1473
+ which names you registered); the build check reports a name no registry has.
1474
+
1475
+ ### What the build catches
1476
+
1477
+ The map ships as JSON inside the config module: **data only** (a function
1478
+ fails the build, naming the path) and **build-time only** (no per-app option,
1479
+ no `setConfig`; `useConfig().components` reports it). A key in the wrong place
1480
+ fails the build naming its home:
1481
+
1482
+ - `BbDialog: { sizes: … }` → the size scale is `sizeMap`;
1483
+ - `BbButton: { adaptive: … }` → BbButton has no `adaptive` prop (`all.adaptive`
1484
+ reaches only the components that do);
1485
+ - `all: { variants: … }` → `variants` belongs to one component;
1486
+ - a removed top-level option (`pt`, `variants`, `adaptive`, `toastPosition`, …)
1487
+ → its new path. Coming from those: the
1488
+ [migration guide](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/migration/v2-to-v3.md) § 6 item 142 has every one.
1489
+
1221
1490
  ## 7) Complete Option Reference
1222
1491
 
1223
1492
  Options are the same for `bitboss-ui/vite` and the `bitboss` key in Nuxt.
@@ -1286,56 +1555,15 @@ You do not add an `@layer` line to your own CSS — the plugin emits the
1286
1555
  declaration ahead of its rules. An invalid array, or a boolean, fails the build
1287
1556
  with a message containing a working replacement.
1288
1557
 
1289
- ### `pt?: PtGlobalMap` (default: `{}`)
1558
+ ### `components?: BbComponentsMap` (default: none)
1290
1559
 
1291
- The global passthrough map — what every instance of a component starts from,
1292
- keyed by component name, then by `part` or `part:state`:
1560
+ Per component its allowlisted prop defaults, `pt`, `variants` and
1561
+ `sizeMap`, plus `all`. See [The components map](#the-components-map).
1293
1562
 
1294
- ```ts
1295
- bitbossUi({
1296
- pt: {
1297
- BbButton: {
1298
- icon: 'text-slate-500',
1299
- 'icon:loading': { class: 'opacity-50', attrs: { 'data-track': 'busy' } },
1300
- },
1301
- },
1302
- });
1303
- ```
1563
+ ### `configScopes?: Record<string, BbComponentsMap<'scope'>>` (default: none)
1304
1564
 
1305
- Every component has an entry available — the parts and states of each are in
1306
- the passthrough guide's table (form controls share one family vocabulary, so
1307
- "every field box is square" is one line per control today). A per-instance
1308
- `pt` / `pt:<part>` merges after it: classes append (a conflicting utility is
1309
- replaced — see `passthroughDeduper`), styles merge, attributes win. It ships as JSON inside the config module, so it is
1310
- **data only** — a function anywhere in it fails the build, naming the path and
1311
- the per-instance form to bind the listener with instead. Component names and
1312
- part words are typed (wrap a map kept in its own file in `definePt`, exported
1313
- from `bitboss-ui/vite` and `bitboss-ui/nuxt`) and checked against the manifest
1314
- at build time. **Build-time only**: this option is the single source — there
1315
- is no per-app plugin option, no `setConfig`, and `useConfig().pt` is frozen.
1316
- Grammar, merge rules and the part/state vocabulary:
1317
- [passthrough](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/passthrough.md).
1318
-
1319
- ### `ptScopes?: Record<string, PtGlobalMap>` (default: none)
1320
-
1321
- Named maps with the same shape and rules as `pt`, applied only inside a
1322
- `<BbPtScope name="…">` subtree — a backoffice and a member area sharing every
1323
- component but not a look. Per key: `pt`, then the active scopes from the
1324
- outermost `<BbPtScope>` in, then the instance's `class` / `pt` / `pt:*`. The
1325
- names become the `BbPtScopeName` union `<BbPtScope name>` accepts, generated
1326
- when the dev server or a build runs. Order, nesting, overlays and where the
1327
- toast / confirm hosts go: [passthrough](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/passthrough.md) § Named scopes.
1328
-
1329
- ```ts
1330
- import { definePt } from 'bitboss-ui/vite';
1331
-
1332
- bitbossUi({
1333
- ptScopes: {
1334
- webapp: definePt({ BbButton: { root: 'rounded-full' } }),
1335
- backoffice: definePt({ BbButton: { root: 'rounded-md' } }),
1336
- },
1337
- });
1338
- ```
1565
+ Named config scopes, switched on by `<BbConfigScope name>`. See
1566
+ [The components map](#the-components-map).
1339
1567
 
1340
1568
  ### `injectDirectives?: boolean` (default: `true`)
1341
1569
 
@@ -1374,14 +1602,6 @@ It only touches passthrough classes — the component's own BEM classes are
1374
1602
  kept — and a class of yours shaped like a utility is treated as one. Details:
1375
1603
  [passthrough](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/passthrough.md) § Conflicting utilities.
1376
1604
 
1377
- ### `adaptive?: boolean` (default: `true`)
1378
-
1379
- Default for the `adaptive` prop of surface components (BbDialog, BbPopover, BbDropdown, BbSelect): when true they open as a bottom sheet on mobile (below `mobileMaxWidth`) instead of their floating surface. An explicit per-component `adaptive` prop always wins.
1380
-
1381
- ### `autoDisableWritingThreshold?: number` (default: `6`)
1382
-
1383
- The select family (BbSelect and BbSelectPopover) hides the search field under this many options by default: an unset `disable-writing` means `'auto'`, and an **array** `items` with **fewer** options than the threshold (disabled options count, group headers don't) opens without a field — decided when the panel opens and held until it closes. A provider (function) `items`, or a consumer listening to `option:add`, always keeps the field. A non-negative integer — the build fails on anything else. Set `autoDisableWritingThreshold: 0` to keep every search field (the behaviour before `'auto'`). There is deliberately no global "hide every search field" option: hiding or forcing a field is the per-instance `disable-writing` (`true` / `false` / `'mobile'` / `'desktop'`), which always wins over `'auto'`.
1384
-
1385
1605
  ### `vscodeSettings?: boolean` (default: `true`)
1386
1606
 
1387
1607
  When `true`, the **dev server** writes three editor hints into the project's `.vscode/settings.json` on boot:
@@ -1402,55 +1622,55 @@ The write is idempotent (it happens at most once per missing entry) and splice-b
1402
1622
  "className",
1403
1623
  "ngClass",
1404
1624
  "class:list",
1405
- "pt(?::[\\w-]+)*"
1625
+ "pt(?::[\\w&-]+)*"
1406
1626
  ],
1407
1627
  "tailwindCSS.experimental.classRegex": [
1408
1628
  [
1409
- "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w-]+)*\\s*=\\s*\"([\\s\\S]*?)\"",
1629
+ "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*\"([\\s\\S]*?)\"",
1410
1630
  "\\?\\s*'([^\\s':][^']*)'"
1411
1631
  ],
1412
1632
  [
1413
- "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w-]+)*\\s*=\\s*\"([\\s\\S]*?)\"",
1633
+ "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*\"([\\s\\S]*?)\"",
1414
1634
  "'([^\\s':][^']*)'(?!\\s*:)"
1415
1635
  ],
1416
1636
  [
1417
- "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w-]+)*\\s*=\\s*\"([\\s\\S]*?)\"",
1637
+ "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*\"([\\s\\S]*?)\"",
1418
1638
  "\\?\\s*\"([^\\s\":][^\"]*)\""
1419
1639
  ],
1420
1640
  [
1421
- "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w-]+)*\\s*=\\s*\"([\\s\\S]*?)\"",
1641
+ "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*\"([\\s\\S]*?)\"",
1422
1642
  "\"([^\\s\":][^\"]*)\"(?!\\s*:)"
1423
1643
  ],
1424
1644
  [
1425
- "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w-]+)*\\s*=\\s*\"([\\s\\S]*?)\"",
1645
+ "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*\"([\\s\\S]*?)\"",
1426
1646
  "\\?\\s*`([^\\s`:][^`]*)`"
1427
1647
  ],
1428
1648
  [
1429
- "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w-]+)*\\s*=\\s*\"([\\s\\S]*?)\"",
1649
+ "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*\"([\\s\\S]*?)\"",
1430
1650
  "`([^\\s`:][^`]*)`(?!\\s*:)"
1431
1651
  ],
1432
1652
  [
1433
- "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w-]+)*\\s*=\\s*'([\\s\\S]*?)'",
1653
+ "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*'([\\s\\S]*?)'",
1434
1654
  "\\?\\s*'([^\\s':][^']*)'"
1435
1655
  ],
1436
1656
  [
1437
- "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w-]+)*\\s*=\\s*'([\\s\\S]*?)'",
1657
+ "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*'([\\s\\S]*?)'",
1438
1658
  "'([^\\s':][^']*)'(?!\\s*:)"
1439
1659
  ],
1440
1660
  [
1441
- "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w-]+)*\\s*=\\s*'([\\s\\S]*?)'",
1661
+ "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*'([\\s\\S]*?)'",
1442
1662
  "\\?\\s*\"([^\\s\":][^\"]*)\""
1443
1663
  ],
1444
1664
  [
1445
- "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w-]+)*\\s*=\\s*'([\\s\\S]*?)'",
1665
+ "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*'([\\s\\S]*?)'",
1446
1666
  "\"([^\\s\":][^\"]*)\"(?!\\s*:)"
1447
1667
  ],
1448
1668
  [
1449
- "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w-]+)*\\s*=\\s*'([\\s\\S]*?)'",
1669
+ "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*'([\\s\\S]*?)'",
1450
1670
  "\\?\\s*`([^\\s`:][^`]*)`"
1451
1671
  ],
1452
1672
  [
1453
- "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w-]+)*\\s*=\\s*'([\\s\\S]*?)'",
1673
+ "(?:^|[\\s:(])(?:v-bind:)?pt(?::[\\w&-]+)*\\s*=\\s*'([\\s\\S]*?)'",
1454
1674
  "`([^\\s`:][^`]*)`(?!\\s*:)"
1455
1675
  ],
1456
1676
  ["\\bpt\\s*:\\s*\\{([\\s\\S]*?)\\}", "\\?\\s*'([^\\s':][^']*)'"],
@@ -1551,51 +1771,6 @@ renders its `adaptive` surfaces from the live width from its first render. On
1551
1771
  a phone, give that app the same mobile answer on the server, or accept one
1552
1772
  mismatch warning in dev.
1553
1773
 
1554
- ### `defaultInputLabelMode?: 'outside' | 'floating' | 'inside'` (default: `'outside'`)
1555
-
1556
- Default label rendering mode for input-like components; set globally instead of repeating per field.
1557
-
1558
- ### `requiredAsterisk?: boolean` (default: `true`)
1559
-
1560
- Marks required fields with a red asterisk beside the label/legend. Presentational only — it changes neither validation nor native `required` semantics. The marker is applied by the form controls (see [Validated Forms](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/validated-forms.md)) — outside a `BbForm` a field with the `required` prop; inside one a field whose `rules` contain a `required` rule or whose key the `schema` requires or that has the `required` prop, which there is a hint and checks nothing; other rules never raise it, because they only apply once a value exists. Set `false` to turn the marker off app-wide. A control you build yourself (`useBbFormField`) renders the exported `BbAsterisk` in its own label content.
1561
-
1562
- ### `formControls?: { textInputNullValue?: 'null' | 'string'; textareaNullValue?: 'null' | 'string'; validationMode?: ValidationMode }` (default: `'null'`, `'null'`, `'balanced'`)
1563
-
1564
- What an emptied `BbTextInput` / `BbTextarea` emits (typed empty, the clear
1565
- button, an empty mask), as a policy: `'null'`, the default, emits `null`;
1566
- `'string'` emits `''`. Pick what your backend and your validation expect.
1567
- With `'string'`, a schema such as
1568
- `z.string().min(1, 'Required')` shows your message on an emptied field
1569
- instead of the library's type error for `null` — see
1570
- [validation-libraries](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/validation-libraries.md) § What needs a tweak. Set it
1571
- once here, or per app with `app.use(bitbossUiPlugin, { formControls: { … } })`
1572
- (merged key by key). It changes only what an EMPTIED field emits: a field
1573
- nobody touched keeps the value your page gave it, so in `'string'` mode start
1574
- text values as `''`.
1575
-
1576
- The policy set in the Vite plugin also reaches the types: with
1577
- `textInputNullValue: 'string'` the plugin registers `BbTextInput` in the project's
1578
- `bitboss-ui.d.ts` (`EmptyStringControlRegistry`), and its `update:modelValue`
1579
- payload types as `string` instead of `string | null` (likewise for
1580
- `BbTextarea`). Commit the regenerated file. Without the Vite plugin, write the
1581
- same augmentation by hand:
1582
-
1583
- ```ts
1584
- export {};
1585
- declare module 'bitboss-ui' {
1586
- interface EmptyStringControlRegistry {
1587
- BbTextInput: true;
1588
- BbTextarea: true;
1589
- }
1590
- }
1591
- ```
1592
-
1593
- `app.use(bitbossUiPlugin, { formControls })` changes only the runtime, so keep
1594
- it the same as the Vite option, or the types describe the other policy. One
1595
- field can differ from the app with the `null-value` prop, same values
1596
- (`null-value="string"` or `null-value="null"`), which types that field's
1597
- payload the same way.
1598
-
1599
1774
  ### `locale?: LocaleKey` (default: `'en'`)
1600
1775
 
1601
1776
  The default is English: an Italian app sets `locale: 'it'`.
@@ -1674,7 +1849,7 @@ server, and it type-checks.
1674
1849
 
1675
1850
  ### Locales
1676
1851
 
1677
- One fixed list (owner ruling, 2026-10-07). A bare language is its default
1852
+ One fixed list. A bare language is its default
1678
1853
  region (CLDR likely subtags): `it` is `it-IT`, `de` `de-DE`, `en` `en-US`, `pt`
1679
1854
  `pt-BR`, `zh` `zh-CN` (Simplified).
1680
1855
 
@@ -1707,45 +1882,42 @@ ships. A code that is not on the list is a type error, and
1707
1882
  `en-GB`).
1708
1883
 
1709
1884
  There is no `additionalLocales` option and no `npx bitboss-ui locale` blueprint
1710
- generator — both were removed deliberately (owner ruling, 2026-08-08). If your
1885
+ generator — both were removed deliberately. If your
1711
1886
  language or region is not on the list, the supported answer is to ask for it
1712
1887
  to be added upstream rather than to author a dictionary in your app.
1713
1888
 
1714
1889
  Locale selection is **build-time**: `enabledLocales` decides what ships, and
1715
1890
  only the active `locale` switches at runtime, among what the build enabled.
1716
1891
 
1717
- ### `toastPosition?: BbToastPosition` (default: `'bottom-right'`)
1718
-
1719
- Default viewport corner for toasts when the toast names no `position` of its own. One of `'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right'`. (It replaces the removed `<BbToast position>` prop.)
1720
-
1721
- ### `confirm?: { defaultSize?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' }` (default: `{}`)
1722
-
1723
- Settings of the confirm dialog `<BbHost />` renders. `defaultSize` is the maximum width of every confirm, a `dialogDefaultSizes` preset; a per-call `confirm({ size })` wins, and unset leaves the dialog default (`'sm'`). Set it here, or per app with `app.use(bitbossUiPlugin, { confirm: { defaultSize: 'lg' } })`, merged key by key. (It replaces the removed `<BbConfirm size>` prop.)
1724
-
1725
- ### `iconDefaultSizes?: Partial<Sizes>`
1892
+ ### Variant registries: `components.<C>.variants`
1726
1893
 
1727
- Default icon size scale used by `BbIcon` and avatar dimensions. Partial overrides merge onto:
1894
+ Each component's `variants` registers your own variant names for it:
1728
1895
 
1729
- `{ xs: 12, sm: 16, md: 24, lg: 28, xl: 36, '2xl': 40 }`
1730
-
1731
- ### `dialogDefaultSizes?: Partial<Sizes>`
1732
-
1733
- ### `offCanvasDefaultSizes?: Partial<Sizes>`
1734
-
1735
- Global size maps (pixels) for BbDialog / BbOffCanvas. Both default to:
1736
-
1737
- `{ xs: 320, sm: 384, md: 448, lg: 512, xl: 576, '2xl': 672 }`
1738
-
1739
- Provide only the keys you want to override, e.g. `dialogDefaultSizes: { md: 500, xl: 680 }`.
1740
-
1741
- ### Variant registries
1896
+ ```ts
1897
+ bitbossUi({
1898
+ components: {
1899
+ BbButton: { variants: ['brand'] },
1900
+ BbBadge: { variants: ['soft-green', 'soft-red'] },
1901
+ BbDropdown: { variants: ['warning'] },
1902
+ BbTextInput: { variants: ['filled'] },
1903
+ },
1904
+ });
1905
+ ```
1742
1906
 
1743
- Each option **appends** custom names to the default set (trimmed, deduplicated). Unstyled custom variants only add a class hook — supply their CSS yourself. `toastVariants` and `alertVariants` also take an object form that sets a default icon per variant (see below the table).
1907
+ Each entry **appends** custom names to that component's default set (trimmed,
1908
+ deduplicated). Unstyled custom variants only add a class hook — supply their
1909
+ CSS yourself. `BbDropdown`'s are the menu rows' variants; each text-like field
1910
+ registers its own (`BbTextInput`, `BbSelect`, … one entry each); `BbConfirm`'s
1911
+ are the confirm dialog's. `BbToast` and `BbAlert` also take an object form
1912
+ that sets a default icon per variant (see below the table). Siblings share:
1913
+ `BbDropdownButton` takes BbButton's and BbDropdown's, `BbTabsList` BbTabs',
1914
+ `v-bb-tooltip` BbTooltip's. The names are app-wide: a config scope picks a
1915
+ default `variant` among them, never a set of its own.
1744
1916
 
1745
1917
  **The types come from one file in your project: `bitboss-ui.d.ts`. Commit
1746
1918
  it.** The plugin writes it when the dev server starts, on `vite build`, and
1747
1919
  under Vitest, from your `bitbossUi()` options: your custom variant names, the
1748
- enabled locales, and your `ptScopes` names. It lands next to your first script
1920
+ enabled locales, and your `configScopes` names. It lands next to your first script
1749
1921
  entry (`resources/js/bitboss-ui.d.ts` in a Laravel app), else in `src/`, else
1750
1922
  at the Vite root (`app/` under Nuxt 4); the `dts` option moves it, or
1751
1923
  `dts: false` turns it off. Commit it with the config change, and a teammate's
@@ -1754,17 +1926,17 @@ or Sail container agree, because the file lives in the project tree they
1754
1926
  share; nothing about types is read from `node_modules`.
1755
1927
 
1756
1928
  - **Built-in variants need no file.** They are declared in the package.
1757
- - **Custom variants, narrowed locales and `ptScopes` need the committed file.**
1929
+ - **Custom variants, narrowed locales and `configScopes` need the committed file.**
1758
1930
  Without it, a custom name fails exactly like a typo
1759
1931
  (`Type '"brand"' is not assignable to type 'ButtonVariantType'`).
1760
1932
  **`npx bitboss-ui check` writes it too**, without starting Vite: after you
1761
1933
  register a name in `vite.config.*` / `nuxt.config.*`, run `check` and the
1762
1934
  name type-checks (it reads the variant options when they are an inline
1763
- object of string literals, and leaves the locales and `ptScopes` as the
1935
+ object of string literals, and leaves the locales and `configScopes` as the
1764
1936
  plugin last wrote them). The next dev start completes the file. Commit it.
1765
- - **With no `ptScopes` at all**, every `<BbPtScope name>` is rejected, and the
1766
- error text says so: `not assignable to type 'bitboss-ui: no ptScopes
1767
- configured — …'`.
1937
+ - **With no `configScopes` at all**, every `<BbConfigScope name>` is
1938
+ rejected, and the error text says so: `not assignable to type 'bitboss-ui:
1939
+ no configScopes configured — …'`.
1768
1940
  - The plugin rewrites the file only when its names change, so a formatter that
1769
1941
  restyles it does not cause churn. It prints one line when it writes, and
1770
1942
  warns once if the file sits outside your TypeScript project (then point `dts`
@@ -1813,37 +1985,37 @@ variant names) and commit it. CI that type-checks before building needs that
1813
1985
  commit. Coming from an older beta that wrote files under `node_modules/bitboss-ui/`:
1814
1986
  see [Migration 3.0 betas](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/migration/v3-beta-tooling.md#install-and-plugin-setup).
1815
1987
 
1816
- | Option | Defaults | Class hook for custom entries |
1817
- | ---------------------- | ------------------------------------------------------- | ----------------------------------- |
1818
- | `buttonVariants` | `primary, outline, secondary, ghost, destructive, link` | `bb-button--<name>` |
1819
- | `alertVariants` | `outline, primary, destructive, warning` | `bb-alert--<name>` |
1820
- | `badgeVariants` | `primary, secondary, destructive, outline` | `bb-badge--<name>` |
1821
- | `indicatorVariants` | `default, success, info, warning, destructive` | `bb-indicator--<name>` |
1822
- | `confirmVariants` | `default, destructive` | `bb-confirm--<name>` |
1823
- | `dropdownItemVariants` | `default, destructive` | `bb-dropdown__item--variant-<name>` |
1824
- | `tooltipVariants` | `default, destructive` | `bb-tooltip--<name>` |
1825
- | `toastVariants` | `default, success, info, warning, destructive` | `bb-toast__panel--<name>` |
1826
- | `inputVariants` | `outline, secondary, ghost` | `bb-field-input--<name>` |
1827
- | `tabsVariants` | `pill, line, none` | `bb-tabs-list--<name>` |
1828
- | `radioVariants` | `pill, line` | `bb-radio-group__list--<name>` |
1829
- | `checkboxVariants` | `pill, line` | `bb-checkbox-group__list--<name>` |
1830
-
1831
- `toastVariants` and `alertVariants` also take an object, keyed by name, that
1988
+ | Entry `variants` of | Defaults | Class hook for custom entries |
1989
+ | ----------------------------------------- | ------------------------------------------------------- | ----------------------------------- |
1990
+ | `BbButton` | `primary, outline, secondary, ghost, destructive, link` | `bb-button--<name>` |
1991
+ | `BbAlert` | `outline, primary, destructive, warning` | `bb-alert--<name>` |
1992
+ | `BbBadge` | `primary, secondary, destructive, outline` | `bb-badge--<name>` |
1993
+ | `BbIndicator` | `default, success, info, warning, destructive` | `bb-indicator--<name>` |
1994
+ | `BbConfirm` | `default, destructive` | `bb-confirm--<name>` |
1995
+ | `BbDropdown` | `default, destructive` | `bb-dropdown__item--variant-<name>` |
1996
+ | `BbTooltip` | `default, destructive` | `bb-tooltip--<name>` |
1997
+ | `BbToast` | `default, success, info, warning, destructive` | `bb-toast__panel--<name>` |
1998
+ | `BbTextInput`, `BbSelect`, … (each field) | `outline, secondary, ghost` | `bb-field-input--<name>` |
1999
+ | `BbTabs` | `pill, line, none` | `bb-tabs-list--<name>` |
2000
+ | `BbRadioGroup` | `pill, line, outline` | `bb-radio-group__list--<name>` |
2001
+ | `BbCheckboxGroup` | `pill, line, outline` | `bb-checkbox-group__list--<name>` |
2002
+
2003
+ `BbToast` and `BbAlert` `variants` also take an object, keyed by name, that
1832
2004
  sets each variant's icon for the whole app:
1833
- `toastVariants: { success: { icon: 'lucide:circle-check' }, billing: {} }`.
2005
+ `components: { BbToast: { variants: { success: { icon: 'lucide:circle-check' }, billing: {} } } }`.
1834
2006
  A toast or alert without its own `icon` uses its variant's, and `hideIcon` /
1835
2007
  `hide-icon` hides either ([BbToast § Variant icons](https://llms-bitboss-ui.bitboss.it/dist/ai/BbToast.md),
1836
2008
  [BbAlert § Variant icons](https://llms-bitboss-ui.bitboss.it/dist/ai/BbAlert.md)).
1837
2009
 
1838
- `tabsVariants` is the `variant` prop of `BbTabs` / `BbTabsList` (the class
1839
- lands on the strip). Like `inputVariants`, a custom entry is a **token block,
2010
+ `BbTabs`' `variants` are the `variant` prop of `BbTabs` / `BbTabsList` (the class
2011
+ lands on the strip). Like a field's, a custom entry is a **token block,
1840
2012
  not a rule set**: the shipped looks are presets of the strip's own custom
1841
2013
  properties (`--list-bg`, `--list-border`, `--trigger-gap`, `--active-fg`,
1842
2014
  `--active-fw`, `--indicator-bg`, `--indicator-h`, …), and a registered name
1843
2015
  sets the same ones —
1844
2016
 
1845
2017
  ```css
1846
- /* a registered `tabsVariants: ['brand-line']` — an underline in the brand colour */
2018
+ /* a registered `components: { BbTabs: { variants: ['brand-line'] } }` — an underline in the brand colour */
1847
2019
  .bb-tabs-list--brand-line {
1848
2020
  --list-bg: transparent;
1849
2021
  --list-border: var(--bb-border);
@@ -1861,7 +2033,7 @@ sets the same ones —
1861
2033
  The `BbTabs` guide (_Variants_) has the whole token table and two more
1862
2034
  recipes (`soft`, `outline`).
1863
2035
 
1864
- `radioVariants` and `checkboxVariants` are the `variant` prop of
2036
+ `BbRadioGroup`'s and `BbCheckboxGroup`'s `variants` are the `variant` prop of
1865
2037
  `BbRadioGroup` / `BbCheckboxGroup`: the group as a tab strip (the class lands
1866
2038
  on the group's list). The tokens are named and valued as the tab strip's, but
1867
2039
  they are the groups' own: a tab-strip variant does not restyle a choice strip.
@@ -1869,15 +2041,16 @@ A registered name is the same kind of token block on
1869
2041
  `.bb-radio-group__list--<name>` / `.bb-checkbox-group__list--<name>`; a
1870
2042
  checkbox one draws a pill per run of adjacent picks, as `pill` does.
1871
2043
 
1872
- `inputVariants` is the `variant` prop of the eight text-like controls
1873
- (`BbTextInput`, `BbTextarea`, `BbNumberInput`, `BbSelect`, `BbTag`,
1874
- `BbDatePickerInput`, `BbTimePickerInput`, `BbColorInput`). Its class hook is
1875
- the shared field box, and a custom entry is a **token block, not a rule set**:
2044
+ A text-like control's `variants` (`BbTextInput`, `BbTextarea`,
2045
+ `BbNumberInput`, `BbSelect`, `BbTag`, `BbDatePickerInput`,
2046
+ `BbTimePickerInput`, `BbColorInput`: one entry each, registered on that
2047
+ control alone) are its `variant` prop. Their class hook is the shared field
2048
+ box, and a custom entry is a **token block, not a rule set**:
1876
2049
  the box's geometry (height, padding, border width) never changes with the
1877
2050
  variant, so a variant only assigns the look variables the box reads —
1878
2051
 
1879
2052
  ```css
1880
- /* a registered `inputVariants: ['brand']` */
2053
+ /* a registered `components: { BbTextInput: { variants: ['brand'] } }` */
1881
2054
  .bb-field-input--brand {
1882
2055
  --bg: color-mix(in oklab, var(--bb-primary) 8%, var(--bb-panel));
1883
2056
  --bg-hover: color-mix(in oklab, var(--bb-primary) 12%, var(--bb-panel));
@@ -1967,6 +2140,7 @@ Every rule in `recommended`, in one line each. The whole list with the long expl
1967
2140
  - `require-slot-key` (warn): a computed slot name (`#[column.key]`) on `BbTable` and the other per-key slot components, over keys the rule cannot see, not spelled through `slotKey`. Fix: `#[slotKey(column.key)]`, or ``#[`${slotKey(column.key)}:header`]``.
1968
2141
  - `items-provider-context` (error) and `items-provider-reason` (warn): a positional `items` provider, and a provider that compares `reason` with one cause. Fix: take the one context object `({ query, reason, modelValue, signal })`, and check `reason !== 'search'`.
1969
2142
  - `require-partner-prop`: an opt-in prop set without its required partner (`loading-text` without `loading`, `method` without `href`). Fix: add the partner.
2143
+ - `no-conflicting-props`: two props that replace each other set together (`BbSlider` `items` beside `step` / `min` / `max`). Fix: remove the one you did not mean.
1970
2144
 
1971
2145
  `bitboss-ui check` has one finding with no ESLint twin, `object-items-without-text`: object `items` with no `item-text` where an item has neither `label` nor `text`. Fix: give each item a `label`, or set `item-text`. Two hints (a hand-rolled avatar or spinner) are advisory in `check` only.
1972
2146
 
@@ -2011,7 +2185,7 @@ leave it alone with no configuration, as long as they can see it is yours:
2011
2185
  - [ ] if a reset is required: `resetCss: true` or `import 'bitboss-ui/reset.css'`;
2012
2186
  - [ ] Inertia apps: `@inertiajs/vue3` installed (no link registration needed; set `inertiaLinkName` only if you register your own link wrapper).
2013
2187
  - [ ] building the [Layout Scaffold](https://llms-bitboss-ui.bitboss.it/dist/ai/recipes/vue/layout-scaffold.md)? `npm i @vueuse/core` — `usePageShellContext.ts` imports `injectLocal`/`provideLocal` from it. This library depends on it too, so it can resolve via hoisting without being declared — don't rely on that; declare it in your own `package.json` or a strict installer (pnpm, Yarn PnP) will fail to resolve it.
2014
- - [ ] `vite.config.ts` (and any other build config, e.g. `eslint.config.js`) is inside your project's type-check scope — a `tsconfig.node.json` project reference is the conventional shape. Otherwise `bitbossUi(...)`'s typed options (`locale`, the `*Variants` registries, `iconDefaultSizes`, …) are never checked by `vue-tsc --noEmit`, silently defeating the compile-time guarantees this guide documents (e.g. "selecting a non-enabled locale is a compile error").
2188
+ - [ ] `vite.config.ts` (and any other build config, e.g. `eslint.config.js`) is inside your project's type-check scope — a `tsconfig.node.json` project reference is the conventional shape. Otherwise `bitbossUi(...)`'s typed options (`locale`, the `*Variants` registries, `components.BbIcon.sizeMap`, …) are never checked by `vue-tsc --noEmit`, silently defeating the compile-time guarantees this guide documents (e.g. "selecting a non-enabled locale is a compile error").
2015
2189
  - [ ] `vue-tsc` is **3.x** (`npx vue-tsc --version`). On 2.x the template type-checker cannot read props off the generic-function declarations this library emits for `BbSelect`, `BbSelectPopover`, `BbTable`, `BbTabs`, `BbTree`, `BbRadioGroup`, `BbCheckboxGroup`, `BbSwitchGroup` and `BbForm`, so their props go **entirely unchecked** — missing, misspelled and wrongly-typed props all pass — while unknown-component checking and every non-generic component keep erroring normally, which is exactly why a 2.x gate reads as healthy. See "Known-good toolchain" in [1) Install](#1-install). `npx bitboss-ui check` warns when `package.json` pins a `vue-tsc` below 3.
2016
2190
  - [ ] `tsconfig.json` sets `"vueCompilerOptions": { "strictTemplates": true, "strictVModel": true, "dataAttributes": ["data-*"] }`. Without `strictTemplates` Vue Language Tools 3 lets an unknown ATTRIBUTE through on any component — a misspelt prop, a `pt:icno` — with no error; with it every `Bb*` template attribute is checked against the declared props (`pt:<part>` and `pt:<part>:<state>` included) and the attributes of the element it lands on (`aria-*`, `id`, `@click`… — an `<input>`-only attribute on a field's root still errors). `strictVModel`: a `v-model` ref must take every value the component emits. An emptied text field reports `null`, so type its ref `string | null`; a date, time, slider or dropzone model follows `range` / `multiple`; your own `defineModel<T>()` without a default emits `T | undefined`, so give it a default or widen the ref. `dataAttributes`: Vue's element types carry no `data-*`, not even on a plain `<div>`. The ESLint rule catches the same misspellings, but only where it runs. `npx bitboss-ui ai-init` prints this set as a suggestion and never writes it: turning it on can surface errors in your own templates to fix first.
2017
2191
  - [ ] Loosening a child of a strict base `tsconfig`: `"strictTemplates": false` alone keeps the checks it turned on (they are inherited and only defaulted from it). Set `checkUnknownProps`, `checkUnknownEvents`, `checkUnknownDirectives` and `checkUnknownComponents` to `false` there too.
@@ -2078,6 +2252,7 @@ over the app (report-only).
2078
2252
  | Numeric value with clamping/stepping | [BbNumberInput](https://llms-bitboss-ui.bitboss.it/dist/ai/BbNumberInput.md) |
2079
2253
  | Color value in a form | [BbColorInput](https://llms-bitboss-ui.bitboss.it/dist/ai/BbColorInput.md) |
2080
2254
  | Calendar date or date range | [BbDatePickerInput](https://llms-bitboss-ui.bitboss.it/dist/ai/BbDatePickerInput.md) |
2255
+ | An ISO week (a delivery week, a sprint) | [BbDatePickerInput](https://llms-bitboss-ui.bitboss.it/dist/ai/BbDatePickerInput.md) with `type="week"` |
2081
2256
  | Month or year (a reporting period) | [BbDatePickerInput](https://llms-bitboss-ui.bitboss.it/dist/ai/BbDatePickerInput.md) with `type="month"` / `type="year"` |
2082
2257
  | A calendar shown in place (no popover) | [BbCalendar](https://llms-bitboss-ui.bitboss.it/dist/ai/BbCalendar.md) — same `v-model` / `type` / `range` as the picker |
2083
2258
  | Time or time range | [BbTimePickerInput](https://llms-bitboss-ui.bitboss.it/dist/ai/BbTimePickerInput.md) |
@@ -2166,7 +2341,7 @@ A lone `BbRadio` is an escape hatch only — for a plain stacked group use `BbRa
2166
2341
 
2167
2342
  **BbAlert vs BbToast:** `BbToast` for _what just happened_ (saved, copied, uploaded — transient, floating, self-dismissing, fired via `useToast`); `BbAlert` for _the current state of the page_ (form error summary, quota banner — in normal document flow, stays until read or dismissed).
2168
2343
 
2169
- **BbAlert takes its body from the default slot**, like the rest of the `text`-prop family: `<BbAlert>Something went wrong</BbAlert>`. `text` as a prop is for when a string is all you have; `#text` wins over both. (Before 2026-08-07 children rendered nothing at all — if you are reading older code that passes `text=` everywhere, that is why.)
2344
+ **BbAlert takes its body from the default slot**, like the rest of the `text`-prop family: `<BbAlert>Something went wrong</BbAlert>`. `text` as a prop is for when a string is all you have; `#text` wins over both. (The early v3 prereleases rendered nothing from children — if you are reading older code that passes `text=` everywhere, that is why.)
2170
2345
 
2171
2346
  **BbBadge vs BbTag vs BbIndicator:** `BbTag` _creates_ tokens (an input); `BbBadge` _displays_ tokens — passive by default, removable with `clearable` (renders a clear button), and interactive when a `BbBadgeButton` is slotted into it (the body becomes a real button/link; combine with `clearable` for the press-to-edit / ×-to-remove filter chip); `BbIndicator` pins a count/dot _over_ another element.
2172
2347
 
@@ -2289,7 +2464,7 @@ compose it or write it yourself.
2289
2464
  | `BbWorkspaceSwitcher` / `BbTeamSwitcher` / `BbAccountSwitcher` / org, tenant or project switcher | Does not exist as a component — it is a [BbDropdown](https://llms-bitboss-ui.bitboss.it/dist/ai/BbDropdown.md) pattern: a row for the current record whose submenu is a `selectable` (single), `searchable`, fetched group bound to the current id with `<BbDropdownGroup v-model>`. Carry each record to the slots with `meta` (`itemProps: (w) => ({ meta: w })`) and draw it with `#<groupId>:item:prepend`, so the other rows keep their icons. See BbDropdown.md § Rows that stand for records. |
2290
2465
  | `BbCommand` / command palette | Does not exist. Compose `BbDialog` + `BbSelectPopover` — do not hand-roll the search: [BbSelectPopover § A ⌘K command palette](https://llms-bitboss-ui.bitboss.it/dist/ai/BbSelectPopover.md#a-k-command-palette) is the worked example (⌘K / Ctrl+K, grouped server results, debouncing and race protection from the popover, navigation per platform). |
2291
2466
  | `BbSeatMap` / `BbSeatPicker` / `BbSeatGrid` / a seat map, desk or parking-bay picker | Does not exist, on purpose (a niche need), and there is no recipe for it. Build it in your app as a WAI-ARIA grid with one tab stop (roving `tabindex`, arrow keys move between positions) styled with the library tokens; do not give every seat its own tab stop. |
2292
- | `BbCalendar` as a scheduling / events view | [BbCalendar](https://llms-bitboss-ui.bitboss.it/dist/ai/BbCalendar.md) is the picker's calendar rendered in place — a value control (day, range, set, month, year, datetime), not an events grid. Put per-day content in its `#day` / `#day:append` slots; an agenda or booking board is your own layout around it. |
2467
+ | `BbCalendar` as a scheduling / events view | [BbCalendar](https://llms-bitboss-ui.bitboss.it/dist/ai/BbCalendar.md) is the picker's calendar rendered in place — a value control (day, range, set, week, month, year, datetime), not an events grid. Put per-day content in its `#day` / `#day:append` slots; an agenda or booking board is your own layout around it. |
2293
2468
  | `BbDataTable` / `BbDataGrid` / data grid | It is [BbTable](https://llms-bitboss-ui.bitboss.it/dist/ai/BbTable.md) — sorting, selection, column order/resize, virtual scrolling and inline edit all live there. |
2294
2469
  | `filter` / `filter-method` prop on BbTable, column filters | No `filter` prop, and its absence is not a missing feature. A filter is an input to the FETCH: put your filter state in `dependencies` and the provider refetches (debounced, value-hashed, races discarded). Per-column filter UI goes in `#<key>:header:append`, which keeps the built-in sort button. A whole filtered listing is the records-workspace recipe. Client-side over a plain array, use a computed: `:items="filteredItems"`. See [BbTable](https://llms-bitboss-ui.bitboss.it/dist/ai/BbTable.md) § Filtering. |
2295
2470
  | `BbSnackbar` / `BbNotification` / flash message | It is [BbToast](https://llms-bitboss-ui.bitboss.it/dist/ai/BbToast.md), raised through the `useToast` composable. |
@@ -2562,9 +2737,9 @@ What the shared names mean (shadcn-style vocabulary):
2562
2737
  | `none` | Blank start for one-off styling; recurs → register a variant |
2563
2738
 
2564
2739
  Projects can register extra variants through the Vite/Nuxt plugin
2565
- (`buttonVariants`, `badgeVariants`, `alertVariants`, `confirmVariants`,
2566
- `dropdownItemVariants`, `tooltipVariants`, `toastVariants`, `inputVariants`,
2567
- `tabsVariants`, `radioVariants`, `checkboxVariants` options).
2740
+ (`components.BbButton.variants`, `components.BbBadge.variants`, `components.BbAlert.variants`, `components.BbConfirm.variants`,
2741
+ `components.BbDropdown.variants`, `components.BbTooltip.variants`, `components.BbToast.variants`, each field's `components.<C>.variants`,
2742
+ `components.BbTabs.variants`, `components.BbRadioGroup.variants`, `components.BbCheckboxGroup.variants` options).
2568
2743
  Registered names become typed values, but the library ships no CSS for them —
2569
2744
  the project styles `.bb-button--<name>` (etc.) itself, following the state
2570
2745
  recipe in [design-tokens.md](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/design-tokens.md).
@@ -2640,6 +2815,29 @@ property.
2640
2815
  hardcodes it for both schemes, and the bug surfaces as "dark mode looks wrong"
2641
2816
  months later.
2642
2817
 
2818
+ ### Replacing the look
2819
+
2820
+ When a component should look like your design system rather than a re-skin
2821
+ of ours, replace the paint and keep the behaviour, in three layers:
2822
+
2823
+ 1. **Tokens first.** The theme knobs (`--bb-primary`, `--bb-radius`, the
2824
+ surfaces) and the component's own locals (`--bg`, `--fg`, `--r`, `--px`)
2825
+ carry everything every state reads; set them before writing any class.
2826
+ 2. **`variant="none"` for a blank start.** On the families that have it
2827
+ (`BbButton`, `BbDropdownButton`, `BbBadge`, `BbTabs`, the text-like form
2828
+ controls) it renders no variant class: structure, focus, keyboard, states
2829
+ and the `pt` parts stay, the variant's colours go.
2830
+ 3. **Utilities on the parts.** Your classes through `pt` (or `class` on the
2831
+ root) paint what is left; on Tailwind v4 set `cssLayers` (above) so a
2832
+ utility beats the component's own rule.
2833
+
2834
+ A look that recurs becomes a registered variant (`components.BbButton.variants`, …) with
2835
+ its rule in your stylesheet, not the same `pt` strings on every instance. A
2836
+ dialog's or off-canvas's backdrop is the native `::backdrop`, with no node
2837
+ and no `pt` part: its dim and blur are `--bb-overlay`, `--bb-overlay-above`
2838
+ and `--bb-overlay-blur`, set on `:root` or a `.bb-theme` island
2839
+ ([design-tokens.md](https://llms-bitboss-ui.bitboss.it/dist/ai/guides/design-tokens.md)).
2840
+
2643
2841
  ## Using color
2644
2842
 
2645
2843
  **Reach for color more than the monochrome default suggests — but make it mean
@@ -2682,7 +2880,7 @@ Keep it **soft and calm**:
2682
2880
  | A removable/error tag | **BbBadge** `destructive` (soft); neutral tags use `secondary` / `outline` |
2683
2881
  | A form field that needs attention but isn't invalid | any form control's **`warnings`** / **`hasWarnings`** props — see below |
2684
2882
 
2685
- ### Meters, ramps, gauges — the project owns every hue (ruled 2026-07-30)
2883
+ ### Meters, ramps, gauges — the project owns every hue
2686
2884
 
2687
2885
  The library ships **no** status-color vocabulary for your UI beyond
2688
2886
  `--bb-danger`, `--bb-warn`, and `--bb-text-warn` (which exist for its own
@@ -2699,7 +2897,7 @@ dark-mode-aware), applied through the component's CSS hooks — e.g.
2699
2897
  `--bb-text-warn` for the low end of
2700
2898
  a ramp is fine if the project chooses to — they are ordinary custom properties —
2701
2899
  but that choice, and its contrast, belongs to the project. Do not wait for, or
2702
- invent, a library token for the positive end: there isn't one, by ruling.
2900
+ invent, a library token for the positive end: there isn't one, by design.
2703
2901
 
2704
2902
  ### Warning input state
2705
2903
 
@@ -2798,7 +2996,7 @@ or button vocabulary. So:
2798
2996
  `bb-badge--warning`, **without registering it first** — an unregistered name
2799
2997
  type-errors now, and before the registries existed it shipped no CSS at all
2800
2998
  (the real "warning badge" hallucination that rendered an unstyled pill).
2801
- - **Do** register the name via the plugin (`badgeVariants` / `buttonVariants`),
2999
+ - **Do** register the name via the plugin (`components.BbBadge.variants` / `components.BbButton.variants`),
2802
3000
  then style `.bb-badge--<name>` in a **project stylesheet kept separate from the
2803
3001
  library defaults** — the plugin makes the name type-check; you own its CSS.
2804
3002
  Follow the soft recipe above. That is the permanent path — a first-class
@@ -2837,13 +3035,17 @@ option):
2837
3035
  ```ts
2838
3036
  // vite.config.ts
2839
3037
  bitbossUi({
2840
- badgeVariants: [
2841
- 'soft-gray',
2842
- 'soft-blue',
2843
- 'soft-green',
2844
- 'soft-amber',
2845
- 'soft-red',
2846
- ],
3038
+ components: {
3039
+ BbBadge: {
3040
+ variants: [
3041
+ 'soft-gray',
3042
+ 'soft-blue',
3043
+ 'soft-green',
3044
+ 'soft-amber',
3045
+ 'soft-red',
3046
+ ],
3047
+ },
3048
+ },
2847
3049
  });
2848
3050
  ```
2849
3051
 
@@ -2932,7 +3134,7 @@ Surface components (`BbDialog`, `BbPopover`, `BbDropdown`, `BbSelect`,
2932
3134
  accept an `adaptive` prop: on mobile viewports the surface
2933
3135
  renders as a bottom sheet (`BbOffCanvas`) instead of a floating
2934
3136
  popover/dialog. The global default comes from the plugin config
2935
- (`config.adaptive`); the prop overrides it per component. Guidance:
3137
+ (`all.adaptive`); the prop overrides it per component. Guidance:
2936
3138
 
2937
3139
  - Leave `adaptive` unset unless the user asks otherwise — the project default
2938
3140
  is usually right.
@@ -3120,6 +3322,7 @@ Every public component. Open one contract at `https://llms-bitboss-ui.bitboss.it
3120
3322
  - **BbCollapsible** — Toggles visibility of collapsible content blocks.
3121
3323
  - **BbColorInput** — Captures color values through input controls.
3122
3324
  - **BbColorPalette** — Opens an anchored popover color palette for color picking interactions.
3325
+ - **BbConfigScope** — Renderless provider that switches on a named config scope (`configScopes` in the plugin config) for its subtree: its `pt` entries and prop defaults (or an inline `:config`) (a backoffice and a member area with different looks in one app).
3123
3326
  - **BbConfirmPortal** — Registers named slot content that confirm() renders via `portal`; slot `{ data, yes, no }`.
3124
3327
  - **BbDatePicker** — Opens an anchored calendar (and optional time rail) popover on a trigger you own — the date analog of BbColorPalette; also the v-bb-date directive.
3125
3328
  - **BbDatePickerInput** — Combines date selection with text input behavior.
@@ -3140,7 +3343,6 @@ Every public component. Open one contract at `https://llms-bitboss-ui.bitboss.it
3140
3343
  - **BbPopover** — Anchors floating content to reference elements; also the v-bb-popover directive (its body is a BbPopoverPortal or a component).
3141
3344
  - **BbPopoverPortal** — Registers named slot content that `v-bb-popover="'name'"` (or `{ portal: 'name' }`) renders in the popover; slot `{ data, close }`.
3142
3345
  - **BbProgress** — Visualizes task or operation progress state.
3143
- - **BbPtScope** — Renderless provider that switches on a named passthrough scope (`ptScopes` in the plugin config) for its subtree — a backoffice and a member area with different looks in one app.
3144
3346
  - **BbRadio** — Represents a single choice in exclusive options.
3145
3347
  - **BbRadioGroup** — Coordinates exclusive selection among radio options.
3146
3348
  - **BbRating** — Collects scalar ratings through interactive icons.