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
@@ -60,7 +60,7 @@ disguised as text — pair it with `href`/`to`, not with heavy actions.
60
60
  behaviour and accessibility but takes no look, so your own classes don't have
61
61
  to fight a built-in one. You then own hover, focus and disabled. It is fine for
62
62
  a one-off; keep the inline styling short, and when the same look shows up
63
- again, register it as a real variant instead: the plugin's `buttonVariants`
63
+ again, register it as a real variant instead: the plugin's `components.BbButton.variants`
64
64
  option types the name, and you style `.bb-button--<name>` (the library ships
65
65
  no CSS for it). The same holds for `BbDropdownButton`, whose `variant` styles
66
66
  both halves of the split control.
@@ -98,10 +98,12 @@ values of `variant`:
98
98
 
99
99
  ```ts
100
100
  // vite.config.ts
101
- bitbossUi({ buttonVariants: ['upgrade'] });
101
+ bitbossUi({ components: { BbButton: { variants: ['upgrade'] } } });
102
102
 
103
103
  // nuxt.config.ts
104
- export default defineNuxtConfig({ bitboss: { buttonVariants: ['upgrade'] } });
104
+ export default defineNuxtConfig({
105
+ bitboss: { components: { BbButton: { variants: ['upgrade'] } } },
106
+ });
105
107
  ```
106
108
 
107
109
  Retint through these locals, never colour utilities on the button
@@ -236,7 +238,7 @@ a given project (built-ins plus whatever it has registered)? Don't guess from
236
238
  an example: the built-ins are `primary`, `outline`, `secondary`, `ghost`,
237
239
  `destructive` and `link`, and the project's own names are the
238
240
  `ButtonVariantRegistry` entries in its committed `bitboss-ui.d.ts` (the file
239
- the plugin writes from `buttonVariants`; see
241
+ the plugin writes from `components.BbButton.variants`; see
240
242
  [Installation and Plugin Setup](./guides/installation-and-plugin-setup.md) §
241
243
  variants).
242
244
 
