bitboss-ui 3.0.0-beta.2 → 3.0.0-beta.21

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 (350) hide show
  1. package/README.md +72 -33
  2. package/dist/ai/BbAccordion.md +3 -3
  3. package/dist/ai/BbAlert.md +9 -5
  4. package/dist/ai/BbAsterisk.md +17 -0
  5. package/dist/ai/BbAvatar.md +12 -3
  6. package/dist/ai/BbBadge.md +15 -10
  7. package/dist/ai/BbBadgeButton.md +16 -16
  8. package/dist/ai/BbBaseButton.md +16 -16
  9. package/dist/ai/BbBaseCheckbox.md +8 -8
  10. package/dist/ai/BbBaseCheckboxGroup.md +13 -13
  11. package/dist/ai/BbBaseCheckboxIcon.md +26 -9
  12. package/dist/ai/BbBaseColorInput.md +11 -11
  13. package/dist/ai/BbBaseDatePicker.md +6 -6
  14. package/dist/ai/BbBaseDatePickerInput.md +15 -15
  15. package/dist/ai/BbBaseInputContainer.md +12 -12
  16. package/dist/ai/BbBaseNumberInput.md +8 -8
  17. package/dist/ai/BbBaseRadio.md +5 -5
  18. package/dist/ai/BbBaseRadioGroup.md +7 -7
  19. package/dist/ai/BbBaseRadioIcon.md +25 -9
  20. package/dist/ai/BbBaseRating.md +5 -5
  21. package/dist/ai/BbBaseSelect.md +22 -21
  22. package/dist/ai/BbBaseSlider.md +9 -9
  23. package/dist/ai/BbBaseSwitch.md +8 -8
  24. package/dist/ai/BbBaseSwitchGroup.md +13 -13
  25. package/dist/ai/BbBaseSwitchIcon.md +28 -10
  26. package/dist/ai/BbBaseTag.md +10 -10
  27. package/dist/ai/BbBaseTextInput.md +9 -9
  28. package/dist/ai/BbBaseTextarea.md +9 -9
  29. package/dist/ai/BbBaseTimePickerInput.md +13 -13
  30. package/dist/ai/BbBreadcrumbs.md +2 -2
  31. package/dist/ai/BbButton.md +15 -15
  32. package/dist/ai/BbCheckbox.md +18 -17
  33. package/dist/ai/BbCheckboxGroup.md +15 -14
  34. package/dist/ai/BbCollapsible.md +11 -9
  35. package/dist/ai/BbColorInput.md +15 -15
  36. package/dist/ai/BbColorPalette.md +12 -6
  37. package/dist/ai/BbConfirm.md +12 -5
  38. package/dist/ai/BbDatePicker.md +13 -13
  39. package/dist/ai/BbDatePickerInput.md +20 -20
  40. package/dist/ai/BbDialog.md +78 -12
  41. package/dist/ai/BbDropdown.md +132 -22
  42. package/dist/ai/BbDropdownButton.md +12 -12
  43. package/dist/ai/BbDropdownGroup.md +1 -1
  44. package/dist/ai/BbDropzone.md +4 -4
  45. package/dist/ai/BbForm.md +49 -14
  46. package/dist/ai/BbIcon.md +6 -0
  47. package/dist/ai/BbIndicator.md +5 -5
  48. package/dist/ai/BbNumberInput.md +11 -11
  49. package/dist/ai/BbOffCanvas.md +90 -20
  50. package/dist/ai/BbPagination.md +3 -3
  51. package/dist/ai/BbPopover.md +32 -17
  52. package/dist/ai/BbProgress.md +7 -4
  53. package/dist/ai/BbRadio.md +16 -15
  54. package/dist/ai/BbRadioGroup.md +20 -17
  55. package/dist/ai/BbRating.md +11 -11
  56. package/dist/ai/BbSelect.md +138 -37
  57. package/dist/ai/BbSelectPopover.md +40 -41
  58. package/dist/ai/BbSlider.md +37 -22
  59. package/dist/ai/BbSmoothHeight.md +1 -1
  60. package/dist/ai/BbSwitch.md +25 -10
  61. package/dist/ai/BbSwitchGroup.md +17 -14
  62. package/dist/ai/BbTable.md +920 -109
  63. package/dist/ai/BbTabs.md +28 -14
  64. package/dist/ai/BbTabsList.md +1 -1
  65. package/dist/ai/BbTabsPanes.md +1 -1
  66. package/dist/ai/BbTabsRoot.md +10 -10
  67. package/dist/ai/BbTag.md +14 -14
  68. package/dist/ai/BbTextInput.md +16 -15
  69. package/dist/ai/BbTextarea.md +13 -13
  70. package/dist/ai/BbTimePicker.md +10 -10
  71. package/dist/ai/BbTimePickerInput.md +17 -17
  72. package/dist/ai/BbToast.md +1 -1
  73. package/dist/ai/BbToastPortal.md +1 -1
  74. package/dist/ai/BbTooltip.md +12 -10
  75. package/dist/ai/BbTree.md +1 -1
  76. package/dist/ai/ChipsBox.md +1 -1
  77. package/dist/ai/CommonInputWrapper.md +10 -10
  78. package/dist/ai/CommonPopover.md +6 -6
  79. package/dist/ai/FlatListBox.md +5 -5
  80. package/dist/ai/GroupedListBox.md +5 -5
  81. package/dist/ai/ListBox.md +4 -4
  82. package/dist/ai/OptionsContainer.md +4 -4
  83. package/dist/ai/changelog.json +128 -2
  84. package/dist/ai/components.json +917 -100
  85. package/dist/ai/composables/useBbConfig.md +72 -11
  86. package/dist/ai/composables/useConfirm.md +5 -3
  87. package/dist/ai/guides/ai-router.md +9 -4
  88. package/dist/ai/guides/component-picker.md +18 -18
  89. package/dist/ai/guides/design-language.md +14 -14
  90. package/dist/ai/guides/design-tokens.md +25 -18
  91. package/dist/ai/guides/fetch-items-playbook.md +1 -1
  92. package/dist/ai/guides/icons-policy.md +11 -5
  93. package/dist/ai/guides/installation-and-plugin-setup.md +85 -23
  94. package/dist/ai/guides/migration/components/bb-checkbox-group.md +30 -0
  95. package/dist/ai/guides/migration/components/bb-checkbox.md +37 -3
  96. package/dist/ai/guides/migration/components/bb-collapsible.md +5 -5
  97. package/dist/ai/guides/migration/components/bb-dialog.md +62 -34
  98. package/dist/ai/guides/migration/components/bb-offcanvas.md +29 -13
  99. package/dist/ai/guides/migration/components/bb-rating.md +8 -2
  100. package/dist/ai/guides/migration/components/bb-select.md +5 -2
  101. package/dist/ai/guides/migration/components/bb-table.md +560 -28
  102. package/dist/ai/guides/migration/components/bb-text-input.md +6 -6
  103. package/dist/ai/guides/migration/v2-to-v3.md +260 -89
  104. package/dist/ai/guides/ssr-prefill.md +120 -0
  105. package/dist/ai/index.md +10 -9
  106. package/dist/ai/recipes/inertia/approvals-inbox.md +0 -1
  107. package/dist/ai/recipes/inertia/inline-edit-workspace.md +0 -1
  108. package/dist/ai/recipes/inertia/layout-scaffold.md +5 -1
  109. package/dist/ai/recipes/inertia/ownership-atlas.md +49 -29
  110. package/dist/ai/recipes/inertia/record-form.md +0 -1
  111. package/dist/ai/recipes/inertia/records-workspace.md +26 -8
  112. package/dist/ai/recipes/inertia/upload-center.md +0 -1
  113. package/dist/ai/recipes/nuxt/approvals-inbox.md +0 -1
  114. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +0 -1
  115. package/dist/ai/recipes/nuxt/layout-scaffold.md +5 -1
  116. package/dist/ai/recipes/nuxt/record-form.md +0 -1
  117. package/dist/ai/recipes/nuxt/records-workspace.md +26 -8
  118. package/dist/ai/recipes/nuxt/upload-center.md +0 -1
  119. package/dist/ai/recipes/vue/approvals-inbox.md +0 -1
  120. package/dist/ai/recipes/vue/inline-edit-workspace.md +0 -1
  121. package/dist/ai/recipes/vue/layout-scaffold.md +5 -1
  122. package/dist/ai/recipes/vue/records-workspace.md +26 -8
  123. package/dist/ai/recipes/vue/upload-center.md +0 -1
  124. package/dist/ai/source/BbAlert.md +60 -2
  125. package/dist/ai/source/BbAvatar.md +3 -3
  126. package/dist/ai/source/BbBadge.md +60 -15
  127. package/dist/ai/source/BbBadgeButton.md +8 -2
  128. package/dist/ai/source/BbBaseButton.md +3 -1
  129. package/dist/ai/source/BbBaseCheckboxGroup.md +6 -2
  130. package/dist/ai/source/BbBaseDatePicker.md +3 -1
  131. package/dist/ai/source/BbBaseDatePickerInput.md +5 -1
  132. package/dist/ai/source/BbBaseInputContainer.md +52 -1
  133. package/dist/ai/source/BbBaseRadioGroup.md +4 -0
  134. package/dist/ai/source/BbBaseRating.md +3 -1
  135. package/dist/ai/source/BbBaseSelect.md +71 -16
  136. package/dist/ai/source/BbBaseSwitchGroup.md +4 -0
  137. package/dist/ai/source/BbBaseTimePickerInput.md +5 -1
  138. package/dist/ai/source/BbBreadcrumbs.md +31 -0
  139. package/dist/ai/source/BbButton.md +51 -24
  140. package/dist/ai/source/BbCheckbox.md +15 -1
  141. package/dist/ai/source/BbCheckboxGroup.md +2 -1
  142. package/dist/ai/source/BbCollapsible.md +7 -1
  143. package/dist/ai/source/BbColorInput.md +3 -4
  144. package/dist/ai/source/BbColorPalette.md +3 -4
  145. package/dist/ai/source/BbDatePicker.md +5 -1
  146. package/dist/ai/source/BbDatePickerInput.md +5 -1
  147. package/dist/ai/source/BbDialog.md +175 -19
  148. package/dist/ai/source/BbDropdown.md +376 -69
  149. package/dist/ai/source/BbDropdownGroup.md +330 -59
  150. package/dist/ai/source/BbForm.md +93 -5
  151. package/dist/ai/source/BbIcon.md +46 -36
  152. package/dist/ai/source/BbNumberInput.md +3 -4
  153. package/dist/ai/source/BbOffCanvas.md +474 -194
  154. package/dist/ai/source/BbPopover.md +24 -17
  155. package/dist/ai/source/BbProgress.md +2 -2
  156. package/dist/ai/source/BbRadio.md +15 -1
  157. package/dist/ai/source/BbRadioGroup.md +3 -1
  158. package/dist/ai/source/BbSelect.md +50 -2
  159. package/dist/ai/source/BbSelectPopover.md +171 -23
  160. package/dist/ai/source/BbSlider.md +3 -4
  161. package/dist/ai/source/BbSwitch.md +15 -1
  162. package/dist/ai/source/BbSwitchGroup.md +8 -5
  163. package/dist/ai/source/BbTable.md +5092 -1446
  164. package/dist/ai/source/BbTabs.md +6 -7
  165. package/dist/ai/source/BbTabsList.md +6 -7
  166. package/dist/ai/source/BbTabsPanes.md +6 -7
  167. package/dist/ai/source/BbTabsRoot.md +6 -7
  168. package/dist/ai/source/BbTag.md +3 -4
  169. package/dist/ai/source/BbTextInput.md +3 -4
  170. package/dist/ai/source/BbTextarea.md +3 -4
  171. package/dist/ai/source/BbTimePicker.md +4 -1
  172. package/dist/ai/source/BbTimePickerInput.md +5 -1
  173. package/dist/ai/source/BbToast.md +3 -1
  174. package/dist/ai/source/BbTooltip.md +5 -1
  175. package/dist/ai/source/CommonInputWrapper.md +4 -0
  176. package/dist/ai/source/CommonPopover.md +6 -0
  177. package/dist/ai/source/FlatListBox.md +11 -5
  178. package/dist/ai/source/GroupedListBox.md +7 -5
  179. package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +4 -4
  180. package/dist/components/BbAlert/types.d.ts +10 -1
  181. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
  182. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +33 -33
  183. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +22 -16
  184. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +36 -15
  185. package/dist/components/BbBadge/badgeButtonContext.d.ts +21 -8
  186. package/dist/components/BbBadge/types.d.ts +8 -2
  187. package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +47 -47
  188. package/dist/components/BbBaseButton/RouterComponent.vue_vue_type_script_setup_true_lang.js +14 -14
  189. package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue_vue_type_script_setup_true_lang.js +30 -28
  190. package/dist/components/BbBaseCheckboxGroup/types.d.ts +2 -2
  191. package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue_vue_type_script_setup_true_lang.js +167 -167
  192. package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue.d.ts +9 -9
  193. package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue_vue_type_script_setup_true_lang.js +78 -78
  194. package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue_vue_type_script_setup_true_lang.js +64 -64
  195. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue.d.ts +1 -1
  196. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue_vue_type_script_setup_true_lang.js +138 -138
  197. package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue_vue_type_script_setup_true_lang.js +2 -2
  198. package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue_vue_type_script_setup_true_lang.js +24 -22
  199. package/dist/components/BbBaseRating/BbBaseRating.vue_vue_type_script_setup_true_lang.js +40 -40
  200. package/dist/components/BbBaseSelect/BbBaseSelect.vue_vue_type_script_setup_true_lang.js +74 -65
  201. package/dist/components/BbBaseSelect/types.d.ts +22 -0
  202. package/dist/components/BbBaseSlider/BbBaseSlider.vue_vue_type_script_setup_true_lang.js +5 -5
  203. package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue_vue_type_script_setup_true_lang.js +30 -28
  204. package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue.d.ts +1 -1
  205. package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue_vue_type_script_setup_true_lang.js +104 -104
  206. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +35 -35
  207. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +85 -81
  208. package/dist/components/BbCheckboxGroup/types.d.ts +2 -1
  209. package/dist/components/BbCollapsible/types.d.ts +7 -1
  210. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +1 -1
  211. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +18 -18
  212. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
  213. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +50 -50
  214. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +17 -17
  215. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +1 -1
  216. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +100 -100
  217. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +21 -21
  218. package/dist/components/BbDialog/BbDialog.vue.d.ts +1 -1
  219. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +133 -107
  220. package/dist/components/BbDialog/types.d.ts +29 -2
  221. package/dist/components/BbDropdown/AdaptiveDropdown.vue.d.ts +2 -0
  222. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +99 -100
  223. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +2 -2
  224. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +208 -201
  225. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +225 -208
  226. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +21 -21
  227. package/dist/components/BbDropdown/types.d.ts +20 -5
  228. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +5 -5
  229. package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +46 -46
  230. package/dist/components/BbIcon/iconCache.d.ts +33 -0
  231. package/dist/components/BbIcon/iconCache.js +17 -0
  232. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
  233. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +15 -15
  234. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
  235. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +254 -208
  236. package/dist/components/BbOffCanvas/types.d.ts +30 -5
  237. package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
  238. package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
  239. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +149 -146
  240. package/dist/components/BbPopover/types.d.ts +3 -2
  241. package/dist/components/BbRadioGroup/types.d.ts +3 -1
  242. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +27 -23
  243. package/dist/components/BbSelect/types.d.ts +32 -0
  244. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +221 -213
  245. package/dist/components/BbSlider/BbSlider.vue.d.ts +1 -1
  246. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +20 -20
  247. package/dist/components/BbTable/BbTable.vue.d.ts +10 -4
  248. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1433 -600
  249. package/dist/components/BbTable/BbTableDataRow.d.ts +162 -0
  250. package/dist/components/BbTable/BbTableDataRow.js +136 -0
  251. package/dist/components/BbTable/BbTableExpandRow.d.ts +73 -0
  252. package/dist/components/BbTable/BbTableExpandRow.js +52 -0
  253. package/dist/components/BbTable/types.d.ts +324 -111
  254. package/dist/components/BbTable/utils.d.ts +92 -4
  255. package/dist/components/BbTable/utils.js +71 -36
  256. package/dist/components/BbTabs/types.d.ts +0 -8
  257. package/dist/components/BbTag/BbTag.vue.d.ts +1 -1
  258. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +18 -18
  259. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +1 -1
  260. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +18 -18
  261. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +1 -1
  262. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +54 -54
  263. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +1 -1
  264. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +80 -80
  265. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +61 -61
  266. package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +17 -17
  267. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +13 -13
  268. package/dist/components/BbTooltip/types.d.ts +5 -1
  269. package/dist/components/ChipsBox/ChipsBox.vue_vue_type_script_setup_true_lang.js +17 -17
  270. package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +5 -5
  271. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +2 -1
  272. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +83 -83
  273. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +56 -56
  274. package/dist/composables/useBaseOptions.js +30 -20
  275. package/dist/composables/useBbConfig.d.ts +27 -6
  276. package/dist/composables/useBbConfig.js +8 -2
  277. package/dist/composables/useConfig.d.ts +59 -0
  278. package/dist/composables/useConfig.js +9 -0
  279. package/dist/composables/useItemsGetter.d.ts +11 -0
  280. package/dist/composables/useItemsGetter.js +44 -18
  281. package/dist/composables/useLocale.js +10 -7
  282. package/dist/composables/useMobile.js +5 -5
  283. package/dist/composables/usePrefill.d.ts +21 -2
  284. package/dist/composables/usePrefill.js +25 -19
  285. package/dist/composables/useSsrState.d.ts +20 -0
  286. package/dist/composables/useSsrState.js +13 -0
  287. package/dist/composables/useTableWidthContext.d.ts +24 -4
  288. package/dist/composables/useTableWidthContext.js +31 -28
  289. package/dist/composables/useToast.js +5 -5
  290. package/dist/deprecation/ai-deprecations.json.d.ts +121 -11
  291. package/dist/deprecation/ai-deprecations.json.js +1 -1
  292. package/dist/directives/bbDropdown.d.ts +15 -4
  293. package/dist/directives/bbDropdown.js +31 -9
  294. package/dist/directives/createPopoverDirective.d.ts +62 -0
  295. package/dist/directives/createPopoverDirective.js +63 -23
  296. package/dist/i18n/locales/cs.json +4 -1
  297. package/dist/i18n/locales/da.json +4 -1
  298. package/dist/i18n/locales/de.json +4 -1
  299. package/dist/i18n/locales/el.json +4 -1
  300. package/dist/i18n/locales/en.json +4 -1
  301. package/dist/i18n/locales/es.json +4 -1
  302. package/dist/i18n/locales/fi.json +4 -1
  303. package/dist/i18n/locales/fr.json +4 -1
  304. package/dist/i18n/locales/hu.json +4 -1
  305. package/dist/i18n/locales/it.json +4 -1
  306. package/dist/i18n/locales/ja.json +4 -1
  307. package/dist/i18n/locales/ko.json +4 -1
  308. package/dist/i18n/locales/nb.json +4 -1
  309. package/dist/i18n/locales/nl.json +4 -1
  310. package/dist/i18n/locales/pl.json +4 -1
  311. package/dist/i18n/locales/pt.json +4 -1
  312. package/dist/i18n/locales/ro.json +4 -1
  313. package/dist/i18n/locales/ru.json +4 -1
  314. package/dist/i18n/locales/sv.json +4 -1
  315. package/dist/i18n/locales/tr.json +4 -1
  316. package/dist/i18n/locales/uk.json +4 -1
  317. package/dist/i18n/locales/zh-cn.json +4 -1
  318. package/dist/index.d.ts +7 -2
  319. package/dist/index.js +69 -67
  320. package/dist/llms-full.txt +3997 -1458
  321. package/dist/llms-medium.txt +140 -73
  322. package/dist/llms.txt +7 -6
  323. package/dist/locale-blueprint.json +4 -1
  324. package/dist/nuxt-auto-imports.d.ts +100 -0
  325. package/dist/nuxt-auto-imports.js +55 -0
  326. package/dist/nuxt-module.d.ts +22 -1
  327. package/dist/nuxt.js +22 -8
  328. package/dist/plugin.d.ts +10 -1
  329. package/dist/plugin.js +20 -19
  330. package/dist/runtime/nuxt-plugin.js +28 -21
  331. package/dist/styles.css +1 -1
  332. package/dist/utilities/misc/listboxMetrics.d.ts +3 -3
  333. package/dist/utilities/misc/listboxMetrics.js +2 -2
  334. package/dist/utilities/misc/ssrStateInjectionKey.d.ts +42 -0
  335. package/dist/utilities/misc/ssrStateInjectionKey.js +4 -0
  336. package/dist/validated/BbForm.vue_vue_type_script_setup_true_lang.js +45 -27
  337. package/dist/validated/BbSelect.vue.d.ts +2 -0
  338. package/dist/validated/BbSelect.vue_vue_type_script_setup_true_lang.js +1 -0
  339. package/dist/validated/useValidatedField.js +25 -23
  340. package/dist/vite.js +7 -3
  341. package/llms.txt +8 -7
  342. package/package.json +2 -2
  343. package/scripts/lib/eslint-plugin.d.ts +19 -1
  344. package/scripts/lib/eslint-plugin.mjs +155 -14
  345. package/scripts/lib/html-attributes.mjs +91 -0
  346. package/scripts/lib/validate-bb-markup.mjs +59 -11
  347. package/dist/assets/svgs/sort.svg_raw.js +0 -4
  348. package/dist/components/BbBadge/BadgeAppendIcon.vue.d.ts +0 -3
  349. package/dist/components/BbBadge/BadgeAppendIcon.vue.js +0 -5
  350. package/dist/components/BbBadge/BadgeAppendIcon.vue_vue_type_script_setup_true_lang.js +0 -22
