@adyen/bento-vue2 1.23.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 (200) hide show
  1. package/README.md +2 -0
  2. package/dist/@types/index.d.ts +602 -715
  3. package/dist/accordion.js +2 -2
  4. package/dist/action-bar.js +6 -6
  5. package/dist/alert.js +82 -98
  6. package/dist/alert.js.map +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/dialog-page.css +1 -1
  9. package/dist/assets/dropdown.css +1 -1
  10. package/dist/assets/grid-layout.css +1 -1
  11. package/dist/assets/index.css +1 -1
  12. package/dist/assets/index10.css +1 -1
  13. package/dist/assets/index11.css +1 -1
  14. package/dist/assets/index12.css +1 -1
  15. package/dist/assets/index13.css +1 -1
  16. package/dist/assets/index14.css +1 -1
  17. package/dist/assets/index15.css +1 -1
  18. package/dist/assets/index16.css +1 -1
  19. package/dist/assets/index17.css +1 -1
  20. package/dist/assets/index18.css +1 -1
  21. package/dist/assets/index19.css +1 -1
  22. package/dist/assets/index2.css +1 -1
  23. package/dist/assets/index20.css +1 -1
  24. package/dist/assets/index21.css +1 -1
  25. package/dist/assets/index22.css +1 -1
  26. package/dist/assets/index23.css +1 -1
  27. package/dist/assets/index24.css +1 -1
  28. package/dist/assets/index25.css +1 -1
  29. package/dist/assets/index26.css +1 -1
  30. package/dist/assets/index27.css +1 -1
  31. package/dist/assets/index28.css +1 -1
  32. package/dist/assets/index29.css +1 -1
  33. package/dist/assets/index3.css +1 -1
  34. package/dist/assets/index30.css +1 -1
  35. package/dist/assets/index31.css +1 -1
  36. package/dist/assets/index32.css +1 -1
  37. package/dist/assets/index33.css +1 -1
  38. package/dist/assets/index34.css +1 -1
  39. package/dist/assets/index35.css +1 -1
  40. package/dist/assets/index36.css +1 -1
  41. package/dist/assets/index37.css +1 -1
  42. package/dist/assets/index38.css +1 -1
  43. package/dist/assets/index39.css +1 -1
  44. package/dist/assets/index4.css +1 -1
  45. package/dist/assets/index40.css +1 -1
  46. package/dist/assets/index41.css +1 -1
  47. package/dist/assets/index42.css +1 -1
  48. package/dist/assets/index43.css +1 -1
  49. package/dist/assets/index44.css +1 -1
  50. package/dist/assets/index45.css +1 -1
  51. package/dist/assets/index46.css +1 -1
  52. package/dist/assets/index47.css +1 -1
  53. package/dist/assets/index48.css +1 -1
  54. package/dist/assets/index5.css +1 -1
  55. package/dist/assets/index6.css +1 -1
  56. package/dist/assets/index7.css +1 -1
  57. package/dist/assets/index8.css +1 -1
  58. package/dist/assets/index9.css +1 -1
  59. package/dist/assets/{listbox.css → use-cached-selected-values.css} +1 -1
  60. package/dist/avatar-image.js +1 -1
  61. package/dist/badge.js +1 -1
  62. package/dist/button.js +5 -5
  63. package/dist/card.js +83 -180
  64. package/dist/card.js.map +1 -1
  65. package/dist/checkbox.js +5 -5
  66. package/dist/chunks/{base-button.025269d7.js → base-button.773343f6.js} +2 -2
  67. package/dist/chunks/{base-button.025269d7.js.map → base-button.773343f6.js.map} +1 -1
  68. package/dist/chunks/{base-modal.c354f456.js → base-modal.2d596e6f.js} +6 -6
  69. package/dist/chunks/{base-modal.c354f456.js.map → base-modal.2d596e6f.js.map} +1 -1
  70. package/dist/chunks/{button-actions-with-menu.15d22fa3.js → button-actions-with-menu.d08d2c51.js} +4 -4
  71. package/dist/chunks/{button-actions-with-menu.15d22fa3.js.map → button-actions-with-menu.d08d2c51.js.map} +1 -1
  72. package/dist/chunks/{button-actions.3882346f.js → button-actions.a03a672f.js} +3 -3
  73. package/dist/chunks/{button-actions.3882346f.js.map → button-actions.a03a672f.js.map} +1 -1
  74. package/dist/chunks/{button.a823da67.js → button.e5f5638f.js} +3 -3
  75. package/dist/chunks/{button.a823da67.js.map → button.e5f5638f.js.map} +1 -1
  76. package/dist/chunks/{calendar.4ba3b251.js → calendar.7d3e2db0.js} +4 -4
  77. package/dist/chunks/{calendar.4ba3b251.js.map → calendar.7d3e2db0.js.map} +1 -1
  78. package/dist/chunks/{checkbox.1edcc4c0.js → checkbox.28578383.js} +3 -3
  79. package/dist/chunks/{checkbox.1edcc4c0.js.map → checkbox.28578383.js.map} +1 -1
  80. package/dist/chunks/{controls-group.b17e40ad.js → controls-group.faa482b2.js} +3 -3
  81. package/dist/chunks/{controls-group.b17e40ad.js.map → controls-group.faa482b2.js.map} +1 -1
  82. package/dist/chunks/{copy.b20b47f9.js → copy.3c50b447.js} +4 -4
  83. package/dist/chunks/{copy.b20b47f9.js.map → copy.3c50b447.js.map} +1 -1
  84. package/dist/chunks/dialog-page.286ead53.js +133 -0
  85. package/dist/chunks/dialog-page.286ead53.js.map +1 -0
  86. package/dist/chunks/{dropdown-default-textbox.537c81a2.js → dropdown-default-textbox.a1c0c0fb.js} +2 -2
  87. package/dist/chunks/{dropdown-default-textbox.537c81a2.js.map → dropdown-default-textbox.a1c0c0fb.js.map} +1 -1
  88. package/dist/chunks/dropdown.7d4a8dfc.js +775 -0
  89. package/dist/chunks/dropdown.7d4a8dfc.js.map +1 -0
  90. package/dist/chunks/{error-message.7022fa86.js → error-message.db315e68.js} +2 -2
  91. package/dist/chunks/{error-message.7022fa86.js.map → error-message.db315e68.js.map} +1 -1
  92. package/dist/chunks/{fixed-scroller.077a5709.js → fixed-scroller.3135f86c.js} +2 -2
  93. package/dist/chunks/{fixed-scroller.077a5709.js.map → fixed-scroller.3135f86c.js.map} +1 -1
  94. package/dist/chunks/{footer-actions.1f22f86d.js → footer-actions.32891b25.js} +4 -4
  95. package/dist/chunks/{footer-actions.1f22f86d.js.map → footer-actions.32891b25.js.map} +1 -1
  96. package/dist/chunks/{index.255c82a2.js → index.30948302.js} +138 -119
  97. package/dist/chunks/index.30948302.js.map +1 -0
  98. package/dist/chunks/{index.19675c16.js → index.444d221f.js} +3 -3
  99. package/dist/chunks/{index.19675c16.js.map → index.444d221f.js.map} +1 -1
  100. package/dist/chunks/{index.0be6a210.js → index.4b6211c7.js} +27 -27
  101. package/dist/chunks/{index.0be6a210.js.map → index.4b6211c7.js.map} +1 -1
  102. package/dist/chunks/{index.9d130872.js → index.596c4d0a.js} +2 -2
  103. package/dist/chunks/{index.9d130872.js.map → index.596c4d0a.js.map} +1 -1
  104. package/dist/chunks/{index.7a59b0b8.js → index.81e509f3.js} +6 -6
  105. package/dist/chunks/{index.7a59b0b8.js.map → index.81e509f3.js.map} +1 -1
  106. package/dist/chunks/{index.f828081b.js → index.939dd5cf.js} +2 -2
  107. package/dist/chunks/{index.f828081b.js.map → index.939dd5cf.js.map} +1 -1
  108. package/dist/chunks/{index.59d76d6b.js → index.94acf214.js} +3 -3
  109. package/dist/chunks/{index.59d76d6b.js.map → index.94acf214.js.map} +1 -1
  110. package/dist/chunks/index.9536a077.js +49 -0
  111. package/dist/chunks/index.9536a077.js.map +1 -0
  112. package/dist/chunks/{index.b231f9ef.js → index.9e40ffeb.js} +2 -2
  113. package/dist/chunks/{index.b231f9ef.js.map → index.9e40ffeb.js.map} +1 -1
  114. package/dist/chunks/index.d97166c6.js +79 -0
  115. package/dist/chunks/index.d97166c6.js.map +1 -0
  116. package/dist/chunks/{index.787ded40.js → index.ec632d95.js} +6 -6
  117. package/dist/chunks/{index.787ded40.js.map → index.ec632d95.js.map} +1 -1
  118. package/dist/chunks/{listbox-option-tag.e025da67.js → listbox-option-tag.95a65534.js} +3 -3
  119. package/dist/chunks/{listbox-option-tag.e025da67.js.map → listbox-option-tag.95a65534.js.map} +1 -1
  120. package/dist/chunks/{loading-button.5de13e50.js → loading-button.e8060c04.js} +2 -2
  121. package/dist/chunks/{loading-button.5de13e50.js.map → loading-button.e8060c04.js.map} +1 -1
  122. package/dist/chunks/{payment-method.bf9e71a2.js → payment-method.564ed43a.js} +2 -2
  123. package/dist/chunks/{payment-method.bf9e71a2.js.map → payment-method.564ed43a.js.map} +1 -1
  124. package/dist/chunks/{tooltip.eb1eb37e.js → tooltip.e5deb137.js} +3 -3
  125. package/dist/chunks/{tooltip.eb1eb37e.js.map → tooltip.e5deb137.js.map} +1 -1
  126. package/dist/chunks/use-bento-toast-controller.8414d283.js +52 -0
  127. package/dist/chunks/use-bento-toast-controller.8414d283.js.map +1 -0
  128. package/dist/chunks/{listbox.f99c2f3e.js → use-cached-selected-values.3772a679.js} +510 -448
  129. package/dist/chunks/use-cached-selected-values.3772a679.js.map +1 -0
  130. package/dist/code-snippet.js +7 -7
  131. package/dist/code-snippet.js.map +1 -1
  132. package/dist/country.js +2 -2
  133. package/dist/currency.js +1 -1
  134. package/dist/data-grid-template.js +1 -1
  135. package/dist/data-grid.js +746 -705
  136. package/dist/data-grid.js.map +1 -1
  137. package/dist/date-picker.js +19 -19
  138. package/dist/date-range-picker.js +2 -2
  139. package/dist/date.js +1 -1
  140. package/dist/divider.js +1 -1
  141. package/dist/dropdown.js +7 -7
  142. package/dist/empty-state.js +3 -3
  143. package/dist/filter-bar.js +1104 -948
  144. package/dist/filter-bar.js.map +1 -1
  145. package/dist/focus-trap.js +1 -1
  146. package/dist/form-layout.js +2 -2
  147. package/dist/header.js +4 -4
  148. package/dist/index.js +262 -276
  149. package/dist/index.js.map +1 -1
  150. package/dist/info-icon.js +3 -3
  151. package/dist/input-field.js +54 -48
  152. package/dist/input-field.js.map +1 -1
  153. package/dist/internal.js +31 -78
  154. package/dist/internal.js.map +1 -1
  155. package/dist/link.js +1 -1
  156. package/dist/loading-indicator.js +1 -1
  157. package/dist/menu.js +1 -1
  158. package/dist/modal-fullscreen.js +6 -6
  159. package/dist/modal.js +6 -6
  160. package/dist/pagination.js +4 -4
  161. package/dist/payment-method.js +1 -1
  162. package/dist/popover.js +1 -1
  163. package/dist/popper-container.js +1 -1
  164. package/dist/radio-group.js +62 -62
  165. package/dist/radio-group.js.map +1 -1
  166. package/dist/search-bar.js +2 -2
  167. package/dist/secondary-nav.js +2 -2
  168. package/dist/segmented-control.js +3 -3
  169. package/dist/selection-card.js +4 -4
  170. package/dist/sidepanel.js +52 -50
  171. package/dist/sidepanel.js.map +1 -1
  172. package/dist/status.js +2 -2
  173. package/dist/stepper.js +3 -3
  174. package/dist/structured-list.js +1 -1
  175. package/dist/summary-grid.js +3 -3
  176. package/dist/tabs.js +3 -3
  177. package/dist/tag.js +3 -3
  178. package/dist/textarea.js +4 -4
  179. package/dist/timeline.js +7 -7
  180. package/dist/toast.js +143 -98
  181. package/dist/toast.js.map +1 -1
  182. package/dist/toggle.js +2 -2
  183. package/dist/tutorial.js +6 -6
  184. package/dist/typography.js +1 -1
  185. package/dist/web-types.json +748 -451
  186. package/package.json +3 -2
  187. package/dist/chunks/dialog-page.3965f89e.js +0 -133
  188. package/dist/chunks/dialog-page.3965f89e.js.map +0 -1
  189. package/dist/chunks/dropdown.93a582cc.js +0 -797
  190. package/dist/chunks/dropdown.93a582cc.js.map +0 -1
  191. package/dist/chunks/index.0b534dc6.js +0 -83
  192. package/dist/chunks/index.0b534dc6.js.map +0 -1
  193. package/dist/chunks/index.255c82a2.js.map +0 -1
  194. package/dist/chunks/index.be6917c8.js +0 -127
  195. package/dist/chunks/index.be6917c8.js.map +0 -1
  196. package/dist/chunks/info-filled.c37e091d.js +0 -26
  197. package/dist/chunks/info-filled.c37e091d.js.map +0 -1
  198. package/dist/chunks/listbox.f99c2f3e.js.map +0 -1
  199. package/dist/chunks/toastController.fd667b68.js +0 -15
  200. package/dist/chunks/toastController.fd667b68.js.map +0 -1
