@adyen/bento-vue3 1.23.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 (217) hide show
  1. package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +38 -48
  2. package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +25 -20
  3. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +1 -0
  4. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -1
  5. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +1 -1
  6. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +1 -1
  7. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +10 -2
  8. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +25 -20
  9. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +3 -3
  10. package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +2 -2
  11. package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +3 -3
  12. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +1 -1
  13. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +3 -3
  14. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +3 -3
  15. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +3 -3
  16. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +3 -3
  17. package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +7 -40
  18. package/dist/@types/packages/vue2/src/components/toast/components/toast-shadow-stack/toast-shadow-stack.types.d.ts +5 -0
  19. package/dist/@types/packages/vue2/src/components/toast/components/toast-shadow-stack/toast-shadow-stack.vue.d.ts +7 -0
  20. package/dist/@types/packages/vue2/src/components/toast/index.d.ts +0 -1
  21. package/dist/@types/packages/vue2/src/components/toast/toast.vue.d.ts +1 -29
  22. package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +195 -55
  23. package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +71 -85
  24. package/dist/@types/packages/vue2/src/composables/index.d.ts +1 -0
  25. package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/index.d.ts +2 -0
  26. package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/install.d.ts +6 -0
  27. package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/toast-stack.d.ts +7 -0
  28. package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.d.ts +2 -0
  29. package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.types.d.ts +23 -0
  30. package/dist/@types/packages/vue2/src/index.d.ts +1 -0
  31. package/dist/@types/packages/vue2/src/utils/ts/storybook.d.ts +10 -0
  32. package/dist/accordion.js +2 -2
  33. package/dist/action-bar.js +6 -6
  34. package/dist/alert.js +113 -77
  35. package/dist/alert.js.map +1 -1
  36. package/dist/assets/base-modal.css +1 -1
  37. package/dist/assets/dialog-page.css +1 -1
  38. package/dist/assets/grid-layout.css +1 -1
  39. package/dist/assets/index.css +1 -1
  40. package/dist/assets/index10.css +1 -1
  41. package/dist/assets/index11.css +1 -1
  42. package/dist/assets/index13.css +1 -1
  43. package/dist/assets/index14.css +1 -1
  44. package/dist/assets/index15.css +1 -1
  45. package/dist/assets/index16.css +1 -1
  46. package/dist/assets/index17.css +1 -1
  47. package/dist/assets/index18.css +1 -1
  48. package/dist/assets/index19.css +1 -1
  49. package/dist/assets/index2.css +1 -1
  50. package/dist/assets/index20.css +1 -1
  51. package/dist/assets/index21.css +1 -1
  52. package/dist/assets/index22.css +1 -1
  53. package/dist/assets/index23.css +1 -1
  54. package/dist/assets/index24.css +1 -1
  55. package/dist/assets/index25.css +1 -1
  56. package/dist/assets/index26.css +1 -1
  57. package/dist/assets/index27.css +1 -1
  58. package/dist/assets/index28.css +1 -1
  59. package/dist/assets/index29.css +1 -1
  60. package/dist/assets/index3.css +1 -1
  61. package/dist/assets/index30.css +1 -1
  62. package/dist/assets/index31.css +1 -1
  63. package/dist/assets/index32.css +1 -1
  64. package/dist/assets/index33.css +1 -1
  65. package/dist/assets/index34.css +1 -1
  66. package/dist/assets/index35.css +1 -1
  67. package/dist/assets/index36.css +1 -1
  68. package/dist/assets/index37.css +1 -1
  69. package/dist/assets/index38.css +1 -1
  70. package/dist/assets/index39.css +1 -1
  71. package/dist/assets/index4.css +1 -1
  72. package/dist/assets/index40.css +1 -1
  73. package/dist/assets/index41.css +1 -1
  74. package/dist/assets/index42.css +1 -1
  75. package/dist/assets/index43.css +1 -1
  76. package/dist/assets/index44.css +1 -1
  77. package/dist/assets/index45.css +1 -1
  78. package/dist/assets/index46.css +1 -1
  79. package/dist/assets/index47.css +1 -1
  80. package/dist/assets/index48.css +1 -1
  81. package/dist/assets/index5.css +1 -1
  82. package/dist/assets/index6.css +1 -1
  83. package/dist/assets/index7.css +1 -1
  84. package/dist/assets/index8.css +1 -1
  85. package/dist/assets/index9.css +1 -1
  86. package/dist/avatar-image.js +1 -1
  87. package/dist/badge.js +1 -1
  88. package/dist/button.js +5 -5
  89. package/dist/card.js +3 -3
  90. package/dist/checkbox.js +5 -5
  91. package/dist/chunks/{base-button.13df4e44.js → base-button.ab9c947e.js} +2 -2
  92. package/dist/chunks/{base-button.13df4e44.js.map → base-button.ab9c947e.js.map} +1 -1
  93. package/dist/chunks/{base-modal.30bce990.js → base-modal.28b5ff83.js} +5 -5
  94. package/dist/chunks/{base-modal.30bce990.js.map → base-modal.28b5ff83.js.map} +1 -1
  95. package/dist/chunks/{button-actions-with-menu.a5d2bb13.js → button-actions-with-menu.305991e5.js} +4 -4
  96. package/dist/chunks/{button-actions-with-menu.a5d2bb13.js.map → button-actions-with-menu.305991e5.js.map} +1 -1
  97. package/dist/chunks/{button-actions.ec3c649c.js → button-actions.ea025810.js} +3 -3
  98. package/dist/chunks/{button-actions.ec3c649c.js.map → button-actions.ea025810.js.map} +1 -1
  99. package/dist/chunks/{button.e965bf53.js → button.ce5d1f5e.js} +3 -3
  100. package/dist/chunks/{button.e965bf53.js.map → button.ce5d1f5e.js.map} +1 -1
  101. package/dist/chunks/{calendar.52fe4032.js → calendar.24a492f1.js} +4 -4
  102. package/dist/chunks/{calendar.52fe4032.js.map → calendar.24a492f1.js.map} +1 -1
  103. package/dist/chunks/{checkbox.1442f41a.js → checkbox.d0f897e0.js} +3 -3
  104. package/dist/chunks/{checkbox.1442f41a.js.map → checkbox.d0f897e0.js.map} +1 -1
  105. package/dist/chunks/{controls-group.1f29b602.js → controls-group.2b31233c.js} +3 -3
  106. package/dist/chunks/{controls-group.1f29b602.js.map → controls-group.2b31233c.js.map} +1 -1
  107. package/dist/chunks/{copy.d052f444.js → copy.9003ed59.js} +4 -4
  108. package/dist/chunks/{copy.d052f444.js.map → copy.9003ed59.js.map} +1 -1
  109. package/dist/chunks/{dialog-page.d505c5ec.js → dialog-page.2c07d294.js} +3 -3
  110. package/dist/chunks/{dialog-page.d505c5ec.js.map → dialog-page.2c07d294.js.map} +1 -1
  111. package/dist/chunks/{dropdown-default-textbox.e0ca5afb.js → dropdown-default-textbox.311443a8.js} +2 -2
  112. package/dist/chunks/{dropdown-default-textbox.e0ca5afb.js.map → dropdown-default-textbox.311443a8.js.map} +1 -1
  113. package/dist/chunks/{dropdown.257691c0.js → dropdown.170b43c4.js} +7 -7
  114. package/dist/chunks/{dropdown.257691c0.js.map → dropdown.170b43c4.js.map} +1 -1
  115. package/dist/chunks/{error-message.56247bcc.js → error-message.4678cbdc.js} +2 -2
  116. package/dist/chunks/{error-message.56247bcc.js.map → error-message.4678cbdc.js.map} +1 -1
  117. package/dist/chunks/{fixed-scroller.47546775.js → fixed-scroller.f09618f2.js} +2 -2
  118. package/dist/chunks/{fixed-scroller.47546775.js.map → fixed-scroller.f09618f2.js.map} +1 -1
  119. package/dist/chunks/{footer-actions.3c2dbf43.js → footer-actions.2efe610e.js} +4 -4
  120. package/dist/chunks/{footer-actions.3c2dbf43.js.map → footer-actions.2efe610e.js.map} +1 -1
  121. package/dist/chunks/{index.56c13d2c.js → index.0d513625.js} +9 -9
  122. package/dist/chunks/{index.56c13d2c.js.map → index.0d513625.js.map} +1 -1
  123. package/dist/chunks/{index.10c69f39.js → index.1b1646bf.js} +6 -6
  124. package/dist/chunks/{index.10c69f39.js.map → index.1b1646bf.js.map} +1 -1
  125. package/dist/chunks/index.51fe0fc2.js +74 -0
  126. package/dist/chunks/index.51fe0fc2.js.map +1 -0
  127. package/dist/chunks/{index.4fb57ba0.js → index.6987f880.js} +6 -6
  128. package/dist/chunks/{index.4fb57ba0.js.map → index.6987f880.js.map} +1 -1
  129. package/dist/chunks/{index.f800b267.js → index.70c91b3b.js} +2 -2
  130. package/dist/chunks/{index.f800b267.js.map → index.70c91b3b.js.map} +1 -1
  131. package/dist/chunks/{index.08d813e2.js → index.920cc1ee.js} +6 -6
  132. package/dist/chunks/{index.08d813e2.js.map → index.920cc1ee.js.map} +1 -1
  133. package/dist/chunks/{index.9aaed799.js → index.b3cb905c.js} +2 -2
  134. package/dist/chunks/{index.9aaed799.js.map → index.b3cb905c.js.map} +1 -1
  135. package/dist/chunks/{index.bf4a116b.js → index.b772214b.js} +3 -3
  136. package/dist/chunks/{index.bf4a116b.js.map → index.b772214b.js.map} +1 -1
  137. package/dist/chunks/{index.824101bb.js → index.c41d1bbb.js} +2 -2
  138. package/dist/chunks/{index.824101bb.js.map → index.c41d1bbb.js.map} +1 -1
  139. package/dist/chunks/index.c5b58864.js +62 -0
  140. package/dist/chunks/index.c5b58864.js.map +1 -0
  141. package/dist/chunks/{listbox-option-tag.4de1659c.js → listbox-option-tag.bf77e0c4.js} +3 -3
  142. package/dist/chunks/{listbox-option-tag.4de1659c.js.map → listbox-option-tag.bf77e0c4.js.map} +1 -1
  143. package/dist/chunks/{listbox.eb436d06.js → listbox.b6a1aea2.js} +5 -5
  144. package/dist/chunks/{listbox.eb436d06.js.map → listbox.b6a1aea2.js.map} +1 -1
  145. package/dist/chunks/{loading-button.6e15f27f.js → loading-button.cdc193c6.js} +2 -2
  146. package/dist/chunks/{loading-button.6e15f27f.js.map → loading-button.cdc193c6.js.map} +1 -1
  147. package/dist/chunks/{payment-method.df1b62db.js → payment-method.ea1788f7.js} +2 -2
  148. package/dist/chunks/{payment-method.df1b62db.js.map → payment-method.ea1788f7.js.map} +1 -1
  149. package/dist/chunks/{tooltip.066fd8f7.js → tooltip.10210728.js} +3 -3
  150. package/dist/chunks/{tooltip.066fd8f7.js.map → tooltip.10210728.js.map} +1 -1
  151. package/dist/chunks/use-bento-toast-controller.3275a505.js +50 -0
  152. package/dist/chunks/use-bento-toast-controller.3275a505.js.map +1 -0
  153. package/dist/code-snippet.js +7 -7
  154. package/dist/code-snippet.js.map +1 -1
  155. package/dist/country.js +2 -2
  156. package/dist/currency.js +1 -1
  157. package/dist/data-grid-template.js +1 -1
  158. package/dist/data-grid.js +643 -632
  159. package/dist/data-grid.js.map +1 -1
  160. package/dist/date-picker.js +8 -8
  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 +25 -29
  167. package/dist/filter-bar.js.map +1 -1
  168. package/dist/form-layout.js +2 -2
  169. package/dist/header.js +4 -4
  170. package/dist/index.js +248 -271
  171. package/dist/index.js.map +1 -1
  172. package/dist/info-icon.js +3 -3
  173. package/dist/input-field.js +85 -80
  174. package/dist/input-field.js.map +1 -1
  175. package/dist/internal.js +8 -8
  176. package/dist/link.js +1 -1
  177. package/dist/loading-indicator.js +1 -1
  178. package/dist/menu.js +1 -1
  179. package/dist/modal-fullscreen.js +5 -5
  180. package/dist/modal.js +6 -6
  181. package/dist/pagination.js +4 -4
  182. package/dist/payment-method.js +1 -1
  183. package/dist/popover.js +1 -1
  184. package/dist/popper-container.js +1 -1
  185. package/dist/radio-group.js +4 -4
  186. package/dist/search-bar.js +2 -2
  187. package/dist/secondary-nav.js +2 -2
  188. package/dist/segmented-control.js +3 -3
  189. package/dist/selection-card.js +4 -4
  190. package/dist/sidepanel.js +5 -5
  191. package/dist/status.js +2 -2
  192. package/dist/stepper.js +3 -3
  193. package/dist/structured-list.js +1 -1
  194. package/dist/summary-grid.js +3 -3
  195. package/dist/tabs.js +3 -3
  196. package/dist/tag.js +3 -3
  197. package/dist/textarea.js +4 -4
  198. package/dist/timeline.js +7 -7
  199. package/dist/toast.js +185 -154
  200. package/dist/toast.js.map +1 -1
  201. package/dist/toggle.js +2 -2
  202. package/dist/tutorial.js +6 -6
  203. package/dist/typography.js +1 -1
  204. package/dist/web-types.json +1 -1
  205. package/package.json +2 -2
  206. package/dist/@types/packages/vue2/src/components/toast/components/toast-item/index.d.ts +0 -2
  207. package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.types.d.ts +0 -9
  208. package/dist/@types/packages/vue2/src/plugins/toastController.d.ts +0 -12
  209. package/dist/@types/packages/vue2/src/utils/ts/toastController.d.ts +0 -2
  210. package/dist/chunks/index.0e01e0b2.js +0 -101
  211. package/dist/chunks/index.0e01e0b2.js.map +0 -1
  212. package/dist/chunks/index.99c63a74.js +0 -125
  213. package/dist/chunks/index.99c63a74.js.map +0 -1
  214. package/dist/chunks/info-filled.a6f9d7d0.js +0 -44
  215. package/dist/chunks/info-filled.a6f9d7d0.js.map +0 -1
  216. package/dist/chunks/toastController.0b01d2e8.js +0 -9
  217. package/dist/chunks/toastController.0b01d2e8.js.map +0 -1
