@adyen/bento-vue2 1.24.0 → 1.25.0

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 (188) hide show
  1. package/dist/@types/index.d.ts +415 -528
  2. package/dist/accordion.js +2 -2
  3. package/dist/action-bar.js +6 -6
  4. package/dist/alert.js +69 -104
  5. package/dist/alert.js.map +1 -1
  6. package/dist/assets/base-modal.css +1 -1
  7. package/dist/assets/dialog-page.css +1 -1
  8. package/dist/assets/dropdown.css +1 -1
  9. package/dist/assets/index.css +1 -1
  10. package/dist/assets/index10.css +1 -1
  11. package/dist/assets/index11.css +1 -1
  12. package/dist/assets/index12.css +1 -1
  13. package/dist/assets/index13.css +1 -1
  14. package/dist/assets/index14.css +1 -1
  15. package/dist/assets/index15.css +1 -1
  16. package/dist/assets/index16.css +1 -1
  17. package/dist/assets/index17.css +1 -1
  18. package/dist/assets/index18.css +1 -1
  19. package/dist/assets/index19.css +1 -1
  20. package/dist/assets/index2.css +1 -1
  21. package/dist/assets/index20.css +1 -1
  22. package/dist/assets/index21.css +1 -1
  23. package/dist/assets/index22.css +1 -1
  24. package/dist/assets/index23.css +1 -1
  25. package/dist/assets/index24.css +1 -1
  26. package/dist/assets/index25.css +1 -1
  27. package/dist/assets/index26.css +1 -1
  28. package/dist/assets/index27.css +1 -1
  29. package/dist/assets/index28.css +1 -1
  30. package/dist/assets/index29.css +1 -1
  31. package/dist/assets/index3.css +1 -1
  32. package/dist/assets/index30.css +1 -1
  33. package/dist/assets/index31.css +1 -1
  34. package/dist/assets/index32.css +1 -1
  35. package/dist/assets/index33.css +1 -1
  36. package/dist/assets/index34.css +1 -1
  37. package/dist/assets/index35.css +1 -1
  38. package/dist/assets/index36.css +1 -1
  39. package/dist/assets/index37.css +1 -1
  40. package/dist/assets/index38.css +1 -1
  41. package/dist/assets/index39.css +1 -1
  42. package/dist/assets/index40.css +1 -1
  43. package/dist/assets/index41.css +1 -1
  44. package/dist/assets/index42.css +1 -1
  45. package/dist/assets/index43.css +1 -1
  46. package/dist/assets/index44.css +1 -1
  47. package/dist/assets/index45.css +1 -1
  48. package/dist/assets/index46.css +1 -1
  49. package/dist/assets/index47.css +1 -1
  50. package/dist/assets/index48.css +1 -1
  51. package/dist/assets/index5.css +1 -1
  52. package/dist/assets/index6.css +1 -1
  53. package/dist/assets/index7.css +1 -1
  54. package/dist/assets/index8.css +1 -1
  55. package/dist/assets/index9.css +1 -1
  56. package/dist/assets/{listbox.css → use-cached-selected-values.css} +1 -1
  57. package/dist/avatar-image.js +1 -1
  58. package/dist/badge.js +1 -1
  59. package/dist/button.js +5 -5
  60. package/dist/card.js +83 -180
  61. package/dist/card.js.map +1 -1
  62. package/dist/checkbox.js +5 -5
  63. package/dist/chunks/{base-button.090f511d.js → base-button.773343f6.js} +2 -2
  64. package/dist/chunks/{base-button.090f511d.js.map → base-button.773343f6.js.map} +1 -1
  65. package/dist/chunks/{base-modal.aa09a60c.js → base-modal.2d596e6f.js} +6 -6
  66. package/dist/chunks/{base-modal.aa09a60c.js.map → base-modal.2d596e6f.js.map} +1 -1
  67. package/dist/chunks/{button-actions-with-menu.879c4573.js → button-actions-with-menu.d08d2c51.js} +4 -4
  68. package/dist/chunks/{button-actions-with-menu.879c4573.js.map → button-actions-with-menu.d08d2c51.js.map} +1 -1
  69. package/dist/chunks/{button-actions.239456cb.js → button-actions.a03a672f.js} +3 -3
  70. package/dist/chunks/{button-actions.239456cb.js.map → button-actions.a03a672f.js.map} +1 -1
  71. package/dist/chunks/{button.6e6324f0.js → button.e5f5638f.js} +3 -3
  72. package/dist/chunks/{button.6e6324f0.js.map → button.e5f5638f.js.map} +1 -1
  73. package/dist/chunks/{calendar.1e416969.js → calendar.7d3e2db0.js} +4 -4
  74. package/dist/chunks/{calendar.1e416969.js.map → calendar.7d3e2db0.js.map} +1 -1
  75. package/dist/chunks/{checkbox.f38276e6.js → checkbox.28578383.js} +3 -3
  76. package/dist/chunks/{checkbox.f38276e6.js.map → checkbox.28578383.js.map} +1 -1
  77. package/dist/chunks/{controls-group.f1dfa419.js → controls-group.faa482b2.js} +3 -3
  78. package/dist/chunks/{controls-group.f1dfa419.js.map → controls-group.faa482b2.js.map} +1 -1
  79. package/dist/chunks/{copy.acc9f1b0.js → copy.3c50b447.js} +4 -4
  80. package/dist/chunks/{copy.acc9f1b0.js.map → copy.3c50b447.js.map} +1 -1
  81. package/dist/chunks/dialog-page.286ead53.js +133 -0
  82. package/dist/chunks/dialog-page.286ead53.js.map +1 -0
  83. package/dist/chunks/{dropdown-default-textbox.c1f8fe5f.js → dropdown-default-textbox.a1c0c0fb.js} +2 -2
  84. package/dist/chunks/{dropdown-default-textbox.c1f8fe5f.js.map → dropdown-default-textbox.a1c0c0fb.js.map} +1 -1
  85. package/dist/chunks/dropdown.7d4a8dfc.js +775 -0
  86. package/dist/chunks/dropdown.7d4a8dfc.js.map +1 -0
  87. package/dist/chunks/{error-message.8734e591.js → error-message.db315e68.js} +2 -2
  88. package/dist/chunks/{error-message.8734e591.js.map → error-message.db315e68.js.map} +1 -1
  89. package/dist/chunks/{fixed-scroller.772ad033.js → fixed-scroller.3135f86c.js} +2 -2
  90. package/dist/chunks/{fixed-scroller.772ad033.js.map → fixed-scroller.3135f86c.js.map} +1 -1
  91. package/dist/chunks/{footer-actions.11071f12.js → footer-actions.32891b25.js} +4 -4
  92. package/dist/chunks/{footer-actions.11071f12.js.map → footer-actions.32891b25.js.map} +1 -1
  93. package/dist/chunks/{index.87180cdd.js → index.30948302.js} +138 -119
  94. package/dist/chunks/index.30948302.js.map +1 -0
  95. package/dist/chunks/{index.8e6bc325.js → index.444d221f.js} +3 -3
  96. package/dist/chunks/{index.8e6bc325.js.map → index.444d221f.js.map} +1 -1
  97. package/dist/chunks/{index.73abb1a9.js → index.4b6211c7.js} +27 -27
  98. package/dist/chunks/{index.73abb1a9.js.map → index.4b6211c7.js.map} +1 -1
  99. package/dist/chunks/{index.94980f50.js → index.596c4d0a.js} +2 -2
  100. package/dist/chunks/{index.94980f50.js.map → index.596c4d0a.js.map} +1 -1
  101. package/dist/chunks/{index.ff09389c.js → index.81e509f3.js} +6 -6
  102. package/dist/chunks/{index.ff09389c.js.map → index.81e509f3.js.map} +1 -1
  103. package/dist/chunks/{index.f19887a1.js → index.939dd5cf.js} +2 -2
  104. package/dist/chunks/{index.f19887a1.js.map → index.939dd5cf.js.map} +1 -1
  105. package/dist/chunks/{index.51308a21.js → index.94acf214.js} +3 -3
  106. package/dist/chunks/{index.51308a21.js.map → index.94acf214.js.map} +1 -1
  107. package/dist/chunks/{index.49ce3f6a.js → index.9536a077.js} +3 -3
  108. package/dist/chunks/{index.49ce3f6a.js.map → index.9536a077.js.map} +1 -1
  109. package/dist/chunks/{index.03ae22b4.js → index.9e40ffeb.js} +2 -2
  110. package/dist/chunks/{index.03ae22b4.js.map → index.9e40ffeb.js.map} +1 -1
  111. package/dist/chunks/{index.ba6c1040.js → index.d97166c6.js} +2 -2
  112. package/dist/chunks/{index.ba6c1040.js.map → index.d97166c6.js.map} +1 -1
  113. package/dist/chunks/{index.5d5f2200.js → index.ec632d95.js} +6 -6
  114. package/dist/chunks/{index.5d5f2200.js.map → index.ec632d95.js.map} +1 -1
  115. package/dist/chunks/{listbox-option-tag.c0a56a95.js → listbox-option-tag.95a65534.js} +3 -3
  116. package/dist/chunks/{listbox-option-tag.c0a56a95.js.map → listbox-option-tag.95a65534.js.map} +1 -1
  117. package/dist/chunks/{loading-button.84a5529d.js → loading-button.e8060c04.js} +2 -2
  118. package/dist/chunks/{loading-button.84a5529d.js.map → loading-button.e8060c04.js.map} +1 -1
  119. package/dist/chunks/{payment-method.faa302de.js → payment-method.564ed43a.js} +2 -2
  120. package/dist/chunks/{payment-method.faa302de.js.map → payment-method.564ed43a.js.map} +1 -1
  121. package/dist/chunks/{tooltip.8e9d733c.js → tooltip.e5deb137.js} +3 -3
  122. package/dist/chunks/{tooltip.8e9d733c.js.map → tooltip.e5deb137.js.map} +1 -1
  123. package/dist/chunks/{use-bento-toast-controller.7d4436ad.js → use-bento-toast-controller.8414d283.js} +2 -2
  124. package/dist/chunks/{use-bento-toast-controller.7d4436ad.js.map → use-bento-toast-controller.8414d283.js.map} +1 -1
  125. package/dist/chunks/{listbox.e6e1bc90.js → use-cached-selected-values.3772a679.js} +510 -448
  126. package/dist/chunks/use-cached-selected-values.3772a679.js.map +1 -0
  127. package/dist/code-snippet.js +7 -7
  128. package/dist/code-snippet.js.map +1 -1
  129. package/dist/country.js +2 -2
  130. package/dist/currency.js +1 -1
  131. package/dist/data-grid-template.js +1 -1
  132. package/dist/data-grid.js +758 -725
  133. package/dist/data-grid.js.map +1 -1
  134. package/dist/date-picker.js +19 -19
  135. package/dist/date-range-picker.js +2 -2
  136. package/dist/date.js +1 -1
  137. package/dist/divider.js +1 -1
  138. package/dist/dropdown.js +7 -7
  139. package/dist/empty-state.js +2 -2
  140. package/dist/filter-bar.js +1115 -955
  141. package/dist/filter-bar.js.map +1 -1
  142. package/dist/focus-trap.js +1 -1
  143. package/dist/form-layout.js +2 -2
  144. package/dist/header.js +4 -4
  145. package/dist/index.js +177 -169
  146. package/dist/index.js.map +1 -1
  147. package/dist/info-icon.js +3 -3
  148. package/dist/input-field.js +31 -29
  149. package/dist/input-field.js.map +1 -1
  150. package/dist/internal.js +31 -78
  151. package/dist/internal.js.map +1 -1
  152. package/dist/link.js +1 -1
  153. package/dist/loading-indicator.js +1 -1
  154. package/dist/menu.js +1 -1
  155. package/dist/modal-fullscreen.js +6 -6
  156. package/dist/modal.js +6 -6
  157. package/dist/pagination.js +4 -4
  158. package/dist/payment-method.js +1 -1
  159. package/dist/popover.js +1 -1
  160. package/dist/popper-container.js +1 -1
  161. package/dist/radio-group.js +62 -62
  162. package/dist/radio-group.js.map +1 -1
  163. package/dist/search-bar.js +2 -2
  164. package/dist/secondary-nav.js +2 -2
  165. package/dist/segmented-control.js +3 -3
  166. package/dist/selection-card.js +4 -4
  167. package/dist/sidepanel.js +52 -50
  168. package/dist/sidepanel.js.map +1 -1
  169. package/dist/status.js +2 -2
  170. package/dist/stepper.js +3 -3
  171. package/dist/structured-list.js +1 -1
  172. package/dist/summary-grid.js +3 -3
  173. package/dist/tabs.js +3 -3
  174. package/dist/tag.js +3 -3
  175. package/dist/textarea.js +4 -4
  176. package/dist/timeline.js +7 -7
  177. package/dist/toast.js +4 -4
  178. package/dist/toggle.js +2 -2
  179. package/dist/tutorial.js +6 -6
  180. package/dist/typography.js +1 -1
  181. package/dist/web-types.json +532 -282
  182. package/package.json +3 -2
  183. package/dist/chunks/dialog-page.75b295b7.js +0 -133
  184. package/dist/chunks/dialog-page.75b295b7.js.map +0 -1
  185. package/dist/chunks/dropdown.669b858b.js +0 -797
  186. package/dist/chunks/dropdown.669b858b.js.map +0 -1
  187. package/dist/chunks/index.87180cdd.js.map +0 -1
  188. package/dist/chunks/listbox.e6e1bc90.js.map +0 -1
