bitboss-ui 3.0.0-beta.73 → 3.0.0-beta.75

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 (345) hide show
  1. package/README.md +4 -2
  2. package/bin/bitboss-ui-mcp.mjs +101 -3
  3. package/bin/bitboss-ui.mjs +6 -1
  4. package/bin/cli.mjs +31 -5
  5. package/dist/ai/BbAvatar.md +86 -58
  6. package/dist/ai/BbBadge.md +5 -5
  7. package/dist/ai/BbBreadcrumbs.md +2 -2
  8. package/dist/ai/BbButton.md +2 -2
  9. package/dist/ai/BbCalendar.md +9 -5
  10. package/dist/ai/BbCheckboxGroup.md +5 -4
  11. package/dist/ai/BbColorInput.md +12 -0
  12. package/dist/ai/BbColorPalette.md +19 -15
  13. package/dist/ai/BbConfirmPortal.md +1 -1
  14. package/dist/ai/BbDatePicker.md +16 -3
  15. package/dist/ai/BbDatePickerInput.md +17 -1
  16. package/dist/ai/BbDialog.md +16 -4
  17. package/dist/ai/BbDropdown.md +175 -67
  18. package/dist/ai/BbDropdownButton.md +27 -8
  19. package/dist/ai/BbForm.md +4 -1
  20. package/dist/ai/BbHoverCardPortal.md +1 -1
  21. package/dist/ai/BbNumberInput.md +8 -4
  22. package/dist/ai/BbPopoverPortal.md +1 -1
  23. package/dist/ai/BbRadioGroup.md +4 -4
  24. package/dist/ai/BbSelect.md +79 -67
  25. package/dist/ai/BbSelectPopover.md +24 -5
  26. package/dist/ai/BbSwitchGroup.md +5 -4
  27. package/dist/ai/BbTable.md +59 -34
  28. package/dist/ai/BbTimePicker.md +16 -3
  29. package/dist/ai/BbTimePickerInput.md +15 -1
  30. package/dist/ai/BbToast.md +3 -2
  31. package/dist/ai/BbToastPortal.md +1 -1
  32. package/dist/ai/BbTree.md +5 -1
  33. package/dist/ai/CommonPopover.md +1 -0
  34. package/dist/ai/FlatListBox.md +1 -0
  35. package/dist/ai/GroupedListBox.md +1 -0
  36. package/dist/ai/ListBox.md +1 -0
  37. package/dist/ai/OptionsContainer.md +4 -4
  38. package/dist/ai/changelog.json +215 -6
  39. package/dist/ai/components.json +77 -43
  40. package/dist/ai/composables/useToast.md +2 -2
  41. package/dist/ai/design-tokens.json +60 -0
  42. package/dist/ai/guides/agent-contract.md +8 -4
  43. package/dist/ai/guides/design-tokens.md +33 -0
  44. package/dist/ai/guides/eslint-rules.md +1 -1
  45. package/dist/ai/guides/fetch-items-playbook.md +7 -11
  46. package/dist/ai/guides/inertia-helpers.md +613 -53
  47. package/dist/ai/guides/migration/adoption-checklist.md +5 -5
  48. package/dist/ai/guides/migration/components/bb-color-palette.md +11 -11
  49. package/dist/ai/guides/migration/components/bb-dropdown-button.md +1 -0
  50. package/dist/ai/guides/migration/components/bb-dropdown.md +1 -0
  51. package/dist/ai/guides/migration/components/bb-table.md +2 -1
  52. package/dist/ai/guides/migration/components/bb-toast.md +2 -2
  53. package/dist/ai/guides/migration/v2-to-v3.md +46 -5
  54. package/dist/ai/guides/migration/v3-beta-tooling.md +4 -0
  55. package/dist/ai/guides/passthrough.md +3 -3
  56. package/dist/ai/guides/preset-components.md +15 -2
  57. package/dist/ai/guides/reporting.md +49 -0
  58. package/dist/ai/helpers/inertia/manifest.json +33 -38
  59. package/dist/ai/helpers/inertia/useHasChanged.ts +25 -37
  60. package/dist/ai/helpers/inertia/useQuery.ts +24 -6
  61. package/dist/ai/helpers/inertia/utils.ts +552 -3
  62. package/dist/ai/index.md +2 -1
  63. package/dist/ai/manifest/common.json +1 -0
  64. package/dist/ai/manifest/components/BbAlert.tree.json +1 -1
  65. package/dist/ai/manifest/components/BbAvatar.json +5 -2
  66. package/dist/ai/manifest/components/BbAvatar.tree.json +32 -2
  67. package/dist/ai/manifest/components/BbCalendar.json +2 -2
  68. package/dist/ai/manifest/components/BbCarousel.json +0 -3
  69. package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
  70. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +2 -0
  71. package/dist/ai/manifest/components/BbColorInput.json +5 -2
  72. package/dist/ai/manifest/components/BbColorPalette.json +7 -4
  73. package/dist/ai/manifest/components/BbColorPalette.removed.json +1 -2
  74. package/dist/ai/manifest/components/BbConfirmPortal.json +1 -1
  75. package/dist/ai/manifest/components/BbDatePicker.json +6 -3
  76. package/dist/ai/manifest/components/BbDatePickerInput.json +3 -0
  77. package/dist/ai/manifest/components/BbDialog.tree.json +7 -1
  78. package/dist/ai/manifest/components/BbDropdown.json +23 -17
  79. package/dist/ai/manifest/components/BbDropdown.removed.json +2 -1
  80. package/dist/ai/manifest/components/BbDropdown.tree.json +16 -5
  81. package/dist/ai/manifest/components/BbDropdownButton.json +15 -9
  82. package/dist/ai/manifest/components/BbDropdownButton.removed.json +2 -1
  83. package/dist/ai/manifest/components/BbDropdownButton.tree.json +2 -0
  84. package/dist/ai/manifest/components/BbForm.json +1 -1
  85. package/dist/ai/manifest/components/BbHoverCard.json +1 -1
  86. package/dist/ai/manifest/components/BbHoverCardPortal.json +1 -1
  87. package/dist/ai/manifest/components/BbNumberInput.json +1 -1
  88. package/dist/ai/manifest/components/BbOffCanvas.tree.json +2 -0
  89. package/dist/ai/manifest/components/BbPopover.json +1 -1
  90. package/dist/ai/manifest/components/BbPopoverPortal.json +1 -1
  91. package/dist/ai/manifest/components/BbRadioGroup.json +2 -2
  92. package/dist/ai/manifest/components/BbRadioGroup.tree.json +2 -0
  93. package/dist/ai/manifest/components/BbSelect.json +10 -7
  94. package/dist/ai/manifest/components/BbSelectPopover.json +7 -4
  95. package/dist/ai/manifest/components/BbSelectPopover.tree.json +5 -1
  96. package/dist/ai/manifest/components/BbSwitchGroup.json +2 -2
  97. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +2 -0
  98. package/dist/ai/manifest/components/BbTable.json +6 -6
  99. package/dist/ai/manifest/components/BbTable.tree.json +16 -6
  100. package/dist/ai/manifest/components/BbTimePicker.json +7 -4
  101. package/dist/ai/manifest/components/BbTimePickerInput.json +5 -2
  102. package/dist/ai/manifest/components/BbToastPortal.json +1 -1
  103. package/dist/ai/manifest/components/BbTree.json +1 -1
  104. package/dist/ai/manifest/components/CommonPopover.json +2 -1
  105. package/dist/ai/manifest/components/FlatListBox.json +2 -1
  106. package/dist/ai/manifest/components/GroupedListBox.json +2 -1
  107. package/dist/ai/manifest/components/ListBox.json +2 -1
  108. package/dist/ai/manifest/components/OptionsContainer.json +6 -4
  109. package/dist/ai/manifest/index.json +2 -2
  110. package/dist/ai/manifest/meta.json +36 -3
  111. package/dist/ai/manifest/types.advanced.json +81 -80
  112. package/dist/ai/manifest/types.api.json +64 -65
  113. package/dist/ai/manifest/types.wrapper.json +155 -118
  114. package/dist/ai/recipes/inertia/layout-scaffold.md +3 -1
  115. package/dist/ai/recipes/nuxt/layout-scaffold.md +3 -1
  116. package/dist/ai/recipes/vue/layout-scaffold.md +3 -1
  117. package/dist/ai/source/BbAlert.md +16 -4
  118. package/dist/ai/source/BbAvatar.md +121 -9
  119. package/dist/ai/source/BbBadge.md +12 -5
  120. package/dist/ai/source/BbBreadcrumbs.md +56 -55
  121. package/dist/ai/source/BbButton.md +41 -25
  122. package/dist/ai/source/BbCalendar.md +22 -12
  123. package/dist/ai/source/BbCarousel.md +31 -28
  124. package/dist/ai/source/BbCheckboxGroup.md +15 -9
  125. package/dist/ai/source/BbColorInput.md +19 -0
  126. package/dist/ai/source/BbColorPalette.md +59 -12
  127. package/dist/ai/source/BbConfirm.md +7 -0
  128. package/dist/ai/source/BbConfirmPortal.md +9 -4
  129. package/dist/ai/source/BbDatePicker.md +71 -22
  130. package/dist/ai/source/BbDatePickerInput.md +72 -9
  131. package/dist/ai/source/BbDialog.md +45 -2
  132. package/dist/ai/source/BbDropdown.md +263 -63
  133. package/dist/ai/source/BbDropdownButton.md +27 -2
  134. package/dist/ai/source/BbDropdownGroup.md +121 -59
  135. package/dist/ai/source/BbForm.md +73 -6
  136. package/dist/ai/source/BbGallery.md +76 -55
  137. package/dist/ai/source/BbHost.md +12 -0
  138. package/dist/ai/source/BbHoverCard.md +7 -0
  139. package/dist/ai/source/BbHoverCardPortal.md +9 -5
  140. package/dist/ai/source/BbNumberInput.md +22 -16
  141. package/dist/ai/source/BbOffCanvas.md +48 -2
  142. package/dist/ai/source/BbPopover.md +7 -0
  143. package/dist/ai/source/BbPopoverPortal.md +9 -5
  144. package/dist/ai/source/BbRadio.md +4 -3
  145. package/dist/ai/source/BbRadioGroup.md +19 -10
  146. package/dist/ai/source/BbSelect.md +35 -20
  147. package/dist/ai/source/BbSelectPopover.md +116 -8
  148. package/dist/ai/source/BbSwitchGroup.md +11 -4
  149. package/dist/ai/source/BbTable.md +126 -32
  150. package/dist/ai/source/BbTag.md +10 -3
  151. package/dist/ai/source/BbTimePicker.md +69 -15
  152. package/dist/ai/source/BbTimePickerInput.md +45 -7
  153. package/dist/ai/source/BbToast.md +16 -2
  154. package/dist/ai/source/BbToastPortal.md +18 -6
  155. package/dist/ai/source/BbTree.md +1 -1
  156. package/dist/ai/source/CommonFieldInput.md +11 -5
  157. package/dist/ai/source/CommonPopover.md +28 -2
  158. package/dist/ai/source/FlatListBox.md +26 -5
  159. package/dist/ai/source/GroupedListBox.md +63 -11
  160. package/dist/ai/source/ListBox.md +4 -0
  161. package/dist/ai/source/OptionsContainer.md +29 -11
  162. package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +31 -26
  163. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -0
  164. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +61 -43
  165. package/dist/components/BbAvatar/avatarIdentity.js +25 -0
  166. package/dist/components/BbAvatar/ptKeys.generated.d.ts +5 -1
  167. package/dist/components/BbAvatar/types.d.ts +24 -5
  168. package/dist/components/BbAvatar/types.js +5 -1
  169. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +24 -23
  170. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +80 -79
  171. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +152 -158
  172. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +100 -85
  173. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +1 -1
  174. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +235 -234
  175. package/dist/components/BbCalendar/types.d.ts +2 -2
  176. package/dist/components/BbCalendar/useDayGrid.js +120 -123
  177. package/dist/components/BbCalendar/useDayjsLocale.js +11 -8
  178. package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +7 -7
  179. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +126 -122
  180. package/dist/components/BbCheckboxGroup/types.d.ts +7 -11
  181. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +2 -0
  182. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +148 -141
  183. package/dist/components/BbColorInput/types.d.ts +7 -0
  184. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -0
  185. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +239 -223
  186. package/dist/components/BbColorPalette/types.d.ts +8 -1
  187. package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +2 -4
  188. package/dist/components/BbConfirm/types.d.ts +5 -0
  189. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +4 -2
  190. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +160 -143
  191. package/dist/components/BbDatePicker/types.d.ts +9 -2
  192. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +3 -1
  193. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +483 -496
  194. package/dist/components/BbDatePickerInput/types.d.ts +7 -0
  195. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +252 -236
  196. package/dist/components/BbDialog/leaveGhost.js +38 -0
  197. package/dist/components/BbDialog/overlayActions.js +34 -20
  198. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +92 -87
  199. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -0
  200. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +419 -368
  201. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +384 -340
  202. package/dist/components/BbDropdown/DropdownFailures.vue.js +4 -0
  203. package/dist/components/BbDropdown/DropdownFailures.vue_vue_type_script_setup_true_lang.js +24 -0
  204. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +133 -119
  205. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +73 -45
  206. package/dist/components/BbDropdown/normalizeGroups.js +6 -2
  207. package/dist/components/BbDropdown/ptKeys.generated.d.ts +8 -0
  208. package/dist/components/BbDropdown/types.d.ts +73 -58
  209. package/dist/components/BbDropdown/types.js +1 -0
  210. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +2 -0
  211. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +93 -72
  212. package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +48 -0
  213. package/dist/components/BbDropdownButton/types.d.ts +13 -2
  214. package/dist/components/BbDropdownButton/types.js +2 -0
  215. package/dist/components/BbForm/BbForm.vue.d.ts +2 -21
  216. package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +229 -227
  217. package/dist/components/BbForm/types.d.ts +31 -0
  218. package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +318 -296
  219. package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +7 -1
  220. package/dist/components/BbHoverCard/BbHoverCardPortal.vue.d.ts +2 -5
  221. package/dist/components/BbHoverCard/types.d.ts +5 -0
  222. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +10 -6
  223. package/dist/components/BbNumberInput/numberDisplay.js +102 -106
  224. package/dist/components/BbNumberInput/types.d.ts +4 -3
  225. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +425 -409
  226. package/dist/components/BbPopover/BbPopoverPortal.vue.d.ts +2 -5
  227. package/dist/components/BbPopover/types.d.ts +5 -0
  228. package/dist/components/BbRadio/types.d.ts +4 -3
  229. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +108 -106
  230. package/dist/components/BbRadioGroup/types.d.ts +4 -7
  231. package/dist/components/BbSelect/BbSelect.vue.d.ts +3 -1
  232. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +167 -163
  233. package/dist/components/BbSelect/types.d.ts +23 -20
  234. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +3 -1
  235. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +680 -637
  236. package/dist/components/BbSelectPopover/types.d.ts +10 -4
  237. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +159 -155
  238. package/dist/components/BbSwitchGroup/types.d.ts +3 -6
  239. package/dist/components/BbTable/BbTable.vue.d.ts +1 -3
  240. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1182 -1165
  241. package/dist/components/BbTable/BbTableDataRow.js +96 -96
  242. package/dist/components/BbTable/types.d.ts +11 -10
  243. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +9 -3
  244. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +4 -2
  245. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +157 -140
  246. package/dist/components/BbTimePicker/types.d.ts +9 -2
  247. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +3 -1
  248. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +278 -268
  249. package/dist/components/BbTimePickerInput/types.d.ts +7 -0
  250. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +12 -12
  251. package/dist/components/BbToast/BbToastPortal.vue.d.ts +2 -4
  252. package/dist/components/BbToast/types.d.ts +7 -2
  253. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +56 -46
  254. package/dist/components/BbTree/types.d.ts +1 -1
  255. package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +36 -36
  256. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +14 -2
  257. package/dist/components/CommonTimeSelector/useMeridiem.js +6 -6
  258. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +115 -96
  259. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +194 -166
  260. package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +7 -4
  261. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +86 -77
  262. package/dist/composables/formSubmitLock.js +2 -1
  263. package/dist/composables/overlayRegistry.js +52 -42
  264. package/dist/composables/useActiveInactiveState.js +8 -4
  265. package/dist/composables/useBbDialog.js +5 -5
  266. package/dist/composables/useItemsGetter.js +34 -32
  267. package/dist/composables/useOpenModel.js +20 -0
  268. package/dist/composables/useOwnModel.js +16 -0
  269. package/dist/composables/useSegmentedFields.js +31 -20
  270. package/dist/deprecation/ai-deprecations.json.js +1 -1
  271. package/dist/i18n/currencyDigits.js +58 -0
  272. package/dist/i18n/locales/ar.json +2 -0
  273. package/dist/i18n/locales/cs.json +2 -0
  274. package/dist/i18n/locales/da.json +2 -0
  275. package/dist/i18n/locales/de-CH.json +2 -0
  276. package/dist/i18n/locales/de.json +2 -0
  277. package/dist/i18n/locales/el.json +2 -0
  278. package/dist/i18n/locales/en-GB.json +2 -0
  279. package/dist/i18n/locales/en.json +2 -0
  280. package/dist/i18n/locales/es-MX.json +2 -0
  281. package/dist/i18n/locales/es.json +2 -0
  282. package/dist/i18n/locales/fa.json +2 -0
  283. package/dist/i18n/locales/fi.json +2 -0
  284. package/dist/i18n/locales/fr.json +2 -0
  285. package/dist/i18n/locales/he.json +2 -0
  286. package/dist/i18n/locales/hu.json +2 -0
  287. package/dist/i18n/locales/it.json +2 -0
  288. package/dist/i18n/locales/ja.json +2 -0
  289. package/dist/i18n/locales/ko.json +2 -0
  290. package/dist/i18n/locales/nb.json +2 -0
  291. package/dist/i18n/locales/nl.json +2 -0
  292. package/dist/i18n/locales/pl.json +2 -0
  293. package/dist/i18n/locales/pt-BR.json +2 -0
  294. package/dist/i18n/locales/pt-PT.json +2 -0
  295. package/dist/i18n/locales/ro.json +2 -0
  296. package/dist/i18n/locales/ru.json +2 -0
  297. package/dist/i18n/locales/sv.json +2 -0
  298. package/dist/i18n/locales/tr.json +2 -0
  299. package/dist/i18n/locales/uk.json +2 -0
  300. package/dist/i18n/locales/zh-CN.json +2 -0
  301. package/dist/i18n/locales/zh-HK.json +2 -0
  302. package/dist/i18n/locales/zh-TW.json +2 -0
  303. package/dist/i18n/regionDates.js +250 -0
  304. package/dist/i18n/regionHints.js +30 -41
  305. package/dist/icon-scan.js +68 -61
  306. package/dist/index.d.ts +35 -31
  307. package/dist/llms-full.txt +1428 -400
  308. package/dist/llms-medium.txt +8 -4
  309. package/dist/llms.txt +4 -2
  310. package/dist/locale-blueprint.json +2 -0
  311. package/dist/styles.css +2 -2
  312. package/dist/types/ActionButton.d.ts +2 -1
  313. package/dist/types/CommonProps.d.ts +8 -0
  314. package/dist/types/Option.d.ts +10 -0
  315. package/dist/types/ptComponentMap.d.ts +3 -3
  316. package/dist/utilities/functions/hash.js +97 -64
  317. package/dist/utilities/functions/isEqual.js +33 -25
  318. package/dist/utilities/functions/slotContent.js +19 -0
  319. package/dist/utils/loadRetry.js +8 -0
  320. package/dist/utils/versionCheck.js +1 -1
  321. package/dist/vite-plugin.d.ts +2 -1
  322. package/dist/vite.js +11 -4
  323. package/llms.txt +4 -2
  324. package/package.json +3 -2
  325. package/scripts/README.md +3 -1
  326. package/scripts/lib/adoption-checklist.json +6 -5
  327. package/scripts/lib/agent-manifest.mjs +33 -6
  328. package/scripts/lib/agent-setup.mjs +90 -24
  329. package/scripts/lib/cldr-pins.ts +182 -0
  330. package/scripts/lib/engines-include.d.mts +5 -0
  331. package/scripts/lib/engines-include.mjs +40 -0
  332. package/scripts/lib/eslint-plugin.mjs +8 -2
  333. package/scripts/lib/hidden-label-placeholder.mjs +25 -5
  334. package/scripts/lib/idiom-scan.mjs +30 -3
  335. package/scripts/lib/legacy-agent-files.json +152 -0
  336. package/scripts/lib/mcp-config.mjs +74 -7
  337. package/scripts/lib/portal-names.mjs +78 -8
  338. package/scripts/lib/release-results.mjs +5 -2
  339. package/scripts/lib/report.mjs +340 -0
  340. package/scripts/lib/run-beat.mjs +14 -0
  341. package/scripts/lib/run-records.mjs +313 -0
  342. package/scripts/lib/selector-log.mjs +98 -0
  343. package/scripts/lib/ticket-beat.mjs +30 -0
  344. package/scripts/lib/validate-bb-markup.mjs +37 -2
  345. package/dist/ai/manifest/components/BbAvatar.removed.json +0 -6