@@ -109,6 +109,17 @@ declare const _default: [
109
109
  "kind": "manual"
110
110
  }
111
111
  },
112
+ {
113
+ "component": "BbCheckboxGroup",
114
+ "old": "color",
115
+ "new": null,
116
+ "since": "3.0.0-unreleased",
117
+ "silent": true,
118
+ "migration": "ai/guides/migration/components/bb-checkbox-group.md",
119
+ "fix": {
120
+ "kind": "manual"
121
+ }
122
+ },
112
123
  {
113
124
  "component": "BbCheckboxGroup",
114
125
  "old": "labelPosition",
@@ -269,17 +280,6 @@ declare const _default: [
269
280
  "kind": "manual"
270
281
  }
271
282
  },
272
- {
273
- "component": "BbDialog",
274
- "old": "description",
275
- "new": null,
276
- "since": "3.0.0-unreleased",
277
- "silent": true,
278
- "migration": "ai/guides/migration/components/bb-dialog.md",
279
- "fix": {
280
- "kind": "manual"
281
- }
282
- },
283
283
  {
284
284
  "component": "BbDialog",
285
285
  "old": "hideHeader",
@@ -368,6 +368,17 @@ declare const _default: [
368
368
  "kind": "invert"
369
369
  }
370
370
  },