@@ -1,13 +1,13 @@
1
- import { PropType } from "../../../../vue3/node_modules/vue";
2
1
  import { BentoAvatarImageColor, BentoAvatarImageVariant } from './avatar-image.types';
3
- declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<{
2
+ declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ /**
4
+ * Avatar color. Defaults to yellow.
5
+ */
6
+ color?: BentoAvatarImageColor;
4
7
  /**
5
8
  * Image src to load the profile picture.
6
9
  */
7
- src: {
8
- type: StringConstructor;
9
- default: any;
10
- };
10
+ src?: string;
11
11
  /**
12
12
  * Name of the user that will be used to extract initials to display default value.
13
13
  * John => J
@@ -15,40 +15,26 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
15
15
  * John Smith Doe => JD
16
16
  * John Smith Doe Holly => JH
17
17
  */
18
- username: {
19
- type: StringConstructor;
20
- default: any;
21
- };
18
+ username?: string;
22
19
  /**
23
20
  * Variants supported for small and large.
24
21
  * Default - large
25
22
  */
26
- variant: {
27
- type: PropType<BentoAvatarImageVariant>;
28
- default: BentoAvatarImageVariant;
29
- validator: (value: BentoAvatarImageVariant) => boolean;
30
- };
23
+ variant?: BentoAvatarImageVariant;
24
+ }>, {
25
+ color: BentoAvatarImageColor;
26
+ src: any;
27
+ username: any;
28
+ variant: BentoAvatarImageVariant;
29
+ }>, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
31
30
  /**
32
31
  * Avatar color. Defaults to yellow.
33
32
  */