@@ -2,6 +2,7 @@ import { ComponentOptionsMixin } from 'vue/types/v3-component-options';
2
2
  import { ComponentOptionsMixin as ComponentOptionsMixin_2 } from 'vue/types/v3-component-options.js';
3
3
  import type { ComponentPublicInstance } from 'vue';
4
4
  import { ComputedRef } from 'vue';
5
+ import { DeepReadonly } from 'vue';
5
6
  import { default as default_2 } from 'vue-i18n';
6
7
  import { DefaultKeys } from 'vue/types/v3-component-props';
7
8
  import { DefineComponent } from 'vue';
@@ -25,6 +26,12 @@ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
25
26
 
26
27
  declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
27
28
 
29
+ declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
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
+
28
35
  declare type __VLS_TypePropsToRuntimeProps<T> = {
29
36
  [K in keyof T]-?: {} extends Pick<T, K>
30
37
  ? {
@@ -47,6 +54,39 @@ declare type __VLS_TypePropsToRuntimeProps_2<T> = {
47
54
  };
48
55
  };
49
56
 
57
+ declare type __VLS_TypePropsToRuntimeProps_3<T> = {
58
+ [K in keyof T]-?: {} extends Pick<T, K>
59
+ ? {
60
+ type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
61
+ }
62
+ : {
63
+ type: PropType<T[K]>;
64
+ required: true;
65
+ };
66
+ };
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
+
50
90
  declare type __VLS_WithDefaults<P, D> = {
51
91
  [K in keyof Pick<P, keyof P>]: K extends keyof D
52
92
  ? P[K] & {
@@ -55,6 +95,30 @@ declare type __VLS_WithDefaults<P, D> = {
55
95
  : P[K];
56
96
  };
57
97
 
98
+ declare type __VLS_WithDefaults_2<P, D> = {
99
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
100
+ ? P[K] & {
101
+ default: D[K];
102
+ }
103
+ : P[K];
104
+ };
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
+
58
122
  declare type __VLS_WithTemplateSlots<T, S> = T & {
59
123
  new (): {
60
124
  $slots: S;
@@ -193,6 +257,24 @@ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
193
257
  };
194
258
  };
195
259
 
260
+ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
261
+ new (): {
262
+ $slots: S;
263
+ };
264
+ };
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
+
196
278
  declare type __VLS_WithTemplateSlots_4<T, S> = T & {
197
279
  new (): {
198
280
  $slots: S;
@@ -561,98 +643,84 @@ export declare type BentoActionBarVariant = 'default' | 'confirmation';
561
643
  * `
562
644
  * }
563
645
  */
564
- export declare const BentoAlert: DefineComponent<
565
- {
566
- /**
567
- * Adds a close button on the right side of the alert
568
- */
569
- closeButton: {
570
- type: BooleanConstructor;
571
- default: boolean;
572
- };
573
- /**
574
- * Type of a alert; set a distinctive icon and color. Defaults to highlight.
575
- * @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING
576
- */
577
- type: {
578
- type: PropType<'critical' | 'success' | 'warning' | 'highlight' | BentoAlertTypeOption>;
579
- default: BentoAlertTypeOption;
580
- validator: (value: BentoAlertTypeOption) => boolean;
581
- };
582
- /**
583
- * Variant for the alert
584
- * @values DEFAULT, TIP
585
- */
586
- variant: {
587
- type: PropType<'default' | 'tip' | BentoAlertVariant>;
588
- default: BentoAlertVariant;
589
- validator: (value: BentoAlertVariant) => boolean;
590
- };
591
- },
592
- {
593
- alertConditionalClasses: ComputedRef<{
594
- [x: string]: boolean | 'critical' | 'success' | 'warning' | 'highlight' | BentoAlertTypeOption;
595
- }>;
596
- computedRole: ComputedRef<'alert' | 'status'>;
597
- descriptionTypography: ComputedRef<{
598
- el: BentoTypographyElement;
599
- variant: BentoTypographyVariant;
600
- wide: boolean;
601
- }>;
602
- iconComponent: ComputedRef<any>;
603
- iconSvgTitle: ComputedRef<string>;
604
- isTipVariant: ComputedRef<boolean>;
605
- onCloseButtonClick: () => void;
606
- hasSlot: (name: string) => boolean;
607
- t: (
608
- key: 'close' | 'highlightIcon' | 'successIcon' | 'criticalIcon' | 'warningIcon',
609
- values?: default_2.Values
610
- ) => string;
611
- BentoTypographyVariant: typeof BentoTypographyVariant;
612
- },
613
- {},
614
- {},
615
- {},
616
- ComponentOptionsMixin,
617
- ComponentOptionsMixin,
618
- BentoAlertEvent[],
619
- string,
620
- Readonly<
621
- ExtractPropTypes<{
622
- /**
623
- * Adds a close button on the right side of the alert
624
- */
625
- closeButton: {
626
- type: BooleanConstructor;
627
- default: boolean;
628
- };
629
- /**
630
- * Type of a alert; set a distinctive icon and color. Defaults to highlight.
631
- * @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING
632
- */
633
- type: {
634
- type: PropType<'critical' | 'success' | 'warning' | 'highlight' | BentoAlertTypeOption>;
635
- default: BentoAlertTypeOption;
636
- validator: (value: BentoAlertTypeOption) => boolean;
637
- };
638
- /**
639
- * Variant for the alert
640
- * @values DEFAULT, TIP
641
- */
642
- variant: {
643
- type: PropType<'default' | 'tip' | BentoAlertVariant>;
644
- default: BentoAlertVariant;
645
- validator: (value: BentoAlertVariant) => boolean;
646
- };
647
- }>
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
+ }
648
713
  >,
649
714
  {
650
- type: 'critical' | 'success' | 'warning' | 'highlight' | BentoAlertTypeOption;
651
- variant: 'default' | 'tip' | BentoAlertVariant;
652
- closeButton: boolean;
715
+ default: (_: {}) => any;
716
+ description: (_: {}) => any;
717
+ actions: (_: {}) => any;
653
718
  }
654
719
  >;
655
720
 
721
+ /**
722
+ * @deprecated from version 2.0.0. Use "@close-alert" instead.
723
+ */
656
724
  export declare enum BentoAlertEvent {
657
725
  CLOSE_ALERT = 'close-alert',
658
726
  }
@@ -720,7 +788,7 @@ export declare type BentoBooleanFilterValue = string | null;
720
788
  * `,
721
789
  * }
722
790
  */
723
- export declare const BentoButton: __VLS_WithTemplateSlots_3<
791
+ export declare const BentoButton: __VLS_WithTemplateSlots_4<
724
792
  DefineComponent<
725
793
  {
726
794
  /**
@@ -1134,361 +1202,180 @@ export declare enum BentoButtonVariant {
1134
1202
  * `
1135
1203
  * };
1136
1204
  */
1137
- export declare const BentoCard: DefineComponent<
1138
- {
1139
- /**
1140
- * Defines the color of card background
1141
- */
1142
- background: {
1143
- type: PropType<'primary' | 'secondary' | BentoCardBackground>;
1144
- default: BentoCardBackground;
1145
- validator: (value: BentoCardBackground) => boolean;
1146
- };
1147
- /**
1148
- * Defines the title size of the card header
1149
- */
1150
- titleSize: {
1151
- type: PropType<'default' | 'small' | BentoCardTitleSize>;
1152
- default: BentoCardTitleSize;
1153
- validator: (value: BentoCardTitleSize) => boolean;
1154
- };
1155
- /**
1156
- * The whole content of the card will be expandable in accordion manner
1157
- */
1158
- expandable: {
1159
- type: BooleanConstructor;
1160
- default: boolean;
1161
- };
1162
- /**
1163
- * Sets the expandable card in a closed state
1164
- */
1165
- closed: {
1166
- type: BooleanConstructor;
1167
- default: boolean;
1168
- };
1169
- /**
1170
- * Disables the expandable card
1171
- */
1172
- disabled: {
1173
- type: BooleanConstructor;
1174
- default: boolean;
1175
- };
1176
- /**
1177
- * List of actions that will be used to render the buttons.
1178
- * First element in the list will be rendered as "primary".
1179
- * All elements after the first will be rendered as "secondary".
1180
- *
1181
- * Each object in the list should have a `title`, an `event` and
1182
- * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
1183
- *
1184
- * `title`: Button's text.
1185
- *
1186
- * `event`: Event triggered when clicking the Button.
1187
- *
1188
- * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
1189
- *
1190
- * ```
1191
- * [{
1192
- * title: 'Primary',
1193
- * event: () => { ... },
1194
- * icon: FourPeopleIcon
1195
- * }, {
1196
- * title: 'Secondary',
1197
- * event: () => { ... }
1198
- * }]
1199
- * ```
1200
- */
1201
- actions: {
1202
- type: PropType<BentoButtonActionsList>;
1203
- default: any;
1204
- };
1205
- /**
1206
- * Defines the layout in which the button actions is presented.
1207
- * It can be one of:
1208
- *
1209
- * @values BUTTONS_START
1210
- * @values BUTTONS_END
1211
- * @values FILL_CONTAINER
1212
- * @values SPACE_BETWEEN
1213
- * @values VERTICAL_STACK
1214
- */
1215
- actionsLayout: {
1216
- type: PropType<
1217
- | 'space-between'
1218
- | BentoButtonActionsLayout
1219
- | 'buttons-end'
1220
- | 'fill-container'
1221
- | 'vertical-stack'
1222
- | 'buttons-start'
1223
- >;
1224
- default: BentoButtonActionsLayoutBasic;
1225
- validator: (value: BentoButtonActionsLayout) => boolean;
1226
- };
1227
- },
1228
- {
1229
- cardId: string;
1230
- cardConditionalClasses: ComputedRef<{
1231
- [x: string]: boolean | 'primary' | 'secondary' | BentoCardBackground;
1232
- 'b-card--expandable': boolean;
1233
- 'b-card--disabled': boolean;
1234
- }>;
1235
- cardBodyConditionalClasses: ComputedRef<{
1236
- 'b-card__body--expandable': boolean;
1237
- 'b-card__body--without-header': boolean;
1238
- }>;
1239
- cardHeaderConditionalClasses: ComputedRef<{
1240
- 'b-card__header--expandable': boolean;
1241
- 'b-card__header--without-body': boolean;
1242
- }>;
1243
- cardContentConditionalClasses: ComputedRef<{
1244
- 'b-card__content--without-header': boolean;
1245
- 'b-card__content--expandable': boolean;
1246
- }>;
1247
- cardActionsConditionalClasses: ComputedRef<{
1248
- 'b-card__actions--without-content': boolean;
1249
- 'b-card__actions--without-content-and-with-header': boolean;
1250
- }>;
1251
- cardTitleWrapperConditionalClasses: ComputedRef<{
1252
- 'b-card__title-wrapper--truncated': boolean;
1253
- }>;
1254
- cardToggleConditionalClasses: ComputedRef<{
1255
- 'b-card__toggle--small-text': boolean;
1256
- }>;
1257
- showCardBody: ComputedRef<boolean>;
1258
- showContent: Ref<boolean>;
1259
- tabIndex: ComputedRef<-1 | 0>;
1260
- showHeader: ComputedRef<boolean>;
1261
- showTitleWrapper: ComputedRef<boolean>;
1262
- typography: ComputedRef<
1263
- Readonly<
1264
- Partial<{
1265
- el: 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | BentoTypographyElement;
1266
- wide: boolean;
1267
- stronger: boolean;
1268
- strongest: boolean;
1269
- variant: 'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant;
1270
- medium: boolean;
1271
- large: boolean;
1272
- }> &
1273
- Omit<
1274
- Readonly<
1275
- ExtractPropTypes<{
1276
- el: {
1277
- type: PropType<
1278
- | 'div'
1279
- | 'h1'
1280
- | 'h2'
1281
- | 'h3'
1282
- | 'h4'
1283
- | 'h5'
1284
- | 'h6'
1285
- | 'p'
1286
- | 'span'
1287
- | BentoTypographyElement
1288
- >;
1289
- default: BentoTypographyElement;
1290
- validator: (value: BentoTypographyElement) => boolean;
1291
- };
1292
- stronger: {
1293
- type: BooleanConstructor;
1294
- default: boolean;
1295
- };
1296
- strongest: {
1297
- type: BooleanConstructor;
1298
- default: boolean;
1299
- };
1300
- variant: {
1301
- type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
1302
- default: BentoTypographyVariant;
1303
- validator: (value: BentoTypographyVariant) => boolean;
1304
- };
1305
- medium: {
1306
- type: BooleanConstructor;
1307
- default: boolean;
1308
- };
1309
- large: {
1310
- type: BooleanConstructor;
1311
- default: boolean;
1312
- };
1313
- wide: {
1314
- type: BooleanConstructor;
1315
- default: boolean;
1316
- };
1317
- }>
1318
- >,
1319
- DefaultKeys<{
1320
- el: {
1321
- type: PropType<
1322
- | 'div'
1323
- | 'h1'
1324
- | 'h2'
1325
- | 'h3'
1326
- | 'h4'
1327
- | 'h5'
1328
- | 'h6'
1329
- | 'p'
1330
- | 'span'
1331
- | BentoTypographyElement
1332
- >;
1333
- default: BentoTypographyElement;
1334
- validator: (value: BentoTypographyElement) => boolean;
1335
- };
1336
- stronger: {
1337
- type: BooleanConstructor;
1338
- default: boolean;
1339
- };
1340
- strongest: {
1341
- type: BooleanConstructor;
1342
- default: boolean;
1343
- };
1344
- variant: {
1345
- type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
1346
- default: BentoTypographyVariant;
1347
- validator: (value: BentoTypographyVariant) => boolean;
1348
- };
1349
- medium: {
1350
- type: BooleanConstructor;
1351
- default: boolean;
1352
- };
1353
- large: {
1354
- type: BooleanConstructor;
1355
- default: boolean;
1356
- };
1357
- wide: {
1358
- type: BooleanConstructor;
1359
- default: boolean;
1360
- };
1361
- }>
1362
- >
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
+ >
1363
1361
  >
1364
- >;
1365
- contentDiv: Ref<HTMLDivElement>;
1366
- contentMaxHeight: ComputedRef<
1367
- | {
1368
- 'max-height': string;
1369
- }
1370
- | {
1371
- 'max-height'?: undefined;
1372
- }
1373
- >;
1374
- hasSlot: (name: string) => boolean;
1375
- onClick: () => void;
1376
- t: (key: 'showCardContent' | 'hideCardContent', values?: default_2.Values) => string;
1377
- toggleExpansion: () => void;
1378
- },
1379
- {},
1380
- {},
1381
- {},
1382
- ComponentOptionsMixin,
1383
- ComponentOptionsMixin,
1384
- ('click' | 'expanded')[],
1385
- string,
1386
- Readonly<
1387
- ExtractPropTypes<{
1388
- /**
1389
- * Defines the color of card background
1390
- */
1391
- background: {
1392
- type: PropType<'primary' | 'secondary' | BentoCardBackground>;
1393
- default: BentoCardBackground;
1394
- validator: (value: BentoCardBackground) => boolean;
1395
- };
1396
- /**
1397
- * Defines the title size of the card header
1398
- */
1399
- titleSize: {
1400
- type: PropType<'default' | 'small' | BentoCardTitleSize>;
1401
- default: BentoCardTitleSize;
1402
- validator: (value: BentoCardTitleSize) => boolean;
1403
- };
1404
- /**
1405
- * The whole content of the card will be expandable in accordion manner
1406
- */
1407
- expandable: {
1408
- type: BooleanConstructor;
1409
- default: boolean;
1410
- };
1411
- /**
1412
- * Sets the expandable card in a closed state
1413
- */
1414
- closed: {
1415
- type: BooleanConstructor;
1416
- default: boolean;
1417
- };
1418
- /**
1419
- * Disables the expandable card
1420
- */
1421
- disabled: {
1422
- type: BooleanConstructor;
1423
- default: boolean;
1424
- };
1425
- /**
1426
- * List of actions that will be used to render the buttons.
1427
- * First element in the list will be rendered as "primary".
1428
- * All elements after the first will be rendered as "secondary".
1429
- *
1430
- * Each object in the list should have a `title`, an `event` and
1431
- * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.
1432
- *
1433
- * `title`: Button's text.
1434
- *
1435
- * `event`: Event triggered when clicking the Button.
1436
- *
1437
- * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.
1438
- *
1439
- * ```
1440
- * [{
1441
- * title: 'Primary',
1442
- * event: () => { ... },
1443
- * icon: FourPeopleIcon
1444
- * }, {
1445
- * title: 'Secondary',
1446
- * event: () => { ... }
1447
- * }]
1448
- * ```
1449
- */
1450
- actions: {
1451
- type: PropType<BentoButtonActionsList>;
1452
- default: any;
1453
- };
1454
- /**
1455
- * Defines the layout in which the button actions is presented.
1456
- * It can be one of:
1457
- *
1458
- * @values BUTTONS_START
1459
- * @values BUTTONS_END
1460
- * @values FILL_CONTAINER
1461
- * @values SPACE_BETWEEN
1462
- * @values VERTICAL_STACK
1463
- */
1464
- actionsLayout: {
1465
- type: PropType<
1466
- | 'space-between'
1467
- | BentoButtonActionsLayout
1468
- | 'buttons-end'
1469
- | 'fill-container'
1470
- | 'vertical-stack'
1471
- | 'buttons-start'
1472
- >;
1473
- default: BentoButtonActionsLayoutBasic;
1474
- validator: (value: BentoButtonActionsLayout) => boolean;
1475
- };
1476
- }>
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
+ }
1477
1372
  >,
1478
1373
  {
1479
- titleSize: 'default' | 'small' | BentoCardTitleSize;
1480
- disabled: boolean;
1481
- background: 'primary' | 'secondary' | BentoCardBackground;
1482
- actions: BentoButtonActionsList;
1483
- actionsLayout:
1484
- | 'space-between'
1485
- | BentoButtonActionsLayout
1486
- | 'buttons-end'
1487
- | 'fill-container'
1488
- | 'vertical-stack'
1489
- | 'buttons-start';
1490
- closed: boolean;
1491
- expandable: boolean;
1374
+ image: (_: {}) => any;
1375
+ default: (_: {}) => any;
1376
+ header: (_: {}) => any;
1377
+ description: (_: {}) => any;
1378
+ content: (_: {}) => any;
1492
1379
  }
1493
1380
  >;
1494
1381
 
@@ -1842,9 +1729,9 @@ export declare const BentoCheckbox: DefineComponent<
1842
1729
  disabled: boolean;
1843
1730
  tag: any;
1844
1731
  optional: boolean;
1845
- readonly: boolean;
1846
1732
  errorMessage: string;
1847
1733
  ariaLabel: string;
1734
+ readonly: boolean;
1848
1735
  hasError: boolean;
1849
1736
  indeterminate: boolean;
1850
1737
  modelValue: BentoCheckboxType | BentoCheckboxGroupItems;
@@ -2151,11 +2038,11 @@ export declare const BentoCheckboxGroup: DefineComponent<
2151
2038
  variant: 'horizontal' | 'vertical' | BentoCheckboxGroupVariant;
2152
2039
  required: boolean;
2153
2040
  disabled: boolean;
2154
- optional: boolean;
2155
- readonly: boolean;
2156
2041
  tooltipText: string;
2042
+ optional: boolean;
2157
2043
  hideLabel: boolean;
2158
2044
  errorMessage: string;
2045
+ readonly: boolean;
2159
2046
  hasError: boolean;
2160
2047
  modelValue: (string | number)[];
2161
2048
  formId: string;
@@ -4412,7 +4299,7 @@ export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem
4412
4299
  * `
4413
4300
  * }
4414
4301
  */
4415
- export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
4302
+ export declare const BentoDataGrid: __VLS_WithTemplateSlots_7<
4416
4303
  DefineComponent<
4417
4304
  {
4418
4305
  /**
@@ -5365,8 +5252,8 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
5365
5252
  condensed: boolean;
5366
5253
  outline: boolean;
5367
5254
  loading: boolean;
5368
- emptyState: any;
5369
5255
  lazyLoadType: BentoLazyLoadType;
5256
+ emptyState: any;
5370
5257
  fitContent: boolean;
5371
5258
  hasResizableColumns: boolean;
5372
5259
  selectableAcrossPages: boolean;
@@ -5489,7 +5376,7 @@ export declare enum BentoDatagridStyleState {
5489
5376
  * `
5490
5377
  * }
5491
5378
  */
5492
- export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_29<
5379
+ export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_32<
5493
5380
  DefineComponent<
5494
5381
  {
5495
5382
  /**
@@ -6254,14 +6141,14 @@ export declare const BentoDatePicker: DefineComponent<
6254
6141
  label: string;
6255
6142
  required: boolean;
6256
6143
  disabled: boolean;
6257
- optional: boolean;
6258
- readonly: boolean;
6259
6144
  isDateDisabled: CalendarMonthIsDateDisabled;
6260
6145
  firstDayOfWeek: CalendarMonthFirstDayOfWeek;
6261
6146
  min: Date;
6262
6147
  max: Date;
6263
6148
  tooltipText: string;
6149
+ optional: boolean;
6264
6150
  errorMessage: string;
6151
+ readonly: boolean;
6265
6152
  }
6266
6153
  >;
6267
6154
 
@@ -6638,8 +6525,6 @@ export declare const BentoDateRangePicker: DefineComponent<
6638
6525
  label: string;
6639
6526
  required: boolean;
6640
6527
  disabled: boolean;
6641
- optional: boolean;
6642
- readonly: boolean;
6643
6528
  isDateDisabled: CalendarMonthIsDateDisabled;
6644
6529
  firstDayOfWeek: CalendarMonthFirstDayOfWeek;
6645
6530
  min: Date;
@@ -6647,7 +6532,9 @@ export declare const BentoDateRangePicker: DefineComponent<
6647
6532
  maxRange: number;
6648
6533
  numberOfMonths: number;
6649
6534
  tooltipText: string;
6535
+ optional: boolean;
6650
6536
  errorMessage: string;
6537
+ readonly: boolean;
6651
6538
  allowTimeInput: boolean;
6652
6539
  granularities: BentoDateRangePickerGranularityConfig<CalendarGranularityType>[];
6653
6540
  quickSelectRanges: DateRangePickerCalendarRangeSelectorItems;
@@ -6728,7 +6615,7 @@ export declare const BentoDivider: DefineComponent<
6728
6615
  * }
6729
6616
  * }
6730
6617
  */
6731
- export declare const BentoDropdown: __VLS_WithTemplateSlots_8<
6618
+ export declare const BentoDropdown: __VLS_WithTemplateSlots_9<
6732
6619
  DefineComponent<
6733
6620
  {
6734
6621
  /**
@@ -7159,20 +7046,20 @@ export declare const BentoDropdown: __VLS_WithTemplateSlots_8<
7159
7046
  required: boolean;
7160
7047
  condensed: boolean;
7161
7048
  disabled: boolean;
7162
- optional: boolean;
7163
- readonly: boolean;
7164
7049
  size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
7165
7050
  multiple: boolean;
7166
7051
  loading: boolean;
7167
7052
  tooltipText: string;
7053
+ optional: boolean;
7168
7054
  errorMessage: string;
7169
7055
  items: BentoListboxOptions;
7170
7056
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
7171
7057
  staticCategories: boolean;
7172
7058
  ariaLabel: string;
7173
- emptyState: BentoListboxEmptyStateProps;
7059
+ readonly: boolean;
7174
7060
  hasMoreItems: boolean;
7175
7061
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
7062
+ emptyState: BentoListboxEmptyStateProps;
7176
7063
  virtualScroll: BentoListboxVirtulisationOptions;
7177
7064
  dynamicFiltering: boolean;
7178
7065
  showSlotContentInMultiple: boolean;
@@ -7465,20 +7352,20 @@ export declare const BentoDropdownAvatar: DefineComponent<
7465
7352
  required: boolean;
7466
7353
  condensed: boolean;
7467
7354
  disabled: boolean;
7468
- optional: boolean;
7469
- readonly: boolean;
7470
7355
  size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
7471
7356
  multiple: boolean;
7472
7357
  loading: boolean;
7473
7358
  tooltipText: string;
7359
+ optional: boolean;
7474
7360
  errorMessage: string;
7475
7361
  items: BentoAvatarListboxOptions;
7476
7362
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
7477
7363
  staticCategories: boolean;
7478
7364
  ariaLabel: string;
7479
- emptyState: BentoListboxEmptyStateProps;
7365
+ readonly: boolean;
7480
7366
  hasMoreItems: boolean;
7481
7367
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
7368
+ emptyState: BentoListboxEmptyStateProps;
7482
7369
  virtualScroll: BentoListboxVirtulisationOptions;
7483
7370
  dynamicFiltering: boolean;
7484
7371
  showSlotContentInMultiple: boolean;
@@ -7783,20 +7670,20 @@ export declare const BentoDropdownCountry: DefineComponent<
7783
7670
  required: boolean;
7784
7671
  condensed: boolean;
7785
7672
  disabled: boolean;
7786
- optional: boolean;
7787
- readonly: boolean;
7788
7673
  size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
7789
7674
  multiple: boolean;
7790
7675
  loading: boolean;
7791
7676
  tooltipText: string;
7677
+ optional: boolean;
7792
7678
  errorMessage: string;
7793
7679
  items: BentoCountryListboxOptions;
7794
7680
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
7795
7681
  staticCategories: boolean;
7796
7682
  ariaLabel: string;
7797
- emptyState: BentoListboxEmptyStateProps;
7683
+ readonly: boolean;
7798
7684
  hasMoreItems: boolean;
7799
7685
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
7686
+ emptyState: BentoListboxEmptyStateProps;
7800
7687
  virtualScroll: BentoListboxVirtulisationOptions;
7801
7688
  dynamicFiltering: boolean;
7802
7689
  showSlotContentInMultiple: boolean;
@@ -8082,20 +7969,20 @@ export declare const BentoDropdownCurrency: DefineComponent<
8082
7969
  required: boolean;
8083
7970
  condensed: boolean;
8084
7971
  disabled: boolean;
8085
- optional: boolean;
8086
- readonly: boolean;
8087
7972
  size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
8088
7973
  multiple: boolean;
8089
7974
  loading: boolean;
8090
7975
  tooltipText: string;
7976
+ optional: boolean;
8091
7977
  errorMessage: string;
8092
7978
  items: BentoCurrencyListboxOptions;
8093
7979
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
8094
7980
  staticCategories: boolean;
8095
7981
  ariaLabel: string;
8096
- emptyState: BentoListboxEmptyStateProps;
7982
+ readonly: boolean;
8097
7983
  hasMoreItems: boolean;
8098
7984
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
7985
+ emptyState: BentoListboxEmptyStateProps;
8099
7986
  virtualScroll: BentoListboxVirtulisationOptions;
8100
7987
  dynamicFiltering: boolean;
8101
7988
  showSlotContentInMultiple: boolean;
@@ -8381,20 +8268,20 @@ export declare const BentoDropdownPaymentMethod: DefineComponent<
8381
8268
  required: boolean;
8382
8269
  condensed: boolean;
8383
8270
  disabled: boolean;
8384
- optional: boolean;
8385
- readonly: boolean;
8386
8271
  size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
8387
8272
  multiple: boolean;
8388
8273
  loading: boolean;
8389
8274
  tooltipText: string;
8275
+ optional: boolean;
8390
8276
  errorMessage: string;
8391
8277
  items: BentoPaymentMethodListboxOptions;
8392
8278
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
8393
8279
  staticCategories: boolean;
8394
8280
  ariaLabel: string;
8395
- emptyState: BentoListboxEmptyStateProps;
8281
+ readonly: boolean;
8396
8282
  hasMoreItems: boolean;
8397
8283
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
8284
+ emptyState: BentoListboxEmptyStateProps;
8398
8285
  virtualScroll: BentoListboxVirtulisationOptions;
8399
8286
  dynamicFiltering: boolean;
8400
8287
  showSlotContentInMultiple: boolean;
@@ -8688,20 +8575,20 @@ export declare const BentoDropdownTag: DefineComponent<
8688
8575
  required: boolean;
8689
8576
  condensed: boolean;
8690
8577
  disabled: boolean;
8691
- optional: boolean;
8692
- readonly: boolean;
8693
8578
  size: 'DropdownInputDefault' | 'DropdownInputSmall' | BentoDropdownSize;
8694
8579
  multiple: boolean;
8695
8580
  loading: boolean;
8696
8581
  tooltipText: string;
8582
+ optional: boolean;
8697
8583
  errorMessage: string;
8698
8584
  items: BentoTagListboxOptions;
8699
8585
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
8700
8586
  staticCategories: boolean;
8701
8587
  ariaLabel: string;
8702
- emptyState: BentoListboxEmptyStateProps;
8588
+ readonly: boolean;
8703
8589
  hasMoreItems: boolean;
8704
8590
  lazyLoadType: 'button' | 'none' | 'automatic' | BentoListboxLazyLoadType;
8591
+ emptyState: BentoListboxEmptyStateProps;
8705
8592
  virtualScroll: BentoListboxVirtulisationOptions;
8706
8593
  dynamicFiltering: boolean;
8707
8594
  showSlotContentInMultiple: boolean;
@@ -8733,7 +8620,7 @@ export declare const BentoDropdownTag: DefineComponent<
8733
8620
  * `
8734
8621
  * }
8735
8622
  */
8736
- export declare const BentoEmptyState: __VLS_WithTemplateSlots_7<
8623
+ export declare const BentoEmptyState: __VLS_WithTemplateSlots_8<
8737
8624
  DefineComponent<
8738
8625
  {
8739
8626
  /**
@@ -9251,7 +9138,7 @@ export declare type BentoFilterValues = Array<BentoFilterValue>;
9251
9138
  * `
9252
9139
  * }
9253
9140
  */
9254
- export declare const BentoFormLayout: __VLS_WithTemplateSlots_9<
9141
+ export declare const BentoFormLayout: __VLS_WithTemplateSlots_11<
9255
9142
  DefineComponent<
9256
9143
  {
9257
9144
  /**
@@ -9332,7 +9219,7 @@ export declare const BentoFormLayout: __VLS_WithTemplateSlots_9<
9332
9219
  * </bento-form-layout-field-tip>
9333
9220
  * `
9334
9221
  */
9335
- export declare const BentoFormLayoutFieldTip: __VLS_WithTemplateSlots_10<
9222
+ export declare const BentoFormLayoutFieldTip: __VLS_WithTemplateSlots_12<
9336
9223
  DefineComponent<
9337
9224
  {
9338
9225
  /**
@@ -9398,7 +9285,7 @@ declare type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;
9398
9285
  * `
9399
9286
  * }
9400
9287
  */
9401
- export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_12<
9288
+ export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_14<
9402
9289
  DefineComponent<
9403
9290
  {
9404
9291
  /**
@@ -9501,7 +9388,7 @@ export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_12<
9501
9388
  * `
9502
9389
  * }
9503
9390
  */
9504
- export declare const BentoFormLayoutTitle: __VLS_WithTemplateSlots_11<
9391
+ export declare const BentoFormLayoutTitle: __VLS_WithTemplateSlots_13<
9505
9392
  DefineComponent<
9506
9393
  {
9507
9394
  /**
@@ -10031,7 +9918,7 @@ export declare type BentoInputDropdownProps = {
10031
9918
  * >
10032
9919
  * }
10033
9920
  */
10034
- export declare const BentoInputField: __VLS_WithTemplateSlots_13<
9921
+ export declare const BentoInputField: __VLS_WithTemplateSlots_15<
10035
9922
  DefineComponent<
10036
9923
  {
10037
9924
  /**
@@ -10067,7 +9954,11 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
10067
9954
  };
10068
9955
  /**
10069
9956
  * Dropdown props for the small selectable dropdown menu.
10070
- * @see BentoDropdown
9957
+ * Properties supported:
9958
+ *
9959
+ * - `value`: Selected value of the dropdown
9960
+ * - `items`: List of available items
9961
+ *
10071
9962
  */
10072
9963
  dropdown: {
10073
9964
  type: PropType<BentoInputDropdownProps>;
@@ -10150,11 +10041,13 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
10150
10041
  };
10151
10042
  /**
10152
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.
10153
10047
  */
10154
10048
  type: {
10155
- type: PropType<'number' | 'search' | 'text' | BentoInputFieldType>;
10049
+ type: PropType<string>;
10156
10050
  default: BentoInputFieldType;
10157
- validator: (value: BentoInputFieldType) => boolean;
10158
10051
  };
10159
10052
  /**
10160
10053
  * Text displayed as the value of the input-field
@@ -10233,7 +10126,11 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
10233
10126
  };
10234
10127
  /**
10235
10128
  * Dropdown props for the small selectable dropdown menu.
10236
- * @see BentoDropdown
10129
+ * Properties supported:
10130
+ *
10131
+ * - `value`: Selected value of the dropdown
10132
+ * - `items`: List of available items
10133
+ *
10237
10134
  */
10238
10135
  dropdown: {
10239
10136
  type: PropType<BentoInputDropdownProps>;
@@ -10316,11 +10213,13 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
10316
10213
  };
10317
10214
  /**
10318
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.
10319
10219
  */
10320
10220
  type: {
10321
- type: PropType<'number' | 'search' | 'text' | BentoInputFieldType>;
10221
+ type: PropType<string>;
10322
10222
  default: BentoInputFieldType;
10323
- validator: (value: BentoInputFieldType) => boolean;
10324
10223
  };
10325
10224
  /**
10326
10225
  * Text displayed as the value of the input-field
@@ -10342,16 +10241,16 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
10342
10241
  {
10343
10242
  error: boolean;
10344
10243
  value: BentoInputFieldValue;
10345
- type: 'number' | 'search' | 'text' | BentoInputFieldType;
10244
+ type: string;
10346
10245
  variant: 'default' | 'payment-method' | 'static-value' | 'dropdown' | BentoInputFieldVariant;
10347
10246
  required: boolean;
10348
10247
  condensed: boolean;
10349
10248
  disabled: boolean;
10350
- optional: boolean;
10351
- readonly: boolean;
10352
10249
  tooltipText: string;
10250
+ optional: boolean;
10353
10251
  errorMessage: string;
10354
10252
  ariaLabel: string;
10253
+ readonly: boolean;
10355
10254
  placeholder: string;
10356
10255
  dropdown: BentoInputDropdownProps;
10357
10256
  ariaHidden: boolean;
@@ -10491,10 +10390,10 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
10491
10390
  * `
10492
10391
  * }
10493
10392
  */
10494
- export declare const BentoLink: __VLS_WithTemplateSlots_14<
10393
+ export declare const BentoLink: __VLS_WithTemplateSlots_16<
10495
10394
  DefineComponent<
10496
- __VLS_WithDefaults<
10497
- __VLS_TypePropsToRuntimeProps<LinkProps>,
10395
+ __VLS_WithDefaults_3<
10396
+ __VLS_TypePropsToRuntimeProps_3<LinkProps>,
10498
10397
  {
10499
10398
  target: any;
10500
10399
  variant: BentoLinkVariant;
@@ -10512,8 +10411,8 @@ export declare const BentoLink: __VLS_WithTemplateSlots_14<
10512
10411
  string,
10513
10412
  Readonly<
10514
10413
  ExtractPropTypes<
10515
- __VLS_WithDefaults<
10516
- __VLS_TypePropsToRuntimeProps<LinkProps>,
10414
+ __VLS_WithDefaults_3<
10415
+ __VLS_TypePropsToRuntimeProps_3<LinkProps>,
10517
10416
  {
10518
10417
  target: any;
10519
10418
  variant: BentoLinkVariant;
@@ -10624,7 +10523,7 @@ export { BentoListboxVirtulisationOptions };
10624
10523
  * `
10625
10524
  * }
10626
10525
  */
10627
- export declare const BentoLoadingButton: __VLS_WithTemplateSlots_4<
10526
+ export declare const BentoLoadingButton: __VLS_WithTemplateSlots_5<
10628
10527
  DefineComponent<
10629
10528
  {
10630
10529
  /**
@@ -10937,6 +10836,7 @@ export declare const BentoMenu: DefineComponent<
10937
10836
  onKeyDown: () => void;
10938
10837
  onKeyUp: () => void;
10939
10838
  closeMenu: () => void;
10839
+ menuItemClick: () => void;
10940
10840
  toggleShowMenu: (e: MouseEvent) => void;
10941
10841
  },
10942
10842
  {},
@@ -10944,7 +10844,7 @@ export declare const BentoMenu: DefineComponent<
10944
10844
  {},
10945
10845
  ComponentOptionsMixin,
10946
10846
  ComponentOptionsMixin,
10947
- (BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN)[],
10847
+ (BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN | 'menu-item-click')[],
10948
10848
  string,
10949
10849
  Readonly<
10950
10850
  ExtractPropTypes<{
@@ -11082,7 +10982,7 @@ export declare interface BentoMenuItem {
11082
10982
  * `
11083
10983
  * };
11084
10984
  */
11085
- export declare const BentoModal: __VLS_WithTemplateSlots_16<
10985
+ export declare const BentoModal: __VLS_WithTemplateSlots_18<
11086
10986
  DefineComponent<
11087
10987
  {
11088
10988
  /**
@@ -11198,7 +11098,7 @@ export declare const BentoModal: __VLS_WithTemplateSlots_16<
11198
11098
  * Sets the width of the modal
11199
11099
  */
11200
11100
  size: {
11201
- type: PropType<'small' | 'medium' | 'large' | BentoModalSize>;
11101
+ type: PropType<'small' | 'large' | 'medium' | BentoModalSize>;
11202
11102
  default: BentoModalSize;
11203
11103
  validator: (value: BentoModalSize) => boolean;
11204
11104
  };
@@ -11347,7 +11247,7 @@ export declare const BentoModal: __VLS_WithTemplateSlots_16<
11347
11247
  * Sets the width of the modal
11348
11248
  */
11349
11249
  size: {
11350
- type: PropType<'small' | 'medium' | 'large' | BentoModalSize>;
11250
+ type: PropType<'small' | 'large' | 'medium' | BentoModalSize>;
11351
11251
  default: BentoModalSize;
11352
11252
  validator: (value: BentoModalSize) => boolean;
11353
11253
  };
@@ -11374,7 +11274,7 @@ export declare const BentoModal: __VLS_WithTemplateSlots_16<
11374
11274
  variant: 'default' | 'dialog' | 'BentoModalDefault' | 'BentoModalDialog' | BentoModalVariant;
11375
11275
  isOpen: boolean;
11376
11276
  content: string;
11377
- size: 'small' | 'medium' | 'large' | BentoModalSize;
11277
+ size: 'small' | 'large' | 'medium' | BentoModalSize;
11378
11278
  activePage: string;
11379
11279
  actions: BentoButtonActionsList;
11380
11280
  actionsLabel: string;
@@ -11441,7 +11341,7 @@ export declare enum BentoModalEvent {
11441
11341
  * `
11442
11342
  * }
11443
11343
  */
11444
- export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_17<
11344
+ export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_19<
11445
11345
  DefineComponent<
11446
11346
  {
11447
11347
  /**
@@ -11598,7 +11498,7 @@ export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_17<
11598
11498
  * `
11599
11499
  * }
11600
11500
  */
11601
- export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_18<
11501
+ export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_20<
11602
11502
  DefineComponent<
11603
11503
  {
11604
11504
  /**
@@ -11757,7 +11657,7 @@ export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_18<
11757
11657
  * `
11758
11658
  * }
11759
11659
  */
11760
- export declare const BentoModalPage: __VLS_WithTemplateSlots_15<
11660
+ export declare const BentoModalPage: __VLS_WithTemplateSlots_17<
11761
11661
  DefineComponent<
11762
11662
  {
11763
11663
  /**
@@ -13356,7 +13256,7 @@ export declare enum BentoPaymentMethodType {
13356
13256
  * `
13357
13257
  * }
13358
13258
  */
13359
- export declare const BentoPopover: __VLS_WithTemplateSlots_19<
13259
+ export declare const BentoPopover: __VLS_WithTemplateSlots_21<
13360
13260
  DefineComponent<
13361
13261
  {
13362
13262
  /**
@@ -13856,7 +13756,7 @@ export declare type BentoPopoverPositions = PopperContainerPosition;
13856
13756
  * }
13857
13757
  * }
13858
13758
  */
13859
- export declare const BentoRadioButton: __VLS_WithTemplateSlots_21<
13759
+ export declare const BentoRadioButton: __VLS_WithTemplateSlots_23<
13860
13760
  DefineComponent<
13861
13761
  {
13862
13762
  /**
@@ -14107,7 +14007,7 @@ export declare type BentoRadioButtonValue = string | number;
14107
14007
  * `
14108
14008
  * };
14109
14009
  */
14110
- export declare const BentoRadioGroup: __VLS_WithTemplateSlots_20<
14010
+ export declare const BentoRadioGroup: __VLS_WithTemplateSlots_22<
14111
14011
  DefineComponent<
14112
14012
  {
14113
14013
  /**
@@ -14336,11 +14236,11 @@ export declare const BentoRadioGroup: __VLS_WithTemplateSlots_20<
14336
14236
  variant: 'horizontal' | 'vertical' | BentoRadioGroupVariant;
14337
14237
  required: boolean;
14338
14238
  disabled: boolean;
14339
- optional: boolean;
14340
- readonly: boolean;
14341
14239
  tooltipText: string;
14240
+ optional: boolean;
14342
14241
  hideLabel: boolean;
14343
14242
  errorMessage: string;
14243
+ readonly: boolean;
14344
14244
  hasError: boolean;
14345
14245
  modelValue: BentoRadioButtonValue;
14346
14246
  formId: string;
@@ -14558,7 +14458,7 @@ export declare interface BentoSearchBarItem {
14558
14458
  * }
14559
14459
  */
14560
14460
  export declare const BentoSecondaryNav: DefineComponent<
14561
- __VLS_TypePropsToRuntimeProps_2<{
14461
+ __VLS_TypePropsToRuntimeProps_4<{
14562
14462
  /**
14563
14463
  * An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
14564
14464
  * which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
@@ -14581,7 +14481,7 @@ export declare const BentoSecondaryNav: DefineComponent<
14581
14481
  string,
14582
14482
  Readonly<
14583
14483
  ExtractPropTypes<
14584
- __VLS_TypePropsToRuntimeProps_2<{
14484
+ __VLS_TypePropsToRuntimeProps_4<{
14585
14485
  /**
14586
14486
  * An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
14587
14487
  * which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
@@ -14866,7 +14766,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
14866
14766
  * `
14867
14767
  * }
14868
14768
  */
14869
- export declare const BentoSelectionCard: __VLS_WithTemplateSlots_22<
14769
+ export declare const BentoSelectionCard: __VLS_WithTemplateSlots_24<
14870
14770
  DefineComponent<
14871
14771
  {
14872
14772
  /**
@@ -15061,7 +14961,7 @@ export declare const BentoSelectionCard: __VLS_WithTemplateSlots_22<
15061
14961
  * `,
15062
14962
  * }
15063
14963
  */
15064
- export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_23<
14964
+ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_25<
15065
14965
  DefineComponent<
15066
14966
  {
15067
14967
  /**
@@ -15288,12 +15188,12 @@ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_23<
15288
15188
  variant: BentoSelectionCardGroupVariant;
15289
15189
  required: boolean;
15290
15190
  disabled: boolean;
15291
- optional: boolean;
15292
- readonly: boolean;
15293
15191
  layout: BentoSelectionCardGroupLayout;
15294
15192
  tooltipText: string;
15193
+ optional: boolean;
15295
15194
  hideLabel: boolean;
15296
15195
  errorMessage: string;
15196
+ readonly: boolean;
15297
15197
  modelValue: BentoSelectionCardModelValue;
15298
15198
  formId: string;
15299
15199
  }
@@ -15376,7 +15276,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
15376
15276
  * `
15377
15277
  * }
15378
15278
  */
15379
- export declare const BentoSidepanel: __VLS_WithTemplateSlots_25<
15279
+ export declare const BentoSidepanel: __VLS_WithTemplateSlots_27<
15380
15280
  DefineComponent<
15381
15281
  {
15382
15282
  /**
@@ -15494,7 +15394,7 @@ export declare enum BentoSidepanelEvent {
15494
15394
  * `
15495
15395
  * }
15496
15396
  */
15497
- export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_24<
15397
+ export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_26<
15498
15398
  DefineComponent<
15499
15399
  {
15500
15400
  /**
@@ -15720,7 +15620,7 @@ export declare enum BentoStatusVariant {
15720
15620
  * `
15721
15621
  * }
15722
15622
  */
15723
- export declare const BentoStep: __VLS_WithTemplateSlots_27<
15623
+ export declare const BentoStep: __VLS_WithTemplateSlots_29<
15724
15624
  DefineComponent<
15725
15625
  {
15726
15626
  /**
@@ -15794,7 +15694,7 @@ export declare const BentoStep: __VLS_WithTemplateSlots_27<
15794
15694
  * `
15795
15695
  * }
15796
15696
  */
15797
- export declare const BentoStepper: __VLS_WithTemplateSlots_26<
15697
+ export declare const BentoStepper: __VLS_WithTemplateSlots_28<
15798
15698
  DefineComponent<
15799
15699
  {
15800
15700
  /**
@@ -15920,7 +15820,7 @@ export declare enum BentoStepperVariantOption {
15920
15820
  * `
15921
15821
  * }
15922
15822
  */
15923
- export declare const BentoStructuredList: __VLS_WithTemplateSlots_28<
15823
+ export declare const BentoStructuredList: __VLS_WithTemplateSlots_30<
15924
15824
  DefineComponent<
15925
15825
  {
15926
15826
  /**
@@ -16293,7 +16193,7 @@ export declare const BentoSummaryGridItemAmount: DefineComponent<
16293
16193
  * Defines the size of the `summary-grid-item` text content
16294
16194
  */
16295
16195
  size: {
16296
- type: PropType<'small' | 'medium' | 'large' | BentoSummaryGridItemSize>;
16196
+ type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
16297
16197
  default: BentoSummaryGridItemSize;
16298
16198
  validator: (value: BentoSummaryGridItemSize) => boolean;
16299
16199
  };
@@ -16391,7 +16291,7 @@ export declare const BentoSummaryGridItemAmount: DefineComponent<
16391
16291
  * Defines the size of the `summary-grid-item` text content
16392
16292
  */
16393
16293
  size: {
16394
- type: PropType<'small' | 'medium' | 'large' | BentoSummaryGridItemSize>;
16294
+ type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
16395
16295
  default: BentoSummaryGridItemSize;
16396
16296
  validator: (value: BentoSummaryGridItemSize) => boolean;
16397
16297
  };
@@ -16399,7 +16299,7 @@ export declare const BentoSummaryGridItemAmount: DefineComponent<
16399
16299
  >,
16400
16300
  {
16401
16301
  copy: string;
16402
- size: 'small' | 'medium' | 'large' | BentoSummaryGridItemSize;
16302
+ size: 'small' | 'large' | 'medium' | BentoSummaryGridItemSize;
16403
16303
  fitContent: boolean;
16404
16304
  infoIconTooltipText: string;
16405
16305
  trend: string;
@@ -16602,7 +16502,7 @@ export declare const BentoSummaryGridItemNumeric: DefineComponent<
16602
16502
  * Defines the size of the `summary-grid-item` text content
16603
16503
  */
16604
16504
  size: {
16605
- type: PropType<'small' | 'medium' | 'large' | BentoSummaryGridItemSize>;
16505
+ type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
16606
16506
  default: BentoSummaryGridItemSize;
16607
16507
  validator: (value: BentoSummaryGridItemSize) => boolean;
16608
16508
  };
@@ -16693,7 +16593,7 @@ export declare const BentoSummaryGridItemNumeric: DefineComponent<
16693
16593
  * Defines the size of the `summary-grid-item` text content
16694
16594
  */
16695
16595
  size: {
16696
- type: PropType<'small' | 'medium' | 'large' | BentoSummaryGridItemSize>;
16596
+ type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
16697
16597
  default: BentoSummaryGridItemSize;
16698
16598
  validator: (value: BentoSummaryGridItemSize) => boolean;
16699
16599
  };
@@ -16701,7 +16601,7 @@ export declare const BentoSummaryGridItemNumeric: DefineComponent<
16701
16601
  >,
16702
16602
  {
16703
16603
  copy: string;
16704
- size: 'small' | 'medium' | 'large' | BentoSummaryGridItemSize;
16604
+ size: 'small' | 'large' | 'medium' | BentoSummaryGridItemSize;
16705
16605
  fitContent: boolean;
16706
16606
  infoIconTooltipText: string;
16707
16607
  trend: string;
@@ -16810,7 +16710,7 @@ export declare const BentoSummaryGridItemPercentage: DefineComponent<
16810
16710
  * Defines the size of the `summary-grid-item` text content
16811
16711
  */
16812
16712
  size: {
16813
- type: PropType<'small' | 'medium' | 'large' | BentoSummaryGridItemSize>;
16713
+ type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
16814
16714
  default: BentoSummaryGridItemSize;
16815
16715
  validator: (value: BentoSummaryGridItemSize) => boolean;
16816
16716
  };
@@ -16901,7 +16801,7 @@ export declare const BentoSummaryGridItemPercentage: DefineComponent<
16901
16801
  * Defines the size of the `summary-grid-item` text content
16902
16802
  */
16903
16803
  size: {
16904
- type: PropType<'small' | 'medium' | 'large' | BentoSummaryGridItemSize>;
16804
+ type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
16905
16805
  default: BentoSummaryGridItemSize;
16906
16806
  validator: (value: BentoSummaryGridItemSize) => boolean;
16907
16807
  };
@@ -16909,7 +16809,7 @@ export declare const BentoSummaryGridItemPercentage: DefineComponent<
16909
16809
  >,
16910
16810
  {
16911
16811
  copy: string;
16912
- size: 'small' | 'medium' | 'large' | BentoSummaryGridItemSize;
16812
+ size: 'small' | 'large' | 'medium' | BentoSummaryGridItemSize;
16913
16813
  fitContent: boolean;
16914
16814
  infoIconTooltipText: string;
16915
16815
  trend: string;
@@ -17534,12 +17434,12 @@ export declare const BentoTextarea: DefineComponent<
17534
17434
  label: string;
17535
17435
  required: boolean;
17536
17436
  disabled: boolean;
17537
- optional: boolean;
17538
- readonly: boolean;
17539
17437
  height: string;
17540
17438
  tooltipText: string;
17439
+ optional: boolean;
17541
17440
  errorMessage: string;
17542
17441
  ariaLabel: string;
17442
+ readonly: boolean;
17543
17443
  placeholder: string;
17544
17444
  clearable: boolean;
17545
17445
  characterLimit: number;
@@ -18077,39 +17977,9 @@ export declare interface BentoTimelineTimestamp {
18077
17977
  value?: string;
18078
17978
  }
18079
17979
 
18080
- /**
18081
- * @example
18082
- * import { BentoToast, useBentoToastController } from '@adyen/bento-vue2';
18083
- *
18084
- * export default {
18085
- * components: { BentoToast },
18086
- * template: `
18087
- * // in your project root
18088
- * <bento-toast />
18089
- * setup() {
18090
- * bentoToastController = useBentoToastController();
18091
- * onTrigger = () => {
18092
- * bentoToastController.addToast({ text: 'Your toast text', action: { text: 'Button text', handler: () => { your code here } });
18093
- * }
18094
- * `
18095
- * }
18096
- */
18097
17980
  export declare const BentoToast: DefineComponent<
18098
17981
  {},
18099
- {
18100
- computedPositioning: ComputedRef<
18101
- {
18102
- top: string;
18103
- width: string;
18104
- }[]
18105
- >;
18106
- computedHeight: ComputedRef<{
18107
- bottom: string;
18108
- height: string;
18109
- }>;
18110
- toastsToShow: ComputedRef<BentoToastItem[]>;
18111
- toast: any;
18112
- },
17982
+ {},
18113
17983
  {},
18114
17984
  {},
18115
17985
  {},
@@ -18121,17 +17991,23 @@ export declare const BentoToast: DefineComponent<
18121
17991
  {}
18122
17992
  >;
18123
17993
 
18124
- declare interface BentoToastItem {
18125
- action?: BentoToastItemAction;
18126
- text: string;
18127
- dismiss?: () => void;
17994
+ export declare interface BentoToastItem extends BentoToastItemParams {
17995
+ id: string;
17996
+ dismiss: () => void;
18128
17997
  }
18129
17998
 
18130
- declare interface BentoToastItemAction {
17999
+ export declare interface BentoToastItemAction {
18131
18000
  handler: () => void;
18132
18001
  text: string;
18133
18002
  }
18134
18003
 
18004
+ export declare interface BentoToastItemParams {
18005
+ action?: BentoToastItemAction;
18006
+ text: string;
18007
+ }
18008
+
18009
+ export declare type BentoToastItemsList = Array<BentoToastItem>;
18010
+
18135
18011
  /**
18136
18012
  * A wrapper around the bento toggle, providing checkbox functionality with a knob-like toggle
18137
18013
  *
@@ -18262,8 +18138,8 @@ export declare const BentoToggle: DefineComponent<
18262
18138
  {
18263
18139
  value: boolean;
18264
18140
  disabled: boolean;
18265
- readonly: boolean;
18266
18141
  ariaLabel: string;
18142
+ readonly: boolean;
18267
18143
  labelPosition: 'after' | 'before' | BentoToggleLabelPosition;
18268
18144
  }
18269
18145
  >;
@@ -18284,7 +18160,7 @@ export declare const BentoToggle: DefineComponent<
18284
18160
  * `
18285
18161
  * }
18286
18162
  */
18287
- export declare const BentoToggleButton: __VLS_WithTemplateSlots_5<
18163
+ export declare const BentoToggleButton: __VLS_WithTemplateSlots_6<
18288
18164
  DefineComponent<
18289
18165
  {
18290
18166
  /**
@@ -18560,149 +18436,128 @@ export declare interface BentoTutorialStep {
18560
18436
  * `
18561
18437
  * }
18562
18438
  */
18563
- export declare const BentoTypography: DefineComponent<
18564
- {
18565
- /**
18566
- * Sets the HTML DOM element.
18567
- * @values h1, h2, h3, h4, h5, h6, div, p, span
18568
- */
18569
- el: {
18570
- type: PropType<'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | BentoTypographyElement>;
18571
- default: BentoTypographyElement;
18572
- validator: (value: BentoTypographyElement) => boolean;
18573
- };
18574
- /**
18575
- * Adds the stronger class modifier.
18576
- * Applicable to Caption, Body and Subtitle variants.
18577
- */
18578
- stronger: {
18579
- type: BooleanConstructor;
18580
- default: boolean;
18581
- };
18582
- /**
18583
- * Adds the strongest class modifier.
18584
- * Applicable to Caption, Body and Subtitle variants.
18585
- */
18586
- strongest: {
18587
- type: BooleanConstructor;
18588
- default: boolean;
18589
- };
18590
- /**
18591
- * Sets the type of typography variant.
18592
- * @values caption, body, title.
18593
- */
18594
- variant: {
18595
- type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
18596
- default: BentoTypographyVariant;
18597
- validator: (value: BentoTypographyVariant) => boolean;
18598
- };
18599
- /**
18600
- * Adds the medium class modifier.
18601
- * Applicable to the Title variant.
18602
- */
18603
- medium: {
18604
- type: BooleanConstructor;
18605
- default: boolean;
18606
- };
18607
- /**
18608
- * Adds the large class modifier.
18609
- * Applicable to the Title variant.
18610
- */
18611
- large: {
18612
- type: BooleanConstructor;
18613
- default: boolean;
18614
- };
18615
- /**
18616
- * Adds the medium class modifier.
18617
- * Applicable to tje Body variant.
18618
- */
18619
- wide: {
18620
- type: BooleanConstructor;
18621
- default: boolean;
18622
- };
18623
- },
18624
- {
18625
- conditionalClasses: ComputedRef<{
18626
- [x: string]: boolean;
18627
- }>;
18628
- },
18629
- {},
18630
- {},
18631
- {},
18632
- ComponentOptionsMixin,
18633
- ComponentOptionsMixin,
18634
- {},
18635
- string,
18636
- Readonly<
18637
- ExtractPropTypes<{
18638
- /**
18639
- * Sets the HTML DOM element.
18640
- * @values h1, h2, h3, h4, h5, h6, div, p, span
18641
- */
18642
- el: {
18643
- type: PropType<'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | BentoTypographyElement>;
18644
- default: BentoTypographyElement;
18645
- validator: (value: BentoTypographyElement) => boolean;
18646
- };
18647
- /**
18648
- * Adds the stronger class modifier.
18649
- * Applicable to Caption, Body and Subtitle variants.
18650
- */
18651
- stronger: {
18652
- type: BooleanConstructor;
18653
- default: boolean;
18654
- };
18655
- /**
18656
- * Adds the strongest class modifier.
18657
- * Applicable to Caption, Body and Subtitle variants.
18658
- */
18659
- strongest: {
18660
- type: BooleanConstructor;
18661
- default: boolean;
18662
- };
18663
- /**
18664
- * Sets the type of typography variant.
18665
- * @values caption, body, title.
18666
- */
18667
- variant: {
18668
- type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
18669
- default: BentoTypographyVariant;
18670
- validator: (value: BentoTypographyVariant) => boolean;
18671
- };
18672
- /**
18673
- * Adds the medium class modifier.
18674
- * Applicable to the Title variant.
18675
- */
18676
- medium: {
18677
- type: BooleanConstructor;
18678
- default: boolean;
18679
- };
18680
- /**
18681
- * Adds the large class modifier.
18682
- * Applicable to the Title variant.
18683
- */
18684
- large: {
18685
- type: BooleanConstructor;
18686
- default: boolean;
18687
- };
18688
- /**
18689
- * Adds the medium class modifier.
18690
- * Applicable to tje Body variant.
18691
- */
18692
- wide: {
18693
- type: BooleanConstructor;
18694
- default: boolean;
18695
- };
18696
- }>
18439
+ export declare const BentoTypography: __VLS_WithTemplateSlots_31<
18440
+ DefineComponent<
18441
+ __VLS_WithDefaults_4<
18442
+ __VLS_TypePropsToRuntimeProps_5<{
18443
+ /**
18444
+ * Sets the HTML DOM element.
18445
+ * @values h1, h2, h3, h4, h5, h6, div, p, span
18446
+ */
18447
+ el?: BentoTypographyElement | `${BentoTypographyElement}`;
18448
+ /**
18449
+ * Adds the large class modifier.
18450
+ * Applicable to the Title variant.
18451
+ */
18452
+ large?: boolean;
18453
+ /**
18454
+ * Adds the medium class modifier.
18455
+ * Applicable to the Title variant.
18456
+ */
18457
+ medium?: boolean;
18458
+ /**
18459
+ * Adds the stronger class modifier.
18460
+ * Applicable to Caption, Body and Subtitle variants.
18461
+ */
18462
+ stronger?: boolean;
18463
+ /**
18464
+ * Adds the strongest class modifier.
18465
+ * Applicable to Caption, Body and Subtitle variants.
18466
+ */
18467
+ strongest?: boolean;
18468
+ /**
18469
+ * Sets the type of typography variant.
18470
+ * @values caption, body, title.
18471
+ */
18472
+ variant?: BentoTypographyVariant | `${BentoTypographyVariant}`;
18473
+ /**
18474
+ * Adds the medium class modifier.
18475
+ * Applicable to tje Body variant.
18476
+ */
18477
+ wide?: boolean;
18478
+ }>,
18479
+ {
18480
+ el: BentoTypographyElement;
18481
+ large: boolean;
18482
+ medium: boolean;
18483
+ stronger: boolean;
18484
+ strongest: boolean;
18485
+ variant: BentoTypographyVariant;
18486
+ wide: boolean;
18487
+ }
18488
+ >,
18489
+ {},
18490
+ {},
18491
+ {},
18492
+ {},
18493
+ ComponentOptionsMixin,
18494
+ ComponentOptionsMixin,
18495
+ {},
18496
+ string,
18497
+ Readonly<
18498
+ ExtractPropTypes<
18499
+ __VLS_WithDefaults_4<
18500
+ __VLS_TypePropsToRuntimeProps_5<{
18501
+ /**
18502
+ * Sets the HTML DOM element.
18503
+ * @values h1, h2, h3, h4, h5, h6, div, p, span
18504
+ */
18505
+ el?: BentoTypographyElement | `${BentoTypographyElement}`;
18506
+ /**
18507
+ * Adds the large class modifier.
18508
+ * Applicable to the Title variant.
18509
+ */
18510
+ large?: boolean;
18511
+ /**
18512
+ * Adds the medium class modifier.
18513
+ * Applicable to the Title variant.
18514
+ */
18515
+ medium?: boolean;
18516
+ /**
18517
+ * Adds the stronger class modifier.
18518
+ * Applicable to Caption, Body and Subtitle variants.
18519
+ */
18520
+ stronger?: boolean;
18521
+ /**
18522
+ * Adds the strongest class modifier.
18523
+ * Applicable to Caption, Body and Subtitle variants.
18524
+ */
18525
+ strongest?: boolean;
18526
+ /**
18527
+ * Sets the type of typography variant.
18528
+ * @values caption, body, title.
18529
+ */
18530
+ variant?: BentoTypographyVariant | `${BentoTypographyVariant}`;
18531
+ /**
18532
+ * Adds the medium class modifier.
18533
+ * Applicable to tje Body variant.
18534
+ */
18535
+ wide?: boolean;
18536
+ }>,
18537
+ {
18538
+ el: BentoTypographyElement;
18539
+ large: boolean;
18540
+ medium: boolean;
18541
+ stronger: boolean;
18542
+ strongest: boolean;
18543
+ variant: BentoTypographyVariant;
18544
+ wide: boolean;
18545
+ }
18546
+ >
18547
+ >
18548
+ >,
18549
+ {
18550
+ el: BentoTypographyElement | `${BentoTypographyElement}`;
18551
+ wide: boolean;
18552
+ stronger: boolean;
18553
+ strongest: boolean;
18554
+ large: boolean;
18555
+ medium: boolean;
18556
+ variant: BentoTypographyVariant | `${BentoTypographyVariant}`;
18557
+ }
18697
18558
  >,
18698
18559
  {
18699
- el: 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | BentoTypographyElement;
18700
- wide: boolean;
18701
- stronger: boolean;
18702
- strongest: boolean;
18703
- variant: 'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant;
18704
- medium: boolean;
18705
- large: boolean;
18560
+ default: (_: {}) => any;
18706
18561
  }
18707
18562
  >;
18708
18563
 
@@ -19010,6 +18865,26 @@ export declare type MaybeRef<T> = T | Ref<T>;
19010
18865
 
19011
18866
  export declare type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
19012
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
+
19013
18888
  declare const plugin: PluginObject<BentoVuePlugin>;
19014
18889
  export default plugin;
19015
18890
 
@@ -19057,16 +18932,13 @@ declare enum PopperContainerPositionExtended {
19057
18932
  LEFT_END = 'left-end',
19058
18933
  }
19059
18934
 
19060
- declare class ToastController {
19061
- get state(): {
19062
- queue: Array<BentoToastItem>;
19063
- };
19064
- private _state;
19065
- constructor();
19066
- private dismissToast;
19067
- addToast(params: BentoToastItem): {
19068
- dismiss: () => void;
19069
- };
18935
+ declare interface Toast {
18936
+ dismiss: () => void;
18937
+ }
18938
+
18939
+ export declare interface ToastStack {
18940
+ stack: DeepReadonly<Ref<BentoToastItemsList>>;
18941
+ addToast: (params: BentoToastItemParams) => Toast;
19070
18942
  }
19071
18943
 
19072
18944
  /**
@@ -19080,7 +18952,22 @@ declare class ToastController {
19080
18952
  */
19081
18953
  export declare function toTypedSchema<T extends ZodSchema>(formSchema: T): T;
19082
18954
 
19083
- export declare function useBentoToastController(): ToastController;
18955
+ export declare type UseBentoToastController = ToastStack;
18956
+
18957
+ export declare function useBentoToastController(): UseBentoToastController;
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;
19084
18971
 
19085
18972
  /**
19086
18973
  * Maps an ISO code to the country's translated capital city.