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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (541) hide show
  1. package/README.md +1 -1
  2. package/bin/bitboss-ui-mcp.mjs +87 -19
  3. package/bin/bitboss-ui.mjs +6 -2
  4. package/dist/ai/BbAlert.md +15 -11
  5. package/dist/ai/BbAsterisk.md +1 -1
  6. package/dist/ai/BbAvatar.md +2 -2
  7. package/dist/ai/BbBadge.md +4 -4
  8. package/dist/ai/BbBaseCheckboxIcon.md +4 -0
  9. package/dist/ai/BbBaseRadioIcon.md +7 -3
  10. package/dist/ai/BbBaseSwitchIcon.md +11 -2
  11. package/dist/ai/BbBreadcrumbs.md +2 -2
  12. package/dist/ai/BbButton.md +62 -9
  13. package/dist/ai/BbCalendar.md +1 -1
  14. package/dist/ai/BbCheckbox.md +23 -5
  15. package/dist/ai/BbCheckboxGroup.md +52 -25
  16. package/dist/ai/BbColorInput.md +13 -12
  17. package/dist/ai/BbColorPalette.md +5 -5
  18. package/dist/ai/BbConfigScope.md +218 -0
  19. package/dist/ai/BbConfirm.md +24 -21
  20. package/dist/ai/BbDatePicker.md +4 -4
  21. package/dist/ai/BbDatePickerInput.md +16 -15
  22. package/dist/ai/BbDialog.md +10 -9
  23. package/dist/ai/BbDropdown.md +26 -16
  24. package/dist/ai/BbDropdownButton.md +18 -18
  25. package/dist/ai/BbDropzone.md +1 -1
  26. package/dist/ai/BbForm.md +6 -4
  27. package/dist/ai/BbHost.md +19 -13
  28. package/dist/ai/BbIcon.md +3 -3
  29. package/dist/ai/BbIndicator.md +4 -4
  30. package/dist/ai/BbNumberInput.md +17 -13
  31. package/dist/ai/BbOffCanvas.md +4 -3
  32. package/dist/ai/BbPagination.md +10 -2
  33. package/dist/ai/BbPopover.md +5 -5
  34. package/dist/ai/BbRadio.md +23 -4
  35. package/dist/ai/BbRadioGroup.md +69 -30
  36. package/dist/ai/BbRating.md +5 -5
  37. package/dist/ai/BbSelect.md +74 -39
  38. package/dist/ai/BbSelectPopover.md +28 -26
  39. package/dist/ai/BbSlider.md +258 -61
  40. package/dist/ai/BbSpinner.md +2 -2
  41. package/dist/ai/BbSwitch.md +27 -4
  42. package/dist/ai/BbSwitchGroup.md +22 -13
  43. package/dist/ai/BbTable.md +10 -5
  44. package/dist/ai/BbTabs.md +6 -6
  45. package/dist/ai/BbTabsRoot.md +1 -1
  46. package/dist/ai/BbTag.md +12 -11
  47. package/dist/ai/BbTextInput.md +25 -17
  48. package/dist/ai/BbTextarea.md +15 -14
  49. package/dist/ai/BbTimePicker.md +3 -3
  50. package/dist/ai/BbTimePickerInput.md +12 -11
  51. package/dist/ai/BbToast.md +65 -26
  52. package/dist/ai/BbTooltip.md +2 -2
  53. package/dist/ai/CommonField.md +2 -2
  54. package/dist/ai/CommonFieldInput.md +2 -1
  55. package/dist/ai/FlatListBox.md +4 -3
  56. package/dist/ai/GroupedListBox.md +4 -3
  57. package/dist/ai/ListBox.md +5 -4
  58. package/dist/ai/OptionsContainer.md +17 -1
  59. package/dist/ai/changelog.json +454 -7
  60. package/dist/ai/components.json +77 -69
  61. package/dist/ai/composables/useBbConfig.md +3 -3
  62. package/dist/ai/composables/useBbDialog.md +1 -1
  63. package/dist/ai/composables/useBbFormField.md +1 -1
  64. package/dist/ai/composables/useConfirm.md +1 -1
  65. package/dist/ai/composables/useToast.md +16 -16
  66. package/dist/ai/design-tokens.json +10 -5
  67. package/dist/ai/guides/agent-contract.md +8 -8
  68. package/dist/ai/guides/ai-router.md +1 -1
  69. package/dist/ai/guides/app-layout.md +1 -1
  70. package/dist/ai/guides/design-language.md +17 -13
  71. package/dist/ai/guides/design-tokens.md +81 -42
  72. package/dist/ai/guides/eslint-rules.md +3 -1
  73. package/dist/ai/guides/fetch-items-playbook.md +1 -1
  74. package/dist/ai/guides/icons-policy.md +1 -1
  75. package/dist/ai/guides/inline-edit-playbook.md +1 -1
  76. package/dist/ai/guides/installation-and-plugin-setup.md +335 -161
  77. package/dist/ai/guides/migration/adoption-checklist.md +5 -5
  78. package/dist/ai/guides/migration/components/bb-alert.md +2 -2
  79. package/dist/ai/guides/migration/components/bb-badge.md +1 -1
  80. package/dist/ai/guides/migration/components/bb-checkbox-group.md +15 -15
  81. package/dist/ai/guides/migration/components/bb-dialog.md +2 -2
  82. package/dist/ai/guides/migration/components/bb-dropdown.md +1 -1
  83. package/dist/ai/guides/migration/components/bb-host.md +10 -8
  84. package/dist/ai/guides/migration/components/bb-offcanvas.md +1 -1
  85. package/dist/ai/guides/migration/components/bb-select-popover.md +2 -2
  86. package/dist/ai/guides/migration/components/bb-select.md +3 -3
  87. package/dist/ai/guides/migration/components/bb-slider.md +17 -2
  88. package/dist/ai/guides/migration/components/bb-tabs.md +1 -1
  89. package/dist/ai/guides/migration/components/bb-toast.md +6 -6
  90. package/dist/ai/guides/migration/components/use-confirm.md +1 -1
  91. package/dist/ai/guides/migration/v2-to-v3.md +191 -56
  92. package/dist/ai/guides/migration/v3-beta-tooling.md +2 -2
  93. package/dist/ai/guides/passthrough.md +140 -131
  94. package/dist/ai/guides/typescript-generic-components.md +7 -7
  95. package/dist/ai/guides/validated-forms.md +5 -5
  96. package/dist/ai/guides/validation-libraries.md +4 -4
  97. package/dist/ai/helpers/inertia/manifest.json +1 -1
  98. package/dist/ai/index.md +3 -3
  99. package/dist/ai/manifest/common.json +9 -11
  100. package/dist/ai/manifest/components/BbAlert.json +3 -2
  101. package/dist/ai/manifest/components/BbAvatar.json +2 -1
  102. package/dist/ai/manifest/components/BbBadge.json +3 -2
  103. package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +5 -1
  104. package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +7 -3
  105. package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +9 -1
  106. package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
  107. package/dist/ai/manifest/components/BbButton.json +4 -3
  108. package/dist/ai/manifest/components/BbButton.tree.json +3 -1
  109. package/dist/ai/manifest/components/BbCalendar.tree.json +1 -0
  110. package/dist/ai/manifest/components/BbCheckbox.json +4 -3
  111. package/dist/ai/manifest/components/BbCheckbox.tree.json +1 -1
  112. package/dist/ai/manifest/components/BbCheckboxGroup.json +17 -14
  113. package/dist/ai/manifest/components/BbCheckboxGroup.removed.json +1 -1
  114. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +25 -4
  115. package/dist/ai/manifest/components/BbColorInput.json +6 -5
  116. package/dist/ai/manifest/components/BbColorInput.tree.json +4 -3
  117. package/dist/ai/manifest/components/BbColorPalette.json +2 -1
  118. package/dist/ai/manifest/components/BbColorPalette.tree.json +2 -1
  119. package/dist/ai/manifest/components/BbConfigScope.json +23 -0
  120. package/dist/ai/manifest/components/BbConfirm.json +2 -1
  121. package/dist/ai/manifest/components/BbConfirm.tree.json +2 -2
  122. package/dist/ai/manifest/components/BbDatePicker.json +2 -1
  123. package/dist/ai/manifest/components/BbDatePicker.tree.json +2 -2
  124. package/dist/ai/manifest/components/BbDatePickerInput.json +6 -5
  125. package/dist/ai/manifest/components/BbDatePickerInput.tree.json +6 -4
  126. package/dist/ai/manifest/components/BbDialog.json +3 -2
  127. package/dist/ai/manifest/components/BbDialog.tree.json +2 -2
  128. package/dist/ai/manifest/components/BbDropdown.json +7 -4
  129. package/dist/ai/manifest/components/BbDropdown.tree.json +1 -1
  130. package/dist/ai/manifest/components/BbDropdownButton.json +11 -8
  131. package/dist/ai/manifest/components/BbDropdownButton.tree.json +3 -3
  132. package/dist/ai/manifest/components/BbDropzone.json +1 -0
  133. package/dist/ai/manifest/components/BbForm.json +1 -1
  134. package/dist/ai/manifest/components/BbHost.tree.json +1 -1
  135. package/dist/ai/manifest/components/BbIcon.json +2 -1
  136. package/dist/ai/manifest/components/BbIndicator.json +2 -1
  137. package/dist/ai/manifest/components/BbNumberInput.json +5 -4
  138. package/dist/ai/manifest/components/BbNumberInput.tree.json +3 -2
  139. package/dist/ai/manifest/components/BbOffCanvas.json +2 -1
  140. package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
  141. package/dist/ai/manifest/components/BbPagination.json +1 -1
  142. package/dist/ai/manifest/components/BbPagination.tree.json +2 -1
  143. package/dist/ai/manifest/components/BbPopover.json +2 -1
  144. package/dist/ai/manifest/components/BbPopover.tree.json +1 -1
  145. package/dist/ai/manifest/components/BbRadio.json +3 -2
  146. package/dist/ai/manifest/components/BbRadio.tree.json +1 -1
  147. package/dist/ai/manifest/components/BbRadioGroup.json +21 -18
  148. package/dist/ai/manifest/components/BbRadioGroup.removed.json +1 -1
  149. package/dist/ai/manifest/components/BbRadioGroup.tree.json +25 -4
  150. package/dist/ai/manifest/components/BbRating.json +3 -2
  151. package/dist/ai/manifest/components/BbSelect.json +11 -9
  152. package/dist/ai/manifest/components/BbSelect.tree.json +7 -5
  153. package/dist/ai/manifest/components/BbSelectPopover.json +11 -9
  154. package/dist/ai/manifest/components/BbSelectPopover.tree.json +5 -2
  155. package/dist/ai/manifest/components/BbSlider.json +20 -18
  156. package/dist/ai/manifest/components/BbSlider.removed.json +3 -0
  157. package/dist/ai/manifest/components/BbSlider.tree.json +4 -2
  158. package/dist/ai/manifest/components/BbSwitch.json +2 -1
  159. package/dist/ai/manifest/components/BbSwitch.tree.json +1 -1
  160. package/dist/ai/manifest/components/BbSwitchGroup.json +7 -5
  161. package/dist/ai/manifest/components/BbSwitchGroup.removed.json +1 -1
  162. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +6 -2
  163. package/dist/ai/manifest/components/BbTable.json +3 -2
  164. package/dist/ai/manifest/components/BbTable.tree.json +4 -3
  165. package/dist/ai/manifest/components/BbTabs.json +3 -2
  166. package/dist/ai/manifest/components/BbTabsRoot.json +2 -2
  167. package/dist/ai/manifest/components/BbTag.json +6 -5
  168. package/dist/ai/manifest/components/BbTag.tree.json +3 -2
  169. package/dist/ai/manifest/components/BbTextInput.json +5 -4
  170. package/dist/ai/manifest/components/BbTextInput.tree.json +3 -2
  171. package/dist/ai/manifest/components/BbTextarea.json +6 -5
  172. package/dist/ai/manifest/components/BbTextarea.tree.json +3 -2
  173. package/dist/ai/manifest/components/BbTimePicker.json +2 -1
  174. package/dist/ai/manifest/components/BbTimePicker.tree.json +1 -1
  175. package/dist/ai/manifest/components/BbTimePickerInput.json +6 -5
  176. package/dist/ai/manifest/components/BbTimePickerInput.tree.json +5 -3
  177. package/dist/ai/manifest/components/BbToast.json +2 -1
  178. package/dist/ai/manifest/components/BbToast.tree.json +6 -1
  179. package/dist/ai/manifest/components/BbTooltip.json +1 -0
  180. package/dist/ai/manifest/components/CommonField.json +2 -2
  181. package/dist/ai/manifest/components/CommonFieldInput.json +2 -2
  182. package/dist/ai/manifest/components/CommonFieldInput.tree.json +2 -0
  183. package/dist/ai/manifest/components/FlatListBox.json +1 -1
  184. package/dist/ai/manifest/components/FlatListBox.tree.json +2 -1
  185. package/dist/ai/manifest/components/GroupedListBox.json +1 -1
  186. package/dist/ai/manifest/components/GroupedListBox.tree.json +2 -1
  187. package/dist/ai/manifest/components/ListBox.json +1 -1
  188. package/dist/ai/manifest/components/ListBox.tree.json +2 -2
  189. package/dist/ai/manifest/components/OptionsContainer.json +3 -2
  190. package/dist/ai/manifest/components/OptionsContainer.tree.json +16 -1
  191. package/dist/ai/manifest/index.json +3 -3
  192. package/dist/ai/manifest/meta.json +16 -7
  193. package/dist/ai/manifest/types.advanced.json +5 -6
  194. package/dist/ai/manifest/types.api.json +15 -6
  195. package/dist/ai/manifest/types.wrapper.json +2 -2
  196. package/dist/ai/recipes/inertia/approvals-inbox.md +2 -2
  197. package/dist/ai/recipes/inertia/inline-edit-workspace.md +13 -9
  198. package/dist/ai/recipes/inertia/onboarding.md +2 -2
  199. package/dist/ai/recipes/inertia/ownership-atlas.md +2 -2
  200. package/dist/ai/recipes/inertia/record-form.md +2 -2
  201. package/dist/ai/recipes/inertia/records-workspace.md +2 -2
  202. package/dist/ai/recipes/inertia/settings-workspace.md +5 -4
  203. package/dist/ai/recipes/inertia/upload-center.md +3 -3
  204. package/dist/ai/recipes/inertia/wizard-form.md +2 -2
  205. package/dist/ai/recipes/nuxt/approvals-inbox.md +2 -2
  206. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +13 -9
  207. package/dist/ai/recipes/nuxt/onboarding.md +2 -2
  208. package/dist/ai/recipes/nuxt/ownership-atlas.md +2 -2
  209. package/dist/ai/recipes/nuxt/record-form.md +2 -2
  210. package/dist/ai/recipes/nuxt/records-workspace.md +2 -2
  211. package/dist/ai/recipes/nuxt/settings-workspace.md +5 -4
  212. package/dist/ai/recipes/nuxt/upload-center.md +4 -4
  213. package/dist/ai/recipes/nuxt/wizard-form.md +2 -2
  214. package/dist/ai/recipes/vue/approvals-inbox.md +2 -2
  215. package/dist/ai/recipes/vue/inline-edit-workspace.md +13 -9
  216. package/dist/ai/recipes/vue/onboarding.md +2 -2
  217. package/dist/ai/recipes/vue/ownership-atlas.md +2 -2
  218. package/dist/ai/recipes/vue/record-form.md +2 -2
  219. package/dist/ai/recipes/vue/records-workspace.md +2 -2
  220. package/dist/ai/recipes/vue/settings-workspace.md +5 -4
  221. package/dist/ai/recipes/vue/upload-center.md +4 -4
  222. package/dist/ai/recipes/vue/wizard-form.md +2 -2
  223. package/dist/ai/source/BbAlert.md +10 -4
  224. package/dist/ai/source/BbAvatar.md +5 -4
  225. package/dist/ai/source/BbBadge.md +16 -9
  226. package/dist/ai/source/BbBadgeButton.md +1 -1
  227. package/dist/ai/source/BbBaseCheckboxIcon.md +7 -5
  228. package/dist/ai/source/BbBaseRadioIcon.md +17 -11
  229. package/dist/ai/source/BbBaseSwitchIcon.md +14 -9
  230. package/dist/ai/source/BbButton.md +38 -22
  231. package/dist/ai/source/BbCalendar.md +5 -30
  232. package/dist/ai/source/BbCheckbox.md +20 -7
  233. package/dist/ai/source/BbCheckboxGroup.md +66 -27
  234. package/dist/ai/source/BbColorInput.md +29 -22
  235. package/dist/ai/source/BbColorPalette.md +23 -22
  236. package/dist/ai/source/BbConfigScope.md +123 -0
  237. package/dist/ai/source/BbConfirm.md +5 -3
  238. package/dist/ai/source/BbDatePicker.md +18 -8
  239. package/dist/ai/source/BbDatePickerInput.md +44 -27
  240. package/dist/ai/source/BbDialog.md +23 -13
  241. package/dist/ai/source/BbDropdown.md +61 -25
  242. package/dist/ai/source/BbDropdownButton.md +67 -25
  243. package/dist/ai/source/BbDropdownGroup.md +38 -15
  244. package/dist/ai/source/BbForm.md +1 -1
  245. package/dist/ai/source/BbHost.md +4 -4
  246. package/dist/ai/source/BbHoverCard.md +6 -2
  247. package/dist/ai/source/BbIcon.md +5 -4
  248. package/dist/ai/source/BbIndicator.md +1 -1
  249. package/dist/ai/source/BbNumberInput.md +44 -30
  250. package/dist/ai/source/BbOffCanvas.md +17 -10
  251. package/dist/ai/source/BbPagination.md +10 -18
  252. package/dist/ai/source/BbPopover.md +17 -9
  253. package/dist/ai/source/BbPopoverPortal.md +2 -2
  254. package/dist/ai/source/BbRadio.md +18 -7
  255. package/dist/ai/source/BbRadioGroup.md +67 -27
  256. package/dist/ai/source/BbRating.md +21 -11
  257. package/dist/ai/source/BbSelect.md +51 -32
  258. package/dist/ai/source/BbSelectPopover.md +81 -38
  259. package/dist/ai/source/BbSlider.md +929 -565
  260. package/dist/ai/source/BbSwitchGroup.md +28 -9
  261. package/dist/ai/source/BbTable.md +17 -30
  262. package/dist/ai/source/BbTabs.md +5 -2
  263. package/dist/ai/source/BbTabsList.md +1 -1
  264. package/dist/ai/source/BbTabsPanels.md +1 -1
  265. package/dist/ai/source/BbTabsRoot.md +1 -1
  266. package/dist/ai/source/BbTag.md +27 -20
  267. package/dist/ai/source/BbTextInput.md +29 -26
  268. package/dist/ai/source/BbTextarea.md +53 -45
  269. package/dist/ai/source/BbTimePicker.md +19 -7
  270. package/dist/ai/source/BbTimePickerInput.md +34 -21
  271. package/dist/ai/source/BbToast.md +18 -9
  272. package/dist/ai/source/BbToastPortal.md +14 -6
  273. package/dist/ai/source/BbTooltip.md +1 -1
  274. package/dist/ai/source/CommonFieldInput.md +9 -4
  275. package/dist/ai/source/FlatListBox.md +11 -1
  276. package/dist/ai/source/GroupedListBox.md +12 -1
  277. package/dist/ai/source/ListBox.md +1 -1
  278. package/dist/ai/source/OptionsContainer.md +48 -1
  279. package/dist/assets/svgs/arrow_up.svg_raw.js +3 -0
  280. package/dist/assets/svgs/caret_down.svg_raw.js +3 -0
  281. package/dist/assets/svgs/chevron_left_small.svg_raw.js +3 -0
  282. package/dist/assets/svgs/chevron_right_small.svg_raw.js +3 -0
  283. package/dist/assets/svgs/close.svg_raw.js +3 -0
  284. package/dist/assets/svgs/eyedropper.svg_raw.js +3 -0
  285. package/dist/assets/svgs/move.svg_raw.js +3 -0
  286. package/dist/assets/svgs/x.svg_raw.js +3 -0
  287. package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -0
  288. package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +48 -44
  289. package/dist/components/BbAlert/types.d.ts +1 -1
  290. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
  291. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +54 -53
  292. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +60 -56
  293. package/dist/components/BbBadge/types.d.ts +1 -1
  294. package/dist/components/BbButton/BbButton.vue.d.ts +2 -0
  295. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +110 -98
  296. package/dist/components/BbButton/types.d.ts +12 -10
  297. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +17 -17
  298. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +298 -313
  299. package/dist/components/BbCalendar/useCalendarGrid.js +3 -2
  300. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -2
  301. package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +94 -82
  302. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +78 -55
  303. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +184 -151
  304. package/dist/components/BbCheckboxGroup/types.d.ts +10 -5
  305. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
  306. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +13 -11
  307. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +82 -71
  308. package/dist/components/BbColorInput/types.d.ts +8 -8
  309. package/dist/components/BbColorInput/types.js +1 -1
  310. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
  311. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +180 -182
  312. package/dist/components/BbColorPalette/types.d.ts +2 -2
  313. package/dist/components/BbConfigScope/BbConfigScope.vue.d.ts +12 -0
  314. package/dist/components/BbConfigScope/BbConfigScope.vue.js +4 -0
  315. package/dist/components/BbConfigScope/BbConfigScope.vue_vue_type_script_setup_true_lang.js +37 -0
  316. package/dist/components/BbConfigScope/types.d.ts +20 -0
  317. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +3 -3
  318. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +31 -31
  319. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +171 -170
  320. package/dist/components/BbDatePicker/types.d.ts +2 -2
  321. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +110 -110
  322. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +457 -441
  323. package/dist/components/BbDatePickerInput/types.d.ts +8 -8
  324. package/dist/components/BbDatePickerInput/types.js +1 -1
  325. package/dist/components/BbDialog/BbDialog.vue.d.ts +4 -3
  326. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +204 -197
  327. package/dist/components/BbDialog/types.d.ts +2 -2
  328. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +5 -4
  329. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +302 -286
  330. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +348 -344
  331. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +97 -97
  332. package/dist/components/BbDropdown/DropdownRow.vue.d.ts +1 -1
  333. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +2 -2
  334. package/dist/components/BbDropdown/pointerTrail.d.ts +5 -0
  335. package/dist/components/BbDropdown/pointerTrail.js +26 -0
  336. package/dist/components/BbDropdown/types.d.ts +25 -13
  337. package/dist/components/BbDropdown/types.js +11 -2
  338. package/dist/components/BbDropdown/useDropdownContext.d.ts +1 -1
  339. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -3
  340. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +93 -69
  341. package/dist/components/BbDropdownButton/types.d.ts +30 -13
  342. package/dist/components/BbDropdownButton/types.js +7 -3
  343. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +5 -5
  344. package/dist/components/BbForm/BbForm.vue.d.ts +2 -2
  345. package/dist/components/BbForm/BbFormCustomField.js +2 -2
  346. package/dist/components/BbForm/bindFormField.js +66 -66
  347. package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +1 -1
  348. package/dist/components/BbHost/BbHostOpening.d.ts +1 -1
  349. package/dist/components/BbHost/types.d.ts +2 -2
  350. package/dist/components/BbHoverCard/BbHoverCard.vue.d.ts +2 -2
  351. package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +158 -157
  352. package/dist/components/BbIcon/BbIcon.vue.d.ts +1 -1
  353. package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +41 -40
  354. package/dist/components/BbIndicator/types.d.ts +1 -1
  355. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +12 -9
  356. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +248 -232
  357. package/dist/components/BbNumberInput/types.d.ts +12 -11
  358. package/dist/components/BbNumberInput/types.js +1 -1
  359. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
  360. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +275 -274
  361. package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
  362. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +104 -108
  363. package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
  364. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +90 -90
  365. package/dist/components/BbPopover/types.d.ts +2 -2
  366. package/dist/components/BbRadio/BbRadio.vue.d.ts +4 -2
  367. package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +105 -93
  368. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +72 -49
  369. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +214 -181
  370. package/dist/components/BbRadioGroup/types.d.ts +11 -5
  371. package/dist/components/BbRating/BbRating.vue.d.ts +7 -5
  372. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +139 -128
  373. package/dist/components/BbSelect/BbSelect.vue.d.ts +174 -155
  374. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +179 -158
  375. package/dist/components/BbSelect/types.d.ts +23 -19
  376. package/dist/components/BbSelect/types.js +4 -2
  377. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +21 -16
  378. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +637 -623
  379. package/dist/components/BbSelectPopover/reclickClears.d.ts +17 -0
  380. package/dist/components/BbSelectPopover/reclickClears.js +4 -0
  381. package/dist/components/BbSelectPopover/types.d.ts +21 -16
  382. package/dist/components/BbSelectPopover/types.js +3 -1
  383. package/dist/components/BbSlider/BbSlider.vue.d.ts +22 -15
  384. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +382 -315
  385. package/dist/components/BbSlider/types.d.ts +136 -47
  386. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -2
  387. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +28 -27
  388. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +3 -0
  389. package/dist/components/BbTable/BbTable.vue.d.ts +4 -4
  390. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1128 -1135
  391. package/dist/components/BbTable/BbTableSelectToggle.d.ts +1 -1
  392. package/dist/components/BbTabs/BbTabs.vue.d.ts +21 -21
  393. package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +8 -2
  394. package/dist/components/BbTabs/types.d.ts +1 -1
  395. package/dist/components/BbTag/BbTag.vue.d.ts +15 -13
  396. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +196 -185
  397. package/dist/components/BbTag/types.d.ts +7 -7
  398. package/dist/components/BbTag/types.js +1 -1
  399. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +30 -30
  400. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +66 -55
  401. package/dist/components/BbTextInput/types.d.ts +9 -9
  402. package/dist/components/BbTextInput/types.js +1 -1
  403. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +30 -30
  404. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +96 -86
  405. package/dist/components/BbTextarea/types.d.ts +8 -8
  406. package/dist/components/BbTextarea/types.js +1 -1
  407. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +12 -12
  408. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +131 -130
  409. package/dist/components/BbTimePicker/types.d.ts +2 -2
  410. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +73 -73
  411. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +286 -273
  412. package/dist/components/BbTimePickerInput/types.d.ts +8 -8
  413. package/dist/components/BbTimePickerInput/types.js +1 -1
  414. package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +3 -3
  415. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +75 -80
  416. package/dist/components/BbToast/types.d.ts +2 -2
  417. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -3
  418. package/dist/components/BbTooltip/types.d.ts +1 -1
  419. package/dist/components/BbTree/BbTree.vue.d.ts +1 -1
  420. package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
  421. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +11 -16
  422. package/dist/components/CommonFieldInput/types.d.ts +1 -1
  423. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +5 -2
  424. package/dist/components/FlatListBox/types.d.ts +1 -1
  425. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +5 -2
  426. package/dist/components/GroupedListBox/types.d.ts +1 -1
  427. package/dist/components/ListBox/types.d.ts +1 -1
  428. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +87 -69
  429. package/dist/components/OptionsContainer/types.d.ts +5 -0
  430. package/dist/components/Transitions/Slide.vue.d.ts +1 -1
  431. package/dist/composables/useBbTabs.js +94 -90
  432. package/dist/composables/useConfig.js +2 -9
  433. package/dist/composables/useConfigDefaults.d.ts +54 -0
  434. package/dist/composables/useConfigDefaults.js +56 -0
  435. package/dist/composables/useConfirm.d.ts +7 -7
  436. package/dist/composables/useFormBinding.d.ts +1 -1
  437. package/dist/composables/useFormBinding.js +3 -3
  438. package/dist/composables/usePassthrough.d.ts +7 -5
  439. package/dist/composables/usePassthrough.js +137 -133
  440. package/dist/composables/useToast.d.ts +5 -4
  441. package/dist/composables/useToast.js +47 -37
  442. package/dist/deprecation/ai-deprecations.json.d.ts +44 -15
  443. package/dist/deprecation/ai-deprecations.json.js +1 -1
  444. package/dist/directives/bbDropdown.js +7 -7
  445. package/dist/i18n/locales/cs.json +2 -1
  446. package/dist/i18n/locales/da.json +2 -1
  447. package/dist/i18n/locales/de-CH.json +2 -1
  448. package/dist/i18n/locales/de.json +2 -1
  449. package/dist/i18n/locales/el.json +2 -1
  450. package/dist/i18n/locales/en-GB.json +2 -1
  451. package/dist/i18n/locales/en.json +2 -1
  452. package/dist/i18n/locales/es-MX.json +2 -1
  453. package/dist/i18n/locales/es.json +2 -1
  454. package/dist/i18n/locales/fi.json +2 -1
  455. package/dist/i18n/locales/fr.json +2 -1
  456. package/dist/i18n/locales/hu.json +2 -1
  457. package/dist/i18n/locales/it.json +2 -1
  458. package/dist/i18n/locales/ja.json +2 -1
  459. package/dist/i18n/locales/ko.json +2 -1
  460. package/dist/i18n/locales/nb.json +2 -1
  461. package/dist/i18n/locales/nl.json +2 -1
  462. package/dist/i18n/locales/pl.json +2 -1
  463. package/dist/i18n/locales/pt-BR.json +2 -1
  464. package/dist/i18n/locales/pt-PT.json +2 -1
  465. package/dist/i18n/locales/ro.json +2 -1
  466. package/dist/i18n/locales/ru.json +2 -1
  467. package/dist/i18n/locales/sv.json +2 -1
  468. package/dist/i18n/locales/tr.json +2 -1
  469. package/dist/i18n/locales/uk.json +2 -1
  470. package/dist/i18n/locales/zh-CN.json +2 -1
  471. package/dist/i18n/locales/zh-HK.json +2 -1
  472. package/dist/i18n/locales/zh-TW.json +2 -1
  473. package/dist/index.d.ts +5 -5
  474. package/dist/index.js +2 -2
  475. package/dist/llms-full.txt +2273 -1243
  476. package/dist/llms-medium.txt +362 -184
  477. package/dist/llms.txt +4 -4
  478. package/dist/locale-blueprint.json +2 -1
  479. package/dist/nuxt-auto-imports.js +1 -1
  480. package/dist/nuxt-module.d.ts +1 -1
  481. package/dist/nuxt.js +17 -17
  482. package/dist/project-dts.d.ts +72 -10
  483. package/dist/project-dts.js +69 -21
  484. package/dist/styles.css +2 -2
  485. package/dist/types/AlertVariant.d.ts +1 -1
  486. package/dist/types/BadgeVariant.d.ts +1 -1
  487. package/dist/types/ButtonVariant.d.ts +1 -1
  488. package/dist/types/CheckboxVariant.d.ts +7 -4
  489. package/dist/types/CheckboxVariant.js +5 -1
  490. package/dist/types/Config.d.ts +17 -103
  491. package/dist/types/ConfigDefaults.d.ts +352 -0
  492. package/dist/types/ConfigDefaults.js +115 -0
  493. package/dist/types/ConfirmVariant.d.ts +1 -1
  494. package/dist/types/DropdownItemVariant.d.ts +1 -1
  495. package/dist/types/FieldLayout.d.ts +3 -3
  496. package/dist/types/IndicatorVariant.d.ts +1 -1
  497. package/dist/types/InputVariant.d.ts +57 -24
  498. package/dist/types/RadioVariant.d.ts +7 -4
  499. package/dist/types/RadioVariant.js +5 -1
  500. package/dist/types/SizeScale.d.ts +4 -0
  501. package/dist/types/SizeScale.js +17 -0
  502. package/dist/types/TabsVariant.d.ts +1 -1
  503. package/dist/types/ToastVariant.d.ts +1 -1
  504. package/dist/types/TooltipVariant.d.ts +1 -1
  505. package/dist/types/passthrough.d.ts +6 -6
  506. package/dist/types/ptComponentMap.d.ts +14 -14
  507. package/dist/utilities/functions/searchRank.d.ts +19 -0
  508. package/dist/utilities/functions/searchRank.js +76 -0
  509. package/dist/utilities/misc/listboxMetrics.d.ts +1 -1
  510. package/dist/utils/configDefaults.d.ts +33 -0
  511. package/dist/utils/configDefaults.js +140 -0
  512. package/dist/utils/configScope.d.ts +43 -0
  513. package/dist/utils/configScope.js +13 -0
  514. package/dist/utils/passthrough.d.ts +4 -7
  515. package/dist/utils/passthrough.js +31 -29
  516. package/dist/utils/versionCheck.js +1 -1
  517. package/dist/vite-plugin.d.ts +54 -191
  518. package/dist/vite.js +318 -367
  519. package/llms.txt +4 -4
  520. package/package.json +3 -3
  521. package/scripts/lib/adoption-checklist.json +2 -2
  522. package/scripts/lib/agent-manifest.mjs +2 -0
  523. package/scripts/lib/eslint-disable.mjs +2 -0
  524. package/scripts/lib/eslint-plugin.d.ts +4 -2
  525. package/scripts/lib/eslint-plugin.mjs +67 -0
  526. package/scripts/lib/idiom-scan.mjs +8 -7
  527. package/scripts/lib/project-variant-dts.mjs +105 -36
  528. package/scripts/lib/validate-bb-markup.mjs +73 -13
  529. package/dist/ai/BbPtScope.md +0 -138
  530. package/dist/ai/manifest/components/BbPtScope.json +0 -21
  531. package/dist/ai/source/BbPtScope.md +0 -54
  532. package/dist/components/BbPtScope/BbPtScope.vue.d.ts +0 -12
  533. package/dist/components/BbPtScope/BbPtScope.vue.js +0 -4
  534. package/dist/components/BbPtScope/BbPtScope.vue_vue_type_script_setup_true_lang.js +0 -12
  535. package/dist/components/BbPtScope/types.d.ts +0 -15
  536. package/dist/types/PtScope.d.ts +0 -15
  537. package/dist/utilities/functions/head.js +0 -3
  538. package/dist/utilities/functions/matchAnyKey.d.ts +0 -8
  539. package/dist/utilities/functions/matchAnyKey.js +0 -14
  540. package/dist/utils/ptScope.d.ts +0 -8
  541. package/dist/utils/ptScope.js +0 -3
@@ -0,0 +1,218 @@
1
+ # BbConfigScope
2
+
3
+ ## Agent Contract
4
+
5
+ - Safety level: **Consumer API**
6
+ - Group: **Layout & Utility**
7
+ - Description: Renderless provider that switches on a named config scope (`configScopes` in the plugin config) for its subtree: its `pt` entries and prop defaults (or an inline `:config`) (a backoffice and a member area with different looks in one app).
8
+ - Usage rule: Prefer this component for consumer-facing implementations.
9
+ - Implementation source (only when the contract below is not enough): [source/BbConfigScope.md](./source/BbConfigScope.md)
10
+
11
+ ## Usage & Guidelines
12
+
13
+ ### When to use
14
+
15
+ The plugin's `components` map sets every instance in the app. When the app
16
+ has **areas with a different look or layout** — a backoffice next to a member
17
+ webapp, per-tenant areas, a settings page whose fields sit beside their
18
+ labels — give the area a scope and wrap it in `<BbConfigScope>`. A scope is
19
+ the same map as `components` (each component's `pt` and allowlisted props,
20
+ plus `all`), minus the app-wide `variants` and `nullValue`.
21
+
22
+ - **A reused area** (a layout, a section of the app): a **named scope** in the
23
+ plugin's `configScopes`, switched on with `name`.
24
+ - **A one-off group** (one card, one form): an **inline map**, `:config`.
25
+
26
+ ### Named scopes
27
+
28
+ ```ts
29
+ // bitboss-ui.components.ts
30
+ import type { BbComponentsMap } from 'bitboss-ui/vite';
31
+
32
+ export const components = {
33
+ BbTextInput: { pt: { label: 'text-xs font-medium' } },
34
+ } satisfies BbComponentsMap;
35
+
36
+ export const configScopes = {
37
+ webapp: {
38
+ BbTextInput: { pt: { label: 'text-white/60' } },
39
+ BbButton: { size: 'lg', pt: { root: 'rounded-full' } },
40
+ },
41
+ backoffice: {
42
+ all: { compact: true },
43
+ BbButton: { size: 'sm', variant: 'outline', pt: { root: 'rounded-md' } },
44
+ },
45
+ settings: {
46
+ all: { layout: 'horizontal', inputPosition: 'right' },
47
+ },
48
+ } satisfies Record<string, BbComponentsMap<'scope'>>;
49
+ ```
50
+
51
+ ```vue
52
+ <!-- WebappLayout.vue -->
53
+ <template>
54
+ <BbConfigScope name="webapp">
55
+ <slot />
56
+ </BbConfigScope>
57
+ </template>
58
+
59
+ <script setup lang="ts">
60
+ import { BbConfigScope } from 'bitboss-ui';
61
+ </script>
62
+ ```
63
+
64
+ Everything rendered inside the scope — however deep — takes the `webapp`
65
+ entries on top of the app's. Outside it, nothing changes.
66
+
67
+ **A settings page.** The layout family (`layout`, `reverse`, `inputPosition`,
68
+ and a group's `listLayout`, `itemLayout`, `itemReverse`, `block`) is meant for
69
+ a scope: one switch lays out every field and choice on the page, and the page
70
+ needs no prop per field.
71
+
72
+ ```vue
73
+ <!-- SettingsPage.vue -->
74
+ <template>
75
+ <BbConfigScope name="settings">
76
+ <BbTextInput v-model="name" label="Display name" name="name" />
77
+ <BbSwitch v-model="digest" label="Weekly digest" name="digest" />
78
+ <BbCheckbox v-model="beta" label="Try new features" name="beta" />
79
+ </BbConfigScope>
80
+ </template>
81
+
82
+ <script setup lang="ts">
83
+ import { ref } from 'vue';
84
+ import { BbCheckbox, BbConfigScope, BbSwitch, BbTextInput } from 'bitboss-ui';
85
+
86
+ const name = ref<string | null>('');
87
+ const digest = ref(true);
88
+ const beta = ref(false);
89
+ </script>
90
+ ```
91
+
92
+ ### Inline scopes
93
+
94
+ For a group used once, write the map in place. It takes the same keys as a
95
+ named scope; with `name` too, it applies on top of the named scope.
96
+
97
+ ```vue
98
+ <template>
99
+ <BbConfigScope :config="notifications">
100
+ <BbSwitch v-model="email" label="Email" name="email" />
101
+ <BbSwitch v-model="push" label="Push" name="push" />
102
+ </BbConfigScope>
103
+ </template>
104
+
105
+ <script setup lang="ts">
106
+ import { ref } from 'vue';
107
+ import { BbConfigScope, BbSwitch, type BbComponentsMap } from 'bitboss-ui';
108
+
109
+ // Hoisted: the scope re-resolves only when the map's content changes.
110
+ const notifications = {
111
+ all: { compact: true, reverse: true },
112
+ } satisfies BbComponentsMap<'scope'>;
113
+
114
+ const email = ref(true);
115
+ const push = ref(false);
116
+ </script>
117
+ ```
118
+
119
+ The subtree re-resolves only when the map's **content** changes, so an inline
120
+ literal is fine, but a hoisted constant (or a static literal) is the clearest.
121
+ `variants` and `nullValue` are app-wide: they are a type error here, and a dev
122
+ warning if one gets through untyped.
123
+
124
+ ### Order and nesting
125
+
126
+ For each part, the `pt` sources merge in this order:
127
+
128
+ 1. the app's `components` map,
129
+ 2. every active scope, outermost `<BbConfigScope>` first (a scope's inline map
130
+ after its named one),
131
+ 3. the instance's `class`, `pt` object and `pt:*` attributes.
132
+
133
+ Nested scopes **add up**: an inner scope merges after the outer one, it never
134
+ hides it. Everything goes through the same merge and class deduper as the rest
135
+ of `pt`, so a conflicting utility on an instance replaces the scope's.
136
+
137
+ A default is one value: the nearest scope that sets it wins over an outer one,
138
+ and the instance's own prop over every scope. The full ladder, and every key a
139
+ scope takes, are in [installation § The components map](./guides/installation-and-plugin-setup.md#the-components-map).
140
+
141
+ ```vue
142
+ <template>
143
+ <BbConfigScope name="backoffice">
144
+ <!-- the scope's `sm` and `outline`; this instance's `primary` wins -->
145
+ <BbButton variant="primary">Save</BbButton>
146
+ </BbConfigScope>
147
+ </template>
148
+
149
+ <script setup lang="ts">
150
+ import { BbButton, BbConfigScope } from 'bitboss-ui';
151
+ </script>
152
+ ```
153
+
154
+ A scope also sets the size scales (`sizeMap`), `BbToast.position` for toasts
155
+ fired from inside it, and `BbConfirm.size` for confirms called from inside it.
156
+
157
+ ### The name is typed
158
+
159
+ `name` is a `BbConfigScopeName`: the plugin generates the union of your
160
+ `configScopes` keys (`'webapp' | 'backoffice' | 'settings'`) when the dev
161
+ server or a build runs, so a misspelt scope is a `vue-tsc` error. Every
162
+ component name and key inside a named scope is checked at build time, exactly
163
+ like the app's map. `name` and `config` are reactive.
164
+
165
+ ### Overlays, directives, toasts and confirms
166
+
167
+ The scope follows the **component tree**, not the DOM:
168
+
169
+ - A dialog, sheet, popover, dropdown or picker opened inside the scope resolves
170
+ it wherever it paints.
171
+ - `v-bb-tooltip`, `v-bb-dropdown`, `v-bb-date`, `v-bb-time` and `v-bb-color`
172
+ resolve the scope around the component whose **template** they are written
173
+ in. A directive written directly in `<BbConfigScope>`'s slot, in the same
174
+ template as the scope, sees the scope above it instead — keep the scope in a
175
+ layout or a parent component.
176
+ - A `confirm()` takes the scope of the component that called `useConfirm()`
177
+ (its `pt` and `BbConfirm.size`), wherever `<BbHost />` is mounted. A toast
178
+ fired through `useToast()` inside a scope takes the scope's
179
+ `BbToast.position`; its look comes from the scope where the host is mounted,
180
+ and the plugin's host does not see a scope in `App.vue`: for toasts in the
181
+ area's look, place one `<BbHost />` inside each area's layout, within its
182
+ scope. It takes over from the plugin's while mounted (see
183
+ [Agent Contract § Global Host Rule](./guides/agent-contract.md)).
184
+
185
+ ### When NOT to use it
186
+
187
+ - **One look for the whole app** — that is the plugin's `components` map.
188
+ - **Colours, radii, sizes for a subtree** — those are tokens: a `.bb-theme`
189
+ island ([design tokens](./guides/design-tokens.md)). A scope restyles parts;
190
+ an area usually wants both.
191
+ - **One instance** — set the prop, or `pt:*`, on that instance.
192
+
193
+ ### Works well with
194
+
195
+ - `BbHost` — place one inside each scoped area layout when toasts need the
196
+ area's look.
197
+ - The [passthrough guide](./guides/passthrough.md) — grammar, merging and the
198
+ full parts table.
199
+
200
+ ## Props
201
+
202
+ | Prop | Type | Default | Required | Description |
203
+ | --- | --- | --- | --- | --- |
204
+ | `config` | `BbComponentsMap<"scope"> \| undefined` | | | An inline scope: the same map as a `configScopes` entry, minus the app-wide `variants` and `nullValue`. With `name`, it applies on top. Re-resolved only when its content changes: keep it static or hoisted. |
205
+ | `name` | `'bitboss-ui: no configScopes configured — add configScopes to bitbossUi() and commit bitboss-ui.d.ts'` | | | The named scope to switch on inside: a key of the plugin's `configScopes` (typed from your config). Nested scopes: `pt` merges outer first, a default comes from the nearest scope that sets it. Reactive. |
206
+
207
+ ## Events
208
+
209
+ - None.
210
+
211
+ ## Slots
212
+
213
+ - `default` — scope: `any` — The subtree the scope applies to. Rendered as is — no wrapper element.
214
+
215
+ ## See Also
216
+
217
+ - [useToast](./composables/useToast.md)
218
+ - [useConfirm](./composables/useConfirm.md)
@@ -23,7 +23,8 @@
23
23
  | `--h-xs` | `pt:action` | `BbButton` | ── Scale tokens (height / icon / px / font-size) ─────── Heights and font sizes derive from the global scale knobs so retuning `--bb-control-h` / `--bb-fs` resizes the whole button scale coherently (md sits one step under the input height, lg matches it). The ladder is one block per size, six locals each, always the same six: `--h-*` min-height, `--icon-size-*` the icon/spinner box, `--px-*` the left and right padding, `--fs-*` font-size (which is also the line-height), `--r-*` border-radius, `--gap-*` the space between icon and label. Nothing paints from a `-<size>` local: the `.bb-button--<size>` class copies its block into the active `--h / --icon-size / --px / --fs / --r / --gap` below, and those are what the rules read. So retune a whole size here, or one button through the active six. Three places the ladder does not simply step: - radius is flat from md up (`--bb-radius`); only xs (`--bb-radius-sm`) and sm (0.8×) come off that value; - lg repeats md's icon size, font size, radius and gap — between those two sizes only height and padding grow; - 2xl repeats xl's gap. `--bw` and `--elev-tier` are size-dependent too but have no `-<size>` entries; the size classes assign them directly (xs and sm take the small border and shadow tiers, md and up the full ones). |
24
24
  | `--h` | `pt:action` | `BbButton` | min-height, and the min-width of an icon-only button |
25
25
  | `--icon-size` | `pt:action` | `BbButton` | every icon, and the spinner over it |
26
- | `--px` | `pt:action` | `BbButton` | Left/right padding — 65% of it on a side that carries an icon. |
26
+ | `--px` | `pt:action` | `BbButton` | left/right padding |
27
+ | `--ipx` | `pt:action` | `BbButton` | The padding on a side that carries an icon: a length of its own, 65% of --px by default (it follows a --px change). |
27
28
  | `--fs` | `pt:action` | `BbButton` | font-size, and line-height |
28
29
  | `--r` | `pt:action` | `BbButton` | border-radius |
29
30
  | `--gap` | `pt:action` | `BbButton` | between icon and label |
@@ -88,14 +89,14 @@ if (await confirm({ title: 'Delete this file?', variant: 'destructive' })) {
88
89
 
89
90
  **Areas with their own look.** A confirm takes the passthrough scope and the
90
91
  tokens of the component that called `useConfirm()`, wherever the host is
91
- mounted: a page inside a `<BbPtScope>` ([passthrough guide](./guides/passthrough.md) § Named scopes)
92
+ mounted: a page inside a `<BbConfigScope>` ([passthrough guide](./guides/passthrough.md) § Named scopes)
92
93
  gets confirms in its area's look with nothing to set up. A component portal
93
94
  injects from that component's tree too. A `useConfirm()` called outside a
94
95
  component (a store, module level) takes the host's.
95
96
 
96
97
  Everything — content, buttons, behavior — travels in the message you pass to
97
98
  `confirm()`; the width every confirm defaults to is the plugin's
98
- `confirm.defaultSize` (see [Size, fullscreen and focus](#size-fullscreen-and-focus)).
99
+ `BbConfirm.size` (see [Size, fullscreen and focus](#size-fullscreen-and-focus)).
99
100
  At least one of `title`, `text`, `portal` should be set (dev warning
100
101
  otherwise).
101
102
 
@@ -189,7 +190,7 @@ settings-workspace recipe (`./recipes/vue/settings-workspace.md`, also under
189
190
 
190
191
  `variant` also lands on the dialog root as a `bb-confirm--<name>` class.
191
192
  `default` and `destructive` ship with the library; the vite/nuxt plugin's
192
- `confirmVariants` option registers additional names as a typed union (any
193
+ `components.BbConfirm.variants` option registers additional names as a typed union (any
193
194
  plain string still works for one-offs) — you provide the
194
195
  `.bb-confirm--<name>` CSS yourself.
195
196
 
@@ -660,15 +661,15 @@ The slot's `data` is `any` per key, so `data.member.name` needs no cast.
660
661
  ### Size, fullscreen and focus
661
662
 
662
663
  - `size` picks a maximum-width preset (`'xs'` … `'2xl'`, resolvable through
663
- the plugin config's `dialogDefaultSizes`); default confirms are compact.
664
- To widen every confirm at once, set it in the plugin config instead —
665
- `app.use(bitbossUiPlugin, { confirm: { defaultSize: 'lg' } })`, or the same
666
- key in the build plugin — and let individual messages override it.
664
+ the plugin config's `components.BbDialog.sizeMap`); default confirms are compact.
665
+ To widen every confirm at once, set it in the build plugin instead —
666
+ `components: { BbConfirm: { size: 'lg' } }` (a config scope's applies to
667
+ confirms called inside it) — and let individual messages override it.
667
668
  - `fullscreen: true` takes over the whole screen; `fullscreen: 'mobile'`
668
669
  restricts that to small viewports.
669
670
  - `focusTarget` is a CSS selector focused after opening (default: the first
670
671
  tabbable element) — point it at an input inside a portal body.
671
- - On mobile viewports the dialog follows the global `config.adaptive` and
672
+ - On mobile viewports the dialog follows the global `all.adaptive` and
672
673
  renders as a bottom sheet; there is no per-call override for this, so test
673
674
  overlay assertions against both surfaces (or pin the viewport).
674
675
 
@@ -685,27 +686,29 @@ button's own). State `open`. Backdrop is `::backdrop` — CSS, not pt.
685
686
 
686
687
  `<BbHost />` takes no `pt`: every confirm is styled from the build plugin's
687
688
  global map, under `BbConfirm` (or a named scope's, for a confirm called
688
- inside a `<BbPtScope>`). A muted wash on `header`, Yes/No spread on `footer`, a muted ✕ on
689
+ inside a `<BbConfigScope>`). A muted wash on `header`, Yes/No spread on `footer`, a muted ✕ on
689
690
  `close`, a primary ring with offset while `root:open`:
690
691
 
691
692
  ```ts
692
- // bitboss-ui.pt.ts
693
- import { definePt } from 'bitboss-ui/vite'; // 'bitboss-ui/nuxt' in a Nuxt app
693
+ // bitboss-ui.components.ts
694
+ import type { BbComponentsMap } from 'bitboss-ui/vite'; // 'bitboss-ui/nuxt' in a Nuxt app
694
695
 
695
- export const pt = definePt({
696
+ export const components = {
696
697
  BbConfirm: {
697
- header: 'bg-(--bb-muted)',
698
- footer: 'justify-between',
699
- close: 'text-(--bb-text-muted)',
700
- 'root:open': 'ring-2 ring-offset-2 ring-(--bb-primary)',
698
+ pt: {
699
+ header: 'bg-(--bb-muted)',
700
+ footer: 'justify-between',
701
+ close: 'text-(--bb-text-muted)',
702
+ 'root:open': 'ring-2 ring-offset-2 ring-(--bb-primary)',
703
+ },
701
704
  },
702
- });
705
+ } satisfies BbComponentsMap;
703
706
  ```
704
707
 
705
708
  The full grammar, the merge rules and the global map are in the
706
709
  [passthrough guide](./guides/passthrough.md).
707
710
 
708
- The map is typed where you write it by `definePt`, never with an imported
711
+ The map is typed where you write it by `satisfies BbComponentsMap`, never with an imported
709
712
  `PtValue`: see [passthrough § The global map](./guides/passthrough.md#the-global-map).
710
713
 
711
714
  ### Works well with
@@ -805,9 +808,9 @@ States are listed in precedence order: when two are on at once and their entries
805
808
 
806
809
  - `BbConfirm` _(this component)_ — its own template binds: `text` → `div.bb-confirm__text`, `action` → `BbButton`; hands `BbDialog` the pt map `passthrough.forward(DIALOG_PARTS, BB_DIALOG_PT.states)` (ours → theirs)
807
810
  - `BbDialog` _(public — [contract](./BbDialog.md))_ — its own pt parts (`BbDialog`): `header` → `div.bb-dialog__header`, `title` → `span.bb-dialog__title`, `description` → `p.bb-dialog__description`, `close` → `CloseButton`, `content` → `div.bb-dialog__content`, `footer` → `div.bb-dialog__footer`; hands `BbOffCanvas` the pt map `{ root: 'root', header: 'header', title: 'title', description: 'description', content: 'content', footer: 'footer', close: 'close', sheet: 'root', }` (ours → theirs); documented CSS variables: `--px`, `--close-size`
808
- - `CloseButton` _(internal — not importable, reach it through `BbDialog`)_ — documented CSS variables: `--size`, `--p`
811
+ - `CloseButton` _(internal — not importable, reach it through `BbDialog`)_ — documented CSS variables: `--size`, `--p`, `--icon-size`; also mounts `BbIcon`
809
812
  - `BbOffCanvas` _(public — [contract](./BbOffCanvas.md))_ — its own pt parts (`BbOffCanvas`): `header` → `div.bb-offcanvas__header`, `title` → `span.bb-offcanvas__title`, `description` → `p.bb-offcanvas__description`, `close` → `CloseButton`, `content` → `div.bb-offcanvas__content`, `footer` → `div.bb-offcanvas__footer`; documented CSS variables: `--stack-x`, `--snap-y`, `--stack-fill`, `--stack-transition-duration`, `--px`, `--handle-w`, `--handle-h`, `--handle-bg`, `--safe-top`, `--close-size`; also mounts `CloseButton`
810
- - `BbButton` _(public — [contract](./BbButton.md))_ — its own pt parts (`BbButton`): `root` → `BbBaseButton`, `spinner` → `BbSpinner`, `icon` → `span.bb-button__icon`, `icon` → `BbIcon`, `icon` → `span.bb-button__prepend-icon`, `text` → `span.bb-button__text`, `icon` → `span.bb-button__append-icon`; documented CSS variables: `--h-xs`, `--h`, `--icon-size`, `--px`, `--fs`, `--r`, `--gap`, `--bg`, `--bg-hover`, `--bg-pressed`, `--fg`, `--border-color`, `--ring-color`, `--ring-size`, `--bw`, `--fg-hover`, `--border-hover`, `--fg-pressed`, `--border-pressed`, `--bg-disabled`, `--fg-disabled`, `--border-disabled`, `--opacity-disabled`, `--elev-tier`, `--elev`; also mounts `BbIcon`, `BbSpinner`
813
+ - `BbButton` _(public — [contract](./BbButton.md))_ — its own pt parts (`BbButton`): `root` → `BbBaseButton`, `spinner` → `BbSpinner`, `icon` → `span.bb-button__icon`, `icon` → `BbIcon`, `icon` → `span.bb-button__prepend-icon`, `text` → `span.bb-button__text`, `icon` → `span.bb-button__append-icon`; documented CSS variables: `--h-xs`, `--h`, `--icon-size`, `--px`, `--ipx`, `--fs`, `--r`, `--gap`, `--bg`, `--bg-hover`, `--bg-pressed`, `--fg`, `--border-color`, `--ring-color`, `--ring-size`, `--bw`, `--fg-hover`, `--border-hover`, `--fg-pressed`, `--border-pressed`, `--bg-disabled`, `--fg-disabled`, `--border-disabled`, `--opacity-disabled`, `--elev-tier`, `--elev`; also mounts `BbIcon`, `BbSpinner`
811
814
  - `BbBaseButton` _(public — [contract](./BbBaseButton.md))_ — its own pt parts (`BbBaseButton`): `root` → `RouterComponent`, `root` → `a`, `root` → `component`; also mounts `RouterComponent`
812
815
 
813
816
  ## See Also
@@ -290,7 +290,7 @@ has a worked example.
290
290
  ### Adaptive and positioning
291
291
 
292
292
  On mobile the calendar opens in a bottom off-canvas sheet instead of a floating
293
- popover (`adaptive`, on by default via `config.adaptive`; forward extra sheet
293
+ popover (`adaptive`, on by default via `all.adaptive`; forward extra sheet
294
294
  props with `offCanvasProps`). Position the desktop popover with `placement`,
295
295
  `offset`, `padding`, `boundary`, and `disableFlip` — the same knobs as the other
296
296
  overlays (`placement` is read at open: a change while open applies at the next
@@ -466,7 +466,7 @@ and digit typeahead; the time rail exposes labelled columns. Always pass a
466
466
  | `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: `arrow`, `cellColumnHeader`, `day`, `dayButton`, `header`, `item`, `month`, `monthItem`, `panel`, `root`, `sheet`, `week`, `weekNumber`, `year`, `yearItem`. States: `disabled`, `open`, `highlighted`, `inRange`, `outside`, `rangeEnd`, `rangeStart`, `selected`, `today`, `active`. 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 `BbDatePickerProps['pt']` (`PtValue` is not exported): § Typing `pt` in `<script>`. |
467
467
  | `activator` | `ElementOrComponentRef \| undefined` | | | External activator element or component ref. When provided, the `activator` slot is not rendered and click + ARIA are attached programmatically to the referenced element — mirroring the `BbColorPalette` activator API. |
468
468
  | `activeSegment` | `'start'` \| `'end'` | | | Which end the time rail edits in range + `type="datetime"` (`v-model:active-segment`). Standalone use manages this internally; an embedding host (the date input) drives it from its focused field. Ignored outside range + datetime. |
469
- | `adaptive` | `boolean \| undefined` | ``config.adaptive` (`true`)` | | On mobile, open in a bottom off-canvas sheet instead of a floating popover. When unset, falls back to the global `config.adaptive`. |
469
+ | `adaptive` | `boolean \| undefined` | ``all.adaptive` (`true`)` | | On mobile, open in a bottom off-canvas sheet instead of a floating popover. When unset, falls back to the global `all.adaptive`. |
470
470
  | `ampm` | `boolean \| undefined` | `false` | | 12-hour display with an AM/PM column (requires `type="datetime"`); emits stay 24h. |
471
471
  | `anchor` | `ElementOrComponentRef \| undefined` | | | Element or component ref the popover positions itself relative to. Defaults to the activator when omitted (anchor to a larger row while a smaller element stays the click target). |
472
472
  | `boundary` | `ElementOrComponentRefOrSelector \| undefined` | | | Constrains the popover within a bounding element or CSS selector: sideways only, alongside the trigger; it flips at the viewport. |
@@ -586,11 +586,11 @@ Set these on the element, or on a class you put on it, to retune this component
586
586
  - Listed nodes are the ones `BbDatePicker`'s API reaches or that declare a documented CSS variable; the rest fold into "also mounts". The complete tree, repeats and undocumented locals included, is `manifest/components/BbDatePicker.tree.json`.
587
587
 
588
588
  - `BbDatePicker` _(this component)_ — its own template binds: `panel` → `div`; hands `BbCalendar` the pt map ` passthrough.forward(DATE_PICKER_CALENDAR_PARTS, BB_CALENDAR_PT.states) ` (ours → theirs); hands `BbOffCanvas` the pt map `{ panel: 'root', sheet: 'root' }` (ours → theirs)
589
- - `BbCalendar` _(public — [contract](./BbCalendar.md))_ — its own pt parts (`BbCalendar`): `header` → `div.bb-calendar__header`, `arrow` → `BbBaseButton`, `month` → `BbBaseButton`, `year` → `BbBaseButton`, `week` → `div.bb-calendar__week`, `weekNumber` → `div.bb-calendar__week-number`, `day` → `div.bb-calendar__day`, `dayButton` → `button.bb-calendar__day-button`; documented CSS variables: `--cell`, `--unit-row`, `--wk`; also mounts `ScaleFade`, `Slide`, `CalendarMonthPanel`, `CalendarYearPanel`
589
+ - `BbCalendar` _(public — [contract](./BbCalendar.md))_ — its own pt parts (`BbCalendar`): `header` → `div.bb-calendar__header`, `arrow` → `BbBaseButton`, `month` → `BbBaseButton`, `year` → `BbBaseButton`, `week` → `div.bb-calendar__week`, `weekNumber` → `div.bb-calendar__week-number`, `day` → `div.bb-calendar__day`, `dayButton` → `button.bb-calendar__day-button`; documented CSS variables: `--cell`, `--unit-row`, `--wk`; also mounts `BbIcon`, `ScaleFade`, `Slide`, `CalendarMonthPanel`, `CalendarYearPanel`
590
590
  - `BbBaseButton` _(public — [contract](./BbBaseButton.md))_ — its own pt parts (`BbBaseButton`): `root` → `RouterComponent`, `root` → `a`, `root` → `component`; also mounts `RouterComponent`
591
591
  - `CommonTimeSelector` _(internal — not importable, reach it through `BbCalendar`)_ — its own pt parts (`BbCalendar`): `header` → `div.bb-time-selector__header`, `cellColumnHeader` → `div.bb-time-selector__cell-column-header`, `item` → `BbBaseButton`; documented CSS variables: `--time-mark`; also mounts `BbBaseButton`
592
592
  - `BbOffCanvas` _(public — [contract](./BbOffCanvas.md))_ — its own pt parts (`BbOffCanvas`): `header` → `div.bb-offcanvas__header`, `title` → `span.bb-offcanvas__title`, `description` → `p.bb-offcanvas__description`, `close` → `CloseButton`, `content` → `div.bb-offcanvas__content`, `footer` → `div.bb-offcanvas__footer`; documented CSS variables: `--stack-x`, `--snap-y`, `--stack-fill`, `--stack-transition-duration`, `--px`, `--handle-w`, `--handle-h`, `--handle-bg`, `--safe-top`, `--close-size`
593
- - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`
593
+ - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`, `--icon-size`; also mounts `BbIcon`
594
594
  - Also mounts `CommonPopover`
595
595
 
596
596
  ## See Also
@@ -78,7 +78,7 @@ The shared surface applies:
78
78
  it visually while keeping the accessible name; **`labelPosition`** aligns
79
79
  it; the **`label` slot** replaces it with `{ text, hasErrors }`.
80
80
  - **`labelMode`** — `outside` / `floating` / `inside`. When unset it falls back
81
- to the project-wide `config.defaultInputLabelMode` (library default:
81
+ to the project-wide `all.labelMode` (library default:
82
82
  `outside`), the same resolution as `BbTextInput` and `BbNumberInput`.
83
83
  - **`description`** (always visible), **`hint`** (shows while the control is
84
84
  active; `persistentHint` pins it), and **`errors`** + **`hasErrors`**
@@ -639,7 +639,7 @@ const onError = (error: DatePickerInputError) => {
639
639
 
640
640
  The picker adapts to touch vs pointer, and you can steer that explicitly:
641
641
 
642
- - **`adaptive`** (defaults to the project's `config.adaptive`): on mobile the
642
+ - **`adaptive`** (defaults to the project's `all.adaptive`): on mobile the
643
643
  calendar opens in a bottom `BbOffCanvas` sheet instead of a floating popover.
644
644
  The surface is **latched** when the panel opens, so a mid-session resize never
645
645
  swaps a live popover into a sheet. The sheet drags down to dismiss and shows
@@ -780,7 +780,7 @@ sheet), its events differ from a plain input:
780
780
  beside the field, and a per-breakpoint map
781
781
  (`{ default: 'vertical', md: 'horizontal' }`) stacks it on narrow screens
782
782
  ([`BbTextInput` § Density & layout](./BbTextInput.md#density--layout)). With `labelMode="floating"` or `"inside"` (prop or
783
- `config.defaultInputLabelMode`) the label is embedded in the field, so the
783
+ `all.labelMode`) the label is embedded in the field, so the
784
784
  layout is forced vertical and `layout` is ignored — same rule as
785
785
  `BbTextInput`/`BbSelect`/`BbNumberInput`.
786
786
  - **`config.locale`** drives both the segment order and separator (from the
@@ -816,7 +816,7 @@ affordance, the focus ring still shows, and errors or warnings surface through
816
816
  the icon and the message rather than a tinted edge. `ghost` is the inline-edit
817
817
  table cell (`<BbDatePickerInput compact hide-label variant="ghost" />`) — no
818
818
  `:deep()` needed. The names and tokens are the `BbButton` ones; extra names
819
- register through the plugin's `inputVariants` option. The full ladder is in
819
+ register through the plugin's each field's `components.<C>.variants` option. The full ladder is in
820
820
  the `BbTextInput` guide.
821
821
 
822
822
  The calendar panel renders inside the field, so it reads the field's
@@ -970,20 +970,20 @@ label>')` matches nothing; query each segment by its own label instead. See
970
970
  | Prop | Type | Default | Required | Description |
971
971
  | --- | --- | --- | --- | --- |
972
972
  | `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: `activator`, `arrow`, `box`, `cellColumnHeader`, `clear`, `day`, `dayButton`, `description`, `header`, `hint`, `icon`, `input`, `item`, `label`, `message`, `month`, `monthItem`, `panel`, `prefix`, `root`, `sheet`, `spinner`, `suffix`, `week`, `weekNumber`, `year`, `yearItem`. States: `disabled`, `errors`, `ghost`, `hasValue`, `loading`, `open`, `outline`, `readonly`, `secondary`, `warnings`, `highlighted`, `inRange`, `outside`, `rangeEnd`, `rangeStart`, `selected`, `today`, `active`. 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 `BbDatePickerInputProps['pt']` (`PtValue` is not exported): § Typing `pt` in `<script>`. |
973
- | `adaptive` | `boolean \| undefined` | ``config.adaptive` (`true`)` | | On mobile the calendar opens inside a bottom off-canvas sheet instead of a floating popover, mirroring the adaptive behaviour of `BbPopover`/`BbSelect`. When unset, falls back to the global `config.adaptive`. |
973
+ | `adaptive` | `boolean \| undefined` | ``all.adaptive` (`true`)` | | On mobile the calendar opens inside a bottom off-canvas sheet instead of a floating popover, mirroring the adaptive behaviour of `BbPopover`/`BbSelect`. When unset, falls back to the global `all.adaptive`. |
974
974
  | `ampm` | `boolean \| undefined` | `false` | | 12-hour display with an AM/PM segment (requires `type="datetime"`). Purely a field-composition concern: `modelValue` and the `time` model stay 24-hour regardless. Type `A`/`P` (or ArrowUp/Down) to set the meridiem. |
975
975
  | `append:icon` | `string \| undefined` | | | Name of the icon to be added at the end of the input. |
976
- | `autocomplete` | `string \| undefined` | `"off"` | | Guides the browser as to the type of information expected in the field. |
976
+ | `autocomplete` | `string \| undefined` | `'off'` | | Guides the browser as to the type of information expected in the field. |
977
977
  | `autofocus` | `Booleanish \| undefined` | | | Focuses the field when it mounts (a dialog already open included), unless the user is typing in another field. |
978
978
  | `clearable` | `boolean \| undefined` | `false` | | Displays a clear button when the input has a value and is being interacted with. |
979
- | `compact` | `boolean \| undefined` | `false` | | Compact density: the field uses the `-compact` twins of `--bb-input-h`, `--bb-input-py` and `--bb-label-spacing-y`, so a `--bb-input-h` set on the component is ignored while it is on. Size a compact field with `--bb-input-h-compact` (and `--bb-input-py-compact`). |
979
+ | `compact` | `boolean \| undefined` | `undefined` | | Compact density: the field uses the `-compact` twins of `--bb-input-h`, `--bb-input-py` and `--bb-label-spacing-y`, so a `--bb-input-h` set on the component is ignored while it is on. Size a compact field with `--bb-input-h-compact` (and `--bb-input-py-compact`). |
980
980
  | `description` | `string \| undefined` | | | Text between the label and the input. Unlike the hint it is always visible; it joins the input's `aria-describedby` after any `errors` / `warnings`, before the `hint`. |
981
981
  | `disableCalendar` | `boolean \| "mobile" \| "desktop" \| undefined` | `false` | | Disables the calendar: hides the trigger button and prevents the popover from opening. Use `'desktop'` to disable it on desktop only (keeping the calendar for mobile, complementing `disableWriting: 'mobile'`) or `'mobile'` to disable it on mobile only. |
982
982
  | `disabled` | `boolean \| undefined` | `false` | | Disables the component. |
983
983
  | `disableWriting` | `boolean \| "mobile" \| "desktop" \| undefined` | `false` | | Disables typing into the input. Use `'mobile'` to disable typing only on mobile, `'desktop'` to disable typing only on desktop. |
984
984
  | `errors` | `string \| string[] \| undefined` | | | Error messages under the field, a string or array, in an `aria-live="polite"` region and first in the control's `aria-describedby`, so they are re-read when it regains focus. |
985
985
  | `firstDayOfWeek` | `0 \| 1 \| 2 \| 3 \| 4 \| 5 \| 6 \| undefined` | `the locale's week start` | | First day of the week (0 = Sunday … 6 = Saturday). Omitted, the active locale's week start: Monday for `it`, `de`, `fr`, `en-gb`…, Sunday for bare `en` (US) and `pt` (Brazil). Ignored under `type="week"`: ISO weeks run Monday to Sunday, so a week grid always starts on Monday. |
986
- | `floating` | `boolean \| undefined` | `false` | | If true the date will have a format YYYY-MM-DD instead of the default ISO string. |
986
+ | `floating` | `boolean \| undefined` | `undefined` | | If true the date will have a format YYYY-MM-DD instead of the default ISO string. |
987
987
  | `formless` | `boolean \| undefined` | `false` | | Keep this control out of the enclosing `BbForm` entirely: not submitted, not dirty, not reset, not validated. For a control that is not form data (a filter, a "show advanced" switch). |
988
988
  | `hasErrors` | `boolean \| undefined` | `false` | | Define if the component should be in an error state. It usually attaches a CSS class for styling purposes. |
989
989
  | `hasWarnings` | `boolean \| undefined` | `false` | | Define if the component should be in a warning state. Same chrome as errors with `--bb-warn`; errors take priority. |
@@ -994,7 +994,7 @@ label>')` matches nothing; query each segment by its own label instead. See
994
994
  | `label` | `string` | | yes | Text content of the label of the element. |
995
995
  | `labelAlign` | `'top'` \| `'center'` \| `'bottom'` | | | Vertical position of the label block in a side-by-side row; not `labelPosition`, the horizontal one. Omitted, the label's first line meets the control's. |
996
996
  | `labelMode` | `"outside" \| "floating" \| "inside" \| undefined` | | | Label rendering mode. |
997
- | `labelPosition` | `"left" \| "center" \| "right" \| undefined` | | | Sets the text alignment of the label. |
997
+ | `labelPosition` | `"center" \| "left" \| "right" \| undefined` | | | Sets the text alignment of the label. |
998
998
  | `layout` | `Responsive<FieldLayout> \| undefined` | | | How label and input sit together: `'vertical'`, `'horizontal'` (50/50), `'auto'`, `'label-fill'`, `'input-fill'`, a ratio like `'xx xxxxx'`, or a per-breakpoint map (`{ default: 'vertical', md: 'xx xxxxx' }`). |
999
999
  | `loading` | `boolean \| undefined` | `false` | | Sets the component in a loading state, usually triggering some visual styles. |
1000
1000
  | `max` | `string \| undefined` | | | Maximum selectable date in `YYYY-MM-DD` format — or, with `type="datetime"`, `YYYY-MM-DDTHH:mm` to tighten the boundary day to a minute. Values outside both patterns throw during setup to surface configuration mistakes. `type="week"`: a week (`YYYY-Www`) or a date, whole weeks only. |
@@ -1009,7 +1009,7 @@ label>')` matches nothing; query each segment by its own label instead. See
1009
1009
  | `range` | `boolean` | `false` | | Selects a range of dates between two dates. It selects all of the days between start and end. |
1010
1010
  | `readonly` | `boolean \| undefined` | `false` | | Sets the input in a readonly state. |
1011
1011
  | `required` | `boolean \| undefined` | `false` | | Sets the input as required. |
1012
- | `reverse` | `boolean \| undefined` | `false` | | Reverses the layout. Applicable in every direction the order of the label and the input is swapped. |
1012
+ | `reverse` | `boolean \| undefined` | `undefined` | | Reverses the layout. Applicable in every direction the order of the label and the input is swapped. |
1013
1013
  | `rules` | `RuleExpression<string \| string[] \| null>` | | | vee-validate rules for this field. Only inside a `BbForm`. |
1014
1014
  | `seconds` | `boolean \| undefined` | `false` | | Adds the seconds segment (requires `type="datetime"`). Without it, an incoming value carrying seconds displays truncated and is left untouched until the user commits an edit, at which point seconds zero out. |
1015
1015
  | `selectable` | `((date: string) => boolean) \| undefined` | | | Function that accepts a `string` object and returns a boolean. `false` meaning the date cannot be selected. Under `type="week"` it receives the week value (`2026-W44`). |
@@ -1019,8 +1019,8 @@ label>')` matches nothing; query each segment by its own label instead. See
1019
1019
  | `type` | `'date'` \| `'month'` \| `'year'` \| `'week'` \| `'datetime'` | `"date"` | | What the field edits, so its segments and emitted shape: `date` (`DD/MM/YYYY`), `datetime` (adds the time segments and rail), `week` (`W44 2026`, emits `2026-W44`), `month` (`MM/YYYY`, emits `YYYY-MM`) or `year` (`YYYY`). The last three force `floating` and ignore `utc` and the time props. |
1020
1020
  | `utc` | `boolean \| undefined` | `false` | | Emits UTC ISO strings (`…Z`) instead of the local offset (`…+01:00`). Emission only: incoming values parse the same either way, and the field always displays local time. Ignored with `floating`. |
1021
1021
  | `validationLabel` | `string \| undefined` | | | The field's name in validation messages (`{field}`): "Email is not valid". Defaults to the `label` (or `legend`), then "This field"; never the `name`. Set it when the label is hidden or reads badly in a sentence (icon-only, a question). `BbForm` only. |
1022
- | `validationMode` | `'aggressive'` \| `'balanced'` \| `'lazy'` \| `'submit-only'` \| `'submit-live'` | | | When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `formControls.validationMode` (`'balanced'`). `BbForm` only. |
1023
- | `variant` | `'outline'` \| `'secondary'` \| `'none'` \| `'ghost'` | `'outline'` | | The field box's look, with `BbButton`'s names and tokens. Colours only, so a form never reflows; `'ghost'` has no border in any state, `'none'` no look at all (you own hover, focus and the states). Register more with the plugin's `inputVariants`. |
1022
+ | `validationMode` | `'aggressive'` \| `'balanced'` \| `'lazy'` \| `'submit-only'` \| `'submit-live'` | | | When the field validates: `aggressive` (each change), `balanced` (on leave, then live while in error), `lazy` (on leave), `submit-only`, `submit-live`. Unset: the `BbForm`'s `validation-mode`, then `all.validationMode` (`'balanced'`). `BbForm` only. |
1023
+ | `variant` | `'outline'` \| `'secondary'` \| `'none'` \| `'ghost'` | `'outline'` | | The field box's look, with `BbButton`'s names and tokens. Colours only, so a form never reflows; `'ghost'` has no border in any state, `'none'` no look at all (you own hover, focus and the states). Register more with the plugin's `components.BbDatePickerInput.variants`. |
1024
1024
  | `warnings` | `string \| string[] \| undefined` | | | Warning messages under the field, a string or array: amber, in their own `aria-live` region and in the control's `aria-describedby` after the errors. Non-empty turns on the warning state; errors win when both are set. |
1025
1025
 
1026
1026
  ## Passthrough parts and states
@@ -1115,6 +1115,7 @@ Set these on the element, or on a class you put on it, to retune this component
1115
1115
  | Property | Set on | Default | What it is |
1116
1116
  | --- | --- | --- | --- |
1117
1117
  | `--border-color` | `pt:box` | `per variant` | The resting border, at the fixed --bb-border-w. Errors and warnings paint their frame over it, so `pt:box="[--border-color:…]"` recolours the rest without hiding the state; a plain `border-*` utility on the base pt:box would hide it (ESLint `no-box-border-color`). |
1118
+ | `--ph` | `pt:box` | `var(--bb-text-muted)` | Placeholder colour, one local for every field: the native `::placeholder`, BbSelect's activator text and the picker inputs' empty segments. Set it through `pt:box="[--ph:…]"`; app-wide, the same entry in the global pt map. |
1118
1119
 
1119
1120
  ## Component tree
1120
1121
 
@@ -1127,13 +1128,13 @@ Set these on the element, or on a class you put on it, to retune this component
1127
1128
 
1128
1129
  - `BbDatePickerInput` _(this component)_ — its own template binds: `controlAttrs` → `input.bb-segmented-field__input`, `input` → `input.bb-segmented-field__input`, `activator` → `button.bb-segmented-field__activator`, `suffix` → `span.bb-field-input__suffix`; hands `BbDatePicker` the pt map `passthrough.forward(PICKER_PARTS, BB_DATE_PICKER_PT.states)` (ours → theirs)
1129
1130
  - `BbDatePicker` _(public — [contract](./BbDatePicker.md))_ — its own pt parts (`BbDatePicker`): `panel` → `div`; hands `BbCalendar` the pt map ` passthrough.forward(DATE_PICKER_CALENDAR_PARTS, BB_CALENDAR_PT.states) ` (ours → theirs); hands `BbOffCanvas` the pt map `{ panel: 'root', sheet: 'root' }` (ours → theirs); documented CSS variables: `--cell`, `--unit-row`; also mounts `CommonPopover`
1130
- - `BbCalendar` _(public — [contract](./BbCalendar.md))_ — its own pt parts (`BbCalendar`): `header` → `div.bb-calendar__header`, `arrow` → `BbBaseButton`, `month` → `BbBaseButton`, `year` → `BbBaseButton`, `week` → `div.bb-calendar__week`, `weekNumber` → `div.bb-calendar__week-number`, `day` → `div.bb-calendar__day`, `dayButton` → `button.bb-calendar__day-button`; documented CSS variables: `--cell`, `--unit-row`, `--wk`; also mounts `ScaleFade`, `Slide`, `CalendarMonthPanel`, `CalendarYearPanel`
1131
+ - `BbCalendar` _(public — [contract](./BbCalendar.md))_ — its own pt parts (`BbCalendar`): `header` → `div.bb-calendar__header`, `arrow` → `BbBaseButton`, `month` → `BbBaseButton`, `year` → `BbBaseButton`, `week` → `div.bb-calendar__week`, `weekNumber` → `div.bb-calendar__week-number`, `day` → `div.bb-calendar__day`, `dayButton` → `button.bb-calendar__day-button`; documented CSS variables: `--cell`, `--unit-row`, `--wk`; also mounts `BbIcon`, `ScaleFade`, `Slide`, `CalendarMonthPanel`, `CalendarYearPanel`
1131
1132
  - `BbBaseButton` _(public — [contract](./BbBaseButton.md))_ — its own pt parts (`BbBaseButton`): `root` → `RouterComponent`, `root` → `a`, `root` → `component`; also mounts `RouterComponent`
1132
1133
  - `CommonTimeSelector` _(internal — not importable, reach it through `BbCalendar`)_ — its own pt parts (`BbCalendar`): `header` → `div.bb-time-selector__header`, `cellColumnHeader` → `div.bb-time-selector__cell-column-header`, `item` → `BbBaseButton`; documented CSS variables: `--time-mark`; also mounts `BbBaseButton`
1133
1134
  - `BbOffCanvas` _(public — [contract](./BbOffCanvas.md))_ — its own pt parts (`BbOffCanvas`): `header` → `div.bb-offcanvas__header`, `title` → `span.bb-offcanvas__title`, `description` → `p.bb-offcanvas__description`, `close` → `CloseButton`, `content` → `div.bb-offcanvas__content`, `footer` → `div.bb-offcanvas__footer`; documented CSS variables: `--stack-x`, `--snap-y`, `--stack-fill`, `--stack-transition-duration`, `--px`, `--handle-w`, `--handle-h`, `--handle-bg`, `--safe-top`, `--close-size`
1134
- - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`
1135
+ - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`, `--icon-size`; also mounts `BbIcon`
1135
1136
  - `CommonField` _(internal — not importable, reach it through `BbDatePickerInput`)_ — `BbDatePickerInput`'s pt parts land here: `root` → `div.bb-field`, `label` → `component`, `description` → `span.bb-field__description`, `hint` → `span.bb-field__hint`, `counter` → `span.bb-field__counter`, `message` → `div.bb-field__message`; documented CSS variables: `--ctrl-line`; also mounts `BbAsterisk`
1136
- - `CommonFieldInput` _(internal — not importable, reach it through `BbDatePickerInput`)_ — `BbDatePickerInput`'s pt parts land here: `box` → `span.bb-field-input__box`, `prefix` → `span.bb-field-input__prefix`, `icon` → `BbIcon`, `clear` → `ClearableButton`, `spinner` → `BbSpinner`, `suffix` → `span.bb-field-input__suffix`; documented CSS variables: `--bg`, `--bg-hover`, `--bg-focus`, `--bg-disabled`, `--fg-disabled`, `--border-color`, `--border-focus`, `--ring-size`, `--ring-color`, `--elev`, `--frost`, `--inside-label-clearance`; also mounts `ErrorIcon`, `WarningIcon`, `ClearableButton`, `BbIcon`, `BbSpinner`
1137
+ - `CommonFieldInput` _(internal — not importable, reach it through `BbDatePickerInput`)_ — `BbDatePickerInput`'s pt parts land here: `box` → `span.bb-field-input__box`, `prefix` → `span.bb-field-input__prefix`, `icon` → `BbIcon`, `clear` → `ClearableButton`, `spinner` → `BbSpinner`, `suffix` → `span.bb-field-input__suffix`; documented CSS variables: `--bg`, `--bg-hover`, `--bg-focus`, `--bg-disabled`, `--fg-disabled`, `--border-color`, `--border-focus`, `--ring-size`, `--ring-color`, `--elev`, `--frost`, `--ph`, `--inside-label-clearance`; also mounts `ErrorIcon`, `WarningIcon`, `ClearableButton`, `BbIcon`, `BbSpinner`
1137
1138
  - Also mounts `BbIcon`
1138
1139
 
1139
1140
  ## See Also
@@ -30,6 +30,7 @@
30
30
  | --- | --- | --- | --- |
31
31
  | `--size` | `pt:close` | `CloseButton` | the button box — the hit target, not the glyph |
32
32
  | `--p` | `pt:close` | `CloseButton` | padding inside that box; what is left of --size is the glyph |
33
+ | `--icon-size` | `pt:close` | `CloseButton` | Glyph: whatever the padding leaves, but never under 10px — a tight --size with the default padding would otherwise collapse it. Declared here, not on the svg: the glyph is a BbIcon, whose own `--size` local would shadow the button's there. |
33
34
 
34
35
  ## Usage & Guidelines
35
36
 
@@ -581,10 +582,10 @@ const save = (saved: Member) => {
581
582
 
582
583
  **Whose surroundings the dialog takes.** The directive sits on the trigger in
583
584
  the template, so the dialog it opens follows the trigger's surroundings: a
584
- `<BbPtScope>` around the button themes it. A handle call (`edit.show()`) is
585
+ `<BbConfigScope>` around the button themes it. A handle call (`edit.show()`) is
585
586
  the code form of opening and knows nothing about the element that led to
586
587
  it: it inherits only what the calling component's setup sees (the page's
587
- provides), not a `<BbPtScope>` the page writes around the button in its own
588
+ provides), not a `<BbConfigScope>` the page writes around the button in its own
588
589
  template. To theme a code-opened dialog, put the scope around the page (or
589
590
  its layout), or open it with the directive.
590
591
 
@@ -678,7 +679,7 @@ const createForDesign = async () => {
678
679
  resolves `{ completed: true, value }`, every other close a dismissal, at
679
680
  close start. The instance unmounts after the close transition.
680
681
  - **It injects like its opener.** The directive's dialog takes the trigger's
681
- surroundings (a row's `provide`, a `<BbPtScope>` around the button, an
682
+ surroundings (a row's `provide`, a `<BbConfigScope>` around the button, an
682
683
  enclosing `BbForm`); a handle's takes the calling component's. It paints
683
684
  in the host, outside the page's DOM.
684
685
  - **Lifetime.** The opening is dismissed (`'unmounted'`) when what opened it
@@ -1138,7 +1139,7 @@ a fresh body: every new opening gets one, a reopen mid-close included (an
1138
1139
  ### Size
1139
1140
 
1140
1141
  `size` runs the shared `xs`–`2xl` scale and controls the dialog's **max width**
1141
- (height always hugs content). The presets map to `config.dialogDefaultSizes`
1142
+ (height always hugs content). The presets map to `components.BbDialog.sizeMap`
1142
1143
  (384px for the default `sm`, up to 672px for `2xl`, overridable in the plugin
1143
1144
  options); a number is pixels and a string passes through as a CSS width. Give it
1144
1145
  a per-breakpoint map to widen responsively — narrow on phones, roomier on
@@ -1556,7 +1557,7 @@ Inertia, so the page is not remounted; this needs `bitbossUiPlugin` installed
1556
1557
 
1557
1558
  ### Adaptive: a bottom sheet on mobile
1558
1559
 
1559
- By default (`config.adaptive`, `true` out of the box) a dialog opened on a small
1560
+ By default (`all.adaptive`, `true` out of the box) a dialog opened on a small
1560
1561
  viewport (below `config.mobileMaxWidth`, 768px) renders as a `BbOffCanvas`
1561
1562
  bottom sheet instead of a centered modal — better ergonomics for thumbs. The
1562
1563
  surface is **latched when the dialog opens** and stays fixed for that session,
@@ -1588,7 +1589,7 @@ so a mid-flow resize never swaps modal ↔ sheet.
1588
1589
  forces the sheet behavior on regardless of the global config.
1589
1590
 
1590
1591
  Leave `adaptive` unset unless the project asks otherwise — the tri-state
1591
- default falls back to `config.adaptive`.
1592
+ default falls back to `all.adaptive`.
1592
1593
 
1593
1594
  ### Restyling with passthrough
1594
1595
 
@@ -1784,12 +1785,12 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
1784
1785
  | Prop | Type | Default | Required | Description |
1785
1786
  | --- | --- | --- | --- | --- |
1786
1787
  | `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: `close`, `content`, `description`, `footer`, `header`, `root`, `sheet`, `title`. States: `fullscreen`, `open`. 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 `BbDialogProps['pt']` (`PtValue` is not exported): § Typing `pt` in `<script>`. |
1787
- | `adaptive` | `boolean \| undefined` | ``config.adaptive` (`true`)` | | On mobile, renders as a `BbOffCanvas` drawer instead of a centred dialog; the surface is chosen when the dialog opens and kept until it closes. Unset: the global `config.adaptive`. |
1788
+ | `adaptive` | `boolean \| undefined` | ``all.adaptive` (`true`)` | | On mobile, renders as a `BbOffCanvas` drawer instead of a centred dialog; the surface is chosen when the dialog opens and kept until it closes. Unset: the global `all.adaptive`. |
1788
1789
  | `defaultData` | `Record<string, any> \| undefined` | | | What `data` is when an opening passes none (a create): an object, copied at once, so inputs bind `data.x` with no guard. An opening's data lays over it (`{ ...defaultData, ...row }`, one level). `reset()` restores its keys but keeps an edit's `id`; a close restores it. |
1789
1790
  | `description` | `string \| undefined` | | | One short line under the title, muted (the shadcn `DialogDescription` shape), and the only element `aria-describedby` points at. Keep it to a sentence; anything longer belongs in the body. |
1790
1791
  | `eager` | `boolean \| undefined` | `false` | | Keep the body mounted while closed, from before the first opening. Without it the body mounts per opening and unmounts after `@hidden`. `data` still clears while closed, so an eager body guards its reads. |
1791
1792
  | `focusTarget` | `string \| undefined` | | | CSS selector of the element to focus after opening. Defaults to the first tabbable element. |
1792
- | `fullscreen` | `boolean \| "mobile" \| undefined` | | | Display the dialog fullscreen. Use `'mobile'` to restrict fullscreen to small devices. |
1793
+ | `fullscreen` | `boolean \| "mobile" \| undefined` | `undefined` | | Display the dialog fullscreen. Use `'mobile'` to restrict fullscreen to small devices. |
1793
1794
  | `hideClose` | `boolean \| undefined` | `false` | | Hide the default close (×) button. The button is shown by default; set this to remove it (e.g. for a `persistent` dialog you don't want dismissible — the × otherwise still closes a persistent dialog). |
1794
1795
  | `id` | `string \| undefined` | | | Names the dialog for `v-bb-dialog="'edit'"` and `useBbDialog`, found nearest to the trigger, so two pages may reuse an id. Also the DOM `id`: one dialog per id, rows pass `data`. |
1795
1796
  | `modelValue` | `boolean \| undefined` | `false` | | Used by v-model to open / close the dialog. A dialog with no `v-model` starts closed. |
@@ -1870,7 +1871,7 @@ Set these on the element, or on a class you put on it, to retune this component
1870
1871
  - Listed nodes are the ones `BbDialog`'s API reaches or that declare a documented CSS variable; the rest fold into "also mounts". The complete tree, repeats and undocumented locals included, is `manifest/components/BbDialog.tree.json`.
1871
1872
 
1872
1873
  - `BbDialog` _(this component)_ — its own template binds: `header` → `div.bb-dialog__header`, `title` → `span.bb-dialog__title`, `description` → `p.bb-dialog__description`, `close` → `CloseButton`, `content` → `div.bb-dialog__content`, `footer` → `div.bb-dialog__footer`; hands `BbOffCanvas` the pt map `{ root: 'root', header: 'header', title: 'title', description: 'description', content: 'content', footer: 'footer', close: 'close', sheet: 'root', }` (ours → theirs)
1873
- - `CloseButton` _(internal — not importable, reach it through `BbDialog`)_ — documented CSS variables: `--size`, `--p`
1874
+ - `CloseButton` _(internal — not importable, reach it through `BbDialog`)_ — documented CSS variables: `--size`, `--p`, `--icon-size`; also mounts `BbIcon`
1874
1875
  - `BbOffCanvas` _(public — [contract](./BbOffCanvas.md))_ — its own pt parts (`BbOffCanvas`): `header` → `div.bb-offcanvas__header`, `title` → `span.bb-offcanvas__title`, `description` → `p.bb-offcanvas__description`, `close` → `CloseButton`, `content` → `div.bb-offcanvas__content`, `footer` → `div.bb-offcanvas__footer`; documented CSS variables: `--stack-x`, `--snap-y`, `--stack-fill`, `--stack-transition-duration`, `--px`, `--handle-w`, `--handle-h`, `--handle-bg`, `--safe-top`, `--close-size`; also mounts `CloseButton`
1875
1876
 
1876
1877
  ## See Also