@adyen/bento-vue3 1.24.0 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/dist/@types/packages/vue2/src/components/alert/alert.types.d.ts +3 -0
  2. package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +46 -54
  3. package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +86 -179
  4. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
  5. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +2 -2
  6. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.keys.d.ts +1 -0
  7. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +8 -1
  8. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +6 -3
  9. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +6 -2
  10. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +5 -5
  11. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +2 -2
  12. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +2 -2
  13. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -1
  14. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +1 -1
  15. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/use-dropdown-options-listbox.d.ts +13 -7
  16. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +14 -14
  17. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
  18. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +2 -2
  19. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +3 -24
  20. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +4 -4
  21. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +1 -1
  22. package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/index.d.ts +1 -0
  23. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/index.d.ts +2 -0
  24. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-button/select-filter-button.vue.d.ts +148 -0
  25. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-dropdown/select-filter-dropdown.vue.d.ts +150 -0
  26. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +28 -27
  27. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +11 -7
  28. package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +1 -1
  29. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
  30. package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.types.d.ts +1 -0
  31. package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +1 -1
  32. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/listbox-multi-select-chips.vue.d.ts +3 -3
  33. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +1 -2
  34. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +45 -9
  35. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +10 -9
  36. package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-cached-selected-values/use-cached-selected-values.d.ts +2 -2
  37. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +15 -15
  38. package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +1 -1
  39. package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +3 -2
  40. package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +8 -1
  41. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +3 -1
  42. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +2 -2
  43. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +3 -3
  44. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +2 -2
  45. package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +1 -1
  46. package/dist/@types/packages/vue2/src/composables/use-click-outside/index.d.ts +1 -0
  47. package/dist/@types/packages/vue2/src/index.d.ts +1 -0
  48. package/dist/accordion.js +2 -2
  49. package/dist/action-bar.js +6 -6
  50. package/dist/alert.js +125 -165
  51. package/dist/alert.js.map +1 -1
  52. package/dist/assets/base-modal.css +1 -1
  53. package/dist/assets/dialog-page.css +1 -1
  54. package/dist/assets/dropdown.css +1 -1
  55. package/dist/assets/index.css +1 -1
  56. package/dist/assets/index10.css +1 -1
  57. package/dist/assets/index11.css +1 -1
  58. package/dist/assets/index12.css +1 -1
  59. package/dist/assets/index13.css +1 -1
  60. package/dist/assets/index14.css +1 -1
  61. package/dist/assets/index15.css +1 -1
  62. package/dist/assets/index16.css +1 -1
  63. package/dist/assets/index17.css +1 -1
  64. package/dist/assets/index18.css +1 -1
  65. package/dist/assets/index19.css +1 -1
  66. package/dist/assets/index2.css +1 -1
  67. package/dist/assets/index20.css +1 -1
  68. package/dist/assets/index21.css +1 -1
  69. package/dist/assets/index22.css +1 -1
  70. package/dist/assets/index23.css +1 -1
  71. package/dist/assets/index24.css +1 -1
  72. package/dist/assets/index25.css +1 -1
  73. package/dist/assets/index26.css +1 -1
  74. package/dist/assets/index27.css +1 -1
  75. package/dist/assets/index28.css +1 -1
  76. package/dist/assets/index29.css +1 -1
  77. package/dist/assets/index3.css +1 -1
  78. package/dist/assets/index30.css +1 -1
  79. package/dist/assets/index31.css +1 -1
  80. package/dist/assets/index32.css +1 -1
  81. package/dist/assets/index33.css +1 -1
  82. package/dist/assets/index34.css +1 -1
  83. package/dist/assets/index35.css +1 -1
  84. package/dist/assets/index36.css +1 -1
  85. package/dist/assets/index37.css +1 -1
  86. package/dist/assets/index38.css +1 -1
  87. package/dist/assets/index39.css +1 -1
  88. package/dist/assets/index4.css +1 -1
  89. package/dist/assets/index40.css +1 -1
  90. package/dist/assets/index41.css +1 -1
  91. package/dist/assets/index42.css +1 -1
  92. package/dist/assets/index43.css +1 -1
  93. package/dist/assets/index44.css +1 -1
  94. package/dist/assets/index45.css +1 -1
  95. package/dist/assets/index46.css +1 -1
  96. package/dist/assets/index47.css +1 -1
  97. package/dist/assets/index48.css +1 -1
  98. package/dist/assets/index5.css +1 -1
  99. package/dist/assets/index6.css +1 -1
  100. package/dist/assets/index7.css +1 -1
  101. package/dist/assets/index8.css +1 -1
  102. package/dist/assets/index9.css +1 -1
  103. package/dist/assets/{listbox.css → use-cached-selected-values.css} +1 -1
  104. package/dist/avatar-image.js +1 -1
  105. package/dist/badge.js +1 -1
  106. package/dist/button.js +5 -5
  107. package/dist/card.js +168 -267
  108. package/dist/card.js.map +1 -1
  109. package/dist/checkbox.js +5 -5
  110. package/dist/chunks/{base-button.ab9c947e.js → base-button.6be8b60e.js} +2 -2
  111. package/dist/chunks/{base-button.ab9c947e.js.map → base-button.6be8b60e.js.map} +1 -1
  112. package/dist/chunks/{base-modal.28b5ff83.js → base-modal.310c4790.js} +6 -6
  113. package/dist/chunks/{base-modal.28b5ff83.js.map → base-modal.310c4790.js.map} +1 -1
  114. package/dist/chunks/{button-actions-with-menu.305991e5.js → button-actions-with-menu.a007b034.js} +4 -4
  115. package/dist/chunks/{button-actions-with-menu.305991e5.js.map → button-actions-with-menu.a007b034.js.map} +1 -1
  116. package/dist/chunks/{button-actions.ea025810.js → button-actions.adc0a2fe.js} +3 -3
  117. package/dist/chunks/{button-actions.ea025810.js.map → button-actions.adc0a2fe.js.map} +1 -1
  118. package/dist/chunks/{button.ce5d1f5e.js → button.de5589fa.js} +3 -3
  119. package/dist/chunks/{button.ce5d1f5e.js.map → button.de5589fa.js.map} +1 -1
  120. package/dist/chunks/{calendar.24a492f1.js → calendar.73f5b904.js} +4 -4
  121. package/dist/chunks/{calendar.24a492f1.js.map → calendar.73f5b904.js.map} +1 -1
  122. package/dist/chunks/{checkbox.d0f897e0.js → checkbox.4c96cc23.js} +3 -3
  123. package/dist/chunks/{checkbox.d0f897e0.js.map → checkbox.4c96cc23.js.map} +1 -1
  124. package/dist/chunks/{controls-group.2b31233c.js → controls-group.37a67734.js} +3 -3
  125. package/dist/chunks/{controls-group.2b31233c.js.map → controls-group.37a67734.js.map} +1 -1
  126. package/dist/chunks/{copy.9003ed59.js → copy.43de2653.js} +4 -4
  127. package/dist/chunks/{copy.9003ed59.js.map → copy.43de2653.js.map} +1 -1
  128. package/dist/chunks/dialog-page.cd8c7fff.js +173 -0
  129. package/dist/chunks/dialog-page.cd8c7fff.js.map +1 -0
  130. package/dist/chunks/{dropdown-default-textbox.311443a8.js → dropdown-default-textbox.424e0eb6.js} +2 -2
  131. package/dist/chunks/{dropdown-default-textbox.311443a8.js.map → dropdown-default-textbox.424e0eb6.js.map} +1 -1
  132. package/dist/chunks/{dropdown.170b43c4.js → dropdown.57b2ea6f.js} +295 -317
  133. package/dist/chunks/dropdown.57b2ea6f.js.map +1 -0
  134. package/dist/chunks/{error-message.4678cbdc.js → error-message.4bd22112.js} +2 -2
  135. package/dist/chunks/{error-message.4678cbdc.js.map → error-message.4bd22112.js.map} +1 -1
  136. package/dist/chunks/{fixed-scroller.f09618f2.js → fixed-scroller.5b93a6a6.js} +2 -2
  137. package/dist/chunks/{fixed-scroller.f09618f2.js.map → fixed-scroller.5b93a6a6.js.map} +1 -1
  138. package/dist/chunks/{footer-actions.2efe610e.js → footer-actions.c401ec50.js} +4 -4
  139. package/dist/chunks/{footer-actions.2efe610e.js.map → footer-actions.c401ec50.js.map} +1 -1
  140. package/dist/chunks/{index.51fe0fc2.js → index.11b6dd35.js} +2 -2
  141. package/dist/chunks/{index.51fe0fc2.js.map → index.11b6dd35.js.map} +1 -1
  142. package/dist/chunks/{index.6987f880.js → index.38752f78.js} +6 -6
  143. package/dist/chunks/{index.6987f880.js.map → index.38752f78.js.map} +1 -1
  144. package/dist/chunks/{index.c5b58864.js → index.73ac0db6.js} +3 -3
  145. package/dist/chunks/{index.c5b58864.js.map → index.73ac0db6.js.map} +1 -1
  146. package/dist/chunks/{index.c41d1bbb.js → index.8682bd04.js} +2 -2
  147. package/dist/chunks/{index.c41d1bbb.js.map → index.8682bd04.js.map} +1 -1
  148. package/dist/chunks/{index.1b1646bf.js → index.8b10ee32.js} +212 -191
  149. package/dist/chunks/index.8b10ee32.js.map +1 -0
  150. package/dist/chunks/{index.70c91b3b.js → index.98bbaed9.js} +2 -2
  151. package/dist/chunks/{index.70c91b3b.js.map → index.98bbaed9.js.map} +1 -1
  152. package/dist/chunks/{index.b772214b.js → index.aa83aa48.js} +3 -3
  153. package/dist/chunks/{index.b772214b.js.map → index.aa83aa48.js.map} +1 -1
  154. package/dist/chunks/{index.920cc1ee.js → index.bab8811d.js} +6 -6
  155. package/dist/chunks/{index.920cc1ee.js.map → index.bab8811d.js.map} +1 -1
  156. package/dist/chunks/{index.44f2aca7.js → index.ea65003b.js} +2 -2
  157. package/dist/chunks/{index.44f2aca7.js.map → index.ea65003b.js.map} +1 -1
  158. package/dist/chunks/{index.b3cb905c.js → index.f71015d8.js} +3 -3
  159. package/dist/chunks/{index.b3cb905c.js.map → index.f71015d8.js.map} +1 -1
  160. package/dist/chunks/{index.0d513625.js → index.faec0854.js} +15 -15
  161. package/dist/chunks/{index.0d513625.js.map → index.faec0854.js.map} +1 -1
  162. package/dist/chunks/{listbox-option-tag.bf77e0c4.js → listbox-option-tag.d1a3b340.js} +3 -3
  163. package/dist/chunks/{listbox-option-tag.bf77e0c4.js.map → listbox-option-tag.d1a3b340.js.map} +1 -1
  164. package/dist/chunks/{loading-button.cdc193c6.js → loading-button.2db95771.js} +2 -2
  165. package/dist/chunks/{loading-button.cdc193c6.js.map → loading-button.2db95771.js.map} +1 -1
  166. package/dist/chunks/{payment-method.ea1788f7.js → payment-method.26fa5509.js} +2 -2
  167. package/dist/chunks/{payment-method.ea1788f7.js.map → payment-method.26fa5509.js.map} +1 -1
  168. package/dist/chunks/{tooltip.10210728.js → tooltip.e29f7d7e.js} +3 -3
  169. package/dist/chunks/{tooltip.10210728.js.map → tooltip.e29f7d7e.js.map} +1 -1
  170. package/dist/chunks/{use-bento-toast-controller.3275a505.js → use-bento-toast-controller.98ca249a.js} +2 -2
  171. package/dist/chunks/{use-bento-toast-controller.3275a505.js.map → use-bento-toast-controller.98ca249a.js.map} +1 -1
  172. package/dist/chunks/use-cached-selected-values.a9b0fb3d.js +1537 -0
  173. package/dist/chunks/use-cached-selected-values.a9b0fb3d.js.map +1 -0
  174. package/dist/code-snippet.js +7 -7
  175. package/dist/code-snippet.js.map +1 -1
  176. package/dist/country.js +2 -2
  177. package/dist/currency.js +1 -1
  178. package/dist/data-grid-template.js +1 -1
  179. package/dist/data-grid.js +1237 -1210
  180. package/dist/data-grid.js.map +1 -1
  181. package/dist/date-picker.js +19 -19
  182. package/dist/date-picker.js.map +1 -1
  183. package/dist/date-range-picker.js +2 -2
  184. package/dist/date.js +1 -1
  185. package/dist/divider.js +1 -1
  186. package/dist/dropdown.js +7 -7
  187. package/dist/empty-state.js +3 -3
  188. package/dist/filter-bar.js +1260 -1108
  189. package/dist/filter-bar.js.map +1 -1
  190. package/dist/focus-trap.js +1 -1
  191. package/dist/form-layout.js +2 -2
  192. package/dist/header.js +4 -4
  193. package/dist/index.js +141 -133
  194. package/dist/index.js.map +1 -1
  195. package/dist/info-icon.js +3 -3
  196. package/dist/input-field.js +50 -48
  197. package/dist/input-field.js.map +1 -1
  198. package/dist/internal.js +31 -78
  199. package/dist/internal.js.map +1 -1
  200. package/dist/link.js +1 -1
  201. package/dist/loading-indicator.js +1 -1
  202. package/dist/menu.js +1 -1
  203. package/dist/modal-fullscreen.js +6 -6
  204. package/dist/modal.js +6 -6
  205. package/dist/pagination.js +4 -4
  206. package/dist/payment-method.js +1 -1
  207. package/dist/popover.js +1 -1
  208. package/dist/popper-container.js +1 -1
  209. package/dist/radio-group.js +112 -112
  210. package/dist/radio-group.js.map +1 -1
  211. package/dist/search-bar.js +2 -2
  212. package/dist/secondary-nav.js +2 -2
  213. package/dist/segmented-control.js +3 -3
  214. package/dist/selection-card.js +4 -4
  215. package/dist/sidepanel.js +64 -62
  216. package/dist/sidepanel.js.map +1 -1
  217. package/dist/status.js +2 -2
  218. package/dist/stepper.js +3 -3
  219. package/dist/structured-list.js +1 -1
  220. package/dist/summary-grid.js +3 -3
  221. package/dist/tabs.js +3 -3
  222. package/dist/tag.js +3 -3
  223. package/dist/textarea.js +4 -4
  224. package/dist/timeline.js +7 -7
  225. package/dist/toast.js +4 -4
  226. package/dist/toggle.js +2 -2
  227. package/dist/tutorial.js +6 -6
  228. package/dist/typography.js +1 -1
  229. package/dist/web-types.json +1 -1
  230. package/package.json +7 -3
  231. package/dist/chunks/dialog-page.2c07d294.js +0 -172
  232. package/dist/chunks/dialog-page.2c07d294.js.map +0 -1
  233. package/dist/chunks/dropdown.170b43c4.js.map +0 -1
  234. package/dist/chunks/index.1b1646bf.js.map +0 -1
  235. package/dist/chunks/listbox.b6a1aea2.js +0 -1466
  236. package/dist/chunks/listbox.b6a1aea2.js.map +0 -1
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as K, useSlots as Q, computed as n, inject as ae, ref as S, openBlock as r, createElementBlock as w, normalizeClass as y, unref as a, createElementVNode as V, renderSlot as p, createCommentVNode as m, withModifiers as te, createBlock as i, withCtx as s, createTextVNode as O, toDisplayString as T, createVNode as le, watch as oe, provide as ne, Fragment as re, renderList as de, mergeProps as ie, createSlots as se, normalizeProps as q, guardReactiveProps as M } from "vue";
2
- import { B as _ } from "./chunks/index.51fe0fc2.js";
2
+ import { B as _ } from "./chunks/index.11b6dd35.js";
3
3
  import { u as ce } from "./chunks/aria-label.ac9651a5.js";
