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.
- package/bin/bitboss-ui-mcp.mjs +16 -8
- package/dist/ai/BbBadge.md +3 -2
- package/dist/ai/BbColorPalette.md +4 -3
- package/dist/ai/BbDatePicker.md +1 -1
- package/dist/ai/BbDropdown.md +6 -2
- package/dist/ai/BbForm.md +25 -17
- package/dist/ai/BbHoverCard.md +1 -1
- package/dist/ai/BbPopover.md +5 -3
- package/dist/ai/BbSelectPopover.md +1 -1
- package/dist/ai/BbTable.md +120 -28
- package/dist/ai/BbTimePicker.md +1 -1
- package/dist/ai/BbTooltip.md +1 -1
- package/dist/ai/CommonPopover.md +1 -1
- package/dist/ai/changelog.json +52 -3
- package/dist/ai/components.json +14 -14
- package/dist/ai/guides/component-picker.md +1 -1
- package/dist/ai/guides/migration/from-async-validator.md +60 -46
- package/dist/ai/guides/migration/v2-to-v3.md +24 -0
- package/dist/ai/guides/options-items-playbook.md +5 -5
- package/dist/ai/guides/validated-forms.md +19 -8
- package/dist/ai/helpers/inertia/manifest.json +1 -1
- package/dist/ai/manifest/components/BbBadge.json +1 -1
- package/dist/ai/manifest/components/BbColorPalette.json +1 -1
- package/dist/ai/manifest/components/BbDatePicker.json +1 -1
- package/dist/ai/manifest/components/BbDropdown.json +1 -1
- package/dist/ai/manifest/components/BbHoverCard.json +1 -1
- package/dist/ai/manifest/components/BbPopover.json +1 -1
- package/dist/ai/manifest/components/BbSelectPopover.json +1 -1
- package/dist/ai/manifest/components/BbTable.json +4 -4
- package/dist/ai/manifest/components/BbTable.tree.json +18 -0
- package/dist/ai/manifest/components/BbTimePicker.json +1 -1
- package/dist/ai/manifest/components/BbTooltip.json +1 -1
- package/dist/ai/manifest/components/CommonPopover.json +1 -1
- package/dist/ai/manifest/index.json +2 -2
- package/dist/ai/manifest/types.api.json +1 -1
- package/dist/ai/recipes/inertia/approvals-inbox.md +1 -1
- package/dist/ai/recipes/nuxt/approvals-inbox.md +1 -1
- package/dist/ai/recipes/vue/approvals-inbox.md +1 -1
- package/dist/ai/source/BbBadge.md +3 -4
- package/dist/ai/source/BbBadgeButton.md +3 -4
- package/dist/ai/source/BbColorPalette.md +3 -1
- package/dist/ai/source/BbDatePicker.md +4 -1
- package/dist/ai/source/BbDropdown.md +5 -3
- package/dist/ai/source/BbDropdownGroup.md +5 -3
- package/dist/ai/source/BbHoverCard.md +3 -2
- package/dist/ai/source/BbHoverCardPortal.md +3 -2
- package/dist/ai/source/BbPopover.md +3 -2
- package/dist/ai/source/BbPopoverPortal.md +3 -2
- package/dist/ai/source/BbSelectPopover.md +3 -1
- package/dist/ai/source/BbTable.md +315 -59
- package/dist/ai/source/BbTimePicker.md +4 -1
- package/dist/ai/source/BbTooltip.md +3 -2
- package/dist/ai/source/CommonPopover.md +11 -8
- package/dist/components/BbBadge/types.d.ts +3 -4
- package/dist/components/BbColorPalette/types.d.ts +3 -1
- package/dist/components/BbDatePicker/types.d.ts +4 -1
- package/dist/components/BbDropdown/types.d.ts +5 -3
- package/dist/components/BbHoverCard/types.d.ts +3 -2
- package/dist/components/BbPopover/types.d.ts +3 -2
- package/dist/components/BbSelectPopover/types.d.ts +3 -1
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +931 -891
- package/dist/components/BbTable/BbTableDataRow.js +76 -78
- package/dist/components/BbTable/types.d.ts +21 -6
- package/dist/components/BbTable/useRowReorder.js +217 -195
- package/dist/components/BbTable/utils.d.ts +21 -0
- package/dist/components/BbTable/utils.js +19 -16
- package/dist/components/BbTable/warroom/harness.d.ts +7 -0
- package/dist/components/BbTimePicker/types.d.ts +4 -1
- package/dist/components/BbTooltip/types.d.ts +3 -2
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/CommonPopover/types.d.ts +4 -4
- package/dist/composables/useBaseOptions.d.ts +3 -3
- package/dist/composables/useBaseOptions.js +11 -11
- package/dist/composables/useItemText.d.ts +5 -0
- package/dist/composables/useItemText.js +14 -14
- package/dist/composables/useItemValue.js +9 -9
- package/dist/composables/useItemsGetter.js +55 -51
- package/dist/composables/useSegmentedFields.js +6 -1
- package/dist/composables/useTableWidthContext.d.ts +6 -0
- package/dist/composables/useTableWidthContext.js +2 -1
- package/dist/llms-full.txt +281 -124
- package/dist/llms-medium.txt +1 -1
- package/dist/styles.css +2 -2
- package/dist/utils/versionCheck.js +1 -1
- package/package.json +2 -1
- 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
|
-
/**
|
|
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
|
|
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
|
-
*
|
|
2374
|
-
*
|
|
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
|
|
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
|
-
*
|
|
954
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
/**
|