@adyen/bento-vue2 1.22.0 → 1.24.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 (221) hide show
  1. package/README.md +2 -0
  2. package/dist/@types/index.d.ts +346 -258
  3. package/dist/accordion.js +3 -3
  4. package/dist/action-bar.js +7 -7
  5. package/dist/alert.js +73 -54
  6. package/dist/alert.js.map +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/button.css +1 -1
  9. package/dist/assets/dialog-page.css +1 -1
  10. package/dist/assets/grid-layout.css +1 -1
  11. package/dist/assets/index10.css +1 -1
  12. package/dist/assets/index11.css +1 -1
  13. package/dist/assets/index12.css +1 -1
  14. package/dist/assets/index13.css +1 -1
  15. package/dist/assets/index14.css +1 -1
  16. package/dist/assets/index15.css +1 -1
  17. package/dist/assets/index16.css +1 -1
  18. package/dist/assets/index17.css +1 -1
  19. package/dist/assets/index18.css +1 -1
  20. package/dist/assets/index19.css +1 -1
  21. package/dist/assets/index2.css +1 -1
  22. package/dist/assets/index20.css +1 -1
  23. package/dist/assets/index21.css +1 -1
  24. package/dist/assets/index22.css +1 -1
  25. package/dist/assets/index23.css +1 -1
  26. package/dist/assets/index24.css +1 -1
  27. package/dist/assets/index25.css +1 -1
  28. package/dist/assets/index26.css +1 -1
  29. package/dist/assets/index27.css +1 -1
  30. package/dist/assets/index28.css +1 -1
  31. package/dist/assets/index29.css +1 -1
  32. package/dist/assets/index3.css +1 -1
  33. package/dist/assets/index30.css +1 -1
  34. package/dist/assets/index31.css +1 -1
  35. package/dist/assets/index32.css +1 -1
  36. package/dist/assets/index33.css +1 -1
  37. package/dist/assets/index34.css +1 -1
  38. package/dist/assets/index35.css +1 -1
  39. package/dist/assets/index36.css +1 -1
  40. package/dist/assets/index37.css +1 -1
  41. package/dist/assets/index38.css +1 -1
  42. package/dist/assets/index39.css +1 -1
  43. package/dist/assets/index4.css +1 -1
  44. package/dist/assets/index40.css +1 -1
  45. package/dist/assets/index41.css +1 -1
  46. package/dist/assets/index42.css +1 -1
  47. package/dist/assets/index43.css +1 -1
  48. package/dist/assets/index44.css +1 -1
  49. package/dist/assets/index45.css +1 -1
  50. package/dist/assets/index46.css +1 -1
  51. package/dist/assets/index47.css +1 -1
  52. package/dist/assets/index48.css +1 -1
  53. package/dist/assets/index5.css +1 -1
  54. package/dist/assets/index6.css +1 -1
  55. package/dist/assets/index7.css +1 -1
  56. package/dist/assets/index8.css +1 -1
  57. package/dist/assets/index9.css +1 -1
  58. package/dist/avatar-image.js +1 -1
  59. package/dist/button.js +5 -5
  60. package/dist/card.js +4 -4
  61. package/dist/checkbox.js +6 -6
  62. package/dist/chunks/{base-button.6bd3ae4d.js → base-button.090f511d.js} +2 -2
  63. package/dist/chunks/{base-button.6bd3ae4d.js.map → base-button.090f511d.js.map} +1 -1
  64. package/dist/chunks/{base-modal.bf917e7d.js → base-modal.aa09a60c.js} +7 -7
  65. package/dist/chunks/{base-modal.bf917e7d.js.map → base-modal.aa09a60c.js.map} +1 -1
  66. package/dist/chunks/{button-actions-with-menu.ec7dfc53.js → button-actions-with-menu.879c4573.js} +4 -4
  67. package/dist/chunks/{button-actions-with-menu.ec7dfc53.js.map → button-actions-with-menu.879c4573.js.map} +1 -1
  68. package/dist/chunks/{button-actions.2bf1d9d1.js → button-actions.239456cb.js} +3 -3
  69. package/dist/chunks/{button-actions.2bf1d9d1.js.map → button-actions.239456cb.js.map} +1 -1
  70. package/dist/chunks/{button.80c3c527.js → button.6e6324f0.js} +3 -3
  71. package/dist/chunks/{button.80c3c527.js.map → button.6e6324f0.js.map} +1 -1
  72. package/dist/chunks/{calendar.8cbb911d.js → calendar.1e416969.js} +5 -5
  73. package/dist/chunks/{calendar.8cbb911d.js.map → calendar.1e416969.js.map} +1 -1
  74. package/dist/chunks/{checkbox-input.17e832f1.js → checkbox-input.1c3cc8ed.js} +2 -2
  75. package/dist/chunks/{checkbox-input.17e832f1.js.map → checkbox-input.1c3cc8ed.js.map} +1 -1
  76. package/dist/chunks/{checkbox.11454247.js → checkbox.f38276e6.js} +4 -4
  77. package/dist/chunks/{checkbox.11454247.js.map → checkbox.f38276e6.js.map} +1 -1
  78. package/dist/chunks/{checkmark-circle-fill.75b87a2c.js → checkmark-circle-fill.345311d2.js} +2 -2
  79. package/dist/chunks/{checkmark-circle-fill.75b87a2c.js.map → checkmark-circle-fill.345311d2.js.map} +1 -1
  80. package/dist/chunks/{checkmark-small.07adbfcb.js → checkmark-small.520f01b1.js} +2 -2
  81. package/dist/chunks/{checkmark-small.07adbfcb.js.map → checkmark-small.520f01b1.js.map} +1 -1
  82. package/dist/chunks/{checkmark.9979f1c1.js → checkmark.a6ed8f47.js} +2 -2
  83. package/dist/chunks/{checkmark.9979f1c1.js.map → checkmark.a6ed8f47.js.map} +1 -1
  84. package/dist/chunks/{chevron-left.64e168be.js → chevron-left.5edf02ac.js} +2 -2
  85. package/dist/chunks/{chevron-left.64e168be.js.map → chevron-left.5edf02ac.js.map} +1 -1
  86. package/dist/chunks/{chevron-up.628ac446.js → chevron-up.81185563.js} +2 -2
  87. package/dist/chunks/{chevron-up.628ac446.js.map → chevron-up.81185563.js.map} +1 -1
  88. package/dist/chunks/{controls-group.0892d082.js → controls-group.f1dfa419.js} +3 -3
  89. package/dist/chunks/{controls-group.0892d082.js.map → controls-group.f1dfa419.js.map} +1 -1
  90. package/dist/chunks/{copy.2d2c6b85.js → copy.acc9f1b0.js} +4 -4
  91. package/dist/chunks/{copy.2d2c6b85.js.map → copy.acc9f1b0.js.map} +1 -1
  92. package/dist/chunks/{cross-circle-fill.34e86c56.js → cross-circle-fill.27580c4b.js} +2 -2
  93. package/dist/chunks/{cross-circle-fill.34e86c56.js.map → cross-circle-fill.27580c4b.js.map} +1 -1
  94. package/dist/chunks/{cross-small.e3c016cb.js → cross-small.e851e0de.js} +2 -2
  95. package/dist/chunks/{cross-small.e3c016cb.js.map → cross-small.e851e0de.js.map} +1 -1
  96. package/dist/chunks/{cross.e5433f3b.js → cross.04678d81.js} +2 -2
  97. package/dist/chunks/{cross.e5433f3b.js.map → cross.04678d81.js.map} +1 -1
  98. package/dist/chunks/{dialog-page.21f1eb92.js → dialog-page.75b295b7.js} +3 -3
  99. package/dist/chunks/{dialog-page.21f1eb92.js.map → dialog-page.75b295b7.js.map} +1 -1
  100. package/dist/chunks/{dropdown-default-textbox.9c23c94d.js → dropdown-default-textbox.c1f8fe5f.js} +57 -37
  101. package/dist/chunks/dropdown-default-textbox.c1f8fe5f.js.map +1 -0
  102. package/dist/chunks/{dropdown.dad8cedd.js → dropdown.669b858b.js} +20 -21
  103. package/dist/chunks/{dropdown.dad8cedd.js.map → dropdown.669b858b.js.map} +1 -1
  104. package/dist/chunks/{error-message.5fdafd8c.js → error-message.8734e591.js} +3 -3
  105. package/dist/chunks/{error-message.5fdafd8c.js.map → error-message.8734e591.js.map} +1 -1
  106. package/dist/chunks/{fixed-scroller.e917ed3f.js → fixed-scroller.772ad033.js} +3 -3
  107. package/dist/chunks/{fixed-scroller.e917ed3f.js.map → fixed-scroller.772ad033.js.map} +1 -1
  108. package/dist/chunks/{footer-actions.599e5a1d.js → footer-actions.11071f12.js} +4 -4
  109. package/dist/chunks/{footer-actions.599e5a1d.js.map → footer-actions.11071f12.js.map} +1 -1
  110. package/dist/chunks/{index.823243d9.js → index.03ae22b4.js} +2 -2
  111. package/dist/chunks/{index.823243d9.js.map → index.03ae22b4.js.map} +1 -1
  112. package/dist/chunks/index.49ce3f6a.js +49 -0
  113. package/dist/chunks/index.49ce3f6a.js.map +1 -0
  114. package/dist/chunks/{index.0c4a8dd9.js → index.51308a21.js} +3 -3
  115. package/dist/chunks/{index.0c4a8dd9.js.map → index.51308a21.js.map} +1 -1
  116. package/dist/chunks/{index.937a82c2.js → index.5d5f2200.js} +7 -7
  117. package/dist/chunks/{index.937a82c2.js.map → index.5d5f2200.js.map} +1 -1
  118. package/dist/chunks/{index.73634ace.js → index.73abb1a9.js} +31 -32
  119. package/dist/chunks/{index.73634ace.js.map → index.73abb1a9.js.map} +1 -1
  120. package/dist/chunks/{index.929dda57.js → index.87180cdd.js} +107 -106
  121. package/dist/chunks/index.87180cdd.js.map +1 -0
  122. package/dist/chunks/{index.d681cfda.js → index.8e6bc325.js} +12 -11
  123. package/dist/chunks/index.8e6bc325.js.map +1 -0
  124. package/dist/chunks/{index.7d2ea1de.js → index.94980f50.js} +2 -2
  125. package/dist/chunks/{index.7d2ea1de.js.map → index.94980f50.js.map} +1 -1
  126. package/dist/chunks/index.ba6c1040.js +79 -0
  127. package/dist/chunks/index.ba6c1040.js.map +1 -0
  128. package/dist/chunks/{index.3ddbe834.js → index.f19887a1.js} +2 -2
  129. package/dist/chunks/{index.3ddbe834.js.map → index.f19887a1.js.map} +1 -1
  130. package/dist/chunks/{index.66c8d79f.js → index.ff09389c.js} +7 -7
  131. package/dist/chunks/{index.66c8d79f.js.map → index.ff09389c.js.map} +1 -1
  132. package/dist/chunks/{info.b11d377e.js → info.8b6328aa.js} +2 -2
  133. package/dist/chunks/{info.b11d377e.js.map → info.8b6328aa.js.map} +1 -1
  134. package/dist/chunks/{listbox-option-tag.52ca5a60.js → listbox-option-tag.c0a56a95.js} +3 -3
  135. package/dist/chunks/{listbox-option-tag.52ca5a60.js.map → listbox-option-tag.c0a56a95.js.map} +1 -1
  136. package/dist/chunks/{listbox.6d8bd2ae.js → listbox.e6e1bc90.js} +8 -8
  137. package/dist/chunks/{listbox.6d8bd2ae.js.map → listbox.e6e1bc90.js.map} +1 -1
  138. package/dist/chunks/{loading-button.73c0bd64.js → loading-button.84a5529d.js} +4 -4
  139. package/dist/chunks/{loading-button.73c0bd64.js.map → loading-button.84a5529d.js.map} +1 -1
  140. package/dist/chunks/{payment-method.eeb54552.js → payment-method.faa302de.js} +2 -2
  141. package/dist/chunks/{payment-method.eeb54552.js.map → payment-method.faa302de.js.map} +1 -1
  142. package/dist/chunks/{refresh.f8e1b23c.js → refresh.71a03998.js} +2 -2
  143. package/dist/chunks/{refresh.f8e1b23c.js.map → refresh.71a03998.js.map} +1 -1
  144. package/dist/chunks/{search.4b38a2ef.js → search.471270fe.js} +2 -2
  145. package/dist/chunks/{search.4b38a2ef.js.map → search.471270fe.js.map} +1 -1
  146. package/dist/chunks/{tooltip.a9133b59.js → tooltip.8e9d733c.js} +3 -3
  147. package/dist/chunks/{tooltip.a9133b59.js.map → tooltip.8e9d733c.js.map} +1 -1
  148. package/dist/chunks/use-bento-toast-controller.7d4436ad.js +52 -0
  149. package/dist/chunks/use-bento-toast-controller.7d4436ad.js.map +1 -0
  150. package/dist/chunks/use-click-outside.941d1600.js +14 -0
  151. package/dist/chunks/use-click-outside.941d1600.js.map +1 -0
  152. package/dist/code-snippet.js +7 -7
  153. package/dist/code-snippet.js.map +1 -1
  154. package/dist/country.js +2 -2
  155. package/dist/currency.js +1 -1
  156. package/dist/data-grid-template.js +1 -1
  157. package/dist/data-grid.js +898 -805
  158. package/dist/data-grid.js.map +1 -1
  159. package/dist/date-picker.js +39 -40
  160. package/dist/date-picker.js.map +1 -1
  161. package/dist/date-range-picker.js +2 -2
  162. package/dist/date.js +1 -1
  163. package/dist/divider.js +1 -1
  164. package/dist/dropdown.js +7 -7
  165. package/dist/empty-state.js +3 -3
  166. package/dist/filter-bar.js +410 -421
  167. package/dist/filter-bar.js.map +1 -1
  168. package/dist/focus-trap.js +1 -1
  169. package/dist/form-layout.js +2 -2
  170. package/dist/header.js +5 -5
  171. package/dist/index.js +247 -269
  172. package/dist/index.js.map +1 -1
  173. package/dist/info-icon.js +4 -4
  174. package/dist/input-field.js +38 -34
  175. package/dist/input-field.js.map +1 -1
  176. package/dist/internal.js +8 -8
  177. package/dist/link.js +1 -1
  178. package/dist/loading-indicator.js +1 -1
  179. package/dist/menu.js +1 -1
  180. package/dist/modal-fullscreen.js +7 -7
  181. package/dist/modal.js +6 -6
  182. package/dist/pagination.js +4 -4
  183. package/dist/payment-method.js +1 -1
  184. package/dist/popover.js +1 -1
  185. package/dist/popper-container.js +1 -1
  186. package/dist/radio-group.js +4 -4
  187. package/dist/search-bar.js +4 -4
  188. package/dist/secondary-nav.js +2 -2
  189. package/dist/segmented-control.js +4 -4
  190. package/dist/selection-card.js +5 -5
  191. package/dist/sidepanel.js +7 -7
  192. package/dist/status.js +2 -2
  193. package/dist/stepper.js +144 -133
  194. package/dist/stepper.js.map +1 -1
  195. package/dist/structured-list.js +1 -1
  196. package/dist/summary-grid.js +3 -3
  197. package/dist/tabs.js +3 -3
  198. package/dist/tag.js +3 -3
  199. package/dist/textarea.js +4 -4
  200. package/dist/timeline.js +7 -7
  201. package/dist/toast.js +143 -98
  202. package/dist/toast.js.map +1 -1
  203. package/dist/toggle.js +3 -3
  204. package/dist/tutorial.js +7 -7
  205. package/dist/typography.js +1 -1
  206. package/dist/web-types.json +204 -117
  207. package/package.json +3 -3
  208. package/dist/chunks/directive.0408e565.js +0 -23
  209. package/dist/chunks/directive.0408e565.js.map +0 -1
  210. package/dist/chunks/dropdown-default-textbox.9c23c94d.js.map +0 -1
  211. package/dist/chunks/index.0c33067d.js +0 -127
  212. package/dist/chunks/index.0c33067d.js.map +0 -1
  213. package/dist/chunks/index.5af5de46.js +0 -83
  214. package/dist/chunks/index.5af5de46.js.map +0 -1
  215. package/dist/chunks/index.929dda57.js.map +0 -1
  216. package/dist/chunks/index.d681cfda.js.map +0 -1
  217. package/dist/chunks/info-filled.ee9571d9.js +0 -26
  218. package/dist/chunks/info-filled.ee9571d9.js.map +0 -1
  219. package/dist/chunks/toastController.fd667b68.js +0 -15
  220. package/dist/chunks/toastController.fd667b68.js.map +0 -1
  221. /package/dist/assets/{cross-small.css → cross.css} +0 -0
