bitboss-ui 3.0.0-beta.74 → 3.0.0-beta.76

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 (321) hide show
  1. package/README.md +5 -5
  2. package/bin/cli.mjs +16 -10
  3. package/dist/ai/BbAlert.md +1 -1
  4. package/dist/ai/BbAvatar.md +86 -58
  5. package/dist/ai/BbBadge.md +1 -1
  6. package/dist/ai/BbBreadcrumbs.md +3 -3
  7. package/dist/ai/BbButton.md +4 -4
  8. package/dist/ai/BbCalendar.md +5 -2
  9. package/dist/ai/BbCheckboxGroup.md +5 -4
  10. package/dist/ai/BbColorInput.md +13 -1
  11. package/dist/ai/BbColorPalette.md +12 -7
  12. package/dist/ai/BbConfirm.md +1 -1
  13. package/dist/ai/BbDatePicker.md +13 -1
  14. package/dist/ai/BbDatePickerInput.md +18 -2
  15. package/dist/ai/BbDialog.md +6 -3
  16. package/dist/ai/BbDropdown.md +174 -77
  17. package/dist/ai/BbDropdownButton.md +37 -16
  18. package/dist/ai/BbGallery.md +3 -2
  19. package/dist/ai/BbIcon.md +10 -10
  20. package/dist/ai/BbNumberInput.md +3 -1
  21. package/dist/ai/BbOffCanvas.md +3 -2
  22. package/dist/ai/BbPopover.md +1 -1
  23. package/dist/ai/BbRadioGroup.md +4 -4
  24. package/dist/ai/BbSelect.md +227 -105
  25. package/dist/ai/BbSelectPopover.md +139 -14
  26. package/dist/ai/BbSwitchGroup.md +5 -4
  27. package/dist/ai/BbTable.md +18 -17
  28. package/dist/ai/BbTimePicker.md +13 -1
  29. package/dist/ai/BbTimePickerInput.md +16 -2
  30. package/dist/ai/BbToast.md +3 -2
  31. package/dist/ai/BbTree.md +5 -1
  32. package/dist/ai/CommonPopover.md +1 -0
  33. package/dist/ai/FlatListBox.md +1 -0
  34. package/dist/ai/GroupedListBox.md +3 -2
  35. package/dist/ai/ListBox.md +4 -2
  36. package/dist/ai/OptionsContainer.md +4 -4
  37. package/dist/ai/changelog.json +310 -7
  38. package/dist/ai/components.json +33 -35
  39. package/dist/ai/composables/useToast.md +2 -2
  40. package/dist/ai/design-tokens.json +60 -0
  41. package/dist/ai/guides/agent-contract.md +9 -5
  42. package/dist/ai/guides/calendars-and-digits.md +1 -1
  43. package/dist/ai/guides/design-tokens.md +13 -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/icons-policy.md +32 -11
  47. package/dist/ai/guides/installation-and-plugin-setup.md +24 -23
  48. package/dist/ai/guides/migration/adoption-checklist.md +1 -1
  49. package/dist/ai/guides/migration/components/bb-color-palette.md +11 -11
  50. package/dist/ai/guides/migration/components/bb-dropdown-button.md +1 -0
  51. package/dist/ai/guides/migration/components/bb-dropdown.md +1 -0
  52. package/dist/ai/guides/migration/components/bb-icon.md +4 -4
  53. package/dist/ai/guides/migration/components/bb-table.md +2 -1
  54. package/dist/ai/guides/migration/components/bb-toast.md +2 -2
  55. package/dist/ai/guides/migration/v2-to-v3.md +70 -24
  56. package/dist/ai/guides/migration/v3-beta-css-classes.md +18 -3
  57. package/dist/ai/guides/migration/v3-beta-tooling.md +1 -0
  58. package/dist/ai/guides/passthrough.md +58 -58
  59. package/dist/ai/helpers/inertia/manifest.json +1 -1
  60. package/dist/ai/index.md +1 -1
  61. package/dist/ai/manifest/common.json +1 -0
  62. package/dist/ai/manifest/components/BbAvatar.json +5 -2
  63. package/dist/ai/manifest/components/BbAvatar.tree.json +32 -2
  64. package/dist/ai/manifest/components/BbCarousel.json +0 -3
  65. package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
  66. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +2 -0
  67. package/dist/ai/manifest/components/BbColorInput.json +5 -2
  68. package/dist/ai/manifest/components/BbColorPalette.json +5 -2
  69. package/dist/ai/manifest/components/BbColorPalette.removed.json +1 -2
  70. package/dist/ai/manifest/components/BbDatePicker.json +3 -0
  71. package/dist/ai/manifest/components/BbDatePickerInput.json +3 -0
  72. package/dist/ai/manifest/components/BbDialog.tree.json +3 -1
  73. package/dist/ai/manifest/components/BbDropdown.json +36 -28
  74. package/dist/ai/manifest/components/BbDropdown.removed.json +2 -1
  75. package/dist/ai/manifest/components/BbDropdown.tree.json +21 -11
  76. package/dist/ai/manifest/components/BbDropdownButton.json +24 -16
  77. package/dist/ai/manifest/components/BbDropdownButton.removed.json +2 -1
  78. package/dist/ai/manifest/components/BbDropdownButton.tree.json +4 -0
  79. package/dist/ai/manifest/components/BbGallery.tree.json +1 -1
  80. package/dist/ai/manifest/components/BbOffCanvas.tree.json +3 -1
  81. package/dist/ai/manifest/components/BbRadioGroup.json +2 -2
  82. package/dist/ai/manifest/components/BbRadioGroup.tree.json +2 -0
  83. package/dist/ai/manifest/components/BbSelect.json +47 -40
  84. package/dist/ai/manifest/components/BbSelect.tree.json +2 -1
  85. package/dist/ai/manifest/components/BbSelectPopover.json +14 -7
  86. package/dist/ai/manifest/components/BbSelectPopover.tree.json +9 -2
  87. package/dist/ai/manifest/components/BbSwitchGroup.json +2 -2
  88. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +2 -0
  89. package/dist/ai/manifest/components/BbTable.json +6 -6
  90. package/dist/ai/manifest/components/BbTable.tree.json +9 -1
  91. package/dist/ai/manifest/components/BbTimePicker.json +5 -2
  92. package/dist/ai/manifest/components/BbTimePickerInput.json +5 -2
  93. package/dist/ai/manifest/components/BbTree.json +1 -1
  94. package/dist/ai/manifest/components/CommonPopover.json +1 -0
  95. package/dist/ai/manifest/components/FlatListBox.json +2 -1
  96. package/dist/ai/manifest/components/GroupedListBox.json +3 -2
  97. package/dist/ai/manifest/components/GroupedListBox.tree.json +1 -0
  98. package/dist/ai/manifest/components/ListBox.json +3 -2
  99. package/dist/ai/manifest/components/ListBox.tree.json +1 -1
  100. package/dist/ai/manifest/components/OptionsContainer.json +6 -4
  101. package/dist/ai/manifest/index.json +2 -2
  102. package/dist/ai/manifest/meta.json +0 -3
  103. package/dist/ai/manifest/types.advanced.json +6 -6
  104. package/dist/ai/manifest/types.api.json +1 -3
  105. package/dist/ai/recipes/inertia/inline-edit-workspace.md +1 -1
  106. package/dist/ai/recipes/inertia/onboarding.md +1 -1
  107. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1 -1
  108. package/dist/ai/recipes/nuxt/onboarding.md +1 -1
  109. package/dist/ai/recipes/vue/inline-edit-workspace.md +1 -1
  110. package/dist/ai/recipes/vue/onboarding.md +2 -2
  111. package/dist/ai/source/BbAccordion.md +4 -5
  112. package/dist/ai/source/BbAvatar.md +128 -11
  113. package/dist/ai/source/BbBadge.md +18 -7
  114. package/dist/ai/source/BbBreadcrumbs.md +57 -56
  115. package/dist/ai/source/BbButton.md +41 -25
  116. package/dist/ai/source/BbCalendar.md +8 -6
  117. package/dist/ai/source/BbCarousel.md +41 -34
  118. package/dist/ai/source/BbCheckboxGroup.md +15 -9
  119. package/dist/ai/source/BbColorInput.md +19 -0
  120. package/dist/ai/source/BbColorPalette.md +23 -2
  121. package/dist/ai/source/BbDatePicker.md +18 -0
  122. package/dist/ai/source/BbDatePickerInput.md +47 -3
  123. package/dist/ai/source/BbDialog.md +14 -1
  124. package/dist/ai/source/BbDropdown.md +296 -99
  125. package/dist/ai/source/BbDropdownButton.md +61 -19
  126. package/dist/ai/source/BbDropdownGroup.md +189 -98
  127. package/dist/ai/source/BbGallery.md +82 -60
  128. package/dist/ai/source/BbHost.md +12 -0
  129. package/dist/ai/source/BbNumberInput.md +17 -10
  130. package/dist/ai/source/BbOffCanvas.md +14 -1
  131. package/dist/ai/source/BbPagination.md +12 -28
  132. package/dist/ai/source/BbRadioGroup.md +12 -5
  133. package/dist/ai/source/BbRating.md +4 -4
  134. package/dist/ai/source/BbSelect.md +151 -112
  135. package/dist/ai/source/BbSelectPopover.md +244 -29
  136. package/dist/ai/source/BbSwitchGroup.md +11 -4
  137. package/dist/ai/source/BbTable.md +114 -35
  138. package/dist/ai/source/BbTimePicker.md +19 -0
  139. package/dist/ai/source/BbTimePickerInput.md +21 -2
  140. package/dist/ai/source/BbToast.md +2 -2
  141. package/dist/ai/source/BbToastPortal.md +2 -2
  142. package/dist/ai/source/BbTree.md +1 -1
  143. package/dist/ai/source/ClearableButton.md +4 -2
  144. package/dist/ai/source/CommonPopover.md +24 -1
  145. package/dist/ai/source/ErrorIcon.md +4 -3
  146. package/dist/ai/source/FlatListBox.md +33 -7
  147. package/dist/ai/source/GroupedListBox.md +85 -14
  148. package/dist/ai/source/ListBox.md +11 -1
  149. package/dist/ai/source/OptionsContainer.md +29 -11
  150. package/dist/ai/source/WarningIcon.md +4 -3
  151. package/dist/assets/svgs/close.svg_raw.js +1 -1
  152. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
  153. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +35 -34
  154. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -0
  155. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +62 -43
  156. package/dist/components/BbAvatar/avatarIdentity.js +25 -0
  157. package/dist/components/BbAvatar/ptKeys.generated.d.ts +5 -1
  158. package/dist/components/BbAvatar/types.d.ts +24 -5
  159. package/dist/components/BbAvatar/types.js +5 -1
  160. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +24 -23
  161. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +66 -64
  162. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +141 -146
  163. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +100 -85
  164. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +1 -1
  165. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +240 -239
  166. package/dist/components/BbCalendar/useDayGrid.js +120 -123
  167. package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +503 -502
  168. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +4 -4
  169. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +126 -122
  170. package/dist/components/BbCheckboxGroup/types.d.ts +7 -11
  171. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +2 -0
  172. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +148 -141
  173. package/dist/components/BbColorInput/types.d.ts +7 -0
  174. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -0
  175. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +208 -196
  176. package/dist/components/BbColorPalette/types.d.ts +7 -0
  177. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +3 -1
  178. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +84 -73
  179. package/dist/components/BbDatePicker/types.d.ts +7 -0
  180. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -2
  181. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +496 -510
  182. package/dist/components/BbDatePickerInput/types.d.ts +7 -0
  183. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +219 -211
  184. package/dist/components/BbDialog/leaveGhost.js +22 -17
  185. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +106 -100
  186. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -0
  187. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +416 -369
  188. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +404 -354
  189. package/dist/components/BbDropdown/DropdownFailures.vue.js +4 -0
  190. package/dist/components/BbDropdown/DropdownFailures.vue_vue_type_script_setup_true_lang.js +24 -0
  191. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +117 -102
  192. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +67 -38
  193. package/dist/components/BbDropdown/normalizeGroups.js +6 -2
  194. package/dist/components/BbDropdown/ptKeys.generated.d.ts +44 -20
  195. package/dist/components/BbDropdown/types.d.ts +109 -87
  196. package/dist/components/BbDropdown/types.js +3 -0
  197. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +3 -1
  198. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +101 -65
  199. package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +153 -57
  200. package/dist/components/BbDropdownButton/types.d.ts +23 -10
  201. package/dist/components/BbDropdownButton/types.js +4 -0
  202. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
  203. package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +335 -312
  204. package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +7 -1
  205. package/dist/components/BbIcon/iconCache.js +1 -1
  206. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
  207. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +9 -5
  208. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +152 -144
  209. package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -2
  210. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +138 -136
  211. package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
  212. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -4
  213. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +108 -104
  214. package/dist/components/BbRadioGroup/types.d.ts +4 -7
  215. package/dist/components/BbRating/BbRating.vue.d.ts +1 -1
  216. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +100 -99
  217. package/dist/components/BbSelect/BbSelect.vue.d.ts +32 -20
  218. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +217 -196
  219. package/dist/components/BbSelect/ptKeys.generated.d.ts +128 -96
  220. package/dist/components/BbSelect/types.d.ts +110 -111
  221. package/dist/components/BbSelect/types.js +1 -27
  222. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +8 -3
  223. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +728 -653
  224. package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +22 -10
  225. package/dist/components/BbSelectPopover/types.d.ts +32 -17
  226. package/dist/components/BbSelectPopover/types.js +3 -1
  227. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
  228. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +159 -155
  229. package/dist/components/BbSwitchGroup/types.d.ts +3 -6
  230. package/dist/components/BbTable/BbTable.vue.d.ts +2 -4
  231. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1171 -1152
  232. package/dist/components/BbTable/BbTableDataRow.js +97 -90
  233. package/dist/components/BbTable/types.d.ts +11 -10
  234. package/dist/components/BbTabs/BbTabs.vue.d.ts +3 -3
  235. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +4 -2
  236. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +145 -134
  237. package/dist/components/BbTimePicker/types.d.ts +7 -0
  238. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +4 -2
  239. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +290 -280
  240. package/dist/components/BbTimePickerInput/types.d.ts +7 -0
  241. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +79 -78
  242. package/dist/components/BbToast/types.d.ts +2 -2
  243. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +56 -46
  244. package/dist/components/BbTree/types.d.ts +1 -1
  245. package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +9 -8
  246. package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
  247. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +9 -7
  248. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +13 -1
  249. package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  250. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +122 -102
  251. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +182 -153
  252. package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +7 -4
  253. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +86 -77
  254. package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  255. package/dist/composables/useInternalIcon.js +25 -0
  256. package/dist/composables/useItemsGetter.js +34 -32
  257. package/dist/composables/useOpenModel.js +20 -0
  258. package/dist/deprecation/ai-deprecations.json.js +1 -1
  259. package/dist/i18n/locales/ar.json +2 -0
  260. package/dist/i18n/locales/cs.json +2 -0
  261. package/dist/i18n/locales/da.json +2 -0
  262. package/dist/i18n/locales/de-CH.json +2 -0
  263. package/dist/i18n/locales/de.json +2 -0
  264. package/dist/i18n/locales/el.json +2 -0
  265. package/dist/i18n/locales/en-GB.json +2 -0
  266. package/dist/i18n/locales/en.json +2 -0
  267. package/dist/i18n/locales/es-MX.json +2 -0
  268. package/dist/i18n/locales/es.json +2 -0
  269. package/dist/i18n/locales/fa.json +2 -0
  270. package/dist/i18n/locales/fi.json +2 -0
  271. package/dist/i18n/locales/fr.json +2 -0
  272. package/dist/i18n/locales/he.json +2 -0
  273. package/dist/i18n/locales/hu.json +2 -0
  274. package/dist/i18n/locales/it.json +2 -0
  275. package/dist/i18n/locales/ja.json +2 -0
  276. package/dist/i18n/locales/ko.json +2 -0
  277. package/dist/i18n/locales/nb.json +2 -0
  278. package/dist/i18n/locales/nl.json +2 -0
  279. package/dist/i18n/locales/pl.json +2 -0
  280. package/dist/i18n/locales/pt-BR.json +2 -0
  281. package/dist/i18n/locales/pt-PT.json +2 -0
  282. package/dist/i18n/locales/ro.json +2 -0
  283. package/dist/i18n/locales/ru.json +2 -0
  284. package/dist/i18n/locales/sv.json +2 -0
  285. package/dist/i18n/locales/tr.json +2 -0
  286. package/dist/i18n/locales/uk.json +2 -0
  287. package/dist/i18n/locales/zh-CN.json +2 -0
  288. package/dist/i18n/locales/zh-HK.json +2 -0
  289. package/dist/i18n/locales/zh-TW.json +2 -0
  290. package/dist/icon-scan.d.ts +1 -1
  291. package/dist/icon-scan.js +68 -61
  292. package/dist/index.d.ts +2 -2
  293. package/dist/llms-full.txt +1038 -451
  294. package/dist/llms-medium.txt +33 -28
  295. package/dist/llms.txt +2 -2
  296. package/dist/locale-blueprint.json +2 -0
  297. package/dist/nuxt.js +1 -1
  298. package/dist/styles.css +2 -2
  299. package/dist/types/ActionButton.d.ts +2 -3
  300. package/dist/types/Config.d.ts +8 -1
  301. package/dist/types/ConfigDefaults.d.ts +10 -2
  302. package/dist/types/Option.d.ts +10 -0
  303. package/dist/types/internalIcons.d.ts +89 -0
  304. package/dist/types/internalIcons.js +158 -0
  305. package/dist/types/ptComponentMap.d.ts +5 -5
  306. package/dist/utilities/functions/slotContent.js +19 -0
  307. package/dist/utils/configDefaults.js +75 -64
  308. package/dist/utils/iconsOption.js +48 -0
  309. package/dist/utils/loadRetry.js +8 -0
  310. package/dist/utils/versionCheck.js +1 -1
  311. package/dist/vite-plugin.d.ts +10 -16
  312. package/dist/vite.js +323 -307
  313. package/llms.txt +2 -2
  314. package/package.json +3 -1
  315. package/scripts/README.md +2 -0
  316. package/scripts/lib/adoption-checklist.json +1 -1
  317. package/scripts/lib/agent-setup.mjs +44 -26
  318. package/scripts/lib/update-install.mjs +48 -0
  319. package/scripts/lib/validate-bb-markup.mjs +93 -12
  320. package/dist/ai/manifest/components/BbAvatar.removed.json +0 -6
  321. package/dist/assets/svgs/caret_down.svg_raw.js +0 -3
