bitboss-ui 3.0.0-beta.47 → 3.0.0-beta.49

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 (398) hide show
  1. package/README.md +24 -7
  2. package/bin/bitboss-ui-mcp.mjs +15 -3
  3. package/bin/bitboss-ui.mjs +167 -14
  4. package/dist/ai/BbAccordion.md +1 -1
  5. package/dist/ai/BbAvatar.md +1 -1
  6. package/dist/ai/BbBreadcrumbs.md +65 -65
  7. package/dist/ai/BbButton.md +28 -8
  8. package/dist/ai/BbCheckbox.md +0 -2
  9. package/dist/ai/BbCheckboxGroup.md +13 -20
  10. package/dist/ai/BbCollapsible.md +1 -1
  11. package/dist/ai/BbColorPalette.md +1 -1
  12. package/dist/ai/BbConfirm.md +8 -0
  13. package/dist/ai/BbConfirmPortal.md +1 -1
  14. package/dist/ai/BbDatePickerInput.md +4 -2
  15. package/dist/ai/BbDialog.md +1 -8
  16. package/dist/ai/BbDropdown.md +231 -220
  17. package/dist/ai/BbDropdownButton.md +65 -65
  18. package/dist/ai/BbDropdownGroup.md +2 -2
  19. package/dist/ai/BbDropzone.md +10 -10
  20. package/dist/ai/BbForm.md +43 -52
  21. package/dist/ai/BbHoverCard.md +19 -7
  22. package/dist/ai/BbHoverCardPortal.md +1 -1
  23. package/dist/ai/BbNumberInput.md +88 -21
  24. package/dist/ai/BbPopover.md +47 -40
  25. package/dist/ai/BbPopoverPortal.md +1 -1
  26. package/dist/ai/BbProgress.md +48 -22
  27. package/dist/ai/BbRadioGroup.md +13 -19
  28. package/dist/ai/BbSelect.md +16 -36
  29. package/dist/ai/BbSelectPopover.md +14 -30
  30. package/dist/ai/BbSmoothHeight.md +0 -2
  31. package/dist/ai/BbSwitchGroup.md +13 -20
  32. package/dist/ai/BbTable.md +11 -10
  33. package/dist/ai/BbTabs.md +107 -106
  34. package/dist/ai/BbTabsList.md +2 -2
  35. package/dist/ai/BbTabsPanels.md +1 -1
  36. package/dist/ai/BbTabsRoot.md +3 -3
  37. package/dist/ai/BbTooltip.md +29 -13
  38. package/dist/ai/BbTree.md +14 -11
  39. package/dist/ai/CommonPopover.md +1 -1
  40. package/dist/ai/changelog.json +297 -6
  41. package/dist/ai/components.json +50 -45
  42. package/dist/ai/composables/useBbDropdownContext.md +16 -16
  43. package/dist/ai/composables/useBbFormField.md +5 -1
  44. package/dist/ai/composables/useBbTabsContext.md +14 -14
  45. package/dist/ai/guides/agent-contract.md +27 -27
  46. package/dist/ai/guides/ai-router.md +1 -1
  47. package/dist/ai/guides/component-picker.md +3 -3
  48. package/dist/ai/guides/fetch-items-playbook.md +1 -1
  49. package/dist/ai/guides/icons-policy.md +10 -10
  50. package/dist/ai/guides/inertia-helpers.md +120 -67
  51. package/dist/ai/guides/installation-and-plugin-setup.md +45 -15
  52. package/dist/ai/guides/migration/components/bb-breadcrumbs.md +3 -2
  53. package/dist/ai/guides/migration/components/bb-checkbox-group.md +16 -16
  54. package/dist/ai/guides/migration/components/bb-dropdown-button.md +9 -8
  55. package/dist/ai/guides/migration/components/bb-dropdown.md +15 -14
  56. package/dist/ai/guides/migration/components/bb-radio-group.md +2 -1
  57. package/dist/ai/guides/migration/components/bb-select-popover.md +6 -1
  58. package/dist/ai/guides/migration/components/bb-select.md +10 -2
  59. package/dist/ai/guides/migration/components/bb-switch-group.md +2 -1
  60. package/dist/ai/guides/migration/components/bb-tabs.md +9 -8
  61. package/dist/ai/guides/migration/components/bb-tooltip.md +1 -1
  62. package/dist/ai/guides/migration/v2-to-v3.md +143 -28
  63. package/dist/ai/guides/migration/v3-beta-css-classes.md +29 -27
  64. package/dist/ai/guides/migration/v3-beta-tooling.md +11 -0
  65. package/dist/ai/guides/options-items-playbook.md +30 -24
  66. package/dist/ai/guides/passthrough.md +4 -4
  67. package/dist/ai/guides/preset-components.md +18 -3
  68. package/dist/ai/guides/typescript-generic-components.md +1 -1
  69. package/dist/ai/guides/validated-forms.md +11 -22
  70. package/dist/ai/guides/validation-providers.md +4 -3
  71. package/dist/ai/helpers/inertia/manifest.json +636 -0
  72. package/dist/ai/helpers/inertia/types.ts +15 -0
  73. package/dist/ai/helpers/inertia/useAsyncFn.ts +110 -0
  74. package/dist/ai/helpers/inertia/useConfirmOnRouteLeave.ts +102 -0
  75. package/dist/ai/helpers/inertia/useDeleteCmd.ts +30 -0
  76. package/dist/ai/helpers/inertia/useHasChanged.ts +36 -0
  77. package/dist/ai/helpers/inertia/useIndexById.ts +23 -0
  78. package/dist/ai/helpers/inertia/useLazyProp.ts +148 -0
  79. package/dist/ai/helpers/inertia/useLazyPropGetter.ts +50 -0
  80. package/dist/ai/helpers/inertia/useLoading.ts +20 -0
  81. package/dist/ai/helpers/inertia/usePaginatedResponseContext.ts +88 -0
  82. package/dist/ai/helpers/inertia/usePromiseForm.ts +62 -0
  83. package/dist/ai/helpers/inertia/useProp.ts +63 -0
  84. package/dist/ai/helpers/inertia/useQuery.ts +19 -0
  85. package/dist/ai/helpers/inertia/useQueryObject.ts +116 -0
  86. package/dist/ai/helpers/inertia/useResourceContext.ts +69 -0
  87. package/dist/ai/helpers/inertia/useRouteQuery.ts +54 -0
  88. package/dist/ai/helpers/inertia/useScreenSizes.ts +23 -0
  89. package/dist/ai/helpers/inertia/useTableContext.ts +34 -0
  90. package/dist/ai/helpers/inertia/useTableSelectionContext.ts +48 -0
  91. package/dist/ai/helpers/inertia/useUntil.ts +33 -0
  92. package/dist/ai/helpers/inertia/utils.ts +24 -0
  93. package/dist/ai/index.md +6 -6
  94. package/dist/ai/manifest/components/BbAccordion.json +1 -1
  95. package/dist/ai/manifest/components/BbBreadcrumbs.json +10 -6
  96. package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
  97. package/dist/ai/manifest/components/BbButton.json +2 -1
  98. package/dist/ai/manifest/components/BbButton.tree.json +1 -1
  99. package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
  100. package/dist/ai/manifest/components/BbCollapsible.json +1 -1
  101. package/dist/ai/manifest/components/BbColorPalette.json +1 -1
  102. package/dist/ai/manifest/components/BbConfirmPortal.json +5 -2
  103. package/dist/ai/manifest/components/BbDropdown.json +23 -20
  104. package/dist/ai/manifest/components/BbDropdown.tree.json +2 -2
  105. package/dist/ai/manifest/components/BbDropdownButton.json +22 -19
  106. package/dist/ai/manifest/components/BbDropdownButton.tree.json +1 -1
  107. package/dist/ai/manifest/components/BbDropdownGroup.json +2 -2
  108. package/dist/ai/manifest/components/BbForm.json +1 -0
  109. package/dist/ai/manifest/components/BbHoverCard.json +1 -1
  110. package/dist/ai/manifest/components/BbHoverCardPortal.json +2 -2
  111. package/dist/ai/manifest/components/BbNumberInput.json +6 -1
  112. package/dist/ai/manifest/components/BbNumberInput.tree.json +2 -1
  113. package/dist/ai/manifest/components/BbPopover.json +2 -1
  114. package/dist/ai/manifest/components/BbPopoverPortal.json +2 -2
  115. package/dist/ai/manifest/components/BbProgress.json +6 -6
  116. package/dist/ai/manifest/components/BbProgress.tree.json +1 -0
  117. package/dist/ai/manifest/components/BbRadioGroup.json +2 -2
  118. package/dist/ai/manifest/components/BbSelect.json +2 -2
  119. package/dist/ai/manifest/components/BbSelect.tree.json +2 -2
  120. package/dist/ai/manifest/components/BbSelectPopover.json +2 -2
  121. package/dist/ai/manifest/components/BbSelectPopover.tree.json +1 -1
  122. package/dist/ai/manifest/components/BbSwitchGroup.json +2 -2
  123. package/dist/ai/manifest/components/BbTabs.json +8 -7
  124. package/dist/ai/manifest/components/BbTabsList.json +3 -3
  125. package/dist/ai/manifest/components/BbTabsPanels.json +1 -1
  126. package/dist/ai/manifest/components/BbTabsRoot.json +6 -5
  127. package/dist/ai/manifest/components/BbTag.tree.json +1 -1
  128. package/dist/ai/manifest/components/BbTooltip.json +2 -2
  129. package/dist/ai/manifest/components/ChipsBox.tree.json +1 -1
  130. package/dist/ai/manifest/components/CommonPopover.json +1 -1
  131. package/dist/ai/manifest/index.json +2 -2
  132. package/dist/ai/manifest/meta.json +5 -0
  133. package/dist/ai/manifest/types.advanced.json +10 -9
  134. package/dist/ai/manifest/types.api.json +8 -5
  135. package/dist/ai/manifest/types.wrapper.json +1 -0
  136. package/dist/ai/recipes/inertia/approvals-inbox.md +16 -18
  137. package/dist/ai/recipes/inertia/inline-edit-workspace.md +23 -33
  138. package/dist/ai/recipes/inertia/layout-scaffold.md +16 -16
  139. package/dist/ai/recipes/inertia/onboarding.md +6 -10
  140. package/dist/ai/recipes/inertia/ownership-atlas.md +15 -18
  141. package/dist/ai/recipes/inertia/record-form.md +11 -11
  142. package/dist/ai/recipes/inertia/records-workspace.md +38 -41
  143. package/dist/ai/recipes/inertia/settings-workspace.md +26 -38
  144. package/dist/ai/recipes/inertia/upload-center.md +31 -39
  145. package/dist/ai/recipes/inertia/wizard-form.md +10 -19
  146. package/dist/ai/recipes/nuxt/approvals-inbox.md +7 -8
  147. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +14 -24
  148. package/dist/ai/recipes/nuxt/layout-scaffold.md +16 -16
  149. package/dist/ai/recipes/nuxt/onboarding.md +2 -6
  150. package/dist/ai/recipes/nuxt/ownership-atlas.md +7 -9
  151. package/dist/ai/recipes/nuxt/record-form.md +5 -5
  152. package/dist/ai/recipes/nuxt/records-workspace.md +29 -31
  153. package/dist/ai/recipes/nuxt/settings-workspace.md +22 -34
  154. package/dist/ai/recipes/nuxt/upload-center.md +22 -29
  155. package/dist/ai/recipes/nuxt/wizard-form.md +3 -11
  156. package/dist/ai/recipes/vue/approvals-inbox.md +7 -8
  157. package/dist/ai/recipes/vue/inline-edit-workspace.md +14 -24
  158. package/dist/ai/recipes/vue/layout-scaffold.md +16 -16
  159. package/dist/ai/recipes/vue/onboarding.md +2 -6
  160. package/dist/ai/recipes/vue/ownership-atlas.md +7 -9
  161. package/dist/ai/recipes/vue/record-form.md +5 -5
  162. package/dist/ai/recipes/vue/records-workspace.md +29 -31
  163. package/dist/ai/recipes/vue/settings-workspace.md +22 -34
  164. package/dist/ai/recipes/vue/upload-center.md +22 -29
  165. package/dist/ai/recipes/vue/wizard-form.md +3 -11
  166. package/dist/ai/source/BbAccordion.md +1 -1
  167. package/dist/ai/source/BbAlert.md +3 -3
  168. package/dist/ai/source/BbBadge.md +14 -10
  169. package/dist/ai/source/BbBadgeButton.md +17 -12
  170. package/dist/ai/source/BbBaseButton.md +1 -1
  171. package/dist/ai/source/BbBaseRadioIcon.md +1 -0
  172. package/dist/ai/source/BbBaseSwitchIcon.md +1 -0
  173. package/dist/ai/source/BbBreadcrumbs.md +63 -42
  174. package/dist/ai/source/BbButton.md +84 -38
  175. package/dist/ai/source/BbCalendar.md +17 -16
  176. package/dist/ai/source/BbCheckbox.md +3 -2
  177. package/dist/ai/source/BbCheckboxGroup.md +11 -4
  178. package/dist/ai/source/BbCollapsible.md +2 -1
  179. package/dist/ai/source/BbColorInput.md +10 -9
  180. package/dist/ai/source/BbColorPalette.md +2 -1
  181. package/dist/ai/source/BbConfirm.md +18 -1
  182. package/dist/ai/source/BbConfirmPortal.md +20 -6
  183. package/dist/ai/source/BbDatePicker.md +2 -2
  184. package/dist/ai/source/BbDatePickerInput.md +47 -20
  185. package/dist/ai/source/BbDialog.md +5 -5
  186. package/dist/ai/source/BbDropdown.md +231 -158
  187. package/dist/ai/source/BbDropdownButton.md +19 -12
  188. package/dist/ai/source/BbDropdownGroup.md +127 -93
  189. package/dist/ai/source/BbForm.md +25 -1
  190. package/dist/ai/source/BbHoverCard.md +30 -3
  191. package/dist/ai/source/BbHoverCardPortal.md +18 -3
  192. package/dist/ai/source/BbIndicator.md +4 -0
  193. package/dist/ai/source/BbNumberInput.md +855 -19
  194. package/dist/ai/source/BbOffCanvas.md +27 -11
  195. package/dist/ai/source/BbPagination.md +3 -3
  196. package/dist/ai/source/BbPopover.md +185 -12
  197. package/dist/ai/source/BbPopoverPortal.md +30 -3
  198. package/dist/ai/source/BbProgress.md +82 -18
  199. package/dist/ai/source/BbRadioGroup.md +12 -5
  200. package/dist/ai/source/BbRating.md +11 -9
  201. package/dist/ai/source/BbSelect.md +16 -10
  202. package/dist/ai/source/BbSelectPopover.md +29 -23
  203. package/dist/ai/source/BbSlider.md +12 -6
  204. package/dist/ai/source/BbSwitch.md +3 -2
  205. package/dist/ai/source/BbSwitchGroup.md +5 -2
  206. package/dist/ai/source/BbTable.md +102 -18
  207. package/dist/ai/source/BbTabs.md +30 -24
  208. package/dist/ai/source/BbTabsList.md +29 -23
  209. package/dist/ai/source/BbTabsPanels.md +29 -23
  210. package/dist/ai/source/BbTabsRoot.md +28 -22
  211. package/dist/ai/source/BbTag.md +10 -9
  212. package/dist/ai/source/BbTextInput.md +5 -4
  213. package/dist/ai/source/BbTextarea.md +6 -5
  214. package/dist/ai/source/BbTimePicker.md +1 -1
  215. package/dist/ai/source/BbTimePickerInput.md +46 -9
  216. package/dist/ai/source/BbToast.md +10 -7
  217. package/dist/ai/source/BbToastPortal.md +10 -7
  218. package/dist/ai/source/BbTooltip.md +88 -11
  219. package/dist/ai/source/BbTree.md +21 -3
  220. package/dist/ai/source/CommonField.md +6 -4
  221. package/dist/ai/source/CommonFieldInput.md +15 -10
  222. package/dist/ai/source/CommonPopover.md +8 -1
  223. package/dist/ai/source/CommonTimeSelector.md +5 -4
  224. package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +10 -8
  225. package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +8 -8
  226. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +45 -45
  227. package/dist/components/BbBreadcrumbs/types.d.ts +25 -17
  228. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +88 -70
  229. package/dist/components/BbButton/toggleRoving.d.ts +6 -0
  230. package/dist/components/BbButton/toggleRoving.js +45 -0
  231. package/dist/components/BbButton/types.d.ts +12 -4
  232. package/dist/components/BbButton/types.js +5 -1
  233. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +178 -178
  234. package/dist/components/BbCalendar/CalendarMonthPanel.vue_vue_type_script_setup_true_lang.js +15 -15
  235. package/dist/components/BbCalendar/CalendarYearPanel.vue_vue_type_script_setup_true_lang.js +28 -28
  236. package/dist/components/BbCalendar/useCalendarGrid.js +141 -139
  237. package/dist/components/BbCalendar/useDayjsLocale.d.ts +38 -15
  238. package/dist/components/BbCalendar/useDayjsLocale.js +31 -30
  239. package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +48 -48
  240. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +81 -80
  241. package/dist/components/BbCheckboxGroup/types.d.ts +6 -2
  242. package/dist/components/BbCollapsible/types.d.ts +2 -1
  243. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +69 -69
  244. package/dist/components/BbColorPalette/types.d.ts +2 -1
  245. package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +2 -5
  246. package/dist/components/BbConfirm/types.d.ts +15 -0
  247. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +363 -349
  248. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +91 -86
  249. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +298 -289
  250. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +322 -356
  251. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +17 -15
  252. package/dist/components/BbDropdown/DropdownRow.vue.d.ts +40 -0
  253. package/dist/components/BbDropdown/DropdownRow.vue.js +5 -0
  254. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +60 -0
  255. package/dist/components/BbDropdown/normalizeGroups.d.ts +8 -2
  256. package/dist/components/BbDropdown/normalizeGroups.js +60 -46
  257. package/dist/components/BbDropdown/types.d.ts +120 -88
  258. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +11 -2
  259. package/dist/components/BbDropdownButton/types.d.ts +2 -2
  260. package/dist/components/BbForm/BbForm.vue.d.ts +9 -0
  261. package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +114 -105
  262. package/dist/components/BbForm/BbFormCustomField.js +1 -1
  263. package/dist/components/BbForm/bindFormField.js +2 -1
  264. package/dist/components/BbForm/formFields.d.ts +5 -0
  265. package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +145 -142
  266. package/dist/components/BbHoverCard/BbHoverCardPortal.vue.d.ts +2 -2
  267. package/dist/components/BbHoverCard/types.d.ts +14 -1
  268. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +0 -1
  269. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +452 -125
  270. package/dist/components/BbNumberInput/numberDisplay.d.ts +256 -0
  271. package/dist/components/BbNumberInput/numberDisplay.js +499 -0
  272. package/dist/components/BbNumberInput/types.d.ts +54 -1
  273. package/dist/components/BbNumberInput/warroom/corpus.d.ts +58 -0
  274. package/dist/components/BbNumberInput/warroom/currency-verify.rows.d.ts +28 -0
  275. package/dist/components/BbNumberInput/warroom/currency.rows.d.ts +2 -0
  276. package/dist/components/BbNumberInput/warroom/harness.d.ts +217 -0
  277. package/dist/components/BbNumberInput/warroom/oracle.d.ts +150 -0
  278. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +7 -7
  279. package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -0
  280. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +207 -162
  281. package/dist/components/BbPopover/BbPopoverPortal.vue.d.ts +2 -2
  282. package/dist/components/BbPopover/types.d.ts +26 -1
  283. package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +15 -7
  284. package/dist/components/BbProgress/types.d.ts +23 -7
  285. package/dist/components/BbProgress/types.js +1 -1
  286. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +102 -101
  287. package/dist/components/BbRadioGroup/types.d.ts +6 -2
  288. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +63 -63
  289. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +156 -154
  290. package/dist/components/BbSelect/types.d.ts +6 -2
  291. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +2 -1
  292. package/dist/components/BbSelectPopover/types.d.ts +6 -2
  293. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +153 -153
  294. package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +62 -62
  295. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +131 -130
  296. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +711 -676
  297. package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +1 -1
  298. package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +1 -1
  299. package/dist/components/BbTabs/types.d.ts +28 -22
  300. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +76 -76
  301. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +58 -58
  302. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +82 -82
  303. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +246 -236
  304. package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +99 -86
  305. package/dist/components/BbTooltip/tooltipWarmup.d.ts +23 -0
  306. package/dist/components/BbTooltip/tooltipWarmup.js +7 -0
  307. package/dist/components/BbTooltip/types.d.ts +10 -3
  308. package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +29 -21
  309. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +10 -7
  310. package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +37 -36
  311. package/dist/components/CommonPopover/types.d.ts +2 -1
  312. package/dist/components/CommonTimeSelector/CommonTimeSelector.vue_vue_type_script_setup_true_lang.js +9 -9
  313. package/dist/composables/formSubmitLock.d.ts +6 -0
  314. package/dist/composables/formSubmitLock.js +4 -0
  315. package/dist/composables/useBaseOptions.d.ts +7 -1
  316. package/dist/composables/useBaseOptions.js +32 -32
  317. package/dist/composables/useBbDropdownContext.d.ts +8 -8
  318. package/dist/composables/useBbFormField.d.ts +9 -0
  319. package/dist/composables/useBbFormField.js +5 -3
  320. package/dist/composables/useBbTabsContext.d.ts +10 -10
  321. package/dist/composables/useBbTabsContext.js +18 -18
  322. package/dist/composables/useFormBinding.d.ts +11 -0
  323. package/dist/composables/useFormBinding.js +15 -13
  324. package/dist/composables/useItemText.d.ts +5 -1
  325. package/dist/composables/useItemText.js +8 -3
  326. package/dist/composables/useItemValue.d.ts +5 -1
  327. package/dist/composables/useItemValue.js +8 -3
  328. package/dist/composables/useLocale.js +10 -9
  329. package/dist/deprecation/ai-deprecations.json.d.ts +130 -0
  330. package/dist/deprecation/ai-deprecations.json.js +1 -1
  331. package/dist/deprecation/removedProps.js +1 -1
  332. package/dist/directives/bbDropdown.js +1 -1
  333. package/dist/directives/directivePortal.d.ts +13 -7
  334. package/dist/directives/directivePortal.js +1 -4
  335. package/dist/i18n/index.d.ts +7 -12
  336. package/dist/i18n/locales/cs.json +11 -14
  337. package/dist/i18n/locales/da.json +13 -16
  338. package/dist/i18n/locales/de-CH.json +137 -0
  339. package/dist/i18n/locales/de.json +14 -17
  340. package/dist/i18n/locales/el.json +10 -13
  341. package/dist/i18n/locales/en-GB.json +137 -0
  342. package/dist/i18n/locales/en.json +8 -11
  343. package/dist/i18n/locales/es-MX.json +137 -0
  344. package/dist/i18n/locales/es.json +16 -19
  345. package/dist/i18n/locales/fi.json +8 -11
  346. package/dist/i18n/locales/fr.json +23 -26
  347. package/dist/i18n/locales/hu.json +8 -11
  348. package/dist/i18n/locales/it.json +12 -15
  349. package/dist/i18n/locales/ja.json +13 -16
  350. package/dist/i18n/locales/ko.json +10 -13
  351. package/dist/i18n/locales/nb.json +13 -16
  352. package/dist/i18n/locales/nl.json +21 -24
  353. package/dist/i18n/locales/pl.json +10 -13
  354. package/dist/i18n/locales/{pt.json → pt-BR.json} +19 -22
  355. package/dist/i18n/locales/pt-PT.json +137 -0
  356. package/dist/i18n/locales/ro.json +22 -25
  357. package/dist/i18n/locales/ru.json +11 -14
  358. package/dist/i18n/locales/sv.json +16 -19
  359. package/dist/i18n/locales/tr.json +14 -17
  360. package/dist/i18n/locales/uk.json +11 -14
  361. package/dist/i18n/locales/{zh-cn.json → zh-CN.json} +10 -13
  362. package/dist/i18n/locales/zh-HK.json +137 -0
  363. package/dist/i18n/locales/zh-TW.json +137 -0
  364. package/dist/i18n/regionHints.d.ts +16 -0
  365. package/dist/i18n/regionHints.js +49 -0
  366. package/dist/i18n/regions.d.ts +286 -0
  367. package/dist/i18n/regions.js +265 -0
  368. package/dist/index.d.ts +4 -4
  369. package/dist/index.js +4 -4
  370. package/dist/llms-full.txt +1914 -1714
  371. package/dist/llms-medium.txt +76 -46
  372. package/dist/llms.txt +7 -7
  373. package/dist/locale-blueprint.json +16 -13
  374. package/dist/styles.css +2 -2
  375. package/dist/types/passthrough.d.ts +1 -1
  376. package/dist/types/ptComponentMap.d.ts +2 -2
  377. package/dist/utilities/functions/slotKey.d.ts +2 -2
  378. package/dist/utils/versionCheck.js +1 -1
  379. package/dist/vite-plugin.d.ts +22 -19
  380. package/dist/vite.js +309 -297
  381. package/llms.txt +7 -7
  382. package/package.json +5 -3
  383. package/scripts/lib/agent-manifest.mjs +2 -1
  384. package/scripts/lib/eslint-disable.mjs +17 -4
  385. package/scripts/lib/eslint-plugin.d.ts +9 -1
  386. package/scripts/lib/eslint-plugin.mjs +256 -6
  387. package/scripts/lib/helper-canon.mjs +176 -0
  388. package/scripts/lib/helpers-add.mjs +1303 -0
  389. package/scripts/lib/local-components.mjs +33 -4
  390. package/scripts/lib/locale-check.mjs +165 -0
  391. package/scripts/lib/portal-names.mjs +458 -0
  392. package/scripts/lib/redundant-item-accessor.mjs +398 -0
  393. package/scripts/lib/renamed-item-field.mjs +343 -0
  394. package/scripts/lib/slot-key.mjs +2 -2
  395. package/scripts/lib/slot-renames.mjs +1 -1
  396. package/scripts/lib/unimported-components.mjs +5 -2
  397. package/scripts/lib/validate-bb-markup.mjs +123 -56
  398. package/dist/i18n/index.js +0 -27