4
4
  import { g as G } from "./chunks/unique-id.a2a2b458.js";
5
5
  import { u as ue } from "./chunks/use-has-slot.4d98bf29.js";
6
6
  import { a as ye } from "./chunks/radio-input.1dd15424.js";
7
7
  import { a as be } from "./chunks/checkbox-input.99336948.js";
8
8
  import { _ as W } from "./chunks/_plugin-vue_export-helper.dad06003.js";
9
- import { C as fe } from "./chunks/controls-group.2b31233c.js";
10
- import { E as me } from "./chunks/error-message.4678cbdc.js";
11
- import "./assets/index21.css";
9
+ import { C as fe } from "./chunks/controls-group.37a67734.js";
10
+ import { E as me } from "./chunks/error-message.4bd22112.js";
11
+ import "./assets/index41.css";
12
12
  var x = /* @__PURE__ */ ((e) => (e.DISABLED = "disabled", e.READONLY = "readonly", e.ERROR = "error", e))(x || {});
13
13
  const X = Symbol("selection card radio input injection key"), pe = {
14
14
  key: 0,
package/dist/sidepanel.js CHANGED
@@ -1,17 +1,17 @@
1
- import { defineComponent as D, openBlock as E, createBlock as x, unref as a, createSlots as U, withCtx as n, createElementVNode as g, createVNode as c, createTextVNode as $, toDisplayString as K, renderSlot as S, toRefs as R, ref as l, computed as F, watch as J, nextTick as Y, provide as m, createElementBlock as b, normalizeClass as M, withKeys as z, withModifiers as j, createCommentVNode as q } from "vue";
2
- import { B as C } from "./chunks/index.51fe0fc2.js";
3
- import { F as H } from "./chunks/footer-actions.2efe610e.js";
4
- import { D as Q, B as W, b as X, a as Z } from "./chunks/dialog-page.2c07d294.js";
5
- import { _ as T } from "./chunks/_plugin-vue_export-helper.dad06003.js";
6
- import { a as ee } from "./chunks/button.ce5d1f5e.js";
7
- import { B as te } from "./chunks/index.44f2aca7.js";
8
- import { C as ae } from "./chunks/cross.26509efc.js";
9
- import { S as se } from "./chunks/sidepanel.keys.1ed8a57c.js";
1
+ import { defineComponent as S, openBlock as E, createBlock as U, unref as a, createSlots as $, withCtx as n, createElementVNode as g, createVNode as d, createTextVNode as K, toDisplayString as R, renderSlot as T, toRefs as F, ref as i, computed as J, watch as Y, nextTick as M, provide as m, createElementBlock as C, normalizeClass as z, withKeys as j, withModifiers as q, createCommentVNode as H } from "vue";
2
+ import { B as D } from "./chunks/index.11b6dd35.js";
3
+ import { F as Q } from "./chunks/footer-actions.c401ec50.js";
4
+ import { D as W, B as X, b as Z, a as ee } from "./chunks/dialog-page.cd8c7fff.js";
5
+ import { _ as h } from "./chunks/_plugin-vue_export-helper.dad06003.js";
6
+ import { a as te } from "./chunks/button.de5589fa.js";
7
+ import { B as ae } from "./chunks/index.ea65003b.js";
8
+ import { C as se } from "./chunks/cross.26509efc.js";
9
+ import { S as ie } from "./chunks/sidepanel.keys.1ed8a57c.js";
10
10
  import { u as ne } from "./chunks/i18n.f7e6533e.js";
11
- import { g as ie } from "./chunks/unique-id.a2a2b458.js";
12
- import "./assets/index22.css";
13
- const oe = { class: "b-sidepanel-page__header" }, le = { class: "b-sidepanel-page__content" }, ce = { class: "b-sidepanel-page__actions" }, de = {}, re = /* @__PURE__ */ D({
14
- ...de,
11
+ import { g as oe } from "./chunks/unique-id.a2a2b458.js";
12
+ import "./assets/index42.css";
13
+ const le = { class: "b-sidepanel-page__header" }, de = { class: "b-sidepanel-page__content" }, ce = { class: "b-sidepanel-page__actions" }, re = {}, ue = /* @__PURE__ */ S({
14
+ ...re,
15
15
  __name: "sidepanel-page",
16
16
  props: {
17
17
  /**
@@ -73,33 +73,33 @@ const oe = { class: "b-sidepanel-page__header" }, le = { class: "b-sidepanel-pag
73
73
  }
74
74
  },
75
75
  setup(e) {
76
- return (d, A) => (E(), x(a(Q), {
76
+ return (c, A) => (E(), U(a(W), {
77
77
  class: "b-sidepanel-page",
78
78
  "page-id": e.pageId,
79
79
  "previous-page": e.previousPage
80
- }, U({
80
+ }, $({
81
81
  header: n(() => [
82
- g("div", oe, [
83
- c(a(C), {
82
+ g("div", le, [
83
+ d(a(D), {
84
84
  class: "b-sidepanel-page__title",
85
85
  el: "h2",
86
86
  variant: "title"
87
87
  }, {
88
88
  default: n(() => [
89
- $(K(e.title), 1)
89
+ K(R(e.title), 1)
90
90
  ]),
91
91
  _: 1
92
92
  })
93
93
  ])
94
94
  ]),
95
95
  content: n(() => [
96
- g("div", le, [
97
- c(a(C), {
96
+ g("div", de, [
97
+ d(a(D), {
98
98
  el: "div",
99
99
  variant: "body"
100
100
  }, {
101
101
  default: n(() => [
102
- S(d.$slots, "default", {}, void 0, !0)
102
+ T(c.$slots, "default", {}, void 0, !0)
103
103
  ]),
104
104
  _: 3
105
105
  })
@@ -111,7 +111,7 @@ const oe = { class: "b-sidepanel-page__header" }, le = { class: "b-sidepanel-pag
111
111
  name: "footer",
112
112
  fn: n(() => [
113
113
  g("div", ce, [
114
- c(a(H), {
114
+ d(a(Q), {
115
115
  actions: e.actions,
116
116
  "actions-label": e.actionsLabel,
117
117
  "destructive-actions": e.destructiveActions
@@ -123,19 +123,19 @@ const oe = { class: "b-sidepanel-page__header" }, le = { class: "b-sidepanel-pag
123
123
  ]), 1032, ["page-id", "previous-page"]));
124
124
  }
125
125
  });
126
- const Se = /* @__PURE__ */ T(re, [["__scopeId", "data-v-b0fa716c"]]);
126
+ const Te = /* @__PURE__ */ h(ue, [["__scopeId", "data-v-b0fa716c"]]);
127
127
  var f = /* @__PURE__ */ ((e) => (e.UPDATE_ACTIVE_PAGE = "update:active-page", e.UPDATE_IS_OPEN = "update:is-open", e))(f || {});
128
- const h = {
128
+ const N = {
129
129
  "en-US": {
130
130
  close: "Close"
131
131
  }
132
- }, ue = ["id"], pe = {
132
+ }, pe = ["id"], _e = {
133
133
  key: 0,
134
134
  class: "b-sidepanel__close-button"
135
- }, _e = {
136
- i18n: { messages: h }
137
- }, fe = /* @__PURE__ */ D({
138
- ..._e,
135
+ }, fe = {
136
+ i18n: { messages: N }
137
+ }, ve = /* @__PURE__ */ S({
138
+ ...fe,
139
139
  __name: "sidepanel",
140
140
  props: {
141
141
  /**
@@ -162,69 +162,71 @@ const h = {
162
162
  default: null
163
163
  }
164
164
  },
165
- setup(e, { emit: d }) {
166
- const A = e, { activePage: P, isOpen: I } = R(A), { t: N } = ne({ messages: h }), i = l(null), r = l([]), o = l([]), O = l(W.TRANSITION_LEVEL_DEEPER), u = l(!1), y = ie("sidepanel"), v = l(!1), B = F(() => ({
167
- "b-sidepanel--hide": u.value
168
- })), G = () => {
169
- u.value && (i.value.close(), o.value[0] && d(f.UPDATE_ACTIVE_PAGE, o.value[0]), o.value = [], u.value = !1, v.value = !1, d(f.UPDATE_IS_OPEN, !1));
165
+ setup(e, { emit: c }) {
166
+ const A = e, { activePage: P, isOpen: I } = F(A), { t: O } = ne({ messages: N }), o = i(null), r = i([]), l = i([]), B = i(X.TRANSITION_LEVEL_DEEPER), u = i(!1), b = oe("sidepanel"), v = i(!1), y = i(!1), G = J(() => ({
167
+ "b-sidepanel--hide": u.value,
168
+ "b-sidepanel--animation": y.value
169
+ })), k = () => {
170
+ u.value && (o.value.close(), l.value[0] && c(f.UPDATE_ACTIVE_PAGE, l.value[0]), l.value = [], u.value = !1, v.value = !1, c(f.UPDATE_IS_OPEN, !1));
170
171
  }, p = () => {
171
- i.value.open && (u.value = !0);
172
- }, k = ({ target: t }) => {
172
+ o.value.open && (u.value = !0);
173
+ }, L = ({ target: t }) => {
173
174
  t && t.tagName === "DIALOG" && p();
174
175
  };
175
- J(
176
+ Y(
176
177
  () => I.value,
177
178
  async () => {
178
- await Y(), i.value && (I.value ? (v.value = !0, i.value.showModal(), o.value.length || o.value.push(P.value)) : i.value.open && p());
179
+ await M(), o.value && (I.value ? (v.value = !0, o.value.showModal(), l.value.length || l.value.push(P.value)) : o.value.open && p());
179
180
  },
180
181
  { immediate: !0 }
181
182
  );
182
- const L = (t) => d(f.UPDATE_ACTIVE_PAGE, t), V = (t) => () => {
183
+ const V = (t) => c(f.UPDATE_ACTIVE_PAGE, t), w = (t) => () => {
183
184
  var s;
184
185
  r.value = (s = r.value) == null ? void 0 : s.filter((_) => _ !== t);
185
- }, w = (t) => (r.value.push(t), { unregisterPage: V(t) });
186
- return m(X, {
186
+ }, x = (t) => (r.value.push(t), { unregisterPage: w(t) });
187
+ return m(Z, {
187
188
  activePage: P,
188
- animation: O,
189
+ animation: B,
190
+ isAnimationActive: y,
189
191
  isOpen: v,
190
192
  pages: r,
191
- previousPages: o,
192
- updatePage: L
193
- }), m(Z, w), m(se, y), (t, s) => (E(), b("dialog", {
194
- id: a(y),
193
+ previousPages: l,
194
+ updatePage: V
195
+ }), m(ee, x), m(ie, b), (t, s) => (E(), C("dialog", {
196
+ id: a(b),
195
197
  ref_key: "sidepanel",
196
- ref: i,
197
- class: M(["b-sidepanel", a(B)]),
198
- onAnimationend: G,
199
- onClick: s[0] || (s[0] = (_) => e.isDismissible && k(_)),
200
- onKeydown: s[1] || (s[1] = z(j((_) => e.isDismissible && p, ["prevent"]), ["esc"]))
198
+ ref: o,
199
+ class: z(["b-sidepanel", a(G)]),
200
+ onAnimationend: k,
201
+ onClick: s[0] || (s[0] = (_) => e.isDismissible && L(_)),
202
+ onKeydown: s[1] || (s[1] = j(q((_) => e.isDismissible && p, ["prevent"]), ["esc"]))
201
203
  }, [
202
- c(a(te), null, {
204
+ d(a(ae), null, {
203
205
  default: n(() => [
204
- e.isDismissible ? (E(), b("div", pe, [
205
- c(a(ee), {
206
+ e.isDismissible ? (E(), C("div", _e, [
207
+ d(a(te), {
206
208
  variant: "tertiary",
207
209
  onClick: p
208
210
  }, {
209
211
  default: n(() => [
210
- c(a(ae), {
211
- "svg-title": a(N)("close")
212
+ d(a(se), {
213
+ "svg-title": a(O)("close")
212
214
  }, null, 8, ["svg-title"])
213
215
  ]),
214
216
  _: 1
215
217
  })
216
- ])) : q("", !0),
217
- S(t.$slots, "default", {}, void 0, !0)
218
+ ])) : H("", !0),
219
+ T(t.$slots, "default", {}, void 0, !0)
218
220
  ]),
219
221
  _: 3
220
222
  })
221
- ], 42, ue));
223
+ ], 42, pe));
222
224
  }
223
225
  });
224
- const Te = /* @__PURE__ */ T(fe, [["__scopeId", "data-v-ceaa1f4d"]]);
226
+ const he = /* @__PURE__ */ h(ve, [["__scopeId", "data-v-2df3d3b5"]]);
225
227
  export {
226
- Te as BentoSidepanel,
228
+ he as BentoSidepanel,
227
229
  f as BentoSidepanelEvent,
228
- Se as BentoSidepanelPage
230
+ Te as BentoSidepanelPage
229
231
  };
230
232
  //# sourceMappingURL=sidepanel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"sidepanel.js","sources":["../../vue2/src/components/sidepanel/components/sidepanel-page.vue","../../vue2/src/components/sidepanel/sidepanel.types.ts","../../vue2/src/components/sidepanel/sidepanel.vue"],"sourcesContent":["<template>\n <dialog-page class=\"b-sidepanel-page\" :page-id=\"pageId\" :previous-page=\"previousPage\">\n <template #header>\n <div class=\"b-sidepanel-page__header\">\n <bento-typography class=\"b-sidepanel-page__title\" el=\"h2\" variant=\"title\">\n {{ title }}\n </bento-typography>\n </div>\n </template>\n <template #content>\n <div class=\"b-sidepanel-page__content\">\n <bento-typography el=\"div\" variant=\"body\">\n <slot />\n </bento-typography>\n </div>\n </template>\n <template v-if=\"actions && actions.length > 0\" #footer>\n <div class=\"b-sidepanel-page__actions\">\n <footer-actions\n :actions=\"actions\"\n :actions-label=\"actionsLabel\"\n :destructive-actions=\"destructiveActions\"\n />\n </div>\n </template>\n </dialog-page>\n</template>\n\n<script setup lang=\"ts\">\n import { PropType } from 'vue';\n\n import { BentoButtonActionsList } from '@/components/button';\n import { BentoTypography } from '@/components/typography';\n import { FooterActions } from '@/components/internal/footer-actions';\n import { DialogPage } from '@/internal';\n\n defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n *\n * ```\n * [{\n * title: 'Primary',\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * Text label that is displayed left to the action buttons\n */\n actionsLabel: {\n type: String,\n default: null,\n },\n\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Identifier of the page, used with activePage prop to handle sidepanel navigation\n */\n pageId: {\n type: String,\n default: undefined,\n },\n\n /**\n * ID of the page for the back button to navigate to. Only use it to overwrite the default back behavior\n * Used when the back button should not take the user to the natural previous page\n * Set to `null` to hide back button in the page\n */\n previousPage: {\n type: String,\n default: undefined,\n },\n\n /**\n * Title of the sidepanel page\n */\n title: {\n type: String,\n default: null,\n },\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * SidepanelPage is used to render different pages of Sidepanel component\n *\n * @example\n * import { BentoSidepanel, BentoSidepanelPage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSidepanel, BentoSidepanelPage },\n * template: `\n * <bento-sidepanel active-page='step1' is-open='true'>\n * <bento-sidepanel-page\n * title='Step 1'\n * pageId='step1'\n * :actions=\"[\n * {\n * title: 'Next step',\n * event: () => {\n * activePage.value = 'step2';\n * },\n * }]\">\n * Step 1 info\n * </bento-sidepanel-page>\n * <bento-sidepanel-page\n * title='Step 2'\n * pageId='step2'\n * :actions=\"[\n * {\n * title: 'Save',\n * event: () => {},\n * }]\">\n * Step 2 info\n * </bento-sidepanel-page>\n * </bento-sidepanel>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./sidepanel-page.scss\" />\n","export enum BentoSidepanelEvent {\n UPDATE_ACTIVE_PAGE = 'update:active-page',\n UPDATE_IS_OPEN = 'update:is-open',\n}\n","<template>\n <dialog\n :id=\"sidepanelId\"\n ref=\"sidepanel\"\n class=\"b-sidepanel\"\n :class=\"conditionalClasses\"\n @animationend=\"closeSidepanelAfterAnimation\"\n @click=\"isDismissible && closeSidepanelOnClickOutside($event)\"\n @keydown.esc.prevent=\"isDismissible && startCloseSidepanelAnimation\"\n >\n <bento-focus-trap>\n <div v-if=\"isDismissible\" class=\"b-sidepanel__close-button\">\n <bento-button variant=\"tertiary\" @click=\"startCloseSidepanelAnimation\">\n <cross-icon :svg-title=\"t('close')\" />\n </bento-button>\n </div>\n <slot />\n </bento-focus-trap>\n </dialog>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, provide, ref, toRefs, watch } from 'vue';\n\n import { BentoButton } from '@/components/button';\n import { BentoFocusTrap } from '@/components/focus-trap';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { BentoSidepanelEvent } from './sidepanel.types';\n import {\n BentoDialogPageAnimation,\n BentoDialogPageConfigData,\n BentoDialogPageRegisterPage,\n DIALOG_PAGE_CONFIG_INJECTION_KEY,\n DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY,\n } from '@/internal';\n\n import { SIDEPANEL_DIALOG_ID_INJECTION_KEY } from './sidepanel.keys';\n\n import { useI18n } from '@/utils/ts/i18n';\n\n import messages from './messages.json';\n import { generateUid } from '@/utils/ts/unique-id';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = defineProps({\n /**\n * The id of the current active page\n * Should be the same id as the BentoSidepanelPage to be displayed\n * If the component only has one page, it can be left null/undefined.\n */\n activePage: {\n type: String,\n default: null,\n },\n\n /**\n * If set to true, it allows the sidepanel to be closed\n */\n isDismissible: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Controls the sidepanel's state from the outside. Set it to true to open the sidepanel\n */\n isOpen: {\n type: Boolean,\n default: null,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emits update event when page is changed internally\n */\n (e: BentoSidepanelEvent.UPDATE_ACTIVE_PAGE, page: string): void;\n /**\n * Emits close-sidepanel event when the sidepanel is closed\n */\n (e: BentoSidepanelEvent.UPDATE_IS_OPEN, isOpen: boolean): void;\n }>();\n\n // Refs\n const { activePage, isOpen } = toRefs(props);\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const sidepanel = ref(null);\n const pages = ref<string[]>([]);\n const previousPages = ref([]);\n const animation = ref(BentoDialogPageAnimation.TRANSITION_LEVEL_DEEPER);\n const isClosing = ref(false);\n const sidepanelId = generateUid('sidepanel');\n const internalIsOpen = ref(false);\n\n // Animation styling\n const conditionalClasses = computed(() => ({\n 'b-sidepanel--hide': isClosing.value,\n }));\n\n // Handle closing and closing animation for dialog element\n const closeSidepanelAfterAnimation = () => {\n if (isClosing.value) {\n sidepanel.value.close();\n if (previousPages.value[0]) {\n emit(BentoSidepanelEvent.UPDATE_ACTIVE_PAGE, previousPages.value[0]);\n }\n previousPages.value = [];\n isClosing.value = false;\n internalIsOpen.value = false;\n emit(BentoSidepanelEvent.UPDATE_IS_OPEN, false);\n }\n };\n\n const startCloseSidepanelAnimation = () => {\n if (!sidepanel.value.open) {\n return;\n }\n isClosing.value = true;\n };\n\n /**\n * Since the dialog HTML element doesn't automatically close when clicking outside, a check on when the user is clicking is needed.\n * If the click doesn't happen in the dialog box itself, the modal closes\n */\n const closeSidepanelOnClickOutside = ({ target }: Event): void => {\n if (target && (target as HTMLElement).tagName === 'DIALOG') {\n startCloseSidepanelAnimation();\n }\n };\n\n // Watching isOpen prop to toggle open/close the dialog element\n watch(\n () => isOpen.value,\n async () => {\n // Wait for sidepanel ref to be created\n await nextTick();\n\n if (!sidepanel.value) {\n return;\n }\n\n if (isOpen.value) {\n internalIsOpen.value = true;\n sidepanel.value.showModal();\n if (!previousPages.value.length) {\n previousPages.value.push(activePage.value);\n }\n } else if (sidepanel.value.open) {\n startCloseSidepanelAnimation();\n }\n },\n { immediate: true }\n );\n\n // Pages\n const updatePage = page => emit(BentoSidepanelEvent.UPDATE_ACTIVE_PAGE, page);\n\n // unregister page if removed / destroyed\n const unregisterPage = (pageIdToRemove: string) => () => {\n pages.value = pages.value?.filter(pageId => pageId !== pageIdToRemove);\n };\n\n // Provide data and function to register page to subcomponent\n const registerPage: BentoDialogPageRegisterPage = pageId => {\n pages.value.push(pageId);\n\n return { unregisterPage: unregisterPage(pageId) };\n };\n\n provide<BentoDialogPageConfigData>(DIALOG_PAGE_CONFIG_INJECTION_KEY, {\n activePage,\n animation,\n isOpen: internalIsOpen,\n pages,\n previousPages,\n updatePage,\n });\n provide(DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY, registerPage);\n\n // Let's Children components know they are inside a SidePanel (dialog element)\n provide(SIDEPANEL_DIALOG_ID_INJECTION_KEY, sidepanelId);\n</script>\n\n<script lang=\"ts\">\n /**\n * Sidepanel component is a slide-in panel that should be used for presenting actions, settings or features that are directly associated with a specific task or interaction on the main screen.\n *\n * @example\n * import { BentoSidepanel, BentoSidepanelPage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSidepanel, BentoSidepanelPage },\n * template: `\n * <bento-sidepanel active-page='step1' is-open='true'>\n * <bento-sidepanel-page\n * title='Step 1'\n * pageId='step1'\n * :actions=\"[\n * {\n * title: 'Next step',\n * event: () => {\n * activePage.value = 'step2';\n * },\n * }]\">\n * Step 1 info\n * </bento-sidepanel-page>\n * <bento-sidepanel-page\n * title='Step 2'\n * pageId='step2'\n * :actions=\"[\n * {\n * title: 'Save',\n * event: () => {},\n * }]\">\n * Step 2 info\n * </bento-sidepanel-page>\n * </bento-sidepanel>\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n<style lang=\"scss\" scoped src=\"./sidepanel.scss\" />\n"],"names":["__default__$1","BentoSidepanelEvent","BentoSidepanelEvent2","__default__","messages","activePage","isOpen","toRefs","props","t","useI18n","sidepanel","ref","pages","previousPages","animation","BentoDialogPageAnimation","isClosing","sidepanelId","generateUid","internalIsOpen","conditionalClasses","computed","closeSidepanelAfterAnimation","emit","startCloseSidepanelAnimation","closeSidepanelOnClickOutside","target","watch","nextTick","updatePage","page","unregisterPage","pageIdToRemove","_a","pageId","registerPage","provide","DIALOG_PAGE_CONFIG_INJECTION_KEY","DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY","SIDEPANEL_DIALOG_ID_INJECTION_KEY"],"mappings":";;;;;;;;;;;;4IA2IIA,KAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC3IQ,IAAAC,IAAA,kBAAAC,OACRA,EAAA,qBAAA,sBACAA,EAAA,iBAAA,kBAFQA,IAAAD,KAAA,CAAA,CAAA;;;;;;;;GC8NRE,KAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA1IA,EAAA,YAAAC,GAAA,QAAAC,EAAA,IAAAC,EAAAC,CAAA,GACA,EAAA,GAAAC,EAAA,IAAAC,GAAA,EAAA,UAAAN,EAAA,CAAA,GACAO,IAAAC,EAAA,IAAA,GACAC,IAAAD,EAAA,CAAA,CAAA,GACAE,IAAAF,EAAA,CAAA,CAAA,GACAG,IAAAH,EAAAI,EAAA,uBAAA,GACAC,IAAAL,EAAA,EAAA,GACAM,IAAAC,GAAA,WAAA,GACAC,IAAAR,EAAA,EAAA,GAGAS,IAAAC,EAAA,OAAA;AAAA,MAA2C,qBAAAL,EAAA;AAAA,IACR,EAAA,GAInCM,IAAA,MAAA;AACI,MAAAN,EAAA,UACIN,EAAA,MAAA,MAAA,GACAG,EAAA,MAAA,CAAA,KACIU,EAAAvB,EAAA,oBAAAa,EAAA,MAAA,CAAA,CAAA,GAEJA,EAAA,QAAA,CAAA,GACAG,EAAA,QAAA,IACAG,EAAA,QAAA,IACAI,EAAAvB,EAAA,gBAAA,EAAA;AAAA,IACJ,GAGJwB,IAAA,MAAA;AACI,MAAAd,EAAA,MAAA,SAGAM,EAAA,QAAA;AAAA,IAAkB,GAOtBS,IAAA,CAAA,EAAA,QAAAC,EAAA,MAAA;AACI,MAAAA,KAAAA,EAAA,YAAA,YACIF,EAAA;AAAA,IACJ;AAIJ,IAAAG;AAAA,MAAA,MAAAtB,EAAA;AAAA,MACiB,YAAA;AAKT,QAFA,MAAAuB,EAAA,GAEAlB,EAAA,UAIAL,EAAA,SACIc,EAAA,QAAA,IACAT,EAAA,MAAA,UAAA,GACAG,EAAA,MAAA,UACIA,EAAA,MAAA,KAAAT,EAAA,KAAA,KACJM,EAAA,MAAA,QAEAc,EAAA;AAAA,MACJ;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB;AAItB,UAAAK,IAAA,CAAAC,MAAAP,EAAAvB,EAAA,oBAAA8B,CAAA,GAGAC,IAAA,CAAAC,MAAA,MAAA;;AACI,MAAApB,EAAA,SAAAqB,IAAArB,EAAA,UAAA,gBAAAqB,EAAA,OAAA,CAAAC,MAAAA,MAAAF;AAAA,IAAqE,GAIzEG,IAAA,CAAAD,OACItB,EAAA,MAAA,KAAAsB,CAAA,GAEA,EAAA,gBAAAH,EAAAG,CAAA,EAAA;AAGJ,WAAAE,EAAAC,GAAA;AAAA,MAAqE,YAAAjC;AAAA,MACjE,WAAAU;AAAA,MACA,QAAAK;AAAA,MACQ,OAAAP;AAAA,MACR,eAAAC;AAAA,MACA,YAAAgB;AAAA,IACA,CAAA,GAEJO,EAAAE,GAAAH,CAAA,GAGAC,EAAAG,IAAAtB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"sidepanel.js","sources":["../../vue2/src/components/sidepanel/components/sidepanel-page.vue","../../vue2/src/components/sidepanel/sidepanel.types.ts","../../vue2/src/components/sidepanel/sidepanel.vue"],"sourcesContent":["<template>\n <dialog-page class=\"b-sidepanel-page\" :page-id=\"pageId\" :previous-page=\"previousPage\">\n <template #header>\n <div class=\"b-sidepanel-page__header\">\n <bento-typography class=\"b-sidepanel-page__title\" el=\"h2\" variant=\"title\">\n {{ title }}\n </bento-typography>\n </div>\n </template>\n <template #content>\n <div class=\"b-sidepanel-page__content\">\n <bento-typography el=\"div\" variant=\"body\">\n <slot />\n </bento-typography>\n </div>\n </template>\n <template v-if=\"actions && actions.length > 0\" #footer>\n <div class=\"b-sidepanel-page__actions\">\n <footer-actions\n :actions=\"actions\"\n :actions-label=\"actionsLabel\"\n :destructive-actions=\"destructiveActions\"\n />\n </div>\n </template>\n </dialog-page>\n</template>\n\n<script setup lang=\"ts\">\n import { PropType } from 'vue';\n\n import { BentoButtonActionsList } from '@/components/button';\n import { BentoTypography } from '@/components/typography';\n import { FooterActions } from '@/components/internal/footer-actions';\n import { DialogPage } from '@/internal';\n\n defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n *\n * ```\n * [{\n * title: 'Primary',\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * Text label that is displayed left to the action buttons\n */\n actionsLabel: {\n type: String,\n default: null,\n },\n\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Identifier of the page, used with activePage prop to handle sidepanel navigation\n */\n pageId: {\n type: String,\n default: undefined,\n },\n\n /**\n * ID of the page for the back button to navigate to. Only use it to overwrite the default back behavior\n * Used when the back button should not take the user to the natural previous page\n * Set to `null` to hide back button in the page\n */\n previousPage: {\n type: String,\n default: undefined,\n },\n\n /**\n * Title of the sidepanel page\n */\n title: {\n type: String,\n default: null,\n },\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * SidepanelPage is used to render different pages of Sidepanel component\n *\n * @example\n * import { BentoSidepanel, BentoSidepanelPage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSidepanel, BentoSidepanelPage },\n * template: `\n * <bento-sidepanel active-page='step1' is-open='true'>\n * <bento-sidepanel-page\n * title='Step 1'\n * pageId='step1'\n * :actions=\"[\n * {\n * title: 'Next step',\n * event: () => {\n * activePage.value = 'step2';\n * },\n * }]\">\n * Step 1 info\n * </bento-sidepanel-page>\n * <bento-sidepanel-page\n * title='Step 2'\n * pageId='step2'\n * :actions=\"[\n * {\n * title: 'Save',\n * event: () => {},\n * }]\">\n * Step 2 info\n * </bento-sidepanel-page>\n * </bento-sidepanel>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./sidepanel-page.scss\" />\n","export enum BentoSidepanelEvent {\n UPDATE_ACTIVE_PAGE = 'update:active-page',\n UPDATE_IS_OPEN = 'update:is-open',\n}\n","<template>\n <dialog\n :id=\"sidepanelId\"\n ref=\"sidepanel\"\n class=\"b-sidepanel\"\n :class=\"conditionalClasses\"\n @animationend=\"closeSidepanelAfterAnimation\"\n @click=\"isDismissible && closeSidepanelOnClickOutside($event)\"\n @keydown.esc.prevent=\"isDismissible && startCloseSidepanelAnimation\"\n >\n <bento-focus-trap>\n <div v-if=\"isDismissible\" class=\"b-sidepanel__close-button\">\n <bento-button variant=\"tertiary\" @click=\"startCloseSidepanelAnimation\">\n <cross-icon :svg-title=\"t('close')\" />\n </bento-button>\n </div>\n <slot />\n </bento-focus-trap>\n </dialog>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, provide, ref, toRefs, watch } from 'vue';\n\n import { BentoButton } from '@/components/button';\n import { BentoFocusTrap } from '@/components/focus-trap';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { BentoSidepanelEvent } from './sidepanel.types';\n import {\n BentoDialogPageAnimation,\n BentoDialogPageConfigData,\n BentoDialogPageRegisterPage,\n DIALOG_PAGE_CONFIG_INJECTION_KEY,\n DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY,\n } from '@/internal';\n\n import { SIDEPANEL_DIALOG_ID_INJECTION_KEY } from './sidepanel.keys';\n\n import { useI18n } from '@/utils/ts/i18n';\n\n import messages from './messages.json';\n import { generateUid } from '@/utils/ts/unique-id';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = defineProps({\n /**\n * The id of the current active page\n * Should be the same id as the BentoSidepanelPage to be displayed\n * If the component only has one page, it can be left null/undefined.\n */\n activePage: {\n type: String,\n default: null,\n },\n\n /**\n * If set to true, it allows the sidepanel to be closed\n */\n isDismissible: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Controls the sidepanel's state from the outside. Set it to true to open the sidepanel\n */\n isOpen: {\n type: Boolean,\n default: null,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emits update event when page is changed internally\n */\n (e: BentoSidepanelEvent.UPDATE_ACTIVE_PAGE, page: string): void;\n /**\n * Emits close-sidepanel event when the sidepanel is closed\n */\n (e: BentoSidepanelEvent.UPDATE_IS_OPEN, isOpen: boolean): void;\n }>();\n\n // Refs\n const { activePage, isOpen } = toRefs(props);\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const sidepanel = ref(null);\n const pages = ref<string[]>([]);\n const previousPages = ref([]);\n const animation = ref(BentoDialogPageAnimation.TRANSITION_LEVEL_DEEPER);\n const isClosing = ref(false);\n const sidepanelId = generateUid('sidepanel');\n const internalIsOpen = ref(false);\n const isAnimationActive = ref(false);\n\n // Animation styling\n const conditionalClasses = computed(() => ({\n 'b-sidepanel--hide': isClosing.value,\n 'b-sidepanel--animation': isAnimationActive.value,\n }));\n\n // Handle closing and closing animation for dialog element\n const closeSidepanelAfterAnimation = () => {\n if (isClosing.value) {\n sidepanel.value.close();\n if (previousPages.value[0]) {\n emit(BentoSidepanelEvent.UPDATE_ACTIVE_PAGE, previousPages.value[0]);\n }\n previousPages.value = [];\n isClosing.value = false;\n internalIsOpen.value = false;\n emit(BentoSidepanelEvent.UPDATE_IS_OPEN, false);\n }\n };\n\n const startCloseSidepanelAnimation = () => {\n if (!sidepanel.value.open) {\n return;\n }\n isClosing.value = true;\n };\n\n /**\n * Since the dialog HTML element doesn't automatically close when clicking outside, a check on when the user is clicking is needed.\n * If the click doesn't happen in the dialog box itself, the modal closes\n */\n const closeSidepanelOnClickOutside = ({ target }: Event): void => {\n if (target && (target as HTMLElement).tagName === 'DIALOG') {\n startCloseSidepanelAnimation();\n }\n };\n\n // Watching isOpen prop to toggle open/close the dialog element\n watch(\n () => isOpen.value,\n async () => {\n // Wait for sidepanel ref to be created\n await nextTick();\n\n if (!sidepanel.value) {\n return;\n }\n\n if (isOpen.value) {\n internalIsOpen.value = true;\n sidepanel.value.showModal();\n if (!previousPages.value.length) {\n previousPages.value.push(activePage.value);\n }\n } else if (sidepanel.value.open) {\n startCloseSidepanelAnimation();\n }\n },\n { immediate: true }\n );\n\n // Pages\n const updatePage = page => emit(BentoSidepanelEvent.UPDATE_ACTIVE_PAGE, page);\n\n // unregister page if removed / destroyed\n const unregisterPage = (pageIdToRemove: string) => () => {\n pages.value = pages.value?.filter(pageId => pageId !== pageIdToRemove);\n };\n\n // Provide data and function to register page to subcomponent\n const registerPage: BentoDialogPageRegisterPage = pageId => {\n pages.value.push(pageId);\n\n return { unregisterPage: unregisterPage(pageId) };\n };\n\n provide<BentoDialogPageConfigData>(DIALOG_PAGE_CONFIG_INJECTION_KEY, {\n activePage,\n animation,\n isAnimationActive,\n isOpen: internalIsOpen,\n pages,\n previousPages,\n updatePage,\n });\n provide(DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY, registerPage);\n\n // Let's Children components know they are inside a SidePanel (dialog element)\n provide(SIDEPANEL_DIALOG_ID_INJECTION_KEY, sidepanelId);\n</script>\n\n<script lang=\"ts\">\n /**\n * Sidepanel component is a slide-in panel that should be used for presenting actions, settings or features that are directly associated with a specific task or interaction on the main screen.\n *\n * @example\n * import { BentoSidepanel, BentoSidepanelPage } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSidepanel, BentoSidepanelPage },\n * template: `\n * <bento-sidepanel active-page='step1' is-open='true'>\n * <bento-sidepanel-page\n * title='Step 1'\n * pageId='step1'\n * :actions=\"[\n * {\n * title: 'Next step',\n * event: () => {\n * activePage.value = 'step2';\n * },\n * }]\">\n * Step 1 info\n * </bento-sidepanel-page>\n * <bento-sidepanel-page\n * title='Step 2'\n * pageId='step2'\n * :actions=\"[\n * {\n * title: 'Save',\n * event: () => {},\n * }]\">\n * Step 2 info\n * </bento-sidepanel-page>\n * </bento-sidepanel>\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n<style lang=\"scss\" scoped src=\"./sidepanel.scss\" />\n"],"names":["__default__$1","BentoSidepanelEvent","BentoSidepanelEvent2","__default__","messages","activePage","isOpen","toRefs","props","t","useI18n","sidepanel","ref","pages","previousPages","animation","BentoDialogPageAnimation","isClosing","sidepanelId","generateUid","internalIsOpen","isAnimationActive","conditionalClasses","computed","closeSidepanelAfterAnimation","emit","startCloseSidepanelAnimation","closeSidepanelOnClickOutside","target","watch","nextTick","updatePage","page","unregisterPage","pageIdToRemove","_a","pageId","registerPage","provide","DIALOG_PAGE_CONFIG_INJECTION_KEY","DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY","SIDEPANEL_DIALOG_ID_INJECTION_KEY"],"mappings":";;;;;;;;;;;;4IA2IIA,KAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC3IQ,IAAAC,IAAA,kBAAAC,OACRA,EAAA,qBAAA,sBACAA,EAAA,iBAAA,kBAFQA,IAAAD,KAAA,CAAA,CAAA;;;;;;;;GCiORE,KAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA7IA,EAAA,YAAAC,GAAA,QAAAC,EAAA,IAAAC,EAAAC,CAAA,GACA,EAAA,GAAAC,EAAA,IAAAC,GAAA,EAAA,UAAAN,EAAA,CAAA,GACAO,IAAAC,EAAA,IAAA,GACAC,IAAAD,EAAA,CAAA,CAAA,GACAE,IAAAF,EAAA,CAAA,CAAA,GACAG,IAAAH,EAAAI,EAAA,uBAAA,GACAC,IAAAL,EAAA,EAAA,GACAM,IAAAC,GAAA,WAAA,GACAC,IAAAR,EAAA,EAAA,GACAS,IAAAT,EAAA,EAAA,GAGAU,IAAAC,EAAA,OAAA;AAAA,MAA2C,qBAAAN,EAAA;AAAA,MACR,0BAAAI,EAAA;AAAA,IACa,EAAA,GAIhDG,IAAA,MAAA;AACI,MAAAP,EAAA,UACIN,EAAA,MAAA,MAAA,GACAG,EAAA,MAAA,CAAA,KACIW,EAAAxB,EAAA,oBAAAa,EAAA,MAAA,CAAA,CAAA,GAEJA,EAAA,QAAA,CAAA,GACAG,EAAA,QAAA,IACAG,EAAA,QAAA,IACAK,EAAAxB,EAAA,gBAAA,EAAA;AAAA,IACJ,GAGJyB,IAAA,MAAA;AACI,MAAAf,EAAA,MAAA,SAGAM,EAAA,QAAA;AAAA,IAAkB,GAOtBU,IAAA,CAAA,EAAA,QAAAC,EAAA,MAAA;AACI,MAAAA,KAAAA,EAAA,YAAA,YACIF,EAAA;AAAA,IACJ;AAIJ,IAAAG;AAAA,MAAA,MAAAvB,EAAA;AAAA,MACiB,YAAA;AAKT,QAFA,MAAAwB,EAAA,GAEAnB,EAAA,UAIAL,EAAA,SACIc,EAAA,QAAA,IACAT,EAAA,MAAA,UAAA,GACAG,EAAA,MAAA,UACIA,EAAA,MAAA,KAAAT,EAAA,KAAA,KACJM,EAAA,MAAA,QAEAe,EAAA;AAAA,MACJ;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB;AAItB,UAAAK,IAAA,CAAAC,MAAAP,EAAAxB,EAAA,oBAAA+B,CAAA,GAGAC,IAAA,CAAAC,MAAA,MAAA;;AACI,MAAArB,EAAA,SAAAsB,IAAAtB,EAAA,UAAA,gBAAAsB,EAAA,OAAA,CAAAC,MAAAA,MAAAF;AAAA,IAAqE,GAIzEG,IAAA,CAAAD,OACIvB,EAAA,MAAA,KAAAuB,CAAA,GAEA,EAAA,gBAAAH,EAAAG,CAAA,EAAA;AAGJ,WAAAE,EAAAC,GAAA;AAAA,MAAqE,YAAAlC;AAAA,MACjE,WAAAU;AAAA,MACA,mBAAAM;AAAA,MACA,QAAAD;AAAA,MACQ,OAAAP;AAAA,MACR,eAAAC;AAAA,MACA,YAAAiB;AAAA,IACA,CAAA,GAEJO,EAAAE,IAAAH,CAAA,GAGAC,EAAAG,IAAAvB,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
package/dist/status.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as n, computed as r, resolveComponent as a, openBlock as l, createElementBlock as c, createElementVNode as p, normalizeClass as _, createVNode as d, withCtx as i, renderSlot as u } from "vue";
2
- import { B as m } from "./chunks/index.51fe0fc2.js";
2
+ import { B as m } from "./chunks/index.11b6dd35.js";
3
3
  import { _ as b } from "./chunks/_plugin-vue_export-helper.dad06003.js";
4
- import "./assets/index30.css";
4
+ import "./assets/index45.css";
5
5
  var t = /* @__PURE__ */ ((e) => (e.BLUE = "blue", e.GREEN = "green", e.GREY = "grey", e.ORANGE = "orange", e.RED = "red", e.YELLOW = "yellow", e))(t || {});
6
6
  const y = n({
7
7
  name: "bento-status",
package/dist/stepper.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as Z, ref as v, computed as o, watch as $, provide as U, readonly as oe, openBlock as _, createElementBlock as S, withDirectives as M, mergeProps as j, unref as s, toHandlers as ae, renderSlot as w, createVNode as R, withCtx as C, createTextVNode as G, toDisplayString as H, createCommentVNode as le, createElementVNode as q, useSlots as re, inject as ue, onMounted as ie, onBeforeUnmount as pe, normalizeClass as ce, createBlock as F, Fragment as ve, vShow as de } from "vue";
2
- import { B as L } from "./chunks/index.51fe0fc2.js";
2
+ import { B as L } from "./chunks/index.11b6dd35.js";
3
3
  import { B as A, a as _e } from "./chunks/keyboard-navigation.ca47dfa8.js";
4
4
  import { u as me } from "./chunks/i18n.f7e6533e.js";
5
5
  import { _ as W } from "./chunks/_plugin-vue_export-helper.dad06003.js";
6
- import { B as be } from "./chunks/base-button.ab9c947e.js";
6
+ import { B as be } from "./chunks/base-button.6be8b60e.js";
7
7
  import { C as fe } from "./chunks/checkmark-small.c79220d9.js";
8
- import "./assets/index24.css";
8
+ import "./assets/index30.css";
9
9
  const Se = (t) => {
10
10
  function p(r) {
11
11
  return ({ detail: i }) => {
@@ -1,4 +1,4 @@
1
- import { B as r, a as o } from "./chunks/index.6987f880.js";
1
+ import { B as r, a as o } from "./chunks/index.38752f78.js";
2
2
  export {
3
3
  r as BentoStructuredList,
4
4
  o as BentoStructuredListItem
@@ -4,10 +4,10 @@ import { S as q } from "./chunks/summary-grid.keys.1d1028c2.js";
4
4
  import { G as U } from "./chunks/grid-layout.c2fe3057.js";
5
5
  import { _ } from "./chunks/_plugin-vue_export-helper.dad06003.js";
6
6
  import { BentoInfoIcon as Y } from "./info-icon.js";
7
- import { B as W, a as V } from "./chunks/index.51fe0fc2.js";
7
+ import { B as W, a as V } from "./chunks/index.11b6dd35.js";
8
8
  import { BentoTag as X, BentoTagVariant as L } from "./tag.js";
9
- import { C as F } from "./chunks/copy.9003ed59.js";
10
- import "./assets/index42.css";
9
+ import { C as F } from "./chunks/copy.43de2653.js";
10
+ import "./assets/index31.css";
11
11
  const H = S({
12
12
  name: "bento-summary-grid",
13
13
  components: { GridLayout: U },
package/dist/tabs.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as w, toRefs as x, ref as v, provide as m, computed as L, inject as h, onUnmounted as V, withDirectives as N, openBlock as _, createElementBlock as p, renderSlot as A, createCommentVNode as C, vShow as $, watch as X, nextTick as Y, resolveComponent as g, createVNode as y, withCtx as E, createElementVNode as f, Fragment as F, renderList as O, normalizeClass as G, withKeys as J, createTextVNode as U, toDisplayString as j } from "vue";
2
2
  import { E as q, T as B, a as K } from "./chunks/tabs.keys.358742f2.js";
3
3
  import { _ as D } from "./chunks/_plugin-vue_export-helper.dad06003.js";
4
- import { B as z } from "./chunks/index.51fe0fc2.js";
4
+ import { B as z } from "./chunks/index.11b6dd35.js";
5
5
  import { g as P } from "./chunks/unique-id.a2a2b458.js";
6
- import { F as H } from "./chunks/fixed-scroller.f09618f2.js";
7
- import "./assets/index25.css";
6
+ import { F as H } from "./chunks/fixed-scroller.5b93a6a6.js";
7
+ import "./assets/index46.css";
8
8
  const M = w({
9
9
  props: {
10
10
  /**
package/dist/tag.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { defineComponent as d, computed as o, resolveComponent as p, resolveDirective as m, withDirectives as _, openBlock as b, createElementBlock as v, normalizeClass as f, createVNode as g, withCtx as h, createTextVNode as y, toDisplayString as E } from "vue";
2
- import { B as C } from "./chunks/index.51fe0fc2.js";
3
- import { b as S } from "./chunks/tooltip.10210728.js";
2
+ import { B as C } from "./chunks/index.11b6dd35.js";
3
+ import { b as S } from "./chunks/tooltip.e29f7d7e.js";
4
4
  import { u as x } from "./chunks/aria-label.ac9651a5.js";
5
5
  import { g as c } from "./chunks/get-slot-text.bead058f.js";
6
6
  import { _ as $ } from "./chunks/_plugin-vue_export-helper.dad06003.js";
7
- import "./assets/index26.css";
7
+ import "./assets/index32.css";
8
8
  var n = /* @__PURE__ */ ((e) => (e.GREY = "grey", e.BLUE = "blue", e.GREEN = "green", e.ORANGE = "orange", e.RED = "red", e.WHITE = "white", e))(n || {});
9
9
  const w = d({
10
10
  name: "bento-tag",
package/dist/textarea.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { openBlock as i, createElementBlock as E, mergeProps as fe, toDisplayString as F, createCommentVNode as b, createElementVNode as C, defineComponent as ve, useAttrs as pe, toRefs as K, ref as f, toRef as he, computed as s, watch as N, nextTick as me, onMounted as ge, onUnmounted as ye, normalizeClass as L, unref as t, normalizeStyle as V, createBlock as m, withCtx as x, createTextVNode as z, createVNode as w, withKeys as H } from "vue";
2
- import { a as _e } from "./chunks/button.ce5d1f5e.js";
3
- import { B as O } from "./chunks/index.51fe0fc2.js";
2
+ import { a as _e } from "./chunks/button.de5589fa.js";
3
+ import { B as O } from "./chunks/index.11b6dd35.js";
4
4
  import { _ as G } from "./chunks/_plugin-vue_export-helper.dad06003.js";
5
5
  import { g as Le } from "./chunks/unique-id.a2a2b458.js";
6
6
  import { o as q } from "./chunks/resize.a041304d.js";
7
7
  import { u as xe } from "./chunks/aria-label.ac9651a5.js";
8
8
  import { u as Ce } from "./chunks/i18n.f7e6533e.js";
9
9
  import { u as Ee } from "./chunks/use-form-layout-loading.d03e5d48.js";
10
- import { F as Se, E as Y } from "./chunks/error-message.4678cbdc.js";
11
- import "./assets/index31.css";
10
+ import { F as Se, E as Y } from "./chunks/error-message.4bd22112.js";
11
+ import "./assets/index44.css";
12
12
  let Z = 0;
13
13
  const Ae = {
14
14
  beforeCreate() {
package/dist/timeline.js CHANGED
@@ -1,19 +1,19 @@
1
1
  import { defineComponent as ie, computed as d, ref as D, toRefs as _e, provide as q, resolveComponent as N, openBlock as i, createElementBlock as f, createBlock as S, withCtx as y, createTextVNode as T, toDisplayString as I, createCommentVNode as _, createVNode as w, createElementVNode as b, renderSlot as ne, mergeProps as z, inject as J, onUnmounted as fe, normalizeClass as P, Fragment as Y, renderList as pe, pushScopeId as ve, popScopeId as he } from "vue";
2
- import { a as oe } from "./chunks/button.ce5d1f5e.js";
2
+ import { a as oe } from "./chunks/button.de5589fa.js";
3
3
  import { BentoTextarea as be } from "./textarea.js";
4
4
  import { u as ae } from "./chunks/i18n.f7e6533e.js";
5
- import { B as ge } from "./chunks/button-actions.ea025810.js";
5
+ import { B as ge } from "./chunks/button-actions.adc0a2fe.js";
6
6
  import { _ as H } from "./chunks/_plugin-vue_export-helper.dad06003.js";
7
- import { B as ye } from "./chunks/index.c41d1bbb.js";
8
- import { B as Ie } from "./chunks/index.b772214b.js";
7
+ import { B as ye } from "./chunks/index.8682bd04.js";
8
+ import { B as Ie } from "./chunks/index.aa83aa48.js";
9
9
  import { BentoTag as Ne } from "./tag.js";
10
- import { B as Ee, d as Te } from "./chunks/index.51fe0fc2.js";
11
- import { B as we, a as Se, S as Ce } from "./chunks/index.6987f880.js";
10
+ import { B as Ee, d as Te } from "./chunks/index.11b6dd35.js";
11
+ import { B as we, a as Se, S as Ce } from "./chunks/index.38752f78.js";
12
12
  import { g as Me } from "./chunks/unique-id.a2a2b458.js";
13
13
  import { u as ke } from "./chunks/use-has-slot.4d98bf29.js";
14
14
  import { r as Le, e as Ae, t as B, g as W } from "./chunks/index.f55fdc32.js";
15
15
  import { c as Oe, a as $e } from "./chunks/index.86453263.js";
16
- import "./assets/index34.css";
16
+ import "./assets/index35.css";
17
17
  var Z = 1e3 * 60, j = 60 * 24, G = j * 30, Q = j * 365;
18
18
  function X(e, p) {
19
19
  var o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
package/dist/toast.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as N, openBlock as l, createElementBlock as A, createElementVNode as G, createVNode as k, unref as o, withCtx as B, createTextVNode as M, toDisplayString as R, createBlock as T, createCommentVNode as b, ref as u, computed as h, watch as w, onMounted as X, nextTick as J, normalizeStyle as K, TransitionGroup as Q, Fragment as Z, renderList as F, mergeProps as tt } from "vue";
2
- import { u as U } from "./chunks/use-bento-toast-controller.3275a505.js";
2
+ import { u as U } from "./chunks/use-bento-toast-controller.98ca249a.js";
3
3
  import { C as et } from "./chunks/cross-small.b85406fe.js";
4
4
  import { u as st } from "./chunks/i18n.f7e6533e.js";
5
- import { a as H } from "./chunks/button.ce5d1f5e.js";
6
- import { B as at } from "./chunks/index.51fe0fc2.js";
5
+ import { a as H } from "./chunks/button.de5589fa.js";
6
+ import { B as at } from "./chunks/index.11b6dd35.js";
7
7
  import { _ as O } from "./chunks/_plugin-vue_export-helper.dad06003.js";
8
- import "./assets/index27.css";
8
+ import "./assets/index34.css";
9
9
  const P = {
10
10
  "en-US": {
11
11
  dismiss: "Dismiss"
package/dist/toggle.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { defineComponent as $, ref as y, computed as p, toRefs as V, watch as D, resolveComponent as _, openBlock as n, createElementBlock as k, normalizeClass as T, withDirectives as w, createElementVNode as b, vModelCheckbox as O, createBlock as g, createCommentVNode as i, withCtx as h, renderSlot as v } from "vue";
2
2
  import { C as N } from "./chunks/checkmark-small.c79220d9.js";
3
- import { B as U } from "./chunks/index.51fe0fc2.js";
3
+ import { B as U } from "./chunks/index.11b6dd35.js";
4
4
  import { g as j } from "./chunks/unique-id.a2a2b458.js";
5
5
  import { u as z } from "./chunks/use-default-slot-validator.1169c221.js";
6
6
  import { u as H } from "./chunks/use-has-slot.4d98bf29.js";
7
7
  import { g as m } from "./chunks/get-slot-text.bead058f.js";
8
8
  import { u as M } from "./chunks/aria-label.ac9651a5.js";
9
9
  import { _ as P } from "./chunks/_plugin-vue_export-helper.dad06003.js";
10
- import "./assets/index32.css";
10
+ import "./assets/index47.css";
11
11
  var C = /* @__PURE__ */ ((e) => (e.LABEL_FIRST = "label-first", e))(C || {}), d = /* @__PURE__ */ ((e) => (e.BEFORE = "before", e.AFTER = "after", e))(d || {});
12
12
  const q = $({
13
13
  name: "bento-toggle",
package/dist/tutorial.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { defineComponent as x, ref as O, openBlock as u, createBlock as S, unref as o, withCtx as f, createElementVNode as c, normalizeStyle as j, createElementBlock as b, mergeProps as R, toDisplayString as E, createCommentVNode as y, computed as r, isRef as q, watch as L, nextTick as Z, createVNode as h, withKeys as z, createSlots as H, createTextVNode as I, renderSlot as U, pushScopeId as W, popScopeId as X, Fragment as G, renderList as J } from "vue";
2
- import { B as Q } from "./chunks/index.1b1646bf.js";
3
- import { B as F, a as Y } from "./chunks/index.920cc1ee.js";
4
- import { B } from "./chunks/index.51fe0fc2.js";
2
+ import { B as Q } from "./chunks/index.8b10ee32.js";
3
+ import { B as F, a as Y } from "./chunks/index.bab8811d.js";
4
+ import { B } from "./chunks/index.11b6dd35.js";
5
5
  import { BentoImage as tt } from "./image.js";
6
6
  import { u as et } from "./chunks/i18n.f7e6533e.js";
7
7
  import { R as ot } from "./chunks/refresh.bd60f6a8.js";
8
8
  import { _ as k } from "./chunks/_plugin-vue_export-helper.dad06003.js";
9
- import { a as N, h as at, o as st } from "./chunks/index.b3cb905c.js";
10
- import { B as nt } from "./chunks/button-actions.ea025810.js";
11
- import "./assets/index28.css";
9
+ import { a as N, h as at, o as st } from "./chunks/index.f71015d8.js";
10
+ import { B as nt } from "./chunks/button-actions.adc0a2fe.js";
11
+ import "./assets/index36.css";
12
12
  var A;
13
13
  const it = /* @__PURE__ */ x({
14
14
  __name: "tutorial-indicator",
@@ -1,4 +1,4 @@
1
- import { B as p, c as e, b as r, a as y } from "./chunks/index.51fe0fc2.js";
1
+ import { B as p, c as e, b as r, a as y } from "./chunks/index.11b6dd35.js";
2
2
  export {
3
3
  p as BentoTypography,
4
4
  e as BentoTypographyElement,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@adyen/bento-vue3",
4
- "version": "1.24.0",
4
+ "version": "1.25.0",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/bento-vue3",
3
- "version": "1.24.0",
3
+ "version": "1.25.0",
4
4
  "description": "Adyen Bento Vue 3 components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -52,7 +52,7 @@
52
52
  "url": "git@github.com:Adyen/bento.git"
53
53
  },
54
54
  "dependencies": {
55
- "@adyen/bento-design-tokens": "1.24.0",
55
+ "@adyen/bento-design-tokens": "1.25.0",
56
56
  "@adyen/ui-assets-icons-16": "4.1.0",
57
57
  "@adyen/ui-assets-payment-method-icons": "6.1.0",
58
58
  "@codemirror/commands": "6.3.3",
@@ -77,9 +77,13 @@
77
77
  },
78
78
  "overrides": {
79
79
  "@codemirror/state": "6.4.0",
80
- "react": "16.14.0"
80
+ "react": "16.14.0",
81
+ "@adyen/lume-vue3": {
82
+ "vue": "^3.0"
83
+ }
81
84
  },
82
85
  "devDependencies": {
86
+ "@adyen/lume-vue3": "1.11.1",
83
87
  "@storybook/addon-a11y": "7.6.17",
84
88
  "@storybook/addon-essentials": "7.6.17",
85
89
  "@storybook/addon-storysource": "7.6.17",