bitboss-ui 3.0.0-beta.68 → 3.0.0-beta.69

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 (915) hide show
  1. package/README.md +229 -90
  2. package/bin/bitboss-ui-mcp.mjs +284 -126
  3. package/bin/bitboss-ui.mjs +24 -2077
  4. package/bin/cli.mjs +1922 -0
  5. package/dist/ai/BbAccordion.md +1 -1
  6. package/dist/ai/BbAlert.md +1 -1
  7. package/dist/ai/BbAvatar.md +1 -1
  8. package/dist/ai/BbBadge.md +1 -1
  9. package/dist/ai/BbBadgeButton.md +1 -1
  10. package/dist/ai/BbBaseButton.md +1 -1
  11. package/dist/ai/BbBreadcrumbs.md +1 -1
  12. package/dist/ai/BbButton.md +1 -1
  13. package/dist/ai/BbCalendar.md +14 -1
  14. package/dist/ai/BbCarousel.md +1093 -0
  15. package/dist/ai/BbCheckbox.md +7 -5
  16. package/dist/ai/BbCheckboxGroup.md +15 -9
  17. package/dist/ai/BbColorInput.md +6 -4
  18. package/dist/ai/BbColorPalette.md +4 -1
  19. package/dist/ai/BbConfirm.md +1 -1
  20. package/dist/ai/BbDatePicker.md +8 -2
  21. package/dist/ai/BbDatePickerInput.md +14 -4
  22. package/dist/ai/BbDialog.md +1 -1
  23. package/dist/ai/BbDropdown.md +10 -13
  24. package/dist/ai/BbDropdownButton.md +3 -3
  25. package/dist/ai/BbDropzone.md +4 -15
  26. package/dist/ai/BbForm.md +8 -4
  27. package/dist/ai/BbHost.md +1 -1
  28. package/dist/ai/BbHoverCard.md +2 -2
  29. package/dist/ai/BbNumberInput.md +4 -4
  30. package/dist/ai/BbOffCanvas.md +12 -8
  31. package/dist/ai/BbPagination.md +6 -5
  32. package/dist/ai/BbPopover.md +11 -4
  33. package/dist/ai/BbRadio.md +9 -7
  34. package/dist/ai/BbRadioGroup.md +11 -7
  35. package/dist/ai/BbRating.md +10 -8
  36. package/dist/ai/BbSelect.md +11 -11
  37. package/dist/ai/BbSelectPopover.md +6 -6
  38. package/dist/ai/BbSlider.md +9 -6
  39. package/dist/ai/BbSpinner.md +1 -1
  40. package/dist/ai/BbSwitch.md +8 -7
  41. package/dist/ai/BbSwitchGroup.md +7 -7
  42. package/dist/ai/BbTable.md +19 -21
  43. package/dist/ai/BbTabs.md +23 -26
  44. package/dist/ai/BbTabsList.md +4 -4
  45. package/dist/ai/BbTabsRoot.md +1 -1
  46. package/dist/ai/BbTag.md +4 -4
  47. package/dist/ai/BbTextInput.md +8 -6
  48. package/dist/ai/BbTextarea.md +6 -5
  49. package/dist/ai/BbTimePicker.md +2 -2
  50. package/dist/ai/BbTimePickerInput.md +4 -4
  51. package/dist/ai/BbToast.md +8 -3
  52. package/dist/ai/BbTooltip.md +5 -4
  53. package/dist/ai/BbTree.md +1 -1
  54. package/dist/ai/ChipsBox.md +1 -1
  55. package/dist/ai/ClearableButton.md +1 -1
  56. package/dist/ai/CommonField.md +5 -5
  57. package/dist/ai/CommonFieldInput.md +1 -1
  58. package/dist/ai/CommonPopover.md +4 -4
  59. package/dist/ai/CommonTimeSelector.md +1 -1
  60. package/dist/ai/ErrorIcon.md +1 -1
  61. package/dist/ai/FlatListBox.md +1 -1
  62. package/dist/ai/GroupedListBox.md +1 -1
  63. package/dist/ai/ListBox.md +1 -1
  64. package/dist/ai/OptionsContainer.md +3 -3
  65. package/dist/ai/WarningIcon.md +1 -1
  66. package/dist/ai/changelog.json +526 -10
  67. package/dist/ai/components.json +95 -232
  68. package/dist/ai/composables/useToast.md +15 -15
  69. package/dist/ai/guides/agent-contract.md +7 -2
  70. package/dist/ai/guides/ai-router.md +14 -9
  71. package/dist/ai/guides/calendars-and-digits.md +123 -0
  72. package/dist/ai/guides/component-picker.md +1 -1
  73. package/dist/ai/guides/design-language.md +1 -1
  74. package/dist/ai/guides/design-tokens.md +4 -1
  75. package/dist/ai/guides/eslint-rules.md +18 -1
  76. package/dist/ai/guides/inertia-helpers.md +322 -41
  77. package/dist/ai/guides/installation-and-plugin-setup.md +166 -31
  78. package/dist/ai/guides/migration/components/bb-rating.md +1 -1
  79. package/dist/ai/guides/migration/components/bb-table.md +1 -0
  80. package/dist/ai/guides/migration/components/bb-tabs.md +32 -14
  81. package/dist/ai/guides/migration/components/bb-toast.md +4 -3
  82. package/dist/ai/guides/migration/v2-to-v3.md +158 -24
  83. package/dist/ai/guides/migration/v3-beta-css-classes.md +1 -0
  84. package/dist/ai/guides/migration/v3-beta-tooling.md +28 -11
  85. package/dist/ai/guides/options-items-playbook.md +5 -1
  86. package/dist/ai/guides/passthrough.md +12 -6
  87. package/dist/ai/guides/ssr-prefill.md +7 -1
  88. package/dist/ai/guides/validated-forms.md +9 -0
  89. package/dist/ai/helpers/inertia/manifest.json +23 -14
  90. package/dist/ai/helpers/inertia/useQuery.ts +74 -0
  91. package/dist/ai/helpers/inertia/useQueryObject.ts +33 -1
  92. package/dist/ai/helpers/inertia/useRouteQuery.ts +158 -30
  93. package/dist/ai/index.md +2 -0
  94. package/dist/ai/manifest/common.json +7 -7
  95. package/dist/ai/manifest/components/BbAccordion.tree.json +22 -4
  96. package/dist/ai/manifest/components/BbAlert.tree.json +26 -3
  97. package/dist/ai/manifest/components/BbAsterisk.tree.json +7 -1
  98. package/dist/ai/manifest/components/BbAvatar.tree.json +16 -2
  99. package/dist/ai/manifest/components/BbBadge.json +1 -1
  100. package/dist/ai/manifest/components/BbBadge.tree.json +39 -4
  101. package/dist/ai/manifest/components/BbBadgeButton.tree.json +2 -2
  102. package/dist/ai/manifest/components/BbBaseButton.tree.json +16 -1
  103. package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +18 -1
  104. package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +14 -1
  105. package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +17 -1
  106. package/dist/ai/manifest/components/BbBreadcrumbs.json +1 -1
  107. package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +34 -4
  108. package/dist/ai/manifest/components/BbButton.json +1 -1
  109. package/dist/ai/manifest/components/BbButton.tree.json +75 -4
  110. package/dist/ai/manifest/components/BbCalendar.json +2 -2
  111. package/dist/ai/manifest/components/BbCalendar.tree.json +81 -6
  112. package/dist/ai/manifest/components/BbCarousel.json +59 -0
  113. package/dist/ai/manifest/components/BbCarousel.tree.json +135 -0
  114. package/dist/ai/manifest/components/BbCheckbox.json +1 -1
  115. package/dist/ai/manifest/components/BbCheckbox.tree.json +31 -2
  116. package/dist/ai/manifest/components/BbCheckboxGroup.json +3 -3
  117. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +65 -2
  118. package/dist/ai/manifest/components/BbCollapsible.tree.json +11 -1
  119. package/dist/ai/manifest/components/BbColorInput.json +2 -2
  120. package/dist/ai/manifest/components/BbColorInput.tree.json +47 -3
  121. package/dist/ai/manifest/components/BbColorPalette.json +2 -2
  122. package/dist/ai/manifest/components/BbColorPalette.tree.json +36 -3
  123. package/dist/ai/manifest/components/BbConfigScope.json +1 -1
  124. package/dist/ai/manifest/components/BbConfirm.json +1 -1
  125. package/dist/ai/manifest/components/BbConfirm.tree.json +27 -3
  126. package/dist/ai/manifest/components/BbDatePicker.json +5 -5
  127. package/dist/ai/manifest/components/BbDatePicker.tree.json +42 -3
  128. package/dist/ai/manifest/components/BbDatePickerInput.json +2 -2
  129. package/dist/ai/manifest/components/BbDatePickerInput.tree.json +83 -4
  130. package/dist/ai/manifest/components/BbDialog.tree.json +28 -3
  131. package/dist/ai/manifest/components/BbDropdown.json +8 -7
  132. package/dist/ai/manifest/components/BbDropdown.tree.json +80 -3
  133. package/dist/ai/manifest/components/BbDropdownButton.json +4 -4
  134. package/dist/ai/manifest/components/BbDropdownButton.tree.json +46 -3
  135. package/dist/ai/manifest/components/BbDropzone.json +1 -1
  136. package/dist/ai/manifest/components/BbDropzone.tree.json +27 -1
  137. package/dist/ai/manifest/components/BbForm.json +1 -1
  138. package/dist/ai/manifest/components/BbHost.tree.json +1 -1
  139. package/dist/ai/manifest/components/BbHoverCard.json +3 -3
  140. package/dist/ai/manifest/components/BbHoverCard.tree.json +18 -1
  141. package/dist/ai/manifest/components/BbIcon.tree.json +7 -1
  142. package/dist/ai/manifest/components/BbIndicator.tree.json +27 -1
  143. package/dist/ai/manifest/components/BbNumberInput.json +2 -2
  144. package/dist/ai/manifest/components/BbNumberInput.tree.json +38 -2
  145. package/dist/ai/manifest/components/BbOffCanvas.json +1 -1
  146. package/dist/ai/manifest/components/BbOffCanvas.tree.json +55 -2
  147. package/dist/ai/manifest/components/BbPagination.json +1 -1
  148. package/dist/ai/manifest/components/BbPagination.tree.json +22 -3
  149. package/dist/ai/manifest/components/BbPopover.json +3 -3
  150. package/dist/ai/manifest/components/BbPopover.tree.json +20 -2
  151. package/dist/ai/manifest/components/BbProgress.tree.json +9 -1
  152. package/dist/ai/manifest/components/BbRadio.tree.json +30 -2
  153. package/dist/ai/manifest/components/BbRadioGroup.json +3 -3
  154. package/dist/ai/manifest/components/BbRadioGroup.tree.json +64 -2
  155. package/dist/ai/manifest/components/BbRating.json +4 -4
  156. package/dist/ai/manifest/components/BbRating.removed.json +1 -0
  157. package/dist/ai/manifest/components/BbRating.tree.json +37 -2
  158. package/dist/ai/manifest/components/BbSelect.json +3 -3
  159. package/dist/ai/manifest/components/BbSelect.tree.json +65 -4
  160. package/dist/ai/manifest/components/BbSelectPopover.json +8 -6
  161. package/dist/ai/manifest/components/BbSelectPopover.tree.json +91 -8
  162. package/dist/ai/manifest/components/BbSlider.json +13 -12
  163. package/dist/ai/manifest/components/BbSlider.tree.json +44 -1
  164. package/dist/ai/manifest/components/BbSmoothHeight.tree.json +10 -1
  165. package/dist/ai/manifest/components/BbSpinner.tree.json +21 -2
  166. package/dist/ai/manifest/components/BbSwitch.json +2 -2
  167. package/dist/ai/manifest/components/BbSwitch.tree.json +31 -2
  168. package/dist/ai/manifest/components/BbSwitchGroup.json +4 -4
  169. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +60 -2
  170. package/dist/ai/manifest/components/BbTable.json +8 -8
  171. package/dist/ai/manifest/components/BbTable.tree.json +142 -4
  172. package/dist/ai/manifest/components/BbTabs.json +4 -4
  173. package/dist/ai/manifest/components/BbTabs.removed.json +5 -1
  174. package/dist/ai/manifest/components/BbTabs.tree.json +34 -3
  175. package/dist/ai/manifest/components/BbTabsList.json +4 -4
  176. package/dist/ai/manifest/components/BbTabsList.removed.json +5 -1
  177. package/dist/ai/manifest/components/BbTabsList.tree.json +24 -2
  178. package/dist/ai/manifest/components/BbTabsPanels.tree.json +16 -1
  179. package/dist/ai/manifest/components/BbTabsRoot.json +1 -1
  180. package/dist/ai/manifest/components/BbTag.json +2 -2
  181. package/dist/ai/manifest/components/BbTag.tree.json +47 -3
  182. package/dist/ai/manifest/components/BbTextInput.json +2 -2
  183. package/dist/ai/manifest/components/BbTextInput.tree.json +41 -2
  184. package/dist/ai/manifest/components/BbTextarea.json +2 -2
  185. package/dist/ai/manifest/components/BbTextarea.tree.json +44 -2
  186. package/dist/ai/manifest/components/BbTimePicker.json +5 -5
  187. package/dist/ai/manifest/components/BbTimePicker.tree.json +30 -3
  188. package/dist/ai/manifest/components/BbTimePickerInput.json +2 -2
  189. package/dist/ai/manifest/components/BbTimePickerInput.tree.json +55 -5
  190. package/dist/ai/manifest/components/BbToast.json +1 -1
  191. package/dist/ai/manifest/components/BbToast.tree.json +41 -2
  192. package/dist/ai/manifest/components/BbTooltip.json +3 -3
  193. package/dist/ai/manifest/components/BbTooltip.tree.json +17 -1
  194. package/dist/ai/manifest/components/BbTree.tree.json +14 -1
  195. package/dist/ai/manifest/components/ChipsBox.tree.json +1 -1
  196. package/dist/ai/manifest/components/ClearableButton.tree.json +8 -2
  197. package/dist/ai/manifest/components/CommonField.json +2 -2
  198. package/dist/ai/manifest/components/CommonField.tree.json +68 -1
  199. package/dist/ai/manifest/components/CommonFieldInput.tree.json +36 -6
  200. package/dist/ai/manifest/components/CommonPopover.json +7 -5
  201. package/dist/ai/manifest/components/CommonPopover.tree.json +11 -1
  202. package/dist/ai/manifest/components/CommonTimeSelector.tree.json +18 -2
  203. package/dist/ai/manifest/components/ErrorIcon.tree.json +8 -2
  204. package/dist/ai/manifest/components/FlatListBox.tree.json +2 -2
  205. package/dist/ai/manifest/components/GroupedListBox.tree.json +2 -2
  206. package/dist/ai/manifest/components/ListBox.tree.json +2 -2
  207. package/dist/ai/manifest/components/OptionsContainer.json +2 -2
  208. package/dist/ai/manifest/components/WarningIcon.tree.json +8 -2
  209. package/dist/ai/manifest/index.json +5 -4
  210. package/dist/ai/manifest/meta.json +8 -147
  211. package/dist/ai/manifest/types.advanced.json +78 -76
  212. package/dist/ai/manifest/types.api.json +17 -16
  213. package/dist/ai/manifest/types.wrapper.json +115 -112
  214. package/dist/ai/recipes/inertia/approvals-inbox.md +8 -8
  215. package/dist/ai/recipes/inertia/inline-edit-workspace.md +11 -11
  216. package/dist/ai/recipes/inertia/onboarding.md +8 -8
  217. package/dist/ai/recipes/inertia/ownership-atlas.md +6 -6
  218. package/dist/ai/recipes/inertia/record-form.md +14 -14
  219. package/dist/ai/recipes/inertia/records-workspace.md +11 -10
  220. package/dist/ai/recipes/inertia/settings-workspace.md +11 -11
  221. package/dist/ai/recipes/inertia/upload-center.md +10 -10
  222. package/dist/ai/recipes/inertia/wizard-form.md +14 -14
  223. package/dist/ai/recipes/nuxt/approvals-inbox.md +11 -11
  224. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +13 -13
  225. package/dist/ai/recipes/nuxt/onboarding.md +8 -8
  226. package/dist/ai/recipes/nuxt/ownership-atlas.md +10 -10
  227. package/dist/ai/recipes/nuxt/record-form.md +14 -14
  228. package/dist/ai/recipes/nuxt/records-workspace.md +14 -13
  229. package/dist/ai/recipes/nuxt/settings-workspace.md +10 -10
  230. package/dist/ai/recipes/nuxt/upload-center.md +11 -11
  231. package/dist/ai/recipes/nuxt/wizard-form.md +15 -15
  232. package/dist/ai/recipes/vue/approvals-inbox.md +13 -11
  233. package/dist/ai/recipes/vue/inline-edit-workspace.md +13 -13
  234. package/dist/ai/recipes/vue/onboarding.md +14 -9
  235. package/dist/ai/recipes/vue/ownership-atlas.md +10 -10
  236. package/dist/ai/recipes/vue/record-form.md +16 -14
  237. package/dist/ai/recipes/vue/records-workspace.md +16 -13
  238. package/dist/ai/recipes/vue/settings-workspace.md +13 -11
  239. package/dist/ai/recipes/vue/upload-center.md +11 -11
  240. package/dist/ai/recipes/vue/wizard-form.md +16 -14
  241. package/dist/ai/source/BbAccordion.md +11 -14
  242. package/dist/ai/source/BbAlert.md +95 -89
  243. package/dist/ai/source/BbAsterisk.md +6 -7
  244. package/dist/ai/source/BbAvatar.md +37 -37
  245. package/dist/ai/source/BbBadge.md +85 -81
  246. package/dist/ai/source/BbBadgeButton.md +80 -76
  247. package/dist/ai/source/BbBaseButton.md +284 -276
  248. package/dist/ai/source/BbBaseCheckboxIcon.md +69 -63
  249. package/dist/ai/source/BbBaseRadioIcon.md +63 -57
  250. package/dist/ai/source/BbBaseSwitchIcon.md +84 -65
  251. package/dist/ai/source/BbBreadcrumbs.md +76 -63
  252. package/dist/ai/source/BbButton.md +63 -55
  253. package/dist/ai/source/BbCalendar.md +161 -146
  254. package/dist/ai/source/BbCarousel.md +2897 -0
  255. package/dist/ai/source/BbCheckbox.md +211 -186
  256. package/dist/ai/source/BbCheckboxGroup.md +108 -54
  257. package/dist/ai/source/BbCollapsible.md +7 -10
  258. package/dist/ai/source/BbColorInput.md +233 -227
  259. package/dist/ai/source/BbColorPalette.md +218 -140
  260. package/dist/ai/source/BbConfirm.md +33 -29
  261. package/dist/ai/source/BbConfirmPortal.md +30 -26
  262. package/dist/ai/source/BbDatePicker.md +202 -181
  263. package/dist/ai/source/BbDatePickerInput.md +751 -407
  264. package/dist/ai/source/BbDialog.md +187 -181
  265. package/dist/ai/source/BbDropdown.md +274 -218
  266. package/dist/ai/source/BbDropdownButton.md +50 -45
  267. package/dist/ai/source/BbDropdownGroup.md +242 -210
  268. package/dist/ai/source/BbDropzone.md +101 -100
  269. package/dist/ai/source/BbForm.md +28 -28
  270. package/dist/ai/source/BbHost.md +2 -2
  271. package/dist/ai/source/BbHoverCard.md +28 -18
  272. package/dist/ai/source/BbHoverCardPortal.md +9 -12
  273. package/dist/ai/source/BbIcon.md +27 -26
  274. package/dist/ai/source/BbIndicator.md +76 -70
  275. package/dist/ai/source/BbNumberInput.md +300 -293
  276. package/dist/ai/source/BbOffCanvas.md +236 -214
  277. package/dist/ai/source/BbPagination.md +134 -98
  278. package/dist/ai/source/BbPopover.md +32 -22
  279. package/dist/ai/source/BbPopoverPortal.md +9 -12
  280. package/dist/ai/source/BbProgress.md +20 -12
  281. package/dist/ai/source/BbRadio.md +188 -175
  282. package/dist/ai/source/BbRadioGroup.md +407 -350
  283. package/dist/ai/source/BbRating.md +192 -167
  284. package/dist/ai/source/BbSelect.md +474 -461
  285. package/dist/ai/source/BbSelectPopover.md +426 -385
  286. package/dist/ai/source/BbSlider.md +333 -266
  287. package/dist/ai/source/BbSmoothHeight.md +8 -9
  288. package/dist/ai/source/BbSpinner.md +20 -20
  289. package/dist/ai/source/BbSwitch.md +25 -13
  290. package/dist/ai/source/BbSwitchGroup.md +88 -26
  291. package/dist/ai/source/BbTable.md +560 -501
  292. package/dist/ai/source/BbTabs.md +129 -114
  293. package/dist/ai/source/BbTabsList.md +163 -135
  294. package/dist/ai/source/BbTabsPanels.md +127 -112
  295. package/dist/ai/source/BbTabsRoot.md +124 -109
  296. package/dist/ai/source/BbTag.md +264 -266
  297. package/dist/ai/source/BbTextInput.md +31 -25
  298. package/dist/ai/source/BbTextarea.md +33 -27
  299. package/dist/ai/source/BbTimePicker.md +128 -121
  300. package/dist/ai/source/BbTimePickerInput.md +356 -302
  301. package/dist/ai/source/BbToast.md +80 -36
  302. package/dist/ai/source/BbToastPortal.md +42 -30
  303. package/dist/ai/source/BbTooltip.md +154 -128
  304. package/dist/ai/source/BbTree.md +16 -12
  305. package/dist/ai/source/CommonField.md +94 -59
  306. package/dist/ai/source/CommonFieldInput.md +9 -9
  307. package/dist/ai/source/CommonPopover.md +28 -9
  308. package/dist/ai/source/CommonTimeSelector.md +41 -8
  309. package/dist/ai/source/FlatListBox.md +5 -4
  310. package/dist/ai/source/GroupedListBox.md +6 -5
  311. package/dist/ai/source/ListBox.md +1 -0
  312. package/dist/ai/source/OptionsContainer.md +39 -8
  313. package/dist/assets/svgs/chevron_left.svg_raw.js +3 -0
  314. package/dist/assets/svgs/pause.svg_raw.js +3 -0
  315. package/dist/assets/svgs/play.svg_raw.js +3 -0
  316. package/dist/assets/svgs/star.svg_raw.js +1 -1
  317. package/dist/calendar-runtime.js +112 -0
  318. package/dist/calendars.js +83 -0
  319. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +2 -2
  320. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +4 -4
  321. package/dist/components/BbAccordion/ptKeys.generated.d.ts +44 -0
  322. package/dist/components/BbAccordion/types.d.ts +5 -6
  323. package/dist/components/BbAlert/BbAlert.vue.d.ts +4 -4
  324. package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +4 -4
  325. package/dist/components/BbAlert/ptKeys.generated.d.ts +104 -0
  326. package/dist/components/BbAlert/types.d.ts +15 -8
  327. package/dist/components/BbAsterisk/BbAsterisk.vue.d.ts +2 -2
  328. package/dist/components/BbAsterisk/ptKeys.generated.d.ts +8 -0
  329. package/dist/components/BbAsterisk/types.d.ts +4 -5
  330. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +3 -3
  331. package/dist/components/BbAvatar/ptKeys.generated.d.ts +12 -0
  332. package/dist/components/BbAvatar/types.d.ts +5 -6
  333. package/dist/components/BbBadge/BbBadge.vue.d.ts +4 -4
  334. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +15 -15
  335. package/dist/components/BbBadge/BbBadgeButton.vue.d.ts +2 -2
  336. package/dist/components/BbBadge/badgeButtonContext.d.ts +5 -5
  337. package/dist/components/BbBadge/ptKeys.generated.d.ts +160 -0
  338. package/dist/components/BbBadge/types.d.ts +16 -9
  339. package/dist/components/BbBaseButton/BbBaseButton.vue.d.ts +2 -2
  340. package/dist/components/BbBaseButton/ptKeys.generated.d.ts +20 -0
  341. package/dist/components/BbBaseButton/types.d.ts +13 -6
  342. package/dist/components/BbBaseButton/useLinkState.d.ts +1 -1
  343. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.d.ts +2 -2
  344. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue_vue_type_script_setup_true_lang.js +4 -4
  345. package/dist/components/BbBaseCheckboxIcon/ptKeys.generated.d.ts +40 -0
  346. package/dist/components/BbBaseCheckboxIcon/types.d.ts +12 -6
  347. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.d.ts +2 -2
  348. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue_vue_type_script_setup_true_lang.js +4 -4
  349. package/dist/components/BbBaseRadioIcon/ptKeys.generated.d.ts +36 -0
  350. package/dist/components/BbBaseRadioIcon/types.d.ts +12 -6
  351. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.d.ts +2 -2
  352. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue_vue_type_script_setup_true_lang.js +4 -4
  353. package/dist/components/BbBaseSwitchIcon/ptKeys.generated.d.ts +40 -0
  354. package/dist/components/BbBaseSwitchIcon/types.d.ts +12 -6
  355. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +2 -2
  356. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +5 -5
  357. package/dist/components/BbBreadcrumbs/ptKeys.generated.d.ts +48 -0
  358. package/dist/components/BbBreadcrumbs/types.d.ts +15 -8
  359. package/dist/components/BbButton/BbButton.vue.d.ts +4 -4
  360. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +20 -20
  361. package/dist/components/BbButton/ptKeys.generated.d.ts +196 -0
  362. package/dist/components/BbButton/toggleRoving.js +29 -28
  363. package/dist/components/BbButton/types.d.ts +17 -11
  364. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +9 -71
  365. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +34 -32
  366. package/dist/components/BbCalendar/CalendarMonthPanel.vue_vue_type_script_setup_true_lang.js +67 -65
  367. package/dist/components/BbCalendar/CalendarYearPanel.vue_vue_type_script_setup_true_lang.js +76 -67
  368. package/dist/components/BbCalendar/calendarHost.d.ts +1 -1
  369. package/dist/components/BbCalendar/calendarMath.d.ts +102 -0
  370. package/dist/components/BbCalendar/calendarMath.js +124 -0
  371. package/dist/components/BbCalendar/ptKeys.generated.d.ts +248 -0
  372. package/dist/components/BbCalendar/types.d.ts +15 -9
  373. package/dist/components/BbCalendar/useCalendarContext.d.ts +43 -17
  374. package/dist/components/BbCalendar/useCalendarGrid.d.ts +71 -4
  375. package/dist/components/BbCalendar/useCalendarGrid.js +264 -210
  376. package/dist/components/BbCalendar/useDayGrid.d.ts +26 -8
  377. package/dist/components/BbCalendar/useDayGrid.js +178 -172
  378. package/dist/components/BbCalendar/useDayjsLocale.d.ts +18 -3
  379. package/dist/components/BbCalendar/useDayjsLocale.js +28 -28
  380. package/dist/components/BbCalendar/useToday.d.ts +5 -3
  381. package/dist/components/BbCalendar/useToday.js +22 -12
  382. package/dist/components/BbCarousel/BbCarousel.vue.d.ts +51 -0
  383. package/dist/components/BbCarousel/BbCarousel.vue.js +5 -0
  384. package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +818 -0
  385. package/dist/components/BbCarousel/ptKeys.generated.d.ts +60 -0
  386. package/dist/components/BbCarousel/types.d.ts +213 -0
  387. package/dist/components/BbCarousel/types.js +27 -0
  388. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -4
  389. package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +30 -30
  390. package/dist/components/BbCheckbox/ptKeys.generated.d.ts +220 -0
  391. package/dist/components/BbCheckbox/types.d.ts +30 -14
  392. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +164 -326
  393. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +50 -50
  394. package/dist/components/BbCheckboxGroup/ptKeys.generated.d.ts +492 -0
  395. package/dist/components/BbCheckboxGroup/types.d.ts +32 -23
  396. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +3 -3
  397. package/dist/components/BbCollapsible/BbCollapsible.vue_vue_type_script_setup_true_lang.js +1 -1
  398. package/dist/components/BbCollapsible/ptKeys.generated.d.ts +20 -0
  399. package/dist/components/BbCollapsible/types.d.ts +5 -6
  400. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +3 -3
  401. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +124 -124
  402. package/dist/components/BbColorInput/ptKeys.generated.d.ts +656 -0
  403. package/dist/components/BbColorInput/types.d.ts +24 -14
  404. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
  405. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +324 -287
  406. package/dist/components/BbColorPalette/ptKeys.generated.d.ts +40 -0
  407. package/dist/components/BbColorPalette/types.d.ts +15 -8
  408. package/dist/components/BbConfigScope/BbConfigScope.vue.d.ts +1 -1
  409. package/dist/components/BbConfigScope/types.d.ts +1 -1
  410. package/dist/components/BbConfirm/BbConfirm.vue.d.ts +1 -1
  411. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +24 -24
  412. package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +1 -1
  413. package/dist/components/BbConfirm/confirmEntry.d.ts +2 -2
  414. package/dist/components/BbConfirm/ptKeys.generated.d.ts +184 -0
  415. package/dist/components/BbConfirm/types.d.ts +14 -7
  416. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +16 -97
  417. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +208 -205
  418. package/dist/components/BbDatePicker/ptKeys.generated.d.ts +324 -0
  419. package/dist/components/BbDatePicker/types.d.ts +20 -13
  420. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +17 -306
  421. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +696 -579
  422. package/dist/components/BbDatePickerInput/calendarFields.d.ts +91 -0
  423. package/dist/components/BbDatePickerInput/calendarFields.js +188 -0
  424. package/dist/components/BbDatePickerInput/dateFieldLayout.d.ts +6 -0
  425. package/dist/components/BbDatePickerInput/dateFieldLayout.js +11 -1
  426. package/dist/components/BbDatePickerInput/ptKeys.generated.d.ts +1156 -0
  427. package/dist/components/BbDatePickerInput/types.d.ts +30 -20
  428. package/dist/components/BbDialog/BbDialog.vue.d.ts +6 -6
  429. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +7 -7
  430. package/dist/components/BbDialog/ptKeys.generated.d.ts +100 -0
  431. package/dist/components/BbDialog/types.d.ts +24 -18
  432. package/dist/components/BbDropdown/AdaptiveDropdown.vue.d.ts +1 -1
  433. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -3
  434. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +333 -327
  435. package/dist/components/BbDropdown/BbDropdownGroup.vue.d.ts +2 -2
  436. package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +1 -1
  437. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +278 -277
  438. package/dist/components/BbDropdown/DropdownRow.vue.d.ts +2 -2
  439. package/dist/components/BbDropdown/normalizeGroups.d.ts +2 -2
  440. package/dist/components/BbDropdown/ptKeys.generated.d.ts +228 -0
  441. package/dist/components/BbDropdown/types.d.ts +40 -35
  442. package/dist/components/BbDropdown/useDropdownContext.d.ts +2 -2
  443. package/dist/components/BbDropdown/useDropdownGroupRegistry.d.ts +5 -5
  444. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -4
  445. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +84 -84
  446. package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +616 -0
  447. package/dist/components/BbDropdownButton/types.d.ts +17 -10
  448. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +6 -25
  449. package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +14 -14
  450. package/dist/components/BbDropzone/ptKeys.generated.d.ts +76 -0
  451. package/dist/components/BbDropzone/types.d.ts +15 -8
  452. package/dist/components/BbForm/BbForm.vue.d.ts +3 -3
  453. package/dist/components/BbForm/BbFormCustomField.d.ts +1 -1
  454. package/dist/components/BbForm/bindFormField.d.ts +4 -4
  455. package/dist/components/BbForm/formFields.d.ts +5 -5
  456. package/dist/components/BbForm/formSchema.d.ts +4 -4
  457. package/dist/components/BbHost/BbHost.vue.d.ts +1 -1
  458. package/dist/components/BbHost/BbHostOpening.d.ts +3 -3
  459. package/dist/components/BbHost/types.d.ts +1 -1
  460. package/dist/components/BbHoverCard/BbHoverCard.vue.d.ts +3 -3
  461. package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +150 -144
  462. package/dist/components/BbHoverCard/BbHoverCardPortal.vue.d.ts +1 -1
  463. package/dist/components/BbHoverCard/ptKeys.generated.d.ts +44 -0
  464. package/dist/components/BbHoverCard/types.d.ts +8 -9
  465. package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -3
  466. package/dist/components/BbIcon/ptKeys.generated.d.ts +8 -0
  467. package/dist/components/BbIcon/types.d.ts +7 -8
  468. package/dist/components/BbIndicator/BbIndicator.vue.d.ts +4 -4
  469. package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +1 -1
  470. package/dist/components/BbIndicator/ptKeys.generated.d.ts +52 -0
  471. package/dist/components/BbIndicator/types.d.ts +14 -7
  472. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +3 -3
  473. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +79 -79
  474. package/dist/components/BbNumberInput/numberDisplay.d.ts +10 -11
  475. package/dist/components/BbNumberInput/ptKeys.generated.d.ts +476 -0
  476. package/dist/components/BbNumberInput/types.d.ts +23 -13
  477. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +7 -7
  478. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +407 -406
  479. package/dist/components/BbOffCanvas/ptKeys.generated.d.ts +88 -0
  480. package/dist/components/BbOffCanvas/sheetAttrs.d.ts +1 -1
  481. package/dist/components/BbOffCanvas/sheetSnap.d.ts +2 -2
  482. package/dist/components/BbOffCanvas/types.d.ts +30 -23
  483. package/dist/components/BbOffCanvas/useOffCanvasStack.d.ts +1 -1
  484. package/dist/components/BbPagination/BbPagination.vue.d.ts +3 -3
  485. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +6 -6
  486. package/dist/components/BbPagination/paginationFit.d.ts +1 -1
  487. package/dist/components/BbPagination/ptKeys.generated.d.ts +48 -0
  488. package/dist/components/BbPagination/types.d.ts +16 -8
  489. package/dist/components/BbPopover/BbPopover.vue.d.ts +3 -3
  490. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +119 -113
  491. package/dist/components/BbPopover/BbPopoverPortal.vue.d.ts +1 -1
  492. package/dist/components/BbPopover/ptKeys.generated.d.ts +52 -0
  493. package/dist/components/BbPopover/types.d.ts +8 -9
  494. package/dist/components/BbProgress/BbProgress.vue.d.ts +2 -2
  495. package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +1 -1
  496. package/dist/components/BbProgress/ptKeys.generated.d.ts +20 -0
  497. package/dist/components/BbProgress/types.d.ts +4 -5
  498. package/dist/components/BbRadio/BbRadio.vue.d.ts +4 -4
  499. package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +30 -30
  500. package/dist/components/BbRadio/ptKeys.generated.d.ts +196 -0
  501. package/dist/components/BbRadio/types.d.ts +24 -13
  502. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +148 -267
  503. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +44 -44
  504. package/dist/components/BbRadioGroup/ptKeys.generated.d.ts +492 -0
  505. package/dist/components/BbRadioGroup/types.d.ts +30 -19
  506. package/dist/components/BbRating/BbRating.vue.d.ts +3 -3
  507. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +107 -107
  508. package/dist/components/BbRating/ptKeys.generated.d.ts +152 -0
  509. package/dist/components/BbRating/types.d.ts +31 -20
  510. package/dist/components/BbRating/types.js +1 -1
  511. package/dist/components/BbSelect/BbSelect.vue.d.ts +264 -497
  512. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +190 -190
  513. package/dist/components/BbSelect/ptKeys.generated.d.ts +960 -0
  514. package/dist/components/BbSelect/types.d.ts +29 -20
  515. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +19 -51
  516. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +518 -512
  517. package/dist/components/BbSelectPopover/knownItems.d.ts +4 -4
  518. package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +148 -0
  519. package/dist/components/BbSelectPopover/reclickClears.d.ts +1 -1
  520. package/dist/components/BbSelectPopover/sheetChipAttrs.d.ts +1 -1
  521. package/dist/components/BbSelectPopover/types.d.ts +23 -15
  522. package/dist/components/BbSlider/BbSlider.vue.d.ts +14 -80
  523. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +286 -270
  524. package/dist/components/BbSlider/ptKeys.generated.d.ts +316 -0
  525. package/dist/components/BbSlider/types.d.ts +28 -16
  526. package/dist/components/BbSlider/types.js +2 -0
  527. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -3
  528. package/dist/components/BbSmoothHeight/ptKeys.generated.d.ts +8 -0
  529. package/dist/components/BbSmoothHeight/types.d.ts +5 -6
  530. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +3 -3
  531. package/dist/components/BbSpinner/ptKeys.generated.d.ts +8 -0
  532. package/dist/components/BbSpinner/types.d.ts +5 -6
  533. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +4 -4
  534. package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +30 -30
  535. package/dist/components/BbSwitch/ptKeys.generated.d.ts +220 -0
  536. package/dist/components/BbSwitch/types.d.ts +15 -5
  537. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +35 -114
  538. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +10 -10
  539. package/dist/components/BbSwitchGroup/ptKeys.generated.d.ts +332 -0
  540. package/dist/components/BbSwitchGroup/types.d.ts +14 -5
  541. package/dist/components/BbTable/BbTable.vue.d.ts +10 -10
  542. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1274 -1273
  543. package/dist/components/BbTable/BbTableDataRow.d.ts +4 -4
  544. package/dist/components/BbTable/BbTableEdgeRow.d.ts +5 -5
  545. package/dist/components/BbTable/BbTableExpandRow.d.ts +2 -2
  546. package/dist/components/BbTable/BbTableSelectToggle.d.ts +2 -2
  547. package/dist/components/BbTable/estimatedFloors.golden.d.ts +1 -1
  548. package/dist/components/BbTable/gridWidgets.d.ts +1 -1
  549. package/dist/components/BbTable/measuredFloors.d.ts +1 -1
  550. package/dist/components/BbTable/measuredFloorsTestKit.d.ts +1 -1
  551. package/dist/components/BbTable/ptKeys.generated.d.ts +280 -0
  552. package/dist/components/BbTable/types.d.ts +30 -22
  553. package/dist/components/BbTable/utils.d.ts +5 -5
  554. package/dist/components/BbTable/utils.js +89 -88
  555. package/dist/components/BbTabs/BbTabs.vue.d.ts +41 -69
  556. package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +13 -13
  557. package/dist/components/BbTabs/BbTabsList.vue.d.ts +3 -3
  558. package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +121 -122
  559. package/dist/components/BbTabs/BbTabsPanels.vue.d.ts +3 -3
  560. package/dist/components/BbTabs/BbTabsPanels.vue_vue_type_script_setup_true_lang.js +1 -1
  561. package/dist/components/BbTabs/BbTabsRoot.vue.d.ts +2 -2
  562. package/dist/components/BbTabs/ptKeys.generated.d.ts +226 -0
  563. package/dist/components/BbTabs/types.d.ts +40 -22
  564. package/dist/components/BbTag/BbTag.vue.d.ts +3 -3
  565. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +261 -262
  566. package/dist/components/BbTag/ptKeys.generated.d.ts +540 -0
  567. package/dist/components/BbTag/types.d.ts +23 -13
  568. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +14 -166
  569. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +110 -110
  570. package/dist/components/BbTextInput/ptKeys.generated.d.ts +608 -0
  571. package/dist/components/BbTextInput/types.d.ts +23 -14
  572. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +14 -166
  573. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +110 -110
  574. package/dist/components/BbTextarea/ptKeys.generated.d.ts +608 -0
  575. package/dist/components/BbTextarea/types.d.ts +23 -14
  576. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +13 -33
  577. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +6 -6
  578. package/dist/components/BbTimePicker/ptKeys.generated.d.ts +80 -0
  579. package/dist/components/BbTimePicker/types.d.ts +17 -11
  580. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +15 -198
  581. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +398 -387
  582. package/dist/components/BbTimePickerInput/ptKeys.generated.d.ts +732 -0
  583. package/dist/components/BbTimePickerInput/types.d.ts +29 -17
  584. package/dist/components/BbToast/BbToast.vue.d.ts +2 -2
  585. package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +59 -52
  586. package/dist/components/BbToast/BbToastMessage.vue.d.ts +2 -2
  587. package/dist/components/BbToast/BbToastPortal.vue.d.ts +1 -1
  588. package/dist/components/BbToast/BbToastRegion.vue.d.ts +5 -3
  589. package/dist/components/BbToast/ptKeys.generated.d.ts +232 -0
  590. package/dist/components/BbToast/types.d.ts +20 -11
  591. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +4 -4
  592. package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +99 -88
  593. package/dist/components/BbTooltip/ptKeys.generated.d.ts +36 -0
  594. package/dist/components/BbTooltip/tooltipWarmup.d.ts +2 -2
  595. package/dist/components/BbTooltip/types.d.ts +15 -8
  596. package/dist/components/BbTree/BbTree.vue.d.ts +7 -11
  597. package/dist/components/BbTree/BbTreeLevel.vue.d.ts +1 -1
  598. package/dist/components/BbTree/context.d.ts +2 -2
  599. package/dist/components/BbTree/ptKeys.generated.d.ts +16 -0
  600. package/dist/components/BbTree/types.d.ts +5 -6
  601. package/dist/components/ChipsBox/ChipsBox.vue.d.ts +2 -2
  602. package/dist/components/ChipsBox/types.d.ts +2 -2
  603. package/dist/components/ClearableButton/ClearableButton.vue.d.ts +2 -2
  604. package/dist/components/CloseIcon/CloseButton.vue.d.ts +2 -2
  605. package/dist/components/CommaBox/CommaBox.vue.d.ts +2 -2
  606. package/dist/components/CommaBox/types.d.ts +2 -2
  607. package/dist/components/CommonField/CommonField.vue.d.ts +7 -7
  608. package/dist/components/CommonField/CommonField.vue_vue_type_script_setup_true_lang.js +9 -4
  609. package/dist/components/CommonField/messageHeightMatrix.d.ts +1 -1
  610. package/dist/components/CommonField/types.d.ts +18 -14
  611. package/dist/components/CommonFieldInput/CommonFieldInput.vue.d.ts +3 -3
  612. package/dist/components/CommonFieldInput/types.d.ts +3 -3
  613. package/dist/components/CommonPopover/CommonPopover.vue.d.ts +4 -4
  614. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +56 -55
  615. package/dist/components/CommonPopover/resolvePlacement.d.ts +9 -0
  616. package/dist/components/CommonPopover/resolvePlacement.js +9 -0
  617. package/dist/components/CommonPopover/types.d.ts +5 -5
  618. package/dist/components/CommonTimeSelector/CommonTimeSelector.vue.d.ts +2 -2
  619. package/dist/components/CommonTimeSelector/CommonTimeSelector.vue_vue_type_script_setup_true_lang.js +110 -99
  620. package/dist/components/CommonTimeSelector/useMeridiem.d.ts +1 -1
  621. package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +2 -2
  622. package/dist/components/FlatListBox/FlatListBox.vue.d.ts +2 -2
  623. package/dist/components/FlatListBox/types.d.ts +2 -2
  624. package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +2 -2
  625. package/dist/components/GroupedListBox/types.d.ts +2 -2
  626. package/dist/components/ListBox/ListBox.vue.d.ts +2 -2
  627. package/dist/components/ListBox/types.d.ts +2 -2
  628. package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +1 -1
  629. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +55 -41
  630. package/dist/components/OptionsContainer/types.d.ts +3 -3
  631. package/dist/components/Transitions/Slide.vue.d.ts +5 -3
  632. package/dist/components/Transitions/Slide.vue.js +1 -1
  633. package/dist/components/WarningIcon/WarningIcon.vue.d.ts +2 -2
  634. package/dist/composables/autoHost.d.ts +1 -1
  635. package/dist/composables/formSubmitLock.d.ts +5 -5
  636. package/dist/composables/hostOpenings.d.ts +6 -6
  637. package/dist/composables/hostRegistry.d.ts +2 -2
  638. package/dist/composables/overlayRegistry.d.ts +25 -25
  639. package/dist/composables/overlayRegistry.js +13 -7
  640. package/dist/composables/useBaseOptions.d.ts +2 -2
  641. package/dist/composables/useBbConfig.d.ts +5 -5
  642. package/dist/composables/useBbDialog.d.ts +17 -17
  643. package/dist/composables/useBbDialog.js +2 -1
  644. package/dist/composables/useBbDropdown.d.ts +1 -1
  645. package/dist/composables/useBbForm.d.ts +2 -2
  646. package/dist/composables/useBbFormField.d.ts +4 -4
  647. package/dist/composables/useBbOffCanvas.d.ts +6 -6
  648. package/dist/composables/useBbTable.d.ts +4 -4
  649. package/dist/composables/useBbTabs.d.ts +4 -4
  650. package/dist/composables/useBbTabs.js +44 -43
  651. package/dist/composables/useBreakpoint.d.ts +1 -1
  652. package/dist/composables/useCharacterCounter.d.ts +2 -2
  653. package/dist/composables/useChoiceIndicator.d.ts +2 -2
  654. package/dist/composables/useClosingInert.d.ts +1 -1
  655. package/dist/composables/useConfig.d.ts +3 -3
  656. package/dist/composables/useConfigDefaults.d.ts +3 -3
  657. package/dist/composables/useConfirm.d.ts +11 -11
  658. package/dist/composables/useDirection.d.ts +43 -0
  659. package/dist/composables/useDirection.js +12 -0
  660. package/dist/composables/useFormBinding.d.ts +4 -4
  661. package/dist/composables/useId.d.ts +1 -1
  662. package/dist/composables/useItemsGetter.d.ts +3 -3
  663. package/dist/composables/useKeyboardInset.d.ts +1 -1
  664. package/dist/composables/useListboxFocus.d.ts +1 -1
  665. package/dist/composables/useLocale.d.ts +2 -2
  666. package/dist/composables/useOnDemandOpener.d.ts +3 -3
  667. package/dist/composables/useOverlayNavigation.d.ts +1 -1
  668. package/dist/composables/useOverlayYield.d.ts +1 -1
  669. package/dist/composables/usePassthrough.d.ts +6 -6
  670. package/dist/composables/useQuery.d.ts +1 -1
  671. package/dist/composables/useRefusedCloseAnnouncement.d.ts +1 -1
  672. package/dist/composables/useSafeArea.d.ts +1 -1
  673. package/dist/composables/useSafeAreaInternal.d.ts +1 -1
  674. package/dist/composables/useSegmentedFields.d.ts +25 -0
  675. package/dist/composables/useSegmentedFields.js +165 -115
  676. package/dist/composables/useServerPrefetch.d.ts +2 -2
  677. package/dist/composables/useSheetSurface.d.ts +1 -1
  678. package/dist/composables/useSsrState.d.ts +2 -2
  679. package/dist/composables/useToast.d.ts +8 -1
  680. package/dist/composables/useToast.js +39 -35
  681. package/dist/composables/useTypeahead.js +22 -21
  682. package/dist/deprecation/ai-deprecations.json.d.ts +116 -0
  683. package/dist/deprecation/ai-deprecations.json.js +1 -1
  684. package/dist/deprecation/removedProps.d.ts +1 -1
  685. package/dist/directives/bbColor.d.ts +1 -1
  686. package/dist/directives/bbDate.d.ts +1 -1
  687. package/dist/directives/bbDialog.d.ts +3 -3
  688. package/dist/directives/bbDropdown.d.ts +1 -1
  689. package/dist/directives/bbHoverCard.d.ts +3 -3
  690. package/dist/directives/bbOffCanvas.d.ts +2 -2
  691. package/dist/directives/bbPopover.d.ts +3 -3
  692. package/dist/directives/bbTime.d.ts +1 -1
  693. package/dist/directives/bbTooltip.d.ts +4 -4
  694. package/dist/directives/directivePortal.d.ts +4 -4
  695. package/dist/directives/overlayTrigger.d.ts +4 -4
  696. package/dist/directives/overlayTrigger.js +2 -1
  697. package/dist/i18n/eraNames.d.ts +2 -0
  698. package/dist/i18n/eraNames.js +2013 -0
  699. package/dist/i18n/index.d.ts +9 -7
  700. package/dist/i18n/localeTags.d.ts +36 -0
  701. package/dist/i18n/locales/ar.json +176 -0
  702. package/dist/i18n/locales/cs.json +21 -2
  703. package/dist/i18n/locales/da.json +21 -2
  704. package/dist/i18n/locales/de-CH.json +21 -2
  705. package/dist/i18n/locales/de.json +21 -2
  706. package/dist/i18n/locales/el.json +21 -2
  707. package/dist/i18n/locales/en-GB.json +21 -2
  708. package/dist/i18n/locales/en.json +21 -2
  709. package/dist/i18n/locales/es-MX.json +21 -2
  710. package/dist/i18n/locales/es.json +21 -2
  711. package/dist/i18n/locales/fa.json +176 -0
  712. package/dist/i18n/locales/fi.json +21 -2
  713. package/dist/i18n/locales/fr.json +21 -2
  714. package/dist/i18n/locales/he.json +176 -0
  715. package/dist/i18n/locales/hu.json +21 -2
  716. package/dist/i18n/locales/it.json +21 -2
  717. package/dist/i18n/locales/ja.json +21 -2
  718. package/dist/i18n/locales/ko.json +21 -2
  719. package/dist/i18n/locales/nb.json +21 -2
  720. package/dist/i18n/locales/nl.json +21 -2
  721. package/dist/i18n/locales/pl.json +21 -2
  722. package/dist/i18n/locales/pt-BR.json +21 -2
  723. package/dist/i18n/locales/pt-PT.json +21 -2
  724. package/dist/i18n/locales/ro.json +21 -2
  725. package/dist/i18n/locales/ru.json +21 -2
  726. package/dist/i18n/locales/sv.json +21 -2
  727. package/dist/i18n/locales/tr.json +21 -2
  728. package/dist/i18n/locales/uk.json +21 -2
  729. package/dist/i18n/locales/zh-CN.json +21 -2
  730. package/dist/i18n/locales/zh-HK.json +21 -2
  731. package/dist/i18n/locales/zh-TW.json +21 -2
  732. package/dist/i18n/regionHints.js +22 -22
  733. package/dist/i18n/regions.d.ts +73 -24
  734. package/dist/i18n/regions.js +57 -12
  735. package/dist/index.d.ts +191 -189
  736. package/dist/index.js +55 -54
  737. package/dist/llms-full.txt +7025 -5079
  738. package/dist/llms-medium.txt +486 -340
  739. package/dist/llms.txt +4 -3
  740. package/dist/locale-blueprint.json +24 -2
  741. package/dist/locale-tags.js +81 -0
  742. package/dist/mcp-sdk.LICENSES.txt +210 -0
  743. package/dist/mcp-sdk.mjs +78 -0
  744. package/dist/nuxt-auto-imports.d.ts +1 -1
  745. package/dist/nuxt-auto-imports.js +1 -1
  746. package/dist/nuxt-module.d.ts +5 -5
  747. package/dist/nuxt.js +20 -17
  748. package/dist/plugin.d.ts +2 -2
  749. package/dist/project-dts.d.ts +4 -4
  750. package/dist/project-dts.js +68 -62
  751. package/dist/setup-kit.LICENSES.txt +23 -0
  752. package/dist/setup-kit.mjs +9 -0
  753. package/dist/styles.css +2 -2
  754. package/dist/types/ActionButton.d.ts +3 -3
  755. package/dist/types/AlertVariant.d.ts +1 -1
  756. package/dist/types/BadgeVariant.d.ts +1 -1
  757. package/dist/types/ButtonVariant.d.ts +1 -1
  758. package/dist/types/CheckboxVariant.d.ts +2 -2
  759. package/dist/types/ColumnName.d.ts +1 -1
  760. package/dist/types/CommonProps.d.ts +25 -3
  761. package/dist/types/Config.d.ts +9 -9
  762. package/dist/types/ConfigDefaults.d.ts +37 -37
  763. package/dist/types/ConfirmVariant.d.ts +1 -1
  764. package/dist/types/DatePickerType.d.ts +29 -2
  765. package/dist/types/DatePickerType.js +6 -2
  766. package/dist/types/DropdownItemVariant.d.ts +1 -1
  767. package/dist/types/IndicatorVariant.d.ts +1 -1
  768. package/dist/types/InputVariant.d.ts +1 -1
  769. package/dist/types/ItemAccessor.d.ts +7 -1
  770. package/dist/types/ItemProps.d.ts +3 -3
  771. package/dist/types/ItemsProvider.d.ts +2 -2
  772. package/dist/types/Placement.d.ts +7 -2
  773. package/dist/types/RadioVariant.d.ts +2 -2
  774. package/dist/types/ShapeErased.d.ts +1 -1
  775. package/dist/types/TabsVariant.d.ts +1 -1
  776. package/dist/types/ToastVariant.d.ts +1 -1
  777. package/dist/types/TooltipVariant.d.ts +1 -1
  778. package/dist/types/fallthrough.d.ts +1 -1
  779. package/dist/types/passthrough.d.ts +17 -17
  780. package/dist/types/ptComponentMap.d.ts +16 -15
  781. package/dist/utilities/calendar/canonicalParts.d.ts +29 -0
  782. package/dist/utilities/calendar/canonicalParts.js +12 -0
  783. package/dist/utilities/calendar/digits.d.ts +18 -0
  784. package/dist/utilities/calendar/digits.js +26 -0
  785. package/dist/utilities/calendar/gregorian.d.ts +2 -0
  786. package/dist/utilities/calendar/gregorian.js +36 -0
  787. package/dist/utilities/calendar/index.d.ts +3 -0
  788. package/dist/utilities/calendar/index.js +1 -0
  789. package/dist/utilities/calendar/international.d.ts +19 -0
  790. package/dist/utilities/calendar/resolve.d.ts +32 -0
  791. package/dist/utilities/calendar/resolve.js +12 -0
  792. package/dist/utilities/calendar/runtime.d.ts +49 -0
  793. package/dist/utilities/calendar/types.d.ts +140 -0
  794. package/dist/utilities/calendar/types.js +83 -0
  795. package/dist/utilities/functions/convertDateValue.d.ts +15 -2
  796. package/dist/utilities/functions/convertDateValue.js +22 -17
  797. package/dist/utilities/functions/elementLabel.d.ts +1 -1
  798. package/dist/utilities/functions/extractDomContainer.d.ts +1 -1
  799. package/dist/utilities/functions/isDateDisabled.d.ts +9 -1
  800. package/dist/utilities/functions/isDateDisabled.js +38 -21
  801. package/dist/utilities/functions/itemProps.d.ts +1 -1
  802. package/dist/utilities/functions/normalizeDateBound.d.ts +45 -2
  803. package/dist/utilities/functions/normalizeDateBound.js +52 -11
  804. package/dist/utilities/functions/parseSize.d.ts +2 -2
  805. package/dist/utilities/functions/readableValue.d.ts +1 -1
  806. package/dist/utilities/functions/responsiveDefault.d.ts +1 -1
  807. package/dist/utilities/functions/slotKey.d.ts +1 -1
  808. package/dist/utilities/functions/toggleInput.d.ts +1 -1
  809. package/dist/utilities/functions/warnRemovedAttrs.d.ts +3 -3
  810. package/dist/utilities/functions/when.d.ts +1 -1
  811. package/dist/utilities/misc/autofocus.d.ts +2 -2
  812. package/dist/utilities/misc/listboxMetrics.d.ts +1 -1
  813. package/dist/utilities/misc/maskaDataOptions.d.ts +1 -1
  814. package/dist/utilities/misc/ssrStateInjectionKey.d.ts +1 -1
  815. package/dist/utilities/misc/ssrValue.d.ts +1 -1
  816. package/dist/utils/configDefaults.d.ts +11 -1
  817. package/dist/utils/configDefaults.js +73 -43
  818. package/dist/utils/copyData.d.ts +2 -2
  819. package/dist/utils/cssLayers.d.ts +1 -1
  820. package/dist/utils/focusVisibility.d.ts +1 -1
  821. package/dist/utils/injectLibraryStyles.d.ts +1 -1
  822. package/dist/utils/overlayEscapeStack.d.ts +1 -1
  823. package/dist/utils/passthrough.d.ts +1 -1
  824. package/dist/utils/passthroughDeduper.d.ts +1 -1
  825. package/dist/utils/releasedActivator.d.ts +20 -0
  826. package/dist/utils/releasedActivator.js +11 -0
  827. package/dist/utils/versionCheck.d.ts +1 -1
  828. package/dist/utils/versionCheck.js +1 -1
  829. package/dist/vite-plugin.d.ts +90 -32
  830. package/dist/vite.js +416 -341
  831. package/llms.txt +4 -3
  832. package/package.json +51 -19
  833. package/scripts/README.md +2 -1
  834. package/scripts/lib/agent-manifest.mjs +105 -22
  835. package/scripts/lib/agent-refresh.mjs +151 -0
  836. package/scripts/lib/agent-setup.mjs +679 -0
  837. package/scripts/lib/carousel-items-without-slide.mjs +263 -0
  838. package/scripts/lib/carousel-prop-or-local.mjs +117 -0
  839. package/scripts/lib/check-fix.mjs +1 -1
  840. package/scripts/lib/collapsible-trigger-aria.mjs +1 -1
  841. package/scripts/lib/css-class-check.mjs +3 -3
  842. package/scripts/lib/css-local-check.mjs +25 -17
  843. package/scripts/lib/css-surface-answer.mjs +117 -0
  844. package/scripts/lib/define-preset-copy.mjs +1 -1
  845. package/scripts/lib/distributed-alias.mjs +81 -0
  846. package/scripts/lib/doc-sections.mjs +12 -4
  847. package/scripts/lib/dropdown-default-slot.mjs +1 -1
  848. package/scripts/lib/eslint-disable.mjs +58 -2
  849. package/scripts/lib/eslint-plugin.d.ts +10 -1
  850. package/scripts/lib/eslint-plugin.mjs +542 -64
  851. package/scripts/lib/form-v-model.mjs +1 -1
  852. package/scripts/lib/hand-imported-styles.mjs +2 -2
  853. package/scripts/lib/hand-roll-hints.mjs +25 -3
  854. package/scripts/lib/helper-canon.mjs +4 -4
  855. package/scripts/lib/helpers-add.mjs +39 -24
  856. package/scripts/lib/hidden-label-placeholder.mjs +1 -1
  857. package/scripts/lib/idiom-scan.mjs +4 -4
  858. package/scripts/lib/is-direct-run.mjs +20 -0
  859. package/scripts/lib/items-provider-context.mjs +1 -1
  860. package/scripts/lib/linked-target.mjs +26 -2
  861. package/scripts/lib/local-components.mjs +2 -2
  862. package/scripts/lib/locale-check.mjs +109 -13
  863. package/scripts/lib/mcp-config.mjs +140 -75
  864. package/scripts/lib/mcp-sdk.mjs +199 -0
  865. package/scripts/lib/migrate-fix.mjs +3 -3
  866. package/scripts/lib/plugin-options-check.mjs +170 -0
  867. package/scripts/lib/pnp.mjs +165 -0
  868. package/scripts/lib/portal-names.mjs +4 -4
  869. package/scripts/lib/prefer-v-bb-dialog.mjs +1 -1
  870. package/scripts/lib/project-variant-dts.mjs +80 -15
  871. package/scripts/lib/reactive-v-model.mjs +2 -2
  872. package/scripts/lib/redundant-item-accessor.mjs +1 -1
  873. package/scripts/lib/renamed-item-field.mjs +1 -1
  874. package/scripts/lib/renamed-slot-prop.mjs +524 -0
  875. package/scripts/lib/rule-registry.mjs +1 -1
  876. package/scripts/lib/setup-edits.mjs +1845 -0
  877. package/scripts/lib/setup.mjs +440 -0
  878. package/scripts/lib/slot-key.mjs +1 -1
  879. package/scripts/lib/slot-renames.mjs +3 -3
  880. package/scripts/lib/squashed-slot-words.mjs +1 -1
  881. package/scripts/lib/tab-links.mjs +2 -2
  882. package/scripts/lib/text-null-value.mjs +1 -1
  883. package/scripts/lib/toolchain-check.mjs +3 -3
  884. package/scripts/lib/tooling-options.mjs +87 -0
  885. package/scripts/lib/unimported-components.mjs +1 -1
  886. package/scripts/lib/unstyled-variants.mjs +1 -1
  887. package/scripts/lib/valid-locale.mjs +119 -0
  888. package/scripts/lib/validate-bb-markup.mjs +146 -102
  889. package/scripts/lib/wrapper-props.mjs +2 -2
  890. package/dist/components/BbNumberInput/warroom/corpus.d.ts +0 -58
  891. package/dist/components/BbNumberInput/warroom/currency-verify.rows.d.ts +0 -28
  892. package/dist/components/BbNumberInput/warroom/currency.rows.d.ts +0 -2
  893. package/dist/components/BbNumberInput/warroom/harness.d.ts +0 -217
  894. package/dist/components/BbNumberInput/warroom/oracle.d.ts +0 -150
  895. package/dist/components/BbTable/warroom/harness.d.ts +0 -260
  896. package/dist/utilities/functions/pipe.d.ts +0 -3
  897. package/dist/utilities/functions/range.js +0 -7
  898. package/scripts/lib/check-queue.mjs +0 -102
  899. package/scripts/lib/component-attr-targets.ts +0 -123
  900. package/scripts/lib/component-tree.ts +0 -648
  901. package/scripts/lib/consumer-install.mjs +0 -64
  902. package/scripts/lib/css-class-surface.mjs +0 -328
  903. package/scripts/lib/css-color-resolve.mjs +0 -296
  904. package/scripts/lib/css-comment-text.mjs +0 -16
  905. package/scripts/lib/design-token-manifest.mjs +0 -506
  906. package/scripts/lib/ensure-manifest.mjs +0 -135
  907. package/scripts/lib/example-checks.mjs +0 -337
  908. package/scripts/lib/guide-claims.mjs +0 -452
  909. package/scripts/lib/manifest-pointers.mjs +0 -71
  910. package/scripts/lib/pack.mjs +0 -55
  911. package/scripts/lib/public-type-exports.mjs +0 -273
  912. package/scripts/lib/quiet-gate.mjs +0 -385
  913. package/scripts/lib/recipe-excerpts.mjs +0 -98
  914. package/scripts/lib/swap-noun.mjs +0 -33
  915. package/scripts/lib/token-color-mix.mjs +0 -114
@@ -0,0 +1,1093 @@
1
+ # BbCarousel
2
+
3
+ ## Agent Contract
4
+
5
+ - Safety level: **Consumer API**
6
+ - Group: **Data Display**
7
+ - Description: Slides moved by swipe, arrows and dots.
8
+ - Usage rule: Prefer this component for consumer-facing implementations.
9
+ - Implementation source (only when the contract below is not enough): [source/BbCarousel.md](./source/BbCarousel.md)
10
+
11
+ ## Usage & Guidelines
12
+
13
+ ### When to use
14
+
15
+ `BbCarousel` is for a short run of slides the reader steps through: a hero, a
16
+ row of product cards, onboarding screens. Each child of the default slot is one
17
+ slide. The browser does the swiping (native scroll-snap: real momentum on touch
18
+ and trackpads), so it feels like the platform. For an image grid that opens a
19
+ full-screen viewer, use a gallery; for content the reader must compare side by
20
+ side, a grid or a table is clearer than a carousel.
21
+
22
+ ```vue
23
+ <BbCarousel label="Featured">
24
+ <img alt="Dolomites at dawn" src="/dolomites.jpg" />
25
+ <img alt="Cinque Terre harbour" src="/cinque-terre.jpg" />
26
+ <img alt="Matera at night" src="/matera.jpg" />
27
+ </BbCarousel>
28
+ ```
29
+
30
+ ### Layout at a glance
31
+
32
+ Three props cover the common case: `per-view` (slides in view), `bleed`
33
+ (run to the page edges) and `align` (`center` puts the current slide in the
34
+ middle, its neighbours peeking on both sides). They work the same whatever the slides are: images,
35
+ `slide` slot markup or plain children.
36
+
37
+ ```vue
38
+ <BbCarousel bleed :per-view="1.2" label="Stories">…</BbCarousel>
39
+ ```
40
+
41
+ Centred, the current slide sits in the middle and its neighbours peek on both
42
+ sides, the first and the last slides included:
43
+
44
+ **App screens, centred**
45
+
46
+ ```vue
47
+ <template>
48
+ <BbCarousel
49
+ align="center"
50
+ class="[--gap:20px] [--per-view:1.6] sm:[--per-view:2.6] lg:[--per-view:3.4]"
51
+ :items="screens"
52
+ label="Inside the app"
53
+ >
54
+ <template #slide="{ item, current }">
55
+ <figure class="m-0 grid gap-3">
56
+ <div
57
+ class="overflow-hidden rounded-[2rem] border-[6px] border-zinc-900 bg-zinc-900 transition motion-safe:duration-300"
58
+ :class="current ? 'scale-100' : 'scale-95 opacity-70'"
59
+ >
60
+ <img
61
+ :alt="`The ${item.title.toLowerCase()} screen`"
62
+ class="aspect-[390/844] w-full rounded-[1.6rem] object-cover"
63
+ loading="lazy"
64
+ :src="item.shot"
65
+ />
66
+ </div>
67
+ <figcaption class="grid gap-0.5 text-center text-sm">
68
+ <span class="font-medium">{{ item.title }}</span>
69
+ <span class="text-(--bb-text-muted)">{{ item.body }}</span>
70
+ </figcaption>
71
+ </figure>
72
+ </template>
73
+ </BbCarousel>
74
+ </template>
75
+
76
+ <script setup lang="ts">
77
+ import { BbCarousel } from 'bitboss-ui';
78
+
79
+ /** App screens, centred: the current screen in the middle, its neighbours
80
+ * peeking on both sides, the first and the last too. */
81
+ const screens = [
82
+ {
83
+ title: 'Plan a route',
84
+ body: 'Drop pins, get the climb and the hours.',
85
+ shot: 'https://picsum.photos/seed/app-route/390/844',
86
+ },
87
+ {
88
+ title: 'Pack the list',
89
+ body: 'A checklist that knows the forecast.',
90
+ shot: 'https://picsum.photos/seed/app-pack/390/844',
91
+ },
92
+ {
93
+ title: 'Share the trip',
94
+ body: 'Friends follow along, offline maps included.',
95
+ shot: 'https://picsum.photos/seed/app-share/390/844',
96
+ },
97
+ {
98
+ title: 'Log the miles',
99
+ body: 'Your season, in one quiet timeline.',
100
+ shot: 'https://picsum.photos/seed/app-log/390/844',
101
+ },
102
+ ];
103
+ </script>
104
+ ```
105
+
106
+ Left out, they set nothing. For anything finer (a value per breakpoint, a
107
+ bleed length or one side) set the CSS locals on the carousel instead, never
108
+ both for the same thing (`bitboss-ui/carousel-prop-or-local` flags it):
109
+ `class="[--per-view:1.2] md:[--per-view:3]"`. Every local, defaults in
110
+ brackets:
111
+
112
+ - `--per-view`: slides in view; a fraction shows a peek of the next (`1`).
113
+ - `--gap`: space between slides, never a `gap-*` utility (`16px`).
114
+ - `--align`: `start` or `center`, where the current slide sits (`start`).
115
+ - `--py`: room above and below the slides, so a ribbon, a shadow, a hover
116
+ lift or a focus outline poking out of a slide shows; nothing on the page
117
+ moves (`0px`).
118
+ - `--bleed`: lets the slides run past the carousel to the page edge, `auto`
119
+ or a length; per side `--bleed-start` / `--bleed-end` (`0`).
120
+ - `--ratio`: the crop of built-in images (`16 / 9`).
121
+ - `--r`: corner radius of the slides (the system radius).
122
+ - `--speed`: how long a move takes; `0ms` jumps (`300ms`).
123
+ - `--peek-click`: `off` stops a click on a peeking slide from bringing it in.
124
+ - `--dot` / `--dot-active`: the dot colours (light, over the slides).
125
+
126
+ ### Slides from data
127
+
128
+ `items` takes three shapes. Image URLs, or image entries (a `src` or a
129
+ `srcset`, with optional `sizes` and `alt`), render as cover-cropped images
130
+ with no slot; the crop is the `--ratio` local (default `16 / 9`), or the
131
+ carousel's own height when you give it one (cropped from the centre). An image
132
+ without `alt` (a bare URL included) is decorative, so add `alt` when the
133
+ images carry meaning.
134
+ The images in view and one either side load right away; the rest load lazily
135
+ as the reader nears them. Each slide keeps its state by item, not position,
136
+ so reordering `items` never hands one item's typed input or playing video to
137
+ another.
138
+
139
+ ```vue
140
+ <BbCarousel :items="photos" label="Trip photos" />
141
+ ```
142
+
143
+ Any other array renders through the `slide` slot (`{ item, index, active,
144
+ current }`: `active` while the slide is in view, `current` on the `v-model`
145
+ slide), and `item` is typed as your entry. The slot also wins over the
146
+ built-in image.
147
+
148
+ **Testimonials from data, two per view from md**
149
+
150
+ ```vue
151
+ <template>
152
+ <BbCarousel
153
+ class="md:[--per-view:2]"
154
+ :items="quotes"
155
+ label="What customers say"
156
+ loop
157
+ >
158
+ <template #slide="{ item }">
159
+ <figure
160
+ class="m-0 grid h-full content-between gap-4 rounded-(--bb-radius) border p-5"
161
+ >
162
+ <blockquote class="m-0 leading-relaxed">“{{ item.text }}”</blockquote>
163
+ <figcaption class="flex items-center gap-3">
164
+ <BbAvatar :alt="item.name" :src="item.avatar" />
165
+ <span class="grid text-sm">
166
+ <span class="font-medium">{{ item.name }}</span>
167
+ <span class="text-(--bb-text-muted)">{{ item.role }}</span>
168
+ </span>
169
+ </figcaption>
170
+ </figure>
171
+ </template>
172
+ </BbCarousel>
173
+ </template>
174
+
175
+ <script setup lang="ts">
176
+ import { BbAvatar, BbCarousel } from 'bitboss-ui';
177
+
178
+ /** Testimonials: markup slides from data, one per view on a phone, two from
179
+ * `md`, endless. The dots sit below the cards by themselves. */
180
+ const quotes = [
181
+ {
182
+ text: 'The jacket survived a week of sideways rain in Skye. My old one would have given up on day two.',
183
+ name: 'Ailsa Mackenzie',
184
+ role: 'Hiking guide, Portree',
185
+ avatar: 'https://picsum.photos/seed/face-ailsa/96/96',
186
+ },
187
+ {
188
+ text: 'Ordered on Monday, wore them up Monte Rosa on Saturday. No blisters, no break-in.',
189
+ name: 'Matteo Brambilla',
190
+ role: 'Alpinist, Biella',
191
+ avatar: 'https://picsum.photos/seed/face-matteo/96/96',
192
+ },
193
+ {
194
+ text: 'Returns were painless when the size was off. The replacement fit like it was measured for me.',
195
+ name: 'Ingrid Solheim',
196
+ role: 'Trail runner, Bergen',
197
+ avatar: 'https://picsum.photos/seed/face-ingrid/96/96',
198
+ },
199
+ {
200
+ text: 'The tote has carried groceries, climbing shoes and a sleepy dog. It still looks new.',
201
+ name: 'Kofi Mensah',
202
+ role: 'Illustrator, Lisbon',
203
+ avatar: 'https://picsum.photos/seed/face-kofi/96/96',
204
+ },
205
+ ];
206
+ </script>
207
+ ```
208
+
209
+ A slide can hold a carousel of its own: each card swipes its photos, the row
210
+ swipes the cards, and a drag moves only the carousel it starts on.
211
+
212
+ **Listings, a photo carousel in each card**
213
+
214
+ ```vue
215
+ <template>
216
+ <BbCarousel
217
+ class="[--per-view:1.1] md:[--per-view:2]"
218
+ :items="listings"
219
+ label="Homes for rent"
220
+ >
221
+ <template #slide="{ item: listing }">
222
+ <article class="grid gap-2">
223
+ <BbCarousel
224
+ class="[--ratio:4/3]"
225
+ :items="listing.photos"
226
+ :label="`Photos of ${listing.title}`"
227
+ loop
228
+ >
229
+ <template #overlay="{ index }">
230
+ <span
231
+ class="absolute top-3 left-3 rounded-full bg-black/60 px-2 py-0.5 text-xs text-white tabular-nums"
232
+ >
233
+ {{ index + 1 }} / {{ listing.photos.length }}
234
+ </span>
235
+ </template>
236
+ </BbCarousel>
237
+ <div class="grid gap-0.5 text-sm">
238
+ <p class="m-0 font-medium">{{ listing.title }}</p>
239
+ <p class="m-0 text-(--bb-text-muted)">
240
+ {{ listing.area }}, {{ listing.beds }} bed
241
+ </p>
242
+ <p class="m-0 font-medium">{{ listing.price }}</p>
243
+ </div>
244
+ </article>
245
+ </template>
246
+ </BbCarousel>
247
+ </template>
248
+
249
+ <script setup lang="ts">
250
+ import { BbCarousel } from 'bitboss-ui';
251
+
252
+ /** Listings: each card swipes its own photos, the row swipes the cards. A
253
+ * drag moves only the carousel it starts on. */
254
+ const listings = [
255
+ {
256
+ title: 'Loft over the old harbour',
257
+ area: 'Genova, Porto Antico',
258
+ beds: 2,
259
+ price: '€ 1,480 / month',
260
+ photos: [
261
+ {
262
+ src: 'https://picsum.photos/seed/loft-living/800/600',
263
+ alt: 'Living room with exposed beams',
264
+ },
265
+ {
266
+ src: 'https://picsum.photos/seed/loft-kitchen/800/600',
267
+ alt: 'Open kitchen with a long table',
268
+ },
269
+ {
270
+ src: 'https://picsum.photos/seed/loft-view/800/600',
271
+ alt: 'View over the harbour cranes',
272
+ },
273
+ ],
274
+ },
275
+ {
276
+ title: 'Garden flat near the park',
277
+ area: 'Torino, San Salvario',
278
+ beds: 1,
279
+ price: '€ 1,120 / month',
280
+ photos: [
281
+ {
282
+ src: 'https://picsum.photos/seed/garden-flat/800/600',
283
+ alt: 'Garden with a small terrace',
284
+ },
285
+ {
286
+ src: 'https://picsum.photos/seed/garden-living/800/600',
287
+ alt: 'Bright living room',
288
+ },
289
+ {
290
+ src: 'https://picsum.photos/seed/garden-bath/800/600',
291
+ alt: 'Tiled bathroom',
292
+ },
293
+ ],
294
+ },
295
+ {
296
+ title: 'Top floor with a terrace',
297
+ area: 'Milano, Isola',
298
+ beds: 3,
299
+ price: '€ 2,050 / month',
300
+ photos: [
301
+ {
302
+ src: 'https://picsum.photos/seed/terrace-top/800/600',
303
+ alt: 'Roof terrace with plants',
304
+ },
305
+ {
306
+ src: 'https://picsum.photos/seed/terrace-living/800/600',
307
+ alt: 'Living room with large windows',
308
+ },
309
+ {
310
+ src: 'https://picsum.photos/seed/terrace-night/800/600',
311
+ alt: 'The terrace at night',
312
+ },
313
+ ],
314
+ },
315
+ ];
316
+ </script>
317
+ ```
318
+
319
+ A number gives that many slides of your own markup; `item` is the index.
320
+
321
+ ```vue
322
+ <BbCarousel :items="3" label="Onboarding">
323
+ <template #slide="{ item }">
324
+ <OnboardingStep :step="item" />
325
+ </template>
326
+ </BbCarousel>
327
+ ```
328
+
329
+ ### Above and below each slide
330
+
331
+ `slide:header` and `slide:footer` add content inside each slide, above and
332
+ below what it shows: a title under a photo, a price under a card, a kicker
333
+ above a quote. They work on every kind of slide and get
334
+ `{ item, index, active, current }` (`item` undefined over a default-slot
335
+ child). With
336
+ built-in images the photo stays the built-in one, lazy loading, sizes and
337
+ crop included; in a carousel given a height, it shrinks to make room.
338
+
339
+ **A video row, the title under each thumbnail**
340
+
341
+ ```vue
342
+ <template>
343
+ <BbCarousel
344
+ class="[--per-view:1.2] [--ratio:16/9] sm:[--per-view:2.2] lg:[--per-view:3]"
345
+ :items="videos"
346
+ label="How-to videos"
347
+ >
348
+ <template #slide:footer="{ item }">
349
+ <div class="grid gap-0.5 pt-2 text-sm">
350
+ <p class="m-0 font-medium">{{ item?.title }}</p>
351
+ <p class="m-0 text-(--bb-text-muted)">{{ item?.channel }}</p>
352
+ </div>
353
+ </template>
354
+ <template #overlay="{ item }">
355
+ <div class="absolute inset-x-0 top-0 aspect-video">
356
+ <BbButton
357
+ :aria-label="`Play: ${item?.title}`"
358
+ class="absolute top-1/2 left-1/2 -translate-1/2"
359
+ icon="lucide:play"
360
+ variant="secondary"
361
+ />
362
+ <span
363
+ class="absolute right-2 bottom-2 rounded bg-black/70 px-1.5 py-0.5 text-xs text-white tabular-nums"
364
+ >
365
+ {{ item?.length }}
366
+ </span>
367
+ </div>
368
+ </template>
369
+ </BbCarousel>
370
+ </template>
371
+
372
+ <script setup lang="ts">
373
+ import { BbButton, BbCarousel } from 'bitboss-ui';
374
+
375
+ /** A video row: built-in 16:9 thumbnails, the title under each
376
+ * (`#slide:footer`), the play button and the length on top (`#overlay`). */
377
+ const videos = [
378
+ {
379
+ src: 'https://picsum.photos/seed/video-packing/640/360',
380
+ title: 'Packing a 40 litre pack for five days',
381
+ channel: 'Trail Notes',
382
+ length: '12:48',
383
+ },
384
+ {
385
+ src: 'https://picsum.photos/seed/video-wind/640/360',
386
+ title: 'Pitching a tent in strong wind',
387
+ channel: 'Trail Notes',
388
+ length: '7:15',
389
+ },
390
+ {
391
+ src: 'https://picsum.photos/seed/video-water/640/360',
392
+ title: 'Water filters compared',
393
+ channel: 'Gear Lab',
394
+ length: '18:02',
395
+ },
396
+ {
397
+ src: 'https://picsum.photos/seed/video-map/640/360',
398
+ title: 'Reading a topo map in ten minutes',
399
+ channel: 'Gear Lab',
400
+ length: '10:31',
401
+ },
402
+ ];
403
+ </script>
404
+ ```
405
+
406
+ ### Content on top of the slides
407
+
408
+ The `overlay` slot puts a layer on top of every slide, whatever the slide is
409
+ (a built-in image, `slide` slot markup or a default-slot child), and it moves
410
+ with its slide: captions, badges, decorative glyphs, buttons, an editorial
411
+ block. It gets `{ item, index, active, current }`; `item` is undefined over a
412
+ default-slot child. The layer is the slide's size and bare: place the content
413
+ yourself. Where it is empty, taps go through, so the slide still swipes,
414
+ drags and peek-clicks there.
415
+
416
+ **An editorial hero: copy and a link over each photo**
417
+
418
+ ```vue
419
+ <template>
420
+ <BbCarousel
421
+ :autoplay="6000"
422
+ class="h-[420px]"
423
+ :items="trips"
424
+ label="Featured trips"
425
+ loop
426
+ >
427
+ <template #overlay="{ item, active }">
428
+ <div
429
+ class="absolute inset-x-0 bottom-0 grid gap-2 bg-gradient-to-t from-black/75 via-black/40 to-transparent p-6 pb-12 text-white"
430
+ >
431
+ <p class="text-sm text-white/80">{{ item?.kicker }}</p>
432
+ <h3
433
+ class="max-w-[20ch] text-3xl leading-tight font-semibold tracking-tight transition motion-safe:duration-700"
434
+ :class="
435
+ active ? 'translate-y-0 opacity-100' : 'translate-y-2 opacity-0'
436
+ "
437
+ >
438
+ {{ item?.title }}
439
+ </h3>
440
+ <div>
441
+ <BbButton :href="item?.href" variant="secondary"
442
+ >See the trip</BbButton
443
+ >
444
+ </div>
445
+ </div>
446
+ </template>
447
+ </BbCarousel>
448
+ </template>
449
+
450
+ <script setup lang="ts">
451
+ import { BbButton, BbCarousel } from 'bitboss-ui';
452
+
453
+ /** A marketing hero: built-in photos, the copy and a real link on top. */
454
+ const trips = [
455
+ {
456
+ src: 'https://picsum.photos/seed/lysefjord/1600/900',
457
+ alt: 'A fjord between steep green slopes',
458
+ kicker: 'Norway, 4 days',
459
+ title: 'Walk the Lysefjord rim',
460
+ href: '#lysefjord',
461
+ },
462
+ {
463
+ src: 'https://picsum.photos/seed/abisko/1600/900',
464
+ alt: 'Green aurora over a lone pine',
465
+ kicker: 'Sweden, 5 nights',
466
+ title: 'Chase the aurora from Abisko',
467
+ href: '#abisko',
468
+ },
469
+ {
470
+ src: 'https://picsum.photos/seed/canyon-walls/1600/900',
471
+ alt: 'Red rock canyon walls lit by low sun',
472
+ kicker: 'Utah, 6 days',
473
+ title: 'Sleep under the canyon walls',
474
+ href: '#canyon',
475
+ },
476
+ ];
477
+ </script>
478
+ ```
479
+
480
+ The arrows sit at the middle of each side and the dots (with the pause button,
481
+ under autoplay) at the bottom centre, above the overlay: keep content clear of
482
+ them (the bottom padding above leaves the dots room) or move them with `pt`.
483
+
484
+ What the overlay holds is read with its slide ("2 of 5") and goes inert when
485
+ the slide leaves the view, so Tab never reaches a hidden button, and focus
486
+ inside it pauses autoplay. The rest is yours:
487
+
488
+ - Text over a photo has no contrast of its own: put it on a scrim or a solid
489
+ panel.
490
+ - The overlay adds to the image's `alt`, never repeats it; if the overlay
491
+ says it all, give the image `alt: ''`.
492
+ - Name every button and link for what it does ("Read the story", not "→").
493
+ - Mark decorative glyphs `aria-hidden="true"`.
494
+ - Animate with `motion-safe:` variants, so reduced motion gets none.
495
+ - A slide change announces "2 of 5", not the overlay's text: readers reach it
496
+ by reading the slide.
497
+
498
+ ### A thumbnail strip
499
+
500
+ Two carousels on one `v-model` stay in step: the main photo and a strip of
501
+ thumbnails. `picker` makes the strip pick the current slide: a tap makes a thumbnail
502
+ current (the photo follows), the strip marks it (`current`) and follows it,
503
+ keeping it in the middle slot with the ends clamped, the arrow keys step one
504
+ thumbnail at a time, and a swipe only browses. The value is the photo, so the
505
+ main carousel can show one or several per view.
506
+
507
+ **A gallery with a picker strip**
508
+
509
+ ```vue
510
+ <template>
511
+ <div class="grid gap-3">
512
+ <BbCarousel
513
+ v-model="photo"
514
+ class="[--ratio:3/2]"
515
+ :items="photos"
516
+ label="Lysefjord, day by day"
517
+ />
518
+ <BbCarousel
519
+ v-model="photo"
520
+ class="[--gap:8px] [--per-view:4.5] [--py:4px] md:[--per-view:6]"
521
+ :items="photos"
522
+ label="Thumbnails"
523
+ picker
524
+ pt:dots="hidden"
525
+ >
526
+ <template #slide="{ item, index, current }">
527
+ <button
528
+ :aria-current="current || undefined"
529
+ :aria-label="`Show photo ${index + 1}: ${item.alt}`"
530
+ class="relative block w-full overflow-hidden rounded-(--bb-radius) transition after:absolute after:inset-0 after:rounded-[inherit] after:border-2 after:border-transparent focus-visible:outline-none focus-visible:after:border-(--bb-ring)"
531
+ :class="
532
+ current
533
+ ? 'after:border-(--bb-primary)'
534
+ : 'opacity-60 hover:opacity-100'
535
+ "
536
+ type="button"
537
+ >
538
+ <img
539
+ alt=""
540
+ class="aspect-[3/2] w-full object-cover"
541
+ :src="item.src"
542
+ />
543
+ </button>
544
+ </template>
545
+ </BbCarousel>
546
+ </div>
547
+ </template>
548
+
549
+ <script setup lang="ts">
550
+ import { ref } from 'vue';
551
+ import { BbCarousel } from 'bitboss-ui';
552
+
553
+ /** A gallery: the photo and a `picker` strip of thumbnails on ONE
554
+ * `v-model`. No sync code: a tap picks, the photo follows, the strip keeps
555
+ * the current thumbnail in view. */
556
+ const photos = [
557
+ {
558
+ src: 'https://picsum.photos/seed/fjord-rim/1200/800',
559
+ alt: 'The fjord from the rim',
560
+ },
561
+ {
562
+ src: 'https://picsum.photos/seed/fjord-pines/1200/800',
563
+ alt: 'Pines in low cloud',
564
+ },
565
+ {
566
+ src: 'https://picsum.photos/seed/fjord-dawn/1200/800',
567
+ alt: 'Fog over the valley at dawn',
568
+ },
569
+ {
570
+ src: 'https://picsum.photos/seed/fjord-peaks/1200/800',
571
+ alt: 'Peaks at sunset',
572
+ },
573
+ {
574
+ src: 'https://picsum.photos/seed/fjord-walls/1200/800',
575
+ alt: 'Rock walls in low sun',
576
+ },
577
+ {
578
+ src: 'https://picsum.photos/seed/fjord-aurora/1200/800',
579
+ alt: 'Aurora over the last camp',
580
+ },
581
+ {
582
+ src: 'https://picsum.photos/seed/fjord-boat/1200/800',
583
+ alt: 'The ferry back',
584
+ },
585
+ {
586
+ src: 'https://picsum.photos/seed/fjord-hut/1200/800',
587
+ alt: 'A red hut by the water',
588
+ },
589
+ ];
590
+ const photo = ref(0);
591
+ </script>
592
+ ```
593
+
594
+ ### Slides per view and gap
595
+
596
+ Two locals on the root size the slides: `--per-view` (default `1`) and `--gap`
597
+ (default `16px`). Set them per breakpoint with utilities; a fraction shows a
598
+ peek of the next slide, which tells a phone reader there is more.
599
+
600
+ ```vue
601
+ <BbCarousel
602
+ class="[--gap:12px] [--per-view:1.25] sm:[--per-view:3]"
603
+ label="Products"
604
+ >
605
+ …
606
+ </BbCarousel>
607
+ ```
608
+
609
+ Several per view, the carousel moves a page at a time: as many slides as fit
610
+ whole (`--per-view: 2.3` pages by two). Nine slides at three per view are the
611
+ pages 1–3, 4–6, 7–9: the arrows and keys go 1 › 4 › 7, a swipe lands on a
612
+ page, and there is one dot per page. A last page that does not fill up shows
613
+ the last full view (nine at two per view: …, 7–8, 8–9). Over seven pages the
614
+ dots run in a window around the current one. When every slide fits, the
615
+ controls are not rendered. A fractional peek is not live: only the fully
616
+ visible slides take clicks and focus.
617
+
618
+ ### Bleeding to the page edge
619
+
620
+ The common marketing layout: the page sits in a centred column, and the
621
+ carousel's slides start on the column's edge but run across the whole screen
622
+ as they move, the last one stopping on the column's far edge. Keep the
623
+ carousel in the column and set `bleed` (or the local `--bleed: auto`): the
624
+ track spills to the nearest ancestor that clips sideways (else the page
625
+ edge, scrollbar excluded), while the slides are still sized from the column
626
+ and snap to its edge. The dots stay centred on the column; the arrows sit at the bleed's
627
+ edges, over the peeking slides.
628
+
629
+ **A shop row running to the page edges**
630
+
631
+ ```vue
632
+ <template>
633
+ <!-- The page column: the carousel sits in it, its slides run past it. -->
634
+ <div class="mx-auto max-w-[960px] px-4">
635
+ <BbCarousel
636
+ bleed
637
+ class="[--per-view:1.3] sm:[--per-view:2.5] lg:[--per-view:4]"
638
+ :items="products"
639
+ label="New this season"
640
+ >
641
+ <template #slide="{ item }">
642
+ <article class="grid gap-2">
643
+ <img
644
+ :alt="item.name"
645
+ class="aspect-[4/5] w-full rounded-(--bb-radius) bg-(--bb-muted) object-cover"
646
+ loading="lazy"
647
+ :src="item.photo"
648
+ />
649
+ <div class="grid gap-0.5 text-sm">
650
+ <p class="m-0 font-medium">{{ item.name }}</p>
651
+ <p class="m-0 flex items-baseline gap-2">
652
+ <span class="font-semibold">{{ item.price }}</span>
653
+ <s v-if="item.was" class="text-(--bb-text-muted)">{{
654
+ item.was
655
+ }}</s>
656
+ </p>
657
+ </div>
658
+ </article>
659
+ </template>
660
+ <template #overlay="{ item }">
661
+ <BbBadge v-if="item?.badge" class="absolute top-3 left-3">
662
+ {{ item.badge }}
663
+ </BbBadge>
664
+ <BbButton
665
+ v-if="item"
666
+ :aria-label="`Save ${item.name}`"
667
+ class="absolute top-2 right-2"
668
+ icon="lucide:heart"
669
+ :model-value="saved.has(item.id)"
670
+ variant="secondary"
671
+ @update:model-value="toggle(item.id)"
672
+ />
673
+ </template>
674
+ </BbCarousel>
675
+ </div>
676
+ </template>
677
+
678
+ <script setup lang="ts">
679
+ import { ref } from 'vue';
680
+ import { BbBadge, BbButton, BbCarousel } from 'bitboss-ui';
681
+
682
+ /** A shop row: cards through `#slide`, the badge and the save button on
683
+ * `#overlay`, the row running to the page edges (`bleed`). */
684
+ type Product = {
685
+ id: string;
686
+ name: string;
687
+ price: string;
688
+ was?: string;
689
+ photo: string;
690
+ badge?: string;
691
+ };
692
+
693
+ const products: Product[] = [
694
+ {
695
+ id: 'merino',
696
+ name: 'Merino crew, slate',
697
+ price: '€ 89',
698
+ photo: 'https://picsum.photos/seed/merino-crew/600/750',
699
+ badge: 'New',
700
+ },
701
+ {
702
+ id: 'runner',
703
+ name: 'Trail runner 3',
704
+ price: '€ 129',
705
+ was: '€ 159',
706
+ photo: 'https://picsum.photos/seed/trail-runner/600/750',
707
+ badge: 'Sale',
708
+ },
709
+ {
710
+ id: 'jacket',
711
+ name: 'Waxed field jacket',
712
+ price: '€ 239',
713
+ photo: 'https://picsum.photos/seed/field-jacket/600/750',
714
+ },
715
+ {
716
+ id: 'mug',
717
+ name: 'Enamel camp mug',
718
+ price: '€ 14',
719
+ photo: 'https://picsum.photos/seed/camp-mug/600/750',
720
+ },
721
+ {
722
+ id: 'vest',
723
+ name: 'Down vest, olive',
724
+ price: '€ 149',
725
+ photo: 'https://picsum.photos/seed/down-vest/600/750',
726
+ },
727
+ {
728
+ id: 'tote',
729
+ name: 'Canvas tote',
730
+ price: '€ 39',
731
+ photo: 'https://picsum.photos/seed/canvas-tote/600/750',
732
+ },
733
+ ];
734
+
735
+ const saved = ref(new Set<string>());
736
+ const toggle = (id: string) => {
737
+ const next = new Set(saved.value);
738
+ if (!next.delete(id)) next.add(id);
739
+ saved.value = next;
740
+ };
741
+ </script>
742
+ ```
743
+
744
+ It works on any slides, plain markup included:
745
+
746
+ ```vue
747
+ <div class="mx-auto max-w-[960px] px-4">
748
+ <BbCarousel bleed :per-view="1.2" label="Stories">
749
+ <article>…</article>
750
+ <article>…</article>
751
+ <article>…</article>
752
+ </BbCarousel>
753
+ </div>
754
+ ```
755
+
756
+ `--bleed` also takes a length, and per side `--bleed-start` / `--bleed-end`;
757
+ set it per breakpoint like the other locals (`lg:[--bleed:0px]`). `auto` is
758
+ measured in the browser, so a server-rendered page shows no bleed until the
759
+ carousel mounts, then the peeks appear; a length (the column's gutter, say
760
+ `[--bleed:16px]`) is pure CSS and exact from the first paint. `:bleed="false"`
761
+ sets the bleed to `0`. `auto` follows the reading direction (in RTL the start
762
+ side is the right). On a phone the column's gutter becomes the peek. A click
763
+ on a peeking slide brings it in; `--peek-click: off` turns that off. To dim
764
+ the slides outside the column, style the ones that are not `active` (in view;
765
+ it follows a swipe as it goes):
766
+
767
+ ```vue
768
+ <BbCarousel
769
+ bleed
770
+ pt:slide="opacity-40 transition-opacity"
771
+ pt:slide:active="opacity-100"
772
+ >…</BbCarousel>
773
+ ```
774
+
775
+ An ancestor with `overflow: hidden` between the carousel and the page edge
776
+ cuts the bleed at that ancestor; that is where `auto` stops.
777
+
778
+ ### Current slide, loop
779
+
780
+ `v-model` is the current slide, 0-based: any slide, whatever fits per view;
781
+ without it the carousel keeps its own. The current slide is `current` (the
782
+ slot prop and `pt:slide:current`); the slides in view are `active`. Writing it shows the page that holds it,
783
+ moving only if it is not in view already; an out-of-range value is brought
784
+ back to the first or last slide and written back. A click on a slide makes
785
+ it current, the view staying put; a page turned by the arrows, keys, dots,
786
+ autoplay or a swipe makes its first slide current (a swipe keeps the current
787
+ slide while it is still in view). `loop` makes the run endless: the buttons,
788
+ keys, autoplay and a swipe all carry on past the last page into the first,
789
+ with no rewind.
790
+
791
+ Because the value is the slide, the page can drive it: here the page's own
792
+ Back / Next and a progress bar share it, and the carousel's arrows are hidden.
793
+
794
+ **Onboarding driven from outside**
795
+
796
+ ```vue
797
+ <template>
798
+ <div class="grid max-w-md gap-4 rounded-(--bb-radius) border p-5">
799
+ <BbProgress
800
+ label="Setup progress"
801
+ :max="steps.length"
802
+ :model-value="step + 1"
803
+ />
804
+ <BbCarousel
805
+ v-model="step"
806
+ :items="steps"
807
+ label="Getting started"
808
+ pt:next="hidden"
809
+ pt:prev="hidden"
810
+ >
811
+ <template #slide="{ item }">
812
+ <div class="grid min-h-28 content-center gap-1">
813
+ <p class="m-0 text-lg font-semibold">{{ item.title }}</p>
814
+ <p class="m-0 text-sm text-(--bb-text-muted)">{{ item.body }}</p>
815
+ </div>
816
+ </template>
817
+ </BbCarousel>
818
+ <div class="mt-6 flex justify-between gap-2">
819
+ <BbButton :disabled="step === 0" variant="ghost" @click="step--">
820
+ Back
821
+ </BbButton>
822
+ <BbButton v-if="step < steps.length - 1" @click="step++">Next</BbButton>
823
+ <BbButton v-else @click="step = 0">Finish</BbButton>
824
+ </div>
825
+ </div>
826
+ </template>
827
+
828
+ <script setup lang="ts">
829
+ import { ref } from 'vue';
830
+ import { BbButton, BbCarousel, BbProgress } from 'bitboss-ui';
831
+
832
+ /** Onboarding driven from outside: the page's own Back / Next and a
833
+ * progress bar share the carousel's `v-model`; its arrows are hidden, the
834
+ * dots and the swipe stay. */
835
+ const steps = [
836
+ {
837
+ title: 'Pick your home store',
838
+ body: 'Rentals and repairs are booked there; you can change it any time.',
839
+ },
840
+ {
841
+ title: 'Tell us what you climb',
842
+ body: 'We use it to suggest gear and trips, nothing else.',
843
+ },
844
+ {
845
+ title: 'Turn on trip alerts',
846
+ body: 'One message when a rental is ready, one when it is due back.',
847
+ },
848
+ ];
849
+ const step = ref(0);
850
+ </script>
851
+ ```
852
+
853
+ A move takes 300 ms on CSS's `ease` curve, the motion Swiper uses; a move
854
+ that starts while the track is already moving (a quick second press, a released
855
+ drag) keeps the speed it has, so nothing stalls or kicks. `--speed` changes the
856
+ duration (`[--speed:450ms]`; `0ms` jumps), and under
857
+ `prefers-reduced-motion` every move jumps. A released drag goes where the
858
+ whole gesture points: a quick swipe one page on, a slower drag to the nearest
859
+ page; a wobble back just before letting go does not reverse it.
860
+
861
+ ### Autoplay
862
+
863
+ Off by default. `autoplay` (`true` = every 5 s, or a number of ms) advances and
864
+ wraps, following the APG rotation rules:
865
+
866
+ - it pauses while the pointer is over the carousel, while a finger holds it,
867
+ and while it is scrolled out of view or the page is hidden;
868
+ - keyboard focus entering it stops it until the reader presses Play;
869
+ - any move the reader makes restarts the countdown;
870
+ - it never runs under `prefers-reduced-motion`, and then shows no pause
871
+ button.
872
+
873
+ The pause button leads the dots' row: never over the slides' content, and
874
+ always shown (a touch screen cannot hover). Hide the dots with `pt:dot="hidden"`
875
+ and the pause button stays alone; `pt:dots="hidden"` hides the whole row,
876
+ pause included, so keep it for carousels without autoplay.
877
+
878
+ Keep it for decorative rotation; content the reader must see should not move
879
+ on its own.
880
+
881
+ **An announcement bar**
882
+
883
+ ```vue
884
+ <template>
885
+ <BbCarousel
886
+ :autoplay="4500"
887
+ :items="headlines"
888
+ label="Announcements"
889
+ loop
890
+ pt:dot="hidden"
891
+ >
892
+ <template #slide="{ item }">
893
+ <p
894
+ class="m-0 grid h-10 place-items-center rounded-(--bb-radius) bg-(--bb-primary) px-12 text-center text-sm font-medium text-(--bb-primary-fg)"
895
+ >
896
+ {{ item }}
897
+ </p>
898
+ </template>
899
+ </BbCarousel>
900
+ </template>
901
+
902
+ <script setup lang="ts">
903
+ import { BbCarousel } from 'bitboss-ui';
904
+
905
+ /** An announcement bar: a slim strip that turns on its own. The dots are
906
+ * hidden with `pt:dot`, so the pause button stays (`pt:dots` would hide it
907
+ * too). */
908
+ const headlines = [
909
+ 'Free repairs on everything bought since 2006, in any store.',
910
+ 'Winter rentals open on 18 November: book a weekend tent now.',
911
+ 'Returns are free for 60 days, even when the tags are off.',
912
+ ];
913
+ </script>
914
+ ```
915
+
916
+ ### Keyboard and touch
917
+
918
+ - Swipe or flick on touch and trackpads; a fast flick stops at the next page.
919
+ - Drag with the mouse on desktop; the click that ends a drag does not reach
920
+ the slide.
921
+ - With focus on the controls, after clicking a slide, or on a link or button
922
+ inside a slide: ArrowLeft / ArrowRight (mirrored in RTL), Home, End; from
923
+ inside a slide the focus follows to the current slide. Content that uses the
924
+ arrows itself (a text field, a slider, tabs, a nested carousel) keeps them.
925
+ - The arrows show on hover and while keyboard focus is inside; on touch they
926
+ stay hidden (the swipe is the gesture) but remain in the accessibility tree.
927
+ - On a coarse pointer the pause button reaches 44×44 and the dots 44px tall,
928
+ invisibly: nothing moves.
929
+
930
+ ### Restyling with passthrough
931
+
932
+ Parts: `root`, `slide`, `image`, `prev`, `next`, `dots`, `dot`, `pause`.
933
+ States: `active` (the slides in view, the current page's dot), `current` (the
934
+ `v-model` slide) and `disabled` (`prev` /
935
+ `next` at an end without `loop`). The slides' corner radius is the `--r`
936
+ local, the dot colours `--dot` / `--dot-active`.
937
+
938
+ The scroller that holds the slides is not a part, on purpose: its gap,
939
+ overflow, snapping and padding are what the slide widths and snap points are
940
+ computed from, so a class there breaks the carousel. Leave it alone. Its look
941
+ (a background behind the slides, a border or a shadow, the corners) goes on
942
+ the root, and the spacing is `--gap`: `class="[--gap:24px]"`, never a `gap-*`
943
+ utility.
944
+
945
+ ```vue
946
+ <BbCarousel
947
+ pt:dot:active="[--dot-active:var(--bb-primary)]"
948
+ label="…"
949
+ >…</BbCarousel>
950
+ ```
951
+
952
+ Where the dots sit depends on the slides. Over built-in images (`items` of
953
+ photos, no `slide` slot, no `slide:header` / `slide:footer`) they overlay the
954
+ bottom of the photos, on a pill.
955
+ Over anything else (cards, `slide` slot markup, plain children) they would
956
+ land on the content, so they sit in a row below the slides, in the page's
957
+ colours, with room reserved for them (a background painted on the root
958
+ covers that row too: give it its own `--dot` / `--dot-active`). The root
959
+ never clips, so `pt:dots` can still move them (photos with a caption at the
960
+ bottom want them below too) or hide them.
961
+
962
+ ```vue
963
+ <BbCarousel
964
+ pt:root="mb-8"
965
+ pt:dots="top-full bottom-auto mt-2 bg-transparent [--dot:var(--bb-text-muted)] [--dot-active:var(--bb-text)]"
966
+ label="…"
967
+ >…</BbCarousel>
968
+ <BbCarousel pt:dots="hidden" label="…">…</BbCarousel>
969
+ ```
970
+
971
+ The arrows are centred between two insets, so moving one takes a pair: set the
972
+ side it goes to and release the other.
973
+
974
+ ```vue
975
+ <BbCarousel
976
+ pt:prev="top-auto right-16 bottom-3 left-auto"
977
+ pt:next="top-auto bottom-3"
978
+ label="…"
979
+ >…</BbCarousel>
980
+ ```
981
+
982
+ ### Accessibility
983
+
984
+ - The APG carousel pattern: the root is a labelled region with
985
+ `aria-roledescription="carousel"`, each slide a group "3 of 8" with
986
+ `aria-roledescription="slide"`. Give the carousel a `label`.
987
+ - Slides out of view are `inert`, so Tab never lands on a hidden slide; when
988
+ the slide holding focus leaves, focus moves to the carousel, never to the
989
+ page.
990
+ - A move the reader makes is announced politely ("2 of 5") once it lands;
991
+ nothing is announced while autoplay runs (APG).
992
+ - The controls come before the slides in the tab order, the pause button
993
+ first; the dots are one Tab stop (the current dot).
994
+ - The server renders every slide live and no controls (it cannot know how
995
+ many fit); they appear once the carousel mounts.
996
+
997
+ ## v-model
998
+
999
+ - `v-model` — type: `number \| undefined`
1000
+
1001
+ ## Props
1002
+
1003
+ | Prop | Type | Default | Required | Description |
1004
+ | --- | --- | --- | --- | --- |
1005
+ | `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `dot`, `dots`, `image`, `next`, `overlay`, `pause`, `prev`, `root`, `slide`. States: `active`, `disabled`, `current`. What each one is: _Passthrough parts and states_ below. `pt` is the object form with the same keys minus the prefix (`{ icon: '…', 'icon:loading': '…' }`). See `guides/passthrough.md`. In `<script>` a `pt` value is typed `BbCarouselProps<Row>['pt']` (`BbCarouselProps<object>['pt']` for a preset that fits any row type, never `<any>`) (`PtValue` is not exported): § Typing `pt` in `<script>`. |
1006
+ | `align` | `"start" \| "center" \| undefined` | ``undefined` (the local's own default: `start`)` | | Where the current slide sits: `start` (the column's start edge) or `center` (the middle, neighbours peeking on both sides). Sets the `--align` local; leave it out to set the local yourself, never both (`bitboss-ui/carousel-prop-or-local`). |
1007
+ | `autoplay` | `number \| boolean \| undefined` | `false` | | Advance on a timer, in ms (`true` = 5000). Pauses while hovered, while focus is inside and with the pause button; never runs under `prefers-reduced-motion`. |
1008
+ | `bleed` | `boolean \| undefined` | ``undefined` (no bleed)` | | Lets the slides run past the carousel to the page edge, while they still snap to and size from the carousel (`--bleed: auto`). Leave it out to set the `--bleed` locals yourself (a length, one side, per breakpoint); never both (`bitboss-ui/carousel-prop-or-local`). |
1009
+ | `items` | `number \| readonly T[] \| undefined` | `undefined` | | The slides as data, rendered through the `slide` slot (`item` is the entry; with a number, that many slides and `item` is the index). Without the slot, an image URL or a `{ src, alt }` entry renders as a cover image. Without `items`, each default-slot child is a slide. |
1010
+ | `label` | `string \| undefined` | `undefined` | | The carousel's accessible name. Default: the locale's "Carousel". |
1011
+ | `loop` | `boolean \| undefined` | `false` | | An endless run: buttons, keys, autoplay, a swipe and a mouse drag all carry on past the last slide into the first (and back), with no rewind. |
1012
+ | `modelValue` | `number \| undefined` | `0` | | The current slide, 0-based, never clamped to a scroll position: the view shows the page that holds it. Out of range, it is brought back and written back. The current slide: any slide, 0 to the last. The view shows the page that holds it; a value out of range is brought back in and written back. |
1013
+ | `perView` | `number \| undefined` | ``undefined` (the local's own default: 1)` | | Slides in view; a fraction shows a peek of the next (`1.2`). Sets the `--per-view` local. Leave it out to set the local yourself, for instance per breakpoint (`class="[--per-view:1.2] md:[--per-view:3]"`); never both (`bitboss-ui/carousel-prop-or-local`). |
1014
+ | `picker` | `boolean \| undefined` | `false` | | A strip that picks the current slide, typically thumbnails under a big photo on the same `v-model` (also dates, colour swatches): it steps one slide at a time (arrows, keys), follows the current one, keeping it in the middle slot with the ends clamped, and a swipe only browses. |
1015
+
1016
+ ## Passthrough parts and states
1017
+
1018
+ `pt:<part>="…"` restyles a part; `pt:<part>:<state>="…"` applies only while the state is on. A component-wide state is on for every part at once; a _per node_ state resolves on each node of a broadcast part (one row, one option, one day). Grammar and merge rules: `guides/passthrough.md`. In `<script>`, type a `pt` value as `<Component>Props['pt']` (`<Component>Props<Row>['pt']` on a generic component); `PtValue` is not exported: `guides/passthrough.md` § Typing `pt` in `<script>`.
1019
+
1020
+ | Part | What it is |
1021
+ | --- | --- |
1022
+ | `root` | The carousel region (`aria-roledescription="carousel"`). Its locals size the slides: `--per-view` (slides in view, default `1`) and `--gap` (between slides, default `16px`). Set them per breakpoint with utilities (`class="md:[--per-view:2]"`). `--bleed` (`auto` or a length; per side `--bleed-start` / `--bleed-end`) lets the slides run past the root to the page edge while they still snap to the root's edge. `--speed` (default `300ms`) is how long a move takes. The root also carries what looks like the strip's own styling: a background behind the slides, a border or a shadow around them, the corners (`--r`). |
1023
+ | `slide` | One slide (`aria-roledescription="slide"`, "3 of 8"). |
1024
+ | `image` | The image an image-URL entry of `items`, or an entry with a `src` or a `srcset`, renders without a `slide` slot. Its crop is the root's `--ratio` local (default `16 / 9`), or the root's height when it has one. The track (the scroller between the root and the slides) is deliberately NOT a part: its gap, overflow, snapping and padding are the carousel's geometry (the slide widths, the snap points and the bleed are computed from the same values), so a class there breaks the carousel, and the root already covers every look a consumer needs. Weigh any change that would expose it, or add to what it does, against that. |
1025
+ | `overlay` | The layer the `overlay` slot renders on top of each slide: the slide's size, empty by default, letting taps through where it has no content. |
1026
+ | `prev` | The previous-slide button. |
1027
+ | `next` | The next-slide button. |
1028
+ | `dots` | The row of dot buttons. |
1029
+ | `dot` | One dot (one per page). |
1030
+ | `pause` | The autoplay pause / play button (only with `autoplay`), first in the dots' row. |
1031
+
1032
+ States are listed in precedence order: when two are on at once and their entries conflict, the later one wins.
1033
+
1034
+ | State | When it is on |
1035
+ | --- | --- |
1036
+ | `current` | Per node, on `slide`: the current slide (the `v-model`). |
1037
+ | `disabled` | Per node, on `prev` / `next`: the button at an end without `loop`. |
1038
+ | `active` | Per node, on `slide` / `dot`: a slide in view (a fractional peek and, with `--bleed`, the slides outside the root are not), live while a swipe runs; the current page's dot. |
1039
+
1040
+ ## Events
1041
+
1042
+ - `update:modelValue` — `(value: number): void` — Emitted with the new value whenever `v-model` changes.
1043
+
1044
+ ## Slots
1045
+
1046
+ - `default` — scope: `any` — The slides: one per child.
1047
+ - `overlay` — scope: `BbCarouselSlotProps<T \| undefined>` `{ item: T; index: number; active: boolean; current: boolean }` — A layer on top of each slide (any kind), moving with it: captions, badges, glyphs, buttons.
1048
+ - `slide` — scope: `BbCarouselSlotProps<T>` `{ item: T; index: number; active: boolean; current: boolean }` — One slide's content, from `items` (replaces the built-in image).
1049
+ - `slide:footer` — scope: `BbCarouselSlotProps<T \| undefined>` `{ item: T; index: number; active: boolean; current: boolean }` — Below each slide's content, inside the slide (any kind of slide): a caption, a price, a link.
1050
+ - `slide:header` — scope: `BbCarouselSlotProps<T \| undefined>` `{ item: T; index: number; active: boolean; current: boolean }` — Above each slide's content, inside the slide (any kind of slide; the built-in image keeps its lazy loading, sizes and crop): a kicker, a title.
1051
+
1052
+ ## CSS custom properties
1053
+
1054
+ Set these on the element, or on a class you put on it, to retune this component alone — the sanctioned alternative to reaching past the API with `:deep()`. They are this component's own locals — a **Set on** of `pt:<part>` means the local lives on that part's element, so set it through that entry (`pt:box="[--border-color:var(--color-green-500)]"`); the global `--bb-*` theme tokens are a separate tier (see the [design-tokens guide](./guides/design-tokens.md), or the MCP `list_tokens` tool).
1055
+
1056
+ | Property | Set on | Default | What it is |
1057
+ | --- | --- | --- | --- |
1058
+ | `--per-view` | `.bb-carousel` | `1` | |
1059
+ | `--gap` | `.bb-carousel` | `16px` | |
1060
+ | `--r` | `.bb-carousel` | `var(--bb-radius)` | |
1061
+ | `--ratio` | `.bb-carousel` | `16 / 9` | |
1062
+ | `--dot` | `.bb-carousel` | `rgb(255 255 255 / 0.8)` | |
1063
+ | `--dot-active` | `.bb-carousel` | `rgb(255 255 255)` | |
1064
+ | `--speed` | `.bb-carousel` | `300ms` | |
1065
+ | `--align` | `.bb-carousel` | `start` | |
1066
+ | `--py` | `.bb-carousel` | `0px` | Room above and below the slides inside the track (see the track). |
1067
+ | `--bleed` | `.bb-carousel` | `0px` | |
1068
+ | `--bleed-start` | `.bb-carousel` | `var(--bleed)` | |
1069
+ | `--bleed-end` | `.bb-carousel` | `var(--bleed)` | |
1070
+ | `--_bs` | `.bb-carousel` | `var(--_bleed-start, var(--bleed-start))` | The resolved bleed per side (the measured `auto`, or the length): read by the track and, when bled, by the arrows. |
1071
+ | `--_be` | `.bb-carousel` | `var(--_bleed-end, var(--bleed-end))` | |
1072
+ | `--arrow` | `.bb-carousel` | `clamp( 28px, (100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view) * 0.0…` | The controls scale with ONE SLIDE: a wide hero gets big arrows, a row of narrow cards small ones, at the same carousel width. A percentage, not `cqi`: they are absolutely positioned, so `100%` is the root's width. A size container (`container-type: inline-size`) would collapse a carousel that takes its width from its content (a centred flex column, Storybook's own canvas) to 0. Read where it is used, so only in a `width` (never a `height`: there `%` is the root's height). |
1073
+ | `--inset` | `.bb-carousel` | `12px` | |
1074
+ | `--_tr` | `.bb-carousel__track` | `var(--r)` | Rounded too: a slide half out of view is cut by the track's edge, and a square edge there would square its corners mid-swipe. |
1075
+ | `--_dots-band` | `.bb-carousel--dots-below` | `24px` | |
1076
+ | `--dot` | `.bb-carousel--dots-below` | `var(--bb-text-muted)` | |
1077
+ | `--dot-active` | `.bb-carousel--dots-below` | `var(--bb-text)` | |
1078
+
1079
+ ## Component tree
1080
+
1081
+ `BbCarousel` is not one component: rendering it mounts every component below, and each one is live inside it. **Read this before styling, theming or debugging `BbCarousel`, and before concluding a part, a token or a behaviour does not exist** — it may live on a component further down. How to read it:
1082
+
1083
+ - **_internal_** nodes are building blocks with no API of their own: you reach them only through `BbCarousel`. A pt part listed as landing there is set on `BbCarousel` (`pt:<part>`).
1084
+ - **_public_** nodes are components with their own contract. `BbCarousel` reaches one only through a pt part of its own that lands on it (shown on the parent node as `part → Component`, e.g. `spinner → BbSpinner`) or through a pt map it hands it (shown as "hands … the pt map", in `BbCarousel`'s words → the child's). The child's other props and parts are not exposed; its contract explains what it renders.
1085
+ - **CSS custom properties** listed on a node are declared on THAT node's root and read by elements inside it. Set one on that node's root or on the element inside it that reads it — the pt part that lands there is how you reach it (`pt:box="[--border-color:…]"` on a text input) — never on `BbCarousel`'s root, where the node's own declaration masks it (design-tokens guide, _Overriding one from a consumer app_, rule 0).
1086
+ - Listed nodes are the ones `BbCarousel`'s API reaches or that declare a documented CSS variable; the rest fold into "also mounts". The complete tree, undocumented locals included, is `manifest/components/BbCarousel.tree.json` (a public component in it is a name: its own tree file has the rest).
1087
+
1088
+ - `BbCarousel` _(this component)_ — its own template binds: `dots` → `div.bb-carousel__dots`, `pause` → `button.bb-carousel__pause`, `dot` → `button.bb-carousel__dot`, `prev` → `button.bb-carousel__arrow`, `next` → `button.bb-carousel__arrow`, `slide` → `div.bb-carousel__slide`, `image` → `img.bb-carousel__image`, `overlay` → `div.bb-carousel__overlay`
1089
+ - Also mounts `BbIcon`
1090
+
1091
+ ## See Also
1092
+
1093
+ - [BbTabs](./BbTabs.md) — Switches between views of one page from a row of tabs. For the tabs and their panels in different places of the layout, use BbTabsRoot with BbTabsList and BbTabsPanels.