371
+ {
372
+ "component": "BbDropdownButton",
373
+ "old": "theme",
374
+ "new": "variant",
375
+ "since": "3.0.0-unreleased",
376
+ "silent": true,
377
+ "migration": "ai/guides/migration/components/bb-dropdown-button.md",
378
+ "fix": {
379
+ "kind": "rename"
380
+ }
381
+ },
371
382
  {
372
383
  "component": "BbIcon",
373
384
  "old": "color",
@@ -390,6 +401,17 @@ declare const _default: [
390
401
  "kind": "rename"
391
402
  }
392
403
  },
404
+ {
405
+ "component": "BbOffCanvas",
406
+ "old": "compact",
407
+ "new": null,
408
+ "since": "3.0.0-unreleased",
409
+ "silent": true,
410
+ "migration": "ai/guides/migration/components/bb-offcanvas.md",
411
+ "fix": {
412
+ "kind": "manual"
413
+ }
414
+ },
393
415
  {
394
416
  "component": "BbOffCanvas",
395
417
  "old": "direction",
@@ -533,6 +555,28 @@ declare const _default: [
533
555
  "kind": "manual"
534
556
  }
535
557
  },
558
+ {
559
+ "component": "BbRadio",
560
+ "old": "color",
561
+ "new": null,
562
+ "since": "3.0.0-unreleased",
563
+ "silent": true,
564
+ "migration": "ai/guides/migration/components/bb-checkbox.md",
565
+ "fix": {
566
+ "kind": "manual"
567
+ }
568
+ },
569
+ {
570
+ "component": "BbRadioGroup",
571
+ "old": "color",
572
+ "new": null,
573
+ "since": "3.0.0-unreleased",
574
+ "silent": true,
575
+ "migration": "ai/guides/migration/components/bb-checkbox-group.md",
576
+ "fix": {
577
+ "kind": "manual"
578
+ }
579
+ },
536
580
  {
537
581
  "component": "BbRadioGroup",
538
582
  "old": "labelPosition",
@@ -682,6 +726,28 @@ declare const _default: [
682
726
  "kind": "manual"
683
727
  }
684
728
  },
