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
@@ -36,6 +36,8 @@
36
36
  | `--r` | `pt:icon` | `BbBaseCheckboxIcon` | The checkbox corner, capped by the master radius so a zero- or small-radius theme reaches it. Not `--bb-radius-sm`: that tier is 4.8px at the shipped radius and this glyph ships at 4px. |
37
37
  | `--ring-color` | `pt:icon` | `BbBaseCheckboxIcon` | The focus ring's colour, re-pointed by errors and warnings. Both ring declarations read it, so a focused glyph grows its ring in its own colour instead of tweening from a different one. |
38
38
  | `--elev` | `pt:icon` | `BbBaseCheckboxIcon` | Resting lift; a no-op until a theme pins `--bb-elev`. |
39
+ | `--bw` | `pt:icon` | `BbBaseCheckboxIcon` | The box's border width: the nested hairline, like the switch track. |
40
+ | `--t` | `pt:icon` | `BbBaseCheckboxIcon` | State-change time: the fill fade and the check / dash drawing in. |
39
41
  | `--bg` | `pt:icon` | `BbBaseCheckboxIcon` | The glyph plate. DECLARED here, not consumed bare, because this glyph renders inside surfaces that declare `--bg` themselves — a table row or header cell, a dialog, an off-canvas sheet. Without the declaration it would inherit that surface's fill, which happens to match at the shipped default and would diverge the moment anyone writes `.my-table { --bg: … }`. Identical to the raw tokens it replaces at every theme. |
40
42
  | `--border-color` | `pt:icon` | `BbBaseCheckboxIcon` | Resting border colour of the glyph; re-pointed by error and warning states. |
41
43
  | `--ctrl-line` | `pt:label` | `CommonField` | Where the control's first line is centred, from the top of the control column (half the box height by default); the label's first line aligns to it in side-by-side layouts. |
@@ -60,6 +62,8 @@
60
62
  | `--indicator-inset` | `pt:list`, `pt:item`, `pt:label`, `pt:itemDescription` | `OptionsContainer` | Inset of the indicator from the trigger box — shrinks the pill; a bar keeps its thickness, shortens by it at both ends and floats it above the edge |
61
63
  | `--elev` | `pt:list`, `pt:item`, `pt:label`, `pt:itemDescription` | `OptionsContainer` | The theme's resting lift, composed UNDER the indicator's own shadow |
62
64
  | `--indicator-shadow` | `pt:list`, `pt:item`, `pt:label`, `pt:itemDescription` | `OptionsContainer` | Indicator lift, painted on top of --elev |
65
+ | `--divider` | `pt:list`, `pt:item`, `pt:label`, `pt:itemDescription` | `OptionsContainer` | The frame and the lines between the segments |
66
+ | `--hover-bg` | `pt:list`, `pt:item`, `pt:label`, `pt:itemDescription` | `OptionsContainer` | An unpicked segment under the pointer |
63
67
 
64
68
  ## Usage & Guidelines
65
69
 
@@ -391,12 +395,13 @@ disabling it.
391
395
 
392
396
  - `list-layout` arranges the **options** within the fieldset: `'horizontal'`
393
397
  (the default — a wrapping row, for compact filter bars), `'vertical'` (a
394
- stack, each row its own width), `'vertical-stretch'` (a stack, each row as
395
- wide as the list) or `'tiles'` (equal-size boxes that wrap as the field
396
- narrows; `pt:list="[--tile-min-width:160px]"` sets how narrow one gets).
398
+ stack, each row its own width) or `'tiles'` (equal-size boxes that wrap as
399
+ the field narrows; `pt:list="[--tile-min-width:160px]"` sets how narrow one
400
+ gets). `block` gives the rows the list's full width: on a line they share it
401
+ equally, stacked each row is as wide as the list.
397
402
  - `item-layout` arranges **each row** — its input against its label — with the
398
403
  same keywords as `layout`; `item-reverse` swaps the two. A settings list is
399
- `list-layout="vertical-stretch" item-layout="label-fill" item-reverse`: the
404
+ `list-layout="vertical" block item-layout="label-fill" item-reverse`: the
400
405
  label takes the row, the input sits at the trailing edge.
401
406
  `item-input-align` / `item-label-align` (`top | center | bottom`) aim each
402
407
  row's cells vertically, as in the switch group's settings list; the field's
@@ -440,13 +445,14 @@ so the count sits on the trailing edge:
440
445
  </div>
441
446
  <BbCheckboxGroup
442
447
  v-model="statuses"
448
+ block
443
449
  hide-legend
444
450
  item-layout="label-fill"
445
451
  item-text="name"
446
452
  item-value="id"
447
453
  :items="options"
448
454
  legend="Status"
449
- list-layout="vertical-stretch"
455
+ list-layout="vertical"
450
456
  name="status"
451
457
  pt:item="rounded-[calc(var(--bb-radius)-4px)] px-2 py-1.5 hover:bg-(--bb-muted)"
452
458
  pt:label="text-sm"
@@ -469,7 +475,7 @@ import { BbButton, BbCheckboxGroup } from 'bitboss-ui';
469
475
 
470
476
  type Status = { id: string; name: string; count: number };
471
477
 
472
- // A filter facet. `list-layout="vertical-stretch"` makes every row as wide as
478
+ // A filter facet. `list-layout="vertical" block` makes every row as wide as
473
479
  // the panel (the whole row is the hit area, so the hover wash reads as one
474
480
  // target) and `item-layout="label-fill"` hands the label cell the free space,
475
481
  // so a flex row inside the `#label` slot pushes the count to the trailing