@@ -895,6 +897,38 @@ const items = [
895
897
  </script>
896
898
  ```
897
899
 
900
+ The current-page look on one button is a state entry on `root`:
901
+
902
+ ```vue
903
+ <BbButton
904
+ variant="ghost"
905
+ href="/invoices"
906
+ pt:root:exact-active-link="bg-(--bb-ghost-hover) font-semibold"
907
+ >
908
+ Invoices
909
+ </BbButton>
910
+ ```
911
+
912
+ and the same look on every link button, app-wide, is that entry in the global
913
+ map:
914
+
915
+ ```ts
916
+ // bitboss-ui.components.ts
917
+ import type { BbComponentsMap } from 'bitboss-ui/vite';
918
+
919
+ export const components = {
920
+ BbButton: {
921
+ pt: { 'root:exactActiveLink': 'bg-(--bb-ghost-hover) font-semibold' },
922
+ },
923
+ } satisfies BbComponentsMap;
924
+ ```
925
+
926
+ There is no automatic pressed look on the current page: a logo link, a "back
927
+ to list" button or a breadcrumb-like link points at the page you are on as
928
+ often as a nav entry does, and they would all light up. A pressed fill also
929
+ reads as a toggle that is on. The library gives the match (the classes, the
930
+ states, the slot props) and leaves the look to you.
931
+
898
932
  The classes, the states and the slot props are one answer: a `to` link takes
899
933
  vue-router's own (`useLink`, as `RouterLink` does — so `/users` lights up on
900
934
  `/users/5` when `/users/:id` is a child route of `/users`), an `href` link the
@@ -1059,10 +1093,28 @@ never instead of it. The full grammar, the merge rules and the global map are
1059
1093
  in the [passthrough guide](./guides/passthrough.md); a look several
1060
1094
  buttons share is a `variant`, not a `pt`.
1061
1095
 
1096
+ A variant is also a `pt` state, so one look per variant goes in the global
1097
+ map once. Ghost buttons at normal weight, app-wide:
1098
+
1099
+ ```ts
1100
+ // bitboss-ui.components.ts
1101
+ import type { BbComponentsMap } from 'bitboss-ui/vite';
1102
+
1103
+ export const components = {
1104
+ BbButton: { pt: { 'root:ghost': 'font-normal' } },
1105
+ } satisfies BbComponentsMap;
1106
+ ```
1107
+
1062
1108
  A `pt` value written in `<script>` (a constant, a preset, a wrapper's
1063
1109
  `pt` prop) is typed as `BbButtonProps['pt']`, never an imported `PtValue`: see
1064
1110
  [passthrough § Typing `pt` in `<script>`](./guides/passthrough.md#typing-pt-in-script).
1065
1111
 
1112
+ **The icon side has its own padding, `--ipx`.** A side that carries an icon
1113
+ (`prepend:icon`, `append:icon`, the loading spinner's slot) is padded by
1114
+ `--ipx`, a length that defaults to `calc(var(--px) * 0.65)`, so it follows a
1115
+ `--px` change. Set it to move that side alone, the label side keeps `--px`:
1116
+ `:pt:root="{ style: { '--ipx': '6px' } }"`.
1117
+
1066
1118
  **Padding, radius, font size and gap are the button's own.** `root` declares
1067
1119
  `padding-left` / `padding-right`, `border-radius`, `font-size` and `gap`,
1068
1120
  reading them from the active locals `--px`, `--r`, `--fs` and `--gap`, which
@@ -1234,6 +1286,12 @@ Anti-patterns:
1234
1286
 
1235
1287
  ### Accessibility
1236
1288
 
1289
+ - On a touch screen (`pointer: coarse`) an invisible hit area takes a button
1290
+ to 44×44 without moving anything you see. It stops short of a neighbour: the
1291
+ full 44px with no element beside the button, 4px a side when one sits next
1292
+ to it (keep 8px between touch controls and the areas meet in the gap), none
1293
+ across a `group`'s shared edge, a table cell's padding in a table, and none
1294
+ on `variant="link"`. A mouse gets the visual box only.
1237
1295
  - Icon-only buttons still need an accessible name, but it works like any other
1238
1296
  button: put it in the default slot (or `text`) and it renders visually hidden (`bb-sr-only`) when
1239
1297
  `icon` is set — not removed. Use `aria-label` only to override that name, not
@@ -1267,12 +1325,12 @@ Anti-patterns:
1267
1325
  | `append:icon` | `string \| undefined` | | | Icon to be added on the right of the text. |
1268
1326
  | `ariaCurrentValue` | `"time" \| "true" \| "false" \| "page" \| "step" \| "location" \| "date" \| undefined` | `'page'` | | Value passed to the attribute `aria-current` when the link is exact active. |
1269
1327
  | `async` | `boolean \| undefined` | `false` | | Inertia: runs the visit without blocking — the page stays interactive and several async visits can be in flight at once. |
1270
- | `block` | `boolean \| undefined` | `false` | | Displays the component as full width. |
1328
+ | `block` | `boolean \| undefined` | `undefined` | | Displays the component as full width. |
1271
1329
  | `cacheFor` | `string \| number \| (string \| number)[] \| undefined` | | | Inertia: how long a prefetched response stays fresh before it is re-fetched. A single duration, or `[staleAfter, expiresAfter]`. Typed platform-agnostically (matching BbButton) so the library's types never require `@inertiajs/vue3` to be installed. |
1272
1330
  | `cacheTags` | `string \| string[] \| undefined` | | | Inertia: tags to file this visit's prefetch cache under, so a later request can invalidate the whole tagged group. |
1273
1331
  | `component` | `string \| undefined` | | | Inertia: the page component this visit resolves to. Rarely set by hand — the server normally decides it. |
1274
1332
  | `data` | `object \| undefined` | | | Request payload forwarded to Inertia when navigating via `href` in an Inertia-enabled app. Ignored when not using Inertia. |
1275
- | `disableAutoLoading` | `boolean \| undefined` | `false` | | Disables every spinner the button starts on its own: the one that tracks an async click handler, and a `type="submit"` button's spin while its `BbForm` saves. Only an explicit `loading` shows the spinner then. |
1333
+ | `disableAutoLoading` | `boolean \| undefined` | ``components.BbButton.disableAutoLoading`, else `false`` | | Disables the spinners the button starts on its own (an async click handler's, a submit button's while its `BbForm` saves); only `loading` shows one then. Unset: the `components` map (a scope's, then the app's); `false` turns them back on here. |
1276
1334
  | `disabled` | `boolean \| undefined` | `false` | | Disables the component: native `disabled` (or `aria-disabled` on a link), muted paint. Beside `loading`, loading wins the look (spinner and variant colours) and this only adds the native blocking — redundant but harmless. |
1277
1335
  | `download` | `string \| boolean \| undefined` | | | Marks an `href` link as a download: renders a plain `<a download>` doing a native navigation (never an Inertia/router visit), so file downloads work. Pass a string for the suggested filename. A native-anchor signal alongside `target` and `external`. |
1278
1336
  | `exactActiveClass` | `string \| undefined` | | | Class to apply when the link is exact active. |
@@ -1307,14 +1365,14 @@ Anti-patterns:
1307
1365
  | `preserveUrl` | `boolean \| undefined` | `false` | | Inertia: keep the current URL in the address bar even though the page content changes. |
1308
1366
  | `queryStringArrayFormat` | `"brackets" \| "indices" \| undefined` | `'brackets'` | | Format to use when serializing array values into the query string for Inertia requests. |
1309
1367
  | `replace` | `boolean \| undefined` | `false` | | Calls `router.replace` instead of `router.push`. |
1310
- | `size` | `Responsive<Sizes> \| undefined` | `"md"` | | Sets the size of the button. A single value applies at every breakpoint; a per-breakpoint map (e.g. `{ default: 'sm', lg: 'md' }`) switches responsively. Purely CSS-driven — no runtime breakpoint watching. |
1368
+ | `size` | `Responsive<Sizes> \| undefined` | ``components.BbButton.size`, else `'md'`` | | Sets the size of the button. A single value applies at every breakpoint; a per-breakpoint map (e.g. `{ default: 'sm', lg: 'md' }`) switches responsively. Purely CSS-driven — no runtime breakpoint watching. Unset: the `components` map (the nearest config scope's, then the app's). |
1311
1369
  | `tag` | `'button'` \| `'div'` \| `'span'` \| `'label'` | `'button'` | | Element to render for the plain (non-link, non-router) button: `'button'` (default), `'div'`/`'span'` when nesting inside another button or link, or `'label'` for a file-upload trigger. Ignored when `href`/`to` make the button render as a link. |
1312
1370
  | `target` | `string \| undefined` | | | Sets or retrieves the window or frame at which to target content. |
1313
1371
  | `text` | `string \| undefined` | | | Text content of the component. |
1314
- | `to` | `string \| wt \| bt \| undefined` | | | Route Location the link should navigate to when clicked on. |
1372
+ | `to` | `string \| et \| X \| undefined` | | | Route Location the link should navigate to when clicked on. |
1315
1373
  | `trueValue` | `any` | `true` | | Value emitted when the toggle is activated. |
1316
1374
  | `type` | `"button" \| "reset" \| "submit" \| undefined` | | | Gets the classification and default behavior of the button. |
1317
- | `variant` | `'outline'` \| `'primary'` \| `'destructive'` \| `'secondary'` \| `'none'` \| `'ghost'` \| `'link'` | `"primary"` | | Visual variant of the button: colours and surface only, never spacing or size. `'none'` takes no look (you own hover, focus and disabled); register a real one with the plugin's `buttonVariants` and style `.bb-button--<name>` (no CSS ships for it). |
1375
+ | `variant` | `'outline'` \| `'primary'` \| `'destructive'` \| `'secondary'` \| `'none'` \| `'ghost'` \| `'link'` | ``components.BbButton.variant`, else `'primary'`` | | Visual variant: colours and surface only, never spacing or size. `'none'` takes no look (you own hover, focus and disabled); register a real one with `components.BbButton.variants` and style `.bb-button--<name>`. Unset: the the `components` map (a scope's, then the app's). |
1318
1376
  | `viewTransition` | `boolean \| undefined` | `false` | | Inertia: run the page swap inside a View Transition, where the browser supports one. |
1319
1377
 
1320
1378
  ## Passthrough parts and states
@@ -1403,7 +1461,8 @@ Set these on the element, or on a class you put on it, to retune this component
1403
1461
  | `--gap-2xl` | `6px` | |
1404
1462
  | `--h` | `var(--h-md)` | min-height, and the min-width of an icon-only button |
1405
1463
  | `--icon-size` | `var(--icon-size-md)` | every icon, and the spinner over it |
1406
- | `--px` | `var(--px-md)` | Left/right padding — 65% of it on a side that carries an icon. |
1464
+ | `--px` | `var(--px-md)` | left/right padding |
1465
+ | `--ipx` | `calc(var(--px) * 0.65)` | The padding on a side that carries an icon: a length of its own, 65% of --px by default (it follows a --px change). |
1407
1466
  | `--fs` | `var(--fs-md)` | font-size, and line-height |
1408
1467
  | `--r` | `var(--r-md)` | border-radius |
1409
1468
  | `--gap` | `var(--gap-md)` | between icon and label |
@@ -242,14 +242,73 @@ One prop decides the grid and the shape of the emitted string:
242
242
  | ------------------ | -------------------- | --------------------- | ------------- |
243
243
  | `date` _(default)_ | the day grid | `2026-08-14` | ISO instant |
244
244
  | `datetime` | day grid + time rail | `2026-08-14` + `time` | ISO instant |
245
+ | `week` | day grid, week rows | `2026-W44` | — |
245
246
  | `month` | the 12-month grid | `2026-08` | — |
246
247
  | `year` | the year list | `2026` | — |
247
248
 
248
- `month` and `year` are **calendar labels, not instants**: they force
249
+ `week`, `month` and `year` are **calendar labels, not instants**: they force
249
250
  `floating`, ignore `utc` (with a DEV warning), and take `min` / `max` /
250
251
  `selectable` in their own shape (`min="2026-03"`). A bound finer than the
251
252
  unit is rounded outward, never silently truncated.
252
253
 
254
+ #### Weeks
255
+
256
+ `type="week"` picks ISO 8601 weeks (Monday to Sunday, numbered by the year
257
+ that owns the week's Thursday) and emits `YYYY-Www`: `2026-W44`, and
258
+ `2026-W53` for the week that runs into January 2027. The grid stays the day
259
+ grid, with three differences:
260
+
261
+ - a **week-number column** heads every row (its header names it for screen
262
+ readers only), and the grid always starts on Monday (`first-day-of-week` is
263
+ ignored: a week cannot straddle two rows);
264
+ - **any day picks its week**: the whole row is the selection, one band from
265
+ Monday to Sunday. Hovering a row (or moving the keyboard cursor into it)
266
+ outlines the week a click would pick;
267
+ - `min` / `max` take a week (`min="2026-W44"`) or a date, and a week is
268
+ selectable only when **all seven days** are inside them: `min="2026-10-28"`
269
+ (a Wednesday) leaves that week out. `selectable` receives the week value.
270
+
271
+ `range` gives `['2026-W41', '2026-W43']` (solid ends, a wash between),
272
+ `multiple` a sorted list of weeks. The day buttons and the keyboard are the
273
+ day grid's; each day's accessible name adds its week and the week's dates
274
+ ("…, week 44, October 26 – November 1, 2026"), which are never shown.
275
+
276
+ **A delivery week — type=week**
277
+
278
+ ```vue
279
+ <template>
280
+ <div class="grid w-fit gap-3 rounded-(--bb-radius) border p-4">
281
+ <div>
282
+ <p class="m-0 text-sm font-medium">Delivery week</p>
283
+ <p class="m-0 text-xs text-(--bb-text-muted)">
284
+ {{ week ?? 'Any day picks its week' }}
285
+ </p>
286
+ </div>
287
+ <BbCalendar
288
+ v-model="week"
289
+ aria-label="Delivery week"
290
+ max="2026-W52"
291
+ min="2026-W40"
292
+ type="week"
293
+ />
294
+ </div>
295
+ </template>
296
+
297
+ <script setup lang="ts">
298
+ import { ref } from 'vue';
299
+ import { BbCalendar } from 'bitboss-ui';
300
+
301
+ /**
302
+ * `type="week"`: any day of a row picks its ISO week, and the value is the
303
+ * label `YYYY-Www` — no day, no zone. `min` / `max` take the same shape.
304
+ */
305
+ const week = ref<string | null>('2026-W45');
306
+ </script>
307
+ ```
308
+
309
+ `week` (the row) and `weekNumber` (its number) restyle the rows: see
310
+ [Restyling with passthrough](#restyling-with-passthrough).
311
+
253
312
  **A reporting period — type=month + range**
254
313
 
255
314
  ```vue
@@ -568,7 +627,8 @@ weekday headers follow, and so does a locale switch at runtime. Pass
568
627
  `first-day-of-week` (`0` = Sunday … `6` = Saturday) when the app's week is not
569
628
  its language's — an `en` app for a European audience takes
570
629
  `:first-day-of-week="1"`. `BbDatePicker` and `BbDatePickerInput` take the same
571
- prop and the same default.
630
+ prop and the same default. Under `type="week"` the grid starts on Monday
631
+ whatever the prop says (ISO weeks).
572
632
 
573
633
  ### Keyboard and accessibility
574
634
 
@@ -597,8 +657,9 @@ tokens, so `pt:root="[--px:2px]"` tightens the padding and the grid width
597
657
  follows), `header` (the navigation bar), `arrow` (the previous / next
598
658
  buttons), `month` and `year` (the heading buttons), `cellColumnHeader` (each
599
659
  weekday letter), `day` (one whole day cell) and `dayButton` (the button
600
- inside it), `monthItem` and `yearItem` (one button of the month / year
601
- panel).
660
+ inside it), `week` (one row of seven days with `type="week"`) and
661
+ `weekNumber` (its ISO week number), `monthItem` and `yearItem` (one button of
662
+ the month / year panel).
602
663
 