729
+ {
730
+ "component": "BbSwitch",
731
+ "old": "color",
732
+ "new": null,
733
+ "since": "3.0.0-unreleased",
734
+ "silent": true,
735
+ "migration": "ai/guides/migration/components/bb-checkbox.md",
736
+ "fix": {
737
+ "kind": "manual"
738
+ }
739
+ },
740
+ {
741
+ "component": "BbSwitchGroup",
742
+ "old": "color",
743
+ "new": null,
744
+ "since": "3.0.0-unreleased",
745
+ "silent": true,
746
+ "migration": "ai/guides/migration/components/bb-checkbox-group.md",
747
+ "fix": {
748
+ "kind": "manual"
749
+ }
750
+ },
685
751
  {
686
752
  "component": "BbSwitchGroup",
687
753
  "old": "labelPosition",
@@ -748,6 +814,28 @@ declare const _default: [
748
814
  "kind": "rename"
749
815
  }
750
816
  },
817
+ {
818
+ "component": "BbTabsRoot",
819
+ "old": "animateX",
820
+ "new": "disableAnimateX",
821
+ "since": "3.0.0-unreleased",
822
+ "silent": true,
823
+ "migration": "ai/guides/migration/components/bb-tabs.md",
824
+ "fix": {
825
+ "kind": "invert"
826
+ }
827
+ },
828
+ {
829
+ "component": "BbTabsRoot",
830
+ "old": "animateY",
831
+ "new": "disableAnimateY",
832
+ "since": "3.0.0-unreleased",
833
+ "silent": true,
834
+ "migration": "ai/guides/migration/components/bb-tabs.md",
835
+ "fix": {
836
+ "kind": "invert"
837
+ }
838
+ },
751
839
  {
752
840
  "component": "BbTabsRoot",
753
841
  "old": "querykey",
@@ -843,6 +931,28 @@ declare const _default: [
843
931
  "fix": {
844
932
  "kind": "rename"
845
933
  }
934
+ },
935
+ {
936
+ "component": "BbTable",
937
+ "old": "actions",
938
+ "new": null,
939
+ "since": "3.0.0-beta.21",
940
+ "silent": true,
941
+ "migration": "ai/guides/migration/components/bb-table.md",
942
+ "fix": {
943
+ "kind": "remove"
944
+ }
945
+ },
946
+ {
947
+ "component": "BbTable",
948
+ "old": "fixedColumns",
949
+ "new": null,
950
+ "since": "3.0.0-beta.21",
951
+ "silent": true,
952
+ "migration": "ai/guides/migration/components/bb-table.md",
953
+ "fix": {
954
+ "kind": "manual"
955
+ }
846
956
  }
847
957
  ]
848
958
  ;
@@ -1,4 +1,4 @@
1
1
  //#region src/deprecation/ai-deprecations.json
