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
@@ -27,6 +27,7 @@
27
27
  | `pt:itemText` | `span.bb-listbox__item-text` | `FlatListBox` _(internal)_ |
28
28
  | `pt:itemDescription` | `span.bb-listbox__item-description` | `FlatListBox` _(internal)_ |
29
29
  | `pt:check` | the root of `BbIcon` | `BbIcon` ([contract](./BbIcon.md)) |
30
+ | `pt:groupHeader` | `span.bb-listbox__group-header` | `GroupedListBox` _(internal)_ |
30
31
 
31
32
  **CSS variables you can set through those parts** — declared deeper in the tree, so set one on the part that reads it (`pt:<part>="[--name:value]"`), never on `BbSelectPopover`'s root:
32
33
 
@@ -580,7 +581,7 @@ but only on a host that can transfer the result — see
580
581
  Opening the panel is not a search, so it loads nothing; until the first query the
581
582
  list shows a _"search to begin"_ hint instead of "no data".
582
583
 
583
- `:min-query-length="3"` makes a shorter query (trimmed) count as empty: no
584
+ `:min-query-length="3"` makes a shorter query (characters after trimming; an emoji is one) count as empty: no
584
585
  `'search'` call and no filtering, the hint says "Type at least 3 characters",
585
586
  and Enter emits no `option:add`. Slots still get the typed `query`.
586
587
 
@@ -1655,6 +1656,104 @@ listener is only the initial state. An open from code is the same open a
1655
1656
  click makes (focus moves into the panel), and `disabled` / `readonly` refuse it (the ref is set back
1656
1657
  to `false`).
1657
1658
 
1659
+ ### Reading and restoring the search: `v-model:query`
1660
+
1661
+ `v-model:query` is the search field's text. Bound, your ref reads it and sets
1662
+ it:
1663
+
1664
+ - **It mirrors the field, raw.** Every committed keystroke is written back as
1665
+ typed, spaces included (an IME composition once, when it ends), and `''`
1666
+ whenever the component empties the field itself: closing, a pick that
1667
+ closes, `option:add` (Enter or the create row), the ✕.
1668
+ - **A write is a search the user didn't type.** It runs at once, without
1669
+ the debounce, and supersedes a scheduled or in-flight search (its late
1670
+ answer never lands). Written while closed, it is held for the next open:
1671
+ `query = 'Rossi'; open = true` sends one request, for "Rossi". A write
1672
+ never opens the panel or moves focus, and is never echoed back.
1673
+ - **A write that can't land writes `''` back:** no search field
1674
+ (`disable-writing`), `disabled`, `readonly`, a refused open.
1675
+ - Unbound, a static `:query` seeds the next open.
1676
+
1677
+ The case it is for: bring a search back. The create row hands the query to
1678
+ `option:add` and empties the field; if the user cancels the dialog, put the
1679
+ query back and reopen, and "Create «Rossi»" is there again:
1680
+
1681
+ ```vue
1682
+ <script setup lang="ts">
1683
+ import { ref } from 'vue';
1684
+ import { BbButton, BbSelectPopover, useBbDialog } from 'bitboss-ui';
1685
+ import CreatePersonDialog from './CreatePersonDialog.vue';
1686
+
1687
+ const person = ref<number | null>(null);
1688
+ const open = ref(false);
1689
+ const query = ref('');
1690
+ const createPerson = useBbDialog(CreatePersonDialog);
1691
+
1692
+ const onAdd = async (text: string) => {
1693
+ const result = await createPerson.show({ name: text });
1694
+ if (result.completed) return void (person.value = result.value.id);
1695
+ query.value = text;
1696
+ open.value = true;
1697
+ };
1698
+ </script>
1699
+
1700
+ <template>
1701
+ <BbSelectPopover
1702
+ v-model="person"
1703
+ v-model:open="open"
1704
+ v-model:query="query"
1705
+ item-text="name"
1706
+ item-value="id"
1707
+ :items="searchPeople"
1708
+ @option:add="onAdd"
1709
+ >
1710
+ <template #activator="{ props, text }">
1711
+ <BbButton v-bind="props">{{ text || 'Person' }}</BbButton>
1712
+ </template>
1713
+ </BbSelectPopover>
1714
+ </template>
1715
+ ```
1716
+
1717
+ #### The state matrix
1718
+
1719
+ What a write does in each state, what the component emits, and where focus
1720
+ is. Each row is a test in `BbSelectPopover.queryModel.test.ts`.
1721
+
1722
+ | State | An app write | Emits | Focus | Test |
1723
+ | ---------------------------------- | ------------------------------------------ | -------------------------------- | --------- | ---------------------------------------- |
1724
+ | Closed | held for the next open; nothing fetched | nothing | unmoved | closed: a write is held |
1725
+ | Opening, query first | the open searches it: one request, at once | nothing | the field | query then open in one tick |
1726
+ | Opening, open first | the same single request | nothing | the field | open then query in one tick |
1727
+ | Opened from code with a held query | the field reads it | nothing | the field | an open from code with a held query |
1728
+ | Search-first (`prefill: false`) | the held query is searched at open | nothing | the field | search-first |
1729
+ | Static items | filters at once, create row included | nothing | the field | static items |
1730
+ | Open, idle | searches at once, no debounce | nothing | unmoved | open and idle |
1731
+ | Open, any write | never moves focus | nothing | unmoved | a write never moves focus |
1732
+ | Equal to the query | nothing | nothing | unmoved | a write equal to the query |
1733
+ | Typing | — | each keystroke, raw | the field | typing |
1734
+ | Typing, then a write | replaces the field | nothing (not echoed) | the field | a write while typing |
1735
+ | The app rewrites in its handler | applied once, no loop | the typed text | the field | an app that rewrites the query |
1736
+ | Debounce pending | drops the scheduled search, searches now | nothing | unmoved | a write while … debounced |
1737
+ | Fetch in flight | aborts it; its late answer never lands | nothing | unmoved | a write while a fetch is in flight |
1738
+ | Below `min-query-length` | kept raw; no fetch; the hint shows | nothing | unmoved | below min-query-length |
1739
+ | `''` while searched | the empty-query load | nothing | unmoved | a write of '' while searched |
1740
+ | `#empty` | reads the same raw query | — | — | #empty reads the raw query |
1741
+ | Single pick | — (closes) | `''` | activator | a single pick |
1742
+ | Multiple pick | — (the query stays) | nothing | the field | a multiple pick |
1743
+ | `option:add` (Enter) | — | `''`, after the event | the field | option:add on Enter |
1744
+ | The create row | — | `''` | the field | the create row |
1745
+ | The ✕ | — | `''` | the field | the ✕ |
1746
+ | Flyout close | held for the next open | `''` | activator | a flyout close |
1747
+ | Phone sheet dismiss | survives the slide-out | `''` when the close begins | activator | a sheet dismiss |
1748
+ | Phone sheet open | opens on the held query | nothing | the sheet | the sheet opens on the held query |
1749
+ | No search field, open | refused | `''` back | unmoved | no search field: the write is refused |
1750
+ | No search field, held | dropped at open | `''` back | the panel | no search field: a held query is dropped |
1751
+ | Disabled | refused | `''` back | unmoved | disabled |
1752
+ | Read-only (open refused) | the held query is dropped | `''` back | unmoved | readonly |
1753
+ | Unbound | a static `:query` seeds the next open | — | — | unbound |
1754
+ | IME composing | — | nothing until it ends, then once | the field | nothing is emitted mid-composition |
1755
+ | IME, a write meanwhile | yields to the committed text | the committed text | the field | a write during composition |
1756
+
1658
1757
  ### Events and v-model