603
664
  States: `root` is `disabled` while the calendar is; `arrow` is `disabled` at a
604
665
  `min` / `max` bound; `month` and `year` are `active` while their panel is
@@ -606,7 +667,10 @@ open. The cells resolve per node — on `day` and `dayButton`: `selected`,
606
667
  `disabled`, `today`, `outside` (a day of the previous or next month),
607
668
  `rangeStart` / `rangeEnd` / `inRange` (a committed range) and `highlighted`
608
669
  (the keyboard cursor). The panel items carry the same set without `today` and
609
- `outside`.
670
+ `outside`. The week rows resolve per row — on `week` and `weekNumber`:
671
+ `selected` (a chosen week; under `range` its two ends, as on their days),
672
+ `rangeStart` / `rangeEnd` / `inRange`, and `disabled` only while the whole
673
+ calendar is.
610
674
 
611
675
  `day` is the whole cell and `dayButton` the rounded mark inside it: a
612
676
  background on `pt:day` paints the full cell square, so restyle the mark on
@@ -626,6 +690,19 @@ bound's time on the day `min` / `max` falls on), and `header` /
626
690
  />
627
691
  ```
628
692
 
693
+ Under `type="week"` the row and its number take the same grammar:
694
+
695
+ ```vue
696
+ <BbCalendar
697
+ v-model="sprint"
698
+ pt:week-number="text-(--bb-text-muted)"
699
+ pt:week-number:selected="font-semibold"
700
+ pt:week:in-range="italic"
701
+ range
702
+ type="week"
703
+ />
704
+ ```
705
+
629
706
  `BbDatePicker` and `BbDatePickerInput` forward every one of these parts to
630
707
  the calendar they host: `pt:day` written on the picker, on the input or on a
631
708
  calendar in place lands on the same node, with the same states. The full
@@ -655,25 +732,25 @@ the page is `BbDatePicker`.
655
732
 
656
733
  | Prop | Type | Default | Required | Description |
657
734
  | --- | --- | --- | --- | --- |
658
- | `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: `arrow`, `cellColumnHeader`, `day`, `dayButton`, `header`, `item`, `month`, `monthItem`, `root`, `year`, `yearItem`. States: `active`, `disabled`, `highlighted`, `inRange`, `outside`, `rangeEnd`, `rangeStart`, `selected`, `today`. 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 `BbCalendarProps['pt']` (`PtValue` is not exported): § Typing `pt` in `<script>`. |
735
+ | `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: `arrow`, `cellColumnHeader`, `day`, `dayButton`, `header`, `item`, `month`, `monthItem`, `root`, `week`, `weekNumber`, `year`, `yearItem`. States: `disabled`, `highlighted`, `inRange`, `outside`, `rangeEnd`, `rangeStart`, `selected`, `today`, `active`. 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 `BbCalendarProps['pt']` (`PtValue` is not exported): § Typing `pt` in `<script>`. |
659
736
  | `activeSegment` | `'start'` \| `'end'` | | | Which end the time rail edits in range + `type="datetime"` (`v-model:active-segment`). Standalone use manages this internally; an embedding host (the date input) drives it from its focused field. Ignored outside range + datetime. |
660
737
  | `ampm` | `boolean \| undefined` | `false` | | 12-hour display with an AM/PM column (requires `type="datetime"`); emits stay 24h. |
661
738
  | `disabled` | `boolean \| undefined` | `false` | | Disables every cell, the navigation and the time rail. |
662
- | `firstDayOfWeek` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| undefined` | `the locale's week start` | | First day of the week (0 = Sunday … 6 = Saturday). Omitted, the active locale's week start: Monday for `it`, `de`, `fr`, `en-gb`…, Sunday for bare `en` (US) and `pt` (Brazil). |
663
- | `floating` | `boolean \| undefined` | `false` | | Emit plain calendar strings instead of zoned ISO instants. Implied (and forced) by `type="month"` and `type="year"`. |
664
- | `max` | `string \| undefined` | | | Maximum selectable value, in this `type`'s shape. A finer bound is accepted and ceiled to the unit, with a warning. With `datetime`, on its own day the time rail disables the times after it. |
665
- | `min` | `string \| undefined` | | | Minimum selectable value in this `type`'s shape (`YYYY-MM-DD`; `YYYY-MM-DDTHH:mm` with `datetime`, `YYYY-MM` with `month`, `YYYY` with `year`). A finer bound is floored to the unit, with a warning. With `datetime` the rail also disables the earlier times on its day. |
666
- | `modelValue` | `string \| string[] \| null` | | yes | v-model: `null` when empty, a string, a `[start, end]` pair with `range`, or a sorted array with `multiple`. The string is `YYYY-MM-DD` when `floating` (`YYYY-MM` / `YYYY` for `month` / `year`), otherwise a zoned ISO instant (carrying the time under `datetime`). |
667
- | `multiple` | `boolean` | `false` | | Multi-selection: each pick toggles a value in a sorted array (days, months or years). Needs an array `modelValue` (`[]` when empty, never `null`). Throws with `range` or `type="datetime"`. |
739
+ | `firstDayOfWeek` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| undefined` | `the locale's week start` | | First day of the week (0 = Sunday … 6 = Saturday). Omitted, the active locale's week start: Monday for `it`, `de`, `fr`, `en-gb`…, Sunday for bare `en` (US) and `pt` (Brazil). Ignored under `type="week"`: ISO weeks run Monday to Sunday, so a week grid always starts on Monday. |
740
+ | `floating` | `boolean \| undefined` | `false` | | Emit plain calendar strings instead of zoned ISO instants. Implied (and forced) by `type="week"`, `type="month"` and `type="year"`. |
741
+ | `max` | `string \| undefined` | | | Maximum selectable value, in this `type`'s shape (as `min`). A finer bound is ceiled to the unit, with a warning. With `datetime`, on its own day the time rail disables the times after it. |
742
+ | `min` | `string \| undefined` | | | Minimum selectable value in this `type`'s shape (`YYYY-MM-DD`, `…THH:mm` with `datetime`, `YYYY-MM` / `YYYY` with `month` / `year`; a week or a date with `week`, whole weeks only). A finer bound is floored to the unit, with a warning. With `datetime` the rail disables the earlier times on its day. |
743
+ | `modelValue` | `string \| string[] \| null` | | yes | v-model: `null` when empty, a string, a `[start, end]` pair with `range`, or a sorted array with `multiple`. The string is `YYYY-MM-DD` when `floating` (`YYYY-Www` / `YYYY-MM` / `YYYY` for `week` / `month` / `year`), otherwise a zoned ISO instant (carrying the time under `datetime`). |
744
+ | `multiple` | `boolean` | `false` | | Multi-selection: each pick toggles a value in a sorted array (days, weeks, months or years). Needs an array `modelValue` (`[]` when empty, never `null`). Throws with `range` or `type="datetime"`. |
668
745
  | `numberOfMonths` | `number \| undefined` | `1` | | How many months show side by side (day grids only). The keyboard crosses from one month into the next, and the arrows page all of them at once. Too narrow for them all, the months wrap onto the next row. |
