bitboss-ui 3.0.0-beta.75 → 3.0.0-beta.76

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 (169) hide show
  1. package/README.md +5 -5
  2. package/bin/cli.mjs +16 -10
  3. package/dist/ai/BbAlert.md +1 -1
  4. package/dist/ai/BbBreadcrumbs.md +1 -1
  5. package/dist/ai/BbButton.md +2 -2
  6. package/dist/ai/BbColorInput.md +1 -1
  7. package/dist/ai/BbColorPalette.md +1 -1
  8. package/dist/ai/BbConfirm.md +1 -1
  9. package/dist/ai/BbDatePicker.md +1 -1
  10. package/dist/ai/BbDatePickerInput.md +1 -1
  11. package/dist/ai/BbDialog.md +3 -2
  12. package/dist/ai/BbDropdown.md +23 -21
  13. package/dist/ai/BbDropdownButton.md +13 -11
  14. package/dist/ai/BbGallery.md +3 -2
  15. package/dist/ai/BbIcon.md +10 -10
  16. package/dist/ai/BbOffCanvas.md +3 -2
  17. package/dist/ai/BbPopover.md +1 -1
  18. package/dist/ai/BbSelect.md +153 -43
  19. package/dist/ai/BbSelectPopover.md +115 -9
  20. package/dist/ai/BbTable.md +1 -1
  21. package/dist/ai/BbTimePicker.md +1 -1
  22. package/dist/ai/BbTimePickerInput.md +1 -1
  23. package/dist/ai/GroupedListBox.md +2 -2
  24. package/dist/ai/ListBox.md +3 -2
  25. package/dist/ai/changelog.json +153 -7
  26. package/dist/ai/components.json +12 -12
  27. package/dist/ai/guides/agent-contract.md +1 -1
  28. package/dist/ai/guides/calendars-and-digits.md +1 -1
  29. package/dist/ai/guides/eslint-rules.md +1 -1
  30. package/dist/ai/guides/icons-policy.md +32 -11
  31. package/dist/ai/guides/installation-and-plugin-setup.md +24 -23
  32. package/dist/ai/guides/migration/adoption-checklist.md +1 -1
  33. package/dist/ai/guides/migration/components/bb-icon.md +4 -4
  34. package/dist/ai/guides/migration/v2-to-v3.md +48 -19
  35. package/dist/ai/guides/migration/v3-beta-css-classes.md +18 -3
  36. package/dist/ai/guides/passthrough.md +58 -58
  37. package/dist/ai/helpers/inertia/manifest.json +1 -1
  38. package/dist/ai/manifest/components/BbDialog.tree.json +1 -1
  39. package/dist/ai/manifest/components/BbDropdown.json +19 -17
  40. package/dist/ai/manifest/components/BbDropdown.tree.json +9 -9
  41. package/dist/ai/manifest/components/BbDropdownButton.json +12 -10
  42. package/dist/ai/manifest/components/BbDropdownButton.tree.json +2 -0
  43. package/dist/ai/manifest/components/BbGallery.tree.json +1 -1
  44. package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
  45. package/dist/ai/manifest/components/BbSelect.json +44 -40
  46. package/dist/ai/manifest/components/BbSelect.tree.json +2 -1
  47. package/dist/ai/manifest/components/BbSelectPopover.json +10 -6
  48. package/dist/ai/manifest/components/BbSelectPopover.tree.json +4 -1
  49. package/dist/ai/manifest/components/BbTable.tree.json +5 -1
  50. package/dist/ai/manifest/components/GroupedListBox.json +1 -1
  51. package/dist/ai/manifest/components/GroupedListBox.tree.json +1 -0
  52. package/dist/ai/manifest/components/ListBox.json +1 -1
  53. package/dist/ai/manifest/components/ListBox.tree.json +1 -1
  54. package/dist/ai/manifest/index.json +2 -2
  55. package/dist/ai/recipes/inertia/inline-edit-workspace.md +1 -1
  56. package/dist/ai/recipes/inertia/onboarding.md +1 -1
  57. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1 -1
  58. package/dist/ai/recipes/nuxt/onboarding.md +1 -1
  59. package/dist/ai/recipes/vue/inline-edit-workspace.md +1 -1
  60. package/dist/ai/recipes/vue/onboarding.md +2 -2
  61. package/dist/ai/source/BbAccordion.md +4 -5
  62. package/dist/ai/source/BbAvatar.md +9 -2
  63. package/dist/ai/source/BbBadge.md +6 -2
  64. package/dist/ai/source/BbBreadcrumbs.md +5 -2
  65. package/dist/ai/source/BbCalendar.md +8 -6
  66. package/dist/ai/source/BbCarousel.md +10 -6
  67. package/dist/ai/source/BbColorPalette.md +5 -2
  68. package/dist/ai/source/BbDatePickerInput.md +7 -2
  69. package/dist/ai/source/BbDropdown.md +91 -66
  70. package/dist/ai/source/BbDropdownButton.md +36 -19
  71. package/dist/ai/source/BbDropdownGroup.md +91 -66
  72. package/dist/ai/source/BbGallery.md +6 -5
  73. package/dist/ai/source/BbPagination.md +12 -28
  74. package/dist/ai/source/BbRating.md +4 -4
  75. package/dist/ai/source/BbSelect.md +130 -106
  76. package/dist/ai/source/BbSelectPopover.md +128 -21
  77. package/dist/ai/source/BbTable.md +42 -9
  78. package/dist/ai/source/BbTimePickerInput.md +6 -2
  79. package/dist/ai/source/ClearableButton.md +4 -2
  80. package/dist/ai/source/ErrorIcon.md +4 -3
  81. package/dist/ai/source/FlatListBox.md +7 -2
  82. package/dist/ai/source/GroupedListBox.md +22 -3
  83. package/dist/ai/source/ListBox.md +7 -1
  84. package/dist/ai/source/WarningIcon.md +4 -3
  85. package/dist/assets/svgs/close.svg_raw.js +1 -1
  86. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
  87. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +35 -34
  88. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +48 -47
  89. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +60 -59
  90. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +128 -127
  91. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +1 -1
  92. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +240 -239
  93. package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +500 -499
  94. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +4 -4
  95. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +175 -174
  96. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +1 -1
  97. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +2 -2
  98. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +263 -262
  99. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +81 -80
  100. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +4 -0
  101. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +318 -312
  102. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +47 -46
  103. package/dist/components/BbDropdown/ptKeys.generated.d.ts +36 -20
  104. package/dist/components/BbDropdown/types.d.ts +51 -53
  105. package/dist/components/BbDropdown/types.js +2 -0
  106. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +1 -1
  107. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +74 -59
  108. package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +111 -63
  109. package/dist/components/BbDropdownButton/types.d.ts +12 -10
  110. package/dist/components/BbDropdownButton/types.js +2 -0
  111. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
  112. package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +204 -203
  113. package/dist/components/BbIcon/iconCache.js +1 -1
  114. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
  115. package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -2
  116. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +138 -136
  117. package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
  118. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -4
  119. package/dist/components/BbRating/BbRating.vue.d.ts +1 -1
  120. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +100 -99
  121. package/dist/components/BbSelect/BbSelect.vue.d.ts +30 -20
  122. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +201 -184
  123. package/dist/components/BbSelect/ptKeys.generated.d.ts +128 -96
  124. package/dist/components/BbSelect/types.d.ts +101 -105
  125. package/dist/components/BbSelect/types.js +1 -27
  126. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +6 -3
  127. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +617 -585
  128. package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +22 -10
  129. package/dist/components/BbSelectPopover/types.d.ts +22 -13
  130. package/dist/components/BbSelectPopover/types.js +3 -1
  131. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
  132. package/dist/components/BbTable/BbTable.vue.d.ts +1 -1
  133. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1092 -1090
  134. package/dist/components/BbTable/BbTableDataRow.js +97 -90
  135. package/dist/components/BbTabs/BbTabs.vue.d.ts +3 -3
  136. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +2 -2
  137. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +2 -2
  138. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +225 -224
  139. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +76 -75
  140. package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +9 -8
  141. package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
  142. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +9 -7
  143. package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  144. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +69 -68
  145. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +166 -165
  146. package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  147. package/dist/composables/useInternalIcon.js +25 -0
  148. package/dist/icon-scan.d.ts +1 -1
  149. package/dist/llms-full.txt +477 -187
  150. package/dist/llms-medium.txt +25 -24
  151. package/dist/llms.txt +1 -1
  152. package/dist/nuxt.js +1 -1
  153. package/dist/styles.css +2 -2
  154. package/dist/types/Config.d.ts +8 -1
  155. package/dist/types/ConfigDefaults.d.ts +10 -2
  156. package/dist/types/internalIcons.d.ts +89 -0
  157. package/dist/types/internalIcons.js +158 -0
  158. package/dist/types/ptComponentMap.d.ts +4 -4
  159. package/dist/utils/configDefaults.js +75 -64
  160. package/dist/utils/iconsOption.js +48 -0
  161. package/dist/utils/versionCheck.js +1 -1
  162. package/dist/vite-plugin.d.ts +10 -16
  163. package/dist/vite.js +319 -306
  164. package/llms.txt +1 -1
  165. package/package.json +1 -1
  166. package/scripts/lib/adoption-checklist.json +1 -1
  167. package/scripts/lib/update-install.mjs +48 -0
  168. package/scripts/lib/validate-bb-markup.mjs +73 -12
  169. package/dist/assets/svgs/caret_down.svg_raw.js +0 -3
