bitboss-ui 2.1.116 → 2.1.118

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 (292) hide show
  1. package/dist/ai/BaseRating.md +2 -2
  2. package/dist/ai/BaseTag.md +0 -1
  3. package/dist/ai/BbAccordion.md +1 -2
  4. package/dist/ai/BbAlert.md +1 -2
  5. package/dist/ai/BbAvatar.md +0 -1
  6. package/dist/ai/BbBadge.md +107 -49
  7. package/dist/ai/BbBreadcrumbs.md +0 -1
  8. package/dist/ai/BbButton.md +0 -1
  9. package/dist/ai/BbCheckbox.md +0 -1
  10. package/dist/ai/BbCheckboxGroup.md +0 -5
  11. package/dist/ai/BbChip.md +0 -1
  12. package/dist/ai/BbCollapsible.md +0 -1
  13. package/dist/ai/BbColorInput.md +0 -1
  14. package/dist/ai/BbColorPalette.md +0 -1
  15. package/dist/ai/BbDatePickerInput.md +0 -6
  16. package/dist/ai/BbDialog.md +0 -6
  17. package/dist/ai/BbDropdown.md +0 -7
  18. package/dist/ai/BbDropdownButton.md +0 -1
  19. package/dist/ai/BbDropzone.md +0 -6
  20. package/dist/ai/BbIcon.md +0 -1
  21. package/dist/ai/BbIntersection.md +0 -1
  22. package/dist/ai/BbNumberInput.md +0 -1
  23. package/dist/ai/BbOffCanvas.md +0 -1
  24. package/dist/ai/BbPagination.md +0 -1
  25. package/dist/ai/BbPopover.md +0 -1
  26. package/dist/ai/BbProgress.md +0 -1
  27. package/dist/ai/BbRadio.md +0 -1
  28. package/dist/ai/BbRadioGroup.md +0 -1
  29. package/dist/ai/BbRating.md +0 -1
  30. package/dist/ai/BbRatio.md +0 -1
  31. package/dist/ai/BbSelect.md +1 -2
  32. package/dist/ai/BbSelectPopover.md +5 -348
  33. package/dist/ai/BbSlider.md +0 -1
  34. package/dist/ai/BbSmoothHeight.md +0 -1
  35. package/dist/ai/BbSpinner.md +0 -1
  36. package/dist/ai/BbSwitch.md +0 -1
  37. package/dist/ai/BbSwitchGroup.md +0 -1
  38. package/dist/ai/BbTab.md +0 -7
  39. package/dist/ai/BbTag.md +0 -1
  40. package/dist/ai/BbTextInput.md +0 -1
  41. package/dist/ai/BbTextarea.md +0 -1
  42. package/dist/ai/BbToast.md +0 -1
  43. package/dist/ai/BbTooltip.md +0 -1
  44. package/dist/ai/BbTree.md +0 -1
  45. package/dist/ai/ChipsBox.md +0 -1
  46. package/dist/ai/ClearableButton.md +0 -10
  47. package/dist/ai/CommaBox.md +0 -1
  48. package/dist/ai/CommonInputInnerContainer.md +0 -5
  49. package/dist/ai/CommonInputOuterContainer.md +0 -1
  50. package/dist/ai/CommonPopover.md +0 -2
  51. package/dist/ai/ErrorIcon.md +1 -4
  52. package/dist/ai/FlatListBox.md +0 -1
  53. package/dist/ai/GroupedListBox.md +0 -1
  54. package/dist/ai/ListBox.md +0 -1
  55. package/dist/ai/OptionsContainer.md +0 -2
  56. package/dist/components/BaseRating/types.d.ts +1 -1
  57. package/dist/components/BaseTag/BaseTag.vue.d.ts +1 -2
  58. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -2
  59. package/dist/components/BbAccordion/types.d.ts +1 -1
  60. package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -2
  61. package/dist/components/BbAlert/types.d.ts +1 -1
  62. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +0 -1
  63. package/dist/components/BbBadge/BbBadge.vue.d.ts +0 -1
  64. package/dist/components/BbBadge/types.d.ts +4 -0
  65. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +1 -2
  66. package/dist/components/BbButton/BbButton.vue.d.ts +0 -1
  67. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +1 -2
  68. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +15 -7
  69. package/dist/components/BbChip/BbChip.vue.d.ts +1 -2
  70. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +0 -1
  71. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +1 -2
  72. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +1 -2
  73. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -3
  74. package/dist/components/BbDialog/BbDialog.vue.d.ts +0 -1
  75. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -2
  76. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +1 -2
  77. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -2
  78. package/dist/components/BbIcon/BbIcon.vue.d.ts +0 -1
  79. package/dist/components/BbIntersection/BbIntersection.vue.d.ts +1 -2
  80. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -2
  81. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -2
  82. package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -3
  83. package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -2
  84. package/dist/components/BbProgress/BbProgress.vue.d.ts +0 -1
  85. package/dist/components/BbRadio/BbRadio.vue.d.ts +1 -2
  86. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +15 -7
  87. package/dist/components/BbRating/BbRating.vue.d.ts +1 -2
  88. package/dist/components/BbRatio/BbRatio.vue.d.ts +0 -1
  89. package/dist/components/BbSelect/BbSelect.vue.d.ts +13 -7
  90. package/dist/components/BbSelect/types.d.ts +1 -1
  91. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +1 -312
  92. package/dist/components/BbSlider/BbSlider.vue.d.ts +1 -2
  93. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +0 -1
  94. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +0 -1
  95. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +1 -2
  96. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +15 -7
  97. package/dist/components/BbTag/BbTag.vue.d.ts +1 -2
  98. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +1 -2
  99. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +1 -2
  100. package/dist/components/BbToast/BbToast.vue.d.ts +0 -1
  101. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +0 -1
  102. package/dist/components/BbTree/BbTree.vue.d.ts +0 -1
  103. package/dist/components/ChipsBox/ChipsBox.vue.d.ts +1 -2
  104. package/dist/components/ClearableButton/ClearableButton.vue.d.ts +0 -2
  105. package/dist/components/CommaBox/CommaBox.vue.d.ts +1 -2
  106. package/dist/components/CommonInputInnerContainer/CommonInputInnerContainer.vue.d.ts +1 -2
  107. package/dist/components/CommonInputOuterContainer/CommonInputOuterContainer.vue.d.ts +0 -1
  108. package/dist/components/CommonPopover/CommonPopover.vue.d.ts +0 -2
  109. package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +0 -2
  110. package/dist/components/FlatListBox/FlatListBox.vue.d.ts +31 -0
  111. package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +31 -0
  112. package/dist/components/ListBox/ListBox.vue.d.ts +19 -18
  113. package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +2 -1
  114. package/dist/index.css +1 -1
  115. package/dist/index.d.ts +44 -44
  116. package/dist/index109.js +9 -9
  117. package/dist/index110.js +49 -50
  118. package/dist/index118.js +1 -1
  119. package/dist/index124.js +2 -2
  120. package/dist/index126.js +12 -12
  121. package/dist/index134.js +1 -1
  122. package/dist/index136.js +5 -5
  123. package/dist/index138.js +1 -1
  124. package/dist/index14.js +1 -1
  125. package/dist/index140.js +17 -18
  126. package/dist/index144.js +1 -1
  127. package/dist/index146.js +2 -2
  128. package/dist/index148.js +1 -1
  129. package/dist/index16.js +3 -3
  130. package/dist/index18.js +3 -3
  131. package/dist/index20.js +8 -8
  132. package/dist/index22.js +5 -5
  133. package/dist/index221.js +2 -2
  134. package/dist/index222.js +2 -138
  135. package/dist/index223.js +138 -2
  136. package/dist/index224.js +1 -1
  137. package/dist/index225.js +1 -1
  138. package/dist/index226.js +2 -4
  139. package/dist/index227.js +2 -13
  140. package/dist/index228.js +3 -20
  141. package/dist/index229.js +7 -2
  142. package/dist/index230.js +2 -2
  143. package/dist/index231.js +86 -3
  144. package/dist/index233.js +32 -0
  145. package/dist/index234.js +15 -28
  146. package/dist/index235.js +49 -15
  147. package/dist/index236.js +15 -48
  148. package/dist/index237.js +3 -18
  149. package/dist/index238.js +12 -3
  150. package/dist/index239.js +17 -11
  151. package/dist/index24.js +9 -9
  152. package/dist/index240.js +4 -18
  153. package/dist/index242.js +12 -33
  154. package/dist/index243.js +11 -8
  155. package/dist/index244.js +135 -3
  156. package/dist/index246.js +4 -13
  157. package/dist/index247.js +19 -131
  158. package/dist/index248.js +6 -0
  159. package/dist/index249.js +18 -21
  160. package/dist/index250.js +34 -5
  161. package/dist/index251.js +13 -5
  162. package/dist/index252.js +9 -5
  163. package/dist/index253.js +21 -5
  164. package/dist/index254.js +188 -5
  165. package/dist/index255.js +3 -5
  166. package/dist/index256.js +5 -3
  167. package/dist/index257.js +5 -25
  168. package/dist/index258.js +5 -3
  169. package/dist/index259.js +5 -13
  170. package/dist/index26.js +3 -3
  171. package/dist/index260.js +1 -1
  172. package/dist/index263.js +7 -7
  173. package/dist/index264.js +1 -1
  174. package/dist/index267.js +1 -1
  175. package/dist/index268.js +53 -9
  176. package/dist/index269.js +5 -2
  177. package/dist/index270.js +5 -2
  178. package/dist/index271.js +5 -4
  179. package/dist/index272.js +3 -9
  180. package/dist/index273.js +9 -53
  181. package/dist/index274.js +32 -10
  182. package/dist/index275.js +27 -17
  183. package/dist/index277.js +11 -32
  184. package/dist/index278.js +20 -0
  185. package/dist/index279.js +12 -107
  186. package/dist/index28.js +1 -1
  187. package/dist/index280.js +105 -5
  188. package/dist/index282.js +100 -7
  189. package/dist/index284.js +107 -23
  190. package/dist/index285.js +2 -106
  191. package/dist/index286.js +9 -0
  192. package/dist/index287.js +7 -100
  193. package/dist/index288.js +27 -0
  194. package/dist/index289.js +6 -2
  195. package/dist/index290.js +3 -7
  196. package/dist/index291.js +6 -7
  197. package/dist/index292.js +16 -5
  198. package/dist/index293.js +2 -3
  199. package/dist/index294.js +8 -27
  200. package/dist/index295.js +25 -0
  201. package/dist/index296.js +3 -67
  202. package/dist/index297.js +10 -373
  203. package/dist/index298.js +5 -0
  204. package/dist/index299.js +67 -6
  205. package/dist/index30.js +3 -3
  206. package/dist/index300.js +371 -14
  207. package/dist/index302.js +3 -3
  208. package/dist/index303.js +17 -2
  209. package/dist/index304.js +28 -3
  210. package/dist/index305.js +3 -6
  211. package/dist/index306.js +7 -3
  212. package/dist/index307.js +2 -17
  213. package/dist/index308.js +3 -27
  214. package/dist/index309.js +3 -5
  215. package/dist/index32.js +2 -2
  216. package/dist/index324.js +7 -2
  217. package/dist/index325.js +3 -15
  218. package/dist/index326.js +125 -2
  219. package/dist/index327.js +2 -19
  220. package/dist/index328.js +15 -2
  221. package/dist/index329.js +2 -3
  222. package/dist/index330.js +19 -2
  223. package/dist/index331.js +2 -4
  224. package/dist/index332.js +3 -4
  225. package/dist/index333.js +1 -1
  226. package/dist/index334.js +2 -3
  227. package/dist/index335.js +2 -2
  228. package/dist/index336.js +719 -6
  229. package/dist/index337.js +366 -3
  230. package/dist/index338.js +57 -2
  231. package/dist/index339.js +5 -3
  232. package/dist/index34.js +8 -8
  233. package/dist/index340.js +5 -6
  234. package/dist/index341.js +2 -19
  235. package/dist/index342.js +67 -9
  236. package/dist/index343.js +66 -14
  237. package/dist/index344.js +7 -5
  238. package/dist/index345.js +5 -7
  239. package/dist/index346.js +3 -67
  240. package/dist/index347.js +7 -67
  241. package/dist/index348.js +17 -226
  242. package/dist/index349.js +8 -34
  243. package/dist/index350.js +12 -126
  244. package/dist/index351.js +30 -393
  245. package/dist/index352.js +129 -719
  246. package/dist/index353.js +397 -365
  247. package/dist/index354.js +21 -56
  248. package/dist/index356.js +91 -257
  249. package/dist/index357.js +133 -21
  250. package/dist/{index355.js → index358.js} +6 -6
  251. package/dist/index359.js +259 -7
  252. package/dist/index36.js +4 -4
  253. package/dist/index360.js +225 -131
  254. package/dist/index361.js +2 -93
  255. package/dist/index362.js +1 -1
  256. package/dist/index363.js +441 -2
  257. package/dist/index364.js +114 -427
  258. package/dist/index365.js +46 -127
  259. package/dist/index366.js +67 -44
  260. package/dist/index367.js +516 -66
  261. package/dist/index368.js +45 -515
  262. package/dist/index38.js +19 -19
  263. package/dist/index40.js +6 -6
  264. package/dist/index42.js +2 -2
  265. package/dist/index44.js +8 -8
  266. package/dist/index46.js +5 -5
  267. package/dist/index50.js +2 -2
  268. package/dist/index54.js +1 -1
  269. package/dist/index56.js +1 -1
  270. package/dist/index58.js +25 -20
  271. package/dist/index60.js +2 -2
  272. package/dist/index62.js +5 -5
  273. package/dist/index68.js +1 -1
  274. package/dist/index74.js +4 -4
  275. package/dist/index82.js +6 -6
  276. package/dist/index84.js +1 -1
  277. package/dist/index86.js +2 -2
  278. package/dist/index88.js +2 -2
  279. package/dist/index90.js +1 -1
  280. package/dist/index93.js +3 -3
  281. package/dist/index95.js +2 -2
  282. package/dist/index97.js +5 -5
  283. package/dist/index99.js +1 -1
  284. package/package.json +2 -2
  285. package/dist/index232.js +0 -88
  286. package/dist/index245.js +0 -6
  287. package/dist/index276.js +0 -14
  288. package/dist/index281.js +0 -23
  289. package/dist/index283.js +0 -11
  290. package/dist/index301.js +0 -190
  291. package/dist/index323.js +0 -127
  292. package/dist/index369.js +0 -52