669
746
  | `range` | `boolean` | `false` | | Enables range selection (`[start, end]`). |
670
747
  | `readonly` | `boolean \| undefined` | `false` | | Shows the calendar and lets the user page through it, but no pick changes the value. |
671
748
  | `seconds` | `boolean \| undefined` | `false` | | Adds the seconds column (requires `type="datetime"`). |
672
- | `selectable` | `((date: string) => boolean) \| undefined` | | | Predicate invoked per candidate; return `false` to disable it. Receives the value in this `type`'s shape — `YYYY-MM` under `month`, `YYYY` under `year`. |
749
+ | `selectable` | `((date: string) => boolean) \| undefined` | | | Predicate invoked per candidate; return `false` to disable it. Receives the value in this `type`'s shape — `YYYY-Www` under `week` (so a week is enabled or disabled whole), `YYYY-MM` under `month`, `YYYY` under `year`. |
673
750
  | `step` | `number \| undefined` | `1` | | Minute-column granularity and arrow stepping (requires `type="datetime"`). |
674
751
  | `time` | `string \| string[] \| null \| undefined` | | | Companion time model (`v-model:time`), 24-hour `HH:mm` / `HH:mm:ss`. With `floating` it is the only carrier of the time; otherwise it mirrors the time inside `modelValue`. Requires `type="datetime"`. |