2
- var e = /*#__PURE__*/ JSON.parse("[{\"component\":\"BbAlert\",\"old\":\"showClose\",\"new\":\"hideClose\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-alert.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbAlert\",\"old\":\"theme\",\"new\":\"variant\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-alert.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbAvatar\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-avatar.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbBadge\",\"old\":\"content\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-badge.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbButton\",\"old\":\"enabledWhileLoading\",\"new\":\"interactiveWhileLoading\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-button.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbButton\",\"old\":\"theme\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-button.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbButton\",\"old\":\"tooltip\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-button.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbButton\",\"old\":\"tooltipPlacement\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-button.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbButton\",\"old\":\"tooltipTimeout\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-button.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbCheckbox\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-checkbox.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbCheckboxGroup\",\"old\":\"labelPosition\",\"new\":\"legendPosition\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-checkbox-group.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbColorInput\",\"old\":\"picker\",\"new\":\"eyeDropper\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-color-input.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbColorPalette\",\"old\":\"arrowPadding\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-color-palette.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbColorPalette\",\"old\":\"flip\",\"new\":\"disableFlip\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-color-palette.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbColorPalette\",\"old\":\"picker\",\"new\":\"eyeDropper\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-color-palette.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbColorPalette\",\"old\":\"showArrow\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-color-palette.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbDatePicker\",\"old\":\"datetime\",\"new\":\"type\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-date-picker-input.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDatePickerInput\",\"old\":\"allowWriting\",\"new\":\"disableWriting\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-date-picker-input.md\",\"fix\":{\"kind\":\"invert\",\"valueMap\":{\"not-mobile\":\"mobile\"}}},{\"component\":\"BbDatePickerInput\",\"old\":\"datetime\",\"new\":\"type\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-date-picker-input.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDatePickerInput\",\"old\":\"hidePopover\",\"new\":\"disableCalendar\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-date-picker-input.md\",\"fix\":{\"kind\":\"rename\",\"valueMap\":{\"not-mobile\":\"desktop\"}}},{\"component\":\"BbDatePickerInput\",\"old\":\"offcanvasProps\",\"new\":\"offCanvasProps\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-date-picker-input.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbDatePickerInput\",\"old\":\"width\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-date-picker-input.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDialog\",\"old\":\"canvasProps\",\"new\":\"offCanvasProps\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dialog.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbDialog\",\"old\":\"compact\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dialog.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDialog\",\"old\":\"description\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dialog.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDialog\",\"old\":\"hideHeader\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dialog.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDialog\",\"old\":\"overlayClasses\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dialog.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDialog\",\"old\":\"panelClasses\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dialog.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDialog\",\"old\":\"showClose\",\"new\":\"hideClose\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dialog.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbDropdown\",\"old\":\"arrowPadding\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dropdown.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbDropdown\",\"old\":\"offcanvasProps\",\"new\":\"offCanvasProps\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dropdown.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbDropdownButton\",\"old\":\"arrowPadding\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dropdown-button.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbDropdownButton\",\"old\":\"autoLoading\",\"new\":\"disableAutoLoading\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dropdown-button.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbIcon\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-icon.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbIcon\",\"old\":\"type\",\"new\":\"icon\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-icon.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbOffCanvas\",\"old\":\"direction\",\"new\":\"side\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-offcanvas.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbOffCanvas\",\"old\":\"showClose\",\"new\":\"hideClose\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-offcanvas.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbPagination\",\"old\":\"loading\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-pagination.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbPagination\",\"old\":\"querykey\",\"new\":\"queryKey\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-pagination.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbPopover\",\"old\":\"arrowPadding\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbPopover\",\"old\":\"block\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbPopover\",\"old\":\"closeLabel\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbPopover\",\"old\":\"hideArrow\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbPopover\",\"old\":\"offcanvasProps\",\"new\":\"offCanvasProps\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbPopover\",\"old\":\"restoreFocus\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbPopover\",\"old\":\"showArrow\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbPopover\",\"old\":\"showClose\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbPopover\",\"old\":\"theme\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbRadioGroup\",\"old\":\"labelPosition\",\"new\":\"legendPosition\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-checkbox-group.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbRating\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-rating.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbSelect\",\"old\":\"allowWriting\",\"new\":\"disableWriting\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select.md\",\"fix\":{\"kind\":\"invert\",\"valueMap\":{\"not-mobile\":\"mobile\"}}},{\"component\":\"BbSelect\",\"old\":\"offcanvasProps\",\"new\":\"offCanvasProps\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbSelectPopover\",\"old\":\"allowWriting\",\"new\":\"disableWriting\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select-popover.md\",\"fix\":{\"kind\":\"invert\",\"valueMap\":{\"not-mobile\":\"mobile\"}}},{\"component\":\"BbSelectPopover\",\"old\":\"arrowPadding\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbSelectPopover\",\"old\":\"flip\",\"new\":\"disableFlip\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select-popover.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbSelectPopover\",\"old\":\"hideArrow\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbSelectPopover\",\"old\":\"offcanvasProps\",\"new\":\"offCanvasProps\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select-popover.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbSelectPopover\",\"old\":\"showArrow\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbSlider\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-slider.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbSlider\",\"old\":\"thumbTranslate\",\"new\":\"disableThumbTranslate\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-slider.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbSpinner\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-spinner.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbSwitchGroup\",\"old\":\"labelPosition\",\"new\":\"legendPosition\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-checkbox-group.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbTable\",\"old\":\"allowSelectAll\",\"new\":\"disableSelectAll\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-table.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbTable\",\"old\":\"enabledWhileLoading\",\"new\":\"interactiveWhileLoading\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-table.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbTabs\",\"old\":\"animateX\",\"new\":\"disableAnimateX\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tabs.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbTabs\",\"old\":\"animateY\",\"new\":\"disableAnimateY\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tabs.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbTabs\",\"old\":\"querykey\",\"new\":\"queryKey\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tabs.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbTabsRoot\",\"old\":\"querykey\",\"new\":\"queryKey\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tabs.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbTag\",\"old\":\"multiple\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tag.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbToast\",\"old\":\"placement\",\"new\":\"position\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-toast.md\",\"fix\":{\"kind\":\"valueMap\",\"valueMap\":{\"bottom\":\"bottom-center\",\"bottom-start\":\"bottom-left\",\"bottom-end\":\"bottom-right\",\"top\":\"top-center\",\"top-start\":\"top-left\",\"top-end\":\"top-right\"}}},{\"component\":\"BbToast\",\"old\":\"theme\",\"new\":\"variant\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-toast.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbTooltip\",\"old\":\"block\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tooltip.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbTooltip\",\"old\":\"showClose\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tooltip.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbTooltip\",\"old\":\"theme\",\"new\":\"variant\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tooltip.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbTooltip\",\"old\":\"timeout\",\"new\":\"delay\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tooltip.md\",\"fix\":{\"kind\":\"rename\"}}]");
2
+ var e = /*#__PURE__*/ JSON.parse("[{\"component\":\"BbAlert\",\"old\":\"showClose\",\"new\":\"hideClose\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-alert.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbAlert\",\"old\":\"theme\",\"new\":\"variant\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-alert.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbAvatar\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-avatar.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbBadge\",\"old\":\"content\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-badge.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbButton\",\"old\":\"enabledWhileLoading\",\"new\":\"interactiveWhileLoading\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-button.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbButton\",\"old\":\"theme\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-button.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbButton\",\"old\":\"tooltip\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-button.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbButton\",\"old\":\"tooltipPlacement\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-button.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbButton\",\"old\":\"tooltipTimeout\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-button.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbCheckbox\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-checkbox.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbCheckboxGroup\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-checkbox-group.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbCheckboxGroup\",\"old\":\"labelPosition\",\"new\":\"legendPosition\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-checkbox-group.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbColorInput\",\"old\":\"picker\",\"new\":\"eyeDropper\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-color-input.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbColorPalette\",\"old\":\"arrowPadding\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-color-palette.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbColorPalette\",\"old\":\"flip\",\"new\":\"disableFlip\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-color-palette.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbColorPalette\",\"old\":\"picker\",\"new\":\"eyeDropper\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-color-palette.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbColorPalette\",\"old\":\"showArrow\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-color-palette.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbDatePicker\",\"old\":\"datetime\",\"new\":\"type\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-date-picker-input.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDatePickerInput\",\"old\":\"allowWriting\",\"new\":\"disableWriting\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-date-picker-input.md\",\"fix\":{\"kind\":\"invert\",\"valueMap\":{\"not-mobile\":\"mobile\"}}},{\"component\":\"BbDatePickerInput\",\"old\":\"datetime\",\"new\":\"type\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-date-picker-input.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDatePickerInput\",\"old\":\"hidePopover\",\"new\":\"disableCalendar\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-date-picker-input.md\",\"fix\":{\"kind\":\"rename\",\"valueMap\":{\"not-mobile\":\"desktop\"}}},{\"component\":\"BbDatePickerInput\",\"old\":\"offcanvasProps\",\"new\":\"offCanvasProps\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-date-picker-input.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbDatePickerInput\",\"old\":\"width\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-date-picker-input.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDialog\",\"old\":\"canvasProps\",\"new\":\"offCanvasProps\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dialog.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbDialog\",\"old\":\"compact\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dialog.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDialog\",\"old\":\"hideHeader\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dialog.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDialog\",\"old\":\"overlayClasses\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dialog.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDialog\",\"old\":\"panelClasses\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dialog.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbDialog\",\"old\":\"showClose\",\"new\":\"hideClose\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dialog.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbDropdown\",\"old\":\"arrowPadding\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dropdown.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbDropdown\",\"old\":\"offcanvasProps\",\"new\":\"offCanvasProps\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dropdown.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbDropdownButton\",\"old\":\"arrowPadding\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dropdown-button.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbDropdownButton\",\"old\":\"autoLoading\",\"new\":\"disableAutoLoading\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dropdown-button.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbDropdownButton\",\"old\":\"theme\",\"new\":\"variant\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-dropdown-button.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbIcon\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-icon.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbIcon\",\"old\":\"type\",\"new\":\"icon\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-icon.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbOffCanvas\",\"old\":\"compact\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-offcanvas.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbOffCanvas\",\"old\":\"direction\",\"new\":\"side\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-offcanvas.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbOffCanvas\",\"old\":\"showClose\",\"new\":\"hideClose\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-offcanvas.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbPagination\",\"old\":\"loading\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-pagination.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbPagination\",\"old\":\"querykey\",\"new\":\"queryKey\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-pagination.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbPopover\",\"old\":\"arrowPadding\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbPopover\",\"old\":\"block\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbPopover\",\"old\":\"closeLabel\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbPopover\",\"old\":\"hideArrow\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbPopover\",\"old\":\"offcanvasProps\",\"new\":\"offCanvasProps\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbPopover\",\"old\":\"restoreFocus\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbPopover\",\"old\":\"showArrow\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbPopover\",\"old\":\"showClose\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbPopover\",\"old\":\"theme\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-popover.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbRadio\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-checkbox.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbRadioGroup\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-checkbox-group.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbRadioGroup\",\"old\":\"labelPosition\",\"new\":\"legendPosition\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-checkbox-group.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbRating\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-rating.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbSelect\",\"old\":\"allowWriting\",\"new\":\"disableWriting\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select.md\",\"fix\":{\"kind\":\"invert\",\"valueMap\":{\"not-mobile\":\"mobile\"}}},{\"component\":\"BbSelect\",\"old\":\"offcanvasProps\",\"new\":\"offCanvasProps\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbSelectPopover\",\"old\":\"allowWriting\",\"new\":\"disableWriting\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select-popover.md\",\"fix\":{\"kind\":\"invert\",\"valueMap\":{\"not-mobile\":\"mobile\"}}},{\"component\":\"BbSelectPopover\",\"old\":\"arrowPadding\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbSelectPopover\",\"old\":\"flip\",\"new\":\"disableFlip\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select-popover.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbSelectPopover\",\"old\":\"hideArrow\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbSelectPopover\",\"old\":\"offcanvasProps\",\"new\":\"offCanvasProps\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select-popover.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbSelectPopover\",\"old\":\"showArrow\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-select-popover.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbSlider\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-slider.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbSlider\",\"old\":\"thumbTranslate\",\"new\":\"disableThumbTranslate\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-slider.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbSpinner\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-spinner.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbSwitch\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-checkbox.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbSwitchGroup\",\"old\":\"color\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-checkbox-group.md\",\"fix\":{\"kind\":\"manual\"}},{\"component\":\"BbSwitchGroup\",\"old\":\"labelPosition\",\"new\":\"legendPosition\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-checkbox-group.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbTable\",\"old\":\"allowSelectAll\",\"new\":\"disableSelectAll\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-table.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbTable\",\"old\":\"enabledWhileLoading\",\"new\":\"interactiveWhileLoading\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-table.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbTabs\",\"old\":\"animateX\",\"new\":\"disableAnimateX\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tabs.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbTabs\",\"old\":\"animateY\",\"new\":\"disableAnimateY\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tabs.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbTabs\",\"old\":\"querykey\",\"new\":\"queryKey\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tabs.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbTabsRoot\",\"old\":\"animateX\",\"new\":\"disableAnimateX\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tabs.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbTabsRoot\",\"old\":\"animateY\",\"new\":\"disableAnimateY\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tabs.md\",\"fix\":{\"kind\":\"invert\"}},{\"component\":\"BbTabsRoot\",\"old\":\"querykey\",\"new\":\"queryKey\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tabs.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbTag\",\"old\":\"multiple\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tag.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbToast\",\"old\":\"placement\",\"new\":\"position\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-toast.md\",\"fix\":{\"kind\":\"valueMap\",\"valueMap\":{\"bottom\":\"bottom-center\",\"bottom-start\":\"bottom-left\",\"bottom-end\":\"bottom-right\",\"top\":\"top-center\",\"top-start\":\"top-left\",\"top-end\":\"top-right\"}}},{\"component\":\"BbToast\",\"old\":\"theme\",\"new\":\"variant\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-toast.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbTooltip\",\"old\":\"block\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tooltip.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbTooltip\",\"old\":\"showClose\",\"new\":null,\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tooltip.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbTooltip\",\"old\":\"theme\",\"new\":\"variant\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tooltip.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbTooltip\",\"old\":\"timeout\",\"new\":\"delay\",\"since\":\"3.0.0-unreleased\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-tooltip.md\",\"fix\":{\"kind\":\"rename\"}},{\"component\":\"BbTable\",\"old\":\"actions\",\"new\":null,\"since\":\"3.0.0-beta.21\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-table.md\",\"fix\":{\"kind\":\"remove\"}},{\"component\":\"BbTable\",\"old\":\"fixedColumns\",\"new\":null,\"since\":\"3.0.0-beta.21\",\"silent\":true,\"migration\":\"ai/guides/migration/components/bb-table.md\",\"fix\":{\"kind\":\"manual\"}}]");
3
3
  //#endregion