@@ -3,8 +3,7 @@ import { PtMap, PtValue } from '../../types/passthrough';
3
3
  * Props for BbProgress.
4
4
  */
5
5
  /**
6
- * Passthrough parts of `BbProgress` (plans/passthrough/BbProgress.md). Nothing
7
- * it paints is a state.
6
+ * Passthrough parts of `BbProgress` (plans/passthrough/BbProgress.md).
8
7
  *
9
8
  * @part root - The track (the `progressbar` element); the bar follows it
10
9
  * through its locals (`--track`, `--track-color`, `--accent`, `--r`, the
@@ -14,19 +13,36 @@ import { PtMap, PtValue } from '../../types/passthrough';
14
13
  * never its position.
15
14
  */
16
15
  export type BbProgressPtPart = 'root' | 'bar';
17
- /** The runtime lists the resolver is wired with — no states: nothing this component paints is a state. */
16
+ /**
17
+ * Passthrough states of `BbProgress`.
18
+ *
19
+ * @state indeterminate - Component-wide: `indeterminate` is on; the bar
20
+ * slides (pulses under reduced motion) instead of showing a value.
21
+ */
22
+ export type BbProgressPtState = 'indeterminate';
23
+ /** The runtime lists the resolver is wired with. */
18
24
  export declare const BB_PROGRESS_PT: {
19
25
  readonly parts: readonly ["root", "bar"];
20
- readonly states: readonly [];
26
+ readonly states: readonly ["indeterminate"];
21
27
  };