1659
1758
 
1660
1759
  - `update:modelValue` — the resolved value (single) or array (multiple), on pick,
@@ -1693,8 +1792,11 @@ to `false`).
1693
1792
  object form, a style and attributes — optionally only while a state is on.
1694
1793
  Parts: `root` (the floating element — an invisible positioning wrapper, no node on a phone), `panel` (the options surface you see: the popover's painted bubble on desktop, the sheet itself on a phone), `sheet` (the bottom sheet the surface becomes on a phone — only that sheet, never the desktop surface; applied after `panel`, so it wins a conflict there), `input` (the search
1695
1794
  field), `option` (every listbox option, a broadcast resolved per option), `itemText` (that option's label), `itemIcon` (its `itemProps` icons) `itemDescription` (its muted second line, `itemProps.description`) and `check` (the tick on a chosen option) — all with the option's states; a custom `#option` slot replaces the label and description, never the tick (`pt:check="hidden"` drops it and leaves a mark your slot draws alone),
1696
- `header`, `footer`. States: `open`, and `selected` / `disabled` per option.
1697
- `BbSelect` forwards its own `panel` / `sheet` / `option` here.
1795
+ `header`, `footer`, and `groupHeader` (every `group-by` heading's box, sticky;
1796
+ `#group` replaces its content, never the box). States: `open`, and `selected`
1797
+ / `disabled` per option; `groupHeader:disabled` while every option of its
1798
+ group is. `BbSelect` forwards its own `panel` / `sheet` / `option` /
1799
+ `groupHeader` here.
1698
1800
 
1699
1801
  The filter-pill assignee picker above, restyled through those parts: mono on
1700
1802
  the search `pt:input`, a muted wash on the chosen option
@@ -1907,12 +2009,13 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
1907
2009
 
1908
2010
  - `v-model` — type: `any`
1909
2011
  - `v-model:open` — type: `boolean \| undefined`
2012
+ - `v-model:query` — type: `string \| undefined`
1910
2013
 
1911
2014
  ## Props
1912
2015
 
1913
2016
  | Prop | Type | Default | Required | Description |
1914
2017
  | --- | --- | --- | --- | --- |
1915
- | `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `check`, `clear`, `footer`, `header`, `input`, `itemDescription`, `itemIcon`, `itemText`, `list`, `option`, `panel`, `root`, `sheet`. States: `disabled`, `open`, `selected`. What each one is: _Passthrough parts and states_ below. `pt` is the object form with the same keys minus the prefix (`{ icon: '…', 'icon:loading': '…' }`). See `guides/passthrough.md`. In `<script>` a `pt` value is typed `BbSelectPopoverProps<Row>['pt']` (`BbSelectPopoverProps<object>['pt']` for a preset that fits any row type, never `<any>`) (`PtValue` is not exported): § Typing `pt` in `<script>`. |
2018
+ | `pt:<part>`, `pt:<part>:<state>`, `pt` | `PtValue` | | | Passthrough — a class list, or `{ class, style, attrs }`, bound to one named part of the component; the state form applies only while that state is on. Parts: `check`, `clear`, `footer`, `groupHeader`, `header`, `input`, `itemDescription`, `itemIcon`, `itemText`, `list`, `option`, `panel`, `root`, `sheet`. States: `disabled`, `open`, `selected`. What each one is: _Passthrough parts and states_ below. `pt` is the object form with the same keys minus the prefix (`{ icon: '…', 'icon:loading': '…' }`). See `guides/passthrough.md`. In `<script>` a `pt` value is typed `BbSelectPopoverProps<Row>['pt']` (`BbSelectPopoverProps<object>['pt']` for a preset that fits any row type, never `<any>`) (`PtValue` is not exported): § Typing `pt` in `<script>`. |
1916
2019
  | `activator` | `ElementOrComponentRef \| undefined` | | | External activator element or component ref. When provided, the activator slot is not rendered and event listeners are attached programmatically to the referenced element. |
1917
2020
  | `adaptive` | `boolean \| undefined` | ``all.adaptive` (`true`)` | | On mobile, the panel opens as a bottom sheet instead of a floating popover, with the same search and list. Unset, the global `all.adaptive` applies. |
1918
2021
  | `anchor` | `ElementOrComponentRef \| undefined` | `null` | | Override the element used for popover positioning and width measurement. Useful when the focusable activator is narrower than its visual container (e.g. a button inside a wrapper). Falls back to `activatorEl` when omitted. |
@@ -1955,6 +2058,7 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
1955
2058
  | `padding` | `number \| undefined` | `10` | | Minimum page padding used by floating shift middleware. |
1956
2059
  | `placement` | `'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'` | `"bottom"` | | Floating placement of the popover. |
1957
2060
  | `prefill` | `boolean \| "interaction" \| undefined` | `"interaction"` | | When the options first load: `'interaction'` on first open, `true` on mount (and in SSR), `false` once the user types (on open with `disable-writing` or a non-empty model). An array `items` always resolves on mount; else a seeded model's text waits for the first open. |
2061
+ | `query` | `string \| undefined` | | | The search field's text (`v-model:query`): raw per keystroke, `''` when the component empties it; a write searches at once (guide § Reading and restoring the search). |
1958
2062
  | `queryDebounceTime` | `number \| undefined` | `500` | | Debounce delay (ms) before triggering search queries after user input stops. |
1959
2063
  | `readonly` | `boolean \| undefined` | `false` | | Prevents opening the popover while keeping the activator accessible. |
1960
2064
  | `searchInputAriaLabel` | `string \| undefined` | ``t('select.searchLabel')` (`'Search options'`)` | | Accessible label used by the search input rendered inside the popover. Falls back to the localized `select.searchLabel` key when omitted. |
@@ -1974,12 +2078,13 @@ A `pt` value written in `<script>` (a constant, a preset, a wrapper's
1974
2078
  | `sheet` | The bottom sheet the surface becomes on a phone (the `BbOffCanvas` root) — never the desktop surface. Applied after `panel`, so it wins a conflict there. |
1975
2079
  | `input` | The search field. |
1976
2080
  | `clear` | The ✕ that empties the search field. |
1977
- | `list` | The `role="listbox"` node that holds the options. Virtualised: its height is written inline and its rows are positioned by the list, which limits what a layout utility can do there. The listbox's groups and the chips are not parts. |
2081
+ | `list` | The `role="listbox"` node holding the options. Virtualised: the list writes its height and places its rows, which limits layout utilities there. A group's box and the chips are not parts. |
2082
+ | `groupHeader` | Every `groupBy` heading (sticky). `#group` replaces its content. |
1978
2083
  | `option` | One listbox option — a broadcast resolved per option. Also takes a per-item function, called with the option's raw item. |
1979
2084
  | `itemText` | An option's label — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function. |
1980
2085
  | `itemIcon` | An option's prepend / append icons (`itemProps`) — resolved with that option's states. Also takes a per-item function. |
1981
2086
  | `itemDescription` | An option's second line (its description) — resolved with that option's states. A custom `#option` slot replaces it. Also takes a per-item function. |
1982
- | `check` | The tick on the chosen option, at the row's end — mounted on every option and drawn on the chosen ones; a custom `#option` slot keeps it. `pt:check="hidden"` removes it and leaves a glyph your slot draws alone. Also takes a per-item function. |
2087
+ | `check` | The tick at a chosen option's end (on every option, drawn on the chosen). A custom `#option` slot keeps it; `pt:check="hidden"` removes it, sparing your slot's glyph. Also takes a per-item function. |
1983
2088
  | `header` | The flyout's header band. |
1984
2089
  | `footer` | The flyout's footer band. |
1985
2090
 
@@ -1988,7 +2093,7 @@ States are listed in precedence order: when two are on at once and their entries
1988
2093
  | State | When it is on |
1989
2094
  | --- | --- |
1990
2095
  | `selected` | Per node, on `option`, its `item-*` parts and `check`: a chosen option. |
1991
- | `disabled` | Per node, on `option`, its `item-*` parts and `check`: an option that is disabled. |
2096
+ | `disabled` | Per node, on `option`, its `item-*` parts and `check`: an option that is disabled; on `groupHeader`: every option of its group is. |
1992
2097
  | `open` | Component-wide: the options surface is showing. |
1993
2098
 
1994
2099
  ## Events
@@ -2007,6 +2112,7 @@ States are listed in precedence order: when two are on at once and their entries
2007
2112
  - `shown` — `(): void` — Emitted once the options surface is open and its open transition has finished.
2008
2113
  - `update:modelValue` — `(value: any): void` — Emitted with the next selection value whenever selection changes.
2009
2114
  - `update:open` — `(value: boolean): void` — The panel opened or closed (`v-model:open`).
2115
+ - `update:query` — `(value: string): void` — `v-model:query`: the search field's text.
2010
2116
 
2011
2117
  ## Slots
2012
2118
 
@@ -2041,10 +2147,10 @@ Set these on the element, or on a class you put on it, to retune this component
2041
2147
  - `BbSelectPopover` _(this component)_ — its own template binds: `input` → `input.bb-select-popover__input`, `clear` → `ClearableButton`, `panel` → `CommonPopover`, `root` → `CommonPopover`, `header` → `div.bb-select-popover__header`, `footer` → `div.bb-select-popover__footer`; hands `BbOffCanvas` the pt map `{ header: 'header', footer: 'footer', panel: 'root', sheet: 'root' }` (ours → theirs)
2042
2148
  - `BbBadge` _(public — [contract](./BbBadge.md))_ — its own pt parts (`BbBadge`): `spinner` → `BbSpinner`, `icon` → `span.bb-badge__append-icon`, `icon` → `BbIcon`, `clear` → `button.bb-badge__clear`; documented CSS variables: `--bg`, `--fg`, `--bw`, `--ring-color`, `--ring-size`, `--min-size-md`, `--min-size`, `--elev`, `--r`, `--fs`, `--icon-size`, `--gap`, `--px`, `--clear-size`, `--bg-disabled`, `--fg-disabled`, `--border-disabled`, `--pad-left`; also mounts `BbIcon`, `BbSpinner`, `BadgeBodyContent`
2043
2149
  - `BbOffCanvas` _(public — [contract](./BbOffCanvas.md))_ — its own pt parts (`BbOffCanvas`): `header` → `div.bb-offcanvas__header`, `title` → `span.bb-offcanvas__title`, `description` → `p.bb-offcanvas__description`, `close` → `CloseButton`, `content` → `div.bb-offcanvas__content`, `footer` → `div.bb-offcanvas__footer`; documented CSS variables: `--stack-x`, `--snap-y`, `--stack-fill`, `--stack-transition-duration`, `--px`, `--handle-w`, `--handle-h`, `--handle-bg`, `--safe-top`, `--close-size`
2044
- - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`, `--icon-size`; also mounts `BbIcon`
2150
+ - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`, `--icon-size`, `--icon-inset`; also mounts `BbIcon`
2045
2151
  - `ListBox` _(internal — not importable, reach it through `BbSelectPopover`)_
2046
2152
  - `FlatListBox` _(internal — not importable, reach it through `BbSelectPopover`)_ — `BbSelectPopover`'s pt parts land here: `list` → `span.bb-listbox__list`, `option` → `span.bb-listbox__option`, `itemIcon` → `BbIcon`, `itemText` → `span.bb-listbox__item-text`, `itemDescription` → `span.bb-listbox__item-description`, `check` → `BbIcon`; also mounts `BbIcon`, `ErrorIcon`
2047
- - `GroupedListBox` _(internal — not importable, reach it through `BbSelectPopover`)_ — `BbSelectPopover`'s pt parts land here: `list` → `span.bb-listbox__list`, `option` → `span.bb-listbox__option`, `itemIcon` → `BbIcon`, `itemText` → `span.bb-listbox__item-text`, `itemDescription` → `span.bb-listbox__item-description`, `check` → `BbIcon`; also mounts `BbIcon`, `ErrorIcon`
2153
+ - `GroupedListBox` _(internal — not importable, reach it through `BbSelectPopover`)_ — `BbSelectPopover`'s pt parts land here: `list` → `span.bb-listbox__list`, `groupHeader` → `span.bb-listbox__group-header`, `option` → `span.bb-listbox__option`, `itemIcon` → `BbIcon`, `itemText` → `span.bb-listbox__item-text`, `itemDescription` → `span.bb-listbox__item-description`, `check` → `BbIcon`; also mounts `BbIcon`, `ErrorIcon`
2048
2154
  - Also mounts `BbIcon`, `ClearableButton`, `CommonPopover`, `ErrorIcon`, `WarningIcon`, `BbSmoothHeight`
2049
2155
 
2050
2156
  ## See Also
@@ -434,7 +434,7 @@ BbDropdown's `#<value>:prepend/append`). The key always comes first, so a
434
434
  column keyed `prepend` still owns `#prepend:header`, and `#header:prepend`
435
435
  stays the table-wide slot.
436
436
 
437
- Below, the status badges carry brand glyphs shipped in the app's `iconDir`,
437
+ Below, the status badges carry brand glyphs shipped in the app's `icons.dir`,
438
438
  referenced as `local:*` names on the badge's `prepend:icon`. Per the icons
439
439
  policy the dynamic status maps to **full-name literals** (a lookup object) —
440
440
  never a template-composed `` `local:${status}` ``. Colours use the registered
@@ -395,7 +395,7 @@ Set these on the element, or on a class you put on it, to retune this component
395
395
  - `CommonTimeSelector` _(internal — not importable, reach it through `BbTimePicker`)_ — `BbTimePicker`'s pt parts land here: `header` → `div.bb-time-selector__header`, `cellColumnHeader` → `div.bb-time-selector__cell-column-header`, `item` → `BbBaseButton`; documented CSS variables: `--time-mark`
396
396
  - `BbBaseButton` _(public — [contract](./BbBaseButton.md))_ — its own pt parts (`BbBaseButton`): `root` → `RouterComponent`, `root` → `a`, `root` → `component`; also mounts `RouterComponent`
397
397
  - `BbOffCanvas` _(public — [contract](./BbOffCanvas.md))_ — its own pt parts (`BbOffCanvas`): `header` → `div.bb-offcanvas__header`, `title` → `span.bb-offcanvas__title`, `description` → `p.bb-offcanvas__description`, `close` → `CloseButton`, `content` → `div.bb-offcanvas__content`, `footer` → `div.bb-offcanvas__footer`; documented CSS variables: `--stack-x`, `--snap-y`, `--stack-fill`, `--stack-transition-duration`, `--px`, `--handle-w`, `--handle-h`, `--handle-bg`, `--safe-top`, `--close-size`
398
- - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`, `--icon-size`; also mounts `BbIcon`
398
+ - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`, `--icon-size`, `--icon-inset`; also mounts `BbIcon`
399
399
  - Also mounts `CommonPopover`
400
400
 
401
401
  ## See Also
@@ -444,7 +444,7 @@ Set these on the element, or on a class you put on it, to retune this component
444
444
 
445
445
  - `BbTimePickerInput` _(this component)_ — its own template binds: `controlAttrs` → `input.bb-segmented-field__input`, `input` → `input.bb-segmented-field__input`, `activator` → `button.bb-segmented-field__activator`, `suffix` → `span.bb-field-input__suffix`, `panel` → `div`, `panel` → `CommonPopover`; hands `BbOffCanvas` the pt map `{ panel: 'root', sheet: 'root' }` (ours → theirs)
446
446
  - `BbOffCanvas` _(public — [contract](./BbOffCanvas.md))_ — its own pt parts (`BbOffCanvas`): `header` → `div.bb-offcanvas__header`, `title` → `span.bb-offcanvas__title`, `description` → `p.bb-offcanvas__description`, `close` → `CloseButton`, `content` → `div.bb-offcanvas__content`, `footer` → `div.bb-offcanvas__footer`; documented CSS variables: `--stack-x`, `--snap-y`, `--stack-fill`, `--stack-transition-duration`, `--px`, `--handle-w`, `--handle-h`, `--handle-bg`, `--safe-top`, `--close-size`
447
- - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`, `--icon-size`; also mounts `BbIcon`
447
+ - `CloseButton` _(internal — not importable, reach it through `BbOffCanvas`)_ — documented CSS variables: `--size`, `--p`, `--icon-size`, `--icon-inset`; also mounts `BbIcon`
448
448
  - `CommonField` _(internal — not importable, reach it through `BbTimePickerInput`)_ — `BbTimePickerInput`'s pt parts land here: `root` → `div.bb-field`, `label` → `component`, `description` → `span.bb-field__description`, `hint` → `span.bb-field__hint`, `counter` → `span.bb-field__counter`, `message` → `div.bb-field__message`; also mounts `BbAsterisk`
449
449
  - `CommonFieldInput` _(internal — not importable, reach it through `BbTimePickerInput`)_ — `BbTimePickerInput`'s pt parts land here: `box` → `span.bb-field-input__box`, `prefix` → `span.bb-field-input__prefix`, `icon` → `BbIcon`, `clear` → `ClearableButton`, `spinner` → `BbSpinner`, `suffix` → `span.bb-field-input__suffix`; documented CSS variables: `--bg`, `--bg-hover`, `--bg-focus`, `--bg-disabled`, `--fg-disabled`, `--border-color`, `--border-focus`, `--ring-size`, `--ring-color`, `--elev`, `--frost`, `--ph`, `--inside-label-clearance`; also mounts `BbIcon`, `BbSpinner`, `ErrorIcon`, `WarningIcon`, `ClearableButton`
450
450
  - `CommonTimeSelector` _(internal — not importable, reach it through `BbTimePickerInput`)_ — `BbTimePickerInput`'s pt parts land here: `header` → `div.bb-time-selector__header`, `cellColumnHeader` → `div.bb-time-selector__cell-column-header`, `item` → `BbBaseButton`; documented CSS variables: `--time-mark`
@@ -42,7 +42,7 @@
42
42
  | `multiple` | `boolean \| undefined` | `false` | | Allows multiple options to be selected simultaneously. |
43
43
  | `open` | `boolean \| undefined` | `false` | | Whether the listbox is open (visible). |
44
44
  | `optionHeight` | `number \| undefined` | | | Fixed height (in px) for each option row. Defaults to 28px (24px compact; 44px / 36px on mobile viewports). An explicit value wins on every viewport. |
45
- | `passthrough` | `PtBindings<"option" \| "list" \| "itemDescription" \| "itemText" \| "itemIcon" \| "check", "disabled" \| "selected"> \| undefined` | | | Passthrough resolver handed down by the select popover: `list` is the `role="listbox"` node (bound whole); `option` is one option, resolved per node with its own `selected` / `disabled`. Internal. |
45
+ | `passthrough` | `PtBindings<"option" \| "list" \| "itemDescription" \| "itemText" \| "groupHeader" \| "itemIcon" \| "check", "disabled" \| "selected"> \| undefined` | | | Passthrough resolver handed down by the select popover: `list` is the `role="listbox"` node (bound whole); `option` is one option, resolved per node with its own `selected` / `disabled`. Internal. |
46
46
  | `transitionDuration` | `number \| undefined` | `250` | | Duration of open/close transition in milliseconds. |
47
47
 
48
48
  ## Events
@@ -70,5 +70,5 @@
70
70
  - **CSS custom properties** listed on a node are declared on THAT node's root and read by elements inside it. Set one on that node's root or on the element inside it that reads it — the pt part that lands there is how you reach it (`pt:box="[--border-color:…]"` on a text input) — never on `GroupedListBox`'s root, where the node's own declaration masks it (design-tokens guide, _Overriding one from a consumer app_, rule 0).
71
71
  - Listed nodes are the ones `GroupedListBox`'s API reaches or that declare a documented CSS variable; the rest fold into "also mounts". The complete tree, undocumented locals included, is `manifest/components/GroupedListBox.tree.json` (a public component in it is a name: its own tree file has the rest).
72
72
 
73
- - `GroupedListBox` _(this component)_ — its own template binds: `list` → `span.bb-listbox__list`, `option` → `span.bb-listbox__option`, `itemIcon` → `BbIcon`, `itemText` → `span.bb-listbox__item-text`, `itemDescription` → `span.bb-listbox__item-description`, `check` → `BbIcon`
73
+ - `GroupedListBox` _(this component)_ — its own template binds: `list` → `span.bb-listbox__list`, `groupHeader` → `span.bb-listbox__group-header`, `option` → `span.bb-listbox__option`, `itemIcon` → `BbIcon`, `itemText` → `span.bb-listbox__item-text`, `itemDescription` → `span.bb-listbox__item-description`, `check` → `BbIcon`
74
74
  - Also mounts `BbIcon`, `ErrorIcon`
@@ -20,6 +20,7 @@
20
20
  | `pt:itemText` | `span.bb-listbox__item-text` | `FlatListBox` _(internal)_ |
21
21
  | `pt:itemDescription` | `span.bb-listbox__item-description` | `FlatListBox` _(internal)_ |
22
22
  | `pt:check` | the root of `BbIcon` | `BbIcon` ([contract](./BbIcon.md)) |
23
+ | `pt:groupHeader` | `span.bb-listbox__group-header` | `GroupedListBox` _(internal)_ |
23
24
 
24
25
  **CSS variables you can set through those parts** — declared deeper in the tree, so set one on the part that reads it (`pt:<part>="[--name:value]"`), never on `ListBox`'s root:
25
26
 
@@ -47,7 +48,7 @@
47
48
  | `open` | `boolean \| undefined` | `false` | | Whether the listbox is open (visible). |
48
49
  | `optionHeight` | `number \| undefined` | | | Fixed height (in px) for each option row. Defaults to 28px (24px compact; 44px / 36px on mobile viewports). An explicit value wins on every viewport. |
49
50
  | `options` | `Option<Item>[] \| undefined` | | | Flat option list. Used when `groups` is not provided. |
50
- | `passthrough` | `PtBindings<"option" \| "list" \| "itemDescription" \| "itemText" \| "itemIcon" \| "check", "disabled" \| "selected"> \| undefined` | | | Passthrough resolver handed down by the select popover: `list` is the `role="listbox"` node (bound whole); `option` is one option, resolved per node with its own `selected` / `disabled`. Internal. |
51
+ | `passthrough` | `PtBindings<"option" \| "list" \| "itemDescription" \| "itemText" \| "groupHeader" \| "itemIcon" \| "check", "disabled" \| "selected"> \| undefined` | | | Passthrough resolver handed down by the select popover: `list` is the `role="listbox"` node (bound whole); `option` is one option, resolved per node with its own `selected` / `disabled`. Internal. |
51
52
  | `transitionDuration` | `number \| undefined` | | | Duration of open/close transition in milliseconds. |
52
53
 
53
54
  ## Events
@@ -77,4 +78,4 @@
77
78
 
78
79
  - `ListBox` _(this component)_
79
80
  - `FlatListBox` _(internal — not importable, reach it through `ListBox`)_ — `ListBox`'s pt parts land here: `list` → `span.bb-listbox__list`, `option` → `span.bb-listbox__option`, `itemIcon` → `BbIcon`, `itemText` → `span.bb-listbox__item-text`, `itemDescription` → `span.bb-listbox__item-description`, `check` → `BbIcon`; also mounts `BbIcon`, `ErrorIcon`
80
- - `GroupedListBox` _(internal — not importable, reach it through `ListBox`)_ — `ListBox`'s pt parts land here: `list` → `span.bb-listbox__list`, `option` → `span.bb-listbox__option`, `itemIcon` → `BbIcon`, `itemText` → `span.bb-listbox__item-text`, `itemDescription` → `span.bb-listbox__item-description`, `check` → `BbIcon`; also mounts `BbIcon`, `ErrorIcon`
81
+ - `GroupedListBox` _(internal — not importable, reach it through `ListBox`)_ — `ListBox`'s pt parts land here: `list` → `span.bb-listbox__list`, `groupHeader` → `span.bb-listbox__group-header`, `option` → `span.bb-listbox__option`, `itemIcon` → `BbIcon`, `itemText` → `span.bb-listbox__item-text`, `itemDescription` → `span.bb-listbox__item-description`, `check` → `BbIcon`; also mounts `BbIcon`, `ErrorIcon`
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": 3,
3
3
  "library": "bitboss-ui",
4
- "version": "3.0.0-beta.75",
4
+ "version": "3.0.0-beta.76",
5
5
  "upgrade": "v2-to-v3",
6
6
  "guide": "ai/guides/migration/v2-to-v3.md",
7
7
  "legend": {
@@ -84,7 +84,8 @@
84
84
  "3.0.0-beta.72",
85
85
  "3.0.0-beta.73",
86
86
  "3.0.0-beta.74",
87
- "3.0.0-beta.75"
87
+ "3.0.0-beta.75",
88
+ "3.0.0-beta.76"
88
89
  ],
89
90
  "unpublished": [
90
91
  "3.0.0-alpha.2",
@@ -106,8 +107,8 @@
106
107
  "3.0.0-beta.55"
107
108
  ],
108
109
  "summary": {
109
- "renames": 239,
110
- "behaviourBreaks": 341,
110
+ "renames": 245,
111
+ "behaviourBreaks": 345,
111
112
  "bySurface": {
112
113
  "prop": 22,
113
114
  "option": 1,
@@ -115,10 +116,10 @@
115
116
  "slot": 23,
116
117
  "item": 6,
117
118
  "cssVar": 32,
118
- "class": 140
119
+ "class": 146
119
120
  },
120
121
  "unreleased": 0,
121
- "added": 604
122
+ "added": 607
122
123
  },
123
124
  "added": {
124
125
  "3.0.0-alpha.1": [
@@ -2847,6 +2848,25 @@
2847
2848
  "BbTimePickerInput"
2848
2849
  ]
2849
2850
  }
2851
+ ],
2852
+ "3.0.0-beta.76": [
2853
+ "icons · icons option and swappable library glyphs",
2854
+ {
2855
+ "text": "select · v-model:query on BbSelect and BbSelectPopover",
2856
+ "components": [
2857
+ "BbSelectPopover"
2858
+ ]
2859
+ },
2860
+ {
2861
+ "text": "dropdown · group-label and group-header pt parts",
2862
+ "components": [
2863
+ "BbDropdownButton",
2864
+ "BbSelect",
2865
+ "BbSelectPopover",
2866
+ "GroupedListBox",
2867
+ "ListBox"
2868
+ ]
2869
+ }
2850
2870
  ]
2851
2871
  },
2852
2872
  "breaking": [
@@ -6017,6 +6037,88 @@
6017
6037
  "firstReleasedIn": "3.0.0-beta.64",
6018
6038
  "guide": "ai/guides/migration/v3-beta-css-classes.md"
6019
6039
  },
6040
+ {
6041
+ "id": "css:bb-dropdown__group-title",
6042
+ "kind": "rename",
6043
+ "surface": "class",
6044
+ "components": [
6045
+ ".bb-dropdown"
6046
+ ],
6047
+ "from": ".bb-dropdown__group-title",
6048
+ "to": ".bb-dropdown__group-label",
6049
+ "default": "",
6050
+ "firstReleasedIn": "3.0.0-beta.76",
6051
+ "guide": "ai/guides/migration/v3-beta-css-classes.md"
6052
+ },
6053
+ {
6054
+ "id": "css:group-title__content",
6055
+ "kind": "rename",
6056
+ "surface": "class",
6057
+ "components": [
6058
+ ".group-title"
6059
+ ],
6060
+ "from": ".group-title__content",
6061
+ "to": ".group-label__content",
6062
+ "note": "internal, renamed with its parent (`group-label__content`)",
6063
+ "default": "",
6064
+ "firstReleasedIn": "3.0.0-beta.76",
6065
+ "guide": "ai/guides/migration/v3-beta-css-classes.md"
6066
+ },
6067
+ {
6068
+ "id": "css:group-title__prepend-icon",
6069
+ "kind": "rename",
6070
+ "surface": "class",
6071
+ "components": [
6072
+ ".group-title"
6073
+ ],
6074
+ "from": ".group-title__prepend-icon",
6075
+ "to": ".group-label__prepend-icon",
6076
+ "note": "internal, renamed with its parent (`group-label__prepend-icon`)",
6077
+ "default": "",
6078
+ "firstReleasedIn": "3.0.0-beta.76",
6079
+ "guide": "ai/guides/migration/v3-beta-css-classes.md"
6080
+ },
6081
+ {
6082
+ "id": "css:group-title__append-icon",
6083
+ "kind": "rename",
6084
+ "surface": "class",
6085
+ "components": [
6086
+ ".group-title"
6087
+ ],
6088
+ "from": ".group-title__append-icon",
6089
+ "to": ".group-label__append-icon",
6090
+ "note": "internal, renamed with its parent (`group-label__append-icon`)",
6091
+ "default": "",
6092
+ "firstReleasedIn": "3.0.0-beta.76",
6093
+ "guide": "ai/guides/migration/v3-beta-css-classes.md"
6094
+ },
6095
+ {
6096
+ "id": "css:bb-dropdown__section-title",
6097
+ "kind": "rename",
6098
+ "surface": "class",
6099
+ "components": [
6100
+ ".bb-dropdown"
6101
+ ],
6102
+ "from": ".bb-dropdown__section-title",
6103
+ "to": ".bb-dropdown__group-header",
6104
+ "default": "",
6105
+ "firstReleasedIn": "3.0.0-beta.76",
6106
+ "guide": "ai/guides/migration/v3-beta-css-classes.md"
6107
+ },
6108
+ {
6109
+ "id": "css:bb-dropdown__section",
6110
+ "kind": "rename",
6111
+ "surface": "class",
6112
+ "components": [
6113
+ ".bb-dropdown"
6114
+ ],
6115
+ "from": ".bb-dropdown__section",
6116
+ "to": ".bb-dropdown__group-section",
6117
+ "note": "internal: the `role=\"group\"` wrapper of one `groupBy` heading and its rows",
6118
+ "default": "",
6119
+ "firstReleasedIn": "3.0.0-beta.76",
6120
+ "guide": "ai/guides/migration/v3-beta-css-classes.md"
6121
+ },
6020
6122
  {
6021
6123
  "id": "f099",
6022
6124
  "kind": "behaviour",
@@ -10534,7 +10636,7 @@
10534
10636
  "BbSelectPopover"
10535
10637
  ],