@@ -42,13 +42,25 @@ export interface BbSelectPopoverPtKeys {
42
42
  */
43
43
  'pt:clear:open'?: PtValue;
44
44
  /**
45
- * The `role="listbox"` node that holds the options. Virtualised: its height is written inline and its rows are positioned by the list, which limits what a layout utility can do there. The listbox's groups and the chips are not parts.
45
+ * The `role="listbox"` node holding the options. Virtualised: the list writes its height and places its rows, which limits layout utilities there. A group's box and the chips are not parts.
46
46
  */
47
47
  'pt:list'?: PtValue;
48
48
  /**
49
- * The `role="listbox"` node that holds the options. While `open`: the options surface is showing. See `pt:list`.
49
+ * The `role="listbox"` node holding the options. While `open`: the options surface is showing. See `pt:list`.
50
50
  */
51
51
  'pt:list:open'?: PtValue;
52
+ /**
53
+ * Every `groupBy` heading (sticky). `#group` replaces its content.
54
+ */
55
+ 'pt:groupHeader'?: PtValue;
56
+ /**
57
+ * Every `groupBy` heading (sticky). While `disabled`: an option that is disabled; on `groupHeader`: every option of its group is. See `pt:groupHeader`.
58
+ */
59
+ 'pt:groupHeader:disabled'?: PtValue;
60
+ /**
61
+ * Every `groupBy` heading (sticky). While `open`: the options surface is showing. See `pt:groupHeader`.
62
+ */
63
+ 'pt:groupHeader:open'?: PtValue;
52
64
  /**
53
65
  * One listbox option — a broadcast resolved per option. Also takes a per-item function, called with the option's raw item.
54
66
  */
@@ -58,7 +70,7 @@ export interface BbSelectPopoverPtKeys {
58
70
  */
59
71
  'pt:option:selected'?: PtValue;
60
72
  /**
61
- * One listbox option — a broadcast resolved per option. While `disabled`: an option that is disabled. See `pt:option`.
73
+ * One listbox option — a broadcast resolved per option. While `disabled`: an option that is disabled; on `groupHeader`: every option of its group is. See `pt:option`.
62
74
  */
63
75
  'pt:option:disabled'?: PtValue;
64
76
  /**
@@ -74,7 +86,7 @@ export interface BbSelectPopoverPtKeys {
74
86
  */
75
87
  'pt:itemText:selected'?: PtValue;
76
88
  /**
77
- * An option's label — resolved with that option's states. While `disabled`: an option that is disabled. See `pt:itemText`.
89
+ * An option's label — resolved with that option's states. While `disabled`: an option that is disabled; on `groupHeader`: every option of its group is. See `pt:itemText`.
78
90
  */
79
91
  'pt:itemText:disabled'?: PtValue;
80
92
  /**
@@ -90,7 +102,7 @@ export interface BbSelectPopoverPtKeys {
90
102
  */
91
103
  'pt:itemIcon:selected'?: PtValue;
92
104
  /**
93
- * An option's prepend / append icons (`itemProps`) — resolved with that option's states. While `disabled`: an option that is disabled. See `pt:itemIcon`.
105
+ * An option's prepend / append icons (`itemProps`) — resolved with that option's states. While `disabled`: an option that is disabled; on `groupHeader`: every option of its group is. See `pt:itemIcon`.
94
106
  */
95
107
  'pt:itemIcon:disabled'?: PtValue;
96
108
  /**
@@ -106,7 +118,7 @@ export interface BbSelectPopoverPtKeys {
106
118
  */
107
119
  'pt:itemDescription:selected'?: PtValue;
108
120
  /**
109
- * An option's second line (its description) — resolved with that option's states. While `disabled`: an option that is disabled. See `pt:itemDescription`.
121
+ * An option's second line (its description) — resolved with that option's states. While `disabled`: an option that is disabled; on `groupHeader`: every option of its group is. See `pt:itemDescription`.
110
122
  */
111
123
  'pt:itemDescription:disabled'?: PtValue;
112
124
  /**
@@ -114,19 +126,19 @@ export interface BbSelectPopoverPtKeys {
114
126
  */
115
127
  'pt:itemDescription:open'?: PtValue;
116
128
  /**
117
- * The tick on the chosen option, at the row's end — mounted on every option and drawn on the chosen ones; a custom `#option` slot keeps it. `pt:check="hidden"` removes it and leaves a glyph your slot draws alone. Also takes a per-item function.
129
+ * The tick at a chosen option's end (on every option, drawn on the chosen). A custom `#option` slot keeps it; `pt:check="hidden"` removes it, sparing your slot's glyph. Also takes a per-item function.
118
130
  */
119
131
  'pt:check'?: unknown;
120
132
  /**
121
- * The tick on the chosen option, at the row's end — mounted on every option and drawn on the chosen ones; a custom `#option` slot keeps it. While `selected`: a chosen option. See `pt:check`.
133
+ * The tick at a chosen option's end (on every option, drawn on the chosen). While `selected`: a chosen option. See `pt:check`.
122
134
  */
123
135
  'pt:check:selected'?: PtValue;
124
136
  /**
125
- * The tick on the chosen option, at the row's end — mounted on every option and drawn on the chosen ones; a custom `#option` slot keeps it. While `disabled`: an option that is disabled. See `pt:check`.
137
+ * The tick at a chosen option's end (on every option, drawn on the chosen). While `disabled`: an option that is disabled; on `groupHeader`: every option of its group is. See `pt:check`.
126
138
  */
127
139
  'pt:check:disabled'?: PtValue;
128
140
  /**
129
- * The tick on the chosen option, at the row's end — mounted on every option and drawn on the chosen ones; a custom `#option` slot keeps it. While `open`: the options surface is showing. See `pt:check`.
141
+ * The tick at a chosen option's end (on every option, drawn on the chosen). While `open`: the options surface is showing. See `pt:check`.
130
142
  */
131
143
  'pt:check:open'?: PtValue;
132
144
  /**
@@ -76,10 +76,11 @@ export type BbSelectResolvedOption<Item = any> = {
76
76
  * `BbOffCanvas` root) — never the desktop surface. Applied after `panel`, so it wins a conflict there.
77
77
  * @part input - The search field.
78
78
  * @part clear - The ✕ that empties the search field.
79
- * @part list - The `role="listbox"` node that holds the options. Virtualised:
80
- * its height is written inline and its rows are positioned by the list,
81
- * which limits what a layout utility can do there. The listbox's groups and
82
- * the chips are not parts.
79
+ * @part list - The `role="listbox"` node holding the options. Virtualised:
80
+ * the list writes its height and places its rows, which limits layout
81
+ * utilities there. A group's box and the chips are not parts.
82
+ * @part groupHeader - Every `groupBy` heading (sticky). `#group` replaces its
83
+ * content.
83
84
  * @part option - One listbox option — a broadcast resolved per option. Also
84
85
  * takes a per-item function, called with the option's raw item.
85
86
  * @part itemText - An option's label — resolved with that option's states. A
@@ -89,16 +90,15 @@ export type BbSelectResolvedOption<Item = any> = {
89
90
  * @part itemDescription - An option's second line (its description) —
90
91
  * resolved with that option's states. A custom `#option` slot replaces it.
91
92
  * Also takes a per-item function.
92
- * @part check - The tick on the chosen option, at the row's end — mounted on
93
- * every option and drawn on the chosen ones; a custom `#option` slot keeps
94
- * it. `pt:check="hidden"` removes it and leaves a glyph your slot draws
95
- * alone. Also takes a per-item function.
93
+ * @part check - The tick at a chosen option's end (on every option, drawn on
94
+ * the chosen). A custom `#option` slot keeps it; `pt:check="hidden"`
95
+ * removes it, sparing your slot's glyph. Also takes a per-item function.
96
96
  * @part header - The flyout's header band.
97
97
  * @part footer - The flyout's footer band.
98
98
  */
99
- export type BbSelectPopoverPtPart = 'root' | 'panel' | 'sheet' | 'input' | 'clear' | 'list' | 'option' | 'itemText' | 'itemIcon' | 'itemDescription' | 'check' | 'header' | 'footer';
99
+ export type BbSelectPopoverPtPart = 'root' | 'panel' | 'sheet' | 'input' | 'clear' | 'list' | 'groupHeader' | 'option' | 'itemText' | 'itemIcon' | 'itemDescription' | 'check' | 'header' | 'footer';
100
100
  /** The surface parts — they take a `PtValue` only. Spelled flat (T20). */
101
- export type BbSelectPopoverSurfacePtPart = 'root' | 'panel' | 'sheet' | 'input' | 'clear' | 'list' | 'header' | 'footer';
101
+ export type BbSelectPopoverSurfacePtPart = 'root' | 'panel' | 'sheet' | 'input' | 'clear' | 'list' | 'groupHeader' | 'header' | 'footer';
102
102
  /** The option parts — broadcasts resolved per option; their base key also takes a per-item function. Spelled flat (T20). */
103
103
  export type BbSelectPopoverOptionPtPart = 'option' | 'itemText' | 'itemIcon' | 'itemDescription' | 'check';
104
104
  /**
@@ -107,7 +107,7 @@ export type BbSelectPopoverOptionPtPart = 'option' | 'itemText' | 'itemIcon' | '
107
107
  * @state selected - Per node, on `option`, its `item-*` parts and `check`: a
108
108
  * chosen option.
109
109
  * @state disabled - Per node, on `option`, its `item-*` parts and `check`: an
110
- * option that is disabled.
110
+ * option that is disabled; on `groupHeader`: every option of its group is.
111
111
  * @state open - Component-wide: the options surface is showing.
112
112
  */
113
113
  export type BbSelectPopoverPtState = 'open' | 'selected' | 'disabled';
@@ -115,10 +115,10 @@ export type BbSelectPopoverPtState = 'open' | 'selected' | 'disabled';
115
115
  * Every `part` / `part:state` key of `BbSelectPopover` — only the pairs that
116
116
  * land: `open` everywhere, an option's `selected` / `disabled` on its parts.
117
117
  */
118
- export type BbSelectPopoverPtKey = BbSelectPopoverPtPart | `${BbSelectPopoverPtPart}:open` | `${BbSelectPopoverOptionPtPart}:${'selected' | 'disabled'}`;
118
+ export type BbSelectPopoverPtKey = BbSelectPopoverPtPart | `${BbSelectPopoverPtPart}:open` | `${BbSelectPopoverOptionPtPart}:${'selected' | 'disabled'}` | 'groupHeader:disabled';
119
119
  /** The runtime lists the resolver is wired with — kept next to the types so the two cannot drift. */
120
120
  export declare const BB_SELECT_POPOVER_PT: {
121
- readonly parts: readonly ["root", "panel", "sheet", "input", "clear", "list", "option", "itemText", "itemIcon", "itemDescription", "check", "header", "footer"];
121
+ readonly parts: readonly ["root", "panel", "sheet", "input", "clear", "list", "groupHeader", "option", "itemText", "itemIcon", "itemDescription", "check", "header", "footer"];
122
122
  readonly states: readonly ["selected", "disabled", "open"];
123
123
  /** On every part: what the resolver's `active` map turns on. */
124
124
  readonly wide: readonly ["open"];
@@ -129,6 +129,7 @@ export declare const BB_SELECT_POPOVER_PT: {
129
129
  readonly itemIcon: readonly ["selected", "disabled"];
130
130
  readonly itemDescription: readonly ["selected", "disabled"];
131
131
  readonly check: readonly ["selected", "disabled"];
132
+ readonly groupHeader: readonly ["disabled"];
132
133
  };
133
134
  };
134
135
  /**
@@ -141,6 +142,17 @@ type BbSelectPopoverPtProps = /* @vue-ignore */ PtCompoundProps<typeof BB_SELECT
141
142
  export type BbSelectPopoverProps<Item, Known extends BbSelectKnownItems | undefined = BbSelectKnownItems> = BbSelectPopoverPtProps & {
142
143
  [K in `pt:${BbSelectPopoverOptionPtPart}`]?: PtValue | ((ctx: PtItemCtx<PtNoInfer<Item>, BbSelectPopoverPtState, never, BbSelectSlotRow<PtNoInfer<Item>, PtNoInfer<Known>>>) => PtItemResult);
143
144
  } & {
145
+ /**
146
+ * Whether the panel is open (`v-model:open`; `v-model` stays the value).
147
+ * Bound, the app opens and closes it; unbound, the initial state.
148
+ */
149
+ open?: boolean;
150
+ /**
151
+ * The search field's text (`v-model:query`): raw per keystroke, `''`
152
+ * when the component empties it; a write searches at once (guide §
153
+ * Reading and restoring the search).
154
+ */
155
+ query?: string;
144
156
  /**
145
157
  * Passthrough, object form: the same keys as the `pt:*` attributes
146
158
  * without the prefix. See the `pt:<part>` row.
@@ -454,6 +466,10 @@ export type BbSelectPopoverEvents<V = any> = {
454
466
  (e: 'shown'): void;
455
467
  /** Emitted as soon as the options surface starts to close. */
456
468
  (e: 'hide'): void;
469
+ /** The panel opened or closed (`v-model:open`). */
470
+ (e: 'update:open', value: boolean): void;
471
+ /** `v-model:query`: the search field's text. */
472
+ (e: 'update:query', value: string): void;
457
473
  /** Emitted once the options surface has finished closing. */
458
474
  (e: 'hidden'): void;
459
475
  /**
@@ -614,15 +630,14 @@ export type BbSelectPopoverSlots<Item, Known extends BbSelectKnownItems | undefi
614
630
  }) => any;
615
631
  /**
616
632
  * Content shown when no options match the query or the list is empty.
617
- * `error` is what the latest failed load threw, untouched (`null` when
618
- * none). `close()` closes the panel, for an action that does not move
619
- * focus out of it.
633
+ * Empty only: a failed load shows the library's failure row instead (its
634
+ * message is `failed-text`, and it ends with "Try again"). `close()` closes
635
+ * the panel, for an action that does not move focus out of it.
620
636
  */
621
637
  empty?: (props: {
622
638
  query: string;
623
639
  focus: () => void;
624
640
  close: () => Promise<void>;
625
- error: unknown;
626
641
  }) => any;
627
642
  /**
628
643
  * Replaces the default rendering of each option row in the dropdown. With
@@ -7,6 +7,7 @@ var e = {
7
7
  "input",
8
8
  "clear",
9
9
  "list",
10
+ "groupHeader",
10
11
  "option",
11
12
  "itemText",
12
13
  "itemIcon",
@@ -26,7 +27,8 @@ var e = {
26
27
  itemText: ["selected", "disabled"],
27
28
  itemIcon: ["selected", "disabled"],
28
29
  itemDescription: ["selected", "disabled"],
29
- check: ["selected", "disabled"]
30
+ check: ["selected", "disabled"],
31
+ groupHeader: ["disabled"]
30
32
  }
31
33
  };
32
34
  export { e as BB_SELECT_POPOVER_PT };
@@ -73,7 +73,7 @@ declare const __VLS_export: <const T = any, A extends string | ((...args: never[
73
73
  itemValue?: ItemKeyInput<T, A> | ItemGetter<T, any>;
74
74
  itemText?: ItemKeyInput<T, Tx> | ItemGetter<T, string>;
75
75
  multiple?: MultipleInput<M, true>;
76
- } & Omit<import('vue').HTMLAttributes, "legend" | "reverse" | `pt:${string}&${string}` | "readonly" | "disabled" | "warnings" | "errors" | "description" | "hint" | "pt" | "block" | "onClick" | "dependencies" | "compact" | "layout" | "inputPosition" | "listLayout" | "itemLayout" | "itemReverse" | "modelValue" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "name" | "persistentHint" | keyof import('../../composables/useFormBinding.js').FormFieldProps<any> | "depsDebounceTime" | "enforceCoherence" | "hideLegend" | "items" | "itemText" | "itemValue" | "itemProps" | "itemLabelAlign" | "itemInputAlign" | "legendPosition" | "legendMode" | "loadingText" | "max" | "multiple" | "modelValueDebounceTime" | "emptyText" | "failedText" | "selectable" | keyof import('./ptKeys.generated.js').BbSwitchGroupPtKeys | "onFocus" | "onBlur" | "onChange" | "onInput" | "onKeydown" | "onMousedown" | "onMouseup"> & {}) & {
76
+ } & Omit<import('vue').HTMLAttributes, "legend" | "reverse" | `pt:${string}&${string}` | "readonly" | "disabled" | "warnings" | "errors" | "description" | "hint" | "pt" | "block" | "onClick" | "dependencies" | "compact" | "layout" | "inputPosition" | "listLayout" | "itemLayout" | "itemReverse" | "modelValue" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "name" | "persistentHint" | "multiple" | "max" | "selectable" | "itemText" | "enforceCoherence" | "items" | "loadingText" | "emptyText" | "failedText" | "hideLegend" | "legendMode" | "legendPosition" | "depsDebounceTime" | "itemProps" | "itemValue" | "modelValueDebounceTime" | keyof import('../../composables/useFormBinding.js').FormFieldProps<any> | "itemLabelAlign" | "itemInputAlign" | keyof import('./ptKeys.generated.js').BbSwitchGroupPtKeys | "onFocus" | "onBlur" | "onChange" | "onInput" | "onKeydown" | "onMousedown" | "onMouseup"> & {}) & {
77
77
  onActive?: (() => any) | undefined;
78
78
  onInput?: ((event: Event) => any) | undefined;
79
79
  "onUpdate:modelValue"?: ((value: SelectModelOf<OptionValueOf<T, A>, M>) => any) | undefined;