22
28
  export type BbProgressProps = {
23
- [K in `pt:${BbProgressPtPart}`]?: PtValue;
29
+ [K in `pt:${BbProgressPtPart}` | `pt:${BbProgressPtPart}:${BbProgressPtState}`]?: PtValue;
24
30
  } & {
25
31
  /**
26
32
  * Passthrough, object form: the same keys as the `pt:*` attributes
27
- * without the prefix. See the `pt:<part>` row.
33
+ * without the prefix. Parts: `root`, `bar`; state: `indeterminate`.
34
+ */
35
+ pt?: PtMap<BbProgressPtPart, BbProgressPtState>;
36
+ /**
37
+ * A wait you cannot measure yet: the bar slides back and forth (a calm
38
+ * pulse under `prefers-reduced-motion`) and the progressbar reports no
39
+ * value (`aria-valuenow` is omitted, as the ARIA pattern asks). The
40
+ * `modelValue` is kept and shows again when this turns off. A `null`
41
+ * `modelValue` alone is still an empty bar, not this.
42
+ *
43
+ * @defaultValue `false`
28
44
  */
29
- pt?: PtMap<BbProgressPtPart, never>;
45
+ indeterminate?: boolean;
30
46
  /**
31
47
  * The current progress value — a number between `min` and `max`. This is a
32
48
  * one-way input prop (BbProgress is a display component and never emits
@@ -1,7 +1,7 @@
1
1
  //#region src/components/BbProgress/types.ts
2
2
  var e = {
3
3
  parts: ["root", "bar"],
4
- states: []
4
+ states: ["indeterminate"]
5
5
  };
6
6
  //#endregion
7
7
  export { e as BB_PROGRESS_PT };
@@ -14,16 +14,16 @@ import { useFormBinding as ae } from "../../composables/useFormBinding.js";
14
14
  import oe from "../OptionsContainer/OptionsContainer.vue.js";
15
15
  import { useIndexById as m } from "../../composables/useIndexById.js";
16
16
  import { useBaseOptions as se } from "../../composables/useBaseOptions.js";
17
- import { useCoherence as ce } from "../../composables/useCoherence.js";
18
- import { usePrefill as le } from "../../composables/usePrefill.js";
19
- import { useActiveInactiveState as ue } from "../../composables/useActiveInactiveState.js";
20
- import { useOnFalsy as de } from "../../composables/useOnFalsy.js";
21
- import { useOnTruthy as fe } from "../../composables/useOnTruthy.js";
22
- import pe from "../BbBaseRadioIcon/BbBaseRadioIcon.vue.js";
23
- import { BB_RADIO_GROUP_PT as h } from "./types.js";
24
- import { computed as g, createBlock as me, createElementVNode as _, createSlots as v, createVNode as y, defineComponent as b, guardReactiveProps as x, mergeProps as S, nextTick as he, normalizeProps as C, openBlock as ge, ref as _e, renderSlot as w, shallowRef as ve, toRef as T, unref as E, useAttrs as D, useSlots as O, withCtx as k } from "vue";
17
+ import { useCoherence as h } from "../../composables/useCoherence.js";
18
+ import { usePrefill as ce } from "../../composables/usePrefill.js";
19
+ import { useActiveInactiveState as le } from "../../composables/useActiveInactiveState.js";
20
+ import { useOnFalsy as ue } from "../../composables/useOnFalsy.js";
21
+ import { useOnTruthy as de } from "../../composables/useOnTruthy.js";
22
+ import fe from "../BbBaseRadioIcon/BbBaseRadioIcon.vue.js";
23
+ import { BB_RADIO_GROUP_PT as g } from "./types.js";
24
+ import { computed as _, createBlock as pe, createElementVNode as me, createSlots as he, createVNode as v, defineComponent as y, guardReactiveProps as b, mergeProps as x, nextTick as S, normalizeProps as C, openBlock as ge, ref as _e, renderSlot as w, shallowRef as ve, toRef as T, unref as E, useAttrs as ye, useSlots as D, withCtx as O } from "vue";
25
25
  //#region src/components/BbRadioGroup/BbRadioGroup.vue?vue&type=script&setup=true&lang.ts
26
- var A = /*@__PURE__*/ b({
26
+ var k = /*@__PURE__*/ y({
27
27
  inheritAttrs: !1,
28
28
  __name: "BbRadioGroup",
29
29
  props: {
@@ -173,65 +173,66 @@ var A = /*@__PURE__*/ b({
173
173
  "mouseup",
174
174
  "update:modelValue"
175
175
  ],
176
- setup(b, { emit: A }) {
177
- let j = b, M = A, N = O(), { props: P, emit: F, showAsterisk: ye, errors: be, ariaRequired: I } = ae(j, M, {
176
+ setup(y, { emit: k }) {
177
+ let A = y, j = k, M = D(), { props: N, emit: P, showAsterisk: be, errors: xe, ariaRequired: Se, readonly: F } = ae(A, j, {
178
178
  componentName: "BbRadioGroup",
179
- identifierFallback: () => j.legend,
179
+ identifierFallback: () => A.legend,
180
180
  leaveOn: "inactive"
181
- }), L = () => !!P.legend || !!N.legend;
181
+ }), I = () => !!N.legend || !!M.legend;
182
182
  process.env.NODE_ENV !== "production" && c("BbRadioGroup", s("BbRadioGroup"));
183
- let xe = o().id, R = g(() => P.name || xe.value), Se = [], z = g(() => P.items === void 0 ? Se : P.items), B = ve(null), Ce = (e) => {
184
- B.value = e?.$el ?? null;
185
- }, { active: V } = ue(B), H = _e(!1), we = g(() => P.persistentHint || H.value);
186
- de(V, () => {
187
- H.value = !1, F("inactive");
188
- }), fe(V, () => {
189
- H.value = !0, F("active");
183
+ let Ce = o().id, L = _(() => N.name || Ce.value), we = [], R = _(() => N.items === void 0 ? we : N.items), z = ve(null), B = (e) => {
184
+ z.value = e?.$el ?? null;
185
+ }, { active: V } = le(z), H = _e(!1), Te = _(() => N.persistentHint || H.value);
186
+ ue(V, () => {
187
+ H.value = !1, P("inactive");
188
+ }), de(V, () => {
189
+ H.value = !0, P("active");
190
190
  });
191
- let { getter: U, clientReproducible: Te, hydratedFromSsr: Ee, items: De, loading: W, error: Oe, ssrMarker: ke } = l({
192
- items: z,
191
+ let { getter: U, clientReproducible: Ee, hydratedFromSsr: De, items: Oe, loading: W, error: ke, ssrMarker: Ae } = l({
192
+ items: R,
193
193
  marker: !0
194
194
  }), G = () => {
195
- P.enforceCoherence && !J.value && F("update:modelValue", null);
196
- }, { hasPrefilled: K, whenPrefilled: Ae } = le({
197
- alreadyLoaded: Ee,
198
- clientReproducible: Te,
195
+ N.enforceCoherence && !J.value && P("update:modelValue", null);
196
+ }, { hasPrefilled: K, whenPrefilled: je } = ce({
197
+ alreadyLoaded: De,
198
+ clientReproducible: Ee,
199
199
  trigger: !0,
200
- currentValue: P.modelValue,
200
+ currentValue: N.modelValue,
201
201
  multiple: !1,
202
202
  fn: async () => {
203
- await U(void 0, "initial", P.modelValue) === "applied" && G();
203
+ await U(void 0, "initial", N.modelValue) === "applied" && G();
204
204
  }
205
- }), { data: je } = m({ items: g(() => [P.modelValue]) }), { options: q } = se({
206
- disabled: T(P, "disabled"),
207
- items: De,
208
- itemText: P.itemText,
209
- itemProps: T(P, "itemProps"),
210
- itemValue: P.itemValue,
205
+ }), { data: Me } = m({ items: _(() => [N.modelValue]) }), { options: q } = se({
206
+ disabled: T(N, "disabled"),
207
+ items: Oe,
208
+ itemText: N.itemText,
209
+ itemProps: T(N, "itemProps"),
210
+ itemValue: N.itemValue,
211
+ optionDefaults: !0,
211
212
  max: Infinity,
212
- selectable: T(P, "selectable"),
213
- selectedIndexedByHash: je
214
- }), { data: Me } = m({
213
+ selectable: T(N, "selectable"),
214
+ selectedIndexedByHash: Me
215
+ }), { data: Ne } = m({
215
216
  items: q,
216
217
  key: "valueHash"
217
- }), { coherent: J } = ce({
218
- modelValue: T(P, "modelValue"),
218
+ }), { coherent: J } = h({
219
+ modelValue: T(N, "modelValue"),
219
220
  multiple: !1,
220
- iteratee: (e) => !!Me.value[a(e)]
221
+ iteratee: (e) => !!Ne.value[a(e)]
221
222
  }), Y = 0;
222
- u(() => P.modelValue, async () => {
223
- Y++, J.value || await U(void 0, "model", P.modelValue) === "applied" && G(), Y--;
224
- }, { debounce: P.modelValueDebounceTime === void 0 ? 0 : P.modelValueDebounceTime }), u(() => [P.dependencies, z.value], async () => {
225
- K.value || await Ae(), K.value && (Y++, await U(void 0, "dependencies", P.modelValue) === "applied" && Y === 1 && G(), Y--);
226
- }, { debounce: P.depsDebounceTime === void 0 ? 0 : P.depsDebounceTime });
227
- let X = g(() => e(P.modelValue)), Z = i({
223
+ u(() => N.modelValue, async () => {
224
+ Y++, J.value || await U(void 0, "model", N.modelValue) === "applied" && G(), Y--;
225
+ }, { debounce: N.modelValueDebounceTime === void 0 ? 0 : N.modelValueDebounceTime }), u(() => [N.dependencies, R.value], async () => {
226
+ K.value || await je(), K.value && (Y++, await U(void 0, "dependencies", N.modelValue) === "applied" && Y === 1 && G(), Y--);
227
+ }, { debounce: N.depsDebounceTime === void 0 ? 0 : N.depsDebounceTime });
228
+ let X = _(() => e(N.modelValue)), Z = i({
228
229
  component: "BbRadioGroup",
229
- attrs: D(),
230
- props: P,
231
- parts: h.parts,
232
- states: h.states,
230
+ attrs: ye(),
231
+ props: N,
232
+ parts: g.parts,
233
+ states: g.states,
233
234
  active: {
234
- ...r(n(P, () => X.value), [
235
+ ...r(n(N, () => X.value), [
235
236
  "errors",
236
237
  "warnings",
237
238
  "disabled",
@@ -240,51 +241,51 @@ var A = /*@__PURE__*/ b({
240
241
  ]),
241
242
  loading: () => W.value
242
243
  }
243
- }), Ne = t(Z, { label: "legend" }), Q = ie(), $ = (e, t) => {
244
+ }), Pe = t(Z, { label: "legend" }), Q = ie(), $ = (e, t) => {
244
245
  if (t) return [t, e.valueHash].filter(Boolean).join("-");
245
- }, Pe = () => {
246
- let e = B.value?.querySelectorAll("input[type=\"radio\"]") ?? [];
246
+ }, Fe = () => {
247
+ let e = z.value?.querySelectorAll("input[type=\"radio\"]") ?? [];
247
248
  e.length === q.value.length && q.value.forEach((t, n) => {
248
249
  e[n].checked = !!t.selected;
249
250
  });
250
- }, Fe = (e) => ({
251
+ }, Ie = (e) => ({
251
252
  onBlur: (t) => {
252
- Q.onBlur(e.valueHash), F("blur", t);
253
+ Q.onBlur(e.valueHash), P("blur", t);
253
254
  },
254
255
  onChange: (t) => {
255
- if (P.readonly) {
256
- t.target instanceof HTMLInputElement && te(t.target, P.readonly, !!e.selected);
256
+ if (N.readonly) {
257
+ t.target instanceof HTMLInputElement && te(t.target, N.readonly, !!e.selected);
257
258
  return;
258
259
  }
259
- F("change", t), F("update:modelValue", e.value), he(Pe);
260
+ P("change", t), P("update:modelValue", e.value), S(Fe);
260
261
  },
261
262
  onClick: (e) => {
262
- f(e, P.readonly), F("click", e);
263
+ f(e, N.readonly), P("click", e);
263
264
  },
264
265
  onFocus: (t) => {
265
- Q.onFocus(e.valueHash, t), H.value = !0, F("focus", t);
266
+ Q.onFocus(e.valueHash, t), H.value = !0, P("focus", t);
266
267
  },
267
- onInput: (e) => F("input", e),
268
+ onInput: (e) => P("input", e),
268
269
  onKeydown: (e) => {
269
- p(e, P.readonly), F("keydown", e);
270
+ p(e, N.readonly), P("keydown", e);
270
271
  },
271
- onMousedown: (e) => F("mousedown", e),
272
- onMouseup: (e) => F("mouseup", e)
273
- }), Ie = (e, t, n, r, i, a) => ({
272
+ onMousedown: (e) => P("mousedown", e),
273
+ onMouseup: (e) => P("mouseup", e)
274
+ }), Le = (e, t, n, r, i, a) => ({
274
275
  ...ne("radio", {
275
276
  ariaDescribedby: ee(r, a),
276
277
  ariaLabelledby: i,
277
- autofocus: P.autofocus && !t,
278
+ autofocus: N.autofocus && !t,
278
279
  checked: !!e.selected,
279
280
  disabled: e.disabled,
280
281
  id: $(e, n),
281
- name: R.value,
282
- readonly: P.readonly,
283
- required: P.required,
282
+ name: L.value,
283
+ readonly: N.readonly,
284
+ required: N.required,
284
285
  value: e.value
285
286
  }),
286
- ...Fe(e)
287
- }), Le = (e, t, n, r) => ({
287
+ ...Ie(e)
288
+ }), Re = (e, t, n, r) => ({
288
289
  checked: !!e.selected,
289
290
  disabled: !!e.disabled,
290
291
  focused: Q.focused(e.valueHash),
@@ -292,18 +293,18 @@ var A = /*@__PURE__*/ b({
292
293
  hasErrors: !!n,
293
294
  hasWarnings: !!r && !n,
294
295
  id: $(e, t),
295
- name: R.value,
296
+ name: L.value,
296
297
  parsedValue: re("radio", e.value),
297
- readonly: !!P.readonly,
298
+ readonly: !!N.readonly,
298
299
  value: e.value
299
300
  });
300
- return (e, t) => (ge(), me(d, S({
301
+ return (e, t) => (ge(), pe(d, x({
301
302
  id: e.id,
302
303
  class: "bb-radio-group",
303
304
  compact: e.compact,
304
305
  description: e.description,
305
306
  disabled: e.disabled,
306
- errors: E(be),
307
+ errors: E(xe),
307
308
  "has-errors": e.hasErrors,
308
309
  "has-value": X.value,
309
310
  "has-warnings": e.hasWarnings,
@@ -318,25 +319,25 @@ var A = /*@__PURE__*/ b({
318
319
  "label-tag": "legend",
319
320
  layout: e.layout,
320
321
  loading: E(W),
321
- name: R.value,
322
- passthrough: E(Ne),
323
- readonly: e.readonly,
322
+ name: L.value,
323
+ passthrough: E(Pe),
324
+ readonly: E(F),
324
325
  reverse: e.reverse,
325
- "show-asterisk": E(ye),
326
- "show-hint": we.value,
327
- "ssr-marker": E(ke),
326
+ "show-asterisk": E(be),
327
+ "show-hint": Te.value,
328
+ "ssr-marker": E(Ae),
328
329
  tag: "fieldset",
329
330
  warnings: e.warnings
330
- }, E(Z).forwardAttrs), v({
331
- label: k((t) => [w(e.$slots, "legend", C(x(t)))]),
332
- input: k(({ id: t, hasErrors: n, hasWarnings: r, ariaDescribedby: i }) => [y(oe, {
333
- ref: Ce,
334
- "aria-labelledby": L() ? `${t}__label` : void 0,
335
- "aria-readonly": L() && e.readonly ? !0 : void 0,
336
- "aria-required": L() ? E(I) : void 0,
331
+ }, E(Z).forwardAttrs), he({
332
+ label: O((t) => [w(e.$slots, "legend", C(b(t)))]),
333
+ input: O(({ id: t, hasErrors: n, hasWarnings: r, ariaDescribedby: i }) => [v(oe, {
334
+ ref: B,
335
+ "aria-labelledby": I() ? `${t}__label` : void 0,
336
+ "aria-readonly": I() && E(F) ? !0 : void 0,
337
+ "aria-required": I() ? E(Se) : void 0,
337
338
  block: "bb-radio-group",
338
339
  "empty-text": e.emptyText,
339
- error: E(Oe),
340
+ error: E(ke),
340
341
  "failed-text": e.failedText,
341
342
  "has-errors": n,
342
343
  "has-warnings": r,
@@ -350,23 +351,23 @@ var A = /*@__PURE__*/ b({
350
351
  "loading-text": e.loadingText,
351
352
  options: E(q),
352
353
  passthrough: E(Z),
353
- role: L() ? "radiogroup" : void 0
354
+ role: I() ? "radiogroup" : void 0
354
355
  }, {
355
- prepend: k(() => [w(e.$slots, "prepend")]),
356
- loading: k(() => [w(e.$slots, "loading")]),
357
- empty: k((t) => [w(e.$slots, "empty", C(x(t)))]),
358
- label: k((t) => [w(e.$slots, "label", C(x(t)))]),
359
- input: k(({ option: a, index: o, labelId: s, descriptionId: c, rowStates: l }) => [_("input", C(x(Ie(a, o, t, i, s, c))), null, 16), w(e.$slots, "icon", S({
356
+ prepend: O(() => [w(e.$slots, "prepend")]),
357
+ loading: O(() => [w(e.$slots, "loading")]),
358
+ empty: O((t) => [w(e.$slots, "empty", C(b(t)))]),
359
+ label: O((t) => [w(e.$slots, "label", C(b(t)))]),
360
+ input: O(({ option: a, index: o, labelId: s, descriptionId: c, rowStates: l }) => [me("input", C(b(Le(a, o, t, i, s, c))), null, 16), w(e.$slots, "icon", x({
360
361
  item: a.item,
361
362
  text: a.text
362
- }, Le(a, t, n, r)), () => [y(pe, S({
363
+ }, Re(a, t, n, r)), () => [v(fe, x({
363
364
  checked: !!a.selected,
364
365
  disabled: !!a.disabled,
365
366
  "focus-visible": E(Q).focusVisible(a.valueHash),
366
367
  focused: E(Q).focused(a.valueHash),
367
368
  "has-errors": !!n,
368
369
  "has-warnings": !!r && !n,
369
- readonly: !!e.readonly
370
+ readonly: !!E(F)
370
371
  }, E(Z).part("icon", l, a.item)), null, 16, [
371
372
  "checked",
372
373
  "disabled",
@@ -376,7 +377,7 @@ var A = /*@__PURE__*/ b({
376
377
  "has-warnings",
377
378
  "readonly"
378
379
  ])])]),
379
- append: k(() => [w(e.$slots, "append")]),
380
+ append: O(() => [w(e.$slots, "append")]),
380
381
  _: 2
381
382
  }, 1032, [
382
383
  "aria-labelledby",
@@ -402,10 +403,10 @@ var A = /*@__PURE__*/ b({
402
403
  _: 2
403
404
  }, [e.$slots.description ? {
404
405
  name: "description",
405
- fn: k((t) => [w(e.$slots, "description", C(x(t)))]),
406
+ fn: O((t) => [w(e.$slots, "description", C(b(t)))]),
406
407
  key: "0"
407
408
  } : void 0]), 1040, /* @__PURE__ */ "id.compact.description.disabled.errors.has-errors.has-value.has-warnings.hide-label.hint.input-align.input-position.label.label-align.label-mode.label-position.layout.loading.name.passthrough.readonly.reverse.show-asterisk.show-hint.ssr-marker.warnings".split(".")));
408
409
  }
409
410
  });
410
411
  //#endregion
411
- export { A as default };
412
+ export { k as default };
@@ -162,13 +162,17 @@ export type BbRadioGroupProps<T> = {
162
162
  /**
163
163
  * Defines a path that returns a property of the object to use as text or a function that returns a string.
164
164
  *
165
- * @defaultValue `JSON.stringify(item)`
165
+ * Unset: own `label`, else `text` (`{ label, value }` needs no accessor).
166
+ *
167
+ * @defaultValue own `label`, else `text`, else `JSON.stringify(item)`
166
168
  */
167
169
  itemText?: ItemAccessor<T, string>;
168
170
  /**
169
171
  * Defines a path that returns a property of the object to use as value or a function that returns any value.
170
172
  *
171
- * @defaultValue the whole item
173
+ * Unset: own `value`, even `null`.
174
+ *
175
+ * @defaultValue own `value`, else the whole item
172
176
  */
173
177
  itemValue?: ItemAccessor<T>;
174
178
  /**