@@ -1008,64 +1008,64 @@ _Passthrough parts and states_ table in that component's contract
1008
1008
  (`<Component>.md`, or the `pt` field of `manifest/components/<Component>.json` / MCP
1009
1009
  `get_component`).
1010
1010
 
1011
- | component | parts | states |
1012
- | -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1013
- | `BbAccordion` | `root`, `header`, `title`, `icon`, `panel` | `disabled`, `open` |
1014
- | `BbAlert` | `root`, `icon`, `title`, `text`, `close` | —; _(variants, every part: `outline`, `primary`, `destructive`, `warning`)_ |
1015
- | `BbAsterisk` | `root` | — |
1016
- | `BbAvatar` | `root`, `icon`, `initials` | — |
1017
- | `BbBadge` | `root`, `icon`, `spinner`, `text`, `clear` | `activeLink`, `exactActiveLink` _(from its link body)_, `loading`; _(variants, every part: `primary`, `secondary`, `destructive`, `outline`)_ |
1018
- | `BbBaseButton` | `root` | `activeLink`, `exactActiveLink`, `disabled` |
1019
- | `BbBaseCheckboxIcon` | `root` | `errors`, `warnings`, `disabled`, `readonly`, `checked`, `indeterminate`, `focused`, `focusVisible` |
1020
- | `BbBaseRadioIcon` | `root` | `errors`, `warnings`, `disabled`, `readonly`, `checked`, `focused`, `focusVisible` |
1021
- | `BbBaseSwitchIcon` | `root` | `errors`, `warnings`, `disabled`, `readonly`, `checked`, `indeterminate`, `focused`, `focusVisible` |
1022
- | `BbBreadcrumbs` | `root`, `item`, `icon`, `text` | `active`, `disabled` _(per crumb)_ |
1023
- | `BbButton` | `root`, `icon`, `spinner`, `text` | `activeLink`, `exactActiveLink`, `loading`, `disabled`, `pressed`; _(variants, every part: `primary`, `outline`, `secondary`, `ghost`, `destructive`, `link`)_ |
1024
- | `BbCalendar` | `root`, `header`, `arrow`, `month`, `year`, `cellColumnHeader`, `week`, `weekNumber` _(`type="week"` rows)_, `day`, `dayButton`, `monthItem`, `yearItem`, `item` _(the time rail's entries)_ | `outside`, `today`, `inRange`, `selected`, `rangeStart`, `rangeEnd`, `disabled`, `highlighted` _(per cell)_, `active` _(month / year)_ |
1025
- | `BbCarousel` | `root`, `slide`, `image`, `thumb`, `overlay`, `prev`, `next`, `dots`, `dot`, `pause` | `active` _(slide, dot)_, `current` _(slide)_, `disabled` _(prev, next)_ |
1026
- | `BbCheckbox` | `root`, `label`, `description`, `message`, `hint`, `icon` | `errors`, `warnings`, `disabled`, `readonly`, `checked`, `indeterminate`, `focused`, `focusVisible` |
1027
- | `BbCheckboxGroup` | `root`, `legend`, `description`, `message`, `hint`, `list`, `item`, `icon`, `label`, `itemDescription`, `indicator` | `errors`, `warnings`, `disabled`, `readonly`, `loading`, `hasValue`; `checked`, `focused`, `focusVisible` _(row parts only)_; _(variants, on every part: `pill`, `line`, `outline`)_ |
1028
- | `BbCollapsible` | `root`, `content` | `open` |
1029
- | `BbColorInput` | family: `root`, `label`, `description`, `message`, `hint`, `box`, `input`, `icon`, `spinner`, `prefix`, `suffix`, `clear`, `indicator`, `panel`, `sheet`, `swatch` | family: `errors`, `warnings`, `loading`, `disabled`, `readonly`, `hasValue`, `open`; `selected` _(on the swatch only)_ |
1030
- | `BbColorPalette` | `root`, `panel`, `sheet`, `swatch` | `open`, `selected` _(per swatch)_ |
1031
- | `BbConfirm` | `root`, `sheet`, `header`, `title`, `content`, `footer`, `close` _(forwarded to its dialog)_, `text`, `action` | `open`, `fullscreen`; _(variants, every part, from the message: `default`, `destructive`)_ |
1032
- | `BbDatePicker` | `root`, `panel`, `sheet`, `header`, `arrow`, `month`, `year`, `cellColumnHeader`, `week`, `weekNumber` _(`type="week"` rows)_, `day`, `dayButton`, `monthItem`, `yearItem`, `item` _(forwarded to the calendar)_ | `outside`, `today`, `inRange`, `selected`, `rangeStart`, `rangeEnd`, `disabled`, `highlighted` _(per cell)_, `active` _(month / year)_, `open` |
1033
- | `BbDatePickerInput` | family + `activator`, `panel`, `sheet`, `header`, `arrow`, `month`, `year`, `cellColumnHeader`, `week`, `weekNumber` _(`type="week"` rows)_, `day`, `dayButton`, `monthItem`, `yearItem`, `item` _(forwarded to the calendar)_ | family + `open`, `outside`, `today`, `inRange`, `selected`, `rangeStart`, `rangeEnd`, `disabled`, `highlighted` _(per cell)_, `active` _(month / year)_ |
1034
- | `BbDialog` | `root`, `sheet`, `header`, `title`, `description`, `content`, `footer`, `close` | `open`, `fullscreen` |
1035
- | `BbDropdown` | `root`, `panel`, `sheet`, `header`, `footer`, `box` _(each search box)_, `input` _(every searchable group's field)_, `list`, `item`, `itemText`, `itemIcon`, `itemDescription`, `check` _(the tick)_, `submenu` _(each flyout box)_ | `open`, `activeLink`, `exactActiveLink`, `selected`, `disabled` _(per entry)_; _(variants, per entry, on the entry parts: `default`, `destructive`)_ |
1036
- | `BbDropdownButton` | `root`, `main`, `toggle` _(the two halves)_, `icon`, `spinner`, `text` _(the main button's)_, `panel`, `sheet`, `header`, `footer`, `box`, `input`, `list`, `item`, `itemText`, `itemIcon`, `itemDescription`, `check`, `submenu` _(the menu's)_ | `activeLink`, `exactActiveLink` _(the main button's link; per entry on the entry parts)_, `loading`, `disabled`, `open`; `selected` _(entry parts only)_; _(variants: the button's on the control's parts — root, main, toggle, icon, spinner, text: `primary`, `outline`, `secondary`, `ghost`, `destructive`, `link`; each entry's on the entry parts: `default`, `destructive`)_ |
1037
- | `BbDropzone` | `root`, `content`, `message` | `active`, `errors`, `warnings`, `disabled`, `readonly` |
1038
- | `BbGallery` | `root`, `header`, `title`, `close`, `slide` _(per photo)_, `image` _(per photo)_, `prev`, `next`, `footer`, `caption`, `more`, `counter` | `disabled` _(per node)_, `active` _(per node)_, `zoomed` |
1039
- | `BbHoverCard` | `root`, `panel`, `header`, `content`, `footer` | `open` |
1040
- | `BbIcon` | `root` | — |
1041
- | `BbIndicator` | `root`, `bubble` | —; _(variants, every part: `default`, `success`, `info`, `warning`, `destructive`)_ |
1042
- | `BbNumberInput` | family | family |
1043
- | `BbOffCanvas` | `root`, `header`, `title`, `description`, `content`, `footer`, `close` | `open`, `fullscreen` |
1044
- | `BbPagination` | `root`, `item`, `arrow`, `ellipsis`, `icon` | `active` _(the current page)_, `disabled` _(per control)_ |
1045
- | `BbPopover` | `root`, `panel`, `sheet`, `header`, `content`, `footer` | `open` |
1046
- | `BbProgress` | `root`, `bar` | `indeterminate` |
1047
- | `BbRadio` | `root`, `label`, `description`, `message`, `hint`, `icon` | `errors`, `warnings`, `disabled`, `readonly`, `checked`, `focused`, `focusVisible` |
1048
- | `BbRadioGroup` | `root`, `legend`, `description`, `message`, `hint`, `list`, `item`, `icon`, `label`, `itemDescription`, `indicator` | `errors`, `warnings`, `disabled`, `readonly`, `loading`, `hasValue`; `checked`, `focused`, `focusVisible` _(row parts only)_; _(variants, on every part: `pill`, `line`, `outline`)_ |
1049
- | `BbRating` | `root`, `legend`, `description`, `message`, `hint`, `item` | `errors`, `warnings`, `disabled`, `readonly`, `hasValue`, `selected` _(per star)_ |
1050
- | `BbSelect` | `root`, `label`, `description`, `message`, `hint`, `box`, `activator`, `icon`, `spinner`, `prefix`, `suffix`, `clear`, `panel`, `sheet`, `header`, `footer`, `input` _(the search field)_, `list`, `option`, `itemText`, `itemIcon`, `itemDescription`, `check` _(forwarded to the popover)_, `badge`, `comma` _(each selected value)_ | family + `open`, `selected` _(per option)_ |
1051
- | `BbSelectPopover` | `root`, `panel`, `sheet`, `input`, `clear`, `list`, `option`, `itemText`, `itemIcon`, `itemDescription`, `check` _(the tick)_, `header`, `footer` | `open`, `selected`, `disabled` _(per option)_ |
1052
- | `BbSlider` | `root`, `label`, `description`, `message`, `hint`, `box`, `track`, `bar`, `ticks`, `tick`, `thumb` | `errors`, `warnings`, `disabled`, `readonly`, `hasValue`, `active`, `inRange` _(per tick)_ |
1053
- | `BbSmoothHeight` | `root` | — |
1054
- | `BbSpinner` | `root` | — |
1055
- | `BbSwitch` | `root`, `label`, `description`, `message`, `hint`, `icon` | `errors`, `warnings`, `disabled`, `readonly`, `checked`, `indeterminate`, `focused`, `focusVisible` |
1056
- | `BbSwitchGroup` | `root`, `legend`, `description`, `message`, `hint`, `list`, `item`, `icon`, `label`, `itemDescription` | `errors`, `warnings`, `disabled`, `readonly`, `loading`, `hasValue`; `checked`, `focused`, `focusVisible` _(row parts only)_ |
1057
- | `BbTable` | `root`, `caption`, `table`, `head`, `headerRow`, `cellColumnHeader`, `sortIcon`, `body`, `row`, `cell`, `expand`, `firstRow`, `lastRow`, `selectIcon`, `dragIcon`, `dragHandle`, `foot` | `loading`, `empty`; `sorted`, `sortedDesc` _(per header)_; `selected`, `highlighted`, `expanded`, `disabled` _(per row)_; `indeterminate` _(select-all)_; `value`, `placeholder` _(per data cell)_ |
1058
- | `BbTabs` | `root`, `wrapper`, `list`, `item`, `indicator`, `panels`, `panel` | `disabled`; `active`, `disabled` _(per tab)_; _(variants, on the strip's parts — wrapper, list, item, indicator: `pill`, `line`, `none`)_ |
1059
- | `BbTabsList` | `root` _(BbTabs’s wrapper)_, `list`, `item`, `indicator` | `disabled`; `active`, `disabled` _(per tab)_; _(variants, every part: `pill`, `line`, `none`)_ |
1060
- | `BbTabsPanels` | `root` _(BbTabs’s panels)_, `panel` | `disabled`; `active` _(per panel)_ |
1061
- | `BbTag` | family + `badge`, `comma` _(one tag)_ | family; `highlighted` _(per tag)_ |
1062
- | `BbTextarea` | family + `counter` | family + `nearLimit`, `atLimit` _(with the counter on)_ |
1063
- | `BbTextInput` | family + `counter` | family + `nearLimit`, `atLimit` _(with the counter on)_ |
1064
- | `BbTimePicker` | `root`, `panel`, `sheet`, `header`, `cellColumnHeader`, `item` | `open`, `disabled`; `selected`, `disabled` _(per entry)_ |
1065
- | `BbTimePickerInput` | family + `activator`, `panel`, `sheet`, `header`, `cellColumnHeader`, `item` | family + `open`, `selected`, `disabled` _(per entry)_ |
1066
- | `BbToast` | `root` _(a region)_, `panel` _(a card)_, `icon`, `content`, `title`, `text`, `footer`, `action`, `close` | `loading` _(per toast)_; _(variants, per toast, on the card parts: `default`, `success`, `info`, `warning`, `destructive`)_ |
1067
- | `BbTooltip` | `root`, `panel` | `open`; _(variants, every part: `default`, `destructive`)_ |
1068
- | `BbTree` | `root`, `item` | `expanded` _(per node)_ |
1011
+ | component | parts | states |
1012
+ | -------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
1013
+ | `BbAccordion` | `root`, `header`, `title`, `icon`, `panel` | `disabled`, `open` |
1014
+ | `BbAlert` | `root`, `icon`, `title`, `text`, `close` | —; _(variants, every part: `outline`, `primary`, `destructive`, `warning`)_ |
1015
+ | `BbAsterisk` | `root` | — |
1016
+ | `BbAvatar` | `root`, `icon`, `initials` | — |
1017
+ | `BbBadge` | `root`, `icon`, `spinner`, `text`, `clear` | `activeLink`, `exactActiveLink` _(from its link body)_, `loading`; _(variants, every part: `primary`, `secondary`, `destructive`, `outline`)_ |
1018
+ | `BbBaseButton` | `root` | `activeLink`, `exactActiveLink`, `disabled` |
1019
+ | `BbBaseCheckboxIcon` | `root` | `errors`, `warnings`, `disabled`, `readonly`, `checked`, `indeterminate`, `focused`, `focusVisible` |
1020
+ | `BbBaseRadioIcon` | `root` | `errors`, `warnings`, `disabled`, `readonly`, `checked`, `focused`, `focusVisible` |
1021
+ | `BbBaseSwitchIcon` | `root` | `errors`, `warnings`, `disabled`, `readonly`, `checked`, `indeterminate`, `focused`, `focusVisible` |
1022
+ | `BbBreadcrumbs` | `root`, `item`, `icon`, `text` | `active`, `disabled` _(per crumb)_ |
1023
+ | `BbButton` | `root`, `icon`, `spinner`, `text` | `activeLink`, `exactActiveLink`, `loading`, `disabled`, `pressed`; _(variants, every part: `primary`, `outline`, `secondary`, `ghost`, `destructive`, `link`)_ |
1024
+ | `BbCalendar` | `root`, `header`, `arrow`, `month`, `year`, `cellColumnHeader`, `week`, `weekNumber` _(`type="week"` rows)_, `day`, `dayButton`, `monthItem`, `yearItem`, `item` _(the time rail's entries)_ | `outside`, `today`, `inRange`, `selected`, `rangeStart`, `rangeEnd`, `disabled`, `highlighted` _(per cell)_, `active` _(month / year)_ |
1025
+ | `BbCarousel` | `root`, `slide`, `image`, `thumb`, `overlay`, `prev`, `next`, `dots`, `dot`, `pause` | `active` _(slide, dot)_, `current` _(slide)_, `disabled` _(prev, next)_ |
1026
+ | `BbCheckbox` | `root`, `label`, `description`, `message`, `hint`, `icon` | `errors`, `warnings`, `disabled`, `readonly`, `checked`, `indeterminate`, `focused`, `focusVisible` |
1027
+ | `BbCheckboxGroup` | `root`, `legend`, `description`, `message`, `hint`, `list`, `item`, `icon`, `label`, `itemDescription`, `indicator` | `errors`, `warnings`, `disabled`, `readonly`, `loading`, `hasValue`; `checked`, `focused`, `focusVisible` _(row parts only)_; _(variants, on every part: `pill`, `line`, `outline`)_ |
1028
+ | `BbCollapsible` | `root`, `content` | `open` |
1029
+ | `BbColorInput` | family: `root`, `label`, `description`, `message`, `hint`, `box`, `input`, `icon`, `spinner`, `prefix`, `suffix`, `clear`, `indicator`, `panel`, `sheet`, `swatch` | family: `errors`, `warnings`, `loading`, `disabled`, `readonly`, `hasValue`, `open`; `selected` _(on the swatch only)_ |
1030
+ | `BbColorPalette` | `root`, `panel`, `sheet`, `swatch` | `open`, `selected` _(per swatch)_ |
1031
+ | `BbConfirm` | `root`, `sheet`, `header`, `title`, `content`, `footer`, `close` _(forwarded to its dialog)_, `text`, `action` | `open`, `fullscreen`; _(variants, every part, from the message: `default`, `destructive`)_ |
1032
+ | `BbDatePicker` | `root`, `panel`, `sheet`, `header`, `arrow`, `month`, `year`, `cellColumnHeader`, `week`, `weekNumber` _(`type="week"` rows)_, `day`, `dayButton`, `monthItem`, `yearItem`, `item` _(forwarded to the calendar)_ | `outside`, `today`, `inRange`, `selected`, `rangeStart`, `rangeEnd`, `disabled`, `highlighted` _(per cell)_, `active` _(month / year)_, `open` |
1033
+ | `BbDatePickerInput` | family + `activator`, `panel`, `sheet`, `header`, `arrow`, `month`, `year`, `cellColumnHeader`, `week`, `weekNumber` _(`type="week"` rows)_, `day`, `dayButton`, `monthItem`, `yearItem`, `item` _(forwarded to the calendar)_ | family + `open`, `outside`, `today`, `inRange`, `selected`, `rangeStart`, `rangeEnd`, `disabled`, `highlighted` _(per cell)_, `active` _(month / year)_ |
1034
+ | `BbDialog` | `root`, `sheet`, `header`, `title`, `description`, `content`, `footer`, `close` | `open`, `fullscreen` |
1035
+ | `BbDropdown` | `root`, `panel`, `sheet`, `header`, `footer`, `box` _(each search box)_, `input` _(every searchable group's field)_, `list`, `groupLabel` _(each group's label)_, `groupHeader` _(each group-by heading)_, `item`, `itemText`, `itemIcon`, `itemDescription`, `check` _(the tick)_, `submenu` _(each flyout box)_ | `open`, `activeLink`, `exactActiveLink`, `selected`, `disabled` _(per entry)_; _(variants, per entry, on the entry parts: `default`, `destructive`)_ |
1036
+ | `BbDropdownButton` | `root`, `main`, `toggle` _(the two halves)_, `icon`, `spinner`, `text` _(the main button's)_, `panel`, `sheet`, `header`, `footer`, `box`, `input`, `list`, `groupLabel`, `groupHeader`, `item`, `itemText`, `itemIcon`, `itemDescription`, `check`, `submenu` _(the menu's)_ | `activeLink`, `exactActiveLink` _(the main button's link; per entry on the entry parts)_, `loading`, `disabled`, `open`; `selected` _(entry parts only)_; _(variants: the button's on the control's parts — root, main, toggle, icon, spinner, text: `primary`, `outline`, `secondary`, `ghost`, `destructive`, `link`; each entry's on the entry parts: `default`, `destructive`)_ |
1037
+ | `BbDropzone` | `root`, `content`, `message` | `active`, `errors`, `warnings`, `disabled`, `readonly` |
1038
+ | `BbGallery` | `root`, `header`, `title`, `close`, `slide` _(per photo)_, `image` _(per photo)_, `prev`, `next`, `footer`, `caption`, `more`, `counter` | `disabled` _(per node)_, `active` _(per node)_, `zoomed` |
1039
+ | `BbHoverCard` | `root`, `panel`, `header`, `content`, `footer` | `open` |
1040
+ | `BbIcon` | `root` | — |
1041
+ | `BbIndicator` | `root`, `bubble` | —; _(variants, every part: `default`, `success`, `info`, `warning`, `destructive`)_ |
1042
+ | `BbNumberInput` | family | family |
1043
+ | `BbOffCanvas` | `root`, `header`, `title`, `description`, `content`, `footer`, `close` | `open`, `fullscreen` |
1044
+ | `BbPagination` | `root`, `item`, `arrow`, `ellipsis`, `icon` | `active` _(the current page)_, `disabled` _(per control)_ |
1045
+ | `BbPopover` | `root`, `panel`, `sheet`, `header`, `content`, `footer` | `open` |
1046
+ | `BbProgress` | `root`, `bar` | `indeterminate` |
1047
+ | `BbRadio` | `root`, `label`, `description`, `message`, `hint`, `icon` | `errors`, `warnings`, `disabled`, `readonly`, `checked`, `focused`, `focusVisible` |
1048
+ | `BbRadioGroup` | `root`, `legend`, `description`, `message`, `hint`, `list`, `item`, `icon`, `label`, `itemDescription`, `indicator` | `errors`, `warnings`, `disabled`, `readonly`, `loading`, `hasValue`; `checked`, `focused`, `focusVisible` _(row parts only)_; _(variants, on every part: `pill`, `line`, `outline`)_ |
1049
+ | `BbRating` | `root`, `legend`, `description`, `message`, `hint`, `item` | `errors`, `warnings`, `disabled`, `readonly`, `hasValue`, `selected` _(per star)_ |
1050
+ | `BbSelect` | `root`, `label`, `description`, `message`, `hint`, `box`, `activator`, `icon`, `spinner`, `prefix`, `suffix`, `clear`, `panel`, `sheet`, `header`, `footer`, `input` _(the search field)_, `list`, `groupHeader`, `option`, `itemText`, `itemIcon`, `itemDescription`, `check` _(forwarded to the popover)_, `badge`, `comma` _(each selected value)_ | family + `open`, `selected` _(per option)_ |
1051
+ | `BbSelectPopover` | `root`, `panel`, `sheet`, `input`, `clear`, `list`, `groupHeader` _(each group-by heading)_, `option`, `itemText`, `itemIcon`, `itemDescription`, `check` _(the tick)_, `header`, `footer` | `open`, `selected`, `disabled` _(per option)_ |
1052
+ | `BbSlider` | `root`, `label`, `description`, `message`, `hint`, `box`, `track`, `bar`, `ticks`, `tick`, `thumb` | `errors`, `warnings`, `disabled`, `readonly`, `hasValue`, `active`, `inRange` _(per tick)_ |
1053
+ | `BbSmoothHeight` | `root` | — |
1054
+ | `BbSpinner` | `root` | — |
1055
+ | `BbSwitch` | `root`, `label`, `description`, `message`, `hint`, `icon` | `errors`, `warnings`, `disabled`, `readonly`, `checked`, `indeterminate`, `focused`, `focusVisible` |
1056
+ | `BbSwitchGroup` | `root`, `legend`, `description`, `message`, `hint`, `list`, `item`, `icon`, `label`, `itemDescription` | `errors`, `warnings`, `disabled`, `readonly`, `loading`, `hasValue`; `checked`, `focused`, `focusVisible` _(row parts only)_ |
1057
+ | `BbTable` | `root`, `caption`, `table`, `head`, `headerRow`, `cellColumnHeader`, `sortIcon`, `body`, `row`, `cell`, `expand`, `firstRow`, `lastRow`, `selectIcon`, `dragIcon`, `dragHandle`, `foot` | `loading`, `empty`; `sorted`, `sortedDesc` _(per header)_; `selected`, `highlighted`, `expanded`, `disabled` _(per row)_; `indeterminate` _(select-all)_; `value`, `placeholder` _(per data cell)_ |
1058
+ | `BbTabs` | `root`, `wrapper`, `list`, `item`, `indicator`, `panels`, `panel` | `disabled`; `active`, `disabled` _(per tab)_; _(variants, on the strip's parts — wrapper, list, item, indicator: `pill`, `line`, `none`)_ |
1059
+ | `BbTabsList` | `root` _(BbTabs’s wrapper)_, `list`, `item`, `indicator` | `disabled`; `active`, `disabled` _(per tab)_; _(variants, every part: `pill`, `line`, `none`)_ |
1060
+ | `BbTabsPanels` | `root` _(BbTabs’s panels)_, `panel` | `disabled`; `active` _(per panel)_ |
1061
+ | `BbTag` | family + `badge`, `comma` _(one tag)_ | family; `highlighted` _(per tag)_ |
1062
+ | `BbTextarea` | family + `counter` | family + `nearLimit`, `atLimit` _(with the counter on)_ |
1063
+ | `BbTextInput` | family + `counter` | family + `nearLimit`, `atLimit` _(with the counter on)_ |
1064
+ | `BbTimePicker` | `root`, `panel`, `sheet`, `header`, `cellColumnHeader`, `item` | `open`, `disabled`; `selected`, `disabled` _(per entry)_ |
1065
+ | `BbTimePickerInput` | family + `activator`, `panel`, `sheet`, `header`, `cellColumnHeader`, `item` | family + `open`, `selected`, `disabled` _(per entry)_ |
1066
+ | `BbToast` | `root` _(a region)_, `panel` _(a card)_, `icon`, `content`, `title`, `text`, `footer`, `action`, `close` | `loading` _(per toast)_; _(variants, per toast, on the card parts: `default`, `success`, `info`, `warning`, `destructive`)_ |
1067
+ | `BbTooltip` | `root`, `panel` | `open`; _(variants, every part: `default`, `destructive`)_ |
1068
+ | `BbTree` | `root`, `item` | `expanded` _(per node)_ |
1069
1069
 
1070
1070
  _family_ = the text-like form-control vocabulary: parts `root`, `label`,
1071
1071
  `description`, `message`, `hint`, `box`, `input`, `icon`, `spinner` (the box's
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schema": 1,
3
- "version": "3.0.0-beta.75",
3
+ "version": "3.0.0-beta.76",
4
4
  "canon": "bb-canon/2",
5
5
  "folder": "inertia-helpers",
6
6
  "helpers": {
@@ -13,7 +13,7 @@
13
13
  {"to":"BbOffCanvas","mapping":"{ root: 'root', header: 'header', title: 'title', description: 'description', content: 'content', footer: 'footer', close: 'close', sheet: 'root', }"}
14
14
  ],
15
15
  "nodes": [
16
- {"name":"CloseButton","kind":"internal","cssProps":[{"name":"--size","documented":true,"readBy":["bb-close-button"]},{"name":"--p","documented":true,"readBy":["bb-close-button"]},{"name":"--icon-size","documented":true},{"name":"--ring-t","documented":false,"readBy":["bb-close-button"]}],"children":[{"name":"BbIcon","kind":"public"}]},
16
+ {"name":"CloseButton","kind":"internal","cssProps":[{"name":"--size","documented":true,"readBy":["bb-close-button"]},{"name":"--p","documented":true,"readBy":["bb-close-button"]},{"name":"--icon-size","documented":true,"readBy":["bb-close-button"]},{"name":"--icon-inset","documented":true},{"name":"--ring-t","documented":false,"readBy":["bb-close-button"]}],"children":[{"name":"BbIcon","kind":"public"}]},
17
17
  {"name":"BbOffCanvas","kind":"public"}
18
18
  ]
19
19
  },
@@ -8,13 +8,13 @@
8
8
  "source": "ai/source/BbDropdown.md",
9
9
  "props": [
10
10
  {"name":"activator","type":"ElementOrComponentRef","description":"An external activator (element or component ref): the slot isn't rendered; the listeners and ARIA (`aria-haspopup` / `aria-expanded` / `aria-controls`) go on it, so don't add your own."},
11
- {"name":"adaptive","type":"boolean","default":"`all.adaptive` (`true`)","description":"On mobile (below `config.mobileMaxWidth`), renders the menu as a bottom sheet that drills into submenus one level at a time instead of hover flyouts; slots and selection are unchanged. Unset: the global `all.adaptive`."},
11
+ {"name":"adaptive","type":"boolean","default":"`all.adaptive` (`true`)","description":"On mobile (below `config.mobileMaxWidth`), the menu is a bottom sheet drilling into submenus a level at a time, not hover flyouts; slots and selection unchanged. Unset: the global `all.adaptive`."},
12
12
  {"name":"anchor","type":"ElementOrComponentRef | VirtualAnchor","default":"the activator element","description":"What the panel positions against instead of the activator (e.g. a wrapper around it): an element, a component ref or a virtual box. It also sets a percentage `width`. Ignored with `placement=\"cursor\"`."},
13
- {"name":"boundary","type":"string | ElementOrComponentRef","description":"Keeps the panel inside this element beside its trigger (sideways under a menu); away from it only the viewport flips it. An element, component ref or CSS selector (a `useTemplateRef`, not `$refs.x`). Default in a `BbTable`: the table's left and right edges."},
14
- {"name":"closeOnSelect","type":"boolean","default":"unset (close after a single-choice change)","description":"Whether a selection closes the menu. Unset: a change in a single-choice group closes it (an untick too, at any depth); a `multiple` group stays open. `true`: every selection change closes it. `false`: none does."},
15
- {"name":"compact","type":"boolean","default":"undefined","description":"Compact density, the `BbSelect` ladder: flyout rows 28px → 24px, sheet rows 44px → 36px (a sheet row stays a touch target). The label size does not change."},
13
+ {"name":"boundary","type":"string | ElementOrComponentRef","description":"Keeps the panel inside this element beside its trigger (sideways under a menu); away from it only the viewport flips it. An element, component ref or CSS selector (a `useTemplateRef`, not `$refs.x`). In a `BbTable`: its left and right edges."},
14
+ {"name":"closeOnSelect","type":"boolean","default":"unset (close after a single-choice change)","description":"Whether a selection closes the menu. Unset: a single-choice group's change closes it (an untick too, any depth), a `multiple` group stays open. `true`: every change closes it; `false`: none."},
15
+ {"name":"compact","type":"boolean","default":"undefined","description":"Compact density, the `BbSelect` ladder: flyout rows 28 → 24px, sheet rows 44 → 36px (still a touch target). The label size stays."},
16
16
  {"name":"disabled","type":"boolean","default":"false","description":"Disables the component"},
17
- {"name":"eager","type":"boolean","default":"false","description":"Renders the menu panel at mount instead of on the first open (the phone sheet's too), and keeps its rows after a close. Without it the rows mount on each open and go once the menu has closed."},
17
+ {"name":"eager","type":"boolean","default":"false","description":"Renders the panel (the phone sheet's too) at mount, not on the first open, and keeps its rows after a close; otherwise rows mount on each open and go after the close."},
18
18
  {"name":"emptyText","type":"string","description":"A pipeline group's no-items row; its own `emptyText` wins. Default: `common.emptyText`."},
19
19
  {"name":"enforceCoherence","type":"boolean","default":"false","description":"Default for pipeline groups: drop selections that are no longer present in a group's current items (e.g. after a `dependencies` re-fetch) from the selection and `v-model`. A group's own `enforceCoherence` overrides this."},
20
20
  {"name":"failedText","type":"string","description":"A pipeline group's failed-load row (its getter threw); its own `failedText` wins. Default: `common.failedText`."},
@@ -27,16 +27,16 @@
27
27
  {"name":"offset","common":true},
28
28
  {"name":"padding","common":true},
29
29
  {"name":"placement","type":"\"cursor\" | Placement","default":"\"bottom\"","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","cursor"],"description":"Position relative to the activator; `'cursor'` anchors at the mouse/touch point. No arrow (tooltips only)."},
30
- {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"header\", \"footer\", \"box\", \"input\", \"list\", \"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"submenu\"]; readonly states: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\", \"open\"]; readonly wide: readonly [\"open\"]; readonly node: { readonly item: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemText: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemIcon: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemDescription: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly check: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; }; readonly variant: { readonly names: readonly [\"default\", \"destructive\"]; readonly option: \"dropdownItemVariants\"; readonly parts: readonly [\"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\"]; }; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; box?: PtValue | undefined; sheet?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"box:open\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"footer:open\"?: PtValue | undefined; \"item:open\"?: PtValue | undefined; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"submenu:open\"?: PtValue | undefined; \"item:activeLink\"?: PtValue | undefined; \"item:exactActiveLink\"?: PtValue | undefined; \"itemDescription:activeLink\"?: PtValue | undefined; \"itemDescription:exactActiveLink\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:activeLink\"?: PtValue | undefined; \"itemText:exactActiveLink\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:activeLink\"?: PtValue | undefined; \"itemIcon:exactActiveLink\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:activeLink\"?: PtValue | undefined; \"check:exactActiveLink\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"item:default\"?: PtValue | undefined; \"item:destructive\"?: PtValue | undefined; \"itemDescription:default\"?: PtValue | undefined; \"itemDescription:destructive\"?: PtValue | undefined; \"itemText:default\"?: PtValue | undefined; \"itemText:destructive\"?: PtValue | undefined; \"itemIcon:default\"?: PtValue | undefined; \"itemIcon:destructive\"?: PtValue | undefined; \"check:default\"?: PtValue | undefined; \"check:destructive\"?: PtValue | undefined; } & { item?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemDescription?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemText?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemIcon?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; check?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; submenu?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
30
+ {"name":"pt","type":"(PtCompoundOf<\"\", { readonly parts: readonly [\"root\", \"panel\", \"sheet\", \"header\", \"footer\", \"box\", \"input\", \"list\", \"groupLabel\", \"groupHeader\", \"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\", \"submenu\"]; readonly states: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\", \"open\"]; readonly wide: readonly [\"open\"]; readonly node: { readonly item: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemText: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemIcon: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly itemDescription: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; readonly check: readonly [\"activeLink\", \"exactActiveLink\", \"selected\", \"disabled\"]; }; readonly variant: { readonly names: readonly [\"default\", \"destructive\"]; readonly option: \"dropdownItemVariants\"; readonly parts: readonly [\"item\", \"itemText\", \"itemIcon\", \"itemDescription\", \"check\"]; }; }> & { footer?: PtValue | undefined; header?: PtValue | undefined; input?: PtValue | undefined; list?: PtValue | undefined; root?: PtValue | undefined; panel?: PtValue | undefined; \"header:open\"?: PtValue | undefined; \"root:open\"?: PtValue | undefined; \"panel:open\"?: PtValue | undefined; \"item:disabled\"?: PtValue | undefined; \"item:selected\"?: PtValue | undefined; \"itemDescription:disabled\"?: PtValue | undefined; box?: PtValue | undefined; sheet?: PtValue | undefined; \"input:open\"?: PtValue | undefined; \"box:open\"?: PtValue | undefined; \"sheet:open\"?: PtValue | undefined; \"footer:open\"?: PtValue | undefined; \"item:open\"?: PtValue | undefined; groupLabel?: PtValue | undefined; groupHeader?: PtValue | undefined; \"list:open\"?: PtValue | undefined; \"itemDescription:open\"?: PtValue | undefined; \"itemText:open\"?: PtValue | undefined; \"groupLabel:open\"?: PtValue | undefined; \"groupHeader:open\"?: PtValue | undefined; \"itemIcon:open\"?: PtValue | undefined; \"check:open\"?: PtValue | undefined; \"submenu:open\"?: PtValue | undefined; \"item:activeLink\"?: PtValue | undefined; \"item:exactActiveLink\"?: PtValue | undefined; \"itemDescription:activeLink\"?: PtValue | undefined; \"itemDescription:exactActiveLink\"?: PtValue | undefined; \"itemDescription:selected\"?: PtValue | undefined; \"itemText:disabled\"?: PtValue | undefined; \"itemText:activeLink\"?: PtValue | undefined; \"itemText:exactActiveLink\"?: PtValue | undefined; \"itemText:selected\"?: PtValue | undefined; \"itemIcon:disabled\"?: PtValue | undefined; \"itemIcon:activeLink\"?: PtValue | undefined; \"itemIcon:exactActiveLink\"?: PtValue | undefined; \"itemIcon:selected\"?: PtValue | undefined; \"check:disabled\"?: PtValue | undefined; \"check:activeLink\"?: PtValue | undefined; \"check:exactActiveLink\"?: PtValue | undefined; \"check:selected\"?: PtValue | undefined; \"item:default\"?: PtValue | undefined; \"item:destructive\"?: PtValue | undefined; \"itemDescription:default\"?: PtValue | undefined; \"itemDescription:destructive\"?: PtValue | undefined; \"itemText:default\"?: PtValue | undefined; \"itemText:destructive\"?: PtValue | undefined; \"itemIcon:default\"?: PtValue | undefined; \"itemIcon:destructive\"?: PtValue | undefined; \"check:default\"?: PtValue | undefined; \"check:destructive\"?: PtValue | undefined; } & { item?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemDescription?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemText?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; itemIcon?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; check?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; submenu?: PtValue | PtItemFn<InternalItem, BbDropdownPtState, \"default\" | \"destructive\", { readonly item: InternalItem; }> | undefined; })","description":"Passthrough, object form: the same keys as the `pt:*` attributes without the prefix. See the `pt:<part>` row."},
31
31
  {"name":"queryDebounceTime","type":"number","default":"300","description":"Debounce (ms) applied to the async re-fetch a `searchable` group fires as the user types. Applies to every searchable group in the menu."},
32
- {"name":"transitionDuration","type":"number","default":"150","description":"The open / close transition in milliseconds. Menus take the fast one (150), not the popovers' medium 250: a menu is picked from and gone, so it answers faster than a panel you read or edit in."},
33
- {"name":"trigger","type":"DropdownTrigger | DropdownTrigger[]","default":"\"click\"","description":"Interaction(s) that open the dropdown. Accepts a single trigger or an array to combine them.\n- `'click'` — left-click / tap (default)\n- `'contextMenu'` — right-click on desktop, long-press on mobile"},
32
+ {"name":"transitionDuration","type":"number","default":"150","description":"The open / close transition (ms). Menus take the fast 150, not the popovers' 250: a menu is picked from and gone, quicker than a panel you read or edit."},
33
+ {"name":"trigger","type":"DropdownTrigger | DropdownTrigger[]","default":"\"click\"","description":"What opens the menu, one or an array: `'click'` (left-click / tap) or `'contextMenu'` (right-click; long-press on mobile)."},
34
34
  {"name":"width","type":"string | number","default":"\"auto\"","description":"Width of the dropdown in pixels, percentage, or 'auto' to fit content."}
35
35
  ],
36
36
  "events": [
37
37
  {"name":"hidden","signature":"(): void","description":"Emitted once the menu has finished closing."},
38
38
  {"name":"hide","signature":"(): void","description":"Emitted as soon as the menu starts to close."},
39
- {"name":"item:selected","signature":"(value: any): void","description":"The user selected a row in a selectable group, at the click — also when a controlled companion's app then refuses the value. The payload is the row's value (its `item-value` for pipeline groups, else its `value`)."},
39
+ {"name":"item:selected","signature":"(value: any): void","description":"The user selected a row in a selectable group, at the click, even when a controlled companion's app then refuses it. Payload: the row's value (`item-value` for pipeline groups, else `value`)."},
40
40
  {"name":"item:unselected","signature":"(value: any): void","description":"The user unselected a row (a multiple toggle, a `clearable` re-click, a chip ×, or the old value a single pick replaces). Payload is the item's resolved value, matching `item:selected`."},
41
41
  {"name":"show","signature":"(): void","description":"Emitted as soon as the menu (the popover, or the sheet on a phone) starts to open."},
42
42
  {"name":"shown","signature":"(): void","description":"Emitted once the menu is open and its open transition has finished."},
@@ -45,11 +45,11 @@
45
45
  "slots": [
46
46
  {"name":"activator","type":"BbDropdownActivatorSlotProps","fields":["disabled?: boolean","empty: boolean","loading: boolean","open: boolean","placement: Placement | \"cursor\"","props: BbDropdownActivatorProps"],"description":"The element that triggers the dropdown to open. Spread `props` onto your trigger element."},
47
47
  {"name":"default","type":"any","description":"Hosts `<BbDropdownGroup>` companions. They register their group with the dropdown and render nothing themselves."},
48
- {"name":"empty","type":"BbDropdownPlaceholderSlotProps","fields":["groupId?: string","query: string","text: string"],"description":"Replaces the default \"no data\" placeholder row shown in a pipeline group that resolved to no items. Rendered once per empty group. A failed load is not empty: it keeps its own row (the error icon and `failedText`)."},
48
+ {"name":"empty","type":"BbDropdownPlaceholderSlotProps","fields":["groupId?: string","query: string","text: string"],"description":"Replaces the placeholder row of a pipeline group that resolved to no items, once per empty group. A failed load is not empty: it keeps its own row (error icon, `failedText`)."},
49
49
  {"name":"footer","type":"BbDropdownEdgeSlotProps","fields":["disabled?: boolean","open: boolean","placement: Placement | \"cursor\""],"description":"Pinned below the rows, outside their scroll, with a divider — for action buttons."},
50
50
  {"name":"group","type":"BbDropdownGroupSlotProps","fields":["text: string","item: unknown","index: number","length: number","disabled: boolean"],"description":"Every group's `groupBy` headings (`BbSelect`'s `#group` scope); `#<groupId>:group` beats it."},
51
51
  {"name":"header","type":"BbDropdownEdgeSlotProps","fields":["disabled?: boolean","open: boolean","placement: Placement | \"cursor\""],"description":"Pinned above the rows, outside their scroll, with a divider — for a title or a filter field."},
52
- {"name":"item:append","type":"BbDropdownItemSlotProps","fields":["description?: string","disabled?: boolean","group: BbDropdownSlotGroup","groupTitle: boolean","level: number","index: number","item: InternalItem","loading: boolean","open: boolean","placement: Placement | \"cursor\"","selected: boolean","label: string","activeLink?: boolean","exactActiveLink?: boolean"],"description":"The trailing region of every row (and group title line), replacing its `append:icon` wherever it renders. A named slot wins; the submenu chevron and the check on a selected row take its place."},
52
+ {"name":"item:append","type":"BbDropdownItemSlotProps","fields":["description?: string","disabled?: boolean","group: BbDropdownSlotGroup","groupTitle: boolean","level: number","index: number","item: InternalItem","loading: boolean","open: boolean","placement: Placement | \"cursor\"","selected: boolean","label: string","activeLink?: boolean","exactActiveLink?: boolean"],"description":"The trailing region of every row (and group label), replacing its `append:icon` wherever it renders. A named slot wins; a submenu chevron or a selected row's check takes its place."},
53
53
  {"name":"item:prepend","type":"BbDropdownItemSlotProps","fields":["description?: string","disabled?: boolean","group: BbDropdownSlotGroup","groupTitle: boolean","level: number","index: number","item: InternalItem","loading: boolean","open: boolean","placement: Placement | \"cursor\"","selected: boolean","label: string","activeLink?: boolean","exactActiveLink?: boolean"],"description":"The leading region of every row (and group title line), replacing its `prepend:icon` wherever it renders. A named slot wins."},
54
54
  {"name":"loading","type":"BbDropdownPlaceholderSlotProps","fields":["groupId?: string","query: string","text: string"],"description":"Replaces the default loading placeholder row shown in a pipeline group while its async items load. Rendered once per loading group."},
55
55
  {"name":"<value>","type":"BbDropdownItemSlotProps","description":"One row's content (label and description), by its value; in a fetched group, by its resolved `itemValue`.","dynamic":true},
@@ -69,23 +69,25 @@
69
69
  ],
70
70
  "pt": {
71
71
  "parts": [
72
- {"name":"root","description":"The floating element — an invisible positioning wrapper; a `class` on the component lands here. No node on the phone sheet: style what you see with `panel`.","states":["open"]},
72
+ {"name":"root","description":"The floating element, an invisible positioning wrapper; a `class` on the component lands here. No node on the phone sheet (style `panel` there).","states":["open"]},
73
73
  {"name":"panel","description":"The menu surface you see — the bordered flyout box on desktop, the sheet itself on a phone.","states":["open"]},
74
- {"name":"sheet","description":"The bottom sheet the menu becomes on a phone (the `BbOffCanvas` root) — never the desktop surface. Applied after `panel`, so it wins a conflict there.","states":["open"]},
74
+ {"name":"sheet","description":"The phone's bottom sheet (the `BbOffCanvas` root), never the desktop surface; applied after `panel`, so it wins a conflict.","states":["open"]},
75
75
  {"name":"header","description":"The menu's header band.","states":["open"]},
76
76
  {"name":"footer","description":"The menu's footer band.","states":["open"]},
77
77
  {"name":"box","description":"Every searchable group's search box (field and magnifier), as `box` on a field; desktop and phone.","states":["open"]},
78
- {"name":"input","description":"A searchable group's search field — a broadcast: it lands on every searchable group's field, desktop and phone alike. Its magnifier glyph is chrome.","states":["open"]},
79
- {"name":"list","description":"The top-level items container between the bands — the node that lays the entries out (a flex column with a 1px gap; on a phone, the sheet's items container). A submenu's list is not reached. Groups, headings and dividers are not parts.","states":["open"]},
78
+ {"name":"input","description":"Every searchable group's search field, desktop and phone alike. Its magnifier glyph is chrome.","states":["open"]},
79
+ {"name":"list","description":"The top-level entries' container between the bands (a flex column, 1px gap; on a phone, the sheet's). A submenu's list is not reached.","states":["open"]},
80
+ {"name":"groupLabel","description":"Every group's label row (its `label` and icons; the row an `onClick` group activates). `#<id>:label` replaces its content.","states":["open"]},
81
+ {"name":"groupHeader","description":"Every `groupBy` heading (sticky). `#group` / `#<id>:group` replace its content.","states":["open"]},
80
82
  {"name":"item","description":"One menu entry, submenus included — a broadcast resolved per entry. Also takes a per-item function, called with the entry.","rowType":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined"},
81
83
  {"name":"itemText","description":"An entry's label (its `label`) — resolved with that entry's states. A per-entry `#<value>` slot replaces it. Also takes a per-item function.","rowType":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined"},
82
84
  {"name":"itemIcon","description":"An entry's prepend / append icons — resolved with that entry's states. Also takes a per-item function.","rowType":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined"},
83
- {"name":"itemDescription","description":"An entry's muted second line (its `description`) — resolved with that entry's states. A per-entry `#<value>` slot replaces it. Also takes a per-item function.","rowType":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined"},
85
+ {"name":"itemDescription","description":"An entry's muted second line (its `description`), with the entry's states. A per-entry `#<value>` slot replaces it. Also takes a per-item function.","rowType":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined"},
84
86
  {"name":"check","description":"A checked entry's tick, outside the row slots: `pt:check=\"hidden\"` spares your own glyph. Also takes a per-item function.","rowType":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined"},
85
87
  {"name":"submenu","description":"Every submenu's flyout box (desktop only). Also takes a per-item function, called with the entry that opens it.","states":["open"],"rowType":"PtValue | ((ctx: PtItemCtx<InternalItem, BbDropdownPtState, \"default\" | \"destructive\">) => PtItemResult) | undefined"}
86
88
  ],
87
89
  "states": [
88
- {"name":"activeLink","description":"Per node, on the entry parts: an entry whose link (`to` / `href`) points at the current page or one of its ancestors — exactly when its `activeClass` is on. The weakest state."},
90
+ {"name":"activeLink","description":"Per node, on the entry parts: an entry whose link (`to` / `href`) is the current page or an ancestor (its `activeClass` is on). The weakest state."},
89
91
  {"name":"exactActiveLink","description":"Per node, on the entry parts: an entry whose link points at the current page itself — its `exactActiveClass` is on."},
90
92
  {"name":"selected","description":"Per node, on the entry parts: a selectable group's checked entry."},
91
93
  {"name":"disabled","description":"Per node, on the entry parts: an entry that is disabled."},
@@ -30,14 +30,16 @@
30
30
  "__failed",
31
31
  "__failed-text",
32
32
  "__footer",
33
+ "__group-header",
33
34
  "__group-items",
34
35
  "__group-items--capped",
35
36
  "__group-items--loading",
37
+ "__group-label",
38
+ "__group-label--variant-*",
39
+ "__group-label--variant-destructive",
36
40
  "__group-loading",
37
41
  "__group-search",
38
- "__group-title",
39
- "__group-title--variant-*",
40
- "__group-title--variant-destructive",
42
+ "__group-section",
41
43
  "__header",
42
44
  "__item",
43
45
  "__item--description",
@@ -62,8 +64,6 @@
62
64
  "__placeholder-icon",
63
65
  "__search-icon",
64
66
  "__search-input",
65
- "__section",
66
- "__section-title",
67
67
  "__sheet",
68
68
  "__sheet-chip",
69
69
  "__sheet-chips",
@@ -139,6 +139,8 @@
139
139
  {"class":"bb-dropdown__header","tag":"div","part":"header"},
140
140
  {"class":"bb-dropdown__footer","tag":"div","part":"footer"},
141
141
  {"class":"bb-dropdown__list","tag":"span","part":"list","reads":["--fs","--max-h","--menu-inset","--sheet-option-fs","--w"]},
142
+ {"class":"bb-dropdown__group-label","tag":"div","part":"groupLabel","reads":["--dialog-title-fs","--py","--sheet-option-fs"]},
143
+ {"class":"bb-dropdown__group-header","tag":"div","part":"groupHeader","reads":["--bg","--dialog-title-fs","--menu-inset","--py","--sheet-option-fs"]},
142
144
  {"class":"bb-dropdown__item","tag":"BbBaseButton","part":"item","reads":["--check-w","--icon-size","--sheet-row-h"]},
143
145
  {"class":"bb-dropdown__item-text","tag":"span","part":"itemText"},
144
146
  {"class":"bb-dropdown__item-icon","tag":"BbIcon","part":"itemIcon"},
@@ -171,10 +173,10 @@
171
173
  {"class":"bb-dropdown__group-items","tag":"div"},
172
174
  {"class":"bb-dropdown__group-items--capped","tag":"div"},
173
175
  {"class":"bb-dropdown__group-items--loading","tag":"div"},
176
+ {"class":"bb-dropdown__group-label--variant-destructive"},
174
177
  {"class":"bb-dropdown__group-loading","tag":"div"},
175
178
  {"class":"bb-dropdown__group-search","tag":"div","reads":["--bg","--menu-inset"]},
176
- {"class":"bb-dropdown__group-title","tag":"div","reads":["--dialog-title-fs","--py","--sheet-option-fs"]},
177
- {"class":"bb-dropdown__group-title--variant-destructive"},
179
+ {"class":"bb-dropdown__group-section"},
178
180
  {"class":"bb-dropdown__item--description","reads":["--sheet-row-h"]},
179
181
  {"class":"bb-dropdown__item--has-submenu"},
180
182
  {"class":"bb-dropdown__item--variant-destructive"},
@@ -189,8 +191,6 @@
189
191
  {"class":"bb-dropdown__placeholder-icon","tag":"ErrorIcon"},
190
192
  {"class":"bb-dropdown__search-icon","tag":"BbIcon"},
191
193
  {"class":"bb-dropdown__search-input","tag":"input"},
192
- {"class":"bb-dropdown__section"},
193
- {"class":"bb-dropdown__section-title","tag":"div","reads":["--bg","--menu-inset"]},
194
194
  {"class":"bb-dropdown__sheet-chip","tag":"BbBadge"},
195
195
  {"class":"bb-dropdown__sheet-chips","tag":"div"},
196
196
  {"class":"bb-dropdown__sheet-selection","tag":"div"},