package/dist/ai/index.md CHANGED
@@ -229,7 +229,7 @@ Do not use these components directly in consumer code unless the user explicitly
229
229
  - [Migration v2→v3: BbChip (removed)](./guides/migration/components/bb-chip.md) - BbChip is gone — BbBadge with clearable is the replacement; non-clearable chips were badges all along.
230
230
  - [Migration v2→v3: BbCollapsible](./guides/migration/components/bb-collapsible.md) - `tag` narrows to `'span' | 'div'` and still defaults to `div`; the inner element mirrors it.
231
231
  - [Migration v2→v3: BbColorInput](./guides/migration/components/bb-color-input.md) - picker renamed to eyeDropper.
232
- - [Migration v2→v3: BbColorPalette](./guides/migration/components/bb-color-palette.md) - flip inverted to disableFlip, showArrow removed, picker renamed eyeDropper, update:open dropped, model updates never emit null.
232
+ - [Migration v2→v3: BbColorPalette](./guides/migration/components/bb-color-palette.md) - flip inverted to disableFlip, showArrow removed, picker renamed eyeDropper, update:open is v-model:open, model updates never emit null.
233
233
  - [Migration v2→v3: BbConfirm + BbToast → BbHost](./guides/migration/components/bb-host.md) - Delete the <BbConfirm /> and <BbToast /> tags — the plugin renders the <BbHost /> that replaces them; their size, position and pt props move to the plugin config; a second host renders nothing; confirm() with no host resolves false after 1s.