675
- | `type` | `'date'` \| `'month'` \| `'year'` \| `'datetime'` | `"date"` | | What the calendar selects and emits: `date` (a day), `datetime` (a day plus a time rail), `month` (`YYYY-MM`) or `year` (`YYYY`). `month` / `year` force `floating`, ignore `utc`, and leave the time props inert. |
676
- | `utc` | `boolean \| undefined` | `false` | | Emit UTC (`...Z`) instead of the local offset. Ignored with `floating`, and therefore with `type="month"`/`type="year"`. |
752
+ | `type` | `'date'` \| `'month'` \| `'year'` \| `'week'` \| `'datetime'` | `"date"` | | What the calendar selects and emits: `date` (a day), `datetime` (a day plus a time rail), `week` (an ISO week, `YYYY-Www`: any day picks its row), `month` (`YYYY-MM`) or `year` (`YYYY`). `week` / `month` / `year` force `floating`, ignore `utc`, and leave the time props inert. |
753
+ | `utc` | `boolean \| undefined` | `false` | | Emit UTC (`...Z`) instead of the local offset. Ignored with `floating`, and therefore with `type="week"`/`type="month"`/`type="year"`. |
677
754
 
678
755
  ## Passthrough parts and states
679
756
 
@@ -687,6 +764,8 @@ the page is `BbDatePicker`.
687
764
  | `month` | The month heading button; it opens the month panel. |
688
765
  | `year` | The year heading button; it opens the year panel. |
689
766
  | `cellColumnHeader` | Each weekday letter above the grid — a broadcast. |
767
+ | `week` | One row of seven days with `type="week"` — the band a picked week paints and the hover outline. A broadcast resolved per row. |
768
+ | `weekNumber` | The ISO week number heading each row with `type="week"` — a broadcast resolved per row. |
690
769
  | `day` | One whole day cell — a broadcast resolved per day. A background here paints the full cell square; restyle the round mark on `dayButton`. |
691
770
  | `dayButton` | The button inside a day cell — the mark that shows selection. A broadcast resolved per day. |
692
771
  | `monthItem` | One month button of the month panel (the home grid of `type="month"`) — a broadcast resolved per month. |
@@ -699,11 +778,11 @@ States are listed in precedence order: when two are on at once and their entries
699
778
  | --- | --- |
700
779
  | `outside` | Per node, on `day` / `dayButton`: a day of the previous or next month, shown to fill the grid. |
701
780
  | `today` | Per node, on `day` / `dayButton`: today. |
702
- | `inRange` | Per node, on the cells (`day`, `dayButton`, `monthItem`, `yearItem`): inside a committed range, between its ends. |
703
- | `selected` | Per node, on the cells: a chosen day, month or year; on `item`, the picked time's entry in each column. |
704
- | `rangeStart` | Per node, on the cells: a committed range's first day, month or year. |
705
- | `rangeEnd` | Per node, on the cells: a committed range's last day, month or year. |
706
- | `disabled` | Component-wide while the calendar is `disabled`. Also per node: on the cells, one outside `min` / `max` or refused by `selectable`; on `arrow`, at a bound or while the month / year panel is open; on `item`, a time entry outside the bound's time on the day `min` / `max` falls on. |
781
+ | `inRange` | Per node, on the cells (`day`, `dayButton`, `monthItem`, `yearItem`) and the week rows (`week`, `weekNumber`): inside a committed range, between its ends. |
782
+ | `selected` | Per node, on the cells: a chosen day, month or year; on `week` / `weekNumber`, a chosen week (a range's ends too, as on its days); on `item`, the picked time's entry in each column. |
783
+ | `rangeStart` | Per node, on the cells and the week rows: a committed range's first day, week, month or year. |
784
+ | `rangeEnd` | Per node, on the cells and the week rows: a committed range's last day, week, month or year. |
785
+ | `disabled` | Component-wide while the calendar is `disabled`. Also per node: on the cells, one outside `min` / `max` or refused by `selectable`; on `arrow`, at a bound or while the month / year panel is open; on `year`, while the year panel cannot open; on `item`, a time entry outside the bound's time on the day `min` / `max` falls on. |
707
786
  | `active` | Per node, on `month` / `year`: its panel is open. |
708
787
  | `highlighted` | Per node, on the cells: the keyboard cursor. |
709
788
 
@@ -736,6 +815,7 @@ Set these on the element, or on a class you put on it, to retune this component
736
815
  | `--unit-row` | `.bb-calendar` | `calc(var(--cell) * 1.25)` | Row pitch for the coarse grids (month/year), where a "row" is one of four month rows rather than a week. Roomier than --cell because twelve months in a 4×3 grid have space the 6×7 day grid does not. |
737
816
  | `--ring-t` | `.bb-calendar__arrow` | `var(--bb-transition-medium)` | |
738
817
  | `--ring-t` | `.bb-calendar__heading-btn` | `var(--bb-transition-medium)` | |
818
+ | `--wk` | `.bb-calendar--week` | `calc(var(--cell) * 0.6)` | Two tabular digits at 11px, with air: the column holds numbers only. |
739
819
 
740
820
  ## Component tree
741
821
 
@@ -746,10 +826,10 @@ Set these on the element, or on a class you put on it, to retune this component
746
826
  - **CSS custom properties** listed on a node are declared on THAT node's root and read by elements inside it. Set one on that node's root or on the element inside it that reads it — the pt part that lands there is how you reach it (`pt:box="[--border-color:…]"` on a text input) — never on `BbCalendar`'s root, where the node's own declaration masks it (design-tokens guide, _Overriding one from a consumer app_, rule 0).
747
827
  - Listed nodes are the ones `BbCalendar`'s API reaches or that declare a documented CSS variable; the rest fold into "also mounts". The complete tree, repeats and undocumented locals included, is `manifest/components/BbCalendar.tree.json`.
748
828
 
749
- - `BbCalendar` _(this component)_ — its own template binds: `header` → `div.bb-calendar__header`, `arrow` → `BbBaseButton`, `month` → `BbBaseButton`, `year` → `BbBaseButton`, `day` → `div.bb-calendar__day`, `dayButton` → `button.bb-calendar__day-button`
829
+ - `BbCalendar` _(this component)_ — its own template binds: `header` → `div.bb-calendar__header`, `arrow` → `BbBaseButton`, `month` → `BbBaseButton`, `year` → `BbBaseButton`, `week` → `div.bb-calendar__week`, `weekNumber` → `div.bb-calendar__week-number`, `day` → `div.bb-calendar__day`, `dayButton` → `button.bb-calendar__day-button`
750
830
  - `BbBaseButton` _(public — [contract](./BbBaseButton.md))_ — its own pt parts (`BbBaseButton`): `root` → `RouterComponent`, `root` → `a`, `root` → `component`; also mounts `RouterComponent`
751
831
  - `CommonTimeSelector` _(internal — not importable, reach it through `BbCalendar`)_ — `BbCalendar`'s pt parts land here: `header` → `div.bb-time-selector__header`, `cellColumnHeader` → `div.bb-time-selector__cell-column-header`, `item` → `BbBaseButton`; documented CSS variables: `--time-mark`; also mounts `BbBaseButton`
752
- - Also mounts `ScaleFade`, `Slide`, `CalendarMonthPanel`, `CalendarYearPanel`
832
+ - Also mounts `BbIcon`, `ScaleFade`, `Slide`, `CalendarMonthPanel`, `CalendarYearPanel`
753
833
 
754
834
  ## See Also
755
835
 
@@ -32,6 +32,8 @@
32
32
  | `--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. |
33
33
  | `--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. |
34
34
  | `--elev` | `pt:icon` | `BbBaseCheckboxIcon` | Resting lift; a no-op until a theme pins `--bb-elev`. |
35
+ | `--bw` | `pt:icon` | `BbBaseCheckboxIcon` | The box's border width: the nested hairline, like the switch track. |
36
+ | `--t` | `pt:icon` | `BbBaseCheckboxIcon` | State-change time: the fill fade and the check / dash drawing in. |
35
37
  | `--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. |
36
38
  | `--border-color` | `pt:icon` | `BbBaseCheckboxIcon` | Resting border colour of the glyph; re-pointed by error and warning states. |
37
39
  | `--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. |
@@ -646,6 +648,22 @@ const onSave = async () => {
646
648
  </script>
647
649
  ```
648
650
 
651
+ **The drawing is set through CSS locals on `icon`**
652
+ (`pt:icon="[--r:999px] [--bw:2px]"`):
653
+
654
+ | Local | Default | What it sets |
655
+ | ---------------- | ---------------------------- | ----------------------------------------------------- |
656
+ | `--size` | `16px` | Box width and height |
657
+ | `--bg` | `--bb-panel` | Box fill while unchecked |
658
+ | `--accent` | `--bb-primary` | Fill and edge while checked or indeterminate |
659
+ | `--check-color` | `--bb-primary-fg` | The tick and the dash on the fill |
660
+ | `--border-color` | `--bb-border` | Edge while unchecked |
661
+ | `--bw` | `--bb-border-w-sm` | Border width |
662
+ | `--r` | `min(4px, var(--bb-radius))` | Corners |
663
+ | `--elev` | `--bb-elev-sm` | Resting lift |
664
+ | `--t` | `--bb-transition-medium` | State-change time: the fill fade, the tick drawing in |
665
+ | `--ring-color` | `--bb-ring` | Focus ring colour (errors and warnings set their own) |
666
+
649
667
  An attribute in `attrs` wins over ours. The invisible native input under the glyph is
650
668
  not a part — plain attributes on the component land on the root. A listener in `attrs` runs after the control's own
651
669
  handler, never instead of it. The full grammar, the merge rules and the global
@@ -685,6 +703,10 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
685
703
 
686
704
  ### Accessibility
687
705
 
706
+ - On a touch screen a lone checkbox's row gets an invisible hit area up to 44px
707
+ tall, centred, with nothing moving: the full 44px with no element beside the
708
+ field, 4px a side with one (8px apart, the areas meet in the gap). A group
709
+ component spaces its own rows for this.
688
710
  - Always pass a `label` (or `label` slot) — never rely on nearby text alone.
689
711
  - `errors`, `warnings`, `description` and `hint` are all wired to the input through
690
712
  `aria-describedby`, in that order: the reason the field is invalid is spoken
@@ -711,7 +733,7 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
711
733
  | `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`, `label`, `message`, `root`. States: `checked`, `disabled`, `errors`, `focused`, `focusVisible`, `indeterminate`, `readonly`, `warnings`. 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 `BbCheckboxProps['pt']` (`PtValue` is not exported): § Typing `pt` in `<script>`. |
712
734
  | `autofocus` | `Booleanish \| undefined` | | | Focuses the field when it mounts (a dialog already open included), unless the user is typing in another field. |
713
735
  | `checked` | `boolean \| undefined` | `undefined` | | Defines the input as checked. |
714
- | `compact` | `boolean \| undefined` | `false` | | Compact density. Swaps `--bb-label-spacing-y` for `--bb-label-spacing-y-compact`, so tune a compact field's label gap with the `-compact` token, not the base one. The same meaning as on the checkbox, radio and switch groups. |
736
+ | `compact` | `boolean \| undefined` | `undefined` | | Compact density. Swaps `--bb-label-spacing-y` for `--bb-label-spacing-y-compact`, so tune a compact field's label gap with the `-compact` token, not the base one. The same meaning as on the checkbox, radio and switch groups. |
715
737
  | `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`. |
716
738
  | `disabled` | `boolean \| undefined` | `false` | | Disables the component. |
717
739
  | `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. |
@@ -724,11 +746,11 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
724
746
  | `id` | `string \| undefined` | | | The `id` of the native control; the label's `for` and the description and message ids derive from it. Generated when omitted. |
725
747
  | `indeterminate` | `boolean \| undefined` | `false` | | Sets the input in an indeterminate state. |
726
748
  | `inputAlign` | `FieldCrossAlign \| undefined` | | | 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. |
727
- | `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. |
749
+ | `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. |
728
750
  | `label` | `string` | | yes | Text content of the label of the element. |
729
751
  | `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. |
730
- | `labelPosition` | `"left" \| "center" \| "right" \| undefined` | | | Sets the text alignment of the label. |
731
- | `layout` | `Responsive<FieldLayout> \| undefined` | `"auto"` | | 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' }`). |
752
+ | `labelPosition` | `"center" \| "left" \| "right" \| undefined` | | | Sets the text alignment of the label. |
753
+ | `layout` | `Responsive<FieldLayout> \| undefined` | `'auto'` | | 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' }`). |
732
754
  | `modelValue` | `any` | | | Used by v-model. Can be any serializable type. |
733
755
  | `name` | `string \| undefined` | | | Defines the name of the input. |
734
756
  | `persistentHint` | `boolean \| undefined` | `false` | | Keeps the hint displayed. |
@@ -739,7 +761,7 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
739
761
  | `submitWhenFalse` | `boolean \| undefined` | `false` | | Will submit "falseValue" if the input is not checked. Otherwise "trueValue" will be submitted. |
740
762
  | `trueValue` | `any` | | | Value of the input when checked. It handles any kind of serializable object. |
741
763
  | `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. |
742
- | `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. |
764
+ | `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. |
743
765
  | `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. |
744
766
 
745
767
  ## Passthrough parts and states