bitboss-ui 3.0.0-beta.52 → 3.0.0-beta.53

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 (86) hide show
  1. package/bin/bitboss-ui-mcp.mjs +16 -8
  2. package/dist/ai/BbBadge.md +3 -2
  3. package/dist/ai/BbColorPalette.md +4 -3
  4. package/dist/ai/BbDatePicker.md +1 -1
  5. package/dist/ai/BbDropdown.md +6 -2
  6. package/dist/ai/BbForm.md +25 -17
  7. package/dist/ai/BbHoverCard.md +1 -1
  8. package/dist/ai/BbPopover.md +5 -3
  9. package/dist/ai/BbSelectPopover.md +1 -1
  10. package/dist/ai/BbTable.md +120 -28
  11. package/dist/ai/BbTimePicker.md +1 -1
  12. package/dist/ai/BbTooltip.md +1 -1
  13. package/dist/ai/CommonPopover.md +1 -1
  14. package/dist/ai/changelog.json +52 -3
  15. package/dist/ai/components.json +14 -14
  16. package/dist/ai/guides/component-picker.md +1 -1
  17. package/dist/ai/guides/migration/from-async-validator.md +60 -46
  18. package/dist/ai/guides/migration/v2-to-v3.md +24 -0
  19. package/dist/ai/guides/options-items-playbook.md +5 -5
  20. package/dist/ai/guides/validated-forms.md +19 -8
  21. package/dist/ai/helpers/inertia/manifest.json +1 -1
  22. package/dist/ai/manifest/components/BbBadge.json +1 -1
  23. package/dist/ai/manifest/components/BbColorPalette.json +1 -1
  24. package/dist/ai/manifest/components/BbDatePicker.json +1 -1
  25. package/dist/ai/manifest/components/BbDropdown.json +1 -1
  26. package/dist/ai/manifest/components/BbHoverCard.json +1 -1
  27. package/dist/ai/manifest/components/BbPopover.json +1 -1
  28. package/dist/ai/manifest/components/BbSelectPopover.json +1 -1
  29. package/dist/ai/manifest/components/BbTable.json +4 -4
  30. package/dist/ai/manifest/components/BbTable.tree.json +18 -0
  31. package/dist/ai/manifest/components/BbTimePicker.json +1 -1
  32. package/dist/ai/manifest/components/BbTooltip.json +1 -1
  33. package/dist/ai/manifest/components/CommonPopover.json +1 -1
  34. package/dist/ai/manifest/index.json +2 -2
  35. package/dist/ai/manifest/types.api.json +1 -1
  36. package/dist/ai/recipes/inertia/approvals-inbox.md +1 -1
  37. package/dist/ai/recipes/nuxt/approvals-inbox.md +1 -1
  38. package/dist/ai/recipes/vue/approvals-inbox.md +1 -1
  39. package/dist/ai/source/BbBadge.md +3 -4
  40. package/dist/ai/source/BbBadgeButton.md +3 -4
  41. package/dist/ai/source/BbColorPalette.md +3 -1
  42. package/dist/ai/source/BbDatePicker.md +4 -1
  43. package/dist/ai/source/BbDropdown.md +5 -3
  44. package/dist/ai/source/BbDropdownGroup.md +5 -3
  45. package/dist/ai/source/BbHoverCard.md +3 -2
  46. package/dist/ai/source/BbHoverCardPortal.md +3 -2
  47. package/dist/ai/source/BbPopover.md +3 -2
  48. package/dist/ai/source/BbPopoverPortal.md +3 -2
  49. package/dist/ai/source/BbSelectPopover.md +3 -1
  50. package/dist/ai/source/BbTable.md +315 -59
  51. package/dist/ai/source/BbTimePicker.md +4 -1
  52. package/dist/ai/source/BbTooltip.md +3 -2
  53. package/dist/ai/source/CommonPopover.md +11 -8
  54. package/dist/components/BbBadge/types.d.ts +3 -4
  55. package/dist/components/BbColorPalette/types.d.ts +3 -1
  56. package/dist/components/BbDatePicker/types.d.ts +4 -1
  57. package/dist/components/BbDropdown/types.d.ts +5 -3
  58. package/dist/components/BbHoverCard/types.d.ts +3 -2
  59. package/dist/components/BbPopover/types.d.ts +3 -2
  60. package/dist/components/BbSelectPopover/types.d.ts +3 -1
  61. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +931 -891
  62. package/dist/components/BbTable/BbTableDataRow.js +76 -78
  63. package/dist/components/BbTable/types.d.ts +21 -6
  64. package/dist/components/BbTable/useRowReorder.js +217 -195
  65. package/dist/components/BbTable/utils.d.ts +21 -0
  66. package/dist/components/BbTable/utils.js +19 -16
  67. package/dist/components/BbTable/warroom/harness.d.ts +7 -0
  68. package/dist/components/BbTimePicker/types.d.ts +4 -1
  69. package/dist/components/BbTooltip/types.d.ts +3 -2
  70. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +1 -1
  71. package/dist/components/CommonPopover/types.d.ts +4 -4
  72. package/dist/composables/useBaseOptions.d.ts +3 -3
  73. package/dist/composables/useBaseOptions.js +11 -11
  74. package/dist/composables/useItemText.d.ts +5 -0
  75. package/dist/composables/useItemText.js +14 -14
  76. package/dist/composables/useItemValue.js +9 -9
  77. package/dist/composables/useItemsGetter.js +55 -51
  78. package/dist/composables/useSegmentedFields.js +6 -1
  79. package/dist/composables/useTableWidthContext.d.ts +6 -0
  80. package/dist/composables/useTableWidthContext.js +2 -1
  81. package/dist/llms-full.txt +281 -124
  82. package/dist/llms-medium.txt +1 -1
  83. package/dist/styles.css +2 -2
  84. package/dist/utils/versionCheck.js +1 -1
  85. package/package.json +2 -1
  86. package/scripts/lib/hand-roll-hints.mjs +11 -2