10536
10638
  "description": "BbSelect / BbSelectPopover with an option:add listener: a typed query no option matches exactly (case aside) shows a \"Create «query»\" option row, last after the matches or alone, so when nothing matches the panel shows that row instead of the no-results text and #empty. Its click and arrow keys + Enter emit option:add, as Enter already did. A #empty that offered a create link or button is now redundant: drop it, the row does the same",
10537
- "guide": "migration/v2-to-v3.md § 6 item 169",
10639
+ "guide": "migration/v2-to-v3.md § 6 item 168",
10538
10640
  "firstReleasedIn": "3.0.0-beta.75"
10539
10641
  },
10540
10642
  {
@@ -10589,6 +10691,50 @@
10589
10691
  "description": "v-model:open on BbDropdownButton, BbSelect, BbSelectPopover, BbDatePicker, BbDatePickerInput, BbTimePicker, BbTimePickerInput, BbColorPalette, BbColorInput: the panel's open state, bound or as the initial state (v-model stays the value); an open attribute no longer falls through to the root",
10590
10692
  "guide": "the component guides",
10591
10693
  "firstReleasedIn": "3.0.0-beta.75"
10694
+ },
10695
+ {
10696
+ "id": "f509",
10697
+ "kind": "behaviour",
10698
+ "summary": "Plugin option `iconDir` is `icons.dir` (`bitbossUi({ icons: { dir } })`, Nuxt too); the old key fails the build",
10699
+ "libraryWide": true,
10700
+ "description": "Plugin option iconDir → icons.dir (bitbossUi({ icons: { dir: './assets/icons' } }), Nuxt bitboss: { icons: { dir } }): the old key fails the build naming icons.dir. icons also takes defaults, the library's own glyphs swapped app-wide",
10701
+ "guide": "migration/v2-to-v3.md § 6 item 169",
10702
+ "firstReleasedIn": "3.0.0-beta.76"
10703
+ },
10704
+ {
10705
+ "id": "f510",
10706
+ "kind": "behaviour",
10707
+ "summary": "Plugin option `iconWhitelist` is `icons.whitelist` (`bitbossUi({ icons: { whitelist } })`); the old key fails the build",
10708
+ "libraryWide": true,
10709
+ "description": "Plugin option iconWhitelist → icons.whitelist (bitbossUi({ icons: { whitelist: ['tabler:crown'] } })): the old key fails the build naming icons.whitelist",
10710
+ "guide": "migration/v2-to-v3.md § 6 item 169",
10711
+ "firstReleasedIn": "3.0.0-beta.76"
10712
+ },
10713
+ {
10714
+ "id": "f515",
10715
+ "kind": "behaviour",
10716
+ "summary": "BbSelect / BbSelectPopover `v-model:query`: the field's raw text, `''` when the component empties it; the phone sheet now clears the query when its close begins",
10717
+ "components": [
10718
+ "BbSelect",
10719
+ "BbSelectPopover"
10720
+ ],
10721
+ "description": "v-model:query on BbSelect and BbSelectPopover: the search field's text, written back raw per committed keystroke and '' whenever the component empties the field (close, a pick that closes, option:add, the ✕). On the phone sheet the query now clears when the close begins, not after the slide-out, so @update:query reports '' earlier than the sheet's old clear. An app write searches at once (no debounce), is held while closed (query = x; open = true sends one request), and writes '' back where it can't land",
10722
+ "guide": "migration/v2-to-v3.md § 6 item 170",
10723
+ "firstReleasedIn": "3.0.0-beta.76"
10724
+ },
10725
+ {
10726
+ "id": "f516",
10727
+ "kind": "behaviour",
10728
+ "summary": "pt parts `groupLabel` (BbDropdown) and `groupHeader` (BbDropdown, BbSelect); `.bb-dropdown__group-title` is `__group-label`, a `groupBy` heading `__group-header`",
10729
+ "components": [
10730
+ "BbDropdown",
10731
+ "BbDropdownButton",
10732
+ "BbSelect",
10733
+ "BbSelectPopover"
10734
+ ],
10735
+ "description": "New pt parts: groupLabel (BbDropdown / BbDropdownButton: every group's label row) and groupHeader (BbDropdown / BbDropdownButton, BbSelect / BbSelectPopover: every groupBy heading; on the select, disabled while all its group's options are). Classes renamed with them: .bb-dropdown__group-title → .bb-dropdown__group-label (its group-title__* children → group-label__*), and a groupBy heading is .bb-dropdown__group-header only (was .bb-dropdown__group-title .bb-dropdown__section-title, its wrapper .bb-dropdown__section → .bb-dropdown__group-section). Hard rename: CSS on the old classes stops applying (bitboss-ui check reports them)",
10736
+ "guide": "migration/v2-to-v3.md § 6 item 171 + v3-beta-css-classes.md",
10737
+ "firstReleasedIn": "3.0.0-beta.76"
10592
10738
  }
10593
10739
  ]
10594
10740
  }