4
4
  export { e as default };
@@ -1,19 +1,30 @@
1
1
  import { App } from 'vue';
2
- import { BbDropdownProps, InternalItem } from '../components/BbDropdown/types';
2
+ import { BbDropdownProps, Item } from '../components/BbDropdown/types';
3
3
  /**
4
4
  * Value accepted by the `v-bb-dropdown` directive.
5
5
  *
6
- * - an array of {@link InternalItem} is used directly as the dropdown items
6
+ * - an array of {@link Item} is used directly as the dropdown items
7
7
  * - an object spreads every `BbDropdown` prop plus a required `items` array
8
+ *
9
+ * `Item`, not `InternalItem`: the runtime forwards this value straight to the
10
+ * component's `items` prop, which is `Item[]` — `InternalItem | InternalGroup |
11
+ * Item[]`. Typing the directive narrower than the prop it feeds made a divider
12
+ * section or any group object compile on `<BbDropdown>` and fail with TS2322 on
13
+ * `v-bb-dropdown`, for markup the runtime handles identically.
8
14
  */
9
- export type BbDropdownDirectiveValue = InternalItem[] | (Partial<Omit<BbDropdownProps, 'items'>> & {
10
- items: InternalItem[];
15
+ export type BbDropdownDirectiveValue = Item[] | (Partial<Omit<BbDropdownProps, 'items'>> & {
16
+ items: Item[];
11
17
  });
12
18
  /**
13
19
  * `v-bb-dropdown` — attach a {@link BbDropdown} menu to any element without
14
20
  * wrapping it. Best used on a focusable/clickable element (e.g. a `<button>`);
15
21
  * the keyboard and ARIA wiring is applied to the host element directly.
16
22
  *
23
+ * While no one has opened it the menu is DORMANT: the directive puts
24
+ * `aria-haspopup` / `aria-expanded` on the element itself and builds no
25
+ * component at all until the first gesture that could open one (see the
26
+ * `dormant` block below).
27
+ *
17
28
  * @example
18
29
  * ```html
19
30
  * <button v-bb-dropdown="items">Menu</button>
@@ -1,23 +1,45 @@
1
1
  import { createPopoverDirective as e } from "./createPopoverDirective.js";
2
- import t from "../components/BbDropdown/BbDropdown.vue.js";
3
- import { h as n } from "vue";
2
+ import { useMobile as t } from "../composables/useMobile.js";
3
+ import n from "../components/BbDropdown/BbDropdown.vue.js";
4
+ import { h as r, watch as i } from "vue";
5
+ import { config as a } from "virtual:bitboss-ui/config";
4
6
  //#region src/directives/bbDropdown.ts
5
- var r = e({
7
+ var { isMobile: o } = t(), s = e({
6
8
  name: "bb-dropdown",
7
9
  resolve(e) {
8
10
  let t = e.value, n = Array.isArray(t) ? { items: t } : { ...t };
9
11
  return e.arg && (n.placement = e.arg), n;
10
12
  },
11
- build(e, r, i) {
12
- return i.items?.length ? n(t, {
13
+ build(e, t, i) {
14
+ return i.items?.length ? r(n, {
13
15
  key: e,
14
16
  id: e,
15
17
  ...i,
16
- activator: r
18
+ activator: t
17
19
  }) : null;
20
+ },
21
+ dormant: {
22
+ events: [
23
+ "pointerdown",
24
+ "focusin",
25
+ "click",
26
+ "contextmenu",
27
+ "keydown"
28
+ ],
29
+ eligible: (e) => !!e.items?.length && !e.eager && !e.id,
30
+ attrs: (e) => ({
31
+ "aria-haspopup": e.items.some((e) => {
32
+ let t = e;
33
+ return !Array.isArray(e) && !!t.searchable && !!t.key;
34
+ }) || (e.adaptive ?? a.adaptive) && o.value ? "dialog" : "menu",
35
+ "aria-expanded": "false"
36
+ }),
37
+ subscribe: (e) => {
38
+ i(o, e);
39
+ }
18
40
  }
19
- }), i = { install(e, t = "bb-dropdown") {
20
- e.directive(t, r);
41
+ }), c = { install(e, t = "bb-dropdown") {
42
+ e.directive(t, s);
21
43
  } };
22
44
  //#endregion
23
- export { i as BbDropdownDirectivePlugin, r as default, r as vBbDropdown };
45
+ export { c as BbDropdownDirectivePlugin, s as default, s as vBbDropdown };
@@ -9,6 +9,9 @@ import { Directive, DirectiveBinding, VNode } from 'vue';
9
9
  * per app rather than a wrapper element per usage. Keying the host by
10
10
  * `AppContext` keeps `useId` prefixes, global config and registered
11
11
  * components/icons correct when several Vue apps coexist on a page.
12
+ *
13
+ * A directive that declares a {@link DormantContract} goes one step further and
14
+ * renders nothing at all until the first gesture that could open the popover.
12
15
  */
13
16
  export interface PopoverDirectiveConfig<Value, Options> {
14
17
  /** Used for the host element's `data-*` attribute and the entry id prefix. */
@@ -21,5 +24,64 @@ export interface PopoverDirectiveConfig<Value, Options> {
21
24
  * the activator element.
22
25
  */
23
26
  build: (id: string, el: HTMLElement, options: Options) => VNode | null;
27
+ /**
28
+ * Optional laziness contract — see {@link DormantContract}. Omit it and
29
+ * every entry mounts its component the moment the element does, which is the
30
+ * behaviour every one of these directives had before.
31
+ */
32
+ dormant?: DormantContract<Options>;
33
+ }
34
+ /**
35
+ * How a directive stays asleep until someone actually reaches for the popover.
36
+ *
37
+ * A closed floating component is a component that has rendered nothing: the
38
+ * only thing it contributes to the page is a handful of listeners and two ARIA
39
+ * attributes on the element the directive sits on. Mounting it anyway costs a
40
+ * full Vue component tree per usage — and `v-bb-dropdown` on the actions cell
41
+ * of a virtualized table means one of those per *mounted row*, created and
42
+ * destroyed on every window move, for a menu nobody has opened.
43
+ *
44
+ * So a directive that declares this contract does the small part itself (the
45
+ * ARIA the element must carry while there is no popup) and defers the component
46
+ * until the first gesture that could possibly open it.
47
+ */
48
+ export interface DormantContract<Options> {
49
+ /**
50
+ * Gestures that must wake the entry, delegated from `document` in the
51
+ * CAPTURE phase — one listener per event for the whole directive, never one
52
+ * per usage.
53
+ *
54
+ * Capture-at-document is not a detail, it is the mechanism. The DOM clones
55
+ * an object's listener list when the event *reaches that object*, so a
56
+ * listener the woken component adds to the activator during the document's
57
+ * capture phase is still in the clone taken when the same event arrives at
58
+ * the activator moments later. The component therefore handles the very
59
+ * gesture that woke it — no replayed synthetic event (which would run the
60
+ * consumer's own handlers twice), no swallowed first click.
61
+ *
62
+ * List the events the component itself listens for, plus the ones that
63
+ * reliably precede them (`pointerdown` before `click`/`contextmenu`).
64
+ */
65
+ events: readonly string[];
66
+ /**
67
+ * Attributes the element must carry while dormant — the ARIA that says
68
+ * "this opens something", which is the part a screen reader needs before
69
+ * anyone interacts. Removed when the entry wakes; the component owns them
70
+ * from then on.
71
+ */
72
+ attrs?: (options: Options) => Record<string, string> | null;
73
+ /**
74
+ * Return `false` to mount this particular binding eagerly. Use it for the
75
+ * cases whose observable behaviour depends on the component existing before
76
+ * anyone opens it — an `eager` panel that pre-fetches, or an explicit `id`
77
+ * that something else in the app looks up.
78
+ */
79
+ eligible?: (options: Options) => boolean;
80
+ /**
81
+ * Optional hook to re-apply {@link attrs} on every dormant entry when some
82
+ * global signal the attributes depend on changes (the viewport crossing the
83
+ * mobile threshold, say). Called once, the first time an entry goes dormant.
84
+ */
85
+ subscribe?: (refresh: () => void) => void;
24
86
  }
25
87
  export declare const createPopoverDirective: <Value, Options>(config: PopoverDirectiveConfig<Value, Options>) => Directive<HTMLElement, Value>;
@@ -11,42 +11,82 @@ var r = 0, i = (i) => {
11
11
  }, a.set(e, t);
12
12
  }
13
13
  return t;
14
- }, c = (r, o) => {
15
- if (o.entries.size === 0) {
16
- n(null, o.host), o.host.remove(), a.delete(r);
17
- return;
14
+ }, c = /* @__PURE__ */ new Map(), l = !1, u = !1, d = (e) => {
15
+ let t = i.dormant?.attrs?.(e.options) ?? null;
16
+ for (let n of e.dormantAttrs ?? []) (!t || !(n in t)) && e.el.removeAttribute(n);
17
+ if (e.dormantAttrs = t ? Object.keys(t) : [], t) for (let [n, r] of Object.entries(t)) e.el.setAttribute(n, r);
18
+ }, f = (e) => {
19
+ for (let t of e.dormantAttrs ?? []) e.el.removeAttribute(t);
20
+ e.dormantAttrs = void 0;
21
+ }, p = (e) => {
22
+ if (!c.size) return;
23
+ let t = e.target;
24
+ for (; t;) {
25
+ let e = t instanceof HTMLElement ? c.get(t) : void 0;
26
+ if (e) {
27
+ g(e);
28
+ return;
29
+ }
30
+ t = t.parentNode;
31
+ }
32
+ }, m = (e) => {
33
+ if (!(e === l || !i.dormant)) {
34
+ l = e;
35
+ for (let t of i.dormant.events) e ? document.addEventListener(t, p, {
36
+ capture: !0,
37
+ passive: !0
38
+ }) : document.removeEventListener(t, p, { capture: !0 });
18
39
  }
19
- let s = [];
20
- for (let e of o.entries.values()) {
21
- let t = i.build(e.id, e.el, e.options);
22
- t && (t.appContext = r, s.push(t));
40
+ }, h = (e) => {
41
+ c.set(e.el, e), d(e), m(!0), !u && i.dormant?.subscribe && (u = !0, i.dormant.subscribe(() => {
42
+ for (let e of c.values()) d(e);
43
+ }));
44
+ }, g = (e) => {
45
+ c.delete(e.el), c.size || m(!1), f(e);
46
+ let t = s(e.appContext);
47
+ e.container = document.createElement("div"), t.host.appendChild(e.container), t.entries.set(e.id, e), v(e.appContext, e);
48
+ }, _ = (e) => !!i.dormant && (i.dormant.eligible?.(e) ?? !0), v = (r, a) => {
49
+ if (!a.container) return;
50
+ let o = i.build(a.id, a.el, a.options);
51
+ o && (o.appContext = r), n(o ?? t(e, []), a.container);
52
+ }, y = (e) => {
53
+ if (!e.container) {
54
+ c.delete(e.el), c.size || m(!1), f(e);
55
+ return;
23
56
  }
24
- n(t(e, s), o.host);
57
+ n(null, e.container), e.container.remove();
58
+ let t = a.get(e.appContext);
59
+ t && (t.entries.delete(e.id), t.entries.size === 0 && (t.host.remove(), a.delete(e.appContext)));
25
60
  };
26
61
  return {
27
62
  mounted(e, t) {
28
- let n = t.instance?.$.appContext ?? null, a = s(n), l = `${i.name}-${++r}`;
29
- a.entries.set(l, {
30
- id: l,
63
+ let n = t.instance?.$.appContext ?? null, a = `${i.name}-${++r}`, c = {
64
+ id: a,
31
65
  el: e,
32
- options: i.resolve(t)
33
- }), o.set(e, {
34
- id: l,
66
+ options: i.resolve(t),
67
+ container: null,
35
68
  appContext: n
36
- }), c(n, a);
69
+ };
70
+ if (o.set(e, c), _(c.options)) {
71
+ h(c);
72
+ return;
73
+ }
74
+ let l = s(n);
75
+ c.container = document.createElement("div"), l.host.appendChild(c.container), l.entries.set(a, c), v(n, c);
37
76
  },
38
77
  updated(e, t) {
39
78
  let n = o.get(e);
40
- if (!n) return;
41
- let r = a.get(n.appContext), s = r?.entries.get(n.id);
42
- !r || !s || (s.options = i.resolve(t), c(n.appContext, r));
79
+ if (n) {
80
+ if (n.options = i.resolve(t), !n.container) {
81
+ _(n.options) ? d(n) : g(n);
82
+ return;
83
+ }
84
+ v(n.appContext, n);
85
+ }
43
86
  },
44
87
  beforeUnmount(e) {
45
88
  let t = o.get(e);
46
- if (!t) return;
47
- o.delete(e);
48
- let n = a.get(t.appContext);
49
- n && (n.entries.delete(t.id), c(t.appContext, n));
89
+ t && (o.delete(e), y(t));
50
90
  }
51
91
  };
52
92
  };
@@ -113,7 +113,10 @@
113
113
  "selectAllLabel": "Vybrat všechny položky na této stránce",
114
114
  "selectText": "Vybrat položku",
115
115
  "select": "Vybrat",
116
- "selectableLegend": "Vybrat položky"
116
+ "selectableLegend": "Vybrat položky",
117
+ "reorderInstructions": "Šipkami vlevo a vpravo se přesouváte mezi sloupci; s podrženým Shiftem přesunete sloupec, Home a End na kraje. Enter seřadí řaditelný sloupec.",
118
+ "columnMoved": "{0} přesunut na pozici {1} z {2}",
119
+ "resizeInstructions": "Alt + šipka vlevo nebo vpravo mění šířku sloupce; dvojklik na okraj obnoví deklarovanou šířku."
117
120
  },
118
121
  "baseTimePickerInput": {
119
122
  "emptySelection": "Vyberte čas",
@@ -113,7 +113,10 @@
113
113
  "selectAllLabel": "Vælg alle elementer på denne side",
114
114
  "selectText": "Vælg et element",
115
115
  "select": "Vælg",
116
- "selectableLegend": "Vælg elementer"
116
+ "selectableLegend": "Vælg elementer",
117
+ "reorderInstructions": "Brug venstre og højre piletast til at skifte mellem kolonner; hold Skift nede for at flytte kolonnen, med Home og End til enderne. Enter sorterer en sorterbar kolonne.",
118
+ "columnMoved": "{0} flyttet til position {1} af {2}",
119
+ "resizeInstructions": "Alt + venstre eller højre pil ændrer kolonnens bredde; dobbeltklik på kanten for at gendanne den angivne bredde."
117
120
  },
118
121
  "baseTimePickerInput": {
119
122
  "emptySelection": "Vælg et tidspunkt",
@@ -113,7 +113,10 @@
113
113
  "selectAllLabel": "Alle Einträge auf dieser Seite auswählen",
114
114
  "selectText": "Einen Eintrag auswählen",
115
115
  "select": "Auswählen",
116
- "selectableLegend": "Elemente auswählen"
116
+ "selectableLegend": "Elemente auswählen",
117
+ "reorderInstructions": "Mit den Pfeiltasten links und rechts zwischen den Spalten wechseln; mit gedrückter Umschalttaste die Spalte verschieben, mit Pos1 und Ende an die Enden. Eingabe sortiert eine sortierbare Spalte.",
118
+ "columnMoved": "{0} an Position {1} von {2} verschoben",
119
+ "resizeInstructions": "Alt + Pfeil links oder rechts ändert die Spaltenbreite; Doppelklick auf den Rand stellt die deklarierte Breite wieder her."
117
120
  },
118
121
  "baseTimePickerInput": {
119
122
  "emptySelection": "Uhrzeit auswählen",
@@ -113,7 +113,10 @@
113
113
  "selectAllLabel": "Επιλογή όλων των στοιχείων αυτής της σελίδας",
114
114
  "selectText": "Επιλογή στοιχείου",
115
115
  "select": "Επιλογή",
116
- "selectableLegend": "Επιλογή στοιχείων"
116
+ "selectableLegend": "Επιλογή στοιχείων",
117
+ "reorderInstructions": "Χρησιμοποιήστε τα βέλη αριστερά και δεξιά για να μετακινηθείτε μεταξύ στηλών· κρατήστε πατημένο το Shift για να μετακινήσετε τη στήλη, με Home και End για τα άκρα. Το Enter ταξινομεί μια ταξινομήσιμη στήλη.",
118
+ "columnMoved": "Η στήλη {0} μετακινήθηκε στη θέση {1} από {2}",
119
+ "resizeInstructions": "Alt + αριστερό ή δεξί βέλος αλλάζει το πλάτος της στήλης· διπλό κλικ στην άκρη επαναφέρει το δηλωμένο πλάτος."
117
120
  },
118
121
  "baseTimePickerInput": {
119
122
  "emptySelection": "Επιλέξτε ώρα",