@@ -731,7 +731,10 @@ export type BbDatePickerProps = {
731
731
  offset?: number;
732
732
  /** Minimum empty space to keep from the edge of the page. */
733
733
  padding?: number;
734
- /** Constrains the popover within a bounding element or CSS selector. */
734
+ /**
735
+ * Constrains the popover within a bounding element or CSS selector:
736
+ * sideways only, alongside the trigger; it flips at the viewport.
737
+ */
735
738
  boundary?: ElementOrComponentRefOrSelector;
736
739
  /** Disable the automatic flip to the opposite side on overflow. */
737
740
  disableFlip?: boolean;
@@ -1959,7 +1959,7 @@ export type InternalGroup = DropdownEntryBase & {
1959
1959
  | DropdownGroupItemsGetter;
1960
1960
  /**
1961
1961
  * Pipeline groups only. Path/getter producing each item's display text
1962
- * (a string item is its own text).
1962
+ * (a primitive item is its own text; a getter still maps it).
1963
1963
  *
1964
1964
  * Unset: own `label`, else `text` (`{ label, value }` needs no accessor).
1965
1965
  *
@@ -2370,8 +2370,10 @@ export type BbDropdownProps = {
2370
2370
  */
2371
2371
  anchor?: HTMLElement | Record<string, any> | null;
2372
2372
  /**
2373
- * Constrains the dropdown within a bounding element.
2374
- * Accepts an HTMLElement, a Vue component ref, or a CSS selector string.
2373
+ * Keeps the panel inside this element alongside its trigger (sideways for
2374
+ * a menu above or below); away from the trigger it may pass the edge, and
2375
+ * only the viewport flips it. An HTMLElement, a component ref or a CSS
2376
+ * selector: a `useTemplateRef`, never `$refs.x` (not reactive).
2375
2377
  */
2376
2378
  boundary?: HTMLElement | Record<string, any> | string | null;
2377
2379
  /**
@@ -539,7 +539,7 @@ export type InternalGroup = DropdownEntryBase & {
539
539
  | DropdownGroupItemsGetter;
540
540
  /**
541
541
  * Pipeline groups only. Path/getter producing each item's display text
542
- * (a string item is its own text).
542
+ * (a primitive item is its own text; a getter still maps it).
543
543
  *
544
544
  * Unset: own `label`, else `text` (`{ label, value }` needs no accessor).
545
545
  *
@@ -950,8 +950,10 @@ export type BbDropdownProps = {
950
950
  */
951
951
  anchor?: HTMLElement | Record<string, any> | null;
952
952
  /**
953
- * Constrains the dropdown within a bounding element.
954
- * Accepts an HTMLElement, a Vue component ref, or a CSS selector string.
953
+ * Keeps the panel inside this element alongside its trigger (sideways for
954
+ * a menu above or below); away from the trigger it may pass the edge, and
955
+ * only the viewport flips it. An HTMLElement, a component ref or a CSS
956
+ * selector: a `useTemplateRef`, never `$refs.x` (not reactive).
955
957
  */
956
958
  boundary?: HTMLElement | Record<string, any> | string | null;
957
959
  /**
@@ -764,8 +764,9 @@ export type BbHoverCardProps = {
764
764
  */
765
765
  activator?: ElementOrComponentRef;
766
766
  /**
767
- * Constrains the card within a bounding element.
768
- * When provided, the card will not overflow this container's bounds (e.g. a sidebar).
767
+ * Constrains the card within a bounding element: it stays inside it
768
+ * alongside its trigger (sideways for a card above or below); away from
769
+ * the trigger it may pass the edge, and it flips at the viewport only.
769
770
  * Accepts an HTMLElement, a Vue component ref, or a CSS selector string.
770
771
  */
771
772
  boundary?: ElementOrComponentRefOrSelector;
@@ -103,8 +103,9 @@ export type BbHoverCardProps = {
103
103
  */
104
104
  activator?: ElementOrComponentRef;
105
105
  /**
106
- * Constrains the card within a bounding element.
107
- * When provided, the card will not overflow this container's bounds (e.g. a sidebar).
106
+ * Constrains the card within a bounding element: it stays inside it
107
+ * alongside its trigger (sideways for a card above or below); away from
108
+ * the trigger it may pass the edge, and it flips at the viewport only.
108
109
  * Accepts an HTMLElement, a Vue component ref, or a CSS selector string.
109
110
  */
110
111
  boundary?: ElementOrComponentRefOrSelector;
@@ -990,8 +990,9 @@ export type BbPopoverProps = {
990
990
  */
991
991
  adaptive?: boolean;
992
992
  /**
993
- * Constrains the popover within a bounding element.
994
- * When provided, the popover will not overflow this container's bounds (e.g. a sidebar).
993
+ * Constrains the popover within a bounding element: it stays inside it
994
+ * alongside its trigger (sideways for a popover above or below); away from
995
+ * the trigger it may pass the edge, and it flips at the viewport only.
995
996
  * Accepts an HTMLElement, a Vue component ref, or a CSS selector string.
996
997
  */
997
998
  boundary?: ElementOrComponentRefOrSelector;
@@ -117,8 +117,9 @@ export type BbPopoverProps = {
117
117
  */
118
118
  adaptive?: boolean;
119
119
  /**
120
- * Constrains the popover within a bounding element.
121
- * When provided, the popover will not overflow this container's bounds (e.g. a sidebar).
120
+ * Constrains the popover within a bounding element: it stays inside it
121
+ * alongside its trigger (sideways for a popover above or below); away from
122
+ * the trigger it may pass the edge, and it flips at the viewport only.
122
123
  * Accepts an HTMLElement, a Vue component ref, or a CSS selector string.
123
124
  */
124
125
  boundary?: ElementOrComponentRefOrSelector;
@@ -2344,7 +2344,9 @@ export type BbSelectPopoverProps<Item> = {
2344
2344
  */
2345
2345
  autocomplete?: InputHTMLAttributes['autocomplete'];
2346
2346
  /**
2347
- * Constrains the popover to a specific boundary element.
2347
+ * Constrains the popover to a specific boundary element: it stays inside
2348
+ * it alongside its trigger (sideways for a popover above or below); away
2349
+ * from the trigger it may pass the edge, and it flips at the viewport only.
2348
2350
  */
2349
2351
  boundary?: HTMLElement | Record<string, any> | string | null;
2350
2352
  /**