@@ -192,354 +192,11 @@ import CommonPopover from '../CommonPopover/CommonPopover.vue';
192
192
  import ErrorIcon from '../ErrorIcon/ErrorIcon.vue';
193
193
  import ListBox from '../ListBox/ListBox.vue';
194
194
  import { waitFor } from '@/utilities/functions/waitFor';
195
-
196
- export type BbSelectPopoverProps<Item> = {
197
- /**
198
- * External activator element or component ref.
199
- * When provided, the activator slot is not rendered and event listeners
200
- * are attached programmatically to the referenced element.
201
- */
202
- activator?: HTMLElement | Record<string, any> | null;
203
-
204
- /**
205
- * Controls whether the search input is shown inside the popover panel.
206
- * Use `'not-mobile'` to hide the search input on mobile.
207
- * @default false
208
- */
209
- allowWriting?: boolean | 'not-mobile';
210
-
211
- /**
212
- * Browser autocomplete hint for the popover search input.
213
- * @default 'off'
214
- */
215
- autocomplete?: InputHTMLAttributes['autocomplete'];
216
-
217
- /**
218
- * Apply the compact density variant.
219
- */
220
- compact?: boolean;
221
-
222
- /**
223
- * Space the arrow keeps from popover edges.
224
- * Useful with rounded corners.
225
- * @default 10
226
- */
227
- arrowPadding?: CommonProps['arrowPadding'];
228
-
229
- /**
230
- * Constrains the popover to a specific boundary element.
231
- */
232
- boundary?: HTMLElement | Record<string, any> | string | null;
233
-
234
- /**
235
- * Additional dependencies that trigger item reloading when changed.
236
- * @default []
237
- */
238
- dependencies?: any[];
239
-
240
- /**
241
- * Debounce delay (ms) for dependency-triggered reloads.
242
- * @default 0
243
- */
244
- depsDebounceTime?: number;
245
-
246
- /**
247
- * Disables the component.
248
- */
249
- disabled?: boolean;
250
-
251
- /**
252
- * Marks the component as being in error state.
253
- */
254
- hasErrors?: boolean;
255
-
256
- /**
257
- * Explicit invalid state for accessibility semantics.
258
- * Falls back to `hasErrors` when not provided.
259
- */
260
- ariaInvalid?: boolean;
261
-
262
- /**
263
- * Space-separated IDREF(s) that describe this field for assistive technologies.
264
- * Accepts either a string or array of ids.
265
- */
266
- ariaDescribedby?: string | string[];
267
-
268
- /**
269
- * Enable or disable floating flip behavior.
270
- * @default true
271
- */
272
- flip?: boolean;
273
-
274
- /**
275
- * Whether the floating arrow is hidden.
276
- * @default true
277
- */
278
- hideArrow?: boolean;
279
-
280
- /**
281
- * Reset modelValue to `null` or empty array if it no longer matches available items.
282
- */
283
- enforceCoherence?: boolean;
284
-
285
- /**
286
- * Controls how options are filtered during search.
287
- * Options are always filtered by display text, but can also match additional properties
288
- * when set to a string path, array of paths, or custom function.
289
- * Set to `false` to disable filtering, or `'not_stashed'` to exclude stashed items.
290
- * @default () => []
291
- */
292
- filterBy?:
293
- | string
294
- | string[]
295
- | false
296
- | 'not_stashed'
297
- | ((value: any, item: any, query: string | null) => boolean)
298
- | null;
299
-
300
- groupBy?: string | ((item: Item) => string | number | symbol);
301
-
302
- /**
303
- * Height of group headers in the listbox (px). Defaults to 24px (compact) or 32px.
304
- * Only applies when `groupBy` is set.
305
- */
306
- headerHeight?: number;
307
-
308
- /**
309
- * Explicit id for the component. Used to generate ids for listbox and options.
310
- */
311
- id?: HTMLAttributes['id'];
312
-
313
- /**
314
- * Array of items or function to load them asynchronously.
315
- * Functions receive `(query, prefill, modelValue)` and can return a promise.
316
- * @default []
317
- */
318
- items:
319
- | Item[]
320
- | ((query: string, prefill: boolean, modelValue: any[]) => Promise<Item[]>)
321
- | ((query: string, prefill: boolean, modelValue: any[]) => Item[]);
322
-
323
- /**
324
- * Height of the options in the listbox (px).
325
- * @default 40
326
- */
327
- itemHeight?: number;
328
-
329
- /**
330
- * Path to item property for display text or function to extract it.
331
- */
332
- itemText?: string | ((item: Item) => string) | undefined;
333
-
334
- /**
335
- * Path to item property for value or function to extract it.
336
- */
337
- itemValue?: string | ((item: Item) => string) | undefined;
338
-
339
- /**
340
- * Display the loading state styles.
341
- */
342
- loading?: boolean;
343
-
344
- /**
345
- * Message shown while items are being loaded.
346
- */
347
- loadingText?: string;
348
-
349
- /**
350
- * Maximum number of selectable items (limits selection when `multiple` is true).
351
- * @default Infinity
352
- */
353
- max?: number;
354
-
355
- /**
356
- * v-model value. Single value for single select, array for multiple select.
357
- */
358
- modelValue: any;
359
-
360
- /**
361
- * Debounce delay (ms) for modelValue change handling.
362
- * @default 0
363
- */
364
- modelValueDebounceTime?: number;
365
-
366
- /**
367
- * Enable multiple item selection. When true, modelValue must be an array.
368
- */
369
- multiple?: boolean;
370
-
371
- /**
372
- * Message displayed when no items are available.
373
- */
374
- noDataText?: string;
375
-
376
- /**
377
- * Distance (px) between the activator and the popover.
378
- * @default 4
379
- */
380
- offset?: number;
381
-
382
- /**
383
- * Minimum page padding used by floating shift middleware.
384
- * @default 0
385
- */
386
- padding?: CommonProps['padding'];
387
-
388
- /**
389
- * Floating placement of the popover.
390
- * @default 'bottom'
391
- */
392
- placement?: CommonProps['placement'];
393
-
394
- /**
395
- * Controls when items are pre-loaded.
396
- * `'interaction'` loads on first user interaction (first popover open),
397
- * `true` loads immediately, `false` loads only on explicit search/open flows.
398
- * @default 'interaction'
399
- */
400
- prefill?: boolean | 'interaction';
401
-
402
- /**
403
- * Debounce delay (ms) before triggering search queries after user input stops.
404
- * @default 500
405
- */
406
- queryDebounceTime?: number;
407
-
408
- /**
409
- * Prevents opening the popover while keeping the activator accessible.
410
- */
411
- readonly?: boolean;
412
-
413
- /**
414
- * Accessible label used by the search input rendered inside the popover.
415
- * @default 'Search options'
416
- */
417
- searchInputAriaLabel?: string;
418
-
419
- /**
420
- * Accumulate selected items across searches instead of replacing them.
421
- */
422
- stash?: boolean;
423
-
424
- /**
425
- * Transition duration (ms) for popover show/hide animations.
426
- * @default 300
427
- */
428
- transitionDuration?: number;
429
-
430
- /**
431
- * Width of the popover in pixels, percentage, or `'auto'`.
432
- */
433
- width?: number | string;
434
- };
435
-
436
- export type BbSelectPopoverEvents = {
437
- (e: 'blur', event: FocusEvent): void;
438
- (e: 'change', event: Event): void;
439
- (e: 'click', event: MouseEvent): void;
440
- (e: 'focus', event: FocusEvent): void;
441
- (e: 'inactive'): void;
442
- (e: 'input', event: Event): void;
443
- (e: 'update:modelValue', value: any): void;
444
- (e: 'option:add', text: string): void;
445
- };
446
-
447
- export type BbSelectPopoverSlots<Item> = {
448
- /**
449
- * Replaces the default trigger element that opens the select popover.
450
- * @param props - Bind these onto the activator element with `v-bind="props"` to wire up the popover reference.
451
- * @param shown - Whether the popover is currently open.
452
- * @param disabled - Whether the select is disabled.
453
- * @param readonly - Whether the select is read-only.
454
- * @param loading - Whether options are currently being fetched.
455
- * @param query - The current search query string.
456
- * @param clear - Clears the current selection and query.
457
- * @param open - Opens the popover.
458
- * @param close - Closes the popover.
459
- * @param toggle - Toggles the popover open/closed.
460
- */
461
- activator?: (props: {
462
- props: {
463
- ref: (reference: unknown) => void;
464
- };
465
- shown: boolean;
466
- disabled: boolean | undefined;
467
- readonly: boolean | undefined;
468
- loading: boolean;
469
- query: string;
470
- clear: () => void;
471
- open: () => Promise<void>;
472
- close: () => Promise<void>;
473
- toggle: () => Promise<void>;
474
- }) => any;
475
- /**
476
- * Content shown inside the options dropdown while items are loading.
477
- * @param query - The current search query string.
478
- */
479
- loading?: (props: { query: string }) => any;
480
- /**
481
- * Content shown when no options match the query or the list is empty.
482
- * @param query - The current search query string.
483
- * @param focus - Focuses the internal search input.
484
- */
485
- 'no-data'?: (props: { query: string; focus: () => void }) => any;
486
- /**
487
- * Replaces the default rendering of each option row in the dropdown.
488
- * @param disabled - Whether this option is disabled.
489
- * @param focused - Whether this option currently has keyboard focus.
490
- * @param index - Zero-based index of this option in the list.
491
- * @param item - The raw item from the `items` prop.
492
- * @param loading - Whether items are still being fetched.
493
- * @param selected - Whether this option is currently selected.
494
- * @param text - The resolved display text for this option.
495
- * @param value - The resolved value for this option.
496
- */
497
- option?: (props: {
498
- disabled: boolean;
499
- focused: boolean;
500
- index: number;
501
- item: Item;
502
- loading: boolean;
503
- selected: boolean;
504
- text: string;
505
- value: any;
506
- }) => any;
507
- /**
508
- * Replaces the default group header rendered above grouped options.
509
- * @param text - The display text for this group.
510
- * @param item - The raw group item.
511
- * @param index - Zero-based index of the first option in this group.
512
- * @param length - Number of options in this group.
513
- * @param disabled - Whether all options in this group are disabled.
514
- */
515
- group?: (props: {
516
- text: string;
517
- item: Item;
518
- index: number;
519
- length: number;
520
- disabled: boolean;
521
- }) => any;
522
- /**
523
- * Content appended inside the options list, after the last option.
524
- * @param focus - Focuses the internal search input.
525
- */
526
- 'options:append'?: (props: { focus: () => void }) => any;
527
- /**
528
- * Content appended outside the options list container.
529
- * @param focus - Focuses the internal search input.
530
- */
531
- 'options:append:outer'?: (props: { focus: () => void }) => any;
532
- /**
533
- * Content prepended inside the options list, before the first option.
534
- * @param focus - Focuses the internal search input.
535
- */
536
- 'options:prepend'?: (props: { focus: () => void }) => any;
537
- /**
538
- * Content prepended outside the options list container.
539
- * @param focus - Focuses the internal search input.
540
- */
541
- 'options:prepend:outer'?: (props: { focus: () => void }) => any;
542
- };
195
+ import type {
196
+ BbSelectPopoverEvents,
197
+ BbSelectPopoverProps,
198
+ BbSelectPopoverSlots,
199
+ } from './types';
543
200
 