@@ -28,6 +28,10 @@ declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
28
28
 
29
29
  declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
30
30
 
31
+ declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
32
+
33
+ declare type __VLS_NonUndefinedable_5<T> = T extends undefined ? never : T;
34
+
31
35
  declare type __VLS_TypePropsToRuntimeProps<T> = {
32
36
  [K in keyof T]-?: {} extends Pick<T, K>
33
37
  ? {
@@ -61,6 +65,28 @@ declare type __VLS_TypePropsToRuntimeProps_3<T> = {
61
65
  };
62
66
  };
63
67
 
68
+ declare type __VLS_TypePropsToRuntimeProps_4<T> = {
69
+ [K in keyof T]-?: {} extends Pick<T, K>
70
+ ? {
71
+ type: PropType<__VLS_NonUndefinedable_4<T[K]>>;
72
+ }
73
+ : {
74
+ type: PropType<T[K]>;
75
+ required: true;
76
+ };
77
+ };
78
+
79
+ declare type __VLS_TypePropsToRuntimeProps_5<T> = {
80
+ [K in keyof T]-?: {} extends Pick<T, K>
81
+ ? {
82
+ type: PropType<__VLS_NonUndefinedable_5<T[K]>>;
83
+ }
84
+ : {
85
+ type: PropType<T[K]>;
86
+ required: true;
87
+ };
88
+ };
89
+
64
90
  declare type __VLS_WithDefaults<P, D> = {
65
91
  [K in keyof Pick<P, keyof P>]: K extends keyof D
66
92
  ? P[K] & {
@@ -77,6 +103,22 @@ declare type __VLS_WithDefaults_2<P, D> = {
77
103
  : P[K];
78
104
  };
79
105
 
106
+ declare type __VLS_WithDefaults_3<P, D> = {
107
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
108
+ ? P[K] & {
109
+ default: D[K];
110
+ }
111
+ : P[K];
112
+ };
113
+
114
+ declare type __VLS_WithDefaults_4<P, D> = {
115
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
116
+ ? P[K] & {
117
+ default: D[K];
118
+ }
119
+ : P[K];
120
+ };
121
+
80
122
  declare type __VLS_WithTemplateSlots<T, S> = T & {
81
123
  new (): {
82
124
  $slots: S;
@@ -221,6 +263,18 @@ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
221
263
  };
222
264
  };
223
265
 
266
+ declare type __VLS_WithTemplateSlots_31<T, S> = T & {
267
+ new (): {
268
+ $slots: S;
269
+ };
270
+ };
271
+
272
+ declare type __VLS_WithTemplateSlots_32<T, S> = T & {
273
+ new (): {
274
+ $slots: S;
275
+ };
276
+ };
277
+
224
278
  declare type __VLS_WithTemplateSlots_4<T, S> = T & {
225
279
  new (): {
226
280
  $slots: S;
@@ -589,98 +643,84 @@ export declare type BentoActionBarVariant = 'default' | 'confirmation';
589
643
  * `
590
644
  * }
591
645
  */
592
- export declare const BentoAlert: DefineComponent<
593
- {
594
- /**
595
- * Adds a close button on the right side of the alert
596
- */
597
- closeButton: {
598
- type: BooleanConstructor;
599
- default: boolean;
600
- };
601
- /**
602
- * Type of a alert; set a distinctive icon and color. Defaults to highlight.
603
- * @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING
604
- */
605
- type: {
606
- type: PropType<'critical' | 'success' | 'warning' | 'highlight' | BentoAlertTypeOption>;
607
- default: BentoAlertTypeOption;
608
- validator: (value: BentoAlertTypeOption) => boolean;
609
- };
610
- /**
611
- * Variant for the alert
612
- * @values DEFAULT, TIP
613
- */
614
- variant: {
615
- type: PropType<'default' | 'tip' | BentoAlertVariant>;
616
- default: BentoAlertVariant;
617
- validator: (value: BentoAlertVariant) => boolean;
618
- };
619
- },
620
- {
621
- alertConditionalClasses: ComputedRef<{
622
- [x: string]: boolean | 'critical' | 'success' | 'warning' | 'highlight' | BentoAlertTypeOption;
623
- }>;
624
- computedRole: ComputedRef<'alert' | 'status'>;
625
- descriptionTypography: ComputedRef<{
626
- el: BentoTypographyElement;
627
- variant: BentoTypographyVariant;
628
- wide: boolean;
629
- }>;
630
- iconComponent: ComputedRef<any>;
631
- iconSvgTitle: ComputedRef<string>;
632
- isTipVariant: ComputedRef<boolean>;
633
- onCloseButtonClick: () => void;
634
- hasSlot: (name: string) => boolean;
635
- t: (
636
- key: 'close' | 'highlightIcon' | 'successIcon' | 'criticalIcon' | 'warningIcon',
637
- values?: default_2.Values
638
- ) => string;
639
- BentoTypographyVariant: typeof BentoTypographyVariant;
640
- },
641
- {},
642
- {},
643
- {},
644
- ComponentOptionsMixin,
645
- ComponentOptionsMixin,
646
- BentoAlertEvent[],
647
- string,
648
- Readonly<
649
- ExtractPropTypes<{
650
- /**
651
- * Adds a close button on the right side of the alert
652
- */
653
- closeButton: {
654
- type: BooleanConstructor;
655
- default: boolean;
656
- };
657
- /**
658
- * Type of a alert; set a distinctive icon and color. Defaults to highlight.
659
- * @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING
660
- */
661
- type: {
662
- type: PropType<'critical' | 'success' | 'warning' | 'highlight' | BentoAlertTypeOption>;
663
- default: BentoAlertTypeOption;
664
- validator: (value: BentoAlertTypeOption) => boolean;
665
- };
666
- /**
667
- * Variant for the alert
668
- * @values DEFAULT, TIP
669
- */
670
- variant: {
671
- type: PropType<'default' | 'tip' | BentoAlertVariant>;
672
- default: BentoAlertVariant;
673
- validator: (value: BentoAlertVariant) => boolean;
674
- };
675
- }>
646
+ export declare const BentoAlert: __VLS_WithTemplateSlots_3<
647
+ DefineComponent<
648
+ __VLS_WithDefaults<
649
+ __VLS_TypePropsToRuntimeProps<{
650
+ /**
651
+ * Adds a close button on the right side of the alert
652
+ */
653
+ closeButton?: boolean;
654
+ /**
655
+ * Type of a alert; set a distinctive icon and color. Defaults to highlight.
656
+ * @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING
657
+ */
658
+ type?: BentoAlertTypeOption | `${BentoAlertTypeOption}`;
659
+ /**
660
+ * Variant for the alert
661
+ * @values DEFAULT, TIP
662
+ */
663
+ variant?: BentoAlertVariant | `${BentoAlertVariant}`;
664
+ }>,
665
+ {
666
+ closeButton: boolean;
667
+ type: BentoAlertTypeOption;
668
+ variant: BentoAlertVariant;
669
+ }
670
+ >,
671
+ {},
672
+ {},
673
+ {},
674
+ {},
675
+ ComponentOptionsMixin,
676
+ ComponentOptionsMixin,
677
+ {
678
+ 'close-alert': () => void;
679
+ },
680
+ string,
681
+ Readonly<
682
+ ExtractPropTypes<
683
+ __VLS_WithDefaults<
684
+ __VLS_TypePropsToRuntimeProps<{
685
+ /**
686
+ * Adds a close button on the right side of the alert
687
+ */
688
+ closeButton?: boolean;
689
+ /**
690
+ * Type of a alert; set a distinctive icon and color. Defaults to highlight.
691
+ * @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING
692
+ */
693
+ type?: BentoAlertTypeOption | `${BentoAlertTypeOption}`;
694
+ /**
695
+ * Variant for the alert
696
+ * @values DEFAULT, TIP
697
+ */
698
+ variant?: BentoAlertVariant | `${BentoAlertVariant}`;
699
+ }>,
700
+ {
701
+ closeButton: boolean;
702
+ type: BentoAlertTypeOption;
703
+ variant: BentoAlertVariant;
704
+ }
705
+ >
706
+ >
707
+ >,
708
+ {
709
+ type: BentoAlertTypeOption | `${BentoAlertTypeOption}`;
710
+ variant: BentoAlertVariant | `${BentoAlertVariant}`;
711
+ closeButton: boolean;
712
+ }
676
713
  >,
677
714
  {
678
- type: 'critical' | 'success' | 'warning' | 'highlight' | BentoAlertTypeOption;
679
- variant: 'default' | 'tip' | BentoAlertVariant;
680
- closeButton: boolean;
715
+ default: (_: {}) => any;
716
+ description: (_: {}) => any;
717
+ actions: (_: {}) => any;
681
718
  }
682
719
  >;
683
720
 
721
+ /**
722
+ * @deprecated from version 2.0.0. Use "@close-alert" instead.
723
+ */
684
724
  export declare enum BentoAlertEvent {
685
725
  CLOSE_ALERT = 'close-alert',
686
726
  }
@@ -748,7 +788,7 @@ export declare type BentoBooleanFilterValue = string | null;
748
788
  * `,
749
789
  * }
750
790
  */
751
- export declare const BentoButton: __VLS_WithTemplateSlots_3<
791
+ export declare const BentoButton: __VLS_WithTemplateSlots_4<
752
792
  DefineComponent<
753
793
  {
754
794
  /**
@@ -1162,371 +1202,180 @@ export declare enum BentoButtonVariant {
1162
1202
  * `
1163
1203
  * };
1164
1204
  */
1165
- export declare const BentoCard: DefineComponent<
1166
- {
1167
- /**
1168
- * Defines the color of card background
1169
- */
1170
- background: {
1171
- type: PropType<'primary' | 'secondary' | BentoCardBackground>;
1172
- default: BentoCardBackground;
1173
- validator: (value: BentoCardBackground) => boolean;
1174
- };
1175
- /**
1176
- * Defines the title size of the card header
1177
- */
1178
- titleSize: {
1179
- type: PropType<'default' | 'small' | BentoCardTitleSize>;
1180
- default: BentoCardTitleSize;
1181
- validator: (value: BentoCardTitleSize) => boolean;
1182
- };
1183
- /**
1184
- * The whole content of the card will be expandable in accordion manner
1185
- */
1186
- expandable: {
1187
- type: BooleanConstructor;
1188
- default: boolean;
1189
- };
1190
- /**
1191
- * Sets the expandable card in a closed state
1192
- */
1193
- closed: {
1194
- type: BooleanConstructor;
1195
- default: boolean;
1196
- };
1197
- /**
1198
- * Disables the expandable card
1199
- */
1200
- disabled: {
1201
- type: BooleanConstructor;
1202
- default: boolean;
1203
- };
1204
- /**
1205
- * List of actions that will be used to render the buttons.
1206
- * First element in the list will be rendered as "primary".
1207
- * All elements after the first will be rendered as "secondary".
1208
- *
1209
- * Each object in the list should have a `title`, an `event` and
1210
- * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
1211
- *
1212
- * `title`: Button's text.
1213
- *
1214
- * `event`: Event triggered when clicking the Button.
1215
- *
1216
- * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
1217
- *
1218
- * ```
1219
- * [{
1220
- * title: 'Primary',
1221
- * event: () => { ... },
1222
- * icon: FourPeopleIcon
1223
- * }, {
1224
- * title: 'Secondary',
1225
- * event: () => { ... }
1226
- * }]
1227
- * ```
1228
- */
1229
- actions: {
1230
- type: PropType<BentoButtonActionsList>;
1231
- default: any;
1232
- };
1233
- /**
1234
- * Defines the layout in which the button actions is presented.
1235
- * It can be one of:
1236
- *
1237
- * @values BUTTONS_START
1238
- * @values BUTTONS_END
1239
- * @values FILL_CONTAINER
1240
- * @values SPACE_BETWEEN
1241
- * @values VERTICAL_STACK
1242
- */
1243
- actionsLayout: {
1244
- type: PropType<
1245
- | 'space-between'
1246
- | BentoButtonActionsLayout
1247
- | 'buttons-end'
1248
- | 'fill-container'
1249
- | 'vertical-stack'
1250
- | 'buttons-start'
1251
- >;
1252
- default: BentoButtonActionsLayoutBasic;
1253
- validator: (value: BentoButtonActionsLayout) => boolean;
1254
- };
1255
- },
1256
- {
1257
- cardId: string;
1258
- cardConditionalClasses: ComputedRef<{
1259
- [x: string]: boolean | 'primary' | 'secondary' | BentoCardBackground;
1260
- 'b-card--expandable': boolean;
1261
- 'b-card--disabled': boolean;
1262
- }>;
1263
- cardBodyConditionalClasses: ComputedRef<{
1264
- 'b-card__body--expandable': boolean;
1265
- 'b-card__body--without-header': boolean;
1266
- }>;
1267
- cardHeaderConditionalClasses: ComputedRef<{
1268
- 'b-card__header--expandable': boolean;
1269
- 'b-card__header--without-body': boolean;
1270
- }>;
1271
- cardContentConditionalClasses: ComputedRef<{
1272
- 'b-card__content--without-header': boolean;
1273
- 'b-card__content--expandable': boolean;
1274
- }>;
1275
- cardActionsConditionalClasses: ComputedRef<{
1276
- 'b-card__actions--without-content': boolean;
1277
- 'b-card__actions--without-content-and-with-header': boolean;
1278
- }>;
1279
- cardTitleWrapperConditionalClasses: ComputedRef<{
1280
- 'b-card__title-wrapper--truncated': boolean;
1281
- }>;
1282
- cardToggleConditionalClasses: ComputedRef<{
1283
- 'b-card__toggle--small-text': boolean;
1284
- }>;
1285
- showCardBody: ComputedRef<boolean>;
1286
- showContent: Ref<boolean>;
1287
- tabIndex: ComputedRef<-1 | 0>;
1288
- showHeader: ComputedRef<boolean>;
1289
- showTitleWrapper: ComputedRef<boolean>;
1290
- typography: ComputedRef<
1291
- Readonly<
1292
- Partial<{
1293
- el: 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | BentoTypographyElement;
1294
- wide: boolean;
1295
- stronger: boolean;
1296
- strongest: boolean;
1297
- large: boolean;
1298
- medium: boolean;
1299
- variant: 'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant;
1300
- }> &
1301
- Omit<
1302
- Readonly<
1303
- ExtractPropTypes<{
1304
- el: {
1305
- type: PropType<
1306
- | 'div'
1307
- | 'h1'
1308
- | 'h2'
1309
- | 'h3'
1310
- | 'h4'
1311
- | 'h5'
1312
- | 'h6'
1313
- | 'p'
1314
- | 'span'
1315
- | BentoTypographyElement
1316
- >;
1317
- } & {
1318
- default: BentoTypographyElement;
1319
- };
1320
- wide: {
1321
- type: PropType<boolean>;
1322
- } & {
1323
- default: boolean;
1324
- };
1325
- stronger: {
1326
- type: PropType<boolean>;
1327
- } & {
1328
- default: boolean;
1329
- };
1330
- strongest: {
1331
- type: PropType<boolean>;
1332
- } & {
1333
- default: boolean;
1334
- };
1335
- large: {
1336
- type: PropType<boolean>;
1337
- } & {
1338
- default: boolean;
1339
- };
1340
- medium: {
1341
- type: PropType<boolean>;
1342
- } & {
1343
- default: boolean;
1344
- };
1345
- variant: {
1346
- type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
1347
- } & {
1348
- default: BentoTypographyVariant;
1349
- };
1350
- }>
1351
- >,
1352
- DefaultKeys<{
1353
- el: {
1354
- type: PropType<
1355
- | 'div'
1356
- | 'h1'
1357
- | 'h2'
1358
- | 'h3'
1359
- | 'h4'
1360
- | 'h5'
1361
- | 'h6'
1362
- | 'p'
1363
- | 'span'
1364
- | BentoTypographyElement
1365
- >;
1366
- } & {
1367
- default: BentoTypographyElement;
1368
- };
1369
- wide: {
1370
- type: PropType<boolean>;
1371
- } & {
1372
- default: boolean;
1373
- };
1374
- stronger: {
1375
- type: PropType<boolean>;
1376
- } & {
1377
- default: boolean;
1378
- };
1379
- strongest: {
1380
- type: PropType<boolean>;
1381
- } & {
1382
- default: boolean;
1383
- };
1384
- large: {
1385
- type: PropType<boolean>;
1386
- } & {
1387
- default: boolean;
1388
- };
1389
- medium: {
1390
- type: PropType<boolean>;
1391
- } & {
1392
- default: boolean;
1393
- };
1394
- variant: {
1395
- type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
1396
- } & {
1397
- default: BentoTypographyVariant;
1398
- };
1399
- }>
1400
- >
1205
+ export declare const BentoCard: __VLS_WithTemplateSlots_10<
1206
+ DefineComponent<
1207
+ __VLS_WithDefaults_2<
1208
+ __VLS_TypePropsToRuntimeProps_2<{
1209
+ /**
1210
+ * List of actions that will be used to render the buttons.
1211
+ * First element in the list will be rendered as "primary".
1212
+ * All elements after the first will be rendered as "secondary".
1213
+ *
1214
+ * Each object in the list should have a `title`, an `event` and
1215
+ * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
1216
+ *
1217
+ * `title`: Button's text.
1218
+ *
1219
+ * `event`: Event triggered when clicking the Button.
1220
+ *
1221
+ * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
1222
+ *
1223
+ * ```
1224
+ * [{
1225
+ * title: 'Primary',
1226
+ * event: () => { ... },
1227
+ * icon: FourPeopleIcon
1228
+ * }, {
1229
+ * title: 'Secondary',
1230
+ * event: () => { ... }
1231
+ * }]
1232
+ * ```
1233
+ */
1234
+ actions?: BentoButtonActionsList;
1235
+ /**
1236
+ * Defines the layout in which the button actions is presented.
1237
+ * It can be one of:
1238
+ *
1239
+ * @values BUTTONS_START
1240
+ * @values BUTTONS_END
1241
+ * @values FILL_CONTAINER
1242
+ * @values SPACE_BETWEEN
1243
+ * @values VERTICAL_STACK
1244
+ */
1245
+ actionsLayout?: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
1246
+ /**
1247
+ * Defines the color of card background
1248
+ */
1249
+ background?: BentoCardBackground | `${BentoCardBackground}`;
1250
+ /**
1251
+ * Sets the expandable card in a closed state
1252
+ */
1253
+ closed?: boolean;
1254
+ /**
1255
+ * Disables the expandable card
1256
+ */
1257
+ disabled?: boolean;
1258
+ /**
1259
+ * The whole content of the card will be expandable in accordion manner
1260
+ */
1261
+ expandable?: boolean;
1262
+ /**
1263
+ * Defines the title size of the card header
1264
+ */
1265
+ titleSize?: BentoCardTitleSize | `${BentoCardTitleSize}`;
1266
+ }>,
1267
+ {
1268
+ actions: any;
1269
+ actionsLayout: BentoButtonActionsLayoutBasic;
1270
+ background: BentoCardBackground;
1271
+ closed: boolean;
1272
+ disabled: boolean;
1273
+ expandable: boolean;
1274
+ titleSize: BentoCardTitleSize;
1275
+ }
1276
+ >,
1277
+ {},
1278
+ {},
1279
+ {},
1280
+ {},
1281
+ ComponentOptionsMixin,
1282
+ ComponentOptionsMixin,
1283
+ {
1284
+ click: () => void;
1285
+ } & {
1286
+ expanded: (isExpanded: boolean) => void;
1287
+ },
1288
+ string,
1289
+ Readonly<
1290
+ ExtractPropTypes<
1291
+ __VLS_WithDefaults_2<
1292
+ __VLS_TypePropsToRuntimeProps_2<{
1293
+ /**
1294
+ * List of actions that will be used to render the buttons.
1295
+ * First element in the list will be rendered as "primary".
1296
+ * All elements after the first will be rendered as "secondary".
1297
+ *
1298
+ * Each object in the list should have a `title`, an `event` and
1299
+ * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
1300
+ *
1301
+ * `title`: Button's text.
1302
+ *
1303
+ * `event`: Event triggered when clicking the Button.
1304
+ *
1305
+ * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
1306
+ *
1307
+ * ```
1308
+ * [{
1309
+ * title: 'Primary',
1310
+ * event: () => { ... },
1311
+ * icon: FourPeopleIcon
1312
+ * }, {
1313
+ * title: 'Secondary',
1314
+ * event: () => { ... }
1315
+ * }]
1316
+ * ```
1317
+ */
1318
+ actions?: BentoButtonActionsList;
1319
+ /**
1320
+ * Defines the layout in which the button actions is presented.
1321
+ * It can be one of:
1322
+ *
1323
+ * @values BUTTONS_START
1324
+ * @values BUTTONS_END
1325
+ * @values FILL_CONTAINER
1326
+ * @values SPACE_BETWEEN
1327
+ * @values VERTICAL_STACK
1328
+ */
1329
+ actionsLayout?: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
1330
+ /**
1331
+ * Defines the color of card background
1332
+ */
1333
+ background?: BentoCardBackground | `${BentoCardBackground}`;
1334
+ /**
1335
+ * Sets the expandable card in a closed state
1336
+ */
1337
+ closed?: boolean;
1338
+ /**
1339
+ * Disables the expandable card
1340
+ */
1341
+ disabled?: boolean;
1342
+ /**
1343
+ * The whole content of the card will be expandable in accordion manner
1344
+ */
1345
+ expandable?: boolean;
1346
+ /**
1347
+ * Defines the title size of the card header
1348
+ */
1349
+ titleSize?: BentoCardTitleSize | `${BentoCardTitleSize}`;
1350
+ }>,
1351
+ {
1352
+ actions: any;
1353
+ actionsLayout: BentoButtonActionsLayoutBasic;
1354
+ background: BentoCardBackground;
1355
+ closed: boolean;
1356
+ disabled: boolean;
1357
+ expandable: boolean;
1358
+ titleSize: BentoCardTitleSize;
1359
+ }
1360
+ >
1401
1361
  >
1402
- >;
1403
- contentDiv: Ref<HTMLDivElement>;
1404
- contentMaxHeight: ComputedRef<
1405
- | {
1406
- 'max-height': string;
1407
- }
1408
- | {
1409
- 'max-height'?: undefined;
1410
- }
1411
- >;
1412
- hasSlot: (name: string) => boolean;
1413
- onClick: () => void;
1414
- t: (key: 'showCardContent' | 'hideCardContent', values?: default_2.Values) => string;
1415
- toggleExpansion: () => void;
1416
- },
1417
- {},
1418
- {},
1419
- {},
1420
- ComponentOptionsMixin,
1421
- ComponentOptionsMixin,
1422
- ('click' | 'expanded')[],
1423
- string,
1424
- Readonly<
1425
- ExtractPropTypes<{
1426
- /**
1427
- * Defines the color of card background
1428
- */
1429
- background: {
1430
- type: PropType<'primary' | 'secondary' | BentoCardBackground>;
1431
- default: BentoCardBackground;
1432
- validator: (value: BentoCardBackground) => boolean;
1433
- };
1434
- /**
1435
- * Defines the title size of the card header
1436
- */
1437
- titleSize: {
1438
- type: PropType<'default' | 'small' | BentoCardTitleSize>;
1439
- default: BentoCardTitleSize;
1440
- validator: (value: BentoCardTitleSize) => boolean;
1441
- };
1442
- /**
1443
- * The whole content of the card will be expandable in accordion manner
1444
- */
1445
- expandable: {
1446
- type: BooleanConstructor;
1447
- default: boolean;
1448
- };
1449
- /**
1450
- * Sets the expandable card in a closed state
1451
- */
1452
- closed: {
1453
- type: BooleanConstructor;
1454
- default: boolean;
1455
- };
1456
- /**
1457
- * Disables the expandable card
1458
- */
1459
- disabled: {
1460
- type: BooleanConstructor;
1461
- default: boolean;
1462
- };
1463
- /**
1464
- * List of actions that will be used to render the buttons.
1465
- * First element in the list will be rendered as "primary".
1466
- * All elements after the first will be rendered as "secondary".
1467
- *
1468
- * Each object in the list should have a `title`, an `event` and
1469
- * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
1470
- *
1471
- * `title`: Button's text.
1472
- *
1473
- * `event`: Event triggered when clicking the Button.
1474
- *
1475
- * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
1476
- *
1477
- * ```
1478
- * [{
1479
- * title: 'Primary',
1480
- * event: () => { ... },
1481
- * icon: FourPeopleIcon
1482
- * }, {
1483
- * title: 'Secondary',
1484
- * event: () => { ... }
1485
- * }]
1486
- * ```
1487
- */
1488
- actions: {
1489
- type: PropType<BentoButtonActionsList>;
1490
- default: any;
1491
- };
1492
- /**
1493
- * Defines the layout in which the button actions is presented.
1494
- * It can be one of:
1495
- *
1496
- * @values BUTTONS_START
1497
- * @values BUTTONS_END
1498
- * @values FILL_CONTAINER
1499
- * @values SPACE_BETWEEN
1500
- * @values VERTICAL_STACK
1501
- */
1502
- actionsLayout: {
1503
- type: PropType<
1504
- | 'space-between'
1505
- | BentoButtonActionsLayout
1506
- | 'buttons-end'
1507
- | 'fill-container'
1508
- | 'vertical-stack'
1509
- | 'buttons-start'
1510
- >;
1511
- default: BentoButtonActionsLayoutBasic;
1512
- validator: (value: BentoButtonActionsLayout) => boolean;
1513
- };
1514
- }>
1362
+ >,
1363
+ {
1364
+ titleSize: BentoCardTitleSize | `${BentoCardTitleSize}`;
1365
+ disabled: boolean;
1366
+ background: BentoCardBackground | `${BentoCardBackground}`;
1367
+ actions: BentoButtonActionsList;
1368
+ actionsLayout: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
1369
+ closed: boolean;
1370
+ expandable: boolean;
1371
+ }
1515
1372
  >,
1516
1373
  {
1517
- titleSize: 'default' | 'small' | BentoCardTitleSize;
1518
- disabled: boolean;
1519
- background: 'primary' | 'secondary' | BentoCardBackground;
1520
- actions: BentoButtonActionsList;
1521
- actionsLayout:
1522
- | 'space-between'
1523
- | BentoButtonActionsLayout
1524
- | 'buttons-end'
1525
- | 'fill-container'
1526
- | 'vertical-stack'
1527
- | 'buttons-start';
1528
- closed: boolean;
1529
- expandable: boolean;
1374
+ image: (_: {}) => any;
1375
+ default: (_: {}) => any;
1376
+ header: (_: {}) => any;
1377
+ description: (_: {}) => any;
1378
+ content: (_: {}) => any;
1530
1379
  }
1531
1380
  >;
1532
1381
 
@@ -1880,9 +1729,9 @@ export declare const BentoCheckbox: DefineComponent<
1880
1729
  disabled: boolean;
1881
1730
  tag: any;
1882
1731
  optional: boolean;
1883
- readonly: boolean;
1884
1732
  errorMessage: string;
1885
1733
  ariaLabel: string;
1734
+ readonly: boolean;
1886
1735
  hasError: boolean;
1887
1736
  indeterminate: boolean;
1888
1737
  modelValue: BentoCheckboxType | BentoCheckboxGroupItems;
@@ -2189,11 +2038,11 @@ export declare const BentoCheckboxGroup: DefineComponent<
2189
2038
  variant: 'horizontal' | 'vertical' | BentoCheckboxGroupVariant;
2190
2039
  required: boolean;
2191
2040
  disabled: boolean;
2192
- optional: boolean;
2193
- readonly: boolean;
2194
2041
  tooltipText: string;
2042
+ optional: boolean;
2195
2043
  hideLabel: boolean;
2196
2044
  errorMessage: string;
2045
+ readonly: boolean;
2197
2046
  hasError: boolean;
2198
2047
  modelValue: (string | number)[];
2199
2048
  formId: string;
@@ -4450,7 +4299,7 @@ export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem
4450
4299
  * `
4451
4300
  * }
4452
4301
  */
4453
- export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
4302
+ export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
4454
4303
  DefineComponent<
4455
4304
  {
4456
4305
  /**
@@ -5403,8 +5252,8 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
5403
5252
  condensed: boolean;
5404
5253
  outline: boolean;
5405
5254
  loading: boolean;
5406
- emptyState: any;
5407
5255
  lazyLoadType: BentoLazyLoadType;
5256
+ emptyState: any;
5408
5257
  fitContent: boolean;
5409
5258
  hasResizableColumns: boolean;
5410
5259
  selectableAcrossPages: boolean;
@@ -5527,7 +5376,7 @@ export declare enum BentoDatagridStyleState {
5527
5376
  * `
5528
5377
  * }
5529
5378
  */
5530
- export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_30<
5379
+ export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_32<
5531
5380
  DefineComponent<
5532
5381
  {
5533
5382
  /**
@@ -6292,14 +6141,14 @@ export declare const BentoDatePicker: DefineComponent<
6292
6141
  label: string;
6293
6142
  required: boolean;
6294
6143
  disabled: boolean;
6295
- optional: boolean;
6296
- readonly: boolean;
6297
6144
  isDateDisabled: CalendarMonthIsDateDisabled;
6298
6145
  firstDayOfWeek: CalendarMonthFirstDayOfWeek;
6299
6146
  min: Date;
6300
6147
  max: Date;
6301
6148
  tooltipText: string;
6149
+ optional: boolean;
6302
6150
  errorMessage: string;
6151
+ readonly: boolean;
6303
6152
  }
6304
6153
  >;
6305
6154
 
@@ -6676,8 +6525,6 @@ export declare const BentoDateRangePicker: DefineComponent<
6676
6525
  label: string;
6677
6526
  required: boolean;
6678
6527
  disabled: boolean;
6679
- optional: boolean;
6680
- readonly: boolean;
6681
6528
  isDateDisabled: CalendarMonthIsDateDisabled;
6682
6529
  firstDayOfWeek: CalendarMonthFirstDayOfWeek;
6683
6530
  min: Date;
@@ -6685,7 +6532,9 @@ export declare const BentoDateRangePicker: DefineComponent<
6685
6532
  maxRange: number;
6686
6533
  numberOfMonths: number;
6687
6534
  tooltipText: string;
6535
+ optional: boolean;
6688
6536
  errorMessage: string;
6537
+ readonly: boolean;
6689
6538
  allowTimeInput: boolean;
6690
6539
  granularities: BentoDateRangePickerGranularityConfig<CalendarGranularityType>[];
6691
6540
  quickSelectRanges: DateRangePickerCalendarRangeSelectorItems;
@@ -6766,7 +6615,7 @@ export declare const BentoDivider: DefineComponent<
6766
6615
  * }
6767
6616
  * }
6768
6617
  */
6769
- export declare const BentoDropdown: __VLS_WithTemplateSlots_8<
6618
+ export declare const BentoDropdown: __VLS_WithTemplateSlots_9<
6770
6619
  DefineComponent<
6771
6620
  {
6772
6621
  /**
@@ -7197,20 +7046,20 @@ export declare const BentoDropdown: __VLS_WithTemplateSlots_8<
7197
7046
  required: boolean;
7198
7047
  condensed: boolean;
7199
7048
  disabled: boolean;
7200
- optional: boolean;
7201
- readonly: boolean;
7202
7049
  size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
7203
7050
  multiple: boolean;
7204
7051
  loading: boolean;
7205
7052
  tooltipText: string;
7053
+ optional: boolean;
7206
7054
  errorMessage: string;
7207
7055
  items: BentoListboxOptions;
7208
7056
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
7209
7057
  staticCategories: boolean;
7210
7058
  ariaLabel: string;
7211
- emptyState: BentoListboxEmptyStateProps;
7059
+ readonly: boolean;
7212
7060
  hasMoreItems: boolean;
7213
7061
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
7062
+ emptyState: BentoListboxEmptyStateProps;
7214
7063
  virtualScroll: BentoListboxVirtulisationOptions;
7215
7064
  dynamicFiltering: boolean;
7216
7065
  showSlotContentInMultiple: boolean;
@@ -7503,20 +7352,20 @@ export declare const BentoDropdownAvatar: DefineComponent<
7503
7352
  required: boolean;
7504
7353
  condensed: boolean;
7505
7354
  disabled: boolean;
7506
- optional: boolean;
7507
- readonly: boolean;
7508
7355
  size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
7509
7356
  multiple: boolean;
7510
7357
  loading: boolean;
7511
7358
  tooltipText: string;
7359
+ optional: boolean;
7512
7360
  errorMessage: string;
7513
7361
  items: BentoAvatarListboxOptions;
7514
7362
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
7515
7363
  staticCategories: boolean;
7516
7364
  ariaLabel: string;
7517
- emptyState: BentoListboxEmptyStateProps;
7365
+ readonly: boolean;
7518
7366
  hasMoreItems: boolean;
7519
7367
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
7368
+ emptyState: BentoListboxEmptyStateProps;
7520
7369
  virtualScroll: BentoListboxVirtulisationOptions;
7521
7370
  dynamicFiltering: boolean;
7522
7371
  showSlotContentInMultiple: boolean;
@@ -7821,20 +7670,20 @@ export declare const BentoDropdownCountry: DefineComponent<
7821
7670
  required: boolean;
7822
7671
  condensed: boolean;
7823
7672
  disabled: boolean;
7824
- optional: boolean;
7825
- readonly: boolean;
7826
7673
  size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
7827
7674
  multiple: boolean;
7828
7675
  loading: boolean;
7829
7676
  tooltipText: string;
7677
+ optional: boolean;
7830
7678
  errorMessage: string;
7831
7679
  items: BentoCountryListboxOptions;
7832
7680
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
7833
7681
  staticCategories: boolean;
7834
7682
  ariaLabel: string;
7835
- emptyState: BentoListboxEmptyStateProps;
7683
+ readonly: boolean;
7836
7684
  hasMoreItems: boolean;
7837
7685
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
7686
+ emptyState: BentoListboxEmptyStateProps;
7838
7687
  virtualScroll: BentoListboxVirtulisationOptions;
7839
7688
  dynamicFiltering: boolean;
7840
7689
  showSlotContentInMultiple: boolean;
@@ -8120,20 +7969,20 @@ export declare const BentoDropdownCurrency: DefineComponent<
8120
7969
  required: boolean;
8121
7970
  condensed: boolean;
8122
7971
  disabled: boolean;
8123
- optional: boolean;
8124
- readonly: boolean;
8125
7972
  size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
8126
7973
  multiple: boolean;
8127
7974
  loading: boolean;
8128
7975
  tooltipText: string;
7976
+ optional: boolean;
8129
7977
  errorMessage: string;
8130
7978
  items: BentoCurrencyListboxOptions;
8131
7979
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
8132
7980
  staticCategories: boolean;
8133
7981
  ariaLabel: string;
8134
- emptyState: BentoListboxEmptyStateProps;
7982
+ readonly: boolean;
8135
7983
  hasMoreItems: boolean;
8136
7984
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
7985
+ emptyState: BentoListboxEmptyStateProps;
8137
7986
  virtualScroll: BentoListboxVirtulisationOptions;
8138
7987
  dynamicFiltering: boolean;
8139
7988
  showSlotContentInMultiple: boolean;
@@ -8419,20 +8268,20 @@ export declare const BentoDropdownPaymentMethod: DefineComponent<
8419
8268
  required: boolean;
8420
8269
  condensed: boolean;
8421
8270
  disabled: boolean;
8422
- optional: boolean;
8423
- readonly: boolean;
8424
8271
  size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
8425
8272
  multiple: boolean;
8426
8273
  loading: boolean;
8427
8274
  tooltipText: string;
8275
+ optional: boolean;
8428
8276
  errorMessage: string;
8429
8277
  items: BentoPaymentMethodListboxOptions;
8430
8278
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
8431
8279
  staticCategories: boolean;
8432
8280
  ariaLabel: string;
8433
- emptyState: BentoListboxEmptyStateProps;
8281
+ readonly: boolean;
8434
8282
  hasMoreItems: boolean;
8435
8283
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
8284
+ emptyState: BentoListboxEmptyStateProps;
8436
8285
  virtualScroll: BentoListboxVirtulisationOptions;
8437
8286
  dynamicFiltering: boolean;
8438
8287
  showSlotContentInMultiple: boolean;
@@ -8726,20 +8575,20 @@ export declare const BentoDropdownTag: DefineComponent<
8726
8575
  required: boolean;
8727
8576
  condensed: boolean;
8728
8577
  disabled: boolean;
8729
- optional: boolean;
8730
- readonly: boolean;
8731
8578
  size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
8732
8579
  multiple: boolean;
8733
8580
  loading: boolean;
8734
8581
  tooltipText: string;
8582
+ optional: boolean;
8735
8583
  errorMessage: string;
8736
8584
  items: BentoTagListboxOptions;
8737
8585
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
8738
8586
  staticCategories: boolean;
8739
8587
  ariaLabel: string;
8740
- emptyState: BentoListboxEmptyStateProps;
8588
+ readonly: boolean;
8741
8589
  hasMoreItems: boolean;
8742
8590
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
8591
+ emptyState: BentoListboxEmptyStateProps;
8743
8592
  virtualScroll: BentoListboxVirtulisationOptions;
8744
8593
  dynamicFiltering: boolean;
8745
8594
  showSlotContentInMultiple: boolean;
@@ -8771,7 +8620,7 @@ export declare const BentoDropdownTag: DefineComponent<
8771
8620
  * `
8772
8621
  * }
8773
8622
  */
8774
- export declare const BentoEmptyState: __VLS_WithTemplateSlots_7<
8623
+ export declare const BentoEmptyState: __VLS_WithTemplateSlots_8<
8775
8624
  DefineComponent<
8776
8625
  {
8777
8626
  /**
@@ -9289,7 +9138,7 @@ export declare type BentoFilterValues = Array<BentoFilterValue>;
9289
9138
  * `
9290
9139
  * }
9291
9140
  */
9292
- export declare const BentoFormLayout: __VLS_WithTemplateSlots_9<
9141
+ export declare const BentoFormLayout: __VLS_WithTemplateSlots_11<
9293
9142
  DefineComponent<
9294
9143
  {
9295
9144
  /**
@@ -9370,7 +9219,7 @@ export declare const BentoFormLayout: __VLS_WithTemplateSlots_9<
9370
9219
  * </bento-form-layout-field-tip>
9371
9220
  * `
9372
9221
  */
9373
- export declare const BentoFormLayoutFieldTip: __VLS_WithTemplateSlots_10<
9222
+ export declare const BentoFormLayoutFieldTip: __VLS_WithTemplateSlots_12<
9374
9223
  DefineComponent<
9375
9224
  {
9376
9225
  /**
@@ -9436,7 +9285,7 @@ declare type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;
9436
9285
  * `
9437
9286
  * }
9438
9287
  */
9439
- export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_12<
9288
+ export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_14<
9440
9289
  DefineComponent<
9441
9290
  {
9442
9291
  /**
@@ -9539,7 +9388,7 @@ export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_12<
9539
9388
  * `
9540
9389
  * }
9541
9390
  */
9542
- export declare const BentoFormLayoutTitle: __VLS_WithTemplateSlots_11<
9391
+ export declare const BentoFormLayoutTitle: __VLS_WithTemplateSlots_13<
9543
9392
  DefineComponent<
9544
9393
  {
9545
9394
  /**
@@ -10069,7 +9918,7 @@ export declare type BentoInputDropdownProps = {
10069
9918
  * >
10070
9919
  * }
10071
9920
  */
10072
- export declare const BentoInputField: __VLS_WithTemplateSlots_13<
9921
+ export declare const BentoInputField: __VLS_WithTemplateSlots_15<
10073
9922
  DefineComponent<
10074
9923
  {
10075
9924
  /**
@@ -10192,11 +10041,13 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
10192
10041
  };
10193
10042
  /**
10194
10043
  * A string specifying the type of control to render.
10044
+ * All `input` types are available but only `search`, `text` and `number` are fully supported.
10045
+ *
10046
+ * If `type` is `search`, use `bento-search-bar` instead.
10195
10047
  */
10196
10048
  type: {
10197
- type: PropType<'number' | 'search' | 'text' | BentoInputFieldType>;
10049
+ type: PropType<string>;
10198
10050
  default: BentoInputFieldType;
10199
- validator: (value: BentoInputFieldType) => boolean;
10200
10051
  };
10201
10052
  /**
10202
10053
  * Text displayed as the value of the input-field
@@ -10362,11 +10213,13 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
10362
10213
  };
10363
10214
  /**
10364
10215
  * A string specifying the type of control to render.
10216
+ * All `input` types are available but only `search`, `text` and `number` are fully supported.
10217
+ *
10218
+ * If `type` is `search`, use `bento-search-bar` instead.
10365
10219
  */
10366
10220
  type: {
10367
- type: PropType<'number' | 'search' | 'text' | BentoInputFieldType>;
10221
+ type: PropType<string>;
10368
10222
  default: BentoInputFieldType;
10369
- validator: (value: BentoInputFieldType) => boolean;
10370
10223
  };
10371
10224
  /**
10372
10225
  * Text displayed as the value of the input-field
@@ -10388,16 +10241,16 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
10388
10241
  {
10389
10242
  error: boolean;
10390
10243
  value: BentoInputFieldValue;
10391
- type: 'number' | 'search' | 'text' | BentoInputFieldType;
10244
+ type: string;
10392
10245
  variant: 'default' | 'payment-method' | 'static-value' | 'dropdown' | BentoInputFieldVariant;
10393
10246
  required: boolean;
10394
10247
  condensed: boolean;
10395
10248
  disabled: boolean;
10396
- optional: boolean;
10397
- readonly: boolean;
10398
10249
  tooltipText: string;
10250
+ optional: boolean;
10399
10251
  errorMessage: string;
10400
10252
  ariaLabel: string;
10253
+ readonly: boolean;
10401
10254
  placeholder: string;
10402
10255
  dropdown: BentoInputDropdownProps;
10403
10256
  ariaHidden: boolean;
@@ -10537,10 +10390,10 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
10537
10390
  * `
10538
10391
  * }
10539
10392
  */
10540
- export declare const BentoLink: __VLS_WithTemplateSlots_14<
10393
+ export declare const BentoLink: __VLS_WithTemplateSlots_16<
10541
10394
  DefineComponent<
10542
- __VLS_WithDefaults<
10543
- __VLS_TypePropsToRuntimeProps<LinkProps>,
10395
+ __VLS_WithDefaults_3<
10396
+ __VLS_TypePropsToRuntimeProps_3<LinkProps>,
10544
10397
  {
10545
10398
  target: any;
10546
10399
  variant: BentoLinkVariant;
@@ -10558,8 +10411,8 @@ export declare const BentoLink: __VLS_WithTemplateSlots_14<
10558
10411
  string,
10559
10412
  Readonly<
10560
10413
  ExtractPropTypes<
10561
- __VLS_WithDefaults<
10562
- __VLS_TypePropsToRuntimeProps<LinkProps>,
10414
+ __VLS_WithDefaults_3<
10415
+ __VLS_TypePropsToRuntimeProps_3<LinkProps>,
10563
10416
  {
10564
10417
  target: any;
10565
10418
  variant: BentoLinkVariant;
@@ -10670,7 +10523,7 @@ export { BentoListboxVirtulisationOptions };
10670
10523
  * `
10671
10524
  * }
10672
10525
  */
10673
- export declare const BentoLoadingButton: __VLS_WithTemplateSlots_4<
10526
+ export declare const BentoLoadingButton: __VLS_WithTemplateSlots_5<
10674
10527
  DefineComponent<
10675
10528
  {
10676
10529
  /**
@@ -10983,6 +10836,7 @@ export declare const BentoMenu: DefineComponent<
10983
10836
  onKeyDown: () => void;
10984
10837
  onKeyUp: () => void;
10985
10838
  closeMenu: () => void;
10839
+ menuItemClick: () => void;
10986
10840
  toggleShowMenu: (e: MouseEvent) => void;
10987
10841
  },
10988
10842
  {},
@@ -10990,7 +10844,7 @@ export declare const BentoMenu: DefineComponent<
10990
10844
  {},
10991
10845
  ComponentOptionsMixin,
10992
10846
  ComponentOptionsMixin,
10993
- (BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN)[],
10847
+ (BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN | 'menu-item-click')[],
10994
10848
  string,
10995
10849
  Readonly<
10996
10850
  ExtractPropTypes<{
@@ -11128,7 +10982,7 @@ export declare interface BentoMenuItem {
11128
10982
  * `
11129
10983
  * };
11130
10984
  */
11131
- export declare const BentoModal: __VLS_WithTemplateSlots_16<
10985
+ export declare const BentoModal: __VLS_WithTemplateSlots_18<
11132
10986
  DefineComponent<
11133
10987
  {
11134
10988
  /**
@@ -11487,7 +11341,7 @@ export declare enum BentoModalEvent {
11487
11341
  * `
11488
11342
  * }
11489
11343
  */
11490
- export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_17<
11344
+ export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_19<
11491
11345
  DefineComponent<
11492
11346
  {
11493
11347
  /**
@@ -11644,7 +11498,7 @@ export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_17<
11644
11498
  * `
11645
11499
  * }
11646
11500
  */
11647
- export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_18<
11501
+ export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_20<
11648
11502
  DefineComponent<
11649
11503
  {
11650
11504
  /**
@@ -11803,7 +11657,7 @@ export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_18<
11803
11657
  * `
11804
11658
  * }
11805
11659
  */
11806
- export declare const BentoModalPage: __VLS_WithTemplateSlots_15<
11660
+ export declare const BentoModalPage: __VLS_WithTemplateSlots_17<
11807
11661
  DefineComponent<
11808
11662
  {
11809
11663
  /**
@@ -13402,7 +13256,7 @@ export declare enum BentoPaymentMethodType {
13402
13256
  * `
13403
13257
  * }
13404
13258
  */
13405
- export declare const BentoPopover: __VLS_WithTemplateSlots_19<
13259
+ export declare const BentoPopover: __VLS_WithTemplateSlots_21<
13406
13260
  DefineComponent<
13407
13261
  {
13408
13262
  /**
@@ -13902,7 +13756,7 @@ export declare type BentoPopoverPositions = PopperContainerPosition;
13902
13756
  * }
13903
13757
  * }
13904
13758
  */
13905
- export declare const BentoRadioButton: __VLS_WithTemplateSlots_21<
13759
+ export declare const BentoRadioButton: __VLS_WithTemplateSlots_23<
13906
13760
  DefineComponent<
13907
13761
  {
13908
13762
  /**
@@ -14153,7 +14007,7 @@ export declare type BentoRadioButtonValue = string | number;
14153
14007
  * `
14154
14008
  * };
14155
14009
  */
14156
- export declare const BentoRadioGroup: __VLS_WithTemplateSlots_20<
14010
+ export declare const BentoRadioGroup: __VLS_WithTemplateSlots_22<
14157
14011
  DefineComponent<
14158
14012
  {
14159
14013
  /**
@@ -14382,11 +14236,11 @@ export declare const BentoRadioGroup: __VLS_WithTemplateSlots_20<
14382
14236
  variant: 'horizontal' | 'vertical' | BentoRadioGroupVariant;
14383
14237
  required: boolean;
14384
14238
  disabled: boolean;
14385
- optional: boolean;
14386
- readonly: boolean;
14387
14239
  tooltipText: string;
14240
+ optional: boolean;
14388
14241
  hideLabel: boolean;
14389
14242
  errorMessage: string;
14243
+ readonly: boolean;
14390
14244
  hasError: boolean;
14391
14245
  modelValue: BentoRadioButtonValue;
14392
14246
  formId: string;
@@ -14604,7 +14458,7 @@ export declare interface BentoSearchBarItem {
14604
14458
  * }
14605
14459
  */
14606
14460
  export declare const BentoSecondaryNav: DefineComponent<
14607
- __VLS_TypePropsToRuntimeProps_2<{
14461
+ __VLS_TypePropsToRuntimeProps_4<{
14608
14462
  /**
14609
14463
  * An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
14610
14464
  * which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
@@ -14627,7 +14481,7 @@ export declare const BentoSecondaryNav: DefineComponent<
14627
14481
  string,
14628
14482
  Readonly<
14629
14483
  ExtractPropTypes<
14630
- __VLS_TypePropsToRuntimeProps_2<{
14484
+ __VLS_TypePropsToRuntimeProps_4<{
14631
14485
  /**
14632
14486
  * An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
14633
14487
  * which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
@@ -14912,7 +14766,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
14912
14766
  * `
14913
14767
  * }
14914
14768
  */
14915
- export declare const BentoSelectionCard: __VLS_WithTemplateSlots_22<
14769
+ export declare const BentoSelectionCard: __VLS_WithTemplateSlots_24<
14916
14770
  DefineComponent<
14917
14771
  {
14918
14772
  /**
@@ -15107,7 +14961,7 @@ export declare const BentoSelectionCard: __VLS_WithTemplateSlots_22<
15107
14961
  * `,
15108
14962
  * }
15109
14963
  */
15110
- export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_23<
14964
+ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_25<
15111
14965
  DefineComponent<
15112
14966
  {
15113
14967
  /**
@@ -15334,12 +15188,12 @@ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_23<
15334
15188
  variant: BentoSelectionCardGroupVariant;
15335
15189
  required: boolean;
15336
15190
  disabled: boolean;
15337
- optional: boolean;
15338
- readonly: boolean;
15339
15191
  layout: BentoSelectionCardGroupLayout;
15340
15192
  tooltipText: string;
15193
+ optional: boolean;
15341
15194
  hideLabel: boolean;
15342
15195
  errorMessage: string;
15196
+ readonly: boolean;
15343
15197
  modelValue: BentoSelectionCardModelValue;
15344
15198
  formId: string;
15345
15199
  }
@@ -15422,7 +15276,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
15422
15276
  * `
15423
15277
  * }
15424
15278
  */
15425
- export declare const BentoSidepanel: __VLS_WithTemplateSlots_25<
15279
+ export declare const BentoSidepanel: __VLS_WithTemplateSlots_27<
15426
15280
  DefineComponent<
15427
15281
  {
15428
15282
  /**
@@ -15540,7 +15394,7 @@ export declare enum BentoSidepanelEvent {
15540
15394
  * `
15541
15395
  * }
15542
15396
  */
15543
- export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_24<
15397
+ export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_26<
15544
15398
  DefineComponent<
15545
15399
  {
15546
15400
  /**
@@ -15766,7 +15620,7 @@ export declare enum BentoStatusVariant {
15766
15620
  * `
15767
15621
  * }
15768
15622
  */
15769
- export declare const BentoStep: __VLS_WithTemplateSlots_27<
15623
+ export declare const BentoStep: __VLS_WithTemplateSlots_29<
15770
15624
  DefineComponent<
15771
15625
  {
15772
15626
  /**
@@ -15840,7 +15694,7 @@ export declare const BentoStep: __VLS_WithTemplateSlots_27<
15840
15694
  * `
15841
15695
  * }
15842
15696
  */
15843
- export declare const BentoStepper: __VLS_WithTemplateSlots_26<
15697
+ export declare const BentoStepper: __VLS_WithTemplateSlots_28<
15844
15698
  DefineComponent<
15845
15699
  {
15846
15700
  /**
@@ -15966,7 +15820,7 @@ export declare enum BentoStepperVariantOption {
15966
15820
  * `
15967
15821
  * }
15968
15822
  */
15969
- export declare const BentoStructuredList: __VLS_WithTemplateSlots_28<
15823
+ export declare const BentoStructuredList: __VLS_WithTemplateSlots_30<
15970
15824
  DefineComponent<
15971
15825
  {
15972
15826
  /**
@@ -17580,12 +17434,12 @@ export declare const BentoTextarea: DefineComponent<
17580
17434
  label: string;
17581
17435
  required: boolean;
17582
17436
  disabled: boolean;
17583
- optional: boolean;
17584
- readonly: boolean;
17585
17437
  height: string;
17586
17438
  tooltipText: string;
17439
+ optional: boolean;
17587
17440
  errorMessage: string;
17588
17441
  ariaLabel: string;
17442
+ readonly: boolean;
17589
17443
  placeholder: string;
17590
17444
  clearable: boolean;
17591
17445
  characterLimit: number;
@@ -18284,8 +18138,8 @@ export declare const BentoToggle: DefineComponent<
18284
18138
  {
18285
18139
  value: boolean;
18286
18140
  disabled: boolean;
18287
- readonly: boolean;
18288
18141
  ariaLabel: string;
18142
+ readonly: boolean;
18289
18143
  labelPosition: 'after' | 'before' | BentoToggleLabelPosition;
18290
18144
  }
18291
18145
  >;
@@ -18306,7 +18160,7 @@ export declare const BentoToggle: DefineComponent<
18306
18160
  * `
18307
18161
  * }
18308
18162
  */
18309
- export declare const BentoToggleButton: __VLS_WithTemplateSlots_5<
18163
+ export declare const BentoToggleButton: __VLS_WithTemplateSlots_6<
18310
18164
  DefineComponent<
18311
18165
  {
18312
18166
  /**
@@ -18582,10 +18436,10 @@ export declare interface BentoTutorialStep {
18582
18436
  * `
18583
18437
  * }
18584
18438
  */
18585
- export declare const BentoTypography: __VLS_WithTemplateSlots_29<
18439
+ export declare const BentoTypography: __VLS_WithTemplateSlots_31<
18586
18440
  DefineComponent<
18587
- __VLS_WithDefaults_2<
18588
- __VLS_TypePropsToRuntimeProps_3<{
18441
+ __VLS_WithDefaults_4<
18442
+ __VLS_TypePropsToRuntimeProps_5<{
18589
18443
  /**
18590
18444
  * Sets the HTML DOM element.
18591
18445
  * @values h1, h2, h3, h4, h5, h6, div, p, span
@@ -18642,8 +18496,8 @@ export declare const BentoTypography: __VLS_WithTemplateSlots_29<
18642
18496
  string,
18643
18497
  Readonly<
18644
18498
  ExtractPropTypes<
18645
- __VLS_WithDefaults_2<
18646
- __VLS_TypePropsToRuntimeProps_3<{
18499
+ __VLS_WithDefaults_4<
18500
+ __VLS_TypePropsToRuntimeProps_5<{
18647
18501
  /**
18648
18502
  * Sets the HTML DOM element.
18649
18503
  * @values h1, h2, h3, h4, h5, h6, div, p, span
@@ -19011,6 +18865,26 @@ export declare type MaybeRef<T> = T | Ref<T>;
19011
18865
 
19012
18866
  export declare type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
19013
18867
 
18868
+ declare type OnClickOutsideHandler = (evt: PointerEvent | FocusEvent) => void;
18869
+
18870
+ declare interface OnClickOutsideOptions {
18871
+ /**
18872
+ * List of elements that should not trigger the event.
18873
+ */
18874
+ ignore?: (MaybeElementRef | string)[];
18875
+ /**
18876
+ * Use capturing phase for internal event listener.
18877
+ * @default true
18878
+ */
18879
+ capture?: boolean;
18880
+ /**
18881
+ * Run handler function if focus moves to an iframe.
18882
+ * @default false
18883
+ */
18884
+ detectIframe?: boolean;
18885
+ window?: Window;
18886
+ }
18887
+
19014
18888
  declare const plugin: PluginObject<BentoVuePlugin>;
19015
18889
  export default plugin;
19016
18890
 
@@ -19082,6 +18956,19 @@ export declare type UseBentoToastController = ToastStack;
19082
18956
 
19083
18957
  export declare function useBentoToastController(): UseBentoToastController;
19084
18958
 
18959
+ /**
18960
+ * Composable to listen for clicks outside of an element ref.
18961
+ *
18962
+ * @param {MaybeElementRef} target - HTML Element or "ref" to an Element on which the click outside listener will be attached to
18963
+ * @param {OnClickOutsideHandler} handler - Function that will be called when the listener gets triggered
18964
+ * @param {OnClickOutsideOptions} options - Options to be passed to the listener
18965
+ */
18966
+ export declare const useClickOutside: <T extends OnClickOutsideOptions>(
18967
+ target: MaybeElementRef,
18968
+ handler: OnClickOutsideHandler,
18969
+ options?: T
18970
+ ) => void;
18971
+
19085
18972
  /**
19086
18973
  * Maps an ISO code to the country's translated capital city.
19087
18974
  *