234
234
  - [Migration v2→v3: BbDatePickerInput](./guides/migration/components/bb-date-picker-input.md) - allowWriting inverted to disableWriting and hidePopover renamed to disableCalendar, both with a changed token set; the width prop is removed; adaptive mobile sheet by default; non-floating output carries the local offset instead of UTC `Z` (new `utc` prop restores v2 output).
235
235
  - [Migration v2→v3: BbDialog](./guides/migration/components/bb-dialog.md) - showClose inverted to hideClose, #close removed (description restored in beta.19), default widths changed, adaptive bottom sheet on mobile by default, --bb-dialog-* tokens replaced by --bb-panel-p plus locals.
@@ -263,6 +263,7 @@ Do not use these components directly in consumer code unless the user explicitly
263
263
  - [Passthrough (pt)](./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.
264
264
  - [Porting forms from Element Plus, Naive UI and Ant Design Vue (async-validator `rules`)](./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.
265
265
  - [Preset Components](./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.
266
+ - [Reporting to the maintainers](./guides/reporting.md) - When you work around bitboss-ui or hit a bug, friction, glue, smell, missing feature or docs gap, report it and keep your workaround — the six kinds, `npx bitboss-ui report`, the MCP `report_issue` tool, and a curl one-liner.
266
267
  - [SSR prefill](./guides/ssr-prefill.md) - Item providers run on the server only with an SSR-state adapter (bitboss-ui/nuxt installs one).
267
268
  - [TypeScript and Generic Components](./guides/typescript-generic-components.md) - Which bitboss-ui components are generic, and the four places their type differs from a regular component — template refs (InstanceType), Storybook Meta, test-utils findComponent, and v-model write-backs vue-tsc never checks.
268
269
  - [Validated Forms (vee-validate)](./guides/validated-forms.md) - Forms with validation — the form controls join a BbForm (vee-validate underneath). Validate with one schema for the whole form (any Standard Schema — Zod, Valibot, ArkType, Yup — on BbForm's `schema`, no adapter) or with per-field `rules="required|email"` strings; BbForm hosts the form, focuses the first invalid field on a failed submit and emits `invalid`; requiredAsterisk marks required fields.
@@ -83,6 +83,7 @@
83
83
  {"name":"clearable","type":"boolean","default":"false","description":"Displays a clear button when the input has a value and is being interacted with."},
84
84
  {"name":"loading","type":"boolean","default":"false","description":"Sets the component in a loading state, usually triggering some visual styles."},
85
85
  {"name":"offCanvasProps","type":"Partial<BbOffCanvasProps>","description":"Props for the phone sheet (the `BbOffCanvas` that `adaptive` renders on mobile), spread over its defaults. A `pt` inside it styles only the sheet (passthrough guide § Inside the sheet). The sheet hides its ✕; `{ hideClose: false }` brings it back."},
86
+ {"name":"open","type":"boolean","default":"false","description":"Whether the panel is open (`v-model:open`; `v-model` stays the value). Bound, the app opens and closes it; unbound, the initial state."},
86
87
  {"name":"placeholder","type":"string","description":"Text shown while the field is empty."},
87
88
  {"name":"prepend:icon","type":"string","description":"Name of the icon to be added at the start of the input."},
88
89
  {"name":"offset","type":"number","default":"4","description":"Space the floating container will maintain from the activator."},
@@ -66,7 +66,7 @@
66
66
  {"class":"bb-alert","tag":"div","part":"root","reads":["--bg","--border-color","--elev","--fg"]},
67
67
  {"class":"bb-alert__icon","tag":"BbIcon","part":"icon","reads":["--fg"]},
68
68
  {"class":"bb-alert__title","tag":"div","part":"title","reads":["--close-size","--fg","--gap","--title-lh","--title-size"]},
69
- {"class":"bb-alert__text","tag":"div","part":"text","reads":["--fg-muted","--text-lh","--text-size"]},
69
+ {"class":"bb-alert__text","tag":"div","part":"text","reads":["--close-size","--fg-muted","--gap","--text-lh","--text-size"]},
70
70
  {"class":"bb-alert__close","tag":"ClearableButton","part":"close","reads":["--close-size","--fg","--fg-muted","--hit","--py","--right-p","--title-lh","--top-p"]},
71
71
  {"class":"bb-alert--destructive","state":"destructive","pattern":true},
72
72
  {"class":"bb-alert--outline","state":"outline","pattern":true},
@@ -7,7 +7,9 @@
7
7
  "contract": "ai/BbAvatar.md",
8
8
  "source": "ai/source/BbAvatar.md",
9
9
  "props": [
10
- {"name":"alt","type":"string","default":"\"\"","description":"Alternative text for the image, used for accessibility."},
10
+ {"name":"alt","type":"string","default":"\"\"","description":"Alternative text for the image, used for accessibility. Without it the avatar is labelled with `name`."},
11
+ {"name":"color","type":"string | boolean","default":"false","description":"Paints the fallback (initials or icon). `true`: a palette colour picked from `name`, stable across renders and the server. A string: any CSS colour or `var()` as the background, with black or white ink, whichever reads. Unset: the primary colour."},
12
+ {"name":"name","type":"string","description":"The person's name. With no image and no default slot, the avatar shows its initials (first letters of the first and last word; none: the person icon). Also the accessible name when `alt` is empty, and the input of `color`."},
11
13
  {"name":"pt","type":"PtMap<BbAvatarPtPart, never>","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
12
14
  {"name":"size","common":true},
13
15
  {"name":"sizes","type":"string","description":"Sizes attribute for the image, used with `srcset`."},
@@ -24,7 +26,8 @@
24
26
  "pt": {
25
27
  "parts": [
26
28
  {"name":"root","description":"The avatar frame, with the image or the fallback inside."},
27
- {"name":"icon","description":"The default user glyph — rendered only while there is no image to show and the default slot is not overridden, so it lands nowhere otherwise."}
29
+ {"name":"icon","description":"The default user glyph — rendered only while there is no image to show, the default slot is not overridden and `name` gives no initials, so it lands nowhere otherwise."},
30
+ {"name":"initials","description":"The initials from `name` — rendered only while there is no image to show and the default slot is not overridden."}
28
31
  ],
29
32
  "states": []
30
33
  },
@@ -2,6 +2,7 @@
2
2
  "name": "BbAvatar",
3
3
  "tree": {
4
4
  "bindings": [
5
+ {"part":"initials","target":"span.bb-avatar__initials"},
5
6
  {"part":"icon","target":"BbIcon"}
6
7
  ],
7
8
  "nodes": [
@@ -12,10 +13,24 @@
12
13
  "classes": {
13
14
  "bb-avatar": [
14
15
  "",
16
+ "--*",
17
+ "--blue",
18
+ "--colored",
19
+ "--coral",
20
+ "--custom",
21
+ "--mint",
22
+ "--orchid",
23
+ "--rose",
24
+ "--sky",
25
+ "--sunflower",
26
+ "--tangerine",
27
+ "--teal",
28
+ "--violet",
15
29
  "__default-icon",
16
30
  "__fallback",
17
31
  "__img",
18
- "__img--hidden"
32
+ "__img--hidden",
33
+ "__initials"
19
34
  ]
20
35
  },
21
36
  "locals": [
@@ -25,13 +40,27 @@
25
40
  "--elev",
26
41
  "--fg",
27
42
  "--fs",
43
+ "--hue",
28
44
  "--size"
29
45
  ],
30
46
  "surface": {
31
47
  "stable": [
32
- {"class":"bb-avatar","tag":"span","part":"root","reads":["--bg","--elev","--fg","--size"]}
48
+ {"class":"bb-avatar","tag":"span","part":"root","reads":["--bg","--elev","--fg","--hue","--size"]},
49
+ {"class":"bb-avatar__initials","tag":"span","part":"initials"}
33
50
  ],
34
51
  "internal": [
52
+ {"class":"bb-avatar--blue"},
53
+ {"class":"bb-avatar--colored","reads":["--hue"]},
54
+ {"class":"bb-avatar--coral"},
55
+ {"class":"bb-avatar--custom","reads":["--bg"]},
56
+ {"class":"bb-avatar--mint"},
57
+ {"class":"bb-avatar--orchid"},
58
+ {"class":"bb-avatar--rose"},
59
+ {"class":"bb-avatar--sky"},
60
+ {"class":"bb-avatar--sunflower"},
61
+ {"class":"bb-avatar--tangerine"},
62
+ {"class":"bb-avatar--teal"},
63
+ {"class":"bb-avatar--violet"},
35
64
  {"class":"bb-avatar__default-icon","tag":"BbIcon","reads":["--bg","--default-icon-size","--fg"]},
36
65
  {"class":"bb-avatar__fallback","tag":"span","reads":["--fs"]},
37
66
  {"class":"bb-avatar__img","tag":"img"},
@@ -47,6 +76,7 @@
47
76
  {"name":"--fg","value":"var(--bb-primary-fg)","selector":".bb-avatar","description":"Initials; the built-in icon is an 80/20 mix of this toward --bg"},
48
77
  {"name":"--default-icon-size","value":"clamp(14px, calc(var(--size) * 0.7), 48px)","selector":".bb-avatar","description":"Built-in fallback icon: 70% of the avatar, floored at 14px and capped at 48px. `--size` is the avatar's own box, set inline from the `size` prop."},
49
78
  {"name":"--fs","value":"max(8px, calc(var(--size) * 0.4))","selector":".bb-avatar","description":"Initials: 40% of the avatar, floored at 8px"},
79
+ {"name":"--hue","value":"0","selector":".bb-avatar","description":"The palette hue `color` picks (a modifier class sets it)."},
50
80
  {"name":"--elev","value":"var(--bb-elev-sm)","selector":".bb-avatar","description":"The theme's resting lift on small chrome, declared here so an ancestor's `--elev` cannot reach in; `--elev: none` flattens one."},
51
81
  {"name":"--size","value":"var(--default-icon-size)","selector":".bb-avatar__default-icon"}
52
82
  ]
@@ -15,7 +15,7 @@
15
15
  {"name":"floating","type":"boolean","default":"false","description":"Emit plain calendar strings instead of zoned ISO instants. Implied (and forced) by `type=\"week\"`, `type=\"month\"` and `type=\"year\"`."},
16
16
  {"name":"max","type":"string","description":"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."},
17
17
  {"name":"min","type":"string","description":"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."},
18
- {"name":"modelValue","type":"string | string[] | null","required":true,"description":"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`)."},
18
+ {"name":"modelValue","type":"string | string[] | null","description":"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`)."},
19
19
  {"name":"multiple","type":"boolean","description":"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\"`.","default":"false"},
20
20
  {"name":"numberOfMonths","type":"number","default":"1","description":"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."},
21
21
  {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"header\", \"arrow\", \"month\", \"year\", \"cellColumnHeader\", \"week\", \"weekNumber\", \"day\", \"dayButton\", \"monthItem\", \"yearItem\", \"item\"]; readonly states: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"disabled\", \"active\", \"highlighted\"]; readonly wide: readonly [\"disabled\"]; readonly node: { readonly week: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly weekNumber: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly day: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly dayButton: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly monthItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly yearItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly month: readonly [\"active\"]; readonly year: readonly [\"active\"]; readonly item: readonly [\"selected\"]; }; }> & { header?: PtValue | undefined; root?: PtValue | undefined; \"header:disabled\"?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; item?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; arrow?: PtValue | undefined; month?: PtValue | undefined; year?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; week?: PtValue | undefined; weekNumber?: PtValue | undefined; day?: PtValue | undefined; dayButton?: PtValue | undefined; monthItem?: PtValue | undefined; yearItem?: PtValue | undefined; \"arrow:disabled\"?: PtValue | undefined; \"month:disabled\"?: PtValue | undefined; \"year:disabled\"?: PtValue | undefined; \"cellColumnHeader:disabled\"?: PtValue | undefined; \"week:disabled\"?: PtValue | undefined; \"weekNumber:disabled\"?: PtValue | undefined; \"day:disabled\"?: PtValue | undefined; \"dayButton:disabled\"?: PtValue | undefined; \"monthItem:disabled\"?: PtValue | undefined; \"yearItem:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"month:active\"?: PtValue | undefined; \"year:active\"?: PtValue | undefined; \"week:inRange\"?: PtValue | undefined; \"week:selected\"?: PtValue | undefined; \"week:rangeStart\"?: PtValue | undefined; \"week:rangeEnd\"?: PtValue | undefined; \"weekNumber:inRange\"?: PtValue | undefined; \"weekNumber:selected\"?: PtValue | undefined; \"weekNumber:rangeStart\"?: PtValue | undefined; \"weekNumber:rangeEnd\"?: PtValue | undefined; \"day:outside\"?: PtValue | undefined; \"day:today\"?: PtValue | undefined; \"day:inRange\"?: PtValue | undefined; \"day:selected\"?: PtValue | undefined; \"day:rangeStart\"?: PtValue | undefined; \"day:rangeEnd\"?: PtValue | undefined; \"day:highlighted\"?: PtValue | undefined; \"dayButton:outside\"?: PtValue | undefined; \"dayButton:today\"?: PtValue | undefined; \"dayButton:inRange\"?: PtValue | undefined; \"dayButton:selected\"?: PtValue | undefined; \"dayButton:rangeStart\"?: PtValue | undefined; \"dayButton:rangeEnd\"?: PtValue | undefined; \"dayButton:highlighted\"?: PtValue | undefined; \"monthItem:inRange\"?: PtValue | undefined; \"monthItem:selected\"?: PtValue | undefined; \"monthItem:rangeStart\"?: PtValue | undefined; \"monthItem:rangeEnd\"?: PtValue | undefined; \"monthItem:highlighted\"?: PtValue | undefined; \"yearItem:inRange\"?: PtValue | undefined; \"yearItem:selected\"?: PtValue | undefined; \"yearItem:rangeStart\"?: PtValue | undefined; \"yearItem:rangeEnd\"?: PtValue | undefined; \"yearItem:highlighted\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
@@ -44,7 +44,7 @@
44
44
  "exposed": [],
45
45
  "models": [
46
46
  {"name":"activeSegment","type":"BbCalendarSegment | undefined"},
47
- {"name":"modelValue","type":"string | string[] | null"},
47
+ {"name":"modelValue","type":"string | string[] | null | undefined"},
48
48
  {"name":"time","type":"string | string[] | null | undefined"}
49
49
  ],
50
50
  "pt": {
@@ -53,8 +53,5 @@
53
53
  },
54
54
  "attrTargets": [
55
55
  "section"
56
- ],
57
- "types": [
58
- {"name":"BbCarouselSlotProps","usedAs":["slot overlay","slot slide","slot slide:footer","slot slide:header"],"definition":"type BbCarouselSlotProps<T = number> = { item: T; index: number; active: boolean; current: boolean; };"}
59
56
  ]
60
57
  }
@@ -32,7 +32,7 @@
32
32
  {"name":"itemLayout","common":true},
33
33
  {"name":"itemProps","common":true},
34
34
  {"name":"itemReverse","common":true},
35
- {"name":"items","type":"T[] | ((context: BbCheckboxGroupItemsContext) => T[] | Promise<T[]>)","required":true,"description":"The options: an array, or a provider called with a `BbCheckboxGroupItemsContext` (`BbSwitchGroupItemsContext` on a switch group) (`reason`, `modelValue`, `signal`), sync or async. A provider fails by THROWING, never by returning `[]`: the rows clear and `#empty` gets the `error`."},
35
+ {"name":"items","type":"T[] | ((context: BbCheckboxGroupItemsContext) => T[] | Promise<T[]>)","required":true,"description":"The options: an array, or a provider called with `{ reason, modelValue, signal }`, sync or async. A provider fails by THROWING, never by returning `[]`: the rows clear and the failure row shows `failed-text` with \"Try again\"."},
36
36
  {"name":"itemText","common":true},
37
37
  {"name":"itemValue","common":true},
38
38
  {"name":"labelAlign","common":true},
@@ -74,7 +74,7 @@
74
74
  "slots": [
75
75
  {"name":"append","type":"object","description":"Content rendered after the last option, inside the options container."},
76
76
  {"name":"description","type":"BbCheckboxGroupDescriptionSlotProps","fields":["text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the description text. Provided alone (no `description` prop) it still renders the description region and wires it into `aria-describedby`."},
77
- {"name":"empty","type":"{ error: unknown; }","description":"Content shown when no options are available (replaces the default \"no data\" text). `error` is what the latest failed load rejected with, untouched, and `null` when nothing failed — a failed load clears the rows, so this slot is where it shows."},
77
+ {"name":"empty","type":"object","description":"Content shown when no options are available (replaces the default \"no data\" text). Empty only: a failed load shows the library's failure row instead (its message is `failed-text`, and it ends with \"Try again\")."},
78
78
  {"name":"icon","type":"BbCheckboxGroupIconSlotProps<T>","fields":["disabled: boolean","readonly: boolean","checked: boolean","indeterminate?: boolean","focused: boolean","focusVisible: boolean","id: string","name: string","falseValue: any","hasErrors: boolean","hasWarnings: boolean","parsedValue: string","trueValue: any","value: any","item: T","text: string"],"description":"Replaces the default checkmark icon for each checkbox option."},
79
79
  {"name":"label","type":"BbCheckboxGroupLabelSlotProps<T>","fields":["item: T","text: string","checked: boolean","description: string"],"description":"Replaces the default label text for each option."},
80
80
  {"name":"legend","type":"BbCheckboxGroupLegendSlotProps","fields":["showAsterisk?: boolean","text: string","hasErrors: boolean","hasWarnings: boolean"],"description":"Replaces the default fieldset legend text for the group."},
@@ -16,6 +16,7 @@
16
16
  "bb-checkbox-group": [
17
17
  "",
18
18
  "__empty",
19
+ "__empty--failed",
19
20
  "__indicator",
20
21
  "__item",
21
22
  "__item--*",
@@ -116,6 +117,7 @@
116
117
  ],
117
118
  "internal": [
118
119
  {"class":"bb-checkbox-group__empty"},
120
+ {"class":"bb-checkbox-group__empty--failed"},
119
121
  {"class":"bb-checkbox-group__item--aligned"},
120
122
  {"class":"bb-checkbox-group__item--description","reads":["--hit","--row-gap","--row-h"]},
121
123
  {"class":"bb-checkbox-group__item--input-align-bottom"},
@@ -34,6 +34,7 @@
34
34
  {"name":"modelValue","type":"string | null","default":"null","description":"Used by v-model."},
35
35
  {"name":"name","common":true},
36
36
  {"name":"offCanvasProps","common":true},
37
+ {"name":"open","common":true},
37
38
  {"name":"persistentHint","common":true},
38
39
  {"name":"placeholder","common":true},
39
40
  {"name":"prepend:icon","common":true},
@@ -65,7 +66,8 @@
65
66
  {"name":"paste","signature":"(event: ClipboardEvent): void","description":"Native clipboard paste. Forwards the original DOM `ClipboardEvent`."},
66
67
  {"name":"show","signature":"(): void","description":"Emitted as soon as the palette (the popover, or the sheet on a phone) starts to open."},
67
68
  {"name":"shown","signature":"(): void","description":"Emitted once the palette is open and its open transition has finished."},
68
- {"name":"update:modelValue","signature":"(value: string | null): void","description":"Emitted when the value becomes a valid hex color via typing/masking, when the field is cleared, or when the palette selects a color. Emits:\n- `#RRGGBB` (or `#RRGGBBAA` when `alpha` is enabled) for valid values\n- `null` when cleared"}
69
+ {"name":"update:modelValue","signature":"(value: string | null): void","description":"Emitted when the value becomes a valid hex color via typing/masking, when the field is cleared, or when the palette selects a color. Emits:\n- `#RRGGBB` (or `#RRGGBBAA` when `alpha` is enabled) for valid values\n- `null` when cleared"},
70
+ {"name":"update:open","signature":"(value: boolean): void","description":"The panel opened or closed (`v-model:open`)."}
69
71
  ],
70
72
  "slots": [
71
73
  {"name":"append","type":"Record<string, never>","description":"Content after the colour indicator button, at the end of the inner container. It replaces the `suffix` wrapper, so with `append` any `suffix` content is dropped. No scoped props."},
@@ -79,7 +81,8 @@
79
81
  ],
80
82
  "exposed": [],
81
83
  "models": [
82
- {"name":"modelValue","type":"string | null | undefined"}
84
+ {"name":"modelValue","type":"string | null | undefined"},
85
+ {"name":"open","type":"boolean | undefined"}
83
86
  ],
84
87
  "pt": {
85
88
  "parts": [
@@ -17,9 +17,10 @@
17
17
  {"name":"eager","type":"boolean","default":"false","description":"Renders the palette panel at mount instead of on the first open (the phone sheet's too)."},
18
18
  {"name":"eyeDropper","type":"boolean","default":"false","description":"Show an eyedropper button inside the palette to sample any color on screen. Uses the native EyeDropper API — hidden automatically on unsupported browsers."},
19
19
  {"name":"label","type":"string","description":"Accessible label. The activator is named by it followed by the activator's own text, through `aria-labelledby`. Defaults to the locale string for \"Open color picker\" when omitted."},
20
- {"name":"modelValue","type":"string | null","required":true,"description":"v-model: the current color as a `#RRGGBB` hex string (or `#RRGGBBAA` when `alpha` is enabled), or `null` when empty."},
20
+ {"name":"modelValue","type":"string | null","description":"v-model: the current color as a `#RRGGBB` hex string (or `#RRGGBBAA` when `alpha` is enabled), or `null` when empty."},
21
21
  {"name":"offCanvasProps","common":true},
22
22
  {"name":"offset","common":true},
23
+ {"name":"open","common":true},
23
24
  {"name":"padding","type":"number","default":"6","description":"Minimum empty space to keep from the edge of the page"},
24
25
  {"name":"placement","type":"Placement","description":"Position of the overlay in respect to the related activator."},
25
26
  {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"swatch\"]; readonly states: readonly [\"selected\", \"open\"]; readonly wide: readonly [\"open\"]; readonly node: { readonly swatch: readonly [\"selected\"]; }; }> & { root?: PtValue | undefined; panel?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; sheet?: PtValue | undefined; swatch?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"swatch:open\"?: PtValue | undefined; \"swatch:selected\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
@@ -32,14 +33,16 @@
32
33
  {"name":"hide","signature":"(): void","description":"Emitted as soon as the palette starts to close."},
33
34
  {"name":"show","signature":"(): void","description":"Emitted as soon as the palette (the popover, or the sheet on a phone) starts to open."},
34
35
  {"name":"shown","signature":"(): void","description":"Emitted once the palette is open and its open transition has finished."},
35
- {"name":"update:modelValue","signature":"(value: string): void","description":"Emitted when a color is picked. Payload is a concrete `#RRGGBB` (or `#RRGGBBAA` when alpha is enabled) — the palette always emits a color, never `null`."}
36
+ {"name":"update:modelValue","signature":"(value: string): void","description":"Emitted when a color is picked. Payload is a concrete `#RRGGBB` (or `#RRGGBBAA` when alpha is enabled) — the palette always emits a color, never `null`."},
37
+ {"name":"update:open","signature":"(value: boolean): void","description":"The panel opened or closed (`v-model:open`)."}
36
38
  ],
37
39
  "slots": [
38
40
  {"name":"activator","type":"BbColorPaletteActivatorSlotProps","fields":["anchorProps: BbColorPaletteAnchorProps","disabled: boolean","open: boolean","props: BbColorPaletteActivatorProps","value: string | null"],"description":"Custom activator element. Apply `v-bind=\"props\"` to the element you want to use as the trigger — this wires up the ref callback that lets BbColorPalette track the element."}
39
41
  ],
40
42
  "exposed": [],
41
43
  "models": [
42
- {"name":"modelValue","type":"string | null"}
44
+ {"name":"modelValue","type":"string | null | undefined"},
45
+ {"name":"open","type":"boolean | undefined"}
43
46
  ],
44
47
  "pt": {
45
48
  "parts": [
@@ -59,7 +62,7 @@
59
62
  "config": "adaptive*",
60
63
  "types": [
61
64
  {"name":"BbOffCanvasProps","usedAs":["prop offCanvasProps"]},
62
- {"name":"ElementOrComponentRef","usedAs":["prop activator","prop anchor"],"definition":"type ElementOrComponentRef = Element | ComponentPublicInstance | Pick<ComponentPublicInstance, '$el'> | { el: Element | null; } | null;"},
65
+ {"name":"ElementOrComponentRef","usedAs":["prop activator","prop anchor"],"definition":"type ElementOrComponentRef = Element | ComponentPublicInstance | Pick<ComponentPublicInstance, '$el'> | { el: Element | null; } | { $el?: unknown; } | null;"},
63
66
  {"name":"ElementOrComponentRefOrSelector","usedAs":["prop boundary"],"definition":"type ElementOrComponentRefOrSelector = ElementOrComponentRef | string;"},
64
67
  {"name":"Placement","usedAs":["prop placement"],"values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end"]}
65
68
  ]
@@ -7,7 +7,6 @@
7
7
  {"name":"showArrow","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"remove"}},
8
8
  {"name":"pt:root:selected","new":null,"surface":"pt","hint":"it never applied anything: `selected` is a state of `swatch` only (`pt:swatch:selected`)","since":"3.0.0-beta.31","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"remove"}},
9
9
  {"name":"pt:panel:selected","new":null,"surface":"pt","hint":"it never applied anything: `selected` is a state of `swatch` only (`pt:swatch:selected`)","since":"3.0.0-beta.31","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"remove"}},
10
- {"name":"pt:sheet:selected","new":null,"surface":"pt","hint":"it never applied anything: `selected` is a state of `swatch` only (`pt:swatch:selected`)","since":"3.0.0-beta.31","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"remove"}},
11
- {"name":"update:open","new":null,"surface":"event","since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"manual"}}
10
+ {"name":"pt:sheet:selected","new":null,"surface":"pt","hint":"it never applied anything: `selected` is a state of `swatch` only (`pt:swatch:selected`)","since":"3.0.0-beta.31","migration":"ai/guides/migration/components/bb-color-palette.md","silent":true,"fix":{"kind":"remove"}}
12
11
  ]
13
12
  }
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "events": [],
13
13
  "slots": [
14
- {"name":"default","type":"BbConfirmPortalSlotProps","fields":["data: P","ok: () => void","cancel: () => void"]}
14
+ {"name":"default","type":"BbConfirmPortalSlotProps<any>","fields":["data: P","ok: () => void","cancel: () => void"],"description":"The confirm's body."}
15
15
  ],
16
16
  "exposed": [],
17
17
  "models": [],
@@ -22,11 +22,12 @@
22
22
  {"name":"label","type":"string","description":"Accessible label. The activator is named by it followed by the activator's own text (\"Due date 12 Sep\"), through `aria-labelledby`."},
23
23
  {"name":"max","type":"string","description":"Maximum selectable value, in this `type`'s shape. A finer bound is accepted and ceiled to the unit, with a warning (`week`: as `min`)."},
24
24
  {"name":"min","type":"string","description":"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 week or a date with `week`, whole weeks only). A finer bound is accepted and floored to the unit, with a warning."},
25
- {"name":"modelValue","type":"string | string[] | null","required":true,"description":"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`)."},
25
+ {"name":"modelValue","type":"string | string[] | null","description":"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`)."},
26
26
  {"name":"multiple","type":"boolean","description":"Multi-selection: each pick toggles a value in a sorted array (days, weeks, months or years), and the panel stays open until dismissed. Needs an array `modelValue` (`[]` when empty, never `null`). Throws with `range` or `type=\"datetime\"`.","default":"false"},
27
27
  {"name":"numberOfMonths","type":"number","default":"1","description":"How many months the popover shows side by side (day grids only); the phone sheet always shows one. Too narrow for them all, the months wrap."},
28
28
  {"name":"offCanvasProps","common":true},
29
29
  {"name":"offset","type":"number","default":"4","description":"Space the popover keeps from the activator."},
30
+ {"name":"open","common":true},
30
31
  {"name":"padding","type":"number","description":"Minimum empty space to keep from the edge of the page."},
31
32
  {"name":"placement","type":"Placement","values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end"],"description":"Position of the popover relative to the activator/anchor."},
32
33
  {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"header\", \"arrow\", \"month\", \"year\", \"cellColumnHeader\", \"week\", \"weekNumber\", \"day\", \"dayButton\", \"monthItem\", \"yearItem\", \"item\"]; readonly states: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"disabled\", \"active\", \"open\", \"highlighted\"]; readonly wide: readonly [\"disabled\", \"open\"]; readonly node: { readonly week: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly weekNumber: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly day: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly dayButton: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly monthItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly yearItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly month: readonly [\"active\"]; readonly year: readonly [\"active\"]; readonly item: readonly [\"selected\"]; }; }> & { header?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"header:disabled\"?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; item?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; arrow?: PtValue | undefined; month?: PtValue | undefined; year?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; week?: PtValue | undefined; weekNumber?: PtValue | undefined; day?: PtValue | undefined; dayButton?: PtValue | undefined; monthItem?: PtValue | undefined; yearItem?: PtValue | undefined; \"arrow:disabled\"?: PtValue | undefined; \"month:disabled\"?: PtValue | undefined; \"year:disabled\"?: PtValue | undefined; \"cellColumnHeader:disabled\"?: PtValue | undefined; \"week:disabled\"?: PtValue | undefined; \"weekNumber:disabled\"?: PtValue | undefined; \"day:disabled\"?: PtValue | undefined; \"dayButton:disabled\"?: PtValue | undefined; \"monthItem:disabled\"?: PtValue | undefined; \"yearItem:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"month:active\"?: PtValue | undefined; \"year:active\"?: PtValue | undefined; \"week:inRange\"?: PtValue | undefined; \"week:selected\"?: PtValue | undefined; \"week:rangeStart\"?: PtValue | undefined; \"week:rangeEnd\"?: PtValue | undefined; \"weekNumber:inRange\"?: PtValue | undefined; \"weekNumber:selected\"?: PtValue | undefined; \"weekNumber:rangeStart\"?: PtValue | undefined; \"weekNumber:rangeEnd\"?: PtValue | undefined; \"day:outside\"?: PtValue | undefined; \"day:today\"?: PtValue | undefined; \"day:inRange\"?: PtValue | undefined; \"day:selected\"?: PtValue | undefined; \"day:rangeStart\"?: PtValue | undefined; \"day:rangeEnd\"?: PtValue | undefined; \"day:highlighted\"?: PtValue | undefined; \"dayButton:outside\"?: PtValue | undefined; \"dayButton:today\"?: PtValue | undefined; \"dayButton:inRange\"?: PtValue | undefined; \"dayButton:selected\"?: PtValue | undefined; \"dayButton:rangeStart\"?: PtValue | undefined; \"dayButton:rangeEnd\"?: PtValue | undefined; \"dayButton:highlighted\"?: PtValue | undefined; \"monthItem:inRange\"?: PtValue | undefined; \"monthItem:selected\"?: PtValue | undefined; \"monthItem:rangeStart\"?: PtValue | undefined; \"monthItem:rangeEnd\"?: PtValue | undefined; \"monthItem:highlighted\"?: PtValue | undefined; \"yearItem:inRange\"?: PtValue | undefined; \"yearItem:selected\"?: PtValue | undefined; \"yearItem:rangeStart\"?: PtValue | undefined; \"yearItem:rangeEnd\"?: PtValue | undefined; \"yearItem:highlighted\"?: PtValue | undefined; sheet?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"item:open\"?: PtValue | undefined; \"arrow:open\"?: PtValue | undefined; \"month:open\"?: PtValue | undefined; \"year:open\"?: PtValue | undefined; \"cellColumnHeader:open\"?: PtValue | undefined; \"week:open\"?: PtValue | undefined; \"weekNumber:open\"?: PtValue | undefined; \"day:open\"?: PtValue | undefined; \"dayButton:open\"?: PtValue | undefined; \"monthItem:open\"?: PtValue | undefined; \"yearItem:open\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
@@ -49,6 +50,7 @@
49
50
  {"name":"time-pick","signature":"(payload: { unit: TimeUnit; value: string; }): void","description":"Relay of the raw time-rail pick. An embedding host binds this to run its own value engine; clean consumers ignore it and use `update:time`."},
50
51
  {"name":"update:activeSegment","signature":"(value: BbCalendarSegment): void","description":"The active range end changed (range + `type=\"datetime\"` only)."},
51
52
  {"name":"update:modelValue","signature":"(value: string | string[] | null): void","description":"Emitted when the selected date value changes (single/range/null)."},
53
+ {"name":"update:open","signature":"(value: boolean): void","description":"The panel opened or closed (`v-model:open`)."},
52
54
  {"name":"update:time","signature":"(value: string | string[] | null): void","description":"Companion time model, alongside every change while `type=\"datetime\"`."}
53
55
  ],
54
56
  "slots": [
@@ -61,7 +63,8 @@
61
63
  "exposed": [],
62
64
  "models": [
63
65
  {"name":"activeSegment","type":"BbCalendarSegment | undefined"},
64
- {"name":"modelValue","type":"string | string[] | null"},
66
+ {"name":"modelValue","type":"string | string[] | null | undefined"},
67
+ {"name":"open","type":"boolean | undefined"},
65
68
  {"name":"time","type":"string | string[] | null | undefined"}
66
69
  ],
67
70
  "pt": {
@@ -102,7 +105,7 @@
102
105
  "types": [
103
106
  {"name":"BbCalendarSegment","usedAs":["prop activeSegment","event update:activeSegment"],"values":["start","end"]},
104
107
  {"name":"BbOffCanvasProps","usedAs":["prop offCanvasProps"]},
105
- {"name":"ElementOrComponentRef","usedAs":["prop activator","prop anchor"],"definition":"type ElementOrComponentRef = Element | ComponentPublicInstance | Pick<ComponentPublicInstance, '$el'> | { el: Element | null; } | null;"},
108
+ {"name":"ElementOrComponentRef","usedAs":["prop activator","prop anchor"],"definition":"type ElementOrComponentRef = Element | ComponentPublicInstance | Pick<ComponentPublicInstance, '$el'> | { el: Element | null; } | { $el?: unknown; } | null;"},
106
109
  {"name":"ElementOrComponentRefOrSelector","usedAs":["prop boundary"],"definition":"type ElementOrComponentRefOrSelector = ElementOrComponentRef | string;"},
107
110
  {"name":"Placement","usedAs":["prop placement"],"values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end"]}
108
111
  ]
@@ -40,6 +40,7 @@
40
40
  {"name":"name","common":true},
41
41
  {"name":"numberOfMonths","type":"number","default":"1","description":"How many months the calendar popover shows side by side (day grids only); the phone sheet always shows one. Too narrow for them all, the months wrap."},
42
42
  {"name":"offCanvasProps","common":true},
43
+ {"name":"open","common":true},
43
44
  {"name":"persistentHint","common":true},
44
45
  {"name":"placeholder","common":true},
45
46
  {"name":"prepend:icon","common":true},
@@ -71,6 +72,7 @@
71
72
  {"name":"show","signature":"(): void","description":"Emitted as soon as the calendar surface starts to open (the popover, or the sheet on a phone)."},
72
73
  {"name":"shown","signature":"(): void","description":"Emitted once the calendar surface is open and its open transition has finished."},
73
74
  {"name":"update:modelValue","signature":"(value: string | string[] | null): void","description":"Emitted whenever the selected date value changes. Payload is `null` for cleared values, a single string for single-date mode, or a two-element array for range mode."},
75
+ {"name":"update:open","signature":"(value: boolean): void","description":"The panel opened or closed (`v-model:open`)."},
74
76
  {"name":"update:time","signature":"(value: string | string[] | null): void","description":"Companion time model (`v-model:time`), emitted alongside every value change while `type=\"datetime\"` is on. Always 24-hour `HH:mm` (or `HH:mm:ss` with `seconds`); `null` when cleared, an array in range mode."}
75
77
  ],
76
78
  "slots": [
@@ -90,6 +92,7 @@
90
92
  "exposed": [],
91
93
  "models": [
92
94
  {"name":"modelValue","type":"string | string[] | null | undefined"},
95
+ {"name":"open","type":"boolean | undefined"},
93
96
  {"name":"time","type":"string | string[] | null | undefined"}
94
97
  ],
95
98
  "pt": {
@@ -37,6 +37,7 @@
37
37
  "__content",
38
38
  "__description",
39
39
  "__empty",
40
+ "__empty--failed",
40
41
  "__footer",
41
42
  "__header",
42
43
  "__item",
@@ -65,6 +66,9 @@
65
66
  ],
66
67
  "bb-dialog-escape": [
67
68
  ""
69
+ ],
70
+ "bb-overlay-ghost": [
71
+ ""
68
72
  ]
69
73
  },
70
74
  "locals": [
@@ -112,6 +116,7 @@
112
116
  {"class":"bb-dialog-escape"},
113
117
  {"class":"bb-dialog__body-content","tag":"div"},
114
118
  {"class":"bb-dialog__empty"},
119
+ {"class":"bb-dialog__empty--failed"},
115
120
  {"class":"bb-dialog__item"},
116
121
  {"class":"bb-dialog__item--aligned"},
117
122
  {"class":"bb-dialog__item--description"},
@@ -128,7 +133,8 @@
128
133
  {"class":"bb-dialog__list--no-transition"},
129
134
  {"class":"bb-dialog__list--strip"},
130
135
  {"class":"bb-dialog__list--warnings"},
131
- {"class":"bb-dialog__loading"}
136
+ {"class":"bb-dialog__loading"},
137
+ {"class":"bb-overlay-ghost"}
132
138
  ]
133
139
  }
134
140
  },