@@ -649,7 +655,8 @@ const total = computed(() =>
649
655
 
650
656
  #### Pick values with the tabs look
651
657
 
652
- `variant="pill"` or `variant="line"` gives the group a tab strip's look, for a
658
+ `variant="pill"`, `variant="line"` or `variant="outline"` gives the group a
659
+ tab strip's look, for a
653
660
  multi-pick that reads as a strip (opening days, channels, filters). `pill`
654
661
  draws one pill per run of adjacent picks, so Mon–Wed reads as one block, and
655
662
  each pill then lives on: ticking a neighbour stretches it, unticking an end
@@ -657,18 +664,21 @@ option shortens it, unticking a middle option splits it (the hole opens in
657
664
  place), a lone pick pops a new pill in, and a pill whose options are all
658
665
  unticked shrinks to its centre and fades. Two pills that come to touch stay
659
666
  two pills, drawn as one shape. `line` draws a bar under each pick across a baseline that spans the field;
660
- adjacent bars join. The strip and its triggers measure exactly as BbTabs'.
667
+ adjacent bars join. `outline` sets outline buttons side by side, each pick
668
+ filled with the primary colour (adjacent picks fill as one block). The strip
669
+ and its triggers measure exactly as BbTabs'.
661
670
  It is still a checkbox group (native checkboxes, `max`, forms, validation);
662
671
  the box is hidden (an `icon` slot shows before the label) and the strip
663
672
  never wraps (it scrolls); `list-layout="vertical"` stacks it into a column
664
- (runs stack on the Y axis), `"vertical-stretch"` spans the field, and the
665
- other layouts and `item-layout` do not apply. `pt:indicator` reaches every
666
- pill or bar, and `pt:<part>:pill` / `pt:<part>:line` style a part in one look
667
- only. The strip's tokens are its own, named and valued as a tab strip's. A
673
+ (runs stack on the Y axis), `block` spans the field (the triggers share its
674
+ width equally on a row), and the other layouts and `item-layout` do not
675
+ apply. `pt:indicator` reaches every pill, bar or filled run, and
676
+ `pt:<part>:pill` / `pt:<part>:line` / `pt:<part>:outline` style a part in one
677
+ look only. The strip's tokens are its own, named and valued as a tab strip's. A
668
678
  strip has no `size`: it is `--bb-control-h` tall like a field (`compact` drops
669
679
  it to 28px), and you size it with `--list-h`, `--list-r`, `--fs`, `--p` and
670
680
  `--trigger-px` on `.bb-checkbox-group__list--strip`; beside an `sm` button that
671
- is `pt:list="[--list-h:24px] [--fs:12px] [--p:2px]"`. A registered `checkboxVariants: ['brand']` sets them on
681
+ is `pt:list="[--list-h:24px] [--fs:12px] [--p:2px]"`. A registered `components: { BbCheckboxGroup: { variants: ['brand'] } }` sets them on
672
682
  `.bb-checkbox-group__list--brand` and draws pills per run, as `pill` does.
673
683
 
674
684
  **Pick values with the tabs look**
@@ -775,7 +785,7 @@ There is **no `required` prop** on `BbCheckboxGroup` (unlike `BbRadioGroup`).
775
785
  For "pick at least one" inside a `BbForm`, write `rules="required"` (or require
776
786
  the key in the `schema`): the `required` rule fails on an empty array, so an
777
787
  empty selection blocks submit with the rule's message, and the legend shows the
778
- asterisk when the plugin's `requiredAsterisk` is on
788
+ asterisk when the plugin's `all.requiredAsterisk` is on
779
789
  ([BbForm § Required markers](./BbForm.md#required-markers)). Outside a form
780
790
  there is no rule and no marker: check the selection yourself and pass `errors` /
781
791
  `has-errors`, as above.
@@ -904,7 +914,7 @@ enforcement can empty the array but never throws.
904
914
  Per-option, `#label` replaces an option's text (receives `{ item, text, checked }`)
905
915
  and `#icon` replaces the **entire box visual** for that option (you then own its
906
916
  checked/focus/error styling). `#legend` replaces the fieldset legend
907
- (`{ text, hasErrors, hasWarnings }`; plus `showAsterisk`, true only inside a `BbForm` whose schema/rules mark the field required (e.g. `rules="required"`) while the app has `requiredAsterisk` on; outside a form it is always false because the group has no `required` prop). `#prepend` / `#append` inject content inside the options
917
+ (`{ text, hasErrors, hasWarnings }`; plus `showAsterisk`, true only inside a `BbForm` whose schema/rules mark the field required (e.g. `rules="required"`) while the app has `all.requiredAsterisk` on; outside a form it is always false because the group has no `required` prop). `#prepend` / `#append` inject content inside the options
908
918
  container, before the first / after the last box.
909
919
 
910
920
  ### Events and focus
@@ -1069,9 +1079,10 @@ for a preset that fits any row type (never `<any>`), not an imported
1069
1079
 
1070
1080
  | Prop | Type | Default | Required | Description |
1071
1081
  | --- | --- | --- | --- | --- |
1072
- | `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `description`, `hint`, `icon`, `indicator`, `item`, `itemDescription`, `label`, `legend`, `list`, `message`, `root`. States: `disabled`, `errors`, `hasValue`, `line`, `loading`, `pill`, `readonly`, `warnings`, `checked`, `focused`, `focusVisible`. What each one is: _Passthrough parts and states_ below. `pt` is the object form with the same keys minus the prefix (`{ icon: '…', 'icon:loading': '…' }`). See `guides/passthrough.md`. In `<script>` a `pt` value is typed `BbCheckboxGroupProps<Row>['pt']` (`BbCheckboxGroupProps<object>['pt']` for a preset that fits any row type, never `<any>`) (`PtValue` is not exported): § Typing `pt` in `<script>`. |
1082
+ | `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `description`, `hint`, `icon`, `indicator`, `item`, `itemDescription`, `label`, `legend`, `list`, `message`, `root`. States: `disabled`, `errors`, `hasValue`, `line`, `loading`, `outline`, `pill`, `readonly`, `warnings`, `checked`, `focused`, `focusVisible`. What each one is: _Passthrough parts and states_ below. `pt` is the object form with the same keys minus the prefix (`{ icon: '…', 'icon:loading': '…' }`). See `guides/passthrough.md`. In `<script>` a `pt` value is typed `BbCheckboxGroupProps<Row>['pt']` (`BbCheckboxGroupProps<object>['pt']` for a preset that fits any row type, never `<any>`) (`PtValue` is not exported): § Typing `pt` in `<script>`. |
1073
1083
  | `autofocus` | `Booleanish \| undefined` | | | Focuses the field when it mounts (a dialog already open included), unless the user is typing in another field. |
1074
- | `compact` | `boolean \| undefined` | `false` | | Compact density. Swaps `--bb-label-spacing-y` for `--bb-label-spacing-y-compact`, so tune a compact group's label gap with the `-compact` token, not the base one. |
1084
+ | `block` | `boolean \| undefined` | `undefined` | | The rows take the list's full width: on a line (`horizontal`, a `variant` strip) they share it equally, stacked (`vertical`) each row is full width. Every look: plain rows, `pill`, `line`, `outline`. |
1085
+ | `compact` | `boolean \| undefined` | `undefined` | | Compact density. Swaps `--bb-label-spacing-y` for `--bb-label-spacing-y-compact`, so tune a compact group's label gap with the `-compact` token, not the base one. |
1075
1086
  | `dependencies` | `unknown[] \| undefined` | | | Defines an array of dependencies that will trigger actions in the component upon change. |
1076
1087
  | `depsDebounceTime` | `number \| undefined` | | | Timeout used to debounce response to changes to dependencies. |
1077
1088
  | `description` | `string \| undefined` | | | Text between the label and the input. Unlike the hint it is always visible; it joins the input's `aria-describedby` after any `errors` / `warnings`, before the `hint`. |
@@ -1088,12 +1099,12 @@ for a preset that fits any row type (never `<any>`), not an imported
1088
1099
  | `hint` | `string \| undefined` | | | Text box to be displayed near the input, usually to indicate instructions. |
1089
1100
  | `id` | `string \| undefined` | | | Prefix for the ids of each option's input and of the label, description and message. Generated when omitted. |
1090
1101
  | `inputAlign` | `'top'` \| `'center'` \| `'bottom'` | | | Vertical position of the control in a side-by-side row; not `inputPosition`, the horizontal one. Omitted, the control's first line meets the label's. |
1091
- | `inputPosition` | `"left" \| "center" \| "right" \| undefined` | `"left"` | | Sets the alignment of the input. Since inputs are inline block they can be aligned just as text can. |
1102
+ | `inputPosition` | `"center" \| "left" \| "right" \| undefined` | `'left'` | | Sets the alignment of the input. Since inputs are inline block they can be aligned just as text can. |
1092
1103
  | `itemInputAlign` | `'top'` \| `'center'` \| `'bottom'` | | | Vertical position of each option's control in its row; `'center'` is the middle of the label plus its description. Omitted, it sits on the label's first line. |
1093
1104
  | `itemLabelAlign` | `'top'` \| `'center'` \| `'bottom'` | | | Vertical position of each option's label in its row. Omitted, it stays as it is. |
1094
1105
  | `itemLayout` | `FieldLayout \| undefined` | `'auto'` | | How each row's input and label sit together, in the `layout` keywords: `'auto'`, `'vertical'`, `'horizontal'`, `'label-fill'`, `'input-fill'`, or a two-word ratio pattern like `'xx xxxxx'`. |
1095
1106
  | `itemProps` | `BbOptionGroupItemProps<T> \| undefined` | | | ADDITIONAL row fields, never the text or value: `description`, a muted line under the label (it may wrap; announced as the option's description). An object of paths or getters, or a function of the item; nothing is read implicitly. |
1096
- | `itemReverse` | `boolean \| undefined` | `false` | | Swaps each row's input and label from their natural order (input first), in every `item-layout`. `reverse` swaps the legend and the options instead. |
1107
+ | `itemReverse` | `boolean \| undefined` | `undefined` | | Swaps each row's input and label from their natural order (input first), in every `item-layout`. `reverse` swaps the legend and the options instead. |
1097
1108
  | `items` | `T[] \| ((context: BbCheckboxGroupItemsContext) => T[] \| Promise<T[]>)` | | yes | The options: an array, or a provider called with a `BbCheckboxGroupItemsContext` (`BbSwitchGroupItemsContext` on a switch group) (`reason`, `modelValue`, `signal`), sync or async. A provider fails by THROWING, never by returning `[]`: the rows clear and `#empty` gets the `error`. |
1098
1109
  | `itemText` | `ItemAccessor<T, string> \| undefined` | `own `label`, else `text`, else `JSON.stringify(item)`` | | Defines a path that returns a property of the object to use as text or a function that returns a string. Unset: own `label`, else `text` (`{ label, value }` needs no accessor). |
1099
1110
  | `itemValue` | `ItemAccessor<T> \| undefined` | `own `value`, else the whole item` | | Defines a path that returns a property of the object to use as value or a function that returns any value. Unset: own `value`, even `null`. |
@@ -1101,8 +1112,8 @@ for a preset that fits any row type (never `<any>`), not an imported
1101
1112
  | `layout` | `Responsive<FieldLayout> \| undefined` | | | How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`). |
1102
1113
  | `legend` | `string` | | yes | Text content of the legend. |
1103
1114
  | `legendMode` | `"outside" \| "inside" \| undefined` | | | Legend rendering mode. `'outside'` renders the legend above the fieldset in the normal flow; `'inside'` overlays the legend inside the fieldset border. Floating mode is not supported for option groups (checkbox, radio or switch) — there is no single field for the legend to float against. |
1104
- | `legendPosition` | `"left" \| "center" \| "right" \| undefined` | | | Sets the text alignment of the label. |
1105
- | `listLayout` | `'horizontal'` \| `'vertical'` \| `'vertical-stretch'` \| `'tiles'` | `'horizontal'` | | How the rows sit in the list: `'horizontal'` (on a line, wrapping), `'vertical'` (stacked), `'vertical-stretch'` (stacked, as wide as the list) or `'tiles'` (equal boxes; `--tile-min-width` on `pt:list` sets the narrowest). |
1115
+ | `legendPosition` | `"center" \| "left" \| "right" \| undefined` | | | Sets the text alignment of the label. |
1116
+ | `listLayout` | `'horizontal'` \| `'vertical'` \| `'tiles'` | `'horizontal'` | | How the rows sit in the list: `'horizontal'` (on a line, wrapping), `'vertical'` (stacked) or `'tiles'` (equal boxes; `--tile-min-width` on `pt:list` sets the narrowest). `block` makes the rows full width. |
1106
1117
  | `loadingText` | `string \| undefined` | | | String displayed while items are being loaded. |
1107
1118
  | `max` | `number \| undefined` | | | Maximum number of selected items. |
1108
1119
  | `modelValue` | `any` | | | Used by v-model. Can be an array of any serializable type. |
@@ -1111,12 +1122,12 @@ for a preset that fits any row type (never `<any>`), not an imported
1111
1122
  | `name` | `string \| undefined` | | | Defines the name of the input. |
1112
1123
  | `persistentHint` | `boolean \| undefined` | `false` | | Keeps the hint displayed. |
1113
1124
  | `readonly` | `boolean \| undefined` | `false` | | Sets the input in a readonly state. |
1114
- | `reverse` | `boolean \| undefined` | `false` | | Reverses the layout. Applicable in every direction the order of the label and the input is swapped. |
1125
+ | `reverse` | `boolean \| undefined` | `undefined` | | Reverses the layout. Applicable in every direction the order of the label and the input is swapped. |
1115
1126
  | `rules` | `RuleExpression<any>` | | | vee-validate rules for this field. Only inside a `BbForm`. |
1116
1127
  | `selectable` | `boolean \| ((item: T) => boolean) \| undefined` | `true` | | Defines whether options are selectable. Can be a global boolean that affects all options or a function that accepts an item and returns a boolean that only affects that item. Non-selectable options are rendered disabled. |
1117
1128
  | `validationLabel` | `string \| undefined` | | | The field's name in validation messages (`{field}`): "Email is not valid". Defaults to the `label` (or `legend`), then "This field"; never the `name`. Set it when the label is hidden or reads badly in a sentence (icon-only, a question). `BbForm` only. |
1118
- | `validationMode` | `'aggressive'` \| `'balanced'` \| `'lazy'` \| `'submit-only'` \| `'submit-live'` | | | When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `formControls.validationMode` (`'balanced'`). `BbForm` only. |
1119
- | `variant` | `'pill'` \| `'line'` | | | A tab-strip look (Q76.11 d): `'pill'` (a pill per run of adjacent picks) or `'line'` (a bar under each pick). `list-layout="vertical"` stacks it. Register more with `checkboxVariants`. Unset: the group's own rows. |
1129
+ | `validationMode` | `'aggressive'` \| `'balanced'` \| `'lazy'` \| `'submit-only'` \| `'submit-live'` | | | When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `all.validationMode` (`'balanced'`). `BbForm` only. |
1130
+ | `variant` | `'outline'` \| `'pill'` \| `'line'` | | | A tab-strip look: `'pill'` (a pill per run of adjacent picks) or `'line'` (a bar under each pick). `list-layout="vertical"` stacks it. Register more with `components.BbCheckboxGroup.variants`. Unset: the group's own rows. |
1120
1131
  | `warnings` | `string \| string[] \| undefined` | | | Warning messages under the field, a string or array: amber, in their own `aria-live` region and in the control's `aria-describedby` after the errors. Non-empty turns on the warning state; errors win when both are set. |
1121
1132
 
1122
1133
  ## Passthrough parts and states
@@ -1151,6 +1162,7 @@ States are listed in precedence order: when two are on at once and their entries
1151
1162
  | `focusVisible` | Per row, on the row parts: that option's focus is keyboard-visible — where a focus ring belongs. |
1152
1163
  | `loading` | Component-wide: the items are being fetched. |
1153
1164
  | `line` | On every part: `variant: 'line'`. Below the real states, like every variant. |
1165
+ | `outline` | On every part: `variant: 'outline'`. Below the real states, like every variant. |
1154
1166
  | `pill` | On every part: `variant: 'pill'`. Merged after the part's base entry and before its states, so the real states still win. |
1155
1167
 
1156
1168
  ## Events
@@ -1220,6 +1232,21 @@ Set these on the element, or on a class you put on it, to retune this component
1220
1232
  | `--indicator-h` | `.bb-checkbox-group__list--line` | `2px` | |
1221
1233
  | `--indicator-shadow` | `.bb-checkbox-group__list--line` | `none` | |
1222
1234
  | `--elev` | `.bb-checkbox-group__list--line` | `none` | |
1235
+ | `--list-bg` | `.bb-checkbox-group__list--outline` | `var(--bb-outline)` | |
1236
+ | `--list-border` | `.bb-checkbox-group__list--outline` | `transparent` | |
1237
+ | `--p` | `.bb-checkbox-group__list--outline` | `0px` | |
1238
+ | `--trigger-r` | `.bb-checkbox-group__list--outline` | `0px` | |
1239
+ | `--trigger-px` | `.bb-checkbox-group__list--outline` | `12px` | |
1240
+ | `--list-fg` | `.bb-checkbox-group__list--outline` | `var(--bb-outline-fg)` | |
1241
+ | `--hover-fg` | `.bb-checkbox-group__list--outline` | `var(--bb-outline-fg)` | |
1242
+ | `--active-fg` | `.bb-checkbox-group__list--outline` | `var(--bb-primary-fg)` | |
1243
+ | `--active-fw` | `.bb-checkbox-group__list--outline` | `500` | |
1244
+ | `--indicator-bg` | `.bb-checkbox-group__list--outline` | `var(--bb-primary)` | |
1245
+ | `--indicator-border` | `.bb-checkbox-group__list--outline` | `transparent` | |
1246
+ | `--indicator-r` | `.bb-checkbox-group__list--outline` | `0px` | |
1247
+ | `--indicator-shadow` | `.bb-checkbox-group__list--outline` | `none` | |
1248
+ | `--divider` | `.bb-checkbox-group__list--outline` | `var(--bb-outline-border)` | The frame and the lines between the segments |
1249
+ | `--hover-bg` | `.bb-checkbox-group__list--outline` | `var(--bb-outline-hover)` | An unpicked segment under the pointer |
1223
1250
 
1224
1251
  ## Component tree
1225
1252
 
@@ -1232,7 +1259,7 @@ Set these on the element, or on a class you put on it, to retune this component
1232
1259
 
1233
1260
  - `BbCheckboxGroup` _(this component)_ — its own template binds: `indicator` → `span.bb-checkbox-group__indicator`, `icon` → `BbBaseCheckboxIcon`
1234
1261
  - `CommonField` _(internal — not importable, reach it through `BbCheckboxGroup`)_ — `BbCheckboxGroup`'s pt parts land here: `root` → `div.bb-field`, `label` → `component`, `description` → `span.bb-field__description`, `hint` → `span.bb-field__hint`, `counter` → `span.bb-field__counter`, `message` → `div.bb-field__message`; documented CSS variables: `--ctrl-line`; also mounts `BbAsterisk`
1235
- - `OptionsContainer` _(internal — not importable, reach it through `BbCheckboxGroup`)_ — `BbCheckboxGroup`'s pt parts land here: `list` → `span`, `item` → `label`, `label` → `span`, `itemDescription` → `span`; documented CSS variables: `--list-bg`, `--list-border`, `--p`, `--list-r`, `--list-h`, `--fs`, `--trigger-gap`, `--trigger-px`, `--trigger-r`, `--trigger-min-h`, `--list-fg`, `--hover-fg`, `--active-fg`, `--active-fw`, `--indicator-bg`, `--indicator-border`, `--indicator-r`, `--indicator-h`, `--indicator-inset`, `--elev`, `--indicator-shadow`
1262
+ - `OptionsContainer` _(internal — not importable, reach it through `BbCheckboxGroup`)_ — `BbCheckboxGroup`'s pt parts land here: `list` → `span`, `item` → `label`, `label` → `span`, `itemDescription` → `span`; documented CSS variables: `--list-bg`, `--list-border`, `--p`, `--list-r`, `--list-h`, `--fs`, `--trigger-gap`, `--trigger-px`, `--trigger-r`, `--trigger-min-h`, `--list-fg`, `--hover-fg`, `--active-fg`, `--active-fw`, `--indicator-bg`, `--indicator-border`, `--indicator-r`, `--indicator-h`, `--indicator-inset`, `--elev`, `--indicator-shadow`, `--divider`, `--hover-bg`
1236
1263
  - Also mounts `BbBaseCheckboxIcon`
1237
1264
 
1238
1265
  ## See Also
@@ -43,7 +43,7 @@
43
43
  | `--border-focus` | `pt:box` | `CommonFieldInput` | frame while focused, or --active |
44
44
  | `--ring-size` | `pt:box` | `CommonFieldInput` | ring width; 0 is a variant declining the ring |
45
45
  | `--ring-color` | `pt:box` | `CommonFieldInput` | ring colour; state owns it, not variants |
46
- | `--elev` | `pt:box` | `CommonFieldInput` | Resting lift, alone in `box-shadow`: the ring is the box's outline (Q81.6), so a theme's `--elev: none` never takes the ring with it. |
46
+ | `--elev` | `pt:box` | `CommonFieldInput` | Resting lift, alone in `box-shadow`: the ring is the box's outline, so a theme's `--elev: none` never takes the ring with it. |
47
47
  | `--frost` | `pt:box` | `CommonFieldInput` | Plate frost — a full `backdrop-filter` value (see --bb-surface-filter). Routed through a local rather than read from the token directly, so a chrome-less variant can decline it: frosting a ghost field gives it the plate it is contractually not supposed to have. |
48
48
  | `--inside-label-clearance` | `pt:box`, `pt:prefix`, `pt:suffix` | `CommonFieldInput` | Height and top padding added above the text for a label rendered inside the box. Zero here; the `--inside-label` rules at the bottom of this file raise it to one label line, or two with a description. |
49
49
  | `--w` | `pt:icon` | `BbIcon` | `--w` is set inline by BbIcon from the size prop. The `initial` default seals it: without it an ancestor's `--w` (e.g. a dropdown's width bridge) would inherit in and size the icon. The `--size` indirection stays so higher-specificity rules (e.g. `.bb-badge .bb-icon`) can re-point it. |
@@ -450,7 +450,7 @@ const chart = ref<string | null>('#3b82f6');
450
450
 
451
451
  ### Adaptive mobile sheet
452
452
 
453
- With `adaptive` (default: global `config.adaptive`, which is `true`), the
453
+ With `adaptive` (default: global `all.adaptive`, which is `true`), the
454
454
  picker opened from the swatch dot becomes a **bottom off-canvas sheet** on
455
455
  mobile viewports (below `config.mobileMaxWidth`) instead of a floating popover
456
456
  — same canvas, sliders, swatches and eyedropper, stretched to the sheet's
@@ -512,7 +512,7 @@ affordance, the focus ring still shows, and errors or warnings surface through
512
512
  the icon and the message rather than a tinted edge. `ghost` is the inline-edit
513
513
  table cell (`<BbColorInput compact hide-label variant="ghost" />`) — no
514
514
  `:deep()` needed. The names and tokens are the `BbButton` ones; extra names
515
- register through the plugin's `inputVariants` option. The full ladder is in
515
+ register through the plugin's each field's `components.<C>.variants` option. The full ladder is in
516
516
  the `BbTextInput` guide.
517
517
 
518
518
  ### Restyling with passthrough
@@ -682,14 +682,14 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
682
682
 
683
683
  | Prop | Type | Default | Required | Description |
684
684
  | --- | --- | --- | --- | --- |
685
- | `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `box`, `clear`, `description`, `hint`, `icon`, `indicator`, `input`, `label`, `message`, `panel`, `prefix`, `root`, `sheet`, `spinner`, `suffix`, `swatch`. States: `disabled`, `errors`, `ghost`, `hasValue`, `loading`, `outline`, `readonly`, `secondary`, `warnings`, `selected`. What each one is: _Passthrough parts and states_ below. `pt` is the object form with the same keys minus the prefix (`{ icon: '…', 'icon:loading': '…' }`). See `guides/passthrough.md`. In `<script>` a `pt` value is typed `BbColorInputProps['pt']` (`PtValue` is not exported): § Typing `pt` in `<script>`. |
686
- | `adaptive` | `boolean \| undefined` | ``config.adaptive` (`true`)` | | When `true`, the color palette opens as a bottom off-canvas sheet on mobile viewports instead of a floating popover; on desktop it stays a popover. Mirrors the adaptive behaviour of `BbSelect`/`BbDatePickerInput`. When unset, falls back to the global `config.adaptive`. |
685
+ | `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `box`, `clear`, `description`, `hint`, `icon`, `indicator`, `input`, `label`, `message`, `panel`, `prefix`, `root`, `sheet`, `spinner`, `suffix`, `swatch`. States: `disabled`, `errors`, `ghost`, `hasValue`, `loading`, `open`, `outline`, `readonly`, `secondary`, `warnings`, `selected`. What each one is: _Passthrough parts and states_ below. `pt` is the object form with the same keys minus the prefix (`{ icon: '…', 'icon:loading': '…' }`). See `guides/passthrough.md`. In `<script>` a `pt` value is typed `BbColorInputProps['pt']` (`PtValue` is not exported): § Typing `pt` in `<script>`. |
686
+ | `adaptive` | `boolean \| undefined` | ``all.adaptive` (`true`)` | | When `true`, the color palette opens as a bottom off-canvas sheet on mobile viewports instead of a floating popover; on desktop it stays a popover. Mirrors the adaptive behaviour of `BbSelect`/`BbDatePickerInput`. When unset, falls back to the global `all.adaptive`. |
687
687
  | `alpha` | `boolean \| undefined` | `false` | | Enable the alpha channel. Shows an opacity slider and uses `#RRGGBBAA` hex8 format. |
688
688
  | `append:icon` | `string \| undefined` | | | Name of the icon to be added at the end of the input. |
689
- | `autocomplete` | `string \| undefined` | `"off"` | | Guides the browser as to the type of information expected in the field. |
689
+ | `autocomplete` | `string \| undefined` | `'off'` | | Guides the browser as to the type of information expected in the field. |
690
690
  | `autofocus` | `Booleanish \| undefined` | | | Focuses the field when it mounts (a dialog already open included), unless the user is typing in another field. |
691
691
  | `clearable` | `boolean \| undefined` | `false` | | Displays a clear button when the input has a value and is being interacted with. |
692
- | `compact` | `boolean \| undefined` | `false` | | Compact density: the field uses the `-compact` twins of `--bb-input-h`, `--bb-input-py` and `--bb-label-spacing-y`, so a `--bb-input-h` set on the component is ignored while it is on. Size a compact field with `--bb-input-h-compact` (and `--bb-input-py-compact`). |
692
+ | `compact` | `boolean \| undefined` | `undefined` | | Compact density: the field uses the `-compact` twins of `--bb-input-h`, `--bb-input-py` and `--bb-label-spacing-y`, so a `--bb-input-h` set on the component is ignored while it is on. Size a compact field with `--bb-input-h-compact` (and `--bb-input-py-compact`). |
693
693
  | `description` | `string \| undefined` | | | Text between the label and the input. Unlike the hint it is always visible; it joins the input's `aria-describedby` after any `errors` / `warnings`, before the `hint`. |
694
694
  | `disabled` | `boolean \| undefined` | `false` | | Disables the component. |
695
695
  | `errors` | `string \| string[] \| undefined` | | | Error messages under the field, a string or array, in an `aria-live="polite"` region and first in the control's `aria-describedby`, so they are re-read when it regains focus. |
@@ -704,7 +704,7 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
704
704
  | `label` | `string` | | yes | Text content of the label of the element. |
705
705
  | `labelAlign` | `FieldCrossAlign \| undefined` | | | Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, the label's first line meets the control's. |
706
706
  | `labelMode` | `"outside" \| "floating" \| "inside" \| undefined` | | | Label rendering mode: `outside` places the label above the input, `floating` overlays it on the field and shrinks it when a value is set, `inside` keeps it inside the field. |
707
- | `labelPosition` | `"left" \| "center" \| "right" \| undefined` | | | Sets the text alignment of the label. |
707
+ | `labelPosition` | `"center" \| "left" \| "right" \| undefined` | | | Sets the text alignment of the label. |
708
708
  | `layout` | `Responsive<FieldLayout> \| undefined` | | | How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`). |
709
709
  | `loading` | `boolean \| undefined` | `false` | | Sets the component in a loading state, usually triggering some visual styles. |
710
710
  | `modelValue` | `string \| null \| undefined` | `null` | | Used by v-model. |
@@ -715,12 +715,12 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
715
715
  | `prepend:icon` | `string \| undefined` | | | Name of the icon to be added at the start of the input. |
716
716
  | `readonly` | `boolean \| undefined` | `false` | | Sets the input in a readonly state. |
717
717
  | `required` | `boolean \| undefined` | `false` | | Sets the input as required. |
718
- | `reverse` | `boolean \| undefined` | `false` | | Reverses the layout. Applicable in every direction the order of the label and the input is swapped. |
718
+ | `reverse` | `boolean \| undefined` | `undefined` | | Reverses the layout. Applicable in every direction the order of the label and the input is swapped. |
719
719
  | `rules` | `RuleExpression<string \| null>` | | | vee-validate rules for this field. Only inside a `BbForm`. |
720
720
  | `swatches` | `boolean \| string[][] \| undefined` | | | Controls swatches display in the picker: - `true` — show the built-in Material-palette swatches - `string[][]` — show custom swatches (each inner array = a column of shades) - `false` / omitted — no swatches section |
721
721
  | `validationLabel` | `string \| undefined` | | | The field's name in validation messages (`{field}`): "Email is not valid". Defaults to the `label` (or `legend`), then "This field"; never the `name`. Set it when the label is hidden or reads badly in a sentence (icon-only, a question). `BbForm` only. |
722
- | `validationMode` | `ValidationMode \| undefined` | | | When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `formControls.validationMode` (`'balanced'`). `BbForm` only. |
723
- | `variant` | `InputVariantType \| undefined` | `'outline'` | | The field box's look, with `BbButton`'s names and tokens. Colours only, so a form never reflows; `'ghost'` has no border in any state, `'none'` no look at all (you own hover, focus and the states). Register more with the plugin's `inputVariants`. |
722
+ | `validationMode` | `ValidationMode \| undefined` | | | When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `all.validationMode` (`'balanced'`). `BbForm` only. |
723
+ | `variant` | `InputVariantOf<ColorInputVariantRegistry> \| undefined` | `'outline'` | | The field box's look, with `BbButton`'s names and tokens. Colours only, so a form never reflows; `'ghost'` has no border in any state, `'none'` no look at all (you own hover, focus and the states). Register more with the plugin's `components.BbColorInput.variants`. |
724
724
  | `warnings` | `string \| string[] \| undefined` | | | Warning messages under the field, a string or array: amber, in their own `aria-live` region and in the control's `aria-describedby` after the errors. Non-empty turns on the warning state; errors win when both are set. |
725
725
 
726
726
  ## Passthrough parts and states
@@ -756,6 +756,7 @@ States are listed in precedence order: when two are on at once and their entries
756
756
  | `disabled` | Component-wide: the control is `disabled`. |
757
757
  | `warnings` | Component-wide: the control is in its warning state (`warnings` / `has-warnings`) and not in an error state — errors win, so the two are never on together. |
758
758
  | `errors` | Component-wide: the control is in its error state (`errors` / `has-errors`, or its validation) — the message line and the box turn red. |
759
+ | `open` | Component-wide: the palette is showing — `pt:indicator:open` styles the swatch button while it is. |
759
760
  | `loading` | Component-wide: `loading` is on; the box shows its `spinner`. |
760
761
  | `ghost` | On the field's parts: `variant: 'ghost'`. Below the real states, like every variant. |
761
762
  | `outline` | On the field's parts: `variant: 'outline'`. Merged after the part's base entry and before its states, so the real states still win. |
@@ -801,6 +802,7 @@ Set these on the element, or on a class you put on it, to retune this component
801
802
  | `--elev` | `.bb-color-input__indicator` | `var(--bb-elev-sm)` | Small-chrome resting lift, DECLARED here so it is sealed: an ancestor that sets `--elev` for its own plate must not reach in and lift this. Same tier and same name as the checkbox and radio glyphs. |
802
803
  | `--ring-t` | `.bb-color-input__indicator` | `var(--bb-transition-medium)` | |
803
804
  | `--border-color` | `pt:box` | `per variant` | The resting border, at the fixed --bb-border-w. Errors and warnings paint their frame over it, so `pt:box="[--border-color:…]"` recolours the rest without hiding the state; a plain `border-*` utility on the base pt:box would hide it (ESLint `no-box-border-color`). |
805
+ | `--ph` | `pt:box` | `var(--bb-text-muted)` | Placeholder colour, one local for every field: the native `::placeholder`, BbSelect's activator text and the picker inputs' empty segments. Set it through `pt:box="[--ph:…]"`; app-wide, the same entry in the global pt map. |
804
806
 
805
807
  ## Component tree
806
808
 
@@ -813,10 +815,10 @@ Set these on the element, or on a class you put on it, to retune this component
813
815
 
814
816
  - `BbColorInput` _(this component)_ — its own template binds: `controlAttrs` → `input.bb-color-input__input`, `input` → `input.bb-color-input__input`, `indicator` → `button.bb-color-input__indicator`, `suffix` → `span.bb-field-input__suffix`; hands `BbColorPalette` the pt map `{ panel: 'panel', sheet: 'sheet', swatch: 'swatch' }` (ours → theirs)
815
817
  - `CommonField` _(internal — not importable, reach it through `BbColorInput`)_ — `BbColorInput`'s pt parts land here: `root` → `div.bb-field`, `label` → `component`, `description` → `span.bb-field__description`, `hint` → `span.bb-field__hint`, `counter` → `span.bb-field__counter`, `message` → `div.bb-field__message`; documented CSS variables: `--ctrl-line`; also mounts `BbAsterisk`
816
- - `CommonFieldInput` _(internal — not importable, reach it through `BbColorInput`)_ — `BbColorInput`'s pt parts land here: `box` → `span.bb-field-input__box`, `prefix` → `span.bb-field-input__prefix`, `icon` → `BbIcon`, `clear` → `ClearableButton`, `spinner` → `BbSpinner`, `suffix` → `span.bb-field-input__suffix`; documented CSS variables: `--bg`, `--bg-hover`, `--bg-focus`, `--bg-disabled`, `--fg-disabled`, `--border-color`, `--border-focus`, `--ring-size`, `--ring-color`, `--elev`, `--frost`, `--inside-label-clearance`; also mounts `ErrorIcon`, `WarningIcon`, `ClearableButton`, `BbIcon`, `BbSpinner`
817
- - `BbColorPalette` _(public — [contract](./BbColorPalette.md))_ — its own pt parts (`BbColorPalette`): `swatch` → `button.bb-color-palette__swatch`, `panel` → `div`, `panel` → `CommonPopover`; hands `BbOffCanvas` the pt map `{ panel: 'root', sheet: 'root' }` (ours → theirs); documented CSS variables: `--edge`; also mounts `CommonPopover`
818
+ - `CommonFieldInput` _(internal — not importable, reach it through `BbColorInput`)_ — `BbColorInput`'s pt parts land here: `box` → `span.bb-field-input__box`, `prefix` → `span.bb-field-input__prefix`, `icon` → `BbIcon`, `clear` → `ClearableButton`, `spinner` → `BbSpinner`, `suffix` → `span.bb-field-input__suffix`; documented CSS variables: `--bg`, `--bg-hover`, `--bg-focus`, `--bg-disabled`, `--fg-disabled`, `--border-color`, `--border-focus`, `--ring-size`, `--ring-color`, `--elev`, `--frost`, `--ph`, `--inside-label-clearance`; also mounts `ErrorIcon`, `WarningIcon`, `ClearableButton`, `BbIcon`, `BbSpinner`
819
+ - `BbColorPalette` _(public — [contract](./BbColorPalette.md))_ — its own pt parts (`BbColorPalette`): `swatch` → `button.bb-color-palette__swatch`, `panel` → `div`, `panel` → `CommonPopover`; hands `BbOffCanvas` the pt map `{ panel: 'root', sheet: 'root' }` (ours → theirs); documented CSS variables: `--edge`; also mounts `BbIcon`, `CommonPopover`
818
820
  - `BbOffCanvas` _(public — [contract](./BbOffCanvas.md))_ — its own pt parts (`BbOffCanvas`): `header` → `div.bb-offcanvas__header`, `title` → `span.bb-offcanvas__title`, `description` → `p.bb-offcanvas__description`, `close` → `CloseButton`, `content` → `div.bb-offcanvas__content`, `footer` → `div.bb-offcanvas__footer`; documented CSS variables: `--stack-x`, `--snap-y`, `--stack-fill`, `--stack-transition-duration`, `--px`, `--handle-w`, `--handle-h`, `--handle-bg`, `--safe-top`, `--close-size`
819
- - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`
821
+ - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`, `--icon-size`; also mounts `BbIcon`
820
822
 
821
823
  ## See Also
822
824
 
@@ -508,7 +508,7 @@ const brand = ref<string | null>('#4f46e5');
508
508
 
509
509
  ### Adaptive mobile sheet
510
510
 
511
- With `adaptive` (default: global `config.adaptive`, which is `true`), the
511
+ With `adaptive` (default: global `all.adaptive`, which is `true`), the
512
512
  palette opens as a **bottom off-canvas sheet** on mobile viewports (below
513
513
  `config.mobileMaxWidth`) instead of a floating popover — same canvas, sliders,
514
514
  swatches and eyedropper, stretched to the sheet's width. On desktop it stays a
@@ -559,7 +559,7 @@ styling (a caret, a highlight). Two props gate interaction:
559
559
  and is **not teleported to `<body>`**: it lives in the component's own subtree,
560
560
  so it inherits your CSS context and is queryable in tests without a portal
561
561
  hop.
562
- - **Adaptive defaults** — `config.adaptive` is the fallback for the `adaptive`
562
+ - **Adaptive defaults** — `all.adaptive` is the fallback for the `adaptive`
563
563
  prop and `config.mobileMaxWidth` the viewport threshold for "mobile" (see the
564
564
  adaptive section above).
565
565
  - **SSR / Nuxt** — nothing platform-specific; `eager` pre-renders the body on the
@@ -756,7 +756,7 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
756
756
  | --- | --- | --- | --- | --- |
757
757
  | `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `panel`, `root`, `sheet`, `swatch`. States: `open`, `selected`. What each one is: _Passthrough parts and states_ below. `pt` is the object form with the same keys minus the prefix (`{ icon: '…', 'icon:loading': '…' }`). See `guides/passthrough.md`. In `<script>` a `pt` value is typed `BbColorPaletteProps['pt']` (`PtValue` is not exported): § Typing `pt` in `<script>`. |
758
758
  | `activator` | `ElementOrComponentRef \| undefined` | | | External activator element or component ref. When provided, the `activator` slot is not rendered and click listeners are attached programmatically to the referenced element — mirroring the BbDropdown activator API. |
759
- | `adaptive` | `boolean \| undefined` | ``config.adaptive` (`true`)` | | When `true`, the palette opens as a bottom off-canvas sheet on mobile viewports instead of a floating popover; on desktop it stays a popover. Mirrors the adaptive behaviour of `BbPopover`/`BbDropdown`/`BbDatePicker`. When unset, falls back to the global `config.adaptive`. |
759
+ | `adaptive` | `boolean \| undefined` | ``all.adaptive` (`true`)` | | When `true`, the palette opens as a bottom off-canvas sheet on mobile viewports instead of a floating popover; on desktop it stays a popover. Mirrors the adaptive behaviour of `BbPopover`/`BbDropdown`/`BbDatePicker`. When unset, falls back to the global `all.adaptive`. |
760
760
  | `alpha` | `boolean \| undefined` | `false` | | Enable the alpha channel. The picker shows an opacity slider and emits `#RRGGBBAA` hex8 values. |
761
761
  | `anchor` | `ElementOrComponentRef \| undefined` | | | Element or component ref the popover positions itself relative to. Defaults to the activator element when omitted, allowing the popover to be anchored to a larger container (e.g. the full input row) while a smaller element (e.g. a color dot) remains the click target. |
762
762
  | `boundary` | `ElementOrComponentRefOrSelector \| undefined` | | | Constrains the popover within a bounding element: it stays inside it alongside its trigger (sideways for a popover above or below); away from the trigger it may pass the edge, and it flips at the viewport only. Accepts an HTMLElement, a Vue component ref, or a CSS selector string. |
@@ -827,8 +827,8 @@ Set these on the element, or on a class you put on it, to retune this component
827
827
 
828
828
  - `BbColorPalette` _(this component)_ — its own template binds: `swatch` → `button.bb-color-palette__swatch`, `panel` → `div`, `panel` → `CommonPopover`; hands `BbOffCanvas` the pt map `{ panel: 'root', sheet: 'root' }` (ours → theirs)
829
829
  - `BbOffCanvas` _(public — [contract](./BbOffCanvas.md))_ — its own pt parts (`BbOffCanvas`): `header` → `div.bb-offcanvas__header`, `title` → `span.bb-offcanvas__title`, `description` → `p.bb-offcanvas__description`, `close` → `CloseButton`, `content` → `div.bb-offcanvas__content`, `footer` → `div.bb-offcanvas__footer`; documented CSS variables: `--stack-x`, `--snap-y`, `--stack-fill`, `--stack-transition-duration`, `--px`, `--handle-w`, `--handle-h`, `--handle-bg`, `--safe-top`, `--close-size`
830
- - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`
831
- - Also mounts `CommonPopover`
830
+ - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`, `--icon-size`; also mounts `BbIcon`
831
+ - Also mounts `BbIcon`, `CommonPopover`
832
832
 
833
833
  ## See Also
834
834
 
@@ -0,0 +1,218 @@
1
+ # BbConfigScope
2
+
3
+ ## Agent Contract
4
+
5
+ - Safety level: **Consumer API**
6
+ - Group: **Layout & Utility**
7
+ - Description: 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).
8
+ - Usage rule: Prefer this component for consumer-facing implementations.
9
+ - Implementation source (only when the contract below is not enough): [source/BbConfigScope.md](./source/BbConfigScope.md)
10
+
11
+ ## Usage & Guidelines
12
+
13
+ ### When to use
14
+
15
+ The plugin's `components` map sets every instance in the app. When the app
16
+ has **areas with a different look or layout** — a backoffice next to a member
17
+ webapp, per-tenant areas, a settings page whose fields sit beside their
18
+ labels — give the area a scope and wrap it in `<BbConfigScope>`. A scope is
19
+ the same map as `components` (each component's `pt` and allowlisted props,
20
+ plus `all`), minus the app-wide `variants` and `nullValue`.
21
+
22
+ - **A reused area** (a layout, a section of the app): a **named scope** in the
23
+ plugin's `configScopes`, switched on with `name`.
24
+ - **A one-off group** (one card, one form): an **inline map**, `:config`.
25
+
26
+ ### Named scopes
27
+
28
+ ```ts
29
+ // bitboss-ui.components.ts
30
+ import type { BbComponentsMap } from 'bitboss-ui/vite';
31
+
32
+ export const components = {
33
+ BbTextInput: { pt: { label: 'text-xs font-medium' } },
34
+ } satisfies BbComponentsMap;
35
+
36
+ export const configScopes = {
37
+ webapp: {
38
+ BbTextInput: { pt: { label: 'text-white/60' } },
39
+ BbButton: { size: 'lg', pt: { root: 'rounded-full' } },
40
+ },
41
+ backoffice: {
42
+ all: { compact: true },
43
+ BbButton: { size: 'sm', variant: 'outline', pt: { root: 'rounded-md' } },
44
+ },
45
+ settings: {
46
+ all: { layout: 'horizontal', inputPosition: 'right' },
47
+ },
48
+ } satisfies Record<string, BbComponentsMap<'scope'>>;
49
+ ```
50
+
51
+ ```vue
52
+ <!-- WebappLayout.vue -->
53
+ <template>
54
+ <BbConfigScope name="webapp">
55
+ <slot />
56
+ </BbConfigScope>
57
+ </template>
58
+
59
+ <script setup lang="ts">
60
+ import { BbConfigScope } from 'bitboss-ui';
61
+ </script>
62
+ ```
63
+
64
+ Everything rendered inside the scope — however deep — takes the `webapp`
65
+ entries on top of the app's. Outside it, nothing changes.
66
+
67
+ **A settings page.** The layout family (`layout`, `reverse`, `inputPosition`,
68
+ and a group's `listLayout`, `itemLayout`, `itemReverse`, `block`) is meant for
69
+ a scope: one switch lays out every field and choice on the page, and the page
70
+ needs no prop per field.
71
+
72
+ ```vue
73
+ <!-- SettingsPage.vue -->
74
+ <template>
75
+ <BbConfigScope name="settings">
76
+ <BbTextInput v-model="name" label="Display name" name="name" />
77
+ <BbSwitch v-model="digest" label="Weekly digest" name="digest" />
78
+ <BbCheckbox v-model="beta" label="Try new features" name="beta" />
79
+ </BbConfigScope>
80
+ </template>
81
+
82
+ <script setup lang="ts">
83
+ import { ref } from 'vue';
84
+ import { BbCheckbox, BbConfigScope, BbSwitch, BbTextInput } from 'bitboss-ui';
85
+
86
+ const name = ref<string | null>('');
87
+ const digest = ref(true);
88
+ const beta = ref(false);
89
+ </script>
90
+ ```
91
+
92
+ ### Inline scopes
93
+
94
+ For a group used once, write the map in place. It takes the same keys as a
95
+ named scope; with `name` too, it applies on top of the named scope.
96
+
97
+ ```vue
98
+ <template>
99
+ <BbConfigScope :config="notifications">
100
+ <BbSwitch v-model="email" label="Email" name="email" />
101
+ <BbSwitch v-model="push" label="Push" name="push" />
102
+ </BbConfigScope>
103
+ </template>
104
+
105
+ <script setup lang="ts">
106
+ import { ref } from 'vue';
107
+ import { BbConfigScope, BbSwitch, type BbComponentsMap } from 'bitboss-ui';
108
+
109
+ // Hoisted: the scope re-resolves only when the map's content changes.
110
+ const notifications = {
111
+ all: { compact: true, reverse: true },
112
+ } satisfies BbComponentsMap<'scope'>;
113
+
114
+ const email = ref(true);
115
+ const push = ref(false);
116
+ </script>
117
+ ```
118
+
119
+ The subtree re-resolves only when the map's **content** changes, so an inline
120
+ literal is fine, but a hoisted constant (or a static literal) is the clearest.
121
+ `variants` and `nullValue` are app-wide: they are a type error here, and a dev
122
+ warning if one gets through untyped.
123
+
124
+ ### Order and nesting
125
+
126
+ For each part, the `pt` sources merge in this order:
127
+
128
+ 1. the app's `components` map,
129
+ 2. every active scope, outermost `<BbConfigScope>` first (a scope's inline map
130
+ after its named one),
131
+ 3. the instance's `class`, `pt` object and `pt:*` attributes.
132
+
133
+ Nested scopes **add up**: an inner scope merges after the outer one, it never
134
+ hides it. Everything goes through the same merge and class deduper as the rest
135
+ of `pt`, so a conflicting utility on an instance replaces the scope's.
136
+
137
+ A default is one value: the nearest scope that sets it wins over an outer one,
138
+ and the instance's own prop over every scope. The full ladder, and every key a
139
+ scope takes, are in [installation § The components map](./guides/installation-and-plugin-setup.md#the-components-map).
140
+
141
+ ```vue
142
+ <template>
143
+ <BbConfigScope name="backoffice">
144
+ <!-- the scope's `sm` and `outline`; this instance's `primary` wins -->
145
+ <BbButton variant="primary">Save</BbButton>
146
+ </BbConfigScope>
147
+ </template>
148
+
149
+ <script setup lang="ts">
150
+ import { BbButton, BbConfigScope } from 'bitboss-ui';
151
+ </script>
152
+ ```
153
+
154
+ A scope also sets the size scales (`sizeMap`), `BbToast.position` for toasts
155
+ fired from inside it, and `BbConfirm.size` for confirms called from inside it.
156
+
157
+ ### The name is typed
158
+
159
+ `name` is a `BbConfigScopeName`: the plugin generates the union of your
160
+ `configScopes` keys (`'webapp' | 'backoffice' | 'settings'`) when the dev
161
+ server or a build runs, so a misspelt scope is a `vue-tsc` error. Every
162
+ component name and key inside a named scope is checked at build time, exactly
163
+ like the app's map. `name` and `config` are reactive.
164
+
165
+ ### Overlays, directives, toasts and confirms
166
+
167
+ The scope follows the **component tree**, not the DOM:
168
+
169
+ - A dialog, sheet, popover, dropdown or picker opened inside the scope resolves
170
+ it wherever it paints.
171
+ - `v-bb-tooltip`, `v-bb-dropdown`, `v-bb-date`, `v-bb-time` and `v-bb-color`
172
+ resolve the scope around the component whose **template** they are written
173
+ in. A directive written directly in `<BbConfigScope>`'s slot, in the same
174
+ template as the scope, sees the scope above it instead — keep the scope in a
175
+ layout or a parent component.
176
+ - A `confirm()` takes the scope of the component that called `useConfirm()`
177
+ (its `pt` and `BbConfirm.size`), wherever `<BbHost />` is mounted. A toast
178
+ fired through `useToast()` inside a scope takes the scope's
179
+ `BbToast.position`; its look comes from the scope where the host is mounted,
180
+ and the plugin's host does not see a scope in `App.vue`: for toasts in the
181
+ area's look, place one `<BbHost />` inside each area's layout, within its
182
+ scope. It takes over from the plugin's while mounted (see
183
+ [Agent Contract § Global Host Rule](./guides/agent-contract.md)).
184
+
185
+ ### When NOT to use it
186
+
187
+ - **One look for the whole app** — that is the plugin's `components` map.
188
+ - **Colours, radii, sizes for a subtree** — those are tokens: a `.bb-theme`
189
+ island ([design tokens](./guides/design-tokens.md)). A scope restyles parts;
190
+ an area usually wants both.
191
+ - **One instance** — set the prop, or `pt:*`, on that instance.
192
+
193
+ ### Works well with
194
+
195
+ - `BbHost` — place one inside each scoped area layout when toasts need the
196
+ area's look.
197
+ - The [passthrough guide](./guides/passthrough.md) — grammar, merging and the
198
+ full parts table.
199
+
200
+ ## Props
201
+
202
+ | Prop | Type | Default | Required | Description |
203
+ | --- | --- | --- | --- | --- |
204
+ | `config` | `BbComponentsMap<"scope"> \| undefined` | | | An inline scope: the same map as a `configScopes` entry, minus the app-wide `variants` and `nullValue`. With `name`, it applies on top. Re-resolved only when its content changes: keep it static or hoisted. |
205
+ | `name` | `'bitboss-ui: no configScopes configured — add configScopes to bitbossUi() and commit bitboss-ui.d.ts'` | | | The named scope to switch on inside: a key of the plugin's `configScopes` (typed from your config). Nested scopes: `pt` merges outer first, a default comes from the nearest scope that sets it. Reactive. |
206
+
207
+ ## Events
208
+
209
+ - None.
210
+
211
+ ## Slots
212
+
213
+ - `default` — scope: `any` — The subtree the scope applies to. Rendered as is — no wrapper element.
214
+
215
+ ## See Also
216
+
217
+ - [useToast](./composables/useToast.md)
218
+ - [useConfirm](./composables/useConfirm.md)