544
201
  const props = withDefaults(defineProps<BbSelectPopoverProps<Item>>(), {
545
202
  allowWriting: true,
@@ -63,7 +63,6 @@ import BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';
63
63
  import BaseSlider from '../BaseSlider/BaseSlider.vue';
64
64
  import { ref, computed } from 'vue';
65
65
  import type { BbSliderProps, BbSliderEvents, BbSliderSlots } from './types';
66
- export type { BbSliderProps, BbSliderEvents, BbSliderSlots };
67
66
 
68
67
  const props = withDefaults(defineProps<BbSliderProps>(), {
69
68
  thumbTranslate: true,
@@ -18,7 +18,6 @@
18
18
 
19
19
  <script setup lang="ts">
20
20
  import type { BbSmoothHeightProps, BbSmoothHeightSlots } from './types';
21
- export type { BbSmoothHeightProps, BbSmoothHeightSlots };
22
21
  import { ref, onMounted, onBeforeUnmount } from 'vue';
23
22
 
24
23
  const props = withDefaults(defineProps<BbSmoothHeightProps>(), {
@@ -29,7 +29,6 @@ import { computed } from 'vue';
29
29
  import { isCssColor } from '@/utilities/functions/isCssColor';
30
30
  import type { Classes } from '@/types/Classes';
31
31
  import type { BbSpinnerProps, Size as IconSize } from './types';
32
- export type { BbSpinnerProps, Size } from './types';
33
32
 
34
33
  const props = withDefaults(defineProps<BbSpinnerProps>(), {
35
34
  size: 'md',
@@ -54,7 +54,6 @@ import BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';
54
54
  import BaseSwitch from '../BaseSwitch/BaseSwitch.vue';
55
55
  import { computed, ref } from 'vue';
56
56
  import type { BbSwitchProps, BbSwitchEvents, BbSwitchSlots } from './types';
57
- export type { BbSwitchProps, BbSwitchEvents, BbSwitchSlots };
58
57
 
59
58
  const props = withDefaults(defineProps<BbSwitchProps>(), {
60
59
  direction: 'auto',
@@ -79,7 +79,6 @@ import type {
79
79
  BbSwitchGroupEvents,
80
80
  BbSwitchGroupSlots,
81
81
  } from './types';
82
- export type { BbSwitchGroupProps, BbSwitchGroupEvents, BbSwitchGroupSlots };
83
82
 
84
83
  const props = withDefaults(defineProps<BbSwitchGroupProps<T>>(), {
85
84
  inputPosition: 'left',
package/dist/ai/BbTab.md CHANGED
@@ -128,13 +128,6 @@ import type {
128
128
  BbTabInertiaOptions,
129
129
  BbTabSlots,
130
130
  } from './types';
131
- export type {
132
- BbTabProps,
133
- BbTabEvents,
134
- BbTabItem,
135
- BbTabInertiaOptions,
136
- BbTabSlots,
137
- } from './types';
138
131
 
139
132
  const props = withDefaults(defineProps<BbTabProps<K>>(), {
140
133
  animateX: true,
package/dist/ai/BbTag.md CHANGED
@@ -67,7 +67,6 @@ import BaseInputContainer from '../BaseInputContainer/BaseInputContainer.vue';
67
67
  import BaseTag from '../BaseTag/BaseTag.vue';
68
68
  import { ref, computed } from 'vue';
69
69
  import type { BbTagProps, BbTagEvents, BbTagSlots } from './types';
70
- export type { BbTagProps, BbTagEvents, BbTagSlots };
71
70
 
72
71
  const props = withDefaults(defineProps<BbTagProps>(), {
73
72
  multiple: true,
@@ -67,7 +67,6 @@ import type {
67
67
  BbTextInputEvents,
68
68
  BbTextInputSlots,
69
69
  } from './types';
70
- export type { BbTextInputProps, BbTextInputEvents, BbTextInputSlots };
71
70
 
72
71
  const props = defineProps<BbTextInputProps>();
73
72
 
@@ -62,7 +62,6 @@ import type {
62
62
  BbTextareaEvents,
63
63
  BbTextareaSlots,
64
64
  } from './types';
65
- export type { BbTextareaProps, BbTextareaEvents, BbTextareaSlots };
66
65
 
67
66
  const props = defineProps<BbTextareaProps>();
68
67
 
@@ -23,7 +23,6 @@ const { dismiss } = useToast();
23
23
 
24
24
  import BbToastMessage from './BbToastMessage.vue';
25
25
  import type { BbToastProps } from './types';
26
- export type { BbToastProps };
27
26
 
28
27
  withDefaults(defineProps<BbToastProps>(), {
29
28
  placement: 'bottom',
@@ -65,7 +65,6 @@ import { useElementSize } from '@vueuse/core';
65
65
  import { extractDomContainer } from '@/utilities/functions/extractDomContainer';
66
66
  import { parseWidthString } from '@/utilities/functions/parseWidthString';
67
67
  import type { BbTooltipProps, BbTooltipSlots } from './types';
68
- export type { BbTooltipProps, BbTooltipSlots };
69
68
 
70
69
  const props = withDefaults(defineProps<BbTooltipProps>(), {
71
70
  arrowPadding: 10,
package/dist/ai/BbTree.md CHANGED
@@ -100,7 +100,6 @@
100
100
  import { flattenTree } from '@/utilities/functions/flattenTree';
101
101
  import { computed } from 'vue';
102
102
  import type { BbTreeProps, TreeItem, BbTreeSlots } from './types';
103
- export type { BbTreeProps, TreeItem, BbTreeSlots };
104
103
 
105
104
  const props = withDefaults(defineProps<BbTreeProps>(), {
106
105
  identifier: 'id',
@@ -27,7 +27,6 @@ import { watch } from 'vue';
27
27
  import BbChip from '../BbChip/BbChip.vue';
28
28
  import type { Option } from '@/types/Option';
29
29
  import type { ChipsBoxProps, ChipsBoxEvents } from './types';
30
- export type { ChipsBoxProps, ChipsBoxEvents };
31
30
 
32
31
  const props = defineProps<ChipsBoxProps>();
33
32
 
@@ -24,16 +24,6 @@
24
24
 
25
25
  <script setup lang="ts">
26
26
  import { useLocale } from '@/composables/useLocale';
27
- import type {
28
- ClearableButtonProps,
29
- ClearableButtonEvents,
30
- ClearableButtonSlots,
31
- } from './types';
32
- export type {
33
- ClearableButtonProps,
34
- ClearableButtonEvents,
35
- ClearableButtonSlots,
36
- };
37
27
 
38
28
  const { t } = useLocale();
39
29
  </script>
@@ -27,7 +27,6 @@ import { ref } from 'vue';
27
27
  import { watch } from 'vue';
28
28
  import type { Option } from '@/types/Option';
29
29
  import type { CommaBoxProps, CommaBoxEvents } from './types';
30
- export type { CommaBoxProps, CommaBoxEvents };
31
30
 
32
31
  const props = defineProps<CommaBoxProps>();
33
32
 
@@ -54,11 +54,6 @@ import type {
54
54
  CommonInputInnerContainerEvents,
55
55
  CommonInputInnerContainerSlots,
56
56
  } from './types';
57
- export type {
58
- CommonInputInnerContainerProps,
59
- CommonInputInnerContainerEvents,
60
- CommonInputInnerContainerSlots,
61
- };
62
57
 
63
58
  const props = defineProps<CommonInputInnerContainerProps>();
64
59
 
@@ -13,7 +13,6 @@
13
13
 
14
14
  <script setup lang="ts">
15
15
  import type { CommonInputOuterContainerSlots } from './types';
16
- export type { CommonInputOuterContainerSlots };
17
16
 
18
17
  defineSlots<CommonInputOuterContainerSlots>();
19
18
  </script>
@@ -48,8 +48,6 @@ import {
48
48
  } from '@floating-ui/vue';
49
49
  import { computed, nextTick, onMounted, ref, watch } from 'vue';
50
50
  import type { CommonPopoverProps, CommonPopoverSlots } from './types';
51
- export type { CommonPopoverProps, CommonPopoverSlots };
52
- export type { CommonPopoverProps as BubbleProps } from './types';
53
51
 
54
52
  const props = withDefaults(defineProps<CommonPopoverProps>(), {
55
53
  transitionDuration: 250,
@@ -31,10 +31,7 @@
31
31
  </svg>
32
32
  </template>
33
33
 
34
- <script setup lang="ts">
35
- import type { ErrorIconProps, ErrorIconEvents, ErrorIconSlots } from './types';
36
- export type { ErrorIconProps, ErrorIconEvents, ErrorIconSlots };
37
- </script>
34
+ <script setup lang="ts"></script>
38
35
 
39
36
  <style lang="postcss">
40
37
  @import './index.css';
@@ -112,7 +112,6 @@ import type {
112
112
  FlatListBoxEvents,
113
113
  FlatListBoxSlots,
114
114
  } from './types';
115
- export type { FlatListBoxProps, FlatListBoxEvents, FlatListBoxSlots };
116
115
  import { hash } from '@/utilities/functions/hash';
117
116
  import { useLocale } from '@/composables/useLocale';
118
117
  import { useListboxFocus } from '@/composables/useListboxFocus';
@@ -150,7 +150,6 @@ import type {
150
150
  GroupedListBoxEvents,
151
151
  GroupedListBoxSlots,
152
152
  } from './types';
153
- export type { GroupedListBoxProps, GroupedListBoxEvents, GroupedListBoxSlots };
154
153
  import { useLocale } from '@/composables/useLocale';
155
154
  import { useListboxFocus } from '@/composables/useListboxFocus';
156
155
  import { indexBy } from '@/utilities/functions/indexBy';
@@ -61,7 +61,6 @@ import type {
61
61
  ListBoxEvents,
62
62
  ListBoxSlots,
63
63
  } from './types';
64
- export type { ListBoxExposed, ListBoxProps, ListBoxEvents, ListBoxSlots };
65
64
  import FlatListBox from '../FlatListBox/FlatListBox.vue';
66
65
  import GroupedListBox from '../GroupedListBox/GroupedListBox.vue';
67
66
 
@@ -77,9 +77,7 @@
77
77
 
78
78
  <script setup lang="ts" generic="T = any">
79
79
  import { useLocale } from '@/composables/useLocale';
80
- import type { Option } from '@/types/Option';
81
80
  import type { OptionsContainerProps, OptionsContainerSlots } from './types';
82
- export type { OptionsContainerProps, OptionsContainerSlots };
83
81
 
84
82
  const props = defineProps<OptionsContainerProps<T>>();
85
83
 
@@ -1,5 +1,5 @@
1
1
  import { InputHTMLAttributes, HTMLAttributes } from 'vue';
2
- import { BbIconProps } from '../BbIcon/BbIcon.vue';
2
+ import { BbIconProps } from '../BbIcon/types';
3
3
  /**
4
4
  * Props for the star rating input component with customizable star count and visual feedback.
5
5
  */
@@ -1,7 +1,6 @@
1
1
  import { nextTick } from 'vue';
2
2
  import { Option as BaseOption } from '../../types/Option';
3
- import { BaseTagProps, BaseTagEvents, BaseTagSlots } from './types';
4
- export type { BaseTagProps, BaseTagEvents, BaseTagSlots };
3
+ import { BaseTagProps, BaseTagSlots } from './types';
5
4
  declare function __VLS_template(): {
6
5
  attrs: Partial<{}>;
7
6
  slots: Readonly<BaseTagSlots> & BaseTagSlots;
@@ -1,5 +1,4 @@
1
- import { BbAccordionProps, BbAccordionEvents, BbAccordionSlots } from './types';
2
- export type { BbAccordionProps, BbAccordionEvents, BbAccordionSlots };
1
+ import { BbAccordionProps, BbAccordionSlots } from './types';
3
2
  declare function __VLS_template(): {
4
3
  attrs: Partial<{}>;
5
4
  slots: Readonly<BbAccordionSlots> & BbAccordionSlots;
@@ -1,4 +1,4 @@
1
- import { BbCollapsibleProps } from '../BbCollapsible/BbCollapsible.vue';
1
+ import { BbCollapsibleProps } from '../BbCollapsible/types';
2
2
  import { CommonProps } from '../../types/CommonProps';
3
3
  export type BbAccordionProps = Pick<BbCollapsibleProps, 'eager' | 'transitionDuration'> & {
4
4
  /**
@@ -1,5 +1,4 @@
1
- import { BbAlertProps, BbAlertEvents, BbAlertSlots } from './types';
2
- export type { BbAlertProps, BbAlertEvents, BbAlertSlots };
1
+ import { BbAlertProps, BbAlertSlots } from './types';
3
2
  declare function __VLS_template(): {
4
3
  attrs: Partial<{}>;
5
4
  slots: Readonly<BbAlertSlots> & BbAlertSlots;
@@ -1,5 +1,5 @@
1
1
  import { CommonProps } from '../../types/CommonProps';
2
- import { BbIconProps } from '../BbIcon/BbIcon.vue';
2
+ import { BbIconProps } from '../BbIcon/types';
3
3
  export type BbAlertProps = Pick<CommonProps, 'closeLabel' | 'showClose' | 'text' | 'theme' | 'title'> & {
4
4
  /**
5
5
  * Name of the icon to use.
@@ -1,5 +1,4 @@
1
1
  import { BbAvatarProps, BbAvatarSlots } from './types';
2
- export type { BbAvatarProps, BbAvatarSlots };
3
2
  declare function __VLS_template(): {
4
3
  attrs: Partial<{}>;
5
4
  slots: Readonly<BbAvatarSlots> & BbAvatarSlots;
@@ -1,5 +1,4 @@
1
1
  import { BbBadgeProps, BbBadgeSlots } from './types';
2
- export type { BbBadgeProps, BbBadgeSlots };
3
2
  declare function __VLS_template(): {
4
3
  attrs: Partial<{}>;
5
4
  slots: Readonly<BbBadgeSlots> & BbBadgeSlots;
@@ -8,6 +8,10 @@ export type BbBadgeProps = Pick<CommonProps, 'color'> & {
8
8
  * Text content of the badge.
9
9
  */
10
10
  content?: string | number | null;
11
+ /**
12
+ * Renders a small dot with no content instead of the full badge.
13
+ */
14
+ dot?: boolean;
11
15
  /**
12
16
  * Renders the badge a little further from the wrapped component,
13
17
  * making it look like it's floating and not stacked.