@@ -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,8 @@ 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
+
28
31
  declare type __VLS_TypePropsToRuntimeProps<T> = {
29
32
  [K in keyof T]-?: {} extends Pick<T, K>
30
33
  ? {
@@ -47,6 +50,17 @@ declare type __VLS_TypePropsToRuntimeProps_2<T> = {
47
50
  };
48
51
  };
49
52
 
53
+ declare type __VLS_TypePropsToRuntimeProps_3<T> = {
54
+ [K in keyof T]-?: {} extends Pick<T, K>
55
+ ? {
56
+ type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
57
+ }
58
+ : {
59
+ type: PropType<T[K]>;
60
+ required: true;
61
+ };
62
+ };
63
+
50
64
  declare type __VLS_WithDefaults<P, D> = {
51
65
  [K in keyof Pick<P, keyof P>]: K extends keyof D
52
66
  ? P[K] & {
@@ -55,6 +69,14 @@ declare type __VLS_WithDefaults<P, D> = {
55
69
  : P[K];
56
70
  };
57
71
 
72
+ declare type __VLS_WithDefaults_2<P, D> = {
73
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
74
+ ? P[K] & {
75
+ default: D[K];
76
+ }
77
+ : P[K];
78
+ };
79
+
58
80
  declare type __VLS_WithTemplateSlots<T, S> = T & {
59
81
  new (): {
60
82
  $slots: S;
@@ -193,6 +215,12 @@ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
193
215
  };
194
216
  };
195
217
 
218
+ declare type __VLS_WithTemplateSlots_30<T, S> = T & {
219
+ new (): {
220
+ $slots: S;
221
+ };
222
+ };
223
+
196
224
  declare type __VLS_WithTemplateSlots_4<T, S> = T & {
197
225
  new (): {
198
226
  $slots: S;
@@ -1266,9 +1294,9 @@ export declare const BentoCard: DefineComponent<
1266
1294
  wide: boolean;
1267
1295
  stronger: boolean;
1268
1296
  strongest: boolean;
1269
- variant: 'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant;
1270
- medium: boolean;
1271
1297
  large: boolean;
1298
+ medium: boolean;
1299
+ variant: 'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant;
1272
1300
  }> &
1273
1301
  Omit<
1274
1302
  Readonly<
@@ -1286,34 +1314,39 @@ export declare const BentoCard: DefineComponent<
1286
1314
  | 'span'
1287
1315
  | BentoTypographyElement
1288
1316
  >;
1317
+ } & {
1289
1318
  default: BentoTypographyElement;
1290
- validator: (value: BentoTypographyElement) => boolean;
1291
1319
  };
1292
- stronger: {
1293
- type: BooleanConstructor;
1320
+ wide: {
1321
+ type: PropType<boolean>;
1322
+ } & {
1294
1323
  default: boolean;
1295
1324
  };
1296
- strongest: {
1297
- type: BooleanConstructor;
1325
+ stronger: {
1326
+ type: PropType<boolean>;
1327
+ } & {
1298
1328
  default: boolean;
1299
1329
  };
1300
- variant: {
1301
- type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
1302
- default: BentoTypographyVariant;
1303
- validator: (value: BentoTypographyVariant) => boolean;
1304
- };
1305
- medium: {
1306
- type: BooleanConstructor;
1330
+ strongest: {
1331
+ type: PropType<boolean>;
1332
+ } & {
1307
1333
  default: boolean;
1308
1334
  };
1309
1335
  large: {
1310
- type: BooleanConstructor;
1336
+ type: PropType<boolean>;
1337
+ } & {
1311
1338
  default: boolean;
1312
1339
  };
1313
- wide: {
1314
- type: BooleanConstructor;
1340
+ medium: {
1341
+ type: PropType<boolean>;
1342
+ } & {
1315
1343
  default: boolean;
1316
1344
  };
1345
+ variant: {
1346
+ type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
1347
+ } & {
1348
+ default: BentoTypographyVariant;
1349
+ };
1317
1350
  }>
1318
1351
  >,
1319
1352
  DefaultKeys<{
@@ -1330,34 +1363,39 @@ export declare const BentoCard: DefineComponent<
1330
1363
  | 'span'
1331
1364
  | BentoTypographyElement
1332
1365
  >;
1366
+ } & {
1333
1367
  default: BentoTypographyElement;
1334
- validator: (value: BentoTypographyElement) => boolean;
1335
1368
  };
1336
- stronger: {
1337
- type: BooleanConstructor;
1369
+ wide: {
1370
+ type: PropType<boolean>;
1371
+ } & {
1338
1372
  default: boolean;
1339
1373
  };
1340
- strongest: {
1341
- type: BooleanConstructor;
1374
+ stronger: {
1375
+ type: PropType<boolean>;
1376
+ } & {
1342
1377
  default: boolean;
1343
1378
  };
1344
- variant: {
1345
- type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
1346
- default: BentoTypographyVariant;
1347
- validator: (value: BentoTypographyVariant) => boolean;
1348
- };
1349
- medium: {
1350
- type: BooleanConstructor;
1379
+ strongest: {
1380
+ type: PropType<boolean>;
1381
+ } & {
1351
1382
  default: boolean;
1352
1383
  };
1353
1384
  large: {
1354
- type: BooleanConstructor;
1385
+ type: PropType<boolean>;
1386
+ } & {
1355
1387
  default: boolean;
1356
1388
  };
1357
- wide: {
1358
- type: BooleanConstructor;
1389
+ medium: {
1390
+ type: PropType<boolean>;
1391
+ } & {
1359
1392
  default: boolean;
1360
1393
  };
1394
+ variant: {
1395
+ type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
1396
+ } & {
1397
+ default: BentoTypographyVariant;
1398
+ };
1361
1399
  }>
1362
1400
  >
1363
1401
  >
@@ -4511,11 +4549,7 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
4511
4549
  description: {
4512
4550
  type: StringConstructor;
4513
4551
  default: any;
4514
- }
4515
- /**
4516
- * A customisable method to determine if a row is not selectable.
4517
- * The default is that every row is selectable.
4518
- */;
4552
+ };
4519
4553
  headingEl: {
4520
4554
  type: PropType<
4521
4555
  'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span'
@@ -4564,11 +4598,7 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
4564
4598
  description: {
4565
4599
  type: StringConstructor;
4566
4600
  default: any;
4567
- }
4568
- /**
4569
- * A customisable method to determine if a row is not selectable.
4570
- * The default is that every row is selectable.
4571
- */;
4601
+ };
4572
4602
  headingEl: {
4573
4603
  type: PropType<'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span'>;
4574
4604
  default: any;
@@ -4712,6 +4742,29 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
4712
4742
  };
4713
4743
  hasNext: {
4714
4744
  type: BooleanConstructor;
4745
+ /**
4746
+ * A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
4747
+ *
4748
+ * @example
4749
+ * import { BentoDataGrid } from '@adyen/bento-vue2';
4750
+ *
4751
+ * export default {
4752
+ * components: { BentoDataGrid },
4753
+ * template: `
4754
+ * <bento-data-grid
4755
+ * :data="[
4756
+ * { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
4757
+ * { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
4758
+ * ]"
4759
+ * :columns="[
4760
+ * { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
4761
+ * { field: 'company', label: 'Reference' },
4762
+ * { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
4763
+ * ]"
4764
+ * />
4765
+ * `
4766
+ * }
4767
+ */
4715
4768
  default: any;
4716
4769
  };
4717
4770
  hidePageSize: {
@@ -4745,6 +4798,29 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
4745
4798
  };
4746
4799
  hasNext: {
4747
4800
  type: BooleanConstructor;
4801
+ /**
4802
+ * A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
4803
+ *
4804
+ * @example
4805
+ * import { BentoDataGrid } from '@adyen/bento-vue2';
4806
+ *
4807
+ * export default {
4808
+ * components: { BentoDataGrid },
4809
+ * template: `
4810
+ * <bento-data-grid
4811
+ * :data="[
4812
+ * { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
4813
+ * { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
4814
+ * ]"
4815
+ * :columns="[
4816
+ * { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
4817
+ * { field: 'company', label: 'Reference' },
4818
+ * { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
4819
+ * ]"
4820
+ * />
4821
+ * `
4822
+ * }
4823
+ */
4748
4824
  default: any;
4749
4825
  };
4750
4826
  hidePageSize: {
@@ -4950,11 +5026,7 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
4950
5026
  description: {
4951
5027
  type: StringConstructor;
4952
5028
  default: any;
4953
- }
4954
- /**
4955
- * A customisable method to determine if a row is not selectable.
4956
- * The default is that every row is selectable.
4957
- */;
5029
+ };
4958
5030
  headingEl: {
4959
5031
  type: PropType<
4960
5032
  'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span'
@@ -5003,11 +5075,7 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
5003
5075
  description: {
5004
5076
  type: StringConstructor;
5005
5077
  default: any;
5006
- }
5007
- /**
5008
- * A customisable method to determine if a row is not selectable.
5009
- * The default is that every row is selectable.
5010
- */;
5078
+ };
5011
5079
  headingEl: {
5012
5080
  type: PropType<
5013
5081
  'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span'
@@ -5153,6 +5221,29 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
5153
5221
  };
5154
5222
  hasNext: {
5155
5223
  type: BooleanConstructor;
5224
+ /**
5225
+ * A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
5226
+ *
5227
+ * @example
5228
+ * import { BentoDataGrid } from '@adyen/bento-vue2';
5229
+ *
5230
+ * export default {
5231
+ * components: { BentoDataGrid },
5232
+ * template: `
5233
+ * <bento-data-grid
5234
+ * :data="[
5235
+ * { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
5236
+ * { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
5237
+ * ]"
5238
+ * :columns="[
5239
+ * { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
5240
+ * { field: 'company', label: 'Reference' },
5241
+ * { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
5242
+ * ]"
5243
+ * />
5244
+ * `
5245
+ * }
5246
+ */
5156
5247
  default: any;
5157
5248
  };
5158
5249
  hidePageSize: {
@@ -5186,6 +5277,29 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_6<
5186
5277
  };
5187
5278
  hasNext: {
5188
5279
  type: BooleanConstructor;
5280
+ /**
5281
+ * A component to display data in columns and row format with a whole array of configuration for visualization and interaction.
5282
+ *
5283
+ * @example
5284
+ * import { BentoDataGrid } from '@adyen/bento-vue2';
5285
+ *
5286
+ * export default {
5287
+ * components: { BentoDataGrid },
5288
+ * template: `
5289
+ * <bento-data-grid
5290
+ * :data="[
5291
+ * { id: '123', name: 'John', company: 'TestCompany', 'payment': 200 }
5292
+ * { id: '321', name: 'Jane', company: 'Adyen', 'payment': 300 }
5293
+ * ]"
5294
+ * :columns="[
5295
+ * { field: 'name', label: 'Name', minWidth: 300, mandatory: true },
5296
+ * { field: 'company', label: 'Reference' },
5297
+ * { field: 'payment', label: 'Payment', width: 200, minWidth: 150 },
5298
+ * ]"
5299
+ * />
5300
+ * `
5301
+ * }
5302
+ */
5189
5303
  default: any;
5190
5304
  };
5191
5305
  hidePageSize: {
@@ -5413,7 +5527,7 @@ export declare enum BentoDatagridStyleState {
5413
5527
  * `
5414
5528
  * }
5415
5529
  */
5416
- export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_29<
5530
+ export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_30<
5417
5531
  DefineComponent<
5418
5532
  {
5419
5533
  /**
@@ -9991,7 +10105,11 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
9991
10105
  };
9992
10106
  /**
9993
10107
  * Dropdown props for the small selectable dropdown menu.
9994
- * @see BentoDropdown
10108
+ * Properties supported:
10109
+ *
10110
+ * - `value`: Selected value of the dropdown
10111
+ * - `items`: List of available items
10112
+ *
9995
10113
  */
9996
10114
  dropdown: {
9997
10115
  type: PropType<BentoInputDropdownProps>;
@@ -10157,7 +10275,11 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
10157
10275
  };
10158
10276
  /**
10159
10277
  * Dropdown props for the small selectable dropdown menu.
10160
- * @see BentoDropdown
10278
+ * Properties supported:
10279
+ *
10280
+ * - `value`: Selected value of the dropdown
10281
+ * - `items`: List of available items
10282
+ *
10161
10283
  */
10162
10284
  dropdown: {
10163
10285
  type: PropType<BentoInputDropdownProps>;
@@ -10843,6 +10965,7 @@ export declare const BentoMenu: DefineComponent<
10843
10965
  };
10844
10966
  },
10845
10967
  {
10968
+ popoverRef: Ref<HTMLElement>;
10846
10969
  menuButtonRef: any;
10847
10970
  menuId: string;
10848
10971
  popoverId: string;
@@ -10972,7 +11095,7 @@ export declare enum BentoMenuEvent {
10972
11095
  OPEN = 'open',
10973
11096
  }
10974
11097
 
10975
- declare interface BentoMenuItem {
11098
+ export declare interface BentoMenuItem {
10976
11099
  text: string;
10977
11100
  handler: () => void;
10978
11101
  secondaryText?: string;
@@ -11121,7 +11244,7 @@ export declare const BentoModal: __VLS_WithTemplateSlots_16<
11121
11244
  * Sets the width of the modal
11122
11245
  */
11123
11246
  size: {
11124
- type: PropType<'small' | 'medium' | 'large' | BentoModalSize>;
11247
+ type: PropType<'small' | 'large' | 'medium' | BentoModalSize>;
11125
11248
  default: BentoModalSize;
11126
11249
  validator: (value: BentoModalSize) => boolean;
11127
11250
  };
@@ -11270,7 +11393,7 @@ export declare const BentoModal: __VLS_WithTemplateSlots_16<
11270
11393
  * Sets the width of the modal
11271
11394
  */
11272
11395
  size: {
11273
- type: PropType<'small' | 'medium' | 'large' | BentoModalSize>;
11396
+ type: PropType<'small' | 'large' | 'medium' | BentoModalSize>;
11274
11397
  default: BentoModalSize;
11275
11398
  validator: (value: BentoModalSize) => boolean;
11276
11399
  };
@@ -11297,7 +11420,7 @@ export declare const BentoModal: __VLS_WithTemplateSlots_16<
11297
11420
  variant: 'default' | 'dialog' | 'BentoModalDefault' | 'BentoModalDialog' | BentoModalVariant;
11298
11421
  isOpen: boolean;
11299
11422
  content: string;
11300
- size: 'small' | 'medium' | 'large' | BentoModalSize;
11423
+ size: 'small' | 'large' | 'medium' | BentoModalSize;
11301
11424
  activePage: string;
11302
11425
  actions: BentoButtonActionsList;
11303
11426
  actionsLabel: string;
@@ -14714,11 +14837,21 @@ export declare interface BentoSelectFilterOptions {
14714
14837
  */
14715
14838
  messages?: {
14716
14839
  [key: string]: {
14717
- persistentButtonLabelPartiallySelected: string;
14718
- persistentButtonLabelAllSelected: string;
14840
+ persistentButtonLabelPartiallySelected?: string;
14841
+ persistentButtonLabelAllSelected?: string;
14719
14842
  [key: string]: string;
14720
14843
  };
14721
14844
  };
14845
+ /**
14846
+ * The unique key to use in the messages translation object to use for the persistent button label
14847
+ * when the select filter has partially selected items.
14848
+ */
14849
+ messagesPersistentButtonLabelPartiallySelectedKey?: string;
14850
+ /**
14851
+ * The unique key to use in the messages translation object to use for the persistent button label
14852
+ * when the select filter has all items selected.
14853
+ */
14854
+ messagesPersistentButtonLabelAllSelectedKey?: string;
14722
14855
  lazy?: {
14723
14856
  /**
14724
14857
  * Indicates whether there are more items to load
@@ -15791,6 +15924,7 @@ export declare type BentoStepperState = Ref<{
15791
15924
  isParentStep?: boolean;
15792
15925
  navigateToStep: (index: number) => void;
15793
15926
  registerStep: (stepState: BentoStepperStepExposeState) => void;
15927
+ removeStep: (stepState: BentoStepperStepExposeState) => void;
15794
15928
  }>;
15795
15929
 
15796
15930
  export declare interface BentoStepperStepExposeState {
@@ -16205,7 +16339,7 @@ export declare const BentoSummaryGridItemAmount: DefineComponent<
16205
16339
  * Defines the size of the `summary-grid-item` text content
16206
16340
  */
16207
16341
  size: {
16208
- type: PropType<'small' | 'medium' | 'large' | BentoSummaryGridItemSize>;
16342
+ type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
16209
16343
  default: BentoSummaryGridItemSize;
16210
16344
  validator: (value: BentoSummaryGridItemSize) => boolean;
16211
16345
  };
@@ -16303,7 +16437,7 @@ export declare const BentoSummaryGridItemAmount: DefineComponent<
16303
16437
  * Defines the size of the `summary-grid-item` text content
16304
16438
  */
16305
16439
  size: {
16306
- type: PropType<'small' | 'medium' | 'large' | BentoSummaryGridItemSize>;
16440
+ type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
16307
16441
  default: BentoSummaryGridItemSize;
16308
16442
  validator: (value: BentoSummaryGridItemSize) => boolean;
16309
16443
  };
@@ -16311,7 +16445,7 @@ export declare const BentoSummaryGridItemAmount: DefineComponent<
16311
16445
  >,
16312
16446
  {
16313
16447
  copy: string;
16314
- size: 'small' | 'medium' | 'large' | BentoSummaryGridItemSize;
16448
+ size: 'small' | 'large' | 'medium' | BentoSummaryGridItemSize;
16315
16449
  fitContent: boolean;
16316
16450
  infoIconTooltipText: string;
16317
16451
  trend: string;
@@ -16514,7 +16648,7 @@ export declare const BentoSummaryGridItemNumeric: DefineComponent<
16514
16648
  * Defines the size of the `summary-grid-item` text content
16515
16649
  */
16516
16650
  size: {
16517
- type: PropType<'small' | 'medium' | 'large' | BentoSummaryGridItemSize>;
16651
+ type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
16518
16652
  default: BentoSummaryGridItemSize;
16519
16653
  validator: (value: BentoSummaryGridItemSize) => boolean;
16520
16654
  };
@@ -16605,7 +16739,7 @@ export declare const BentoSummaryGridItemNumeric: DefineComponent<
16605
16739
  * Defines the size of the `summary-grid-item` text content
16606
16740
  */
16607
16741
  size: {
16608
- type: PropType<'small' | 'medium' | 'large' | BentoSummaryGridItemSize>;
16742
+ type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
16609
16743
  default: BentoSummaryGridItemSize;
16610
16744
  validator: (value: BentoSummaryGridItemSize) => boolean;
16611
16745
  };
@@ -16613,7 +16747,7 @@ export declare const BentoSummaryGridItemNumeric: DefineComponent<
16613
16747
  >,
16614
16748
  {
16615
16749
  copy: string;
16616
- size: 'small' | 'medium' | 'large' | BentoSummaryGridItemSize;
16750
+ size: 'small' | 'large' | 'medium' | BentoSummaryGridItemSize;
16617
16751
  fitContent: boolean;
16618
16752
  infoIconTooltipText: string;
16619
16753
  trend: string;
@@ -16722,7 +16856,7 @@ export declare const BentoSummaryGridItemPercentage: DefineComponent<
16722
16856
  * Defines the size of the `summary-grid-item` text content
16723
16857
  */
16724
16858
  size: {
16725
- type: PropType<'small' | 'medium' | 'large' | BentoSummaryGridItemSize>;
16859
+ type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
16726
16860
  default: BentoSummaryGridItemSize;
16727
16861
  validator: (value: BentoSummaryGridItemSize) => boolean;
16728
16862
  };
@@ -16813,7 +16947,7 @@ export declare const BentoSummaryGridItemPercentage: DefineComponent<
16813
16947
  * Defines the size of the `summary-grid-item` text content
16814
16948
  */
16815
16949
  size: {
16816
- type: PropType<'small' | 'medium' | 'large' | BentoSummaryGridItemSize>;
16950
+ type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
16817
16951
  default: BentoSummaryGridItemSize;
16818
16952
  validator: (value: BentoSummaryGridItemSize) => boolean;
16819
16953
  };
@@ -16821,7 +16955,7 @@ export declare const BentoSummaryGridItemPercentage: DefineComponent<
16821
16955
  >,
16822
16956
  {
16823
16957
  copy: string;
16824
- size: 'small' | 'medium' | 'large' | BentoSummaryGridItemSize;
16958
+ size: 'small' | 'large' | 'medium' | BentoSummaryGridItemSize;
16825
16959
  fitContent: boolean;
16826
16960
  infoIconTooltipText: string;
16827
16961
  trend: string;
@@ -17989,39 +18123,9 @@ export declare interface BentoTimelineTimestamp {
17989
18123
  value?: string;
17990
18124
  }
17991
18125
 
17992
- /**
17993
- * @example
17994
- * import { BentoToast, useBentoToastController } from '@adyen/bento-vue2';
17995
- *
17996
- * export default {
17997
- * components: { BentoToast },
17998
- * template: `
17999
- * // in your project root
18000
- * <bento-toast />
18001
- * setup() {
18002
- * bentoToastController = useBentoToastController();
18003
- * onTrigger = () => {
18004
- * bentoToastController.addToast({ text: 'Your toast text', action: { text: 'Button text', handler: () => { your code here } });
18005
- * }
18006
- * `
18007
- * }
18008
- */
18009
18126
  export declare const BentoToast: DefineComponent<
18010
18127
  {},
18011
- {
18012
- computedPositioning: ComputedRef<
18013
- {
18014
- top: string;
18015
- width: string;
18016
- }[]
18017
- >;
18018
- computedHeight: ComputedRef<{
18019
- bottom: string;
18020
- height: string;
18021
- }>;
18022
- toastsToShow: ComputedRef<BentoToastItem[]>;
18023
- toast: any;
18024
- },
18128
+ {},
18025
18129
  {},
18026
18130
  {},
18027
18131
  {},
@@ -18033,17 +18137,23 @@ export declare const BentoToast: DefineComponent<
18033
18137
  {}
18034
18138
  >;
18035
18139
 
18036
- declare interface BentoToastItem {
18037
- action?: BentoToastItemAction;
18038
- text: string;
18039
- dismiss?: () => void;
18140
+ export declare interface BentoToastItem extends BentoToastItemParams {
18141
+ id: string;
18142
+ dismiss: () => void;
18040
18143
  }
18041
18144
 
18042
- declare interface BentoToastItemAction {
18145
+ export declare interface BentoToastItemAction {
18043
18146
  handler: () => void;
18044
18147
  text: string;
18045
18148
  }
18046
18149
 
18150
+ export declare interface BentoToastItemParams {
18151
+ action?: BentoToastItemAction;
18152
+ text: string;
18153
+ }
18154
+
18155
+ export declare type BentoToastItemsList = Array<BentoToastItem>;
18156
+
18047
18157
  /**
18048
18158
  * A wrapper around the bento toggle, providing checkbox functionality with a knob-like toggle
18049
18159
  *
@@ -18472,149 +18582,128 @@ export declare interface BentoTutorialStep {
18472
18582
  * `
18473
18583
  * }
18474
18584
  */
18475
- export declare const BentoTypography: DefineComponent<
18476
- {
18477
- /**
18478
- * Sets the HTML DOM element.
18479
- * @values h1, h2, h3, h4, h5, h6, div, p, span
18480
- */
18481
- el: {
18482
- type: PropType<'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | BentoTypographyElement>;
18483
- default: BentoTypographyElement;
18484
- validator: (value: BentoTypographyElement) => boolean;
18485
- };
18486
- /**
18487
- * Adds the stronger class modifier.
18488
- * Applicable to Caption, Body and Subtitle variants.
18489
- */
18490
- stronger: {
18491
- type: BooleanConstructor;
18492
- default: boolean;
18493
- };
18494
- /**
18495
- * Adds the strongest class modifier.
18496
- * Applicable to Caption, Body and Subtitle variants.
18497
- */
18498
- strongest: {
18499
- type: BooleanConstructor;
18500
- default: boolean;
18501
- };
18502
- /**
18503
- * Sets the type of typography variant.
18504
- * @values caption, body, title.
18505
- */
18506
- variant: {
18507
- type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
18508
- default: BentoTypographyVariant;
18509
- validator: (value: BentoTypographyVariant) => boolean;
18510
- };
18511
- /**
18512
- * Adds the medium class modifier.
18513
- * Applicable to the Title variant.
18514
- */
18515
- medium: {
18516
- type: BooleanConstructor;
18517
- default: boolean;
18518
- };
18519
- /**
18520
- * Adds the large class modifier.
18521
- * Applicable to the Title variant.
18522
- */
18523
- large: {
18524
- type: BooleanConstructor;
18525
- default: boolean;
18526
- };
18527
- /**
18528
- * Adds the medium class modifier.
18529
- * Applicable to tje Body variant.
18530
- */
18531
- wide: {
18532
- type: BooleanConstructor;
18533
- default: boolean;
18534
- };
18535
- },
18536
- {
18537
- conditionalClasses: ComputedRef<{
18538
- [x: string]: boolean;
18539
- }>;
18540
- },
18541
- {},
18542
- {},
18543
- {},
18544
- ComponentOptionsMixin,
18545
- ComponentOptionsMixin,
18546
- {},
18547
- string,
18548
- Readonly<
18549
- ExtractPropTypes<{
18550
- /**
18551
- * Sets the HTML DOM element.
18552
- * @values h1, h2, h3, h4, h5, h6, div, p, span
18553
- */
18554
- el: {
18555
- type: PropType<'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | BentoTypographyElement>;
18556
- default: BentoTypographyElement;
18557
- validator: (value: BentoTypographyElement) => boolean;
18558
- };
18559
- /**
18560
- * Adds the stronger class modifier.
18561
- * Applicable to Caption, Body and Subtitle variants.
18562
- */
18563
- stronger: {
18564
- type: BooleanConstructor;
18565
- default: boolean;
18566
- };
18567
- /**
18568
- * Adds the strongest class modifier.
18569
- * Applicable to Caption, Body and Subtitle variants.
18570
- */
18571
- strongest: {
18572
- type: BooleanConstructor;
18573
- default: boolean;
18574
- };
18575
- /**
18576
- * Sets the type of typography variant.
18577
- * @values caption, body, title.
18578
- */
18579
- variant: {
18580
- type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
18581
- default: BentoTypographyVariant;
18582
- validator: (value: BentoTypographyVariant) => boolean;
18583
- };
18584
- /**
18585
- * Adds the medium class modifier.
18586
- * Applicable to the Title variant.
18587
- */
18588
- medium: {
18589
- type: BooleanConstructor;
18590
- default: boolean;
18591
- };
18592
- /**
18593
- * Adds the large class modifier.
18594
- * Applicable to the Title variant.
18595
- */
18596
- large: {
18597
- type: BooleanConstructor;
18598
- default: boolean;
18599
- };
18600
- /**
18601
- * Adds the medium class modifier.
18602
- * Applicable to tje Body variant.
18603
- */
18604
- wide: {
18605
- type: BooleanConstructor;
18606
- default: boolean;
18607
- };
18608
- }>
18585
+ export declare const BentoTypography: __VLS_WithTemplateSlots_29<
18586
+ DefineComponent<
18587
+ __VLS_WithDefaults_2<
18588
+ __VLS_TypePropsToRuntimeProps_3<{
18589
+ /**
18590
+ * Sets the HTML DOM element.
18591
+ * @values h1, h2, h3, h4, h5, h6, div, p, span
18592
+ */
18593
+ el?: BentoTypographyElement | `${BentoTypographyElement}`;
18594
+ /**
18595
+ * Adds the large class modifier.
18596
+ * Applicable to the Title variant.
18597
+ */
18598
+ large?: boolean;
18599
+ /**
18600
+ * Adds the medium class modifier.
18601
+ * Applicable to the Title variant.
18602
+ */
18603
+ medium?: boolean;
18604
+ /**
18605
+ * Adds the stronger class modifier.
18606
+ * Applicable to Caption, Body and Subtitle variants.
18607
+ */
18608
+ stronger?: boolean;
18609
+ /**
18610
+ * Adds the strongest class modifier.
18611
+ * Applicable to Caption, Body and Subtitle variants.
18612
+ */
18613
+ strongest?: boolean;
18614
+ /**
18615
+ * Sets the type of typography variant.
18616
+ * @values caption, body, title.
18617
+ */
18618
+ variant?: BentoTypographyVariant | `${BentoTypographyVariant}`;
18619
+ /**
18620
+ * Adds the medium class modifier.
18621
+ * Applicable to tje Body variant.
18622
+ */
18623
+ wide?: boolean;
18624
+ }>,
18625
+ {
18626
+ el: BentoTypographyElement;
18627
+ large: boolean;
18628
+ medium: boolean;
18629
+ stronger: boolean;
18630
+ strongest: boolean;
18631
+ variant: BentoTypographyVariant;
18632
+ wide: boolean;
18633
+ }
18634
+ >,
18635
+ {},
18636
+ {},
18637
+ {},
18638
+ {},
18639
+ ComponentOptionsMixin,
18640
+ ComponentOptionsMixin,
18641
+ {},
18642
+ string,
18643
+ Readonly<
18644
+ ExtractPropTypes<
18645
+ __VLS_WithDefaults_2<
18646
+ __VLS_TypePropsToRuntimeProps_3<{
18647
+ /**
18648
+ * Sets the HTML DOM element.
18649
+ * @values h1, h2, h3, h4, h5, h6, div, p, span
18650
+ */
18651
+ el?: BentoTypographyElement | `${BentoTypographyElement}`;
18652
+ /**
18653
+ * Adds the large class modifier.
18654
+ * Applicable to the Title variant.
18655
+ */
18656
+ large?: boolean;
18657
+ /**
18658
+ * Adds the medium class modifier.
18659
+ * Applicable to the Title variant.
18660
+ */
18661
+ medium?: boolean;
18662
+ /**
18663
+ * Adds the stronger class modifier.
18664
+ * Applicable to Caption, Body and Subtitle variants.
18665
+ */
18666
+ stronger?: boolean;
18667
+ /**
18668
+ * Adds the strongest class modifier.
18669
+ * Applicable to Caption, Body and Subtitle variants.
18670
+ */
18671
+ strongest?: boolean;
18672
+ /**
18673
+ * Sets the type of typography variant.
18674
+ * @values caption, body, title.
18675
+ */
18676
+ variant?: BentoTypographyVariant | `${BentoTypographyVariant}`;
18677
+ /**
18678
+ * Adds the medium class modifier.
18679
+ * Applicable to tje Body variant.
18680
+ */
18681
+ wide?: boolean;
18682
+ }>,
18683
+ {
18684
+ el: BentoTypographyElement;
18685
+ large: boolean;
18686
+ medium: boolean;
18687
+ stronger: boolean;
18688
+ strongest: boolean;
18689
+ variant: BentoTypographyVariant;
18690
+ wide: boolean;
18691
+ }
18692
+ >
18693
+ >
18694
+ >,
18695
+ {
18696
+ el: BentoTypographyElement | `${BentoTypographyElement}`;
18697
+ wide: boolean;
18698
+ stronger: boolean;
18699
+ strongest: boolean;
18700
+ large: boolean;
18701
+ medium: boolean;
18702
+ variant: BentoTypographyVariant | `${BentoTypographyVariant}`;
18703
+ }
18609
18704
  >,
18610
18705
  {
18611
- el: 'div' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | BentoTypographyElement;
18612
- wide: boolean;
18613
- stronger: boolean;
18614
- strongest: boolean;
18615
- variant: 'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant;
18616
- medium: boolean;
18617
- large: boolean;
18706
+ default: (_: {}) => any;
18618
18707
  }
18619
18708
  >;
18620
18709
 
@@ -18969,16 +19058,13 @@ declare enum PopperContainerPositionExtended {
18969
19058
  LEFT_END = 'left-end',
18970
19059
  }
18971
19060
 
18972
- declare class ToastController {
18973
- get state(): {
18974
- queue: Array<BentoToastItem>;
18975
- };
18976
- private _state;
18977
- constructor();
18978
- private dismissToast;
18979
- addToast(params: BentoToastItem): {
18980
- dismiss: () => void;
18981
- };
19061
+ declare interface Toast {
19062
+ dismiss: () => void;
19063
+ }
19064
+
19065
+ export declare interface ToastStack {
19066
+ stack: DeepReadonly<Ref<BentoToastItemsList>>;
19067
+ addToast: (params: BentoToastItemParams) => Toast;
18982
19068
  }
18983
19069
 
18984
19070
  /**
@@ -18992,7 +19078,9 @@ declare class ToastController {
18992
19078
  */
18993
19079
  export declare function toTypedSchema<T extends ZodSchema>(formSchema: T): T;
18994
19080
 
18995
- export declare function useBentoToastController(): ToastController;
19081
+ export declare type UseBentoToastController = ToastStack;
19082
+
19083
+ export declare function useBentoToastController(): UseBentoToastController;
18996
19084
 
18997
19085
  /**
18998
19086
  * Maps an ISO code to the country's translated capital city.