34
- color: {
35
- type: PropType<BentoAvatarImageColor>;
36
- default: BentoAvatarImageColor;
37
- validator: (value: BentoAvatarImageColor) => boolean;
38
- };
39
- }, {
40
- conditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
41
- [x: string]: boolean | BentoAvatarImageColor;
42
- }>;
43
- initials: import("../../../../vue3/node_modules/vue").ComputedRef<string>;
44
- }, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
33
+ color?: BentoAvatarImageColor;
45
34
  /**
46
35
  * Image src to load the profile picture.
47
36
  */
48
- src: {
49
- type: StringConstructor;
50
- default: any;
51
- };
37
+ src?: string;
52
38
  /**
53
39
  * Name of the user that will be used to extract initials to display default value.
54
40
  * John => J
@@ -56,31 +42,35 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
56
42
  * John Smith Doe => JD
57
43
  * John Smith Doe Holly => JH
58
44
  */
59
- username: {
60
- type: StringConstructor;
61
- default: any;
62
- };
45
+ username?: string;
63
46
  /**
64
47
  * Variants supported for small and large.
65
48
  * Default - large
66
49
  */
67
- variant: {
68
- type: PropType<BentoAvatarImageVariant>;
69
- default: BentoAvatarImageVariant;
70
- validator: (value: BentoAvatarImageVariant) => boolean;
71
- };
72
- /**
73
- * Avatar color. Defaults to yellow.
74
- */
75
- color: {
76
- type: PropType<BentoAvatarImageColor>;
77
- default: BentoAvatarImageColor;
78
- validator: (value: BentoAvatarImageColor) => boolean;
79
- };
80
- }>>, {
50
+ variant?: BentoAvatarImageVariant;
51
+ }>, {
52
+ color: BentoAvatarImageColor;
53
+ src: any;
54
+ username: any;
55
+ variant: BentoAvatarImageVariant;
56
+ }>>>, {
81
57
  variant: BentoAvatarImageVariant;
82
58
  src: string;
83
59
  color: BentoAvatarImageColor;
84
60
  username: string;
85
61
  }>;
86
62
  export default _default;
63
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
64
+ type __VLS_TypePropsToRuntimeProps<T> = {
65
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
66
+ type: import("../../../../vue3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
67
+ } : {
68
+ type: import("../../../../vue3/node_modules/vue").PropType<T[K]>;
69
+ required: true;
70
+ };
71
+ };
72
+ type __VLS_WithDefaults<P, D> = {
73
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
74
+ default: D[K];
75
+ } : P[K];
76
+ };
@@ -138,41 +138,46 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
138
138
  stronger: boolean;
139
139
  strongest: boolean;
140
140
  el: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement;
141
- variant: "body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant;
142
- medium: boolean;
143
141
  large: boolean;
142
+ medium: boolean;
143
+ variant: "body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant;
144
144
  }> & Omit<Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
145
- el: {
146
- type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement>;
147
- default: import("../typography").BentoTypographyElement;
148
- validator: (value: import("../typography").BentoTypographyElement) => boolean;
145
+ wide: {
146
+ type: PropType<boolean>;
147
+ } & {
148
+ default: boolean;
149
149
  };
150
150
  stronger: {
151
- type: BooleanConstructor;
151
+ type: PropType<boolean>;
152
+ } & {
152
153
  default: boolean;
153
154
  };
154
155
  strongest: {
155
- type: BooleanConstructor;
156
+ type: PropType<boolean>;
157
+ } & {
156
158
  default: boolean;
157
159
  };
158
- variant: {
159
- type: PropType<"body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant>;
160
- default: import("../typography").BentoTypographyVariant;
161
- validator: (value: import("../typography").BentoTypographyVariant) => boolean;
162
- };
163
- medium: {
164
- type: BooleanConstructor;
165
- default: boolean;
160
+ el: {
161
+ type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement>;
162
+ } & {
163
+ default: import("../typography").BentoTypographyElement;
166
164
  };
167
165
  large: {
168
- type: BooleanConstructor;
166
+ type: PropType<boolean>;
167
+ } & {
169
168
  default: boolean;
170
169
  };
171
- wide: {
172
- type: BooleanConstructor;
170
+ medium: {
171
+ type: PropType<boolean>;
172
+ } & {
173
173
  default: boolean;
174
174
  };
175
- }>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "wide" | "stronger" | "strongest" | "el" | "variant" | "medium" | "large">>;
175
+ variant: {
176
+ type: PropType<"body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant>;
177
+ } & {
178
+ default: import("../typography").BentoTypographyVariant;
179
+ };
180
+ }>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "wide" | "stronger" | "strongest" | "el" | "large" | "medium" | "variant">>;
176
181
  contentDiv: import("../../../../vue3/node_modules/vue").Ref<HTMLDivElement>;
177
182
  contentMaxHeight: import("../../../../vue3/node_modules/vue").ComputedRef<{
178
183
  'max-height': string;
@@ -25,6 +25,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
25
25
  searchTerm: import("../../../../../../vue3/node_modules/vue").Ref<string>;
26
26
  isColumnVisibilityFilterShown: import("../../../../../../vue3/node_modules/vue").Ref<boolean>;
27
27
  searchBarRef: any;
28
+ searchButtonRef: any;
28
29
  DATAGRID_SELECT_FIELD_NAME: string;
29
30
  setConfigSettingsPanelVisibility: (isVisible: boolean) => void;
30
31
  emitCondensedToggle: (isCondensedView: boolean) => void;
@@ -5,7 +5,7 @@ import { MaybeRef } from "../../../../types";
5
5
  export declare const DEFAULT_COLUMN_WIDTH = 100;
6
6
  export declare const DEFAULT_COLUMN_MIN_WIDTH = 50;
7
7
  export declare const DATAGRID_SELECT_FIELD_NAME = "b-select";
8
- export declare const DATAGRID_SELECT_WIDTH = 50;
8
+ export declare const DATAGRID_SELECT_WIDTH = 32;
9
9
  export declare const DATAGRID_SELECT_WIDTH_WITH_SELECT_ALL_PAGES_ENABLED = 56;
10
10
  /**
11
11
  * Calculates the width of the columns using width, minWidth and/or a fluid number.
@@ -446,9 +446,9 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
446
446
  value: BentoListboxSelectedValue;
447
447
  required: boolean;
448
448
  label: string;
449
+ search: BentoDropdownSearchOptions;
449
450
  condensed: boolean;
450
451
  disabled: boolean;
451
- search: BentoDropdownSearchOptions;
452
452
  error: boolean;
453
453
  multiple: boolean;
454
454
  placeholder: string;
@@ -104,8 +104,8 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
104
104
  }>> & {
105
105
  onClick?: (...args: any[]) => any;
106
106
  }, {
107
- disabled: boolean;
108
107
  bold: boolean;
108
+ disabled: boolean;
109
109
  isFilterOpen: boolean;
110
110
  hasChevron: boolean;
111
111
  amountAppliedValues: string | number;
@@ -53,7 +53,11 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
53
53
  };
54
54
  /**
55
55
  * Dropdown props for the small selectable dropdown menu.
56
- * @see BentoDropdown
56
+ * Properties supported:
57
+ *
58
+ * - `value`: Selected value of the dropdown
59
+ * - `items`: List of available items
60
+ *
57
61
  */
58
62
  dropdown: {
59
63
  type: PropType<BentoInputDropdownProps>;
@@ -209,7 +213,11 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
209
213
  };
210
214
  /**
211
215
  * Dropdown props for the small selectable dropdown menu.
212
- * @see BentoDropdown
216
+ * Properties supported:
217
+ *
218
+ * - `value`: Selected value of the dropdown
219
+ * - `items`: List of available items
220
+ *
213
221
  */
214
222
  dropdown: {
215
223
  type: PropType<BentoInputDropdownProps>;
@@ -87,41 +87,46 @@ declare const _default: import("../../../../../../../../../../../vue3/node_modul
87
87
  stronger: boolean;
88
88
  strongest: boolean;
89
89
  el: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../../../../../../../../typography").BentoTypographyElement;
90
- variant: "body" | "caption" | "title" | "subtitle" | import("../../../../../../../../typography").BentoTypographyVariant;
91
- medium: boolean;
92
90
  large: boolean;
91
+ medium: boolean;
92
+ variant: "body" | "caption" | "title" | "subtitle" | import("../../../../../../../../typography").BentoTypographyVariant;
93
93
  }> & Omit<Readonly<import("../../../../../../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
94
- el: {
95
- type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../../../../../../../../typography").BentoTypographyElement>;
96
- default: import("../../../../../../../../typography").BentoTypographyElement;
97
- validator: (value: import("../../../../../../../../typography").BentoTypographyElement) => boolean;
94
+ wide: {
95
+ type: PropType<boolean>;
96
+ } & {
97
+ default: boolean;
98
98
  };
99
99
  stronger: {
100
- type: BooleanConstructor;
100
+ type: PropType<boolean>;
101
+ } & {
101
102
  default: boolean;
102
103
  };
103
104
  strongest: {
104
- type: BooleanConstructor;
105
+ type: PropType<boolean>;
106
+ } & {
105
107
  default: boolean;
106
108
  };
107
- variant: {
108
- type: PropType<"body" | "caption" | "title" | "subtitle" | import("../../../../../../../../typography").BentoTypographyVariant>;
109
- default: import("../../../../../../../../typography").BentoTypographyVariant;
110
- validator: (value: import("../../../../../../../../typography").BentoTypographyVariant) => boolean;
111
- };
112
- medium: {
113
- type: BooleanConstructor;
114
- default: boolean;
109
+ el: {
110
+ type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../../../../../../../../typography").BentoTypographyElement>;
111
+ } & {
112
+ default: import("../../../../../../../../typography").BentoTypographyElement;
115
113
  };
116
114
  large: {
117
- type: BooleanConstructor;
115
+ type: PropType<boolean>;
116
+ } & {
118
117
  default: boolean;
119
118
  };
120
- wide: {
121
- type: BooleanConstructor;
119
+ medium: {
120
+ type: PropType<boolean>;
121
+ } & {
122
122
  default: boolean;
123
123
  };
124
- }>> & import("../../../../../../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../../../../../../vue3/node_modules/vue").ComponentCustomProps, "wide" | "stronger" | "strongest" | "el" | "variant" | "medium" | "large">>;
124
+ variant: {
125
+ type: PropType<"body" | "caption" | "title" | "subtitle" | import("../../../../../../../../typography").BentoTypographyVariant>;
126
+ } & {
127
+ default: import("../../../../../../../../typography").BentoTypographyVariant;
128
+ };
129
+ }>> & import("../../../../../../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../../../../../../vue3/node_modules/vue").ComponentCustomProps, "wide" | "stronger" | "strongest" | "el" | "large" | "medium" | "variant">>;
125
130
  toggleOpen: (event: Event) => void;
126
131
  toggleSelectAll: (selectedValue: boolean) => void;
127
132
  }, unknown, {}, {}, import("../../../../../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, ListboxMultiSelectCategoryEvent[], ListboxMultiSelectCategoryEvent, import("../../../../../../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
@@ -139,7 +139,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
139
139
  * Sets the width of the modal
140
140
  */
141
141
  size: {
142
- type: PropType<"small" | "medium" | "large" | BentoModalSize>;
142
+ type: PropType<"small" | "large" | "medium" | BentoModalSize>;
143
143
  default: BentoModalSize;
144
144
  };
145
145
  /**
@@ -256,7 +256,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
256
256
  * Sets the width of the modal
257
257
  */
258
258
  size: {
259
- type: PropType<"small" | "medium" | "large" | BentoModalSize>;
259
+ type: PropType<"small" | "large" | "medium" | BentoModalSize>;
260
260
  default: BentoModalSize;
261
261
  };
262
262
  /**
@@ -270,7 +270,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
270
270
  "onClose-modal"?: () => any;
271
271
  "onUpdate:active-page"?: (page: string) => any;
272
272
  }, {
273
- size: "small" | "medium" | "large" | BentoModalSize;
273
+ size: "small" | "large" | "medium" | BentoModalSize;
274
274
  activePage: string;
275
275
  actions: BentoButtonActionsList;
276
276
  destructiveActions: boolean;
@@ -139,7 +139,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
139
139
  * Sets the width of the modal
140
140
  */
141
141
  size: {
142
- type: PropType<"small" | "medium" | "large" | BentoModalSize>;
142
+ type: PropType<"small" | "large" | "medium" | BentoModalSize>;
143
143
  required: true;
144
144
  };
145
145
  /**
@@ -254,7 +254,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
254
254
  * Sets the width of the modal
255
255
  */
256
256
  size: {
257
- type: PropType<"small" | "medium" | "large" | BentoModalSize>;
257
+ type: PropType<"small" | "large" | "medium" | BentoModalSize>;
258
258
  required: true;
259
259
  };
260
260
  /**
@@ -135,7 +135,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
135
135
  * Sets the width of the modal
136
136
  */
137
137
  size: {
138
- type: PropType<"small" | "medium" | "large" | BentoModalSize>;
138
+ type: PropType<"small" | "large" | "medium" | BentoModalSize>;
139
139
  default: BentoModalSize;
140
140
  validator: (value: BentoModalSize) => boolean;
141
141
  };
@@ -272,7 +272,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
272
272
  * Sets the width of the modal
273
273
  */
274
274
  size: {
275
- type: PropType<"small" | "medium" | "large" | BentoModalSize>;
275
+ type: PropType<"small" | "large" | "medium" | BentoModalSize>;
276
276
  default: BentoModalSize;
277
277
  validator: (value: BentoModalSize) => boolean;
278
278
  };
@@ -297,7 +297,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
297
297
  }, {
298
298
  variant: "default" | "dialog" | "BentoModalDefault" | "BentoModalDialog" | BentoModalVariant;
299
299
  isOpen: boolean;
300
- size: "small" | "medium" | "large" | BentoModalSize;
300
+ size: "small" | "large" | "medium" | BentoModalSize;
301
301
  content: string;
302
302
  activePage: string;
303
303
  actions: BentoButtonActionsList;
@@ -263,12 +263,12 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
263
263
  }, {
264
264
  position: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | PopperContainerPosition;
265
265
  offset: number[];
266
+ id: string;
266
267
  ariaRole: PopperContainerAriaRole;
267
268
  arrow: any;
268
269
  disabledFocusTrap: boolean;
269
270
  fallbackPosition: FallbackPositionProp;
270
271
  fixedPositioning: boolean;
271
- id: string;
272
272
  isHidden: boolean;
273
273
  matchWidth: boolean;
274
274
  middleware: {
@@ -59,7 +59,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
59
59
  * Defines the size of the `summary-grid-item` text content
60
60
  */
61
61
  size: {
62
- type: PropType<"small" | "medium" | "large" | BentoSummaryGridItemSize>;
62
+ type: PropType<"small" | "large" | "medium" | BentoSummaryGridItemSize>;
63
63
  default: BentoSummaryGridItemSize;
64
64
  validator: (value: BentoSummaryGridItemSize) => boolean;
65
65
  };
@@ -152,7 +152,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
152
152
  * Defines the size of the `summary-grid-item` text content
153
153
  */
154
154
  size: {
155
- type: PropType<"small" | "medium" | "large" | BentoSummaryGridItemSize>;
155
+ type: PropType<"small" | "large" | "medium" | BentoSummaryGridItemSize>;
156
156
  default: BentoSummaryGridItemSize;
157
157
  validator: (value: BentoSummaryGridItemSize) => boolean;
158
158
  };
@@ -188,7 +188,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
188
188
  };
189
189
  }>>, {
190
190
  copy: string;
191
- size: "small" | "medium" | "large" | BentoSummaryGridItemSize;
191
+ size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
192
192
  fitContent: boolean;
193
193
  itemType: "text" | "custom" | "numeric" | "amount" | "percentage" | SummaryGridItemType;
194
194
  infoIconTooltipText: string;
@@ -105,7 +105,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
105
105
  * Defines the size of the `summary-grid-item` text content
106
106
  */
107
107
  size: {
108
- type: PropType<"small" | "medium" | "large" | BentoSummaryGridItemSize>;
108
+ type: PropType<"small" | "large" | "medium" | BentoSummaryGridItemSize>;
109
109
  default: BentoSummaryGridItemSize;
110
110
  validator: (value: BentoSummaryGridItemSize) => boolean;
111
111
  };
@@ -193,13 +193,13 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
193
193
  * Defines the size of the `summary-grid-item` text content
194
194
  */
195
195
  size: {
196
- type: PropType<"small" | "medium" | "large" | BentoSummaryGridItemSize>;
196
+ type: PropType<"small" | "large" | "medium" | BentoSummaryGridItemSize>;
197
197
  default: BentoSummaryGridItemSize;
198
198
  validator: (value: BentoSummaryGridItemSize) => boolean;
199
199
  };
200
200
  }>>, {
201
201
  copy: string;
202
- size: "small" | "medium" | "large" | BentoSummaryGridItemSize;
202
+ size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
203
203
  fitContent: boolean;
204
204
  infoIconTooltipText: string;
205
205
  trend: string;
@@ -97,7 +97,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
97
97
  * Defines the size of the `summary-grid-item` text content
98
98
  */
99
99
  size: {
100
- type: PropType<"small" | "medium" | "large" | BentoSummaryGridItemSize>;
100
+ type: PropType<"small" | "large" | "medium" | BentoSummaryGridItemSize>;
101
101
  default: BentoSummaryGridItemSize;
102
102
  validator: (value: BentoSummaryGridItemSize) => boolean;
103
103
  };
@@ -178,13 +178,13 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
178
178
  * Defines the size of the `summary-grid-item` text content
179
179
  */
180
180
  size: {
181
- type: PropType<"small" | "medium" | "large" | BentoSummaryGridItemSize>;
181
+ type: PropType<"small" | "large" | "medium" | BentoSummaryGridItemSize>;
182
182
  default: BentoSummaryGridItemSize;
183
183
  validator: (value: BentoSummaryGridItemSize) => boolean;
184
184
  };
185
185
  }>>, {
186
186
  copy: string;
187
- size: "small" | "medium" | "large" | BentoSummaryGridItemSize;
187
+ size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
188
188
  fitContent: boolean;
189
189
  infoIconTooltipText: string;
190
190
  trend: string;
@@ -97,7 +97,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
97
97
  * Defines the size of the `summary-grid-item` text content
98
98
  */
99
99
  size: {
100
- type: PropType<"small" | "medium" | "large" | BentoSummaryGridItemSize>;
100
+ type: PropType<"small" | "large" | "medium" | BentoSummaryGridItemSize>;
101
101
  default: BentoSummaryGridItemSize;
102
102
  validator: (value: BentoSummaryGridItemSize) => boolean;
103
103
  };
@@ -178,13 +178,13 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
178
178
  * Defines the size of the `summary-grid-item` text content
179
179
  */
180
180
  size: {
181
- type: PropType<"small" | "medium" | "large" | BentoSummaryGridItemSize>;
181
+ type: PropType<"small" | "large" | "medium" | BentoSummaryGridItemSize>;
182
182
  default: BentoSummaryGridItemSize;
183
183
  validator: (value: BentoSummaryGridItemSize) => boolean;
184
184
  };
185
185
  }>>, {
186
186
  copy: string;
187
- size: "small" | "medium" | "large" | BentoSummaryGridItemSize;
187
+ size: "small" | "large" | "medium" | BentoSummaryGridItemSize;
188
188
  fitContent: boolean;
189
189
  infoIconTooltipText: string;
190
190
  trend: string;
@@ -1,47 +1,14 @@
1
1
  import { PropType } from "../../../../../../vue3/node_modules/vue";
2
- import { BentoToastItemAction } from './toast-item.types';
3
- /**
4
- * @example
5
- * Toast item component, for internal use only.
6
- *
7
- * import { BentoToastItem } from '@adyen/bento-vue2';
8
- *
9
- * export default {
10
- * components: { BentoToastItem },
11
- * template: `
12
- * <bento-toast-item>
13
- * This is a toast message
14
- * <template #primaryAction>Button text</template>
15
- * </bento-toast-item>
16
- * `
17
- * }
18
- */
2
+ import type { BentoToastItem } from "../../../../composables";
19
3
  declare const _default: import("../../../../../../vue3/node_modules/vue").DefineComponent<{
20
- text: {
21
- type: StringConstructor;
4
+ toast: {
5
+ type: PropType<BentoToastItem>;
22
6
  required: true;
23
7
  };
24
- action: {
25
- type: PropType<BentoToastItemAction>;
26
- default: any;
27
- };
28
- }, {
29
- dismissButtonClicked: () => void;
30
- hasSlot: (name: string) => boolean;
31
- onActionClicked: () => void;
32
- }, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, ("click" | "dismiss")[], "click" | "dismiss", import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
33
- text: {
34
- type: StringConstructor;
8
+ }, {}, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
9
+ toast: {
10
+ type: PropType<BentoToastItem>;
35
11
  required: true;
36
12
  };
37
- action: {
38
- type: PropType<BentoToastItemAction>;
39
- default: any;
40
- };
41
- }>> & {
42
- onClick?: (...args: any[]) => any;
43
- onDismiss?: (...args: any[]) => any;
44
- }, {
45
- action: BentoToastItemAction;
46
- }>;
13
+ }>>, {}>;
47
14
  export default _default;
@@ -0,0 +1,5 @@
1
+ import type { BentoToastItem } from "../../../../composables";
2
+ export interface BentoToastItemWithDimensions extends BentoToastItem {
3
+ bottom: number;
4
+ height: number;
5
+ }
@@ -0,0 +1,7 @@
1
+ import type { BentoToastItemWithDimensions } from './toast-shadow-stack.types';
2
+ declare const _default: import("../../../../../../vue3/node_modules/vue").DefineComponent<{}, {}, {}, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
3
+ update: (toasts: BentoToastItemWithDimensions[]) => void;
4
+ }, string, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{}>> & {
5
+ onUpdate?: (toasts: BentoToastItemWithDimensions[]) => any;
6
+ }, {}>;
7
+ export default _default;
@@ -1,2 +1 @@
1
1
  export { default as BentoToast } from './toast.vue';
2
- export { useBentoToastController } from '../../utils/ts/toastController';