bitboss-ui 3.0.0-beta.67 → 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 (541) hide show
  1. package/README.md +1 -1
  2. package/bin/bitboss-ui-mcp.mjs +87 -19
  3. package/bin/bitboss-ui.mjs +6 -2
  4. package/dist/ai/BbAlert.md +15 -11
  5. package/dist/ai/BbAsterisk.md +1 -1
  6. package/dist/ai/BbAvatar.md +2 -2
  7. package/dist/ai/BbBadge.md +4 -4
  8. package/dist/ai/BbBaseCheckboxIcon.md +4 -0
  9. package/dist/ai/BbBaseRadioIcon.md +7 -3
  10. package/dist/ai/BbBaseSwitchIcon.md +11 -2
  11. package/dist/ai/BbBreadcrumbs.md +2 -2
  12. package/dist/ai/BbButton.md +62 -9
  13. package/dist/ai/BbCalendar.md +1 -1
  14. package/dist/ai/BbCheckbox.md +23 -5
  15. package/dist/ai/BbCheckboxGroup.md +52 -25
  16. package/dist/ai/BbColorInput.md +13 -12
  17. package/dist/ai/BbColorPalette.md +5 -5
  18. package/dist/ai/BbConfigScope.md +218 -0
  19. package/dist/ai/BbConfirm.md +24 -21
  20. package/dist/ai/BbDatePicker.md +4 -4
  21. package/dist/ai/BbDatePickerInput.md +16 -15
  22. package/dist/ai/BbDialog.md +10 -9
  23. package/dist/ai/BbDropdown.md +26 -16
  24. package/dist/ai/BbDropdownButton.md +18 -18
  25. package/dist/ai/BbDropzone.md +1 -1
  26. package/dist/ai/BbForm.md +6 -4
  27. package/dist/ai/BbHost.md +19 -13
  28. package/dist/ai/BbIcon.md +3 -3
  29. package/dist/ai/BbIndicator.md +4 -4
  30. package/dist/ai/BbNumberInput.md +17 -13
  31. package/dist/ai/BbOffCanvas.md +4 -3
  32. package/dist/ai/BbPagination.md +10 -2
  33. package/dist/ai/BbPopover.md +5 -5
  34. package/dist/ai/BbRadio.md +23 -4
  35. package/dist/ai/BbRadioGroup.md +69 -30
  36. package/dist/ai/BbRating.md +5 -5
  37. package/dist/ai/BbSelect.md +74 -39
  38. package/dist/ai/BbSelectPopover.md +28 -26
  39. package/dist/ai/BbSlider.md +258 -61
  40. package/dist/ai/BbSpinner.md +2 -2
  41. package/dist/ai/BbSwitch.md +27 -4
  42. package/dist/ai/BbSwitchGroup.md +22 -13
  43. package/dist/ai/BbTable.md +10 -5
  44. package/dist/ai/BbTabs.md +6 -6
  45. package/dist/ai/BbTabsRoot.md +1 -1
  46. package/dist/ai/BbTag.md +12 -11
  47. package/dist/ai/BbTextInput.md +25 -17
  48. package/dist/ai/BbTextarea.md +15 -14
  49. package/dist/ai/BbTimePicker.md +3 -3
  50. package/dist/ai/BbTimePickerInput.md +12 -11
  51. package/dist/ai/BbToast.md +65 -26
  52. package/dist/ai/BbTooltip.md +2 -2
  53. package/dist/ai/CommonField.md +2 -2
  54. package/dist/ai/CommonFieldInput.md +2 -1
  55. package/dist/ai/FlatListBox.md +4 -3
  56. package/dist/ai/GroupedListBox.md +4 -3
  57. package/dist/ai/ListBox.md +5 -4
  58. package/dist/ai/OptionsContainer.md +17 -1
  59. package/dist/ai/changelog.json +454 -7
  60. package/dist/ai/components.json +77 -69
  61. package/dist/ai/composables/useBbConfig.md +3 -3
  62. package/dist/ai/composables/useBbDialog.md +1 -1
  63. package/dist/ai/composables/useBbFormField.md +1 -1
  64. package/dist/ai/composables/useConfirm.md +1 -1
  65. package/dist/ai/composables/useToast.md +16 -16
  66. package/dist/ai/design-tokens.json +10 -5
  67. package/dist/ai/guides/agent-contract.md +8 -8
  68. package/dist/ai/guides/ai-router.md +1 -1
  69. package/dist/ai/guides/app-layout.md +1 -1
  70. package/dist/ai/guides/design-language.md +17 -13
  71. package/dist/ai/guides/design-tokens.md +81 -42
  72. package/dist/ai/guides/eslint-rules.md +3 -1
  73. package/dist/ai/guides/fetch-items-playbook.md +1 -1
  74. package/dist/ai/guides/icons-policy.md +1 -1
  75. package/dist/ai/guides/inline-edit-playbook.md +1 -1
  76. package/dist/ai/guides/installation-and-plugin-setup.md +335 -161
  77. package/dist/ai/guides/migration/adoption-checklist.md +5 -5
  78. package/dist/ai/guides/migration/components/bb-alert.md +2 -2
  79. package/dist/ai/guides/migration/components/bb-badge.md +1 -1
  80. package/dist/ai/guides/migration/components/bb-checkbox-group.md +15 -15
  81. package/dist/ai/guides/migration/components/bb-dialog.md +2 -2
  82. package/dist/ai/guides/migration/components/bb-dropdown.md +1 -1
  83. package/dist/ai/guides/migration/components/bb-host.md +10 -8
  84. package/dist/ai/guides/migration/components/bb-offcanvas.md +1 -1
  85. package/dist/ai/guides/migration/components/bb-select-popover.md +2 -2
  86. package/dist/ai/guides/migration/components/bb-select.md +3 -3
  87. package/dist/ai/guides/migration/components/bb-slider.md +17 -2
  88. package/dist/ai/guides/migration/components/bb-tabs.md +1 -1
  89. package/dist/ai/guides/migration/components/bb-toast.md +6 -6
  90. package/dist/ai/guides/migration/components/use-confirm.md +1 -1
  91. package/dist/ai/guides/migration/v2-to-v3.md +191 -56
  92. package/dist/ai/guides/migration/v3-beta-tooling.md +2 -2
  93. package/dist/ai/guides/passthrough.md +140 -131
  94. package/dist/ai/guides/typescript-generic-components.md +7 -7
  95. package/dist/ai/guides/validated-forms.md +5 -5
  96. package/dist/ai/guides/validation-libraries.md +4 -4
  97. package/dist/ai/helpers/inertia/manifest.json +1 -1
  98. package/dist/ai/index.md +3 -3
  99. package/dist/ai/manifest/common.json +9 -11
  100. package/dist/ai/manifest/components/BbAlert.json +3 -2
  101. package/dist/ai/manifest/components/BbAvatar.json +2 -1
  102. package/dist/ai/manifest/components/BbBadge.json +3 -2
  103. package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +5 -1
  104. package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +7 -3
  105. package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +9 -1
  106. package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
  107. package/dist/ai/manifest/components/BbButton.json +4 -3
  108. package/dist/ai/manifest/components/BbButton.tree.json +3 -1
  109. package/dist/ai/manifest/components/BbCalendar.tree.json +1 -0
  110. package/dist/ai/manifest/components/BbCheckbox.json +4 -3
  111. package/dist/ai/manifest/components/BbCheckbox.tree.json +1 -1
  112. package/dist/ai/manifest/components/BbCheckboxGroup.json +17 -14
  113. package/dist/ai/manifest/components/BbCheckboxGroup.removed.json +1 -1
  114. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +25 -4
  115. package/dist/ai/manifest/components/BbColorInput.json +6 -5
  116. package/dist/ai/manifest/components/BbColorInput.tree.json +4 -3
  117. package/dist/ai/manifest/components/BbColorPalette.json +2 -1
  118. package/dist/ai/manifest/components/BbColorPalette.tree.json +2 -1
  119. package/dist/ai/manifest/components/BbConfigScope.json +23 -0
  120. package/dist/ai/manifest/components/BbConfirm.json +2 -1
  121. package/dist/ai/manifest/components/BbConfirm.tree.json +2 -2
  122. package/dist/ai/manifest/components/BbDatePicker.json +2 -1
  123. package/dist/ai/manifest/components/BbDatePicker.tree.json +2 -2
  124. package/dist/ai/manifest/components/BbDatePickerInput.json +6 -5
  125. package/dist/ai/manifest/components/BbDatePickerInput.tree.json +6 -4
  126. package/dist/ai/manifest/components/BbDialog.json +3 -2
  127. package/dist/ai/manifest/components/BbDialog.tree.json +2 -2
  128. package/dist/ai/manifest/components/BbDropdown.json +7 -4
  129. package/dist/ai/manifest/components/BbDropdown.tree.json +1 -1
  130. package/dist/ai/manifest/components/BbDropdownButton.json +11 -8
  131. package/dist/ai/manifest/components/BbDropdownButton.tree.json +3 -3
  132. package/dist/ai/manifest/components/BbDropzone.json +1 -0
  133. package/dist/ai/manifest/components/BbForm.json +1 -1
  134. package/dist/ai/manifest/components/BbHost.tree.json +1 -1
  135. package/dist/ai/manifest/components/BbIcon.json +2 -1
  136. package/dist/ai/manifest/components/BbIndicator.json +2 -1
  137. package/dist/ai/manifest/components/BbNumberInput.json +5 -4
  138. package/dist/ai/manifest/components/BbNumberInput.tree.json +3 -2
  139. package/dist/ai/manifest/components/BbOffCanvas.json +2 -1
  140. package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
  141. package/dist/ai/manifest/components/BbPagination.json +1 -1
  142. package/dist/ai/manifest/components/BbPagination.tree.json +2 -1
  143. package/dist/ai/manifest/components/BbPopover.json +2 -1
  144. package/dist/ai/manifest/components/BbPopover.tree.json +1 -1
  145. package/dist/ai/manifest/components/BbRadio.json +3 -2
  146. package/dist/ai/manifest/components/BbRadio.tree.json +1 -1
  147. package/dist/ai/manifest/components/BbRadioGroup.json +21 -18
  148. package/dist/ai/manifest/components/BbRadioGroup.removed.json +1 -1
  149. package/dist/ai/manifest/components/BbRadioGroup.tree.json +25 -4
  150. package/dist/ai/manifest/components/BbRating.json +3 -2
  151. package/dist/ai/manifest/components/BbSelect.json +11 -9
  152. package/dist/ai/manifest/components/BbSelect.tree.json +7 -5
  153. package/dist/ai/manifest/components/BbSelectPopover.json +11 -9
  154. package/dist/ai/manifest/components/BbSelectPopover.tree.json +5 -2
  155. package/dist/ai/manifest/components/BbSlider.json +20 -18
  156. package/dist/ai/manifest/components/BbSlider.removed.json +3 -0
  157. package/dist/ai/manifest/components/BbSlider.tree.json +4 -2
  158. package/dist/ai/manifest/components/BbSwitch.json +2 -1
  159. package/dist/ai/manifest/components/BbSwitch.tree.json +1 -1
  160. package/dist/ai/manifest/components/BbSwitchGroup.json +7 -5
  161. package/dist/ai/manifest/components/BbSwitchGroup.removed.json +1 -1
  162. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +6 -2
  163. package/dist/ai/manifest/components/BbTable.json +3 -2
  164. package/dist/ai/manifest/components/BbTable.tree.json +4 -3
  165. package/dist/ai/manifest/components/BbTabs.json +3 -2
  166. package/dist/ai/manifest/components/BbTabsRoot.json +2 -2
  167. package/dist/ai/manifest/components/BbTag.json +6 -5
  168. package/dist/ai/manifest/components/BbTag.tree.json +3 -2
  169. package/dist/ai/manifest/components/BbTextInput.json +5 -4
  170. package/dist/ai/manifest/components/BbTextInput.tree.json +3 -2
  171. package/dist/ai/manifest/components/BbTextarea.json +6 -5
  172. package/dist/ai/manifest/components/BbTextarea.tree.json +3 -2
  173. package/dist/ai/manifest/components/BbTimePicker.json +2 -1
  174. package/dist/ai/manifest/components/BbTimePicker.tree.json +1 -1
  175. package/dist/ai/manifest/components/BbTimePickerInput.json +6 -5
  176. package/dist/ai/manifest/components/BbTimePickerInput.tree.json +5 -3
  177. package/dist/ai/manifest/components/BbToast.json +2 -1
  178. package/dist/ai/manifest/components/BbToast.tree.json +6 -1
  179. package/dist/ai/manifest/components/BbTooltip.json +1 -0
  180. package/dist/ai/manifest/components/CommonField.json +2 -2
  181. package/dist/ai/manifest/components/CommonFieldInput.json +2 -2
  182. package/dist/ai/manifest/components/CommonFieldInput.tree.json +2 -0
  183. package/dist/ai/manifest/components/FlatListBox.json +1 -1
  184. package/dist/ai/manifest/components/FlatListBox.tree.json +2 -1
  185. package/dist/ai/manifest/components/GroupedListBox.json +1 -1
  186. package/dist/ai/manifest/components/GroupedListBox.tree.json +2 -1
  187. package/dist/ai/manifest/components/ListBox.json +1 -1
  188. package/dist/ai/manifest/components/ListBox.tree.json +2 -2
  189. package/dist/ai/manifest/components/OptionsContainer.json +3 -2
  190. package/dist/ai/manifest/components/OptionsContainer.tree.json +16 -1
  191. package/dist/ai/manifest/index.json +3 -3
  192. package/dist/ai/manifest/meta.json +16 -7
  193. package/dist/ai/manifest/types.advanced.json +5 -6
  194. package/dist/ai/manifest/types.api.json +15 -6
  195. package/dist/ai/manifest/types.wrapper.json +2 -2
  196. package/dist/ai/recipes/inertia/approvals-inbox.md +2 -2
  197. package/dist/ai/recipes/inertia/inline-edit-workspace.md +13 -9
  198. package/dist/ai/recipes/inertia/onboarding.md +2 -2
  199. package/dist/ai/recipes/inertia/ownership-atlas.md +2 -2
  200. package/dist/ai/recipes/inertia/record-form.md +2 -2
  201. package/dist/ai/recipes/inertia/records-workspace.md +2 -2
  202. package/dist/ai/recipes/inertia/settings-workspace.md +5 -4
  203. package/dist/ai/recipes/inertia/upload-center.md +3 -3
  204. package/dist/ai/recipes/inertia/wizard-form.md +2 -2
  205. package/dist/ai/recipes/nuxt/approvals-inbox.md +2 -2
  206. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +13 -9
  207. package/dist/ai/recipes/nuxt/onboarding.md +2 -2
  208. package/dist/ai/recipes/nuxt/ownership-atlas.md +2 -2
  209. package/dist/ai/recipes/nuxt/record-form.md +2 -2
  210. package/dist/ai/recipes/nuxt/records-workspace.md +2 -2
  211. package/dist/ai/recipes/nuxt/settings-workspace.md +5 -4
  212. package/dist/ai/recipes/nuxt/upload-center.md +4 -4
  213. package/dist/ai/recipes/nuxt/wizard-form.md +2 -2
  214. package/dist/ai/recipes/vue/approvals-inbox.md +2 -2
  215. package/dist/ai/recipes/vue/inline-edit-workspace.md +13 -9
  216. package/dist/ai/recipes/vue/onboarding.md +2 -2
  217. package/dist/ai/recipes/vue/ownership-atlas.md +2 -2
  218. package/dist/ai/recipes/vue/record-form.md +2 -2
  219. package/dist/ai/recipes/vue/records-workspace.md +2 -2
  220. package/dist/ai/recipes/vue/settings-workspace.md +5 -4
  221. package/dist/ai/recipes/vue/upload-center.md +4 -4
  222. package/dist/ai/recipes/vue/wizard-form.md +2 -2
  223. package/dist/ai/source/BbAlert.md +10 -4
  224. package/dist/ai/source/BbAvatar.md +5 -4
  225. package/dist/ai/source/BbBadge.md +16 -9
  226. package/dist/ai/source/BbBadgeButton.md +1 -1
  227. package/dist/ai/source/BbBaseCheckboxIcon.md +7 -5
  228. package/dist/ai/source/BbBaseRadioIcon.md +17 -11
  229. package/dist/ai/source/BbBaseSwitchIcon.md +14 -9
  230. package/dist/ai/source/BbButton.md +38 -22
  231. package/dist/ai/source/BbCalendar.md +5 -30
  232. package/dist/ai/source/BbCheckbox.md +20 -7
  233. package/dist/ai/source/BbCheckboxGroup.md +66 -27
  234. package/dist/ai/source/BbColorInput.md +29 -22
  235. package/dist/ai/source/BbColorPalette.md +23 -22
  236. package/dist/ai/source/BbConfigScope.md +123 -0
  237. package/dist/ai/source/BbConfirm.md +5 -3
  238. package/dist/ai/source/BbDatePicker.md +18 -8
  239. package/dist/ai/source/BbDatePickerInput.md +44 -27
  240. package/dist/ai/source/BbDialog.md +23 -13
  241. package/dist/ai/source/BbDropdown.md +61 -25
  242. package/dist/ai/source/BbDropdownButton.md +67 -25
  243. package/dist/ai/source/BbDropdownGroup.md +38 -15
  244. package/dist/ai/source/BbForm.md +1 -1
  245. package/dist/ai/source/BbHost.md +4 -4
  246. package/dist/ai/source/BbHoverCard.md +6 -2
  247. package/dist/ai/source/BbIcon.md +5 -4
  248. package/dist/ai/source/BbIndicator.md +1 -1
  249. package/dist/ai/source/BbNumberInput.md +44 -30
  250. package/dist/ai/source/BbOffCanvas.md +17 -10
  251. package/dist/ai/source/BbPagination.md +10 -18
  252. package/dist/ai/source/BbPopover.md +17 -9
  253. package/dist/ai/source/BbPopoverPortal.md +2 -2
  254. package/dist/ai/source/BbRadio.md +18 -7
  255. package/dist/ai/source/BbRadioGroup.md +67 -27
  256. package/dist/ai/source/BbRating.md +21 -11
  257. package/dist/ai/source/BbSelect.md +51 -32
  258. package/dist/ai/source/BbSelectPopover.md +81 -38
  259. package/dist/ai/source/BbSlider.md +929 -565
  260. package/dist/ai/source/BbSwitchGroup.md +28 -9
  261. package/dist/ai/source/BbTable.md +17 -30
  262. package/dist/ai/source/BbTabs.md +5 -2
  263. package/dist/ai/source/BbTabsList.md +1 -1
  264. package/dist/ai/source/BbTabsPanels.md +1 -1
  265. package/dist/ai/source/BbTabsRoot.md +1 -1
  266. package/dist/ai/source/BbTag.md +27 -20
  267. package/dist/ai/source/BbTextInput.md +29 -26
  268. package/dist/ai/source/BbTextarea.md +53 -45
  269. package/dist/ai/source/BbTimePicker.md +19 -7
  270. package/dist/ai/source/BbTimePickerInput.md +34 -21
  271. package/dist/ai/source/BbToast.md +18 -9
  272. package/dist/ai/source/BbToastPortal.md +14 -6
  273. package/dist/ai/source/BbTooltip.md +1 -1
  274. package/dist/ai/source/CommonFieldInput.md +9 -4
  275. package/dist/ai/source/FlatListBox.md +11 -1
  276. package/dist/ai/source/GroupedListBox.md +12 -1
  277. package/dist/ai/source/ListBox.md +1 -1
  278. package/dist/ai/source/OptionsContainer.md +48 -1
  279. package/dist/assets/svgs/arrow_up.svg_raw.js +3 -0
  280. package/dist/assets/svgs/caret_down.svg_raw.js +3 -0
  281. package/dist/assets/svgs/chevron_left_small.svg_raw.js +3 -0
  282. package/dist/assets/svgs/chevron_right_small.svg_raw.js +3 -0
  283. package/dist/assets/svgs/close.svg_raw.js +3 -0
  284. package/dist/assets/svgs/eyedropper.svg_raw.js +3 -0
  285. package/dist/assets/svgs/move.svg_raw.js +3 -0
  286. package/dist/assets/svgs/x.svg_raw.js +3 -0
  287. package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -0
  288. package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +48 -44
  289. package/dist/components/BbAlert/types.d.ts +1 -1
  290. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
  291. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +54 -53
  292. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +60 -56
  293. package/dist/components/BbBadge/types.d.ts +1 -1
  294. package/dist/components/BbButton/BbButton.vue.d.ts +2 -0
  295. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +110 -98
  296. package/dist/components/BbButton/types.d.ts +12 -10
  297. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +17 -17
  298. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +298 -313
  299. package/dist/components/BbCalendar/useCalendarGrid.js +3 -2
  300. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -2
  301. package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +94 -82
  302. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +78 -55
  303. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +184 -151
  304. package/dist/components/BbCheckboxGroup/types.d.ts +10 -5
  305. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
  306. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +13 -11
  307. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +82 -71
  308. package/dist/components/BbColorInput/types.d.ts +8 -8
  309. package/dist/components/BbColorInput/types.js +1 -1
  310. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
  311. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +180 -182
  312. package/dist/components/BbColorPalette/types.d.ts +2 -2
  313. package/dist/components/BbConfigScope/BbConfigScope.vue.d.ts +12 -0
  314. package/dist/components/BbConfigScope/BbConfigScope.vue.js +4 -0
  315. package/dist/components/BbConfigScope/BbConfigScope.vue_vue_type_script_setup_true_lang.js +37 -0
  316. package/dist/components/BbConfigScope/types.d.ts +20 -0
  317. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +3 -3
  318. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +31 -31
  319. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +171 -170
  320. package/dist/components/BbDatePicker/types.d.ts +2 -2
  321. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +110 -110
  322. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +457 -441
  323. package/dist/components/BbDatePickerInput/types.d.ts +8 -8
  324. package/dist/components/BbDatePickerInput/types.js +1 -1
  325. package/dist/components/BbDialog/BbDialog.vue.d.ts +4 -3
  326. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +204 -197
  327. package/dist/components/BbDialog/types.d.ts +2 -2
  328. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +5 -4
  329. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +302 -286
  330. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +348 -344
  331. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +97 -97
  332. package/dist/components/BbDropdown/DropdownRow.vue.d.ts +1 -1
  333. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +2 -2
  334. package/dist/components/BbDropdown/pointerTrail.d.ts +5 -0
  335. package/dist/components/BbDropdown/pointerTrail.js +26 -0
  336. package/dist/components/BbDropdown/types.d.ts +25 -13
  337. package/dist/components/BbDropdown/types.js +11 -2
  338. package/dist/components/BbDropdown/useDropdownContext.d.ts +1 -1
  339. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -3
  340. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +93 -69
  341. package/dist/components/BbDropdownButton/types.d.ts +30 -13
  342. package/dist/components/BbDropdownButton/types.js +7 -3
  343. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +5 -5
  344. package/dist/components/BbForm/BbForm.vue.d.ts +2 -2
  345. package/dist/components/BbForm/BbFormCustomField.js +2 -2
  346. package/dist/components/BbForm/bindFormField.js +66 -66
  347. package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +1 -1
  348. package/dist/components/BbHost/BbHostOpening.d.ts +1 -1
  349. package/dist/components/BbHost/types.d.ts +2 -2
  350. package/dist/components/BbHoverCard/BbHoverCard.vue.d.ts +2 -2
  351. package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +158 -157
  352. package/dist/components/BbIcon/BbIcon.vue.d.ts +1 -1
  353. package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +41 -40
  354. package/dist/components/BbIndicator/types.d.ts +1 -1
  355. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +12 -9
  356. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +248 -232
  357. package/dist/components/BbNumberInput/types.d.ts +12 -11
  358. package/dist/components/BbNumberInput/types.js +1 -1
  359. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
  360. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +275 -274
  361. package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
  362. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +104 -108
  363. package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
  364. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +90 -90
  365. package/dist/components/BbPopover/types.d.ts +2 -2
  366. package/dist/components/BbRadio/BbRadio.vue.d.ts +4 -2
  367. package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +105 -93
  368. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +72 -49
  369. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +214 -181
  370. package/dist/components/BbRadioGroup/types.d.ts +11 -5
  371. package/dist/components/BbRating/BbRating.vue.d.ts +7 -5
  372. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +139 -128
  373. package/dist/components/BbSelect/BbSelect.vue.d.ts +174 -155
  374. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +179 -158
  375. package/dist/components/BbSelect/types.d.ts +23 -19
  376. package/dist/components/BbSelect/types.js +4 -2
  377. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +21 -16
  378. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +637 -623
  379. package/dist/components/BbSelectPopover/reclickClears.d.ts +17 -0
  380. package/dist/components/BbSelectPopover/reclickClears.js +4 -0
  381. package/dist/components/BbSelectPopover/types.d.ts +21 -16
  382. package/dist/components/BbSelectPopover/types.js +3 -1
  383. package/dist/components/BbSlider/BbSlider.vue.d.ts +22 -15
  384. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +382 -315
  385. package/dist/components/BbSlider/types.d.ts +136 -47
  386. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -2
  387. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +28 -27
  388. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +3 -0
  389. package/dist/components/BbTable/BbTable.vue.d.ts +4 -4
  390. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1128 -1135
  391. package/dist/components/BbTable/BbTableSelectToggle.d.ts +1 -1
  392. package/dist/components/BbTabs/BbTabs.vue.d.ts +21 -21
  393. package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +8 -2
  394. package/dist/components/BbTabs/types.d.ts +1 -1
  395. package/dist/components/BbTag/BbTag.vue.d.ts +15 -13
  396. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +196 -185
  397. package/dist/components/BbTag/types.d.ts +7 -7
  398. package/dist/components/BbTag/types.js +1 -1
  399. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +30 -30
  400. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +66 -55
  401. package/dist/components/BbTextInput/types.d.ts +9 -9
  402. package/dist/components/BbTextInput/types.js +1 -1
  403. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +30 -30
  404. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +96 -86
  405. package/dist/components/BbTextarea/types.d.ts +8 -8
  406. package/dist/components/BbTextarea/types.js +1 -1
  407. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +12 -12
  408. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +131 -130
  409. package/dist/components/BbTimePicker/types.d.ts +2 -2
  410. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +73 -73
  411. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +286 -273
  412. package/dist/components/BbTimePickerInput/types.d.ts +8 -8
  413. package/dist/components/BbTimePickerInput/types.js +1 -1
  414. package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +3 -3
  415. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +75 -80
  416. package/dist/components/BbToast/types.d.ts +2 -2
  417. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -3
  418. package/dist/components/BbTooltip/types.d.ts +1 -1
  419. package/dist/components/BbTree/BbTree.vue.d.ts +1 -1
  420. package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
  421. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +11 -16
  422. package/dist/components/CommonFieldInput/types.d.ts +1 -1
  423. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +5 -2
  424. package/dist/components/FlatListBox/types.d.ts +1 -1
  425. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +5 -2
  426. package/dist/components/GroupedListBox/types.d.ts +1 -1
  427. package/dist/components/ListBox/types.d.ts +1 -1
  428. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +87 -69
  429. package/dist/components/OptionsContainer/types.d.ts +5 -0
  430. package/dist/components/Transitions/Slide.vue.d.ts +1 -1
  431. package/dist/composables/useBbTabs.js +94 -90
  432. package/dist/composables/useConfig.js +2 -9
  433. package/dist/composables/useConfigDefaults.d.ts +54 -0
  434. package/dist/composables/useConfigDefaults.js +56 -0
  435. package/dist/composables/useConfirm.d.ts +7 -7
  436. package/dist/composables/useFormBinding.d.ts +1 -1
  437. package/dist/composables/useFormBinding.js +3 -3
  438. package/dist/composables/usePassthrough.d.ts +7 -5
  439. package/dist/composables/usePassthrough.js +137 -133
  440. package/dist/composables/useToast.d.ts +5 -4
  441. package/dist/composables/useToast.js +47 -37
  442. package/dist/deprecation/ai-deprecations.json.d.ts +44 -15
  443. package/dist/deprecation/ai-deprecations.json.js +1 -1
  444. package/dist/directives/bbDropdown.js +7 -7
  445. package/dist/i18n/locales/cs.json +2 -1
  446. package/dist/i18n/locales/da.json +2 -1
  447. package/dist/i18n/locales/de-CH.json +2 -1
  448. package/dist/i18n/locales/de.json +2 -1
  449. package/dist/i18n/locales/el.json +2 -1
  450. package/dist/i18n/locales/en-GB.json +2 -1
  451. package/dist/i18n/locales/en.json +2 -1
  452. package/dist/i18n/locales/es-MX.json +2 -1
  453. package/dist/i18n/locales/es.json +2 -1
  454. package/dist/i18n/locales/fi.json +2 -1
  455. package/dist/i18n/locales/fr.json +2 -1
  456. package/dist/i18n/locales/hu.json +2 -1
  457. package/dist/i18n/locales/it.json +2 -1
  458. package/dist/i18n/locales/ja.json +2 -1
  459. package/dist/i18n/locales/ko.json +2 -1
  460. package/dist/i18n/locales/nb.json +2 -1
  461. package/dist/i18n/locales/nl.json +2 -1
  462. package/dist/i18n/locales/pl.json +2 -1
  463. package/dist/i18n/locales/pt-BR.json +2 -1
  464. package/dist/i18n/locales/pt-PT.json +2 -1
  465. package/dist/i18n/locales/ro.json +2 -1
  466. package/dist/i18n/locales/ru.json +2 -1
  467. package/dist/i18n/locales/sv.json +2 -1
  468. package/dist/i18n/locales/tr.json +2 -1
  469. package/dist/i18n/locales/uk.json +2 -1
  470. package/dist/i18n/locales/zh-CN.json +2 -1
  471. package/dist/i18n/locales/zh-HK.json +2 -1
  472. package/dist/i18n/locales/zh-TW.json +2 -1
  473. package/dist/index.d.ts +5 -5
  474. package/dist/index.js +2 -2
  475. package/dist/llms-full.txt +2273 -1243
  476. package/dist/llms-medium.txt +362 -184
  477. package/dist/llms.txt +4 -4
  478. package/dist/locale-blueprint.json +2 -1
  479. package/dist/nuxt-auto-imports.js +1 -1
  480. package/dist/nuxt-module.d.ts +1 -1
  481. package/dist/nuxt.js +17 -17
  482. package/dist/project-dts.d.ts +72 -10
  483. package/dist/project-dts.js +69 -21
  484. package/dist/styles.css +2 -2
  485. package/dist/types/AlertVariant.d.ts +1 -1
  486. package/dist/types/BadgeVariant.d.ts +1 -1
  487. package/dist/types/ButtonVariant.d.ts +1 -1
  488. package/dist/types/CheckboxVariant.d.ts +7 -4
  489. package/dist/types/CheckboxVariant.js +5 -1
  490. package/dist/types/Config.d.ts +17 -103
  491. package/dist/types/ConfigDefaults.d.ts +352 -0
  492. package/dist/types/ConfigDefaults.js +115 -0
  493. package/dist/types/ConfirmVariant.d.ts +1 -1
  494. package/dist/types/DropdownItemVariant.d.ts +1 -1
  495. package/dist/types/FieldLayout.d.ts +3 -3
  496. package/dist/types/IndicatorVariant.d.ts +1 -1
  497. package/dist/types/InputVariant.d.ts +57 -24
  498. package/dist/types/RadioVariant.d.ts +7 -4
  499. package/dist/types/RadioVariant.js +5 -1
  500. package/dist/types/SizeScale.d.ts +4 -0
  501. package/dist/types/SizeScale.js +17 -0
  502. package/dist/types/TabsVariant.d.ts +1 -1
  503. package/dist/types/ToastVariant.d.ts +1 -1
  504. package/dist/types/TooltipVariant.d.ts +1 -1
  505. package/dist/types/passthrough.d.ts +6 -6
  506. package/dist/types/ptComponentMap.d.ts +14 -14
  507. package/dist/utilities/functions/searchRank.d.ts +19 -0
  508. package/dist/utilities/functions/searchRank.js +76 -0
  509. package/dist/utilities/misc/listboxMetrics.d.ts +1 -1
  510. package/dist/utils/configDefaults.d.ts +33 -0
  511. package/dist/utils/configDefaults.js +140 -0
  512. package/dist/utils/configScope.d.ts +43 -0
  513. package/dist/utils/configScope.js +13 -0
  514. package/dist/utils/passthrough.d.ts +4 -7
  515. package/dist/utils/passthrough.js +31 -29
  516. package/dist/utils/versionCheck.js +1 -1
  517. package/dist/vite-plugin.d.ts +54 -191
  518. package/dist/vite.js +318 -367
  519. package/llms.txt +4 -4
  520. package/package.json +3 -3
  521. package/scripts/lib/adoption-checklist.json +2 -2
  522. package/scripts/lib/agent-manifest.mjs +2 -0
  523. package/scripts/lib/eslint-disable.mjs +2 -0
  524. package/scripts/lib/eslint-plugin.d.ts +4 -2
  525. package/scripts/lib/eslint-plugin.mjs +67 -0
  526. package/scripts/lib/idiom-scan.mjs +8 -7
  527. package/scripts/lib/project-variant-dts.mjs +105 -36
  528. package/scripts/lib/validate-bb-markup.mjs +73 -13
  529. package/dist/ai/BbPtScope.md +0 -138
  530. package/dist/ai/manifest/components/BbPtScope.json +0 -21
  531. package/dist/ai/source/BbPtScope.md +0 -54
  532. package/dist/components/BbPtScope/BbPtScope.vue.d.ts +0 -12
  533. package/dist/components/BbPtScope/BbPtScope.vue.js +0 -4
  534. package/dist/components/BbPtScope/BbPtScope.vue_vue_type_script_setup_true_lang.js +0 -12
  535. package/dist/components/BbPtScope/types.d.ts +0 -15
  536. package/dist/types/PtScope.d.ts +0 -15
  537. package/dist/utilities/functions/head.js +0 -3
  538. package/dist/utilities/functions/matchAnyKey.d.ts +0 -8
  539. package/dist/utilities/functions/matchAnyKey.js +0 -14
  540. package/dist/utils/ptScope.d.ts +0 -8
  541. package/dist/utils/ptScope.js +0 -3
package/dist/llms.txt CHANGED
@@ -4,8 +4,8 @@
4
4
 
5
5
  ## AI Knowledge Base
6
6
 
7
- - [Core knowledge base](https://llms-bitboss-ui.bitboss.it/dist/llms-medium.txt): **Fetch this if you can only fetch one file** — hard rules, setup, component picker, design language, and the full component catalogue in ~260 KB.
8
- - [Complete knowledge base](https://llms-bitboss-ui.bitboss.it/dist/llms-full.txt): Everything concatenated (~6.4 MB). Bulk ingestion only — too large to prompt with.
7
+ - [Core knowledge base](https://llms-bitboss-ui.bitboss.it/dist/llms-medium.txt): **Fetch this if you can only fetch one file** — hard rules, setup, component picker, design language, and the full component catalogue in ~270 KB.
8
+ - [Complete knowledge base](https://llms-bitboss-ui.bitboss.it/dist/llms-full.txt): Everything concatenated (~6.5 MB). Bulk ingestion only — too large to prompt with.
9
9
  - [AI Router](ai/guides/ai-router.md): **Start here** — tiny hop map for any coding agent (which file to open next).
10
10
  - [Component index](ai/index.md): Full component catalogue with agent rules, grouped by category. Each entry links a typed contract (props/events/slots/v-model).
11
11
  - [Component API files](ai/manifest/index.json): Machine-readable API, one JSON file per component (`manifest/components/<Name>.json`: every prop, event, slot, v-model and pt part, one per line, plus the public types it uses; a row marked `common: true` is whole in `manifest/common.json`) — open the index, then the one component. The same data in one ~1.2 MB file for tools is [components.json](ai/components.json); its `types` array lists the public TYPE exports with a `usage` tier (`api` = the ones you reach for) and, on the `api` ones, a `usedBy` array naming the component and prop or event each is the type OF — `BbTableColumn` is `usedBy` `BbTable.columns`, a value you pass, not a tag you write. This file is props and events, not paint.
@@ -58,7 +58,7 @@
58
58
  - [Migration v2→v3: BbRating](ai/guides/migration/components/bb-rating.md): color removed; name no longer required; the star classes moved from .bb-base-rating to the .bb-rating block (--highlighted became --filled/--empty); --bb-rating-size demoted to a local --size on .bb-rating__stars; input-position finally works.
59
59
  - [Migration v2→v3: BbSelect](ai/guides/migration/components/bb-select.md): allowWriting inverted to disableWriting, filterBy narrowed to string[] | false, prefill value renamed, chevron/options slots removed, and three behavior changes (second click, mount-time coherence, object items read their own label / value).
60
60
  - [Migration v2→v3: BbSelectPopover](ai/guides/migration/components/bb-select-popover.md): flip and allowWriting inverted, arrow props removed, filterBy narrowed to string[] | false, options slots replaced by header/footer; shares BbSelect's behavior changes.
61
- - [Migration v2→v3: BbSlider](ai/guides/migration/components/bb-slider.md): thumbTranslate inverted to disableThumbTranslate; string model values and color removed.
61
+ - [Migration v2→v3: BbSlider](ai/guides/migration/components/bb-slider.md): range became multiple (n thumbs, may start empty), thumbTranslate inverted to disableThumbTranslate; string model values and color removed.
62
62
  - [Migration v2→v3: BbSmoothHeight](ai/guides/migration/components/bb-smooth-height.md): The `tag` prop is narrowed to `div | span`, and the inner measuring element now mirrors it instead of always being a `<div>`.
63
63
  - [Migration v2→v3: BbSpinner](ai/guides/migration/components/bb-spinner.md): The color prop is removed; spinners follow currentColor.
64
64
  - [Migration v2→v3: BbSwitchGroup](ai/guides/migration/components/bb-switch-group.md): Shares its migration with BbCheckboxGroup — see bb-checkbox-group.md.
@@ -72,7 +72,7 @@
72
72
  - [Migration v2→v3: confirm() / useConfirm](ai/guides/migration/components/use-confirm.md): yesText/onYes/noText/onNo collapse into yes/no configs, actions becomes an array-or-false, theme→variant, timeout→duration, autoClose flips to default-true, labels are localized, footer buttons default md.
73
73
  - [Migration v2→v3: useBroadcastChannelInstance](ai/guides/migration/components/use-broadcast-channel-instance.md): Removed — cross-tab messaging is not a UI concern; use useBroadcastChannel from @vueuse/core.
74
74
  - [Page Shell](ai/guides/page-shell.md): App-side page layout — topbar, content, and a right details sidebar driven by a stack-based context (push a record to peek it, pop to go back). The implementation ships in the per-platform Layout Scaffold recipe; this guide covers when and how to use it.
75
- - [Passthrough (pt)](ai/guides/passthrough.md): Reach a named part of a component — its icon, its field box, a table row, a menu entry — with a class list, a style or an attribute, optionally only while a named state is on. One grammar for every component, typed and linted. A pt value typed in <script> (a const, a preset, a wrapper's prop, a split global map) uses <Component>Props['pt'] and definePt; the Pt* types are not exported.
75
+ - [Passthrough (pt)](ai/guides/passthrough.md): Reach a named part of a component — its icon, its field box, a table row, a menu entry — with a class list, a style or an attribute, optionally only while a named state is on. One grammar for every component, typed and linted. A pt value typed in <script> (a const, a preset, a wrapper's prop, a split components map) uses <Component>Props['pt'] and satisfies BbComponentsMap; the Pt* types are not exported.
76
76
  - [Porting forms from Element Plus, Naive UI and Ant Design Vue (async-validator `rules`)](ai/guides/migration/from-async-validator.md): Port an `el-form` / `n-form` / `a-form` with a `rules` object (async-validator `FormItemRule`s) to BbForm. Every rule field mapped to a string rule AND a Zod schema (Valibot, Yup noted), `validator` / `asyncValidator` callbacks to return values, `trigger` to `validationMode`, every form and form-item prop and instance method (`validate`, `validateField`, `resetFields`, `clearValidate`, `scrollToField`, `restoreValidation`, `useForm` / `validateInfos`), three complete before/after forms, and what does not port.
77
77
  - [Preset Components](ai/guides/preset-components.md): Make an app component that is a bitboss-ui component with some props and slots already set (a CustomerSelect, a SearchInput) in one definePreset call, with no SFC, no re-emit and a typed v-model.
78
78
  - [SSR prefill](ai/guides/ssr-prefill.md): Item providers run on the server only with an SSR-state adapter (bitboss-ui/nuxt installs one).
@@ -127,7 +127,8 @@
127
127
  },
128
128
  "slider": {
129
129
  "minimumThumb": "Minimum",
130
- "maximumThumb": "Maximum"
130
+ "maximumThumb": "Maximum",
131
+ "thumbPosition": "{0} of {1}"
131
132
  },
132
133
  "badge": {
133
134
  "clearLabel": "Remove"
@@ -1,5 +1,5 @@
1
1
  // src/nuxt-auto-imports.ts
2
- var e = "bitboss-ui", t = /* @__PURE__ */ "BbAccordion.BbAlert.BbAsterisk.BbAvatar.BbBadge.BbBadgeButton.BbBaseButton.BbBaseCheckboxIcon.BbBaseRadioIcon.BbBaseSwitchIcon.BbBreadcrumbs.BbButton.BbCalendar.BbCheckbox.BbCheckboxGroup.BbCollapsible.BbColorInput.BbColorPalette.BbConfirmPortal.BbDatePicker.BbDatePickerInput.BbDialog.BbDropdown.BbDropdownButton.BbDropdownGroup.BbDropzone.BbForm.BbHost.BbHoverCard.BbHoverCardPortal.BbIcon.BbIndicator.BbNumberInput.BbOffCanvas.BbPagination.BbPopover.BbPopoverPortal.BbProgress.BbPtScope.BbRadio.BbRadioGroup.BbRating.BbSelect.BbSelectPopover.BbSlider.BbSmoothHeight.BbSpinner.BbSwitch.BbSwitchGroup.BbTable.BbTabs.BbTabsList.BbTabsPanels.BbTabsRoot.BbTag.BbTextInput.BbTextarea.BbTimePicker.BbTimePickerInput.BbToastPortal.BbTooltip.BbTree".split("."), n = [
2
+ var e = "bitboss-ui", t = /* @__PURE__ */ "BbAccordion.BbAlert.BbAsterisk.BbAvatar.BbBadge.BbBadgeButton.BbBaseButton.BbBaseCheckboxIcon.BbBaseRadioIcon.BbBaseSwitchIcon.BbBreadcrumbs.BbButton.BbCalendar.BbCheckbox.BbCheckboxGroup.BbCollapsible.BbColorInput.BbColorPalette.BbConfigScope.BbConfirmPortal.BbDatePicker.BbDatePickerInput.BbDialog.BbDropdown.BbDropdownButton.BbDropdownGroup.BbDropzone.BbForm.BbHost.BbHoverCard.BbHoverCardPortal.BbIcon.BbIndicator.BbNumberInput.BbOffCanvas.BbPagination.BbPopover.BbPopoverPortal.BbProgress.BbRadio.BbRadioGroup.BbRating.BbSelect.BbSelectPopover.BbSlider.BbSmoothHeight.BbSpinner.BbSwitch.BbSwitchGroup.BbTable.BbTabs.BbTabsList.BbTabsPanels.BbTabsRoot.BbTag.BbTextInput.BbTextarea.BbTimePicker.BbTimePickerInput.BbToastPortal.BbTooltip.BbTree".split("."), n = [
3
3
  "useBbConfig",
4
4
  "useBbDialog",
5
5
  "useBbDropdown",
@@ -1,7 +1,7 @@
1
1
  import { BitbossUiOptions } from './vite-plugin';
2
2
  import { BitbossAutoImport } from './nuxt-auto-imports';
3
3
  export type { BitbossAutoImport, BitbossAutoImportOptions, } from './nuxt-auto-imports';
4
- export { definePt, type BbPtScopeName } from './vite-plugin';
4
+ export type { BbComponentsMap, BbConfigScopeName } from './vite-plugin';
5
5
  export { BB_LAYERS, TAILWIND_V3_LAYERS, TAILWIND_V4_LAYERS, } from './utils/cssLayers';
6
6
  /**
7
7
  * The `bitboss` key in `nuxt.config.ts`: every build-plugin option, plus the
package/dist/nuxt.js CHANGED
@@ -1,24 +1,24 @@
1
- import { bitbossUi as e, definePt as t } from "./vite.js";
2
- import { resolveAutoImports as n } from "./nuxt-auto-imports.js";
3
- import { BB_LAYER as r, BB_LAYERS as i, BB_RESET_LAYER as a, TAILWIND_V3_LAYERS as o, TAILWIND_V4_LAYERS as s, resolveCssLayers as c } from "./utils/cssLayers.js";
4
- import { addComponent as l, addImports as u, addPlugin as d, addTemplate as f, createResolver as p, defineNuxtModule as m } from "@nuxt/kit";
1
+ import { bitbossUi as e } from "./vite.js";
2
+ import { resolveAutoImports as t } from "./nuxt-auto-imports.js";
3
+ import { BB_LAYER as n, BB_LAYERS as r, BB_RESET_LAYER as i, TAILWIND_V3_LAYERS as a, TAILWIND_V4_LAYERS as o, resolveCssLayers as s } from "./utils/cssLayers.js";
4
+ import { addComponent as c, addImports as l, addPlugin as u, addTemplate as d, createResolver as f, defineNuxtModule as p } from "@nuxt/kit";
5
5
  // src/nuxt-module.ts
6
- var h = (e, t) => {
7
- let n = !!e?.length, i = (e) => n ? ` layer(${e})` : "";
8
- return c(e, { resetCss: t }).order + (t ? `@import 'bitboss-ui/reset.css'${i(a)};\n` : "") + `@import 'bitboss-ui/styles.css'${i(r)};\n`;
9
- }, g = m({
6
+ var m = (e, t) => {
7
+ let r = !!e?.length, a = (e) => r ? ` layer(${e})` : "";
8
+ return s(e, { resetCss: t }).order + (t ? `@import 'bitboss-ui/reset.css'${a(i)};\n` : "") + `@import 'bitboss-ui/styles.css'${a(n)};\n`;
9
+ }, h = p({
10
10
  meta: {
11
11
  name: "bitboss-ui",
12
12
  configKey: "bitboss"
13
13
  },
14
14
  defaults: { iconDir: "./assets/icons" },
15
- setup(t, r) {
16
- let { autoImport: i, ...a } = t, { rootDir: o, srcDir: s } = r.options;
15
+ setup(n, r) {
16
+ let { autoImport: i, ...a } = n, { rootDir: o, srcDir: s } = r.options;
17
17
  if (s && o && s !== o && (a.iconsScanner = {
18
18
  ...a.iconsScanner,
19
19
  include: [...a.iconsScanner?.include ?? [], o]
20
20
  }), o && (a[Symbol.for("bitboss-ui:editorRoot")] = o), a.injectStyles !== !1) {
21
- let e = h(a.cssLayers, a.resetCss ?? !1), { dst: t } = f({
21
+ let e = m(a.cssLayers, a.resetCss ?? !1), { dst: t } = d({
22
22
  filename: "bitboss-ui/library.css",
23
23
  getContents: () => e,
24
24
  write: !0
@@ -28,20 +28,20 @@ var h = (e, t) => {
28
28
  r.hook("vite:extendConfig", (t) => {
29
29
  t.plugins ??= [], t.plugins.push(e(a));
30
30
  });
31
- let { resolve: c } = p(import.meta.url);
32
- r.options.alias["#bitboss-ui"] = "bitboss-ui", d(c("./runtime/nuxt-plugin"));
33
- let { components: m, composables: g } = n(i);
34
- for (let { name: e, from: t } of m) l({
31
+ let { resolve: p } = f(import.meta.url);
32
+ r.options.alias["#bitboss-ui"] = "bitboss-ui", u(p("./runtime/nuxt-plugin"));
33
+ let { components: h, composables: g } = t(i);
34
+ for (let { name: e, from: t } of h) c({
35
35
  name: e,
36
36
  filePath: t,
37
37
  export: e,
38
38
  priority: -1
39
39
  });
40
- for (let { name: e, from: t } of g) u({
40
+ for (let { name: e, from: t } of g) l({
41
41
  name: e,
42
42
  as: e,
43
43
  from: t
44
44
  });
45
45
  }
46
46
  });
47
- export { i as BB_LAYERS, o as TAILWIND_V3_LAYERS, s as TAILWIND_V4_LAYERS, g as default, t as definePt, h as layeredLibraryCss };
47
+ export { r as BB_LAYERS, a as TAILWIND_V3_LAYERS, o as TAILWIND_V4_LAYERS, h as default, m as layeredLibraryCss };
@@ -3,7 +3,7 @@ export declare const PROJECT_DTS_FILENAME = "bitboss-ui.d.ts";
3
3
  export type ProjectRegistries = Record<string, readonly string[]>;
4
4
  /**
5
5
  * The file's text. Interfaces with no keys are left out (a variant family
6
- * with no custom names, or no `ptScopes`).
6
+ * with no custom names, or no `configScopes`).
7
7
  */
8
8
  export declare function generateProjectDts(registries: ProjectRegistries): string;
9
9
  /**
@@ -31,7 +31,14 @@ export declare const DEFAULT_VARIANT_REGISTRIES: {
31
31
  readonly TooltipVariantRegistry: string[];
32
32
  readonly ToastVariantRegistry: string[];
33
33
  readonly IndicatorVariantRegistry: string[];
34
- readonly InputVariantRegistry: string[];
34
+ readonly TextInputVariantRegistry: string[];
35
+ readonly TextareaVariantRegistry: string[];
36
+ readonly NumberInputVariantRegistry: string[];
37
+ readonly SelectVariantRegistry: string[];
38
+ readonly TagVariantRegistry: string[];
39
+ readonly ColorInputVariantRegistry: string[];
40
+ readonly DatePickerInputVariantRegistry: string[];
41
+ readonly TimePickerInputVariantRegistry: string[];
35
42
  readonly TabsVariantRegistry: string[];
36
43
  readonly RadioVariantRegistry: string[];
37
44
  readonly CheckboxVariantRegistry: string[];
@@ -52,7 +59,9 @@ export declare function variantIconsOf(option: VariantOption | undefined): Recor
52
59
  /** The custom names a variant option adds on top of the built-ins. */
53
60
  export declare function customVariants(defaults: readonly string[], variants: VariantOption | undefined): string[];
54
61
  /**
55
- * The build-plugin option that feeds each variant registry, in file order.
62
+ * The internal key each variant registry is read under, in file order: the
63
+ * plugin's `variants` map is flattened into these (`flattenVariants`) for the
64
+ * plugin's own checks, the runtime config's `variantNames` and the CLI.
56
65
  */
57
66
  export declare const VARIANT_REGISTRY_OPTIONS: {
58
67
  readonly ButtonVariantRegistry: "buttonVariants";
@@ -63,7 +72,14 @@ export declare const VARIANT_REGISTRY_OPTIONS: {
63
72
  readonly TooltipVariantRegistry: "tooltipVariants";
64
73
  readonly ToastVariantRegistry: "toastVariants";
65
74
  readonly IndicatorVariantRegistry: "indicatorVariants";
66
- readonly InputVariantRegistry: "inputVariants";
75
+ readonly TextInputVariantRegistry: "textInputVariants";
76
+ readonly TextareaVariantRegistry: "textareaVariants";
77
+ readonly NumberInputVariantRegistry: "numberInputVariants";
78
+ readonly SelectVariantRegistry: "selectVariants";
79
+ readonly TagVariantRegistry: "tagVariants";
80
+ readonly ColorInputVariantRegistry: "colorInputVariants";
81
+ readonly DatePickerInputVariantRegistry: "datePickerInputVariants";
82
+ readonly TimePickerInputVariantRegistry: "timePickerInputVariants";
67
83
  readonly TabsVariantRegistry: "tabsVariants";
68
84
  readonly RadioVariantRegistry: "radioVariants";
69
85
  readonly CheckboxVariantRegistry: "checkboxVariants";
@@ -83,20 +99,65 @@ export declare const VARIANT_PT_COMPONENTS: {
83
99
  readonly TooltipVariantRegistry: readonly ["BbTooltip"];
84
100
  readonly ToastVariantRegistry: readonly ["BbToast"];
85
101
  readonly IndicatorVariantRegistry: readonly ["BbIndicator"];
86
- readonly InputVariantRegistry: readonly ["BbColorInput", "BbDatePickerInput", "BbNumberInput", "BbSelect", "BbTag", "BbTextInput", "BbTextarea", "BbTimePickerInput"];
102
+ readonly TextInputVariantRegistry: readonly ["BbTextInput"];
103
+ readonly TextareaVariantRegistry: readonly ["BbTextarea"];
104
+ readonly NumberInputVariantRegistry: readonly ["BbNumberInput"];
105
+ readonly SelectVariantRegistry: readonly ["BbSelect"];
106
+ readonly TagVariantRegistry: readonly ["BbTag"];
107
+ readonly ColorInputVariantRegistry: readonly ["BbColorInput"];
108
+ readonly DatePickerInputVariantRegistry: readonly ["BbDatePickerInput"];
109
+ readonly TimePickerInputVariantRegistry: readonly ["BbTimePickerInput"];
87
110
  readonly TabsVariantRegistry: readonly ["BbTabs", "BbTabsList"];
88
111
  readonly RadioVariantRegistry: readonly ["BbRadioGroup"];
89
112
  readonly CheckboxVariantRegistry: readonly ["BbCheckboxGroup"];
90
113
  };
114
+ type VariantKey = (typeof VARIANT_REGISTRY_OPTIONS)[keyof typeof VARIANT_REGISTRY_OPTIONS];
115
+ /**
116
+ * Which component entry of the plugin's `components` map each internal key is
117
+ * read from (`components.<C>.variants`). Every registry belongs to one
118
+ * component; its siblings share it (`BbDropdownButton` takes BbButton's and
119
+ * BbDropdown's, `BbTabsList` BbTabs', `v-bb-tooltip` BbTooltip's).
120
+ */
121
+ export declare const VARIANT_OPTION_PATHS: {
122
+ readonly buttonVariants: readonly ["BbButton"];
123
+ readonly alertVariants: readonly ["BbAlert"];
124
+ readonly badgeVariants: readonly ["BbBadge"];
125
+ readonly confirmVariants: readonly ["BbConfirm"];
126
+ readonly dropdownItemVariants: readonly ["BbDropdown"];
127
+ readonly tooltipVariants: readonly ["BbTooltip"];
128
+ readonly toastVariants: readonly ["BbToast"];
129
+ readonly indicatorVariants: readonly ["BbIndicator"];
130
+ readonly textInputVariants: readonly ["BbTextInput"];
131
+ readonly textareaVariants: readonly ["BbTextarea"];
132
+ readonly numberInputVariants: readonly ["BbNumberInput"];
133
+ readonly selectVariants: readonly ["BbSelect"];
134
+ readonly tagVariants: readonly ["BbTag"];
135
+ readonly colorInputVariants: readonly ["BbColorInput"];
136
+ readonly datePickerInputVariants: readonly ["BbDatePickerInput"];
137
+ readonly timePickerInputVariants: readonly ["BbTimePickerInput"];
138
+ readonly tabsVariants: readonly ["BbTabs"];
139
+ readonly radioVariants: readonly ["BbRadioGroup"];
140
+ readonly checkboxVariants: readonly ["BbCheckboxGroup"];
141
+ };
142
+ /** The components whose entry takes `variants`. */
143
+ export declare const VARIANT_COMPONENTS: readonly string[];
144
+ /** `components.BbDropdown.variants` for `dropdownItemVariants`: what a message calls a key. */
145
+ export declare const variantOptionLabel: (key: VariantKey) => string;
146
+ /** The `components` map's variants as the internal keys (`{ buttonVariants: […] }`). */
147
+ export declare function flattenVariants(components: Record<string, unknown> | undefined): Partial<Record<VariantKey, VariantOption>>;
91
148
  /** Each variant registry's CUSTOM names (the built-ins live on the interfaces). */
92
149
  export declare function projectVariantRegistries(options: Partial<Record<(typeof VARIANT_REGISTRY_OPTIONS)[keyof typeof VARIANT_REGISTRY_OPTIONS], VariantOption>>): Record<keyof typeof DEFAULT_VARIANT_REGISTRIES, string[]>;
93
150
  /**
94
- * `EmptyStringControlRegistry`: the text controls whose `formControls`
95
- * policy is `'string'`, so their `update:modelValue` types as `string`.
151
+ * `EmptyStringControlRegistry`: the text controls whose app-wide `nullValue`
152
+ * default is `'string'`, so their `update:modelValue` types as `string`.
96
153
  */
97
- export declare function emptyStringControls(formControls: {
98
- textInputNullValue?: unknown;
99
- textareaNullValue?: unknown;
154
+ export declare function emptyStringControls(defaults: {
155
+ BbTextInput?: {
156
+ nullValue?: unknown;
157
+ };
158
+ BbTextarea?: {
159
+ nullValue?: unknown;
160
+ };
100
161
  } | undefined): string[];
101
162
  /**
102
163
  * Where the file goes, or `null` when it should not be written at all.
@@ -127,3 +188,4 @@ export declare function writeProjectDts(path: string, registries: ProjectRegistr
127
188
  * `typescript` or no tsconfig: nothing to say.
128
189
  */
129
190
  export declare function isInTypeScriptProgram(root: string, file: string): boolean | null;
191
+ export {};
@@ -87,7 +87,15 @@ var _ = /\.(?:[cm]?[jt]sx?)$/, v = (e) => {
87
87
  "pill",
88
88
  "line",
89
89
  "none"
90
- ], j = ["pill", "line"], M = ["pill", "line"];
90
+ ], j = [
91
+ "pill",
92
+ "line",
93
+ "outline"
94
+ ], M = [
95
+ "pill",
96
+ "line",
97
+ "outline"
98
+ ];
91
99
  function N(e, t) {
92
100
  let n = (t ?? []).map((e) => e.trim()).filter((e) => e.length > 0);
93
101
  return [.../* @__PURE__ */ new Set([...e, ...n])];
@@ -101,7 +109,14 @@ var P = {
101
109
  TooltipVariantRegistry: E,
102
110
  ToastVariantRegistry: D,
103
111
  IndicatorVariantRegistry: O,
104
- InputVariantRegistry: k,
112
+ TextInputVariantRegistry: k,
113
+ TextareaVariantRegistry: k,
114
+ NumberInputVariantRegistry: k,
115
+ SelectVariantRegistry: k,
116
+ TagVariantRegistry: k,
117
+ ColorInputVariantRegistry: k,
118
+ DatePickerInputVariantRegistry: k,
119
+ TimePickerInputVariantRegistry: k,
105
120
  TabsVariantRegistry: A,
106
121
  RadioVariantRegistry: j,
107
122
  CheckboxVariantRegistry: M
@@ -124,7 +139,14 @@ var R = {
124
139
  TooltipVariantRegistry: "tooltipVariants",
125
140
  ToastVariantRegistry: "toastVariants",
126
141
  IndicatorVariantRegistry: "indicatorVariants",
127
- InputVariantRegistry: "inputVariants",
142
+ TextInputVariantRegistry: "textInputVariants",
143
+ TextareaVariantRegistry: "textareaVariants",
144
+ NumberInputVariantRegistry: "numberInputVariants",
145
+ SelectVariantRegistry: "selectVariants",
146
+ TagVariantRegistry: "tagVariants",
147
+ ColorInputVariantRegistry: "colorInputVariants",
148
+ DatePickerInputVariantRegistry: "datePickerInputVariants",
149
+ TimePickerInputVariantRegistry: "timePickerInputVariants",
128
150
  TabsVariantRegistry: "tabsVariants",
129
151
  RadioVariantRegistry: "radioVariants",
130
152
  CheckboxVariantRegistry: "checkboxVariants"
@@ -137,27 +159,53 @@ var R = {
137
159
  TooltipVariantRegistry: ["BbTooltip"],
138
160
  ToastVariantRegistry: ["BbToast"],
139
161
  IndicatorVariantRegistry: ["BbIndicator"],
140
- InputVariantRegistry: [
141
- "BbColorInput",
142
- "BbDatePickerInput",
143
- "BbNumberInput",
144
- "BbSelect",
145
- "BbTag",
146
- "BbTextInput",
147
- "BbTextarea",
148
- "BbTimePickerInput"
149
- ],
162
+ TextInputVariantRegistry: ["BbTextInput"],
163
+ TextareaVariantRegistry: ["BbTextarea"],
164
+ NumberInputVariantRegistry: ["BbNumberInput"],
165
+ SelectVariantRegistry: ["BbSelect"],
166
+ TagVariantRegistry: ["BbTag"],
167
+ ColorInputVariantRegistry: ["BbColorInput"],
168
+ DatePickerInputVariantRegistry: ["BbDatePickerInput"],
169
+ TimePickerInputVariantRegistry: ["BbTimePickerInput"],
150
170
  TabsVariantRegistry: ["BbTabs", "BbTabsList"],
151
171
  RadioVariantRegistry: ["BbRadioGroup"],
152
172
  CheckboxVariantRegistry: ["BbCheckboxGroup"]
153
- };
154
- function B(e) {
173
+ }, B = {
174
+ buttonVariants: ["BbButton"],
175
+ alertVariants: ["BbAlert"],
176
+ badgeVariants: ["BbBadge"],
177
+ confirmVariants: ["BbConfirm"],
178
+ dropdownItemVariants: ["BbDropdown"],
179
+ tooltipVariants: ["BbTooltip"],
180
+ toastVariants: ["BbToast"],
181
+ indicatorVariants: ["BbIndicator"],
182
+ textInputVariants: ["BbTextInput"],
183
+ textareaVariants: ["BbTextarea"],
184
+ numberInputVariants: ["BbNumberInput"],
185
+ selectVariants: ["BbSelect"],
186
+ tagVariants: ["BbTag"],
187
+ colorInputVariants: ["BbColorInput"],
188
+ datePickerInputVariants: ["BbDatePickerInput"],
189
+ timePickerInputVariants: ["BbTimePickerInput"],
190
+ tabsVariants: ["BbTabs"],
191
+ radioVariants: ["BbRadioGroup"],
192
+ checkboxVariants: ["BbCheckboxGroup"]
193
+ }, V = Object.values(B).map(([e]) => e), H = (e) => `components.${B[e][0]}.variants`;
194
+ function U(e) {
195
+ let t = {};
196
+ for (let [n, [r]] of Object.entries(B)) {
197
+ let i = e?.[r]?.variants;
198
+ i !== void 0 && (t[n] = i);
199
+ }
200
+ return t;
201
+ }
202
+ function W(e) {
155
203
  return Object.fromEntries(Object.keys(R).map((t) => [t, L(P[t], e[R[t]])]));
156
204
  }
157
- function V(e) {
158
- return [...e?.textInputNullValue === "string" ? ["BbTextInput"] : [], ...e?.textareaNullValue === "string" ? ["BbTextarea"] : []];
205
+ function G(e) {
206
+ return [...e?.BbTextInput?.nullValue === "string" ? ["BbTextInput"] : [], ...e?.BbTextarea?.nullValue === "string" ? ["BbTextarea"] : []];
159
207
  }
160
- function H(e) {
208
+ function K(e) {
161
209
  let { root: t, input: n, dts: r } = e;
162
210
  if (r === !1 || g(t)) return null;
163
211
  if (typeof r == "string") {
@@ -172,14 +220,14 @@ function H(e) {
172
220
  }
173
221
  return v(s(t, "src")) ? s(t, "src", f) : s(t, f);
174
222
  }
175
- function U(r, o) {
223
+ function q(r, o) {
176
224
  try {
177
225
  return e(r) && h(m(n(r, "utf-8")), o) ? "unchanged" : (t(a(r), { recursive: !0 }), i(r, p(o), "utf-8"), "changed");
178
226
  } catch (e) {
179
227
  return { error: e instanceof Error ? e.message : String(e) };
180
228
  }
181
229
  }
182
- function W(e, t) {
230
+ function J(e, t) {
183
231
  let n;
184
232
  try {
185
233
  n = d(s(e, "package.json"))("typescript");
@@ -201,4 +249,4 @@ function W(e, t) {
201
249
  }
202
250
  return !1;
203
251
  }
204
- export { P as DEFAULT_VARIANT_REGISTRIES, f as PROJECT_DTS_FILENAME, z as VARIANT_PT_COMPONENTS, R as VARIANT_REGISTRY_OPTIONS, L as customVariants, V as emptyStringControls, p as generateProjectDts, W as isInTypeScriptProgram, g as isLibraryRoot, B as projectVariantRegistries, m as readRegistryKeys, H as resolveProjectDtsPath, I as variantIconsOf, F as variantNamesOf, U as writeProjectDts };
252
+ export { P as DEFAULT_VARIANT_REGISTRIES, f as PROJECT_DTS_FILENAME, V as VARIANT_COMPONENTS, B as VARIANT_OPTION_PATHS, z as VARIANT_PT_COMPONENTS, R as VARIANT_REGISTRY_OPTIONS, L as customVariants, G as emptyStringControls, U as flattenVariants, p as generateProjectDts, J as isInTypeScriptProgram, g as isLibraryRoot, W as projectVariantRegistries, m as readRegistryKeys, K as resolveProjectDtsPath, I as variantIconsOf, F as variantNamesOf, H as variantOptionLabel, q as writeProjectDts };