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

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 (363) hide show
  1. package/README.md +2 -2
  2. package/bin/cli.mjs +9 -3
  3. package/dist/ai/BbAccordion.md +38 -19
  4. package/dist/ai/BbBadge.md +25 -22
  5. package/dist/ai/BbBreadcrumbs.md +1 -1
  6. package/dist/ai/BbButton.md +32 -27
  7. package/dist/ai/BbCalendar.md +1 -0
  8. package/dist/ai/BbCarousel.md +6 -4
  9. package/dist/ai/BbCheckboxGroup.md +2 -1
  10. package/dist/ai/BbColorInput.md +1 -1
  11. package/dist/ai/BbConfirm.md +65 -81
  12. package/dist/ai/BbConfirmPortal.md +2 -2
  13. package/dist/ai/BbDatePicker.md +1 -6
  14. package/dist/ai/BbDatePickerInput.md +2 -2
  15. package/dist/ai/BbDialog.md +233 -164
  16. package/dist/ai/BbDropdown.md +52 -16
  17. package/dist/ai/BbDropdownButton.md +11 -12
  18. package/dist/ai/BbDropzone.md +12 -8
  19. package/dist/ai/BbForm.md +100 -13
  20. package/dist/ai/BbHost.md +2 -2
  21. package/dist/ai/BbHoverCardPortal.md +1 -1
  22. package/dist/ai/BbIcon.md +1 -1
  23. package/dist/ai/BbIndicator.md +17 -15
  24. package/dist/ai/BbNumberInput.md +7 -5
  25. package/dist/ai/BbOffCanvas.md +29 -7
  26. package/dist/ai/BbPagination.md +2 -2
  27. package/dist/ai/BbPopover.md +15 -9
  28. package/dist/ai/BbPopoverPortal.md +1 -1
  29. package/dist/ai/BbRadioGroup.md +29 -7
  30. package/dist/ai/BbRating.md +8 -7
  31. package/dist/ai/BbSelect.md +29 -8
  32. package/dist/ai/BbSelectPopover.md +9 -3
  33. package/dist/ai/BbSlider.md +12 -8
  34. package/dist/ai/BbSpinner.md +3 -2
  35. package/dist/ai/BbSwitch.md +3 -3
  36. package/dist/ai/BbSwitchGroup.md +7 -6
  37. package/dist/ai/BbTable.md +205 -82
  38. package/dist/ai/BbTabs.md +29 -4
  39. package/dist/ai/BbTag.md +1 -1
  40. package/dist/ai/BbTextInput.md +7 -5
  41. package/dist/ai/BbTextarea.md +4 -3
  42. package/dist/ai/BbTimePickerInput.md +1 -1
  43. package/dist/ai/BbToast.md +3 -2
  44. package/dist/ai/BbTooltip.md +22 -17
  45. package/dist/ai/BbTree.md +49 -24
  46. package/dist/ai/CommonFieldInput.md +1 -1
  47. package/dist/ai/changelog.json +242 -9
  48. package/dist/ai/components.json +52 -51
  49. package/dist/ai/composables/useBbDialog.md +5 -8
  50. package/dist/ai/composables/useBbForm.md +3 -0
  51. package/dist/ai/composables/useConfirm.md +65 -56
  52. package/dist/ai/composables/useToast.md +2 -1
  53. package/dist/ai/guides/agent-contract.md +3 -3
  54. package/dist/ai/guides/app-layout.md +3 -2
  55. package/dist/ai/guides/eslint-rules.md +3 -1
  56. package/dist/ai/guides/fetch-items-playbook.md +1 -1
  57. package/dist/ai/guides/floating-bottom-panel.md +3 -2
  58. package/dist/ai/guides/icons-policy.md +7 -5
  59. package/dist/ai/guides/inertia-helpers.md +35 -30
  60. package/dist/ai/guides/installation-and-plugin-setup.md +17 -14
  61. package/dist/ai/guides/migration/adoption-checklist.md +2 -2
  62. package/dist/ai/guides/migration/components/bb-badge.md +12 -1
  63. package/dist/ai/guides/migration/components/bb-button.md +24 -0
  64. package/dist/ai/guides/migration/components/bb-dropdown-button.md +11 -0
  65. package/dist/ai/guides/migration/components/bb-tabs.md +2 -2
  66. package/dist/ai/guides/migration/components/bb-toast.md +11 -0
  67. package/dist/ai/guides/migration/components/use-confirm.md +72 -26
  68. package/dist/ai/guides/migration/v2-to-v3.md +52 -10
  69. package/dist/ai/guides/migration/v3-beta-css-classes.md +1 -1
  70. package/dist/ai/guides/options-items-playbook.md +4 -3
  71. package/dist/ai/guides/passthrough.md +2 -2
  72. package/dist/ai/helpers/inertia/manifest.json +28 -15
  73. package/dist/ai/helpers/inertia/messages.ts +3 -3
  74. package/dist/ai/helpers/inertia/useConfirmOnRouteLeave.ts +10 -10
  75. package/dist/ai/helpers/inertia/usePromiseForm.ts +1 -1
  76. package/dist/ai/helpers/inertia/usePromiseRouter.ts +7 -2
  77. package/dist/ai/index.md +3 -3
  78. package/dist/ai/manifest/common.json +3 -3
  79. package/dist/ai/manifest/components/BbAccordion.json +8 -5
  80. package/dist/ai/manifest/components/BbAccordion.tree.json +1 -0
  81. package/dist/ai/manifest/components/BbBadge.json +8 -7
  82. package/dist/ai/manifest/components/BbBadge.removed.json +3 -1
  83. package/dist/ai/manifest/components/BbBadge.tree.json +73 -0
  84. package/dist/ai/manifest/components/BbBreadcrumbs.json +1 -1
  85. package/dist/ai/manifest/components/BbButton.json +5 -6
  86. package/dist/ai/manifest/components/BbButton.removed.json +3 -1
  87. package/dist/ai/manifest/components/BbButton.tree.json +24 -7
  88. package/dist/ai/manifest/components/BbCalendar.json +2 -1
  89. package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
  90. package/dist/ai/manifest/components/BbColorInput.json +1 -1
  91. package/dist/ai/manifest/components/BbColorInput.tree.json +1 -1
  92. package/dist/ai/manifest/components/BbConfirm.json +2 -2
  93. package/dist/ai/manifest/components/BbConfirm.removed.json +9 -0
  94. package/dist/ai/manifest/components/BbConfirm.tree.json +4 -5
  95. package/dist/ai/manifest/components/BbConfirmPortal.json +3 -3
  96. package/dist/ai/manifest/components/BbConfirmPortal.removed.json +7 -0
  97. package/dist/ai/manifest/components/BbDatePicker.json +2 -1
  98. package/dist/ai/manifest/components/BbDatePicker.tree.json +0 -6
  99. package/dist/ai/manifest/components/BbDatePickerInput.json +2 -2
  100. package/dist/ai/manifest/components/BbDatePickerInput.tree.json +1 -1
  101. package/dist/ai/manifest/components/BbDialog.json +6 -1
  102. package/dist/ai/manifest/components/BbDialog.tree.json +41 -1
  103. package/dist/ai/manifest/components/BbDropdown.json +9 -8
  104. package/dist/ai/manifest/components/BbDropdown.tree.json +4 -0
  105. package/dist/ai/manifest/components/BbDropdownButton.json +8 -9
  106. package/dist/ai/manifest/components/BbDropdownButton.removed.json +3 -1
  107. package/dist/ai/manifest/components/BbForm.json +3 -1
  108. package/dist/ai/manifest/components/BbNumberInput.json +1 -1
  109. package/dist/ai/manifest/components/BbNumberInput.tree.json +1 -1
  110. package/dist/ai/manifest/components/BbOffCanvas.json +6 -1
  111. package/dist/ai/manifest/components/BbOffCanvas.tree.json +40 -0
  112. package/dist/ai/manifest/components/BbPagination.json +1 -1
  113. package/dist/ai/manifest/components/BbRadioGroup.json +4 -3
  114. package/dist/ai/manifest/components/BbRating.json +2 -2
  115. package/dist/ai/manifest/components/BbSelect.json +16 -15
  116. package/dist/ai/manifest/components/BbSelect.tree.json +1 -1
  117. package/dist/ai/manifest/components/BbSelectPopover.json +1 -0
  118. package/dist/ai/manifest/components/BbSwitch.json +4 -4
  119. package/dist/ai/manifest/components/BbSwitchGroup.json +7 -7
  120. package/dist/ai/manifest/components/BbTable.json +15 -14
  121. package/dist/ai/manifest/components/BbTable.tree.json +2 -0
  122. package/dist/ai/manifest/components/BbTabs.json +3 -3
  123. package/dist/ai/manifest/components/BbTabsList.json +1 -1
  124. package/dist/ai/manifest/components/BbTabsRoot.json +1 -1
  125. package/dist/ai/manifest/components/BbTag.json +1 -1
  126. package/dist/ai/manifest/components/BbTag.tree.json +1 -1
  127. package/dist/ai/manifest/components/BbTextInput.json +1 -1
  128. package/dist/ai/manifest/components/BbTextInput.tree.json +1 -1
  129. package/dist/ai/manifest/components/BbTextarea.json +1 -1
  130. package/dist/ai/manifest/components/BbTextarea.tree.json +1 -1
  131. package/dist/ai/manifest/components/BbTimePicker.json +1 -1
  132. package/dist/ai/manifest/components/BbTimePickerInput.json +1 -1
  133. package/dist/ai/manifest/components/BbTimePickerInput.tree.json +1 -1
  134. package/dist/ai/manifest/components/BbToast.removed.json +2 -1
  135. package/dist/ai/manifest/components/BbTree.json +2 -2
  136. package/dist/ai/manifest/components/CommonFieldInput.tree.json +3 -3
  137. package/dist/ai/manifest/index.json +4 -4
  138. package/dist/ai/manifest/meta.json +5 -1
  139. package/dist/ai/manifest/types.advanced.json +9 -9
  140. package/dist/ai/manifest/types.api.json +6 -5
  141. package/dist/ai/recipes/inertia/approvals-inbox.md +23 -16
  142. package/dist/ai/recipes/inertia/inline-edit-workspace.md +12 -5
  143. package/dist/ai/recipes/inertia/layout-scaffold.md +5 -3
  144. package/dist/ai/recipes/inertia/onboarding.md +23 -12
  145. package/dist/ai/recipes/inertia/ownership-atlas.md +34 -18
  146. package/dist/ai/recipes/inertia/record-form.md +12 -8
  147. package/dist/ai/recipes/inertia/records-workspace.md +14 -7
  148. package/dist/ai/recipes/inertia/settings-workspace.md +75 -60
  149. package/dist/ai/recipes/inertia/upload-center.md +17 -9
  150. package/dist/ai/recipes/inertia/wizard-form.md +2 -2
  151. package/dist/ai/recipes/nuxt/approvals-inbox.md +23 -16
  152. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +12 -5
  153. package/dist/ai/recipes/nuxt/layout-scaffold.md +5 -3
  154. package/dist/ai/recipes/nuxt/onboarding.md +5 -4
  155. package/dist/ai/recipes/nuxt/ownership-atlas.md +34 -18
  156. package/dist/ai/recipes/nuxt/record-form.md +14 -10
  157. package/dist/ai/recipes/nuxt/records-workspace.md +14 -7
  158. package/dist/ai/recipes/nuxt/settings-workspace.md +70 -60
  159. package/dist/ai/recipes/nuxt/upload-center.md +17 -9
  160. package/dist/ai/recipes/nuxt/wizard-form.md +4 -4
  161. package/dist/ai/recipes/vue/approvals-inbox.md +23 -16
  162. package/dist/ai/recipes/vue/inline-edit-workspace.md +12 -5
  163. package/dist/ai/recipes/vue/layout-scaffold.md +5 -3
  164. package/dist/ai/recipes/vue/onboarding.md +5 -4
  165. package/dist/ai/recipes/vue/ownership-atlas.md +34 -18
  166. package/dist/ai/recipes/vue/record-form.md +14 -10
  167. package/dist/ai/recipes/vue/records-workspace.md +14 -7
  168. package/dist/ai/recipes/vue/settings-workspace.md +70 -60
  169. package/dist/ai/recipes/vue/upload-center.md +17 -9
  170. package/dist/ai/recipes/vue/wizard-form.md +4 -4
  171. package/dist/ai/source/BbAccordion.md +50 -16
  172. package/dist/ai/source/BbBadge.md +420 -26
  173. package/dist/ai/source/BbBadgeButton.md +378 -12
  174. package/dist/ai/source/BbButton.md +205 -55
  175. package/dist/ai/source/BbCalendar.md +5 -0
  176. package/dist/ai/source/BbCheckboxGroup.md +38 -13
  177. package/dist/ai/source/BbConfigScope.md +19 -2
  178. package/dist/ai/source/BbConfirm.md +74 -80
  179. package/dist/ai/source/BbConfirmPortal.md +6 -6
  180. package/dist/ai/source/BbDatePicker.md +9 -2
  181. package/dist/ai/source/BbDatePickerInput.md +3 -1
  182. package/dist/ai/source/BbDialog.md +53 -2
  183. package/dist/ai/source/BbDropdown.md +350 -98
  184. package/dist/ai/source/BbDropdownButton.md +20 -12
  185. package/dist/ai/source/BbDropdownGroup.md +136 -58
  186. package/dist/ai/source/BbForm.md +152 -11
  187. package/dist/ai/source/BbOffCanvas.md +53 -2
  188. package/dist/ai/source/BbPagination.md +1 -1
  189. package/dist/ai/source/BbRadioGroup.md +72 -10
  190. package/dist/ai/source/BbRating.md +30 -22
  191. package/dist/ai/source/BbSelect.md +11 -1
  192. package/dist/ai/source/BbSelectPopover.md +105 -34
  193. package/dist/ai/source/BbSwitch.md +23 -8
  194. package/dist/ai/source/BbSwitchGroup.md +67 -21
  195. package/dist/ai/source/BbTable.md +359 -48
  196. package/dist/ai/source/BbTabs.md +6 -0
  197. package/dist/ai/source/BbTabsList.md +10 -0
  198. package/dist/ai/source/BbTabsPanels.md +6 -0
  199. package/dist/ai/source/BbTabsRoot.md +6 -0
  200. package/dist/ai/source/BbTree.md +14 -4
  201. package/dist/ai/source/CommonFieldInput.md +2 -1
  202. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +7 -3
  203. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +52 -38
  204. package/dist/components/BbAccordion/ptKeys.generated.d.ts +20 -0
  205. package/dist/components/BbAccordion/types.d.ts +21 -7
  206. package/dist/components/BbAccordion/types.js +1 -1
  207. package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -1
  208. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +5 -5
  209. package/dist/components/BbBadge/BbBadge.vue.d.ts +1 -1
  210. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +65 -42
  211. package/dist/components/BbBadge/types.d.ts +15 -12
  212. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +79 -73
  213. package/dist/components/BbButton/types.d.ts +7 -6
  214. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +2 -1
  215. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +2 -1
  216. package/dist/components/BbCalendar/types.d.ts +5 -0
  217. package/dist/components/BbCalendar/useCalendarGrid.js +1 -1
  218. package/dist/components/BbCalendar/useDayGrid.js +1 -1
  219. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +10 -4
  220. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +2 -2
  221. package/dist/components/BbCheckboxGroup/types.d.ts +2 -2
  222. package/dist/components/BbConfigScope/BbConfigScope.vue_vue_type_script_setup_true_lang.js +8 -8
  223. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +71 -132
  224. package/dist/components/BbConfirm/ptKeys.generated.d.ts +5 -5
  225. package/dist/components/BbConfirm/types.d.ts +5 -5
  226. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +2 -1
  227. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +3 -0
  228. package/dist/components/BbDatePicker/types.d.ts +5 -0
  229. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -1
  230. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +2 -0
  231. package/dist/components/BbDatePickerInput/types.d.ts +2 -1
  232. package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -0
  233. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +263 -235
  234. package/dist/components/BbDialog/overlayActions.js +94 -0
  235. package/dist/components/BbDialog/types.d.ts +24 -0
  236. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +4 -3
  237. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +382 -332
  238. package/dist/components/BbDropdown/dropdownHandle.js +6 -0
  239. package/dist/components/BbDropdown/normalizeGroups.js +58 -48
  240. package/dist/components/BbDropdown/types.d.ts +107 -48
  241. package/dist/components/BbDropdown/types.js +2 -2
  242. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +71 -71
  243. package/dist/components/BbDropdownButton/types.d.ts +2 -4
  244. package/dist/components/BbForm/BbForm.vue.d.ts +2 -1
  245. package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +241 -199
  246. package/dist/components/BbForm/recognizeValidation.d.ts +9 -0
  247. package/dist/components/BbForm/recognizeValidation.js +55 -0
  248. package/dist/components/BbForm/validationError.d.ts +10 -0
  249. package/dist/components/BbForm/validationError.js +11 -0
  250. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -0
  251. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +414 -389
  252. package/dist/components/BbOffCanvas/sheetAttrs.js +5 -5
  253. package/dist/components/BbOffCanvas/types.d.ts +24 -0
  254. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +3 -3
  255. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +10 -4
  256. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +173 -157
  257. package/dist/components/BbRadioGroup/types.d.ts +9 -3
  258. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +112 -103
  259. package/dist/components/BbRating/types.d.ts +3 -2
  260. package/dist/components/BbSelect/BbSelect.vue.d.ts +9 -8
  261. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +3 -1
  262. package/dist/components/BbSelect/types.d.ts +8 -0
  263. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +11 -4
  264. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +513 -502
  265. package/dist/components/BbSelectPopover/types.d.ts +10 -2
  266. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -0
  267. package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +85 -73
  268. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +10 -4
  269. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +171 -152
  270. package/dist/components/BbSwitchGroup/types.d.ts +1 -1
  271. package/dist/components/BbTable/BbTable.vue.d.ts +36 -25
  272. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1338 -1215
  273. package/dist/components/BbTable/BbTableDataRow.js +2 -1
  274. package/dist/components/BbTable/BbTableRowMenu.js +36 -0
  275. package/dist/components/BbTable/types.d.ts +32 -17
  276. package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +2 -2
  277. package/dist/components/BbTabs/types.d.ts +6 -0
  278. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +1 -1
  279. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +1 -1
  280. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +1 -1
  281. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +88 -94
  282. package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +1 -1
  283. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +9 -9
  284. package/dist/components/BbTree/types.d.ts +8 -2
  285. package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +39 -39
  286. package/dist/composables/formSubmitLock.js +15 -8
  287. package/dist/composables/overlayRegistry.d.ts +5 -0
  288. package/dist/composables/overlayRegistry.js +154 -148
  289. package/dist/composables/useBbDropdown.d.ts +8 -0
  290. package/dist/composables/useBbDropdown.js +3 -1
  291. package/dist/composables/useBbTabs.js +138 -138
  292. package/dist/composables/useConfirm.d.ts +63 -52
  293. package/dist/composables/useConfirm.js +22 -18
  294. package/dist/deprecation/ai-deprecations.json.js +1 -1
  295. package/dist/directives/bbDropdown.d.ts +7 -7
  296. package/dist/directives/bbDropdown.js +21 -14
  297. package/dist/directives/bbTooltip.d.ts +3 -3
  298. package/dist/directives/createPopoverDirective.js +57 -35
  299. package/dist/i18n/locales/ar.json +5 -1
  300. package/dist/i18n/locales/cs.json +5 -1
  301. package/dist/i18n/locales/da.json +5 -1
  302. package/dist/i18n/locales/de-CH.json +5 -1
  303. package/dist/i18n/locales/de.json +5 -1
  304. package/dist/i18n/locales/el.json +5 -1
  305. package/dist/i18n/locales/en-GB.json +5 -1
  306. package/dist/i18n/locales/en.json +5 -1
  307. package/dist/i18n/locales/es-MX.json +5 -1
  308. package/dist/i18n/locales/es.json +5 -1
  309. package/dist/i18n/locales/fa.json +5 -1
  310. package/dist/i18n/locales/fi.json +5 -1
  311. package/dist/i18n/locales/fr.json +5 -1
  312. package/dist/i18n/locales/he.json +5 -1
  313. package/dist/i18n/locales/hu.json +5 -1
  314. package/dist/i18n/locales/it.json +5 -1
  315. package/dist/i18n/locales/ja.json +5 -1
  316. package/dist/i18n/locales/ko.json +5 -1
  317. package/dist/i18n/locales/nb.json +5 -1
  318. package/dist/i18n/locales/nl.json +5 -1
  319. package/dist/i18n/locales/pl.json +5 -1
  320. package/dist/i18n/locales/pt-BR.json +5 -1
  321. package/dist/i18n/locales/pt-PT.json +5 -1
  322. package/dist/i18n/locales/ro.json +5 -1
  323. package/dist/i18n/locales/ru.json +5 -1
  324. package/dist/i18n/locales/sv.json +5 -1
  325. package/dist/i18n/locales/tr.json +5 -1
  326. package/dist/i18n/locales/uk.json +5 -1
  327. package/dist/i18n/locales/zh-CN.json +5 -1
  328. package/dist/i18n/locales/zh-HK.json +5 -1
  329. package/dist/i18n/locales/zh-TW.json +5 -1
  330. package/dist/index.d.ts +2 -0
  331. package/dist/index.js +4 -3
  332. package/dist/llms-full.txt +1997 -1151
  333. package/dist/llms-medium.txt +21 -18
  334. package/dist/llms.txt +2 -2
  335. package/dist/locale-blueprint.json +5 -1
  336. package/dist/plugin.js +17 -40
  337. package/dist/pluginCore.js +30 -0
  338. package/dist/styles.css +2 -2
  339. package/dist/types/ActionButton.d.ts +26 -5
  340. package/dist/types/ActionButton.js +11 -0
  341. package/dist/types/ConfigDefaults.d.ts +34 -3
  342. package/dist/types/ConfigDefaults.js +14 -8
  343. package/dist/types/ItemPath.d.ts +33 -4
  344. package/dist/types/ptComponentMap.d.ts +1 -1
  345. package/dist/utilities/functions/clickCount.js +14 -0
  346. package/dist/utilities/functions/hash.js +90 -3
  347. package/dist/utilities/functions/isEqual.js +61 -3
  348. package/dist/utils/versionCheck.js +1 -1
  349. package/dist/vite.js +0 -1
  350. package/llms.txt +2 -2
  351. package/package.json +12 -2
  352. package/scripts/README.md +43 -39
  353. package/scripts/lib/adoption-checklist.json +2 -2
  354. package/scripts/lib/eslint-disable.mjs +5 -3
  355. package/scripts/lib/eslint-plugin.d.ts +2 -0
  356. package/scripts/lib/eslint-plugin.mjs +213 -1
  357. package/scripts/lib/helpers-add.mjs +21 -2
  358. package/scripts/lib/redundant-item-accessor.mjs +4 -1
  359. package/scripts/lib/release-results.mjs +180 -5
  360. package/scripts/lib/renamed-item-field.mjs +4 -1
  361. package/scripts/lib/tab-links.mjs +4 -1
  362. package/scripts/lib/tree-default-expandable.mjs +53 -0
  363. package/scripts/lib/validate-bb-markup.mjs +536 -52
@@ -1,6 +1,8 @@
1
1
  {
2
2
  "name": "BbBadge",
3
3
  "removed": [
4
- {"name":"content","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-badge.md","silent":true,"fix":{"kind":"manual"}}
4
+ {"name":"content","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-badge.md","silent":true,"fix":{"kind":"manual"}},
5
+ {"name":"icon","new":"prepend:icon","hint":"an icon-only badge: `prepend:icon=\"…\" icon-only`; the default slot stays its hidden label","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/bb-badge.md","silent":true,"fix":{"kind":"manual"}},
6
+ {"name":"icon","new":"prepend:icon","surface":"slot","hint":"an icon-only badge: `#prepend:icon` with `icon-only`","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/bb-badge.md","silent":true,"fix":{"kind":"manual"}}
5
7
  ]
6
8
  }
@@ -19,13 +19,50 @@
19
19
  "",
20
20
  "--*",
21
21
  "--2xl",
22
+ "--2xl-2xl",
23
+ "--2xl-lg",
24
+ "--2xl-md",
25
+ "--2xl-sm",
26
+ "--2xl-xl",
27
+ "--2xl-xs",
22
28
  "--clearable",
23
29
  "--highlighted",
24
30
  "--icon",
31
+ "--icon-*",
32
+ "--icon-2xl",
33
+ "--icon-default",
34
+ "--icon-lg",
35
+ "--icon-md",
36
+ "--icon-sm",
37
+ "--icon-xl",
25
38
  "--lg",
39
+ "--lg-2xl",
40
+ "--lg-lg",
41
+ "--lg-md",
42
+ "--lg-sm",
43
+ "--lg-xl",
44
+ "--lg-xs",
26
45
  "--loading",
46
+ "--md-2xl",
47
+ "--md-lg",
48
+ "--md-md",
49
+ "--md-sm",
50
+ "--md-xl",
51
+ "--md-xs",
27
52
  "--sm",
53
+ "--sm-2xl",
54
+ "--sm-lg",
55
+ "--sm-md",
56
+ "--sm-sm",
57
+ "--sm-xl",
58
+ "--sm-xs",
28
59
  "--xl",
60
+ "--xl-2xl",
61
+ "--xl-lg",
62
+ "--xl-md",
63
+ "--xl-sm",
64
+ "--xl-xl",
65
+ "--xl-xs",
29
66
  "--xs",
30
67
  "__append-icon",
31
68
  "__body",
@@ -77,12 +114,48 @@
77
114
  ],
78
115
  "internal": [
79
116
  {"class":"bb-badge--2xl"},
117
+ {"class":"bb-badge--2xl-2xl"},
118
+ {"class":"bb-badge--2xl-lg"},
119
+ {"class":"bb-badge--2xl-md","reads":["--min-size-md"]},
120
+ {"class":"bb-badge--2xl-sm"},
121
+ {"class":"bb-badge--2xl-xl"},
122
+ {"class":"bb-badge--2xl-xs"},
80
123
  {"class":"bb-badge--clearable","reads":["--px"]},
81
124
  {"class":"bb-badge--highlighted","reads":["--ring-color","--ring-size"]},
82
125
  {"class":"bb-badge--icon","reads":["--px"]},
126
+ {"class":"bb-badge--icon-2xl","reads":["--px"]},
127
+ {"class":"bb-badge--icon-default","reads":["--px"]},
128
+ {"class":"bb-badge--icon-lg","reads":["--px"]},
129
+ {"class":"bb-badge--icon-md","reads":["--px"]},
130
+ {"class":"bb-badge--icon-sm","reads":["--px"]},
131
+ {"class":"bb-badge--icon-xl","reads":["--px"]},
83
132
  {"class":"bb-badge--lg"},
133
+ {"class":"bb-badge--lg-2xl"},
134
+ {"class":"bb-badge--lg-lg"},
135
+ {"class":"bb-badge--lg-md","reads":["--min-size-md"]},
136
+ {"class":"bb-badge--lg-sm"},
137
+ {"class":"bb-badge--lg-xl"},
138
+ {"class":"bb-badge--lg-xs"},
139
+ {"class":"bb-badge--md-2xl"},
140
+ {"class":"bb-badge--md-lg"},
141
+ {"class":"bb-badge--md-md","reads":["--min-size-md"]},
142
+ {"class":"bb-badge--md-sm"},
143
+ {"class":"bb-badge--md-xl"},
144
+ {"class":"bb-badge--md-xs"},
84
145
  {"class":"bb-badge--sm"},
146
+ {"class":"bb-badge--sm-2xl"},
147
+ {"class":"bb-badge--sm-lg"},
148
+ {"class":"bb-badge--sm-md","reads":["--min-size-md"]},
149
+ {"class":"bb-badge--sm-sm"},
150
+ {"class":"bb-badge--sm-xl"},
151
+ {"class":"bb-badge--sm-xs"},
85
152
  {"class":"bb-badge--xl"},
153
+ {"class":"bb-badge--xl-2xl"},
154
+ {"class":"bb-badge--xl-lg"},
155
+ {"class":"bb-badge--xl-md","reads":["--min-size-md"]},
156
+ {"class":"bb-badge--xl-sm"},
157
+ {"class":"bb-badge--xl-xl"},
158
+ {"class":"bb-badge--xl-xs"},
86
159
  {"class":"bb-badge--xs"},
87
160
  {"class":"bb-badge__append-icon","tag":"BbIcon|BbSpinner|span","reads":["--icon-size","--px"]},
88
161
  {"class":"bb-badge__body","tag":"BbBaseButton|span","reads":["--bg-disabled","--border-disabled","--fg-disabled","--gap","--pad-left","--pad-right","--r","--ring-color","--ring-size"]},
@@ -14,7 +14,7 @@
14
14
  {"name":"gapWidth","type":"number","default":"4","description":"Horizontal gap between breadcrumb elements in pixels."},
15
15
  {"name":"items","type":"BbBreadcrumbsItem[]","required":true,"description":"Array of items that describe how the breadcrumbs should behave. Compatible with navigating through `a` or `router-link`."},
16
16
  {"name":"offsetWidth","type":"number","default":"0","description":"Extra one-off width in pixels added to the total estimate (e.g. prepend/append/item slot content)."},
17
- {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"item\", \"icon\", \"text\"]; readonly states: readonly [\"disabled\", \"active\"]; readonly wide: readonly [\"disabled\"]; readonly node: { readonly item: readonly [\"active\"]; readonly icon: readonly [\"active\"]; readonly text: readonly [\"active\"]; }; }> & { text?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; item?: PtValue | undefined; \"text:disabled\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"text:active\"?: PtValue | undefined; \"icon:active\"?: PtValue | undefined; \"item:active\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."}
17
+ {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"item\", \"icon\", \"text\"]; readonly states: readonly [\"disabled\", \"active\"]; readonly wide: readonly [\"disabled\"]; readonly node: { readonly item: readonly [\"active\"]; readonly icon: readonly [\"active\"]; readonly text: readonly [\"active\"]; }; }> & { text?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; item?: PtValue | undefined; \"text:disabled\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"text:active\"?: PtValue | undefined; \"icon:active\"?: PtValue | undefined; \"item:active\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."}
18
18
  ],
19
19
  "events": [],
20
20
  "slots": [
@@ -11,7 +11,7 @@
11
11
  {"name":"append:icon","type":"string","description":"Icon to be added on the right of the text."},
12
12
  {"name":"ariaCurrentValue","type":"\"time\" | \"true\" | \"false\" | \"page\" | \"step\" | \"location\" | \"date\"","default":"'page'","description":"Value passed to the attribute `aria-current` when the link is exact active."},
13
13
  {"name":"async","common":true},
14
- {"name":"block","common":true},
14
+ {"name":"block","type":"boolean","default":"undefined","description":"Displays the component as full width."},
15
15
  {"name":"cacheFor","common":true},
16
16
  {"name":"cacheTags","common":true},
17
17
  {"name":"component","common":true},
@@ -26,7 +26,7 @@
26
26
  {"name":"group","type":"boolean","default":"false","description":"Identifies the button as part of a button group: adjacent `group` buttons fuse into one segment (shared borders and radius). Adjacent `group` toggles (each with a `v-model`) are also one Tab stop, with ArrowLeft / ArrowRight / Home / End moving between them."},
27
27
  {"name":"headers","common":true},
28
28
  {"name":"href","common":true},
29
- {"name":"icon","type":"string","description":"Used when only an icon with no text should be displayed."},
29
+ {"name":"iconOnly","type":"Responsive<boolean>","description":"Shows only the button's icon (`prepend:icon` when it has both); the label is hidden but stays its accessible name, so always write it. `true`, or per breakpoint: `{ default: true, md: false }`."},
30
30
  {"name":"instant","common":true},
31
31
  {"name":"interactiveWhileLoading","type":"boolean","default":"false","description":"Keeps the button clickable while it is loading. Buttons are disabled while loading by default; this escape hatch exists for toggles that must stay interactive (e.g. the dropdown-button caret)."},
32
32
  {"name":"loading","type":"boolean","default":"false","description":"Triggers a loading indicator. A loading button is soft-disabled on its own (`aria-disabled`, out of the tab order, clicks and navigation blocked) and keeps its variant colours; with `disabled` set too, loading still wins the look."},
@@ -49,7 +49,7 @@
49
49
  {"name":"preserveScroll","common":true},
50
50
  {"name":"preserveState","common":true},
51
51
  {"name":"preserveUrl","common":true},
52
- {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"icon\", \"spinner\", \"text\"]; readonly states: readonly [\"activeLink\", \"exactActiveLink\", \"pressed\", \"disabled\", \"loading\"]; readonly wide: readonly [\"activeLink\", \"exactActiveLink\", \"pressed\", \"disabled\", \"loading\"]; readonly variant: { readonly names: readonly [\"primary\", \"outline\", \"secondary\", \"ghost\", \"destructive\", \"link\"]; readonly option: \"buttonVariants\"; }; }> & PtMap<BbButtonPtPart, \"link\" | \"outline\" | \"primary\" | \"destructive\" | \"activeLink\" | \"exactActiveLink\" | \"loading\" | \"secondary\" | \"disabled\" | \"pressed\" | \"ghost\">)","description":"Passthrough, object form: `{ icon: '…', 'icon:loading': '…' }` — the same keys as the `pt:*` attributes without the prefix. Parts: `root`, `icon`, `spinner`, `text`. States: `loading`, `disabled`, `pressed`, and the registered variants (an app's own included)."},
52
+ {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"icon\", \"spinner\", \"text\"]; readonly states: readonly [\"activeLink\", \"exactActiveLink\", \"pressed\", \"disabled\", \"loading\"]; readonly wide: readonly [\"activeLink\", \"exactActiveLink\", \"pressed\", \"disabled\", \"loading\"]; readonly variant: { readonly names: readonly [\"primary\", \"outline\", \"secondary\", \"ghost\", \"destructive\", \"link\"]; readonly option: \"buttonVariants\"; }; }> & PtMap<BbButtonPtPart, \"link\" | \"disabled\" | \"outline\" | \"primary\" | \"destructive\" | \"activeLink\" | \"exactActiveLink\" | \"loading\" | \"secondary\" | \"pressed\" | \"ghost\">)","description":"Passthrough, object form: `{ icon: '…', 'icon:loading': '…' }` — the same keys as the `pt:*` attributes without the prefix. Parts: `root`, `icon`, `spinner`, `text`. States: `loading`, `disabled`, `pressed`, and the registered variants (an app's own included)."},
53
53
  {"name":"queryStringArrayFormat","common":true},
54
54
  {"name":"replace","type":"boolean","default":"false","description":"Calls `router.replace` instead of `router.push`."},
55
55
  {"name":"size","type":"Responsive<Sizes>","default":"`components.BbButton.size`, else `'md'`","description":"Sets the size of the button. A single value applies at every breakpoint; a per-breakpoint map (e.g. `{ default: 'sm', lg: 'md' }`) switches responsively. Purely CSS-driven — no runtime breakpoint watching. Unset: the `components` map (the nearest config scope's, then the app's)."},
@@ -68,8 +68,7 @@
68
68
  "slots": [
69
69
  {"name":"append:icon","type":"BbButtonIconSlotProps","fields":["activeLink: boolean","exactActiveLink: boolean","pressed: boolean","loading: boolean","disabled: boolean"],"description":"The trailing icon, replacing `append:icon`; inside the `icon` part."},
70
70
  {"name":"default","type":"BbLinkSlotProps","fields":["activeLink: boolean","exactActiveLink: boolean"],"description":"Primary content rendered inside the button. Falls back to the `text` prop when empty. A link's slot gets `{ activeLink, exactActiveLink }`: whether it points at the current page (both `false` on a button)."},
71
- {"name":"icon","type":"BbButtonIconSlotProps","fields":["activeLink: boolean","exactActiveLink: boolean","pressed: boolean","loading: boolean","disabled: boolean"],"description":"The icon of an icon-only button, replacing the `icon` prop. Renders inside the `icon` part: `pt:icon`, `--icon-size` and the loading spinner apply."},
72
- {"name":"prepend:icon","type":"BbButtonIconSlotProps","fields":["activeLink: boolean","exactActiveLink: boolean","pressed: boolean","loading: boolean","disabled: boolean"],"description":"The leading icon, replacing `prepend:icon`; inside the `icon` part."}
71
+ {"name":"prepend:icon","type":"BbButtonIconSlotProps","fields":["activeLink: boolean","exactActiveLink: boolean","pressed: boolean","loading: boolean","disabled: boolean"],"description":"The leading icon, replacing `prepend:icon` (the one `icon-only` shows). Renders inside the `icon` part: `pt:icon`, `--icon-size` and the loading spinner apply."}
73
72
  ],
74
73
  "exposed": [
75
74
  {"name":"$el","type":"HTMLElement | undefined","description":"The rendered element."}
@@ -106,6 +105,6 @@
106
105
  "config": "variant, size, disableAutoLoading, block*, variants",
107
106
  "types": [
108
107
  {"name":"ButtonVariantType","usedAs":["prop variant"],"definition":"type ButtonVariantType = ButtonVariantFromRegistry | 'none';","values":["primary","outline","secondary","ghost","destructive","link","none"],"extensibleVia":"ButtonVariantRegistry"},
109
- {"name":"Responsive","usedAs":["prop size"],"definition":"type Responsive<V> = V | Partial<Record<Breakpoint | 'default', V>>;"}
108
+ {"name":"Responsive","usedAs":["prop iconOnly","prop size"],"definition":"type Responsive<V> = V | Partial<Record<Breakpoint | 'default', V>>;"}
110
109
  ]
111
110
  }
@@ -5,6 +5,8 @@
5
5
  {"name":"theme","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-button.md","silent":true,"fix":{"kind":"manual"}},
6
6
  {"name":"tooltip","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-button.md","silent":true,"fix":{"kind":"manual"}},
7
7
  {"name":"tooltipPlacement","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-button.md","silent":true,"fix":{"kind":"manual"}},
8
- {"name":"tooltipTimeout","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-button.md","silent":true,"fix":{"kind":"manual"}}
8
+ {"name":"tooltipTimeout","new":null,"since":"3.0.0-alpha.1","migration":"ai/guides/migration/components/bb-button.md","silent":true,"fix":{"kind":"manual"}},
9
+ {"name":"icon","new":"prepend:icon","hint":"an icon-only button: `prepend:icon=\"…\" icon-only`, and write the label (the slot or `text`): it stays the accessible name","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/bb-button.md","silent":true,"fix":{"kind":"manual"}},
10
+ {"name":"icon","new":"prepend:icon","surface":"slot","hint":"an icon-only button: `#prepend:icon` with `icon-only`","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/bb-button.md","silent":true,"fix":{"kind":"manual"}}
9
11
  ]
10
12
  }
@@ -4,16 +4,15 @@
4
4
  "bindings": [
5
5
  {"part":"root","target":"BbBaseButton"},
6
6
  {"part":"spinner","target":"BbSpinner"},
7
- {"part":"icon","target":"span.bb-button__icon"},
8
- {"part":"icon","target":"BbIcon"},
9
7
  {"part":"icon","target":"span.bb-button__prepend-icon"},
8
+ {"part":"icon","target":"BbIcon"},
10
9
  {"part":"text","target":"span.bb-button__text"},
11
10
  {"part":"icon","target":"span.bb-button__append-icon"}
12
11
  ],
13
12
  "nodes": [
14
- {"name":"BbIcon","kind":"public"},
15
13
  {"name":"BbBaseButton","kind":"public"},
16
- {"name":"BbSpinner","kind":"public"}
14
+ {"name":"BbSpinner","kind":"public"},
15
+ {"name":"BbIcon","kind":"public"}
17
16
  ]
18
17
  },
19
18
  "css": {
@@ -30,6 +29,13 @@
30
29
  "--2xl-xs",
31
30
  "--group",
32
31
  "--icon",
32
+ "--icon-*",
33
+ "--icon-2xl",
34
+ "--icon-default",
35
+ "--icon-lg",
36
+ "--icon-md",
37
+ "--icon-sm",
38
+ "--icon-xl",
33
39
  "--lg",
34
40
  "--lg-2xl",
35
41
  "--lg-lg",
@@ -64,7 +70,6 @@
64
70
  "--xl-xs",
65
71
  "--xs",
66
72
  "__append-icon",
67
- "__icon",
68
73
  "__icon-slot",
69
74
  "__loading-label",
70
75
  "__prepend-icon",
@@ -154,11 +159,10 @@
154
159
  "surface": {
155
160
  "stable": [
156
161
  {"class":"bb-button","part":"root","reads":["--bg","--bg-disabled","--bg-hover","--bg-pressed","--border-color","--border-disabled","--border-hover","--border-pressed","--bw","--elev","--fg","--fg-disabled","--fg-hover","--fg-pressed","--fs","--fs-2xl","--fs-lg","--fs-md","--fs-sm","--fs-xl","--fs-xs","--gap","--gap-2xl","--gap-lg","--gap-md","--gap-sm","--gap-xl","--gap-xs","--h","--h-2xl","--h-lg","--h-md","--h-sm","--h-xl","--h-xs","--icon-size-2xl","--icon-size-lg","--icon-size-md","--icon-size-sm","--icon-size-xl","--icon-size-xs","--ipx","--opacity-disabled","--px","--px-2xl","--px-lg","--px-md","--px-sm","--px-xl","--px-xs","--py","--r","--r-2xl","--r-lg","--r-md","--r-sm","--r-xl","--r-xs","--ring-color","--ring-size","--ring-t","--tap-b","--tap-e","--tap-s"]},
157
- {"class":"bb-button__icon","tag":"BbIcon|span","part":"icon","reads":["--icon-size"]},
158
162
  {"class":"bb-button__spinner","tag":"BbSpinner","part":"spinner"},
159
163
  {"class":"bb-button__text","tag":"span","part":"text","reads":["--gap","--icon-size"]},
160
164
  {"class":"bb-button--pressed","state":"pressed"},
161
- {"class":"bb-button--loading","state":"loading","reads":["--bg-disabled","--border-disabled","--fg-disabled","--opacity-disabled"]},
165
+ {"class":"bb-button--loading","state":"loading","reads":["--bg-disabled","--border-disabled","--fg-disabled","--ipx","--opacity-disabled"]},
162
166
  {"class":"bb-button--destructive","state":"destructive","pattern":true},
163
167
  {"class":"bb-button--ghost","state":"ghost","pattern":true},
164
168
  {"class":"bb-button--link","state":"link","reads":["--underline"]},
@@ -176,6 +180,12 @@
176
180
  {"class":"bb-button--2xl-xs","reads":["--fs-xs","--gap-xs","--h-xs"]},
177
181
  {"class":"bb-button--group","reads":["--bw"]},
178
182
  {"class":"bb-button--icon","reads":["--h"]},
183
+ {"class":"bb-button--icon-2xl","reads":["--h"]},
184
+ {"class":"bb-button--icon-default","reads":["--h"]},
185
+ {"class":"bb-button--icon-lg","reads":["--h"]},
186
+ {"class":"bb-button--icon-md","reads":["--h"]},
187
+ {"class":"bb-button--icon-sm","reads":["--h"]},
188
+ {"class":"bb-button--icon-xl","reads":["--h"]},
179
189
  {"class":"bb-button--lg","reads":["--fs-lg","--gap-lg","--h-lg","--icon-size-lg","--px-lg","--r-lg"]},
180
190
  {"class":"bb-button--lg-2xl","reads":["--fs-2xl","--gap-2xl","--h-2xl"]},
181
191
  {"class":"bb-button--lg-lg","reads":["--fs-lg","--gap-lg","--h-lg"]},
@@ -214,6 +224,13 @@
214
224
  {"class":"bb-button__loading-label","tag":"span"},
215
225
  {"class":"bb-button__prepend-icon","tag":"BbIcon|span","reads":["--icon-size","--ipx"]}
216
226
  ],
227
+ "via": [
228
+ {"part":"icon","component":"BbIcon"}
229
+ ],
230
+ "lands": [
231
+ {"part":"icon","target":"span.bb-button__prepend-icon"},
232
+ {"part":"icon","target":"span.bb-button__append-icon"}
233
+ ],
217
234
  "unaligned": {
218
235
  "states": [
219
236
  "activeLink",
@@ -9,6 +9,7 @@
9
9
  "props": [
10
10
  {"name":"activeSegment","type":"BbCalendarSegment","values":["start","end"],"description":"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."},
11
11
  {"name":"ampm","type":"boolean","default":"false","description":"12-hour display with an AM/PM column (requires `type=\"datetime\"`); emits stay 24h."},
12
+ {"name":"clearable","type":"boolean","default":"false","description":"Clicking the selected date (week, month, year) again clears a single value. Off: re-picking keeps it. `multiple` and `range` ignore it."},
12
13
  {"name":"disabled","type":"boolean","default":"false","description":"Disables every cell, the navigation and the time rail."},
13
14
  {"name":"firstDayOfWeek","common":true},
14
15
  {"name":"floating","type":"boolean","default":"false","description":"Emit plain calendar strings instead of zoned ISO instants. Implied (and forced) by `type=\"week\"`, `type=\"month\"` and `type=\"year\"`."},
@@ -17,7 +18,7 @@
17
18
  {"name":"modelValue","type":"string | string[] | null","required":true,"description":"v-model: `null` when empty, a string, a `[start, end]` pair with `range`, or a sorted array with `multiple`. The string is `YYYY-MM-DD` when `floating` (`YYYY-Www` / `YYYY-MM` / `YYYY` for `week` / `month` / `year`), otherwise a zoned ISO instant (carrying the time under `datetime`)."},
18
19
  {"name":"multiple","type":"boolean","description":"Multi-selection: each pick toggles a value in a sorted array (days, weeks, months or years). Needs an array `modelValue` (`[]` when empty, never `null`). Throws with `range` or `type=\"datetime\"`.","default":"false"},
19
20
  {"name":"numberOfMonths","type":"number","default":"1","description":"How many months show side by side (day grids only). The keyboard crosses from one month into the next, and the arrows page all of them at once. Too narrow for them all, the months wrap onto the next row."},
20
- {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"header\", \"arrow\", \"month\", \"year\", \"cellColumnHeader\", \"week\", \"weekNumber\", \"day\", \"dayButton\", \"monthItem\", \"yearItem\", \"item\"]; readonly states: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"disabled\", \"active\", \"highlighted\"]; readonly wide: readonly [\"disabled\"]; readonly node: { readonly week: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly weekNumber: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly day: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly dayButton: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly monthItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly yearItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly month: readonly [\"active\"]; readonly year: readonly [\"active\"]; readonly item: readonly [\"selected\"]; }; }> & { header?: PtValue | undefined; root?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; item?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; arrow?: PtValue | undefined; month?: PtValue | undefined; year?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; week?: PtValue | undefined; weekNumber?: PtValue | undefined; day?: PtValue | undefined; dayButton?: PtValue | undefined; monthItem?: PtValue | undefined; yearItem?: PtValue | undefined; \"header:disabled\"?: PtValue | undefined; \"arrow:disabled\"?: PtValue | undefined; \"month:disabled\"?: PtValue | undefined; \"year:disabled\"?: PtValue | undefined; \"cellColumnHeader:disabled\"?: PtValue | undefined; \"week:disabled\"?: PtValue | undefined; \"weekNumber:disabled\"?: PtValue | undefined; \"day:disabled\"?: PtValue | undefined; \"dayButton:disabled\"?: PtValue | undefined; \"monthItem:disabled\"?: PtValue | undefined; \"yearItem:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"month:active\"?: PtValue | undefined; \"year:active\"?: PtValue | undefined; \"week:inRange\"?: PtValue | undefined; \"week:selected\"?: PtValue | undefined; \"week:rangeStart\"?: PtValue | undefined; \"week:rangeEnd\"?: PtValue | undefined; \"weekNumber:inRange\"?: PtValue | undefined; \"weekNumber:selected\"?: PtValue | undefined; \"weekNumber:rangeStart\"?: PtValue | undefined; \"weekNumber:rangeEnd\"?: PtValue | undefined; \"day:outside\"?: PtValue | undefined; \"day:today\"?: PtValue | undefined; \"day:inRange\"?: PtValue | undefined; \"day:selected\"?: PtValue | undefined; \"day:rangeStart\"?: PtValue | undefined; \"day:rangeEnd\"?: PtValue | undefined; \"day:highlighted\"?: PtValue | undefined; \"dayButton:outside\"?: PtValue | undefined; \"dayButton:today\"?: PtValue | undefined; \"dayButton:inRange\"?: PtValue | undefined; \"dayButton:selected\"?: PtValue | undefined; \"dayButton:rangeStart\"?: PtValue | undefined; \"dayButton:rangeEnd\"?: PtValue | undefined; \"dayButton:highlighted\"?: PtValue | undefined; \"monthItem:inRange\"?: PtValue | undefined; \"monthItem:selected\"?: PtValue | undefined; \"monthItem:rangeStart\"?: PtValue | undefined; \"monthItem:rangeEnd\"?: PtValue | undefined; \"monthItem:highlighted\"?: PtValue | undefined; \"yearItem:inRange\"?: PtValue | undefined; \"yearItem:selected\"?: PtValue | undefined; \"yearItem:rangeStart\"?: PtValue | undefined; \"yearItem:rangeEnd\"?: PtValue | undefined; \"yearItem:highlighted\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
21
+ {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"header\", \"arrow\", \"month\", \"year\", \"cellColumnHeader\", \"week\", \"weekNumber\", \"day\", \"dayButton\", \"monthItem\", \"yearItem\", \"item\"]; readonly states: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"disabled\", \"active\", \"highlighted\"]; readonly wide: readonly [\"disabled\"]; readonly node: { readonly week: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly weekNumber: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly day: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly dayButton: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly monthItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly yearItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly month: readonly [\"active\"]; readonly year: readonly [\"active\"]; readonly item: readonly [\"selected\"]; }; }> & { header?: PtValue | undefined; root?: PtValue | undefined; \"header:disabled\"?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; item?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; arrow?: PtValue | undefined; month?: PtValue | undefined; year?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; week?: PtValue | undefined; weekNumber?: PtValue | undefined; day?: PtValue | undefined; dayButton?: PtValue | undefined; monthItem?: PtValue | undefined; yearItem?: PtValue | undefined; \"arrow:disabled\"?: PtValue | undefined; \"month:disabled\"?: PtValue | undefined; \"year:disabled\"?: PtValue | undefined; \"cellColumnHeader:disabled\"?: PtValue | undefined; \"week:disabled\"?: PtValue | undefined; \"weekNumber:disabled\"?: PtValue | undefined; \"day:disabled\"?: PtValue | undefined; \"dayButton:disabled\"?: PtValue | undefined; \"monthItem:disabled\"?: PtValue | undefined; \"yearItem:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"month:active\"?: PtValue | undefined; \"year:active\"?: PtValue | undefined; \"week:inRange\"?: PtValue | undefined; \"week:selected\"?: PtValue | undefined; \"week:rangeStart\"?: PtValue | undefined; \"week:rangeEnd\"?: PtValue | undefined; \"weekNumber:inRange\"?: PtValue | undefined; \"weekNumber:selected\"?: PtValue | undefined; \"weekNumber:rangeStart\"?: PtValue | undefined; \"weekNumber:rangeEnd\"?: PtValue | undefined; \"day:outside\"?: PtValue | undefined; \"day:today\"?: PtValue | undefined; \"day:inRange\"?: PtValue | undefined; \"day:selected\"?: PtValue | undefined; \"day:rangeStart\"?: PtValue | undefined; \"day:rangeEnd\"?: PtValue | undefined; \"day:highlighted\"?: PtValue | undefined; \"dayButton:outside\"?: PtValue | undefined; \"dayButton:today\"?: PtValue | undefined; \"dayButton:inRange\"?: PtValue | undefined; \"dayButton:selected\"?: PtValue | undefined; \"dayButton:rangeStart\"?: PtValue | undefined; \"dayButton:rangeEnd\"?: PtValue | undefined; \"dayButton:highlighted\"?: PtValue | undefined; \"monthItem:inRange\"?: PtValue | undefined; \"monthItem:selected\"?: PtValue | undefined; \"monthItem:rangeStart\"?: PtValue | undefined; \"monthItem:rangeEnd\"?: PtValue | undefined; \"monthItem:highlighted\"?: PtValue | undefined; \"yearItem:inRange\"?: PtValue | undefined; \"yearItem:selected\"?: PtValue | undefined; \"yearItem:rangeStart\"?: PtValue | undefined; \"yearItem:rangeEnd\"?: PtValue | undefined; \"yearItem:highlighted\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
21
22
  {"name":"range","type":"boolean","description":"Enables range selection (`[start, end]`).","default":"false"},
22
23
  {"name":"readonly","type":"boolean","default":"false","description":"Shows the calendar and lets the user page through it, but no pick changes the value."},
23
24
  {"name":"seconds","type":"boolean","default":"false","description":"Adds the seconds column (requires `type=\"datetime\"`)."},
@@ -31,7 +31,7 @@
31
31
  {"name":"itemLabelAlign","common":true},
32
32
  {"name":"itemLayout","common":true},
33
33
  {"name":"itemProps","common":true},
34
- {"name":"itemReverse","type":"boolean","default":"undefined","description":"Swaps each row's input and label from their natural order (input first), in every `item-layout`. `reverse` swaps the legend and the options instead."},
34
+ {"name":"itemReverse","common":true},
35
35
  {"name":"items","type":"T[] | ((context: BbCheckboxGroupItemsContext) => T[] | Promise<T[]>)","required":true,"description":"The options: an array, or a provider called with a `BbCheckboxGroupItemsContext` (`BbSwitchGroupItemsContext` on a switch group) (`reason`, `modelValue`, `signal`), sync or async. A provider fails by THROWING, never by returning `[]`: the rows clear and `#empty` gets the `error`."},
36
36
  {"name":"itemText","common":true},
37
37
  {"name":"itemValue","common":true},
@@ -48,7 +48,7 @@
48
48
  {"name":"multiple","type":"boolean","default":"true","description":"Enables multi-selection behavior. When true, `modelValue` must be an array. When false, `modelValue` should be a single value."},
49
49
  {"name":"name","common":true},
50
50
  {"name":"persistentHint","common":true},
51
- {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"legend\", \"description\", \"message\", \"hint\", \"list\", \"item\", \"icon\", \"label\", \"itemDescription\", \"indicator\"]; readonly states: readonly [\"hasValue\", \"checked\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"focused\", \"focusVisible\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"loading\"]; readonly node: { readonly item: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly icon: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly label: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly itemDescription: readonly [\"checked\", \"focused\", \"focusVisible\"]; }; readonly variant: { readonly names: readonly [\"pill\", \"line\", \"outline\"]; readonly option: \"checkboxVariants\"; }; }> & { legend?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; description?: PtValue | undefined; message?: PtValue | undefined; hint?: PtValue | undefined; \"label:disabled\"?: PtValue | undefined; \"label:errors\"?: PtValue | undefined; \"label:warnings\"?: PtValue | undefined; \"label:readonly\"?: PtValue | undefined; \"label:checked\"?: PtValue | undefined; \"label:focused\"?: PtValue | undefined; \"label:focusVisible\"?: PtValue | undefined; \"icon:errors\"?: PtValue | undefined; \"icon:warnings\"?: PtValue | undefined; \"icon:readonly\"?: PtValue | undefined; \"icon:checked\"?: PtValue | undefined; \"icon:focused\"?: PtValue | undefined; \"icon:focusVisible\"?: PtValue | undefined; \"description:disabled\"?: PtValue | undefined; \"description:errors\"?: PtValue | undefined; \"description:warnings\"?: PtValue | undefined; \"description:readonly\"?: PtValue | undefined; \"message:disabled\"?: PtValue | undefined; \"message:errors\"?: PtValue | undefined; \"message:warnings\"?: PtValue | undefined; \"message:readonly\"?: PtValue | undefined; \"hint:disabled\"?: PtValue | undefined; \"hint:errors\"?: PtValue | undefined; \"hint:warnings\"?: PtValue | undefined; \"hint:readonly\"?: PtValue | undefined; indicator?: PtValue | undefined; \"label:loading\"?: PtValue | undefined; \"label:hasValue\"?: PtValue | undefined; \"legend:loading\"?: PtValue | undefined; \"legend:disabled\"?: PtValue | undefined; \"legend:errors\"?: PtValue | undefined; \"legend:warnings\"?: PtValue | undefined; \"legend:readonly\"?: PtValue | undefined; \"legend:hasValue\"?: PtValue | undefined; \"list:loading\"?: PtValue | undefined; \"list:disabled\"?: PtValue | undefined; \"list:errors\"?: PtValue | undefined; \"list:warnings\"?: PtValue | undefined; \"list:readonly\"?: PtValue | undefined; \"list:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"icon:hasValue\"?: PtValue | undefined; \"item:loading\"?: PtValue | undefined; \"item:errors\"?: PtValue | undefined; \"item:warnings\"?: PtValue | undefined; \"item:readonly\"?: PtValue | undefined; \"item:hasValue\"?: PtValue | undefined; \"description:loading\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:loading\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:loading\"?: PtValue | undefined; \"hint:hasValue\"?: PtValue | undefined; \"itemDescription:loading\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; \"itemDescription:errors\"?: PtValue | undefined; \"itemDescription:warnings\"?: PtValue | undefined; \"itemDescription:readonly\"?: PtValue | undefined; \"itemDescription:hasValue\"?: PtValue | undefined; \"indicator:loading\"?: PtValue | undefined; \"indicator:disabled\"?: PtValue | undefined; \"indicator:errors\"?: PtValue | undefined; \"indicator:warnings\"?: PtValue | undefined; \"indicator:readonly\"?: PtValue | undefined; \"indicator:hasValue\"?: PtValue | undefined; \"item:checked\"?: PtValue | undefined; \"item:focused\"?: PtValue | undefined; \"item:focusVisible\"?: PtValue | undefined; \"itemDescription:checked\"?: PtValue | undefined; \"itemDescription:focused\"?: PtValue | undefined; \"itemDescription:focusVisible\"?: PtValue | undefined; } & { label?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; icon?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; item?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; itemDescription?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; } & { \"root:outline\"?: PtValue | undefined; \"icon:outline\"?: PtValue | undefined; \"label:line\"?: PtValue | undefined; \"label:outline\"?: PtValue | undefined; \"label:pill\"?: PtValue | undefined; \"legend:line\"?: PtValue | undefined; \"legend:outline\"?: PtValue | undefined; \"legend:pill\"?: PtValue | undefined; \"list:line\"?: PtValue | undefined; \"list:outline\"?: PtValue | undefined; \"list:pill\"?: PtValue | undefined; \"root:line\"?: PtValue | undefined; \"root:pill\"?: PtValue | undefined; \"icon:line\"?: PtValue | undefined; \"icon:pill\"?: PtValue | undefined; \"item:line\"?: PtValue | undefined; \"item:outline\"?: PtValue | undefined; \"item:pill\"?: PtValue | undefined; \"description:line\"?: PtValue | undefined; \"description:outline\"?: PtValue | undefined; \"description:pill\"?: PtValue | undefined; \"message:line\"?: PtValue | undefined; \"message:outline\"?: PtValue | undefined; \"message:pill\"?: PtValue | undefined; \"hint:line\"?: PtValue | undefined; \"hint:outline\"?: PtValue | undefined; \"hint:pill\"?: PtValue | undefined; \"itemDescription:line\"?: PtValue | undefined; \"itemDescription:outline\"?: PtValue | undefined; \"itemDescription:pill\"?: PtValue | undefined; \"indicator:line\"?: PtValue | undefined; \"indicator:outline\"?: PtValue | undefined; \"indicator:pill\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
51
+ {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"legend\", \"description\", \"message\", \"hint\", \"list\", \"item\", \"icon\", \"label\", \"itemDescription\", \"indicator\"]; readonly states: readonly [\"hasValue\", \"checked\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"focused\", \"focusVisible\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"loading\"]; readonly node: { readonly item: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly icon: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly label: readonly [\"checked\", \"focused\", \"focusVisible\"]; readonly itemDescription: readonly [\"checked\", \"focused\", \"focusVisible\"]; }; readonly variant: { readonly names: readonly [\"pill\", \"line\", \"outline\"]; readonly option: \"checkboxVariants\"; }; }> & { legend?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; description?: PtValue | undefined; message?: PtValue | undefined; hint?: PtValue | undefined; \"label:disabled\"?: PtValue | undefined; \"label:errors\"?: PtValue | undefined; \"label:warnings\"?: PtValue | undefined; \"label:readonly\"?: PtValue | undefined; \"label:checked\"?: PtValue | undefined; \"label:focused\"?: PtValue | undefined; \"label:focusVisible\"?: PtValue | undefined; \"icon:errors\"?: PtValue | undefined; \"icon:warnings\"?: PtValue | undefined; \"icon:readonly\"?: PtValue | undefined; \"icon:checked\"?: PtValue | undefined; \"icon:focused\"?: PtValue | undefined; \"icon:focusVisible\"?: PtValue | undefined; \"description:disabled\"?: PtValue | undefined; \"description:errors\"?: PtValue | undefined; \"description:warnings\"?: PtValue | undefined; \"description:readonly\"?: PtValue | undefined; \"message:disabled\"?: PtValue | undefined; \"message:errors\"?: PtValue | undefined; \"message:warnings\"?: PtValue | undefined; \"message:readonly\"?: PtValue | undefined; \"hint:disabled\"?: PtValue | undefined; \"hint:errors\"?: PtValue | undefined; \"hint:warnings\"?: PtValue | undefined; \"hint:readonly\"?: PtValue | undefined; indicator?: PtValue | undefined; \"label:loading\"?: PtValue | undefined; \"label:hasValue\"?: PtValue | undefined; \"legend:disabled\"?: PtValue | undefined; \"legend:loading\"?: PtValue | undefined; \"legend:errors\"?: PtValue | undefined; \"legend:warnings\"?: PtValue | undefined; \"legend:readonly\"?: PtValue | undefined; \"legend:hasValue\"?: PtValue | undefined; \"list:disabled\"?: PtValue | undefined; \"list:loading\"?: PtValue | undefined; \"list:errors\"?: PtValue | undefined; \"list:warnings\"?: PtValue | undefined; \"list:readonly\"?: PtValue | undefined; \"list:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"icon:hasValue\"?: PtValue | undefined; \"item:loading\"?: PtValue | undefined; \"item:errors\"?: PtValue | undefined; \"item:warnings\"?: PtValue | undefined; \"item:readonly\"?: PtValue | undefined; \"item:hasValue\"?: PtValue | undefined; \"description:loading\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:loading\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:loading\"?: PtValue | undefined; \"hint:hasValue\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; \"itemDescription:loading\"?: PtValue | undefined; \"itemDescription:errors\"?: PtValue | undefined; \"itemDescription:warnings\"?: PtValue | undefined; \"itemDescription:readonly\"?: PtValue | undefined; \"itemDescription:hasValue\"?: PtValue | undefined; \"indicator:disabled\"?: PtValue | undefined; \"indicator:loading\"?: PtValue | undefined; \"indicator:errors\"?: PtValue | undefined; \"indicator:warnings\"?: PtValue | undefined; \"indicator:readonly\"?: PtValue | undefined; \"indicator:hasValue\"?: PtValue | undefined; \"item:checked\"?: PtValue | undefined; \"item:focused\"?: PtValue | undefined; \"item:focusVisible\"?: PtValue | undefined; \"itemDescription:checked\"?: PtValue | undefined; \"itemDescription:focused\"?: PtValue | undefined; \"itemDescription:focusVisible\"?: PtValue | undefined; } & { label?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; icon?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; item?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; itemDescription?: PtValue | PtItemFn<T, GroupPtState, never, { readonly item: T; }> | undefined; } & { \"root:outline\"?: PtValue | undefined; \"icon:outline\"?: PtValue | undefined; \"label:line\"?: PtValue | undefined; \"label:outline\"?: PtValue | undefined; \"label:pill\"?: PtValue | undefined; \"legend:line\"?: PtValue | undefined; \"legend:outline\"?: PtValue | undefined; \"legend:pill\"?: PtValue | undefined; \"list:line\"?: PtValue | undefined; \"list:outline\"?: PtValue | undefined; \"list:pill\"?: PtValue | undefined; \"root:line\"?: PtValue | undefined; \"root:pill\"?: PtValue | undefined; \"icon:line\"?: PtValue | undefined; \"icon:pill\"?: PtValue | undefined; \"item:line\"?: PtValue | undefined; \"item:outline\"?: PtValue | undefined; \"item:pill\"?: PtValue | undefined; \"description:line\"?: PtValue | undefined; \"description:outline\"?: PtValue | undefined; \"description:pill\"?: PtValue | undefined; \"message:line\"?: PtValue | undefined; \"message:outline\"?: PtValue | undefined; \"message:pill\"?: PtValue | undefined; \"hint:line\"?: PtValue | undefined; \"hint:outline\"?: PtValue | undefined; \"hint:pill\"?: PtValue | undefined; \"itemDescription:line\"?: PtValue | undefined; \"itemDescription:outline\"?: PtValue | undefined; \"itemDescription:pill\"?: PtValue | undefined; \"indicator:line\"?: PtValue | undefined; \"indicator:outline\"?: PtValue | undefined; \"indicator:pill\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
52
52
  {"name":"readonly","common":true},
53
53
  {"name":"reverse","common":true},
54
54
  {"name":"rules","common":true},
@@ -37,7 +37,7 @@
37
37
  {"name":"persistentHint","common":true},
38
38
  {"name":"placeholder","common":true},
39
39
  {"name":"prepend:icon","common":true},
40
- {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"indicator\", \"panel\", \"sheet\", \"swatch\"]; readonly states: readonly [\"hasValue\", \"selected\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly node: { readonly swatch: readonly [\"selected\"]; }; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"colorInputVariants\"; readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\"]; }; }> & { input?: PtValue | undefined; label?: PtValue | undefined; prefix?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined; panel?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"icon:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; spinner?: PtValue | undefined; clear?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"spinner:loading\"?: PtValue | undefined; \"clear:loading\"?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; \"spinner:disabled\"?: PtValue | undefined; description?: PtValue | undefined; message?: PtValue | undefined; hint?: PtValue | undefined; \"label:disabled\"?: PtValue | undefined; \"label:errors\"?: PtValue | undefined; \"label:warnings\"?: PtValue | undefined; \"label:readonly\"?: PtValue | undefined; \"icon:errors\"?: PtValue | undefined; \"icon:warnings\"?: PtValue | undefined; \"icon:readonly\"?: PtValue | undefined; \"description:disabled\"?: PtValue | undefined; \"description:errors\"?: PtValue | undefined; \"description:warnings\"?: PtValue | undefined; \"description:readonly\"?: PtValue | undefined; \"message:disabled\"?: PtValue | undefined; \"message:errors\"?: PtValue | undefined; \"message:warnings\"?: PtValue | undefined; \"message:readonly\"?: PtValue | undefined; \"hint:disabled\"?: PtValue | undefined; \"hint:errors\"?: PtValue | undefined; \"hint:warnings\"?: PtValue | undefined; \"hint:readonly\"?: PtValue | undefined; indicator?: PtValue | undefined; \"label:loading\"?: PtValue | undefined; \"label:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"icon:hasValue\"?: PtValue | undefined; \"description:loading\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:loading\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:loading\"?: PtValue | undefined; \"hint:hasValue\"?: PtValue | undefined; \"indicator:loading\"?: PtValue | undefined; \"indicator:disabled\"?: PtValue | undefined; \"indicator:errors\"?: PtValue | undefined; \"indicator:warnings\"?: PtValue | undefined; \"indicator:readonly\"?: PtValue | undefined; \"indicator:hasValue\"?: PtValue | undefined; box?: PtValue | undefined; suffix?: PtValue | undefined; sheet?: PtValue | undefined; swatch?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"input:loading\"?: PtValue | undefined; \"input:disabled\"?: PtValue | undefined; \"input:errors\"?: PtValue | undefined; \"input:warnings\"?: PtValue | undefined; \"input:readonly\"?: PtValue | undefined; \"input:hasValue\"?: PtValue | undefined; \"label:open\"?: PtValue | undefined; \"prefix:open\"?: PtValue | undefined; \"prefix:loading\"?: PtValue | undefined; \"prefix:disabled\"?: PtValue | undefined; \"prefix:errors\"?: PtValue | undefined; \"prefix:warnings\"?: PtValue | undefined; \"prefix:readonly\"?: PtValue | undefined; \"prefix:hasValue\"?: PtValue | undefined; \"panel:loading\"?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"panel:errors\"?: PtValue | undefined; \"panel:warnings\"?: PtValue | undefined; \"panel:readonly\"?: PtValue | undefined; \"panel:hasValue\"?: PtValue | undefined; \"spinner:open\"?: PtValue | undefined; \"spinner:errors\"?: PtValue | undefined; \"spinner:warnings\"?: PtValue | undefined; \"spinner:readonly\"?: PtValue | undefined; \"spinner:hasValue\"?: PtValue | undefined; \"clear:open\"?: PtValue | undefined; \"clear:errors\"?: PtValue | undefined; \"clear:warnings\"?: PtValue | undefined; \"clear:hasValue\"?: PtValue | undefined; \"description:open\"?: PtValue | undefined; \"message:open\"?: PtValue | undefined; \"hint:open\"?: PtValue | undefined; \"indicator:open\"?: PtValue | undefined; \"box:open\"?: PtValue | undefined; \"box:loading\"?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:errors\"?: PtValue | undefined; \"box:warnings\"?: PtValue | undefined; \"box:readonly\"?: PtValue | undefined; \"box:hasValue\"?: PtValue | undefined; \"suffix:open\"?: PtValue | undefined; \"suffix:loading\"?: PtValue | undefined; \"suffix:disabled\"?: PtValue | undefined; \"suffix:errors\"?: PtValue | undefined; \"suffix:warnings\"?: PtValue | undefined; \"suffix:readonly\"?: PtValue | undefined; \"suffix:hasValue\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"sheet:loading\"?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"sheet:errors\"?: PtValue | undefined; \"sheet:warnings\"?: PtValue | undefined; \"sheet:readonly\"?: PtValue | undefined; \"sheet:hasValue\"?: PtValue | undefined; \"swatch:open\"?: PtValue | undefined; \"swatch:loading\"?: PtValue | undefined; \"swatch:disabled\"?: PtValue | undefined; \"swatch:errors\"?: PtValue | undefined; \"swatch:warnings\"?: PtValue | undefined; \"swatch:readonly\"?: PtValue | undefined; \"swatch:hasValue\"?: PtValue | undefined; \"swatch:selected\"?: PtValue | undefined; } & { \"root:outline\"?: PtValue | undefined; \"icon:outline\"?: PtValue | undefined; \"root:secondary\"?: PtValue | undefined; \"icon:secondary\"?: PtValue | undefined; \"spinner:outline\"?: PtValue | undefined; \"spinner:secondary\"?: PtValue | undefined; \"clear:outline\"?: PtValue | undefined; \"clear:secondary\"?: PtValue | undefined; \"root:ghost\"?: PtValue | undefined; \"icon:ghost\"?: PtValue | undefined; \"spinner:ghost\"?: PtValue | undefined; \"label:outline\"?: PtValue | undefined; \"description:outline\"?: PtValue | undefined; \"message:outline\"?: PtValue | undefined; \"hint:outline\"?: PtValue | undefined; \"input:outline\"?: PtValue | undefined; \"input:secondary\"?: PtValue | undefined; \"input:ghost\"?: PtValue | undefined; \"label:secondary\"?: PtValue | undefined; \"label:ghost\"?: PtValue | undefined; \"prefix:outline\"?: PtValue | undefined; \"prefix:secondary\"?: PtValue | undefined; \"prefix:ghost\"?: PtValue | undefined; \"clear:ghost\"?: PtValue | undefined; \"description:secondary\"?: PtValue | undefined; \"description:ghost\"?: PtValue | undefined; \"message:secondary\"?: PtValue | undefined; \"message:ghost\"?: PtValue | undefined; \"hint:secondary\"?: PtValue | undefined; \"hint:ghost\"?: PtValue | undefined; \"box:outline\"?: PtValue | undefined; \"box:secondary\"?: PtValue | undefined; \"box:ghost\"?: PtValue | undefined; \"suffix:outline\"?: PtValue | undefined; \"suffix:secondary\"?: PtValue | undefined; \"suffix:ghost\"?: PtValue | undefined; })","description":"Passthrough, object form: `{ box: '…', 'box:errors': '…' }` — the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
40
+ {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\", \"indicator\", \"panel\", \"sheet\", \"swatch\"]; readonly states: readonly [\"hasValue\", \"selected\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly wide: readonly [\"hasValue\", \"readonly\", \"disabled\", \"warnings\", \"errors\", \"open\", \"loading\"]; readonly node: { readonly swatch: readonly [\"selected\"]; }; readonly except: { readonly clear: readonly [\"disabled\", \"readonly\"]; }; readonly variant: { readonly names: readonly [\"outline\", \"secondary\", \"ghost\"]; readonly option: \"colorInputVariants\"; readonly parts: readonly [\"root\", \"label\", \"description\", \"message\", \"hint\", \"box\", \"input\", \"icon\", \"spinner\", \"prefix\", \"suffix\", \"clear\"]; }; }> & { input?: PtValue | undefined; label?: PtValue | undefined; prefix?: PtValue | undefined; root?: PtValue | undefined; icon?: PtValue | undefined; panel?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"icon:disabled\"?: PtValue | undefined; \"icon:open\"?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; spinner?: PtValue | undefined; clear?: PtValue | undefined; \"root:loading\"?: PtValue | undefined; \"icon:loading\"?: PtValue | undefined; \"spinner:loading\"?: PtValue | undefined; \"clear:loading\"?: PtValue | undefined; \"root:errors\"?: PtValue | undefined; \"root:warnings\"?: PtValue | undefined; \"root:readonly\"?: PtValue | undefined; \"spinner:disabled\"?: PtValue | undefined; description?: PtValue | undefined; message?: PtValue | undefined; hint?: PtValue | undefined; \"label:disabled\"?: PtValue | undefined; \"label:errors\"?: PtValue | undefined; \"label:warnings\"?: PtValue | undefined; \"label:readonly\"?: PtValue | undefined; \"icon:errors\"?: PtValue | undefined; \"icon:warnings\"?: PtValue | undefined; \"icon:readonly\"?: PtValue | undefined; \"description:disabled\"?: PtValue | undefined; \"description:errors\"?: PtValue | undefined; \"description:warnings\"?: PtValue | undefined; \"description:readonly\"?: PtValue | undefined; \"message:disabled\"?: PtValue | undefined; \"message:errors\"?: PtValue | undefined; \"message:warnings\"?: PtValue | undefined; \"message:readonly\"?: PtValue | undefined; \"hint:disabled\"?: PtValue | undefined; \"hint:errors\"?: PtValue | undefined; \"hint:warnings\"?: PtValue | undefined; \"hint:readonly\"?: PtValue | undefined; indicator?: PtValue | undefined; \"label:loading\"?: PtValue | undefined; \"label:hasValue\"?: PtValue | undefined; \"root:hasValue\"?: PtValue | undefined; \"icon:hasValue\"?: PtValue | undefined; \"description:loading\"?: PtValue | undefined; \"description:hasValue\"?: PtValue | undefined; \"message:loading\"?: PtValue | undefined; \"message:hasValue\"?: PtValue | undefined; \"hint:loading\"?: PtValue | undefined; \"hint:hasValue\"?: PtValue | undefined; \"indicator:disabled\"?: PtValue | undefined; \"indicator:loading\"?: PtValue | undefined; \"indicator:errors\"?: PtValue | undefined; \"indicator:warnings\"?: PtValue | undefined; \"indicator:readonly\"?: PtValue | undefined; \"indicator:hasValue\"?: PtValue | undefined; box?: PtValue | undefined; suffix?: PtValue | undefined; sheet?: PtValue | undefined; swatch?: PtValue | undefined; \"input:disabled\"?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"input:loading\"?: PtValue | undefined; \"input:errors\"?: PtValue | undefined; \"input:warnings\"?: PtValue | undefined; \"input:readonly\"?: PtValue | undefined; \"input:hasValue\"?: PtValue | undefined; \"label:open\"?: PtValue | undefined; \"prefix:disabled\"?: PtValue | undefined; \"prefix:open\"?: PtValue | undefined; \"prefix:loading\"?: PtValue | undefined; \"prefix:errors\"?: PtValue | undefined; \"prefix:warnings\"?: PtValue | undefined; \"prefix:readonly\"?: PtValue | undefined; \"prefix:hasValue\"?: PtValue | undefined; \"panel:loading\"?: PtValue | undefined; \"panel:errors\"?: PtValue | undefined; \"panel:warnings\"?: PtValue | undefined; \"panel:readonly\"?: PtValue | undefined; \"panel:hasValue\"?: PtValue | undefined; \"spinner:open\"?: PtValue | undefined; \"spinner:errors\"?: PtValue | undefined; \"spinner:warnings\"?: PtValue | undefined; \"spinner:readonly\"?: PtValue | undefined; \"spinner:hasValue\"?: PtValue | undefined; \"clear:open\"?: PtValue | undefined; \"clear:errors\"?: PtValue | undefined; \"clear:warnings\"?: PtValue | undefined; \"clear:hasValue\"?: PtValue | undefined; \"description:open\"?: PtValue | undefined; \"message:open\"?: PtValue | undefined; \"hint:open\"?: PtValue | undefined; \"indicator:open\"?: PtValue | undefined; \"box:disabled\"?: PtValue | undefined; \"box:open\"?: PtValue | undefined; \"box:loading\"?: PtValue | undefined; \"box:errors\"?: PtValue | undefined; \"box:warnings\"?: PtValue | undefined; \"box:readonly\"?: PtValue | undefined; \"box:hasValue\"?: PtValue | undefined; \"suffix:disabled\"?: PtValue | undefined; \"suffix:open\"?: PtValue | undefined; \"suffix:loading\"?: PtValue | undefined; \"suffix:errors\"?: PtValue | undefined; \"suffix:warnings\"?: PtValue | undefined; \"suffix:readonly\"?: PtValue | undefined; \"suffix:hasValue\"?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"sheet:loading\"?: PtValue | undefined; \"sheet:errors\"?: PtValue | undefined; \"sheet:warnings\"?: PtValue | undefined; \"sheet:readonly\"?: PtValue | undefined; \"sheet:hasValue\"?: PtValue | undefined; \"swatch:disabled\"?: PtValue | undefined; \"swatch:open\"?: PtValue | undefined; \"swatch:loading\"?: PtValue | undefined; \"swatch:errors\"?: PtValue | undefined; \"swatch:warnings\"?: PtValue | undefined; \"swatch:readonly\"?: PtValue | undefined; \"swatch:hasValue\"?: PtValue | undefined; \"swatch:selected\"?: PtValue | undefined; } & { \"root:outline\"?: PtValue | undefined; \"icon:outline\"?: PtValue | undefined; \"root:secondary\"?: PtValue | undefined; \"icon:secondary\"?: PtValue | undefined; \"spinner:outline\"?: PtValue | undefined; \"spinner:secondary\"?: PtValue | undefined; \"clear:outline\"?: PtValue | undefined; \"clear:secondary\"?: PtValue | undefined; \"root:ghost\"?: PtValue | undefined; \"icon:ghost\"?: PtValue | undefined; \"spinner:ghost\"?: PtValue | undefined; \"label:outline\"?: PtValue | undefined; \"description:outline\"?: PtValue | undefined; \"message:outline\"?: PtValue | undefined; \"hint:outline\"?: PtValue | undefined; \"input:outline\"?: PtValue | undefined; \"input:secondary\"?: PtValue | undefined; \"input:ghost\"?: PtValue | undefined; \"label:secondary\"?: PtValue | undefined; \"label:ghost\"?: PtValue | undefined; \"prefix:outline\"?: PtValue | undefined; \"prefix:secondary\"?: PtValue | undefined; \"prefix:ghost\"?: PtValue | undefined; \"clear:ghost\"?: PtValue | undefined; \"description:secondary\"?: PtValue | undefined; \"description:ghost\"?: PtValue | undefined; \"message:secondary\"?: PtValue | undefined; \"message:ghost\"?: PtValue | undefined; \"hint:secondary\"?: PtValue | undefined; \"hint:ghost\"?: PtValue | undefined; \"box:outline\"?: PtValue | undefined; \"box:secondary\"?: PtValue | undefined; \"box:ghost\"?: PtValue | undefined; \"suffix:outline\"?: PtValue | undefined; \"suffix:secondary\"?: PtValue | undefined; \"suffix:ghost\"?: PtValue | undefined; })","description":"Passthrough, object form: `{ box: '…', 'box:errors': '…' }` — the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
41
41
  {"name":"readonly","common":true},
42
42
  {"name":"required","common":true},
43
43
  {"name":"reverse","common":true},
@@ -12,7 +12,7 @@
12
12
  ],
13
13
  "nodes": [
14
14
  {"name":"CommonField","kind":"internal","vocabulary":"BbColorInput","bindings":[{"part":"root","target":"div.bb-field"},{"part":"label","target":"component"},{"part":"description","target":"span.bb-field__description"},{"part":"hint","target":"span.bb-field__hint"},{"part":"counter","target":"span.bb-field__counter"},{"part":"message","target":"div.bb-field__message"}],"children":[{"name":"BbAsterisk","kind":"public"}]},
15
- {"name":"CommonFieldInput","kind":"internal","vocabulary":"BbColorInput","bindings":[{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"icon","target":"BbIcon"},{"part":"clear","target":"ClearableButton"},{"part":"spinner","target":"BbSpinner"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"cssProps":[{"name":"--bg","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--bg-hover","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-disabled","documented":true,"readBy":["bb-field-input__box"]},{"name":"--fg-disabled","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix","bb-field-input__prepend-icon","bb-field-input__append-icon"]},{"name":"--border-color","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--border-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-size","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-color","documented":true,"readBy":["bb-field-input__box"]},{"name":"--elev","documented":true,"readBy":["bb-field-input__box"]},{"name":"--frost","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ph","documented":true},{"name":"--inside-label-clearance","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix"]},{"name":"--ring-t","documented":false,"readBy":["bb-field-input__box"]}],"children":[{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"WarningIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-warning-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"ClearableButton","kind":"internal","children":[{"name":"BbIcon","kind":"public"}]},{"name":"BbIcon","kind":"public"},{"name":"BbSpinner","kind":"public"}]},
15
+ {"name":"CommonFieldInput","kind":"internal","vocabulary":"BbColorInput","bindings":[{"part":"box","target":"span.bb-field-input__box"},{"part":"prefix","target":"span.bb-field-input__prefix"},{"part":"icon","target":"BbIcon"},{"part":"clear","target":"ClearableButton"},{"part":"spinner","target":"BbSpinner"},{"part":"suffix","target":"span.bb-field-input__suffix"}],"cssProps":[{"name":"--bg","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--bg-hover","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--bg-disabled","documented":true,"readBy":["bb-field-input__box"]},{"name":"--fg-disabled","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix","bb-field-input__prepend-icon","bb-field-input__append-icon"]},{"name":"--border-color","documented":true,"readBy":["bb-field-input","bb-field-input__box"]},{"name":"--border-focus","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-size","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ring-color","documented":true,"readBy":["bb-field-input__box"]},{"name":"--elev","documented":true,"readBy":["bb-field-input__box"]},{"name":"--frost","documented":true,"readBy":["bb-field-input__box"]},{"name":"--ph","documented":true},{"name":"--inside-label-clearance","documented":true,"readBy":["bb-field-input__box","bb-field-input__prefix","bb-field-input__suffix"]},{"name":"--ring-t","documented":false,"readBy":["bb-field-input__box"]}],"children":[{"name":"BbIcon","kind":"public"},{"name":"BbSpinner","kind":"public"},{"name":"ErrorIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-error-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"WarningIcon","kind":"internal","cssProps":[{"name":"--accent","documented":false,"readBy":["bb-warning-icon"]}],"children":[{"name":"BbIcon","kind":"public"}]},{"name":"ClearableButton","kind":"internal","children":[{"name":"BbIcon","kind":"public"}]}]},
16
16
  {"name":"BbColorPalette","kind":"public"}
17
17
  ]
18
18
  },
@@ -23,7 +23,7 @@
23
23
  {"name":"text","description":"The confirm's plain-text body — not a portal's content."},
24
24
  {"name":"footer","description":"The action buttons' band."},
25
25
  {"name":"close","description":"The ✕."},
26
- {"name":"action","description":"Every footer button — yes, no and each custom `actions` entry — at the button's root. A broadcast."}
26
+ {"name":"action","description":"Every footer button — ok, cancel and each custom `actions` entry — at the button's root. A broadcast."}
27
27
  ],
28
28
  "states": [
29
29
  {"name":"open","description":"Component-wide: a confirm is showing."},
@@ -32,5 +32,5 @@
32
32
  {"name":"destructive","description":"Component-wide, from the message: `variant: 'destructive'`. Below the real states, like every variant."}
33
33
  ]
34
34
  },
35
- "config": "size, variants"
35
+ "config": "size, okProps, cancelProps, variants"
36
36
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "BbConfirm",
3
+ "removed": [
4
+ {"name":"yes","new":"ok","surface":"option","hint":"a `confirm()` option: `confirm({ ok: 'Delete' })`; same values, plus `true` for the default label","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/use-confirm.md","silent":true,"fix":{"kind":"rename"}},
5
+ {"name":"no","new":"cancel","surface":"option","hint":"a `confirm()` option: `confirm({ cancel: false })`; same values, plus `true` for the default label","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/use-confirm.md","silent":true,"fix":{"kind":"rename"}},
6
+ {"name":"dismissAsNo","new":"dismissAsCancel","surface":"option","hint":"a `confirm()` option: backdrop, Escape and the ✕ run `cancel.onClick` unless `dismissAsCancel: false`","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/use-confirm.md","silent":true,"fix":{"kind":"rename"}},
7
+ {"name":"actions[].icon","new":"actions[].iconOnly","surface":"option","hint":"an icon-only button writes its label and icon: `{ text: 'Close', 'prepend:icon': 'lucide:x', iconOnly: true }` (also `ok` / `cancel`); the label is the accessible name","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/use-confirm.md","silent":true,"fix":{"kind":"manual"}}
8
+ ]
9
+ }
@@ -2,15 +2,14 @@
2
2
  "name": "BbConfirm",
3
3
  "tree": {
4
4
  "bindings": [
5
- {"part":"text","target":"div.bb-confirm__text"},
6
- {"part":"action","target":"BbButton"}
5
+ {"part":"action","target":"BbDialog"},
6
+ {"part":"text","target":"div.bb-confirm__text"}
7
7
  ],
8
8
  "forwards": [
9
9
  {"to":"BbDialog","mapping":"passthrough.forward(DIALOG_PARTS, BB_DIALOG_PT.states)"}
10
10
  ],
11
11
  "nodes": [
12
- {"name":"BbDialog","kind":"public"},
13
- {"name":"BbButton","kind":"public"}
12
+ {"name":"BbDialog","kind":"public"}
14
13
  ]
15
14
  },
16
15
  "css": {
@@ -31,7 +30,7 @@
31
30
  {"class":"bb-confirm","part":"root"},
32
31
  {"class":"bb-confirm__content","tag":"div","part":"content"},
33
32
  {"class":"bb-confirm__text","tag":"div","part":"text"},
34
- {"class":"bb-confirm__action","tag":"BbButton","part":"action"}
33
+ {"class":"bb-confirm__action","part":"action"}
35
34
  ],
36
35
  "internal": [],
37
36
  "unaligned": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "BbConfirmPortal",
3
3
  "group": "Overlay",
4
- "description": "Registers named slot content that confirm() renders via `portal`; slot `{ data, yes, no }`.",
4
+ "description": "Registers named slot content that confirm() renders via `portal`; slot `{ data, ok, cancel }`.",
5
5
  "referenceOnly": false,
6
6
  "hasGuide": false,
7
7
  "contract": "ai/BbConfirmPortal.md",
@@ -11,11 +11,11 @@
11
11
  ],
12
12
  "events": [],
13
13
  "slots": [
14
- {"name":"default","type":"BbConfirmPortalSlotProps","fields":["data: P","yes: () => void","no: () => void"]}
14
+ {"name":"default","type":"BbConfirmPortalSlotProps","fields":["data: P","ok: () => void","cancel: () => void"]}
15
15
  ],
16
16
  "exposed": [],
17
17
  "models": [],
18
18
  "types": [
19
- {"name":"BbConfirmPortalSlotProps","usedAs":["slot default"],"definition":"type BbConfirmPortalSlotProps<P = any> = { data: P; yes: () => void; no: () => void; };"}
19
+ {"name":"BbConfirmPortalSlotProps","usedAs":["slot default"],"definition":"type BbConfirmPortalSlotProps<P = any> = { data: P; ok: () => void; cancel: () => void; };"}
20
20
  ]
21
21
  }
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "BbConfirmPortal",
3
+ "removed": [
4
+ {"name":"yes","new":"ok","surface":"option","hint":"the default slot's scope: `#default=\"{ ok, cancel, data }\"`; rename the destructured name and its uses","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/use-confirm.md","silent":true,"fix":{"kind":"rename"}},
5
+ {"name":"no","new":"cancel","surface":"option","hint":"the default slot's scope: `#default=\"{ ok, cancel, data }\"`; rename the destructured name and its uses","since":"3.0.0-beta.72","migration":"ai/guides/migration/components/use-confirm.md","silent":true,"fix":{"kind":"rename"}}
6
+ ]
7
+ }
@@ -13,6 +13,7 @@
13
13
  {"name":"ampm","type":"boolean","default":"false","description":"12-hour display with an AM/PM column (requires `type=\"datetime\"`); emits stay 24h."},
14
14
  {"name":"anchor","type":"ElementOrComponentRef","description":"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)."},
15
15
  {"name":"boundary","type":"ElementOrComponentRefOrSelector","description":"Constrains the popover within a bounding element or CSS selector: sideways only, alongside the trigger; it flips at the viewport."},
16
+ {"name":"clearable","type":"boolean","default":"false","description":"Clicking the selected date (week, month, year) again clears a single value. Off: re-picking keeps it. `multiple` and `range` ignore it."},
16
17
  {"name":"disabled","type":"boolean","default":"false","description":"Disables the activator and the calendar."},
17
18
  {"name":"disableFlip","type":"boolean","default":"false","description":"Disable the automatic flip to the opposite side on overflow."},
18
19
  {"name":"eager","type":"boolean","default":"false","description":"Render popover content before it is first shown."},
@@ -28,7 +29,7 @@
28
29
  {"name":"offset","type":"number","default":"4","description":"Space the popover keeps from the activator."},
29
30
  {"name":"padding","type":"number","description":"Minimum empty space to keep from the edge of the page."},
30
31
  {"name":"placement","type":"Placement","values":["start","end","top","bottom","left","right","top-start","top-end","right-start","right-end","bottom-start","bottom-end","left-start","left-end","start-start","start-end","end-start","end-end"],"description":"Position of the popover relative to the activator/anchor."},
31
- {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"header\", \"arrow\", \"month\", \"year\", \"cellColumnHeader\", \"week\", \"weekNumber\", \"day\", \"dayButton\", \"monthItem\", \"yearItem\", \"item\"]; readonly states: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"disabled\", \"active\", \"open\", \"highlighted\"]; readonly wide: readonly [\"disabled\", \"open\"]; readonly node: { readonly week: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly weekNumber: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly day: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly dayButton: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly monthItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly yearItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly month: readonly [\"active\"]; readonly year: readonly [\"active\"]; readonly item: readonly [\"selected\"]; }; }> & { header?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; item?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; arrow?: PtValue | undefined; month?: PtValue | undefined; year?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; week?: PtValue | undefined; weekNumber?: PtValue | undefined; day?: PtValue | undefined; dayButton?: PtValue | undefined; monthItem?: PtValue | undefined; yearItem?: PtValue | undefined; \"header:disabled\"?: PtValue | undefined; \"arrow:disabled\"?: PtValue | undefined; \"month:disabled\"?: PtValue | undefined; \"year:disabled\"?: PtValue | undefined; \"cellColumnHeader:disabled\"?: PtValue | undefined; \"week:disabled\"?: PtValue | undefined; \"weekNumber:disabled\"?: PtValue | undefined; \"day:disabled\"?: PtValue | undefined; \"dayButton:disabled\"?: PtValue | undefined; \"monthItem:disabled\"?: PtValue | undefined; \"yearItem:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"month:active\"?: PtValue | undefined; \"year:active\"?: PtValue | undefined; \"week:inRange\"?: PtValue | undefined; \"week:selected\"?: PtValue | undefined; \"week:rangeStart\"?: PtValue | undefined; \"week:rangeEnd\"?: PtValue | undefined; \"weekNumber:inRange\"?: PtValue | undefined; \"weekNumber:selected\"?: PtValue | undefined; \"weekNumber:rangeStart\"?: PtValue | undefined; \"weekNumber:rangeEnd\"?: PtValue | undefined; \"day:outside\"?: PtValue | undefined; \"day:today\"?: PtValue | undefined; \"day:inRange\"?: PtValue | undefined; \"day:selected\"?: PtValue | undefined; \"day:rangeStart\"?: PtValue | undefined; \"day:rangeEnd\"?: PtValue | undefined; \"day:highlighted\"?: PtValue | undefined; \"dayButton:outside\"?: PtValue | undefined; \"dayButton:today\"?: PtValue | undefined; \"dayButton:inRange\"?: PtValue | undefined; \"dayButton:selected\"?: PtValue | undefined; \"dayButton:rangeStart\"?: PtValue | undefined; \"dayButton:rangeEnd\"?: PtValue | undefined; \"dayButton:highlighted\"?: PtValue | undefined; \"monthItem:inRange\"?: PtValue | undefined; \"monthItem:selected\"?: PtValue | undefined; \"monthItem:rangeStart\"?: PtValue | undefined; \"monthItem:rangeEnd\"?: PtValue | undefined; \"monthItem:highlighted\"?: PtValue | undefined; \"yearItem:inRange\"?: PtValue | undefined; \"yearItem:selected\"?: PtValue | undefined; \"yearItem:rangeStart\"?: PtValue | undefined; \"yearItem:rangeEnd\"?: PtValue | undefined; \"yearItem:highlighted\"?: PtValue | undefined; sheet?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"item:open\"?: PtValue | undefined; \"arrow:open\"?: PtValue | undefined; \"month:open\"?: PtValue | undefined; \"year:open\"?: PtValue | undefined; \"cellColumnHeader:open\"?: PtValue | undefined; \"week:open\"?: PtValue | undefined; \"weekNumber:open\"?: PtValue | undefined; \"day:open\"?: PtValue | undefined; \"dayButton:open\"?: PtValue | undefined; \"monthItem:open\"?: PtValue | undefined; \"yearItem:open\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
32
+ {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"header\", \"arrow\", \"month\", \"year\", \"cellColumnHeader\", \"week\", \"weekNumber\", \"day\", \"dayButton\", \"monthItem\", \"yearItem\", \"item\"]; readonly states: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"disabled\", \"active\", \"open\", \"highlighted\"]; readonly wide: readonly [\"disabled\", \"open\"]; readonly node: { readonly week: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly weekNumber: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\"]; readonly day: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly dayButton: readonly [\"outside\", \"today\", \"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly monthItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly yearItem: readonly [\"inRange\", \"selected\", \"rangeStart\", \"rangeEnd\", \"highlighted\"]; readonly month: readonly [\"active\"]; readonly year: readonly [\"active\"]; readonly item: readonly [\"selected\"]; }; }> & { header?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"header:disabled\"?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:disabled\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:disabled\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; item?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; arrow?: PtValue | undefined; month?: PtValue | undefined; year?: PtValue | undefined; cellColumnHeader?: PtValue | undefined; week?: PtValue | undefined; weekNumber?: PtValue | undefined; day?: PtValue | undefined; dayButton?: PtValue | undefined; monthItem?: PtValue | undefined; yearItem?: PtValue | undefined; \"arrow:disabled\"?: PtValue | undefined; \"month:disabled\"?: PtValue | undefined; \"year:disabled\"?: PtValue | undefined; \"cellColumnHeader:disabled\"?: PtValue | undefined; \"week:disabled\"?: PtValue | undefined; \"weekNumber:disabled\"?: PtValue | undefined; \"day:disabled\"?: PtValue | undefined; \"dayButton:disabled\"?: PtValue | undefined; \"monthItem:disabled\"?: PtValue | undefined; \"yearItem:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"month:active\"?: PtValue | undefined; \"year:active\"?: PtValue | undefined; \"week:inRange\"?: PtValue | undefined; \"week:selected\"?: PtValue | undefined; \"week:rangeStart\"?: PtValue | undefined; \"week:rangeEnd\"?: PtValue | undefined; \"weekNumber:inRange\"?: PtValue | undefined; \"weekNumber:selected\"?: PtValue | undefined; \"weekNumber:rangeStart\"?: PtValue | undefined; \"weekNumber:rangeEnd\"?: PtValue | undefined; \"day:outside\"?: PtValue | undefined; \"day:today\"?: PtValue | undefined; \"day:inRange\"?: PtValue | undefined; \"day:selected\"?: PtValue | undefined; \"day:rangeStart\"?: PtValue | undefined; \"day:rangeEnd\"?: PtValue | undefined; \"day:highlighted\"?: PtValue | undefined; \"dayButton:outside\"?: PtValue | undefined; \"dayButton:today\"?: PtValue | undefined; \"dayButton:inRange\"?: PtValue | undefined; \"dayButton:selected\"?: PtValue | undefined; \"dayButton:rangeStart\"?: PtValue | undefined; \"dayButton:rangeEnd\"?: PtValue | undefined; \"dayButton:highlighted\"?: PtValue | undefined; \"monthItem:inRange\"?: PtValue | undefined; \"monthItem:selected\"?: PtValue | undefined; \"monthItem:rangeStart\"?: PtValue | undefined; \"monthItem:rangeEnd\"?: PtValue | undefined; \"monthItem:highlighted\"?: PtValue | undefined; \"yearItem:inRange\"?: PtValue | undefined; \"yearItem:selected\"?: PtValue | undefined; \"yearItem:rangeStart\"?: PtValue | undefined; \"yearItem:rangeEnd\"?: PtValue | undefined; \"yearItem:highlighted\"?: PtValue | undefined; sheet?: PtValue | undefined; \"sheet:disabled\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"item:open\"?: PtValue | undefined; \"arrow:open\"?: PtValue | undefined; \"month:open\"?: PtValue | undefined; \"year:open\"?: PtValue | undefined; \"cellColumnHeader:open\"?: PtValue | undefined; \"week:open\"?: PtValue | undefined; \"weekNumber:open\"?: PtValue | undefined; \"day:open\"?: PtValue | undefined; \"dayButton:open\"?: PtValue | undefined; \"monthItem:open\"?: PtValue | undefined; \"yearItem:open\"?: PtValue | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
32
33
  {"name":"range","type":"boolean","description":"Enables range selection (`[start, end]`).","default":"false"},
33
34
  {"name":"readonly","type":"boolean","default":"false","description":"Prevents opening while keeping the activator visible."},
34
35
  {"name":"seconds","type":"boolean","default":"false","description":"Adds the seconds column (requires `type=\"datetime\"`)."},