@adyen/bento-vue3 1.92.2 → 1.93.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 (214) hide show
  1. package/dist/@types/components.d.ts +8 -0
  2. package/dist/@types/index.d.ts +1191 -717
  3. package/dist/action-bar.js +1 -1
  4. package/dist/ai-tag.js +1 -1
  5. package/dist/anchor-scroller.js +1 -1
  6. package/dist/assets/accordion-item.css +1 -1
  7. package/dist/assets/action-bar.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/button-actions.css +1 -1
  10. package/dist/assets/card.css +1 -1
  11. package/dist/assets/data-grid.css +1 -1
  12. package/dist/assets/dialog-page.css +1 -1
  13. package/dist/assets/drawer.css +1 -0
  14. package/dist/assets/file-uploader.css +1 -1
  15. package/dist/assets/inspector.css +1 -1
  16. package/dist/assets/modal-fullscreen.css +1 -1
  17. package/dist/assets/navigation-menu-group.css +1 -0
  18. package/dist/assets/secondary-nav.css +1 -1
  19. package/dist/assets/sidepanel.css +1 -1
  20. package/dist/button.js +1 -1
  21. package/dist/card.js +1 -1
  22. package/dist/checkbox.js +2 -2
  23. package/dist/chunks/{action-bar.BxyRAZn1.js → action-bar.B-OoRono.js} +4 -4
  24. package/dist/chunks/{action-bar.BxyRAZn1.js.map → action-bar.B-OoRono.js.map} +1 -1
  25. package/dist/chunks/{ai-tag.CpeZm2Yf.js → ai-tag.BbQ3hh1b.js} +2 -2
  26. package/dist/chunks/{ai-tag.CpeZm2Yf.js.map → ai-tag.BbQ3hh1b.js.map} +1 -1
  27. package/dist/chunks/{anchor-scroller.DSfXK6vK.js → anchor-scroller.WJlZwrLh.js} +2 -2
  28. package/dist/chunks/{anchor-scroller.DSfXK6vK.js.map → anchor-scroller.WJlZwrLh.js.map} +1 -1
  29. package/dist/chunks/{base-modal.C8Rsc2oO.js → base-modal.Dzvnfomn.js} +5 -5
  30. package/dist/chunks/{base-modal.C8Rsc2oO.js.map → base-modal.Dzvnfomn.js.map} +1 -1
  31. package/dist/chunks/{button-actions-with-menu.KaWdHibo.js → button-actions-with-menu.DVMjHT7W.js} +3 -3
  32. package/dist/chunks/{button-actions-with-menu.KaWdHibo.js.map → button-actions-with-menu.DVMjHT7W.js.map} +1 -1
  33. package/dist/chunks/{button-actions.7Oi2Ra4p.js → button-actions.Dp3VkQWU.js} +3 -3
  34. package/dist/chunks/{button-actions.7Oi2Ra4p.js.map → button-actions.Dp3VkQWU.js.map} +1 -1
  35. package/dist/chunks/{calendar.DfMwuOIR.js → calendar.DPSJK8zi.js} +55 -55
  36. package/dist/chunks/{calendar.DfMwuOIR.js.map → calendar.DPSJK8zi.js.map} +1 -1
  37. package/dist/chunks/{card.7q8tTfjG.js → card.oClcA99e.js} +2 -2
  38. package/dist/chunks/{card.7q8tTfjG.js.map → card.oClcA99e.js.map} +1 -1
  39. package/dist/chunks/{checkbox-group.CgrmMYbN.js → checkbox-group.BjLXIH31.js} +3 -3
  40. package/dist/chunks/{checkbox-group.CgrmMYbN.js.map → checkbox-group.BjLXIH31.js.map} +1 -1
  41. package/dist/chunks/{checkbox.CdkqCAAL.js → checkbox.BEQ8QnKY.js} +18 -18
  42. package/dist/chunks/{checkbox.CdkqCAAL.js.map → checkbox.BEQ8QnKY.js.map} +1 -1
  43. package/dist/chunks/{code-snippet.Dtb7CDv9.js → code-snippet.B51W5xRW.js} +5 -5
  44. package/dist/chunks/{code-snippet.Dtb7CDv9.js.map → code-snippet.B51W5xRW.js.map} +1 -1
  45. package/dist/chunks/{controls-group.DqRpF9bh.js → controls-group.i2Lxh7sB.js} +2 -2
  46. package/dist/chunks/{controls-group.DqRpF9bh.js.map → controls-group.i2Lxh7sB.js.map} +1 -1
  47. package/dist/chunks/{copy.CL893i9-.js → copy.C4LTKtNj.js} +3 -3
  48. package/dist/chunks/{copy.CL893i9-.js.map → copy.C4LTKtNj.js.map} +1 -1
  49. package/dist/chunks/{dashboard-section.kwKlujP-.js → dashboard-section.TSdidWWP.js} +3 -3
  50. package/dist/chunks/{dashboard-section.kwKlujP-.js.map → dashboard-section.TSdidWWP.js.map} +1 -1
  51. package/dist/chunks/{dashed-underline.ADDEdamG.js → dashed-underline.C0n0UG5_.js} +3 -3
  52. package/dist/chunks/{dashed-underline.ADDEdamG.js.map → dashed-underline.C0n0UG5_.js.map} +1 -1
  53. package/dist/chunks/{data-grid-template.C69yN3ZR.js → data-grid-template.DNJI6xng.js} +3 -3
  54. package/dist/chunks/{data-grid-template.C69yN3ZR.js.map → data-grid-template.DNJI6xng.js.map} +1 -1
  55. package/dist/chunks/{data-grid.T-FnwChG.js → data-grid.CZjC3vWa.js} +18 -18
  56. package/dist/chunks/{data-grid.T-FnwChG.js.map → data-grid.CZjC3vWa.js.map} +1 -1
  57. package/dist/chunks/{date-picker.hUcnFn4K.js → date-picker.BhseFocw.js} +8 -8
  58. package/dist/chunks/{date-picker.hUcnFn4K.js.map → date-picker.BhseFocw.js.map} +1 -1
  59. package/dist/chunks/{date-range-picker.BM5gxJcL.js → date-range-picker.DK9M8DHP.js} +369 -369
  60. package/dist/chunks/{date-range-picker.BM5gxJcL.js.map → date-range-picker.DK9M8DHP.js.map} +1 -1
  61. package/dist/chunks/{dialog-page.Bh-7RAwX.js → dialog-page.DM3Lie55.js} +2 -2
  62. package/dist/chunks/{dialog-page.Bh-7RAwX.js.map → dialog-page.DM3Lie55.js.map} +1 -1
  63. package/dist/chunks/{draggable-handle.BWHOlabB.js → draggable-handle.B8QnrFve.js} +2 -2
  64. package/dist/chunks/{draggable-handle.BWHOlabB.js.map → draggable-handle.B8QnrFve.js.map} +1 -1
  65. package/dist/chunks/drawer.EtJfGbNI.js +55 -0
  66. package/dist/chunks/drawer.EtJfGbNI.js.map +1 -0
  67. package/dist/chunks/{dropdown-tag.Sk2n9gbl.js → dropdown-tag.vZytpy7r.js} +3 -3
  68. package/dist/chunks/{dropdown-tag.Sk2n9gbl.js.map → dropdown-tag.vZytpy7r.js.map} +1 -1
  69. package/dist/chunks/{dropdown.CuIBYLdy.js → dropdown.B4pTluCz.js} +5 -5
  70. package/dist/chunks/{dropdown.CuIBYLdy.js.map → dropdown.B4pTluCz.js.map} +1 -1
  71. package/dist/chunks/{es6.C1DXQV6f.js → es6.Cu3DYUPA.js} +3 -3
  72. package/dist/chunks/es6.Cu3DYUPA.js.map +1 -0
  73. package/dist/chunks/{field-label.DZYFjFgr.js → field-label.B_E_3J8j.js} +2 -2
  74. package/dist/chunks/{field-label.DZYFjFgr.js.map → field-label.B_E_3J8j.js.map} +1 -1
  75. package/dist/chunks/{file-uploader.B5_l2uQO.js → file-uploader.C8k__hVq.js} +3 -3
  76. package/dist/chunks/{file-uploader.B5_l2uQO.js.map → file-uploader.C8k__hVq.js.map} +1 -1
  77. package/dist/chunks/{filter-bar.BA2Rtf_p.js → filter-bar.r_s53sYN.js} +21 -21
  78. package/dist/chunks/{filter-bar.BA2Rtf_p.js.map → filter-bar.r_s53sYN.js.map} +1 -1
  79. package/dist/chunks/{focus-trap.BAiM_ywb.js → focus-trap.D24gS9oB.js} +26 -26
  80. package/dist/chunks/{focus-trap.BAiM_ywb.js.map → focus-trap.D24gS9oB.js.map} +1 -1
  81. package/dist/chunks/{footer-actions.4Qj_I3cd.js → footer-actions.D6m7ct7i.js} +2 -2
  82. package/dist/chunks/{footer-actions.4Qj_I3cd.js.map → footer-actions.D6m7ct7i.js.map} +1 -1
  83. package/dist/chunks/{header-meta.BJjFOcxY.js → header-meta.BCyK7ndE.js} +3 -3
  84. package/dist/chunks/{header-meta.BJjFOcxY.js.map → header-meta.BCyK7ndE.js.map} +1 -1
  85. package/dist/chunks/{header-with-views.CYBBcnCP.js → header-with-views.Cg3TfbGl.js} +10 -10
  86. package/dist/chunks/{header-with-views.CYBBcnCP.js.map → header-with-views.Cg3TfbGl.js.map} +1 -1
  87. package/dist/chunks/{header.5RQulwlL.js → header.FZwBPZLA.js} +3 -3
  88. package/dist/chunks/{header.5RQulwlL.js.map → header.FZwBPZLA.js.map} +1 -1
  89. package/dist/chunks/{index.DDwcHPb6.js → index.CxrHirmk.js} +15 -15
  90. package/dist/chunks/{index.DDwcHPb6.js.map → index.CxrHirmk.js.map} +1 -1
  91. package/dist/chunks/{info-icon.B3MDsjMu.js → info-icon.PcvZwhgr.js} +3 -3
  92. package/dist/chunks/{info-icon.B3MDsjMu.js.map → info-icon.PcvZwhgr.js.map} +1 -1
  93. package/dist/chunks/{input-field-password.CpRKmq4h.js → input-field-password.CeG5ZP5I.js} +6 -6
  94. package/dist/chunks/{input-field-password.CpRKmq4h.js.map → input-field-password.CeG5ZP5I.js.map} +1 -1
  95. package/dist/chunks/{input-field-phone-number.BZy1o9VW.js → input-field-phone-number.86z6mzPz.js} +3 -3
  96. package/dist/chunks/{input-field-phone-number.BZy1o9VW.js.map → input-field-phone-number.86z6mzPz.js.map} +1 -1
  97. package/dist/chunks/{input-field.BseE_MT0.js → input-field.B7wHgguP.js} +3 -3
  98. package/dist/chunks/input-field.B7wHgguP.js.map +1 -0
  99. package/dist/chunks/{input-time.DAxp5Kku.js → input-time.PpFtmHYm.js} +4 -4
  100. package/dist/chunks/{input-time.DAxp5Kku.js.map → input-time.PpFtmHYm.js.map} +1 -1
  101. package/dist/chunks/{inspector.DMhKNW1K.js → inspector.BNZxnDFh.js} +3 -3
  102. package/dist/chunks/{inspector.DMhKNW1K.js.map → inspector.BNZxnDFh.js.map} +1 -1
  103. package/dist/chunks/{layout-row.B5VJGEQH.js → layout-row.ByVDza7f.js} +8 -8
  104. package/dist/chunks/{layout-row.B5VJGEQH.js.map → layout-row.ByVDza7f.js.map} +1 -1
  105. package/dist/chunks/{list-item.BHvXpqaS.js → list-item.B2tBYsTW.js} +2 -2
  106. package/dist/chunks/{list-item.BHvXpqaS.js.map → list-item.B2tBYsTW.js.map} +1 -1
  107. package/dist/chunks/{listbox-option-tag.CVxaZqbc.js → listbox-option-tag.ByoUG-fO.js} +2 -2
  108. package/dist/chunks/{listbox-option-tag.CVxaZqbc.js.map → listbox-option-tag.ByoUG-fO.js.map} +1 -1
  109. package/dist/chunks/{modal-fullscreen.CepaWyoi.js → modal-fullscreen.DmnnwPRi.js} +4 -4
  110. package/dist/chunks/{modal-fullscreen.CepaWyoi.js.map → modal-fullscreen.DmnnwPRi.js.map} +1 -1
  111. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.Bh_GY-Ah.js → modal.vue_vue_type_script_setup_true_lang.2GzUt81U.js} +4 -4
  112. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.Bh_GY-Ah.js.map → modal.vue_vue_type_script_setup_true_lang.2GzUt81U.js.map} +1 -1
  113. package/dist/chunks/navigation-menu-group.DeDmNZ4C.js +335 -0
  114. package/dist/chunks/navigation-menu-group.DeDmNZ4C.js.map +1 -0
  115. package/dist/chunks/{pagination.Ch_Occwt.js → pagination.DE2QAUeF.js} +2 -2
  116. package/dist/chunks/{pagination.Ch_Occwt.js.map → pagination.DE2QAUeF.js.map} +1 -1
  117. package/dist/chunks/popover.types.DTieDKDn.js +6 -0
  118. package/dist/chunks/{popover.types.D8tHtFl3.js.map → popover.types.DTieDKDn.js.map} +1 -1
  119. package/dist/chunks/{popper-container.DMN8n5iC.js → popper-container.Agl6sImi.js} +2 -2
  120. package/dist/chunks/{popper-container.DMN8n5iC.js.map → popper-container.Agl6sImi.js.map} +1 -1
  121. package/dist/chunks/{promo-banner.-H4r_cwj.js → promo-banner.DMmSl_ca.js} +8 -8
  122. package/dist/chunks/{promo-banner.-H4r_cwj.js.map → promo-banner.DMmSl_ca.js.map} +1 -1
  123. package/dist/chunks/{radio-group.CfMr1fmW.js → radio-group.BxJS4qfR.js} +3 -3
  124. package/dist/chunks/{radio-group.CfMr1fmW.js.map → radio-group.BxJS4qfR.js.map} +1 -1
  125. package/dist/chunks/{rich-text-editor.CSvPpLth.js → rich-text-editor.By4B8RWI.js} +4 -4
  126. package/dist/chunks/{rich-text-editor.CSvPpLth.js.map → rich-text-editor.By4B8RWI.js.map} +1 -1
  127. package/dist/chunks/{search-bar.BRf_Mf7n.js → search-bar.7jhPiuah.js} +4 -4
  128. package/dist/chunks/{search-bar.BRf_Mf7n.js.map → search-bar.7jhPiuah.js.map} +1 -1
  129. package/dist/chunks/{secondary-nav.CROQNbYk.js → secondary-nav.CuhX-Akn.js} +4 -4
  130. package/dist/chunks/{secondary-nav.CROQNbYk.js.map → secondary-nav.CuhX-Akn.js.map} +1 -1
  131. package/dist/chunks/{segmented-control.CQWOO1-J.js → segmented-control.DQSuLjJX.js} +2 -2
  132. package/dist/chunks/{segmented-control.CQWOO1-J.js.map → segmented-control.DQSuLjJX.js.map} +1 -1
  133. package/dist/chunks/{selection-card-group.58XZj_SJ.js → selection-card-group.DmqSNQPQ.js} +12 -12
  134. package/dist/chunks/{selection-card-group.58XZj_SJ.js.map → selection-card-group.DmqSNQPQ.js.map} +1 -1
  135. package/dist/chunks/{sidepanel.S037xghX.js → sidepanel.EKe43ODO.js} +5 -5
  136. package/dist/chunks/{sidepanel.S037xghX.js.map → sidepanel.EKe43ODO.js.map} +1 -1
  137. package/dist/chunks/{structured-list-item.CgJR_ufh.js → structured-list-item.BkPA7std.js} +4 -4
  138. package/dist/chunks/{structured-list-item.CgJR_ufh.js.map → structured-list-item.BkPA7std.js.map} +1 -1
  139. package/dist/chunks/{summary-grid.types.D1JQ_jtv.js → summary-grid.types.BXqnRVnK.js} +5 -5
  140. package/dist/chunks/{summary-grid.types.D1JQ_jtv.js.map → summary-grid.types.BXqnRVnK.js.map} +1 -1
  141. package/dist/chunks/{tag.YN2r-Pp3.js → tag.DkhJRE0r.js} +2 -2
  142. package/dist/chunks/{tag.YN2r-Pp3.js.map → tag.DkhJRE0r.js.map} +1 -1
  143. package/dist/chunks/{textarea.-6FHesSp.js → textarea.Cn52prhR.js} +3 -3
  144. package/dist/chunks/{textarea.-6FHesSp.js.map → textarea.Cn52prhR.js.map} +1 -1
  145. package/dist/chunks/{timeline-item.BJaFr2_Y.js → timeline-item.C6jPnHUZ.js} +6 -6
  146. package/dist/chunks/{timeline-item.BJaFr2_Y.js.map → timeline-item.C6jPnHUZ.js.map} +1 -1
  147. package/dist/chunks/{tooltip.DHfG2aRt.js → tooltip.CZ_sV-Vj.js} +3 -3
  148. package/dist/chunks/{tooltip.DHfG2aRt.js.map → tooltip.CZ_sV-Vj.js.map} +1 -1
  149. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.D_Z1zKam.js → tutorial.vue_vue_type_script_setup_true_lang.Z5MhMTSh.js} +4 -4
  150. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.D_Z1zKam.js.map → tutorial.vue_vue_type_script_setup_true_lang.Z5MhMTSh.js.map} +1 -1
  151. package/dist/chunks/{use-cached-selected-values.DUWGSMvO.js → use-cached-selected-values.D_CQxKZa.js} +2 -2
  152. package/dist/chunks/{use-cached-selected-values.DUWGSMvO.js.map → use-cached-selected-values.D_CQxKZa.js.map} +1 -1
  153. package/dist/chunks/{use-date-input-formatter.BH4hdEJW.js → use-date-input-formatter.NK5sHoV9.js} +2 -2
  154. package/dist/chunks/{use-date-input-formatter.BH4hdEJW.js.map → use-date-input-formatter.NK5sHoV9.js.map} +1 -1
  155. package/dist/code-snippet.js +1 -1
  156. package/dist/dashboard-template.js +1 -1
  157. package/dist/dashed-underline.js +1 -1
  158. package/dist/data-grid-template.js +1 -1
  159. package/dist/data-grid.js +1 -1
  160. package/dist/date-picker.js +2 -2
  161. package/dist/date-range-picker.js +2 -2
  162. package/dist/draggable.js +1 -1
  163. package/dist/drawer.js +5 -0
  164. package/dist/drawer.js.map +1 -0
  165. package/dist/dropdown.js +3 -3
  166. package/dist/file-uploader.js +1 -1
  167. package/dist/filter-bar.js +1 -1
  168. package/dist/focus-trap.js +1 -1
  169. package/dist/header-with-views.js +1 -1
  170. package/dist/header.js +1 -1
  171. package/dist/index.js +283 -277
  172. package/dist/index.js.map +1 -1
  173. package/dist/info-icon.js +1 -1
  174. package/dist/input-field-password.js +1 -1
  175. package/dist/input-field-phone-number.js +1 -1
  176. package/dist/input-field.js +1 -1
  177. package/dist/input-time.js +1 -1
  178. package/dist/inspector.js +1 -1
  179. package/dist/internal.js +11 -11
  180. package/dist/layout.js +1 -1
  181. package/dist/list.js +1 -1
  182. package/dist/menu.js +1 -1
  183. package/dist/modal-fullscreen.js +1 -1
  184. package/dist/modal.js +2 -2
  185. package/dist/navigation-menu.js +7 -0
  186. package/dist/navigation-menu.js.map +1 -0
  187. package/dist/pagination.js +1 -1
  188. package/dist/popover.js +2 -2
  189. package/dist/popper-container.js +1 -1
  190. package/dist/promo-banner.js +1 -1
  191. package/dist/radio-group.js +1 -1
  192. package/dist/rich-text-editor.js +1 -1
  193. package/dist/search-bar.js +2 -2
  194. package/dist/secondary-nav.js +1 -1
  195. package/dist/segmented-control.js +1 -1
  196. package/dist/selection-card.js +1 -1
  197. package/dist/sidepanel.js +1 -1
  198. package/dist/structured-list.js +1 -1
  199. package/dist/styles/bento-dark.css +3 -0
  200. package/dist/styles/bento-light.css +3 -0
  201. package/dist/styles/bento.css +3 -0
  202. package/dist/styles/legacy.css +3 -0
  203. package/dist/styles/styleguide.css +3 -0
  204. package/dist/styles/utility.css +9 -0
  205. package/dist/summary-grid.js +1 -1
  206. package/dist/tag.js +1 -1
  207. package/dist/textarea.js +1 -1
  208. package/dist/timeline.js +1 -1
  209. package/dist/tutorial.js +1 -1
  210. package/dist/web-types.json +1 -1
  211. package/package.json +5 -5
  212. package/dist/chunks/es6.C1DXQV6f.js.map +0 -1
  213. package/dist/chunks/input-field.BseE_MT0.js.map +0 -1
  214. package/dist/chunks/popover.types.D8tHtFl3.js +0 -6
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../vue2/src/composables/use-form-validate/use-form.ts","../../vue2/src/composables/use-bento-theme/use-bento-theme.types.ts","../../vue2/src/composables/use-bento-theme/use-bento-theme.ts","../../vue2/src/directives/highlight/highlight.ts","../../vue2/src/composables/use-bento-toast-controller/install.ts","../../vue2/src/composables/use-bento-theme/install.types.ts","../../vue2/src/composables/use-bento-theme/install.ts","../../vue2/src/install.ts","../../vue2/src/types/base-filter.ts","../../vue2/src/types/date-format.ts"],"sourcesContent":["import { type Ref, ref, shallowRef } from 'vue';\nimport * as z from 'zod';\nimport type { ZodSchema } from 'zod';\nimport { type allKeys, type ErrorBag, type UseForm } from './use-form.types';\n\n/**\n * Composable that transforms a Zod schema into a Typed Schema that can be used alongside with {@see useForm}.\n *\n * This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.\n * Function that transform Zod’s schemas into something that can be understood by vee-validate\n *\n * @deprecated Since v2.0.0. Use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.\n *\n * @param formSchema Zod schema to be transformed into a `vee-validate` schema\n * @returns Schema transformed\n */\nexport function toTypedSchema<T extends ZodSchema>(formSchema: T) {\n return formSchema;\n}\n\n/**\n * Finds and returns the initial values of each of the values defined in the schema so that they\n * can be transformed into a reactive element.\n * @param schema Zod validation schema containing the definitions of each value to be used in the form\n * @returns Object with the items defined in the schema and their (default) values\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n * getInitialFormValues(validationSchema)\n *\n * Will return:\n *\n * {\n * name: 'Joe'\n * }\n *\n */\nfunction getInitialFormValues<T extends ZodSchema>(schema: T): z.infer<typeof schema> {\n if (!!z && schema instanceof z.ZodObject) {\n return Object.fromEntries(\n Object.entries(schema.shape).map(([key, value]) => {\n if (!!z && value instanceof z.ZodDefault) {\n /* eslint-disable-next-line no-underscore-dangle */\n return [key, value._def.defaultValue()];\n }\n\n if (!!z && value instanceof z.ZodObject) {\n return [key, getInitialFormValues(value)];\n }\n\n return [key, undefined];\n })\n ) as z.infer<typeof schema>;\n }\n\n /**\n * Zod's refine and superRefine use {@link z.ZodEffects} instead of {@link z.ZodSchema}.\n * We need to extract the schema from the {@link z.ZodEffects} structure.\n */\n if (!!z && schema instanceof z.ZodEffects) {\n // eslint-disable-next-line no-underscore-dangle\n return getInitialFormValues(schema._def.schema);\n }\n\n return undefined;\n}\n\n/**\n * Constructs a path with dot paths for arrays to use brackets to be compatible with vee-validate path syntax\n * @param issue List of nested path elements\n * @returns Path with dots\n */\nfunction normalizeFormPath(issue: z.ZodIssue) {\n return issue.path.join('.');\n}\n\n/**\n * Composable that facilitates validating form data for Vue2 & Vue3 implementations with FormLayout\n * to ease the migration to Vue3.\n *\n * For Vue3 implementations use Vee-Validate.\n *\n * This provides a simplified version of Vee-Validate v4 implemented with Zod to validate a form schema.\n * It returns reactive values that can be used directly in form input elements with 'v-model' alongside\n * with functions to \"reset\" the data (sets values to default value) and a function to execute the\n * successful form validation process (through a callback).\n *\n * @deprecated Since v2.0.0. Use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.\n *\n * @param props Form configuration object\n * @param extends ZodSchema} props.validationSchema Zod typed validation schema\n * @returns response - Composable with reactive form values and errors, and functions to handle the reactive data\n * @returns response.errorBag Object with all the form values and an array of each one of the errors (if any) per value\n * @returns response.errors Object with all the form values and the first error found for that field (if any)\n * @returns response.values Object with all the form values and their current value\n * @returns response.handleReset Resets the form values to default (initial values) when it gets called\n * @returns response.submitForm Validates the data set in {response.values} and sets errors (if found) inside {response.errors} and {response.errorBag}.\n * When the validation is successful it calls the callback so the submit process can continue\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n *\n * const { values, errors, errorBag, submitForm, handleReset } = useForm({\n * validationSchema\n * });\n * const handleSubmit = submitForm(() => {\n * // Send data to API here\n * })\n *\n */\nexport function useForm<T extends ZodSchema>({\n validationSchema,\n}: UseForm<T>): {\n errorBag: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: Array<string>;\n }>;\n errors: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string;\n }>;\n values: Ref<(typeof validationSchema)['_type']>;\n handleReset: () => void;\n submitForm: (submitted: any) => () => void;\n} {\n // Errors per field\n const errors = shallowRef<z.infer<typeof validationSchema>>({});\n // All errors per field\n const errorBag: Ref<ErrorBag<z.infer<typeof validationSchema>>> = ref({});\n const values: Ref<z.TypeOf<T>> = ref(getInitialFormValues<T>(validationSchema));\n\n const cleanErrors = () => {\n errors.value = {};\n errorBag.value = {};\n };\n\n const resetForm = () => {\n cleanErrors();\n values.value = getInitialFormValues<T>(validationSchema);\n };\n\n const submitForm = submitted => () => {\n cleanErrors();\n\n // Run validations on the form data through the schema\n const validSchema = validationSchema.safeParse(values.value);\n\n // Update errors\n if (!validSchema.success) {\n (validSchema as z.SafeParseError<T>).error.issues.forEach(error => {\n const path = normalizeFormPath(error);\n\n // Add the first occurrence of a field error to the \"errors\" object\n if (!errors.value[path]) {\n errors.value[path] = error.message;\n }\n\n // Add each error to the \"errorBag\" per field array\n if (!errorBag.value[path]) {\n errorBag.value[path] = [error.message];\n } else {\n errorBag.value[path].push(error.message);\n }\n });\n } else {\n submitted(values.value);\n }\n };\n\n return {\n // Values\n errorBag,\n errors,\n values,\n\n // Methods\n handleReset: () => resetForm(),\n submitForm,\n };\n}\n","import { type BentoTheme } from './install.types';\n\nexport const useBentoThemeKey = Symbol('use-bento-theme');\n\nexport interface UseBentoTheme {\n getTheme: () => string;\n setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;\n}\n","import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\nimport { getCurrentInstance, inject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport { type UseBentoTheme, useBentoThemeKey } from './use-bento-theme.types';\n\n/**\n * Composable that handles theming-related capabilities for the Bento component library.\n * Requires the use of `BentoPlugin`.\n *\n * @example\n * <script setup lang=\"ts\">\n * import { useBentoTheme, BentoTheme } from '@adyen/bento-vue2';\n *\n * const { setTheme } = useBentoTheme();\n *\n * setTheme(BentoTheme.BENTO_DARK)\n * </script>\n *\n * @returns {UseBentoTheme} An object with getter and setter method for the Bento theme.\n * @returns {Function} getTheme - Returns the current theme in the string form of BentoTheme enum.\n * @returns {Function} setTheme - Sets the theme of the Bento component library.\n *\n */\nexport function useBentoTheme(): UseBentoTheme {\n const bentoThemeController = isVue2\n ? getCurrentInstance()?.proxy[useBentoThemeKey]\n : inject(useBentoThemeKey, null);\n\n if (!bentoThemeController) {\n printDevelopmentWarning('useBentoTheme does not work without Vue.use(BentoPlugin)');\n\n // Return placeholder functions so client code won't break, but theme won't toggle\n return {\n getTheme: () => undefined,\n setTheme: () => undefined,\n };\n }\n\n // Return a new object so unintentional reassigning its properties won't override a global state\n return { ...bentoThemeController };\n}\n","const getSize = ({ modifiers, value }) => Object.keys(modifiers)[0] || value?.size || 'small';\n\nconst toggleHighlight = (el, binding, enabled) => {\n const extraPadding = binding.value?.extraPadding ?? false;\n const rounded = binding.value?.rounded ?? false;\n const size = getSize(binding);\n\n el.classList.toggle('b-highlight', enabled);\n el.classList.toggle('b-highlight--extra-padding', enabled && extraPadding);\n el.classList.toggle('b-highlight--rounded', enabled && rounded);\n\n ['small', 'medium', 'large'].forEach(s => {\n el.classList.toggle(`b-highlight--${s}`, enabled && s === size);\n });\n};\n\nconst applyHighlight = (el, binding) => {\n toggleHighlight(el, binding, binding.value !== false);\n};\n\nconst updateHighlight = (el, binding) => {\n toggleHighlight(el, binding, binding.value !== false);\n};\n\nconst removeHighlight = (el, binding) => {\n toggleHighlight(el, binding, false);\n};\n\nexport const BentoHighlightDirective = {\n // Vue 2\n bind: applyHighlight,\n update: updateHighlight,\n unbind: removeHighlight,\n\n // Vue 3\n beforeMount: applyHighlight,\n mounted: updateHighlight,\n updated: updateHighlight,\n unmounted: removeHighlight,\n};\n\nimport './highlight.scss';\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { createToastStack, toastStackInjectionKey } from './toast-stack';\n\n/**\n * This function is used to create and register global reactive state necessary fro the Toasts to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n if (isVue2) {\n // Add toast stack as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[toastStackInjectionKey] = createToastStack();\n } else {\n (Vue as App).provide(toastStackInjectionKey, createToastStack());\n }\n};\n","export enum BentoTheme {\n /**\n * @deprecated Since v2.0.0. Use `BENTO_LIGHT` instead.\n */\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n\n /**\n * @deprecated Since v2.0.0. Use `BENTO_LIGHT` instead.\n */\n BENTO = '',\n\n BENTO_LIGHT = 'b-light-theme',\n BENTO_DARK = 'b-dark-theme',\n BENTO_SYSTEM = 'b-system',\n}\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { useBentoThemeKey } from './use-bento-theme.types';\nimport { BentoTheme } from './install.types';\n\nconst getTheme = () => document.body.className.match(/b-\\w+-theme/)?.[0] ?? '';\nconst getThemeForSystemPreference = () => {\n const preferredDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;\n\n if (preferredDarkMode) {\n return BentoTheme.BENTO_DARK;\n }\n\n return BentoTheme.BENTO_LIGHT;\n};\n\nexport const setTheme = (theme: BentoTheme) => {\n const currentTheme = getTheme();\n const systemTheme = getThemeForSystemPreference();\n const themeToSet = theme === BentoTheme.BENTO_SYSTEM ? systemTheme : theme;\n\n if (themeToSet === BentoTheme.BENTO_LIGHT || themeToSet === BentoTheme.BENTO) {\n document.documentElement.style.colorScheme = 'light';\n } else if (themeToSet === BentoTheme.BENTO_DARK) {\n document.documentElement.style.colorScheme = 'dark';\n }\n\n // if theme is different from current and it is not `BentoTheme.BENTO`\n if (currentTheme.length && currentTheme !== themeToSet) {\n document.body.classList.remove(currentTheme);\n }\n\n // if theme is not `BentoTheme.BENTO`\n if (themeToSet.length) {\n document.body.classList.add(themeToSet);\n }\n};\n\n/**\n * This function is used to create and register global reactive state necessary for theme to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n const themeProvider = {\n getTheme,\n setTheme,\n };\n\n if (isVue2) {\n // Add theme as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[useBentoThemeKey] = themeProvider;\n } else {\n (Vue as App).provide(useBentoThemeKey, themeProvider);\n }\n};\n","import installToast from './composables/use-bento-toast-controller/install';\nimport installTheme, { setTheme } from './composables/use-bento-theme/install';\nimport { deprecate } from './utils/ts/deprecate';\nimport { BentoTheme } from './composables/use-bento-theme/install.types';\nimport type { PluginObject } from 'vue';\n\ninterface BentoVuePlugin {\n theme?: BentoTheme;\n withToast?: boolean;\n withUtilityClasses?: boolean;\n withDesignTokensCSSInjection?: boolean;\n}\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n name: 'BentoVue',\n install: async (\n Vue,\n {\n theme = BentoTheme.BENTO_LIGHT,\n withToast = false,\n withUtilityClasses = false,\n withDesignTokensCSSInjection = true,\n }: BentoVuePlugin\n ) => {\n installTheme(Vue);\n\n if (withToast) {\n installToast(Vue);\n }\n if (withDesignTokensCSSInjection) {\n deprecate(\n 'Using default setting withDesignTokensCSSInjection set to true in BentoVue plugin',\n 'Please disable CSS injection by setting withDesignTokensCSSInjection to false in BentoVue plugin options as highlighted here:\\nhttps://adyen-bento.netlify.app/?path=/docs/welcome-getting-started--docs#import-css-variables',\n '2.0.0'\n );\n // Make sure to put all awaited CSS imports below this point and not above!\n if (theme === BentoTheme.STYLEGUIDE) {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n }\n\n if (theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n } else if (theme === BentoTheme.BENTO_SYSTEM) {\n setTheme(BentoTheme.BENTO_SYSTEM);\n } else if (theme === BentoTheme.BENTO_DARK) {\n setTheme(BentoTheme.BENTO_DARK);\n } else if (theme === BentoTheme.BENTO) {\n deprecate('Using `BentoTheme.BENTO`', 'Please use `BentoTheme.BENTO_LIGHT` instead', '2.0.0');\n setTheme(BentoTheme.BENTO_LIGHT);\n } else {\n setTheme(BentoTheme.BENTO_LIGHT);\n }\n },\n};\n\nexport { BentoTheme };\nexport default plugin;\n","/**\n * Defines the props used by `bento-base-filter` that must be implemented\n * on every filter as `defineProps`.\n *\n * The interface can be extended if new values are required.\n * The object can be extended if new values are required.\n *\n * @template CustomValue Defines the type of the `value` and `defaultValue` props.\n * @template CustomOptions Defines the type of the options used by the filter (default: `undefined`).\n *\n * @example\n * Using the interface\n *\n * ```typescript\n * import { type BentoBaseFilterProps } from '@adyen/bento-vue2'\n *\n * interface CustomOptions {\n * option: string;\n * }\n *\n * withDefaults(defineProps<BentoBaseFilterProps<string, CustomOptions>>(), {\n * defaultValue: undefined,\n * })\n * ```\n *\n * @example\n * Using the object\n *\n * ```typescript\n * import { BentoBaseFilterProps } from '@adyen/bento-vue2'\n *\n * defineProps({\n * ...BentoBaseFilterProps,\n * options: {\n * type: Object,\n * default: () => ({\n * option: null\n * })\n * }\n * })\n * ```\n */\nexport interface BentoBaseFilterProps<CustomValue, CustomOptions = undefined> {\n /**\n * Disables the filter from being interacted with.\n */\n disabled?: boolean;\n\n /**\n * Default value of the filter to reset to.\n */\n defaultValue?: CustomValue;\n\n /**\n * Filter name/key referencing the actual property name in the data set.\n * Should be unique per filter bar.\n */\n field: string;\n\n /**\n * Label text to be displayed\n */\n label: string;\n\n /**\n * Renders the base filter's slot content only - leaving out the button and the popover.\n * Used for the allFiltersModal component.\n */\n onlySlot?: boolean;\n\n /**\n * List of options that are needed to setup the filter\n * Available options:\n * - firstDayOfWeek: Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday\n * - isDateDisabled: Indicate if a date should be disabled or not\n * - tooltipPosition: The position of the tooltip attached to the filter button\n * - tooltipText: The content of the tooltip attached to the filter button\n */\n options?: CustomOptions;\n\n /**\n * Current value of the filter\n */\n value: CustomValue;\n}\n\nexport const BentoBaseFilterProps = Object.freeze({\n /**\n * Disables the filter from being interacted with.\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Default value of the filter to reset to.\n */\n defaultValue: {\n type: [Object, Number, Boolean, Array, String, Date],\n default: null,\n },\n\n /**\n * Filter name/key referencing the actual property name in the data set.\n * Should be unique per filter bar.\n */\n field: { type: String, required: true },\n\n /**\n * Label text to be displayed\n */\n label: { type: String, required: true },\n\n /**\n * Renders the base filter's slot content only - leaving out the button and the popover.\n * Used for the allFiltersModal component.\n */\n onlySlot: { type: Boolean, default: false },\n\n /**\n * The current value of the filter, used for v-model.\n */\n value: {\n type: [Object, Number, Boolean, Array, String, Date],\n default: undefined,\n },\n});\n\n/**\n * Defines the mandatory emits that need to be defined by the implementation of any filter\n *\n * @template CustomValue Defines the type of the value being passed to the emit. Same as the type set in `BentoBaseFilterProps`\n *\n * @example\n * Using the interface\n *\n * ```typescript\n * import { type BentoBaseFilterEvents } from '@adyen/bento-vue2'\n *\n * defineEmits<BentoBaseFilterEvents<string>>()\n * ```\n *\n * @example\n * Using the object\n *\n * ```typescript\n * import { BentoBaseFilterEvents } from '@adyen/bento-vue2'\n *\n * defineEmits(BentoBaseFilterEvents)\n * ```\n */\nexport interface BentoBaseFilterEvents<CustomFilterProps> {\n /**\n * Used in the All filters modal\n */\n (e: 'input', updatedProps: CustomFilterProps): void;\n\n /**\n * Used in the Filter Bar\n */\n (e: 'update', updatedProps: CustomFilterProps): void;\n}\n\nexport const BentoBaseFilterEvents = ['input', 'update'];\n","export enum DateFormat {\n // DAY\n DAY_OF_MONTH = 'd', // 1, 2, ..., 31,\n NUMERIC_DAY = 'dd', // 01, 02, ..., 31,\n\n // WEEK\n SHORT_WEEKDAY = 'EEE', // Fri\n\n // MONTH\n NUMERIC_MONTH = 'MM', // 06\n SHORT_MONTH = 'MMM', // Jun\n LONG_MONTH = 'MMMM', // June\n LONG_MONTH_YEAR = `${LONG_MONTH} yyyy`, // June 2023\n\n // YEAR\n FULL_YEAR = 'yyyy', // 0001, 2023\n\n // DATE\n FULL_DATE = `${DAY_OF_MONTH} ${SHORT_MONTH}, ${FULL_YEAR}`, // 25 Jun, 2023\n FULL_DATE_MONTH_FIRST = `${SHORT_MONTH} ${NUMERIC_DAY}, ${FULL_YEAR}`, // Jun 25, 2023\n NUMERIC_DATE_YEAR_FIRST = `${FULL_YEAR}-${NUMERIC_MONTH}-${NUMERIC_DAY}`, // 2023-06-25\n NUMERIC_DATE_DAY_FIRST = `${FULL_YEAR}-${NUMERIC_MONTH}-${NUMERIC_DAY}`, // 25-06-2023\n\n // TIME\n MILITARY_HOUR = 'HH',\n MINUTES_TWO_DIGITS = 'mm',\n SECONDS_TWO_DIGITS = 'ss',\n HOUR_MINUTE_SECONDS = `${MILITARY_HOUR}:${MINUTES_TWO_DIGITS}:${SECONDS_TWO_DIGITS}`,\n}\n\nexport type BentoTextInputDateFormat = 'YYYY-MM-DD' | 'DD-MM-YYYY' | 'MM-DD-YYYY';\n"],"names":["toTypedSchema","formSchema","getInitialFormValues","schema","z","key","value","normalizeFormPath","issue","useForm","validationSchema","errors","shallowRef","errorBag","ref","values","cleanErrors","resetForm","submitted","validSchema","error","path","useBentoThemeKey","useBentoTheme","bentoThemeController","inject","printDevelopmentWarning","getSize","modifiers","toggleHighlight","el","binding","enabled","extraPadding","rounded","size","s","applyHighlight","updateHighlight","removeHighlight","BentoHighlightDirective","installToast","Vue","toastStackInjectionKey","createToastStack","BentoTheme","BentoTheme2","getTheme","getThemeForSystemPreference","setTheme","theme","currentTheme","systemTheme","themeToSet","installTheme","themeProvider","plug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AKnC,MAAA,CAAA,QAAA,QAAA,SAAA,OAAA,QAAA,IAAA;AAAA,IACgD,SAAA;AAAA,EAC1C;AAEjB,CAAA,GAqCOC,IAAA,CAAA,SAAA,QAAA;ACjKA,IAAAC,IAAA,kBAAAC,OAEHA,EAAA,eAAA,KACAA,EAAA,cAAA,MAGAA,EAAA,gBAAA,OAGAA,EAAA,gBAAA,MACAA,EAAA,cAAA,OACAA,EAAA,aAAA,QACAA,EAAA,kBAAA,aAGAA,EAAA,YAAA,QAGAA,EAAA,YAAA,eACAA,EAAA,wBAAA,gBACAA,EAAA,0BAAA,cACAA,EAAA,yBAAA,cAGAA,EAAA,gBAAA,MACAA,EAAA,qBAAA,MACAA,EAAA,qBAAA,MACAA,EAAA,sBAAA,YA3BQA,IAAAD,KAAA,CAAA,CAAA;"}
1
+ {"version":3,"file":"index.js","sources":["../../vue2/src/composables/use-form-validate/use-form.ts","../../vue2/src/composables/use-bento-theme/use-bento-theme.types.ts","../../vue2/src/composables/use-bento-theme/use-bento-theme.ts","../../vue2/src/directives/highlight/highlight.ts","../../vue2/src/composables/use-bento-toast-controller/install.ts","../../vue2/src/composables/use-bento-theme/install.types.ts","../../vue2/src/composables/use-bento-theme/install.ts","../../vue2/src/install.ts","../../vue2/src/types/base-filter.ts","../../vue2/src/types/date-format.ts"],"sourcesContent":["import { type Ref, ref, shallowRef } from 'vue';\nimport * as z from 'zod';\nimport type { ZodSchema } from 'zod';\nimport { type allKeys, type ErrorBag, type UseForm } from './use-form.types';\n\n/**\n * Composable that transforms a Zod schema into a Typed Schema that can be used alongside with {@see useForm}.\n *\n * This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.\n * Function that transform Zod’s schemas into something that can be understood by vee-validate\n *\n * @deprecated Since v2.0.0. Use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.\n *\n * @param formSchema Zod schema to be transformed into a `vee-validate` schema\n * @returns Schema transformed\n */\nexport function toTypedSchema<T extends ZodSchema>(formSchema: T) {\n return formSchema;\n}\n\n/**\n * Finds and returns the initial values of each of the values defined in the schema so that they\n * can be transformed into a reactive element.\n * @param schema Zod validation schema containing the definitions of each value to be used in the form\n * @returns Object with the items defined in the schema and their (default) values\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n * getInitialFormValues(validationSchema)\n *\n * Will return:\n *\n * {\n * name: 'Joe'\n * }\n *\n */\nfunction getInitialFormValues<T extends ZodSchema>(schema: T): z.infer<typeof schema> {\n if (!!z && schema instanceof z.ZodObject) {\n return Object.fromEntries(\n Object.entries(schema.shape).map(([key, value]) => {\n if (!!z && value instanceof z.ZodDefault) {\n /* eslint-disable-next-line no-underscore-dangle */\n return [key, value._def.defaultValue()];\n }\n\n if (!!z && value instanceof z.ZodObject) {\n return [key, getInitialFormValues(value)];\n }\n\n return [key, undefined];\n })\n ) as z.infer<typeof schema>;\n }\n\n /**\n * Zod's refine and superRefine use {@link z.ZodEffects} instead of {@link z.ZodSchema}.\n * We need to extract the schema from the {@link z.ZodEffects} structure.\n */\n if (!!z && schema instanceof z.ZodEffects) {\n // eslint-disable-next-line no-underscore-dangle\n return getInitialFormValues(schema._def.schema);\n }\n\n return undefined;\n}\n\n/**\n * Constructs a path with dot paths for arrays to use brackets to be compatible with vee-validate path syntax\n * @param issue List of nested path elements\n * @returns Path with dots\n */\nfunction normalizeFormPath(issue: z.ZodIssue) {\n return issue.path.join('.');\n}\n\n/**\n * Composable that facilitates validating form data for Vue2 & Vue3 implementations with FormLayout\n * to ease the migration to Vue3.\n *\n * For Vue3 implementations use Vee-Validate.\n *\n * This provides a simplified version of Vee-Validate v4 implemented with Zod to validate a form schema.\n * It returns reactive values that can be used directly in form input elements with 'v-model' alongside\n * with functions to \"reset\" the data (sets values to default value) and a function to execute the\n * successful form validation process (through a callback).\n *\n * @deprecated Since v2.0.0. Use `@adyen/bento-vue2/use-form-v4' instead or migrate to Vue3 and use Vee-Validate instead.\n *\n * @param props Form configuration object\n * @param extends ZodSchema} props.validationSchema Zod typed validation schema\n * @returns response - Composable with reactive form values and errors, and functions to handle the reactive data\n * @returns response.errorBag Object with all the form values and an array of each one of the errors (if any) per value\n * @returns response.errors Object with all the form values and the first error found for that field (if any)\n * @returns response.values Object with all the form values and their current value\n * @returns response.handleReset Resets the form values to default (initial values) when it gets called\n * @returns response.submitForm Validates the data set in {response.values} and sets errors (if found) inside {response.errors} and {response.errorBag}.\n * When the validation is successful it calls the callback so the submit process can continue\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n *\n * const { values, errors, errorBag, submitForm, handleReset } = useForm({\n * validationSchema\n * });\n * const handleSubmit = submitForm(() => {\n * // Send data to API here\n * })\n *\n */\nexport function useForm<T extends ZodSchema>({\n validationSchema,\n}: UseForm<T>): {\n errorBag: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: Array<string>;\n }>;\n errors: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string;\n }>;\n values: Ref<(typeof validationSchema)['_type']>;\n handleReset: () => void;\n submitForm: (submitted: any) => () => void;\n} {\n // Errors per field\n const errors = shallowRef<z.infer<typeof validationSchema>>({});\n // All errors per field\n const errorBag: Ref<ErrorBag<z.infer<typeof validationSchema>>> = ref({});\n const values: Ref<z.TypeOf<T>> = ref(getInitialFormValues<T>(validationSchema));\n\n const cleanErrors = () => {\n errors.value = {};\n errorBag.value = {};\n };\n\n const resetForm = () => {\n cleanErrors();\n values.value = getInitialFormValues<T>(validationSchema);\n };\n\n const submitForm = submitted => () => {\n cleanErrors();\n\n // Run validations on the form data through the schema\n const validSchema = validationSchema.safeParse(values.value);\n\n // Update errors\n if (!validSchema.success) {\n (validSchema as z.SafeParseError<T>).error.issues.forEach(error => {\n const path = normalizeFormPath(error);\n\n // Add the first occurrence of a field error to the \"errors\" object\n if (!errors.value[path]) {\n errors.value[path] = error.message;\n }\n\n // Add each error to the \"errorBag\" per field array\n if (!errorBag.value[path]) {\n errorBag.value[path] = [error.message];\n } else {\n errorBag.value[path].push(error.message);\n }\n });\n } else {\n submitted(values.value);\n }\n };\n\n return {\n // Values\n errorBag,\n errors,\n values,\n\n // Methods\n handleReset: () => resetForm(),\n submitForm,\n };\n}\n","import { type BentoTheme } from './install.types';\n\nexport const useBentoThemeKey = Symbol('use-bento-theme');\n\nexport interface UseBentoTheme {\n getTheme: () => string;\n setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;\n}\n","import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\nimport { getCurrentInstance, inject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport { type UseBentoTheme, useBentoThemeKey } from './use-bento-theme.types';\n\n/**\n * Composable that handles theming-related capabilities for the Bento component library.\n * Requires the use of `BentoPlugin`.\n *\n * @example\n * <script setup lang=\"ts\">\n * import { useBentoTheme, BentoTheme } from '@adyen/bento-vue2';\n *\n * const { setTheme } = useBentoTheme();\n *\n * setTheme(BentoTheme.BENTO_DARK)\n * </script>\n *\n * @returns {UseBentoTheme} An object with getter and setter method for the Bento theme.\n * @returns {Function} getTheme - Returns the current theme in the string form of BentoTheme enum.\n * @returns {Function} setTheme - Sets the theme of the Bento component library.\n *\n */\nexport function useBentoTheme(): UseBentoTheme {\n const bentoThemeController = isVue2\n ? getCurrentInstance()?.proxy[useBentoThemeKey]\n : inject(useBentoThemeKey, null);\n\n if (!bentoThemeController) {\n printDevelopmentWarning('useBentoTheme does not work without Vue.use(BentoPlugin)');\n\n // Return placeholder functions so client code won't break, but theme won't toggle\n return {\n getTheme: () => undefined,\n setTheme: () => undefined,\n };\n }\n\n // Return a new object so unintentional reassigning its properties won't override a global state\n return { ...bentoThemeController };\n}\n","const getSize = ({ modifiers, value }) => Object.keys(modifiers)[0] || value?.size || 'small';\n\nconst toggleHighlight = (el, binding, enabled) => {\n const extraPadding = binding.value?.extraPadding ?? false;\n const rounded = binding.value?.rounded ?? false;\n const size = getSize(binding);\n\n el.classList.toggle('b-highlight', enabled);\n el.classList.toggle('b-highlight--extra-padding', enabled && extraPadding);\n el.classList.toggle('b-highlight--rounded', enabled && rounded);\n\n ['small', 'medium', 'large'].forEach(s => {\n el.classList.toggle(`b-highlight--${s}`, enabled && s === size);\n });\n};\n\nconst applyHighlight = (el, binding) => {\n toggleHighlight(el, binding, binding.value !== false);\n};\n\nconst updateHighlight = (el, binding) => {\n toggleHighlight(el, binding, binding.value !== false);\n};\n\nconst removeHighlight = (el, binding) => {\n toggleHighlight(el, binding, false);\n};\n\nexport const BentoHighlightDirective = {\n // Vue 2\n bind: applyHighlight,\n update: updateHighlight,\n unbind: removeHighlight,\n\n // Vue 3\n beforeMount: applyHighlight,\n mounted: updateHighlight,\n updated: updateHighlight,\n unmounted: removeHighlight,\n};\n\nimport './highlight.scss';\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { createToastStack, toastStackInjectionKey } from './toast-stack';\n\n/**\n * This function is used to create and register global reactive state necessary fro the Toasts to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n if (isVue2) {\n // Add toast stack as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[toastStackInjectionKey] = createToastStack();\n } else {\n (Vue as App).provide(toastStackInjectionKey, createToastStack());\n }\n};\n","export enum BentoTheme {\n /**\n * @deprecated Since v2.0.0. Use `BENTO_LIGHT` instead.\n */\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n\n /**\n * @deprecated Since v2.0.0. Use `BENTO_LIGHT` instead.\n */\n BENTO = '',\n\n BENTO_LIGHT = 'b-light-theme',\n BENTO_DARK = 'b-dark-theme',\n BENTO_SYSTEM = 'b-system',\n}\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { useBentoThemeKey } from './use-bento-theme.types';\nimport { BentoTheme } from './install.types';\n\nconst getTheme = () => document.body.className.match(/b-\\w+-theme/)?.[0] ?? '';\nconst getThemeForSystemPreference = () => {\n const preferredDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;\n\n if (preferredDarkMode) {\n return BentoTheme.BENTO_DARK;\n }\n\n return BentoTheme.BENTO_LIGHT;\n};\n\nexport const setTheme = (theme: BentoTheme) => {\n const currentTheme = getTheme();\n const systemTheme = getThemeForSystemPreference();\n const themeToSet = theme === BentoTheme.BENTO_SYSTEM ? systemTheme : theme;\n\n if (themeToSet === BentoTheme.BENTO_LIGHT || themeToSet === BentoTheme.BENTO) {\n document.documentElement.style.colorScheme = 'light';\n } else if (themeToSet === BentoTheme.BENTO_DARK) {\n document.documentElement.style.colorScheme = 'dark';\n }\n\n // if theme is different from current and it is not `BentoTheme.BENTO`\n if (currentTheme.length && currentTheme !== themeToSet) {\n document.body.classList.remove(currentTheme);\n }\n\n // if theme is not `BentoTheme.BENTO`\n if (themeToSet.length) {\n document.body.classList.add(themeToSet);\n }\n};\n\n/**\n * This function is used to create and register global reactive state necessary for theme to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n const themeProvider = {\n getTheme,\n setTheme,\n };\n\n if (isVue2) {\n // Add theme as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[useBentoThemeKey] = themeProvider;\n } else {\n (Vue as App).provide(useBentoThemeKey, themeProvider);\n }\n};\n","import installToast from './composables/use-bento-toast-controller/install';\nimport installTheme, { setTheme } from './composables/use-bento-theme/install';\nimport { deprecate } from './utils/ts/deprecate';\nimport { BentoTheme } from './composables/use-bento-theme/install.types';\nimport type { PluginObject } from 'vue';\n\ninterface BentoVuePlugin {\n theme?: BentoTheme;\n withToast?: boolean;\n withUtilityClasses?: boolean;\n withDesignTokensCSSInjection?: boolean;\n}\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n name: 'BentoVue',\n install: async (\n Vue,\n {\n theme = BentoTheme.BENTO_LIGHT,\n withToast = false,\n withUtilityClasses = false,\n withDesignTokensCSSInjection = true,\n }: BentoVuePlugin\n ) => {\n installTheme(Vue);\n\n if (withToast) {\n installToast(Vue);\n }\n if (withDesignTokensCSSInjection) {\n deprecate(\n 'Using default setting withDesignTokensCSSInjection set to true in BentoVue plugin',\n 'Please disable CSS injection by setting withDesignTokensCSSInjection to false in BentoVue plugin options as highlighted here:\\nhttps://adyen-bento.netlify.app/?path=/docs/welcome-getting-started--docs#import-css-variables',\n '2.0.0'\n );\n // Make sure to put all awaited CSS imports below this point and not above!\n if (theme === BentoTheme.STYLEGUIDE) {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n }\n\n if (theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n } else if (theme === BentoTheme.BENTO_SYSTEM) {\n setTheme(BentoTheme.BENTO_SYSTEM);\n } else if (theme === BentoTheme.BENTO_DARK) {\n setTheme(BentoTheme.BENTO_DARK);\n } else if (theme === BentoTheme.BENTO) {\n deprecate('Using `BentoTheme.BENTO`', 'Please use `BentoTheme.BENTO_LIGHT` instead', '2.0.0');\n setTheme(BentoTheme.BENTO_LIGHT);\n } else {\n setTheme(BentoTheme.BENTO_LIGHT);\n }\n },\n};\n\nexport { BentoTheme };\nexport default plugin;\n","/**\n * Defines the props used by `bento-base-filter` that must be implemented\n * on every filter as `defineProps`.\n *\n * The interface can be extended if new values are required.\n * The object can be extended if new values are required.\n *\n * @template CustomValue Defines the type of the `value` and `defaultValue` props.\n * @template CustomOptions Defines the type of the options used by the filter (default: `undefined`).\n *\n * @example\n * Using the interface\n *\n * ```typescript\n * import { type BentoBaseFilterProps } from '@adyen/bento-vue2'\n *\n * interface CustomOptions {\n * option: string;\n * }\n *\n * withDefaults(defineProps<BentoBaseFilterProps<string, CustomOptions>>(), {\n * defaultValue: undefined,\n * })\n * ```\n *\n * @example\n * Using the object\n *\n * ```typescript\n * import { BentoBaseFilterProps } from '@adyen/bento-vue2'\n *\n * defineProps({\n * ...BentoBaseFilterProps,\n * options: {\n * type: Object,\n * default: () => ({\n * option: null\n * })\n * }\n * })\n * ```\n */\nexport interface BentoBaseFilterProps<CustomValue, CustomOptions = undefined> {\n /**\n * Disables the filter from being interacted with.\n */\n disabled?: boolean;\n\n /**\n * Default value of the filter to reset to.\n */\n defaultValue?: CustomValue;\n\n /**\n * Filter name/key referencing the actual property name in the data set.\n * Should be unique per filter bar.\n */\n field: string;\n\n /**\n * Label text to be displayed\n */\n label: string;\n\n /**\n * Renders the base filter's slot content only - leaving out the button and the popover.\n * Used for the allFiltersModal component.\n */\n onlySlot?: boolean;\n\n /**\n * List of options that are needed to setup the filter\n * Available options:\n * - firstDayOfWeek: Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday\n * - isDateDisabled: Indicate if a date should be disabled or not\n * - tooltipPosition: The position of the tooltip attached to the filter button\n * - tooltipText: The content of the tooltip attached to the filter button\n */\n options?: CustomOptions;\n\n /**\n * Current value of the filter\n */\n value: CustomValue;\n}\n\nexport const BentoBaseFilterProps = Object.freeze({\n /**\n * Disables the filter from being interacted with.\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Default value of the filter to reset to.\n */\n defaultValue: {\n type: [Object, Number, Boolean, Array, String, Date],\n default: null,\n },\n\n /**\n * Filter name/key referencing the actual property name in the data set.\n * Should be unique per filter bar.\n */\n field: { type: String, required: true },\n\n /**\n * Label text to be displayed\n */\n label: { type: String, required: true },\n\n /**\n * Renders the base filter's slot content only - leaving out the button and the popover.\n * Used for the allFiltersModal component.\n */\n onlySlot: { type: Boolean, default: false },\n\n /**\n * The current value of the filter, used for v-model.\n */\n value: {\n type: [Object, Number, Boolean, Array, String, Date],\n default: undefined,\n },\n});\n\n/**\n * Defines the mandatory emits that need to be defined by the implementation of any filter\n *\n * @template CustomValue Defines the type of the value being passed to the emit. Same as the type set in `BentoBaseFilterProps`\n *\n * @example\n * Using the interface\n *\n * ```typescript\n * import { type BentoBaseFilterEvents } from '@adyen/bento-vue2'\n *\n * defineEmits<BentoBaseFilterEvents<string>>()\n * ```\n *\n * @example\n * Using the object\n *\n * ```typescript\n * import { BentoBaseFilterEvents } from '@adyen/bento-vue2'\n *\n * defineEmits(BentoBaseFilterEvents)\n * ```\n */\nexport interface BentoBaseFilterEvents<CustomFilterProps> {\n /**\n * Used in the All filters modal\n */\n (e: 'input', updatedProps: CustomFilterProps): void;\n\n /**\n * Used in the Filter Bar\n */\n (e: 'update', updatedProps: CustomFilterProps): void;\n}\n\nexport const BentoBaseFilterEvents = ['input', 'update'];\n","export enum DateFormat {\n // DAY\n DAY_OF_MONTH = 'd', // 1, 2, ..., 31,\n NUMERIC_DAY = 'dd', // 01, 02, ..., 31,\n\n // WEEK\n SHORT_WEEKDAY = 'EEE', // Fri\n\n // MONTH\n NUMERIC_MONTH = 'MM', // 06\n SHORT_MONTH = 'MMM', // Jun\n LONG_MONTH = 'MMMM', // June\n LONG_MONTH_YEAR = `${LONG_MONTH} yyyy`, // June 2023\n\n // YEAR\n FULL_YEAR = 'yyyy', // 0001, 2023\n\n // DATE\n FULL_DATE = `${DAY_OF_MONTH} ${SHORT_MONTH}, ${FULL_YEAR}`, // 25 Jun, 2023\n FULL_DATE_MONTH_FIRST = `${SHORT_MONTH} ${NUMERIC_DAY}, ${FULL_YEAR}`, // Jun 25, 2023\n NUMERIC_DATE_YEAR_FIRST = `${FULL_YEAR}-${NUMERIC_MONTH}-${NUMERIC_DAY}`, // 2023-06-25\n NUMERIC_DATE_DAY_FIRST = `${FULL_YEAR}-${NUMERIC_MONTH}-${NUMERIC_DAY}`, // 25-06-2023\n\n // TIME\n MILITARY_HOUR = 'HH',\n MINUTES_TWO_DIGITS = 'mm',\n SECONDS_TWO_DIGITS = 'ss',\n HOUR_MINUTE_SECONDS = `${MILITARY_HOUR}:${MINUTES_TWO_DIGITS}:${SECONDS_TWO_DIGITS}`,\n}\n\nexport type BentoTextInputDateFormat = 'YYYY-MM-DD' | 'DD-MM-YYYY' | 'MM-DD-YYYY';\n"],"names":["toTypedSchema","formSchema","getInitialFormValues","schema","z","key","value","normalizeFormPath","issue","useForm","validationSchema","errors","shallowRef","errorBag","ref","values","cleanErrors","resetForm","submitted","validSchema","error","path","useBentoThemeKey","useBentoTheme","bentoThemeController","inject","printDevelopmentWarning","getSize","modifiers","toggleHighlight","el","binding","enabled","extraPadding","rounded","size","s","applyHighlight","updateHighlight","removeHighlight","BentoHighlightDirective","installToast","Vue","toastStackInjectionKey","createToastStack","BentoTheme","BentoTheme2","getTheme","getThemeForSystemPreference","setTheme","theme","currentTheme","systemTheme","themeToSet","installTheme","themeProvider","plugin","withToast","withUtilityClasses","withDesignTokensCSSInjection","deprecate","BentoBaseFilterProps","BentoBaseFilterEvents","DateFormat","DateFormat2"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBO,SAAAA,EAAAC,GAAA;AACH,SAAAA;AACJ;AA4BA,SAAAC,EAAAC,GAAA;AACI,MAAAC,KAAAD,aAAAC,EAAA;AACI,WAAA,OAAA;AAAA,MAAc,OAAA,QAAAD,EAAA,KAAA,EAAA,IAAA,CAAA,CAAAE,GAAAC,CAAA,MAENF,KAAAE,aAAAF,EAAA,aAEI,CAAAC,GAAAC,EAAA,KAAA,aAAA,CAAA,IAGJF,KAAAE,aAAAF,EAAA,YACI,CAAAC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icon.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as e } from "./chunks/info-icon.B3MDsjMu.js";
1
+ import { B as e } from "./chunks/info-icon.PcvZwhgr.js";
2
2
  export {
3
3
  e as BentoInfoIcon
4
4
  };
@@ -1,4 +1,4 @@
1
- import { i as a, m as s, r as i, a as c, b as u, c as o } from "./chunks/input-field-password.CpRKmq4h.js";
1
+ import { i as a, m as s, r as i, a as c, b as u, c as o } from "./chunks/input-field-password.CeG5ZP5I.js";
2
2
  export {
3
3
  a as BentoInputFieldPassword,
4
4
  s as minLength,
@@ -1,4 +1,4 @@
1
- import { i as o, B as t } from "./chunks/input-field-phone-number.BZy1o9VW.js";
1
+ import { i as o, B as t } from "./chunks/input-field-phone-number.86z6mzPz.js";
2
2
  export {
3
3
  o as BentoInputFieldPhoneNumber,
4
4
  t as BentoInputFieldPhoneNumberCountries
@@ -1,4 +1,4 @@
1
- import { B as n, a, b as o, c as i, d as s, e as l } from "./chunks/input-field.BseE_MT0.js";
1
+ import { B as n, a, b as o, c as i, d as s, e as l } from "./chunks/input-field.B7wHgguP.js";
2
2
  export {
3
3
  n as BentoInputField,
4
4
  a as BentoInputFieldElementPosition,
@@ -1,4 +1,4 @@
1
- import { B as t } from "./chunks/input-time.DAxp5Kku.js";
1
+ import { B as t } from "./chunks/input-time.PpFtmHYm.js";
2
2
  export {
3
3
  t as BentoInputTime
4
4
  };
package/dist/inspector.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as t } from "./chunks/inspector.DMhKNW1K.js";
1
+ import { B as t } from "./chunks/inspector.BNZxnDFh.js";
2
2
  import { B as n } from "./chunks/inspector.types.DyHwE18g.js";
3
3
  export {
4
4
  t as BentoInspector,
package/dist/internal.js CHANGED
@@ -1,17 +1,17 @@
1
- import { d as e, e as t } from "./chunks/button-actions.7Oi2Ra4p.js";
2
- import { B as s, D as i, a as n, b as p } from "./chunks/dialog-page.Bh-7RAwX.js";
3
- import { b as C, u as x, c as I } from "./chunks/use-cached-selected-values.DUWGSMvO.js";
4
- import { B as f, a as m, T as E } from "./chunks/tooltip.DHfG2aRt.js";
5
- import { B as d } from "./chunks/button-actions-with-menu.KaWdHibo.js";
6
- import { b as G, c as O, C as u, d as B, a as A } from "./chunks/calendar.DfMwuOIR.js";
7
- import { C as P } from "./chunks/controls-group.DqRpF9bh.js";
8
- import { C as b, a as g } from "./chunks/copy.CL893i9-.js";
1
+ import { d as e, e as t } from "./chunks/button-actions.Dp3VkQWU.js";
2
+ import { B as s, D as i, a as n, b as p } from "./chunks/dialog-page.DM3Lie55.js";
3
+ import { b as C, u as x, c as I } from "./chunks/use-cached-selected-values.D_CQxKZa.js";
4
+ import { B as f, a as m, T as E } from "./chunks/tooltip.CZ_sV-Vj.js";
5
+ import { B as d } from "./chunks/button-actions-with-menu.DVMjHT7W.js";
6
+ import { b as G, c as O, C as u, d as B, a as A } from "./chunks/calendar.DPSJK8zi.js";
7
+ import { C as P } from "./chunks/controls-group.i2Lxh7sB.js";
8
+ import { C as b, a as g } from "./chunks/copy.C4LTKtNj.js";
9
9
  import { E as D } from "./chunks/error-message.Dyvrw6ZB.js";
10
- import { F as S } from "./chunks/field-label.DZYFjFgr.js";
10
+ import { F as S } from "./chunks/field-label.B_E_3J8j.js";
11
11
  import { F as W } from "./chunks/fixed-scroller.yVsaQzy5.js";
12
12
  import { G as v, a as H } from "./chunks/grid-layout.CCWNscU_.js";
13
- import { H as K, I as R } from "./chunks/header-meta.BJjFOcxY.js";
14
- import { L as U } from "./chunks/listbox-option-tag.CVxaZqbc.js";
13
+ import { H as K, I as R } from "./chunks/header-meta.BCyK7ndE.js";
14
+ import { L as U } from "./chunks/listbox-option-tag.ByoUG-fO.js";
15
15
  export {
16
16
  e as BUTTON_ACTIONS_WITH_MENU_CONTAINER_INJECTION_KEY,
17
17
  s as BentoDialogPageAnimation,
package/dist/layout.js CHANGED
@@ -1,4 +1,4 @@
1
- import { l as t, a as e } from "./chunks/layout-row.B5VJGEQH.js";
1
+ import { l as t, a as e } from "./chunks/layout-row.ByVDza7f.js";
2
2
  export {
3
3
  t as BentoLayout,
4
4
  e as BentoLayoutRow
package/dist/list.js CHANGED
@@ -1,4 +1,4 @@
1
- import { l as o, a as s } from "./chunks/list-item.BHvXpqaS.js";
1
+ import { l as o, a as s } from "./chunks/list-item.B2tBYsTW.js";
2
2
  export {
3
3
  o as BentoList,
4
4
  s as BentoListItem
package/dist/menu.js CHANGED
@@ -1,4 +1,4 @@
1
- import { f as o, g as t } from "./chunks/button-actions.7Oi2Ra4p.js";
1
+ import { f as o, g as t } from "./chunks/button-actions.Dp3VkQWU.js";
2
2
  export {
3
3
  o as BentoMenu,
4
4
  t as BentoMenuEvent
@@ -1,4 +1,4 @@
1
- import { m as o, B as a } from "./chunks/modal-fullscreen.CepaWyoi.js";
1
+ import { m as o, B as a } from "./chunks/modal-fullscreen.DmnnwPRi.js";
2
2
  export {
3
3
  o as BentoModalFullscreen,
4
4
  a as BentoModalFullscreenPage
package/dist/modal.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as e } from "./chunks/modal.vue_vue_type_script_setup_true_lang.Bh_GY-Ah.js";
2
- import { B as n, a as l, b as d, c as B, d as M, e as s, f as r, g as i } from "./chunks/base-modal.C8Rsc2oO.js";
1
+ import { _ as e } from "./chunks/modal.vue_vue_type_script_setup_true_lang.2GzUt81U.js";
2
+ import { B as n, a as l, b as d, c as B, d as M, e as s, f as r, g as i } from "./chunks/base-modal.Dzvnfomn.js";
3
3
  export {
4
4
  e as BentoModal,
5
5
  n as BentoModalColumnLayoutVariant,
@@ -0,0 +1,7 @@
1
+ import { n as o, a as e, b as t } from "./chunks/navigation-menu-group.DeDmNZ4C.js";
2
+ export {
3
+ o as BentoNavigationMenu,
4
+ e as BentoNavigationMenuGroup,
5
+ t as BentoNavigationMenuItem
6
+ };
7
+ //# sourceMappingURL=navigation-menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-menu.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,4 +1,4 @@
1
- import { B as n } from "./chunks/pagination.Ch_Occwt.js";
1
+ import { B as n } from "./chunks/pagination.DE2QAUeF.js";
2
2
  export {
3
3
  n as BentoPagination
4
4
  };
package/dist/popover.js CHANGED
@@ -1,5 +1,5 @@
1
- import { h as r } from "./chunks/button-actions.7Oi2Ra4p.js";
2
- import { B as p } from "./chunks/popover.types.D8tHtFl3.js";
1
+ import { h as r } from "./chunks/button-actions.Dp3VkQWU.js";
2
+ import { B as p } from "./chunks/popover.types.DTieDKDn.js";
3
3
  export {
4
4
  r as BentoPopover,
5
5
  p as BentoPopoverPositions
@@ -1,4 +1,4 @@
1
- import { P as n, a, b as i, c as r, d as p } from "./chunks/popper-container.DMN8n5iC.js";
1
+ import { P as n, a, b as i, c as r, d as p } from "./chunks/popper-container.Agl6sImi.js";
2
2
  export {
3
3
  n as PopperContainer,
4
4
  a as PopperContainerAriaRole,
@@ -1,4 +1,4 @@
1
- import { p as r, B as a, a as e } from "./chunks/promo-banner.-H4r_cwj.js";
1
+ import { p as r, B as a, a as e } from "./chunks/promo-banner.DMmSl_ca.js";
2
2
  export {
3
3
  r as BentoPromoBanner,
4
4
  a as BentoPromoBannerColor,
@@ -1,4 +1,4 @@
1
- import { B as t, a as e, b as n } from "./chunks/radio-group.CfMr1fmW.js";
1
+ import { B as t, a as e, b as n } from "./chunks/radio-group.BxJS4qfR.js";
2
2
  import { R as B } from "./chunks/radio-input.FC4PVCHr.js";
3
3
  export {
4
4
  t as BentoRadioButton,
@@ -1,4 +1,4 @@
1
- import { r as t } from "./chunks/rich-text-editor.CSvPpLth.js";
1
+ import { r as t } from "./chunks/rich-text-editor.By4B8RWI.js";
2
2
  export {
3
3
  t as BentoRichTextEditor
4
4
  };
@@ -1,5 +1,5 @@
1
- import { B as r, a as t, b as B } from "./chunks/search-bar.BRf_Mf7n.js";
2
- import { u as o } from "./chunks/dropdown.CuIBYLdy.js";
1
+ import { B as r, a as t, b as B } from "./chunks/search-bar.7jhPiuah.js";
2
+ import { u as o } from "./chunks/dropdown.B4pTluCz.js";
3
3
  export {
4
4
  r as BentoSearchBar,
5
5
  t as BentoSearchBarEvent,
@@ -1,4 +1,4 @@
1
- import { s as e } from "./chunks/secondary-nav.CROQNbYk.js";
1
+ import { s as e } from "./chunks/secondary-nav.CuhX-Akn.js";
2
2
  export {
3
3
  e as BentoSecondaryNav
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as t } from "./chunks/segmented-control.CQWOO1-J.js";
1
+ import { B as t } from "./chunks/segmented-control.DQSuLjJX.js";
2
2
  import { B as r } from "./chunks/segmented-control.types.BHRLV8KU.js";
3
3
  export {
4
4
  t as BentoSegmentedControl,
@@ -1,4 +1,4 @@
1
- import { B as t, s as a, a as n } from "./chunks/selection-card-group.58XZj_SJ.js";
1
+ import { B as t, s as a, a as n } from "./chunks/selection-card-group.DmqSNQPQ.js";
2
2
  export {
3
3
  t as BentoSelectionCard,
4
4
  a as BentoSelectionCardGroup,
package/dist/sidepanel.js CHANGED
@@ -1,4 +1,4 @@
1
- import { s as n, B as o, a as t } from "./chunks/sidepanel.S037xghX.js";
1
+ import { s as n, B as o, a as t } from "./chunks/sidepanel.EKe43ODO.js";
2
2
  export {
3
3
  n as BentoSidepanel,
4
4
  o as BentoSidepanelEvent,
@@ -1,4 +1,4 @@
1
- import { B as r, a as o } from "./chunks/structured-list-item.CgJR_ufh.js";
1
+ import { B as r, a as o } from "./chunks/structured-list-item.BkPA7std.js";
2
2
  export {
3
3
  r as BentoStructuredList,
4
4
  o as BentoStructuredListItem
@@ -242,6 +242,9 @@
242
242
  --b-color-background-inverse-primary-active: #b4b4b4;
243
243
  --b-color-background-inverse-primary-hover: #cbcbcb;
244
244
  --b-color-background-inverse-primary: #ededed;
245
+ --b-color-background-navigation-active: #00582c;
246
+ --b-color-background-navigation-hover: #004724;
247
+ --b-color-background-navigation: #00381d;
245
248
  --b-color-background-highlight-strong: #84b9ed;
246
249
  --b-color-background-highlight-weak: #00305f;
247
250
  --b-color-background-success-strong: #00d16a;
@@ -240,6 +240,9 @@
240
240
  --b-color-background-inverse-primary-active: #6c7782;
241
241
  --b-color-background-inverse-primary-hover: #5c6874;
242
242
  --b-color-background-inverse-primary: #001222;
243
+ --b-color-background-navigation-active: #9dedc6;
244
+ --b-color-background-navigation-hover: #b8f2d6;
245
+ --b-color-background-navigation: #cef6e2;
243
246
  --b-color-background-highlight-strong: #0f75dc;
244
247
  --b-color-background-highlight-weak: #f0f6fd;
245
248
  --b-color-background-success-strong: #008845;
@@ -240,6 +240,9 @@
240
240
  --b-color-background-inverse-primary-active: #6c7782;
241
241
  --b-color-background-inverse-primary-hover: #5c6874;
242
242
  --b-color-background-inverse-primary: #001222;
243
+ --b-color-background-navigation-active: #9dedc6;
244
+ --b-color-background-navigation-hover: #b8f2d6;
245
+ --b-color-background-navigation: #cef6e2;
243
246
  --b-color-background-highlight-strong: #0f75dc;
244
247
  --b-color-background-highlight-weak: #f0f6fd;
245
248
  --b-color-background-success-strong: #008845;
@@ -240,6 +240,9 @@
240
240
  --b-color-background-inverse-primary-active: #6c7782;
241
241
  --b-color-background-inverse-primary-hover: #5c6874;
242
242
  --b-color-background-inverse-primary: #001222;
243
+ --b-color-background-navigation-active: #9dedc6;
244
+ --b-color-background-navigation-hover: #b8f2d6;
245
+ --b-color-background-navigation: #cef6e2;
243
246
  --b-color-background-highlight-strong: #0f75dc;
244
247
  --b-color-background-highlight-weak: #f0f6fd;
245
248
  --b-color-background-success-strong: #008845;
@@ -295,6 +295,9 @@
295
295
  --b-color-background-inverse-primary-active: #6c7782;
296
296
  --b-color-background-inverse-primary-hover: #5c6874;
297
297
  --b-color-background-inverse-primary: #001222;
298
+ --b-color-background-navigation-active: #9dedc6;
299
+ --b-color-background-navigation-hover: #b8f2d6;
300
+ --b-color-background-navigation: #cef6e2;
298
301
  --b-color-background-highlight-strong: #0f75dc;
299
302
  --b-color-background-highlight-weak: #f0f6fd;
300
303
  --b-color-background-success-strong: #008845;
@@ -94,6 +94,15 @@
94
94
  .b-color-background-highlight-strong {
95
95
  background-color: #0f75dc;
96
96
  }
97
+ .b-color-background-navigation {
98
+ background-color: #cef6e2;
99
+ }
100
+ .b-color-background-navigation-hover {
101
+ background-color: #b8f2d6;
102
+ }
103
+ .b-color-background-navigation-active {
104
+ background-color: #9dedc6;
105
+ }
97
106
  .b-color-background-inverse-primary {
98
107
  background-color: #001222;
99
108
  }
@@ -1,4 +1,4 @@
1
- import { s as r, a as t, _ as a, b as o, c as i, B as n, d as u, e as d } from "./chunks/summary-grid.types.D1JQ_jtv.js";
1
+ import { s as r, a as t, _ as a, b as o, c as i, B as n, d as u, e as d } from "./chunks/summary-grid.types.BXqnRVnK.js";
2
2
  export {
3
3
  r as BentoSummaryGrid,
4
4
  t as BentoSummaryGridItemAmount,
package/dist/tag.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as t, a as e } from "./chunks/tag.YN2r-Pp3.js";
1
+ import { B as t, a as e } from "./chunks/tag.DkhJRE0r.js";
2
2
  export {
3
3
  t as BentoTag,
4
4
  e as BentoTagVariant
package/dist/textarea.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as o } from "./chunks/textarea.-6FHesSp.js";
1
+ import { B as o } from "./chunks/textarea.Cn52prhR.js";
2
2
  export {
3
3
  o as BentoTextarea
4
4
  };
package/dist/timeline.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t, B as i, a, b as m, c as o, d as l } from "./chunks/timeline-item.BJaFr2_Y.js";
1
+ import { t, B as i, a, b as m, c as o, d as l } from "./chunks/timeline-item.C6jPnHUZ.js";
2
2
  export {
3
3
  t as BentoTimeline,
4
4
  i as BentoTimelineGapUnit,
package/dist/tutorial.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as t } from "./chunks/tutorial.vue_vue_type_script_setup_true_lang.D_Z1zKam.js";
1
+ import { _ as t } from "./chunks/tutorial.vue_vue_type_script_setup_true_lang.Z5MhMTSh.js";
2
2
  export {
3
3
  t as BentoTutorial
4
4
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@adyen/bento-vue3",
4
- "version": "1.92.2",
4
+ "version": "1.93.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.92.2",
3
+ "version": "1.93.0",
4
4
  "description": "Adyen Bento Vue 3 components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -48,7 +48,7 @@
48
48
  "unified": "11.0.5",
49
49
  "uuid": "11.0.5",
50
50
  "vue-demi": "0.14.10",
51
- "@adyen/bento-design-tokens": "1.92.2"
51
+ "@adyen/bento-design-tokens": "1.93.0"
52
52
  },
53
53
  "dependenciesMeta": {
54
54
  "@adyen/bento-vue-i18n-demi": {
@@ -103,7 +103,7 @@
103
103
  "storybook": "9.1.19",
104
104
  "tsc-alias": "1.8.11",
105
105
  "typescript": "5.6.3",
106
- "vite": "7.3.1",
106
+ "vite": "7.3.2",
107
107
  "vite-plugin-css-injected-by-js": "2.4.0",
108
108
  "vite-plugin-dynamic-import": "1.5.0",
109
109
  "vite-plugin-static-copy": "3.2.0",
@@ -116,8 +116,8 @@
116
116
  "zod": "3.25.35",
117
117
  "@adyen/bento-core": "0.0.1",
118
118
  "@adyen/bento-vue-i18n-demi": "0.1.0",
119
- "@adyen/ui-assets-icons-16": "7.9.0",
120
- "@adyen/ui-assets-payment-method-icons": "10.8.1"
119
+ "@adyen/ui-assets-icons-16": "7.9.1",
120
+ "@adyen/ui-assets-payment-method-icons": "10.8.2"
121
121
  },
122
122
  "scripts": {
123
123
  "build": "pnpm run build:prod",
@@ -1 +0,0 @@
1
- {"version":3,"file":"es6.C1DXQV6f.js","sources":["../../../design-tokens/dist/js/bento/es6.js"],"sourcesContent":["export const BColorBackgroundPrimary = \"#ffffff\";\nexport const BColorBackgroundPrimaryHover = \"#f4f5f6\";\nexport const BColorBackgroundPrimaryActive = \"#ecedef\";\nexport const BColorBackgroundSecondary = \"#f4f5f6\";\nexport const BColorBackgroundSecondaryHover = \"#ecedef\";\nexport const BColorBackgroundSecondaryActive = \"#e2e5e7\";\nexport const BColorBackgroundTertiary = \"#ecedef\";\nexport const BColorBackgroundTertiaryHover = \"#e2e5e7\";\nexport const BColorBackgroundTertiaryActive = \"#dadddf\";\nexport const BColorBackgroundQuaternary = \"#c0c5ca\";\nexport const BColorBackgroundQuaternaryHover = \"#b7bdc2\";\nexport const BColorBackgroundQuaternaryActive = \"#aeb5ba\";\nexport const BColorBackgroundModal = \"#ffffff\";\nexport const BColorBackgroundModalHover = \"#f4f5f6\";\nexport const BColorBackgroundModalActive = \"#ecedef\";\nexport const BColorBackgroundDisabled = \"#ecedef\";\nexport const BColorBackgroundSelected = \"#e3effb\";\nexport const BColorBackgroundSelectedHover = \"#d4e6f9\";\nexport const BColorBackgroundSelectedActive = \"#c8dff7\";\nexport const BColorBackgroundSpotlight = \"#ffe379\";\nexport const BColorBackgroundCriticalWeak = \"#fff3ef\";\nexport const BColorBackgroundCriticalStrong = \"#dc3801\";\nexport const BColorBackgroundCriticalStrongHover = \"#c13101\";\nexport const BColorBackgroundCriticalStrongActive = \"#751e00\";\nexport const BColorBackgroundWarningWeak = \"#fff4e5\";\nexport const BColorBackgroundWarningWeakHover = \"#ffecd0\";\nexport const BColorBackgroundWarningWeakActive = \"#ffe0b3\";\nexport const BColorBackgroundWarningStrong = \"#d77f00\";\nexport const BColorBackgroundSuccessWeak = \"#e4faef\";\nexport const BColorBackgroundSuccessStrong = \"#008845\";\nexport const BColorBackgroundHighlightWeak = \"#f0f6fd\";\nexport const BColorBackgroundHighlightStrong = \"#0f75dc\";\nexport const BColorBackgroundInversePrimary = \"#001222\";\nexport const BColorBackgroundInversePrimaryHover = \"#5c6874\";\nexport const BColorBackgroundInversePrimaryActive = \"#6c7782\";\nexport const BColorBackgroundInverseSecondary = \"#1a2b3b\";\nexport const BColorBackgroundInverseSecondaryHover = \"#273746\";\nexport const BColorBackgroundInverseSecondaryActive = \"#364553\";\nexport const BColorBackgroundInverseDisabled = \"#273746\";\nexport const BColorBackgroundInverseCriticalWeak = \"#5c1800\";\nexport const BColorBackgroundInverseCriticalStrong = \"#ff9a78\";\nexport const BColorBackgroundInverseCriticalStrongHover = \"#ffbda6\";\nexport const BColorBackgroundInverseCriticalStrongActive = \"#ffded3\";\nexport const BColorBackgroundAlwaysLight = \"#ffffff\";\nexport const BColorBackgroundAlwaysLightHover = \"#f4f5f6\";\nexport const BColorBackgroundAlwaysLightActive = \"#ecedef\";\nexport const BColorBackgroundAlwaysLightDisabled = \"#ecedef\";\nexport const BColorBackgroundAlwaysLightSelected = \"#e3effb\";\nexport const BColorBackgroundAlwaysDark = \"#001222\";\nexport const BColorBackgroundAlwaysDarkHover = \"#5c6874\";\nexport const BColorBackgroundAlwaysDarkActive = \"#8c959d\";\nexport const BColorBackgroundAlwaysDarkDisabled = \"#ecedef\";\nexport const BColorBackgroundAlwaysDarkSelected = \"#00305f\";\nexport const BColorBackgroundAlwaysDarkPrimary = \"#001222\";\nexport const BColorBackgroundAlwaysDarkPrimaryHover = \"#132434\";\nexport const BColorBackgroundAlwaysDarkPrimaryActive = \"#213140\";\nexport const BColorBackgroundAlwaysDarkPrimaryDisabled = \"#ecedef\";\nexport const BColorBackgroundAlwaysDarkPrimarySelected = \"#00305f\";\nexport const BColorBackgroundAlwaysDarkSecondary = \"#213140\";\nexport const BColorBackgroundAlwaysDarkSecondaryHover = \"#364553\";\nexport const BColorBackgroundAlwaysDarkSecondaryActive = \"#455460\";\nexport const BColorBackgroundAlwaysDarkSecondaryDisabled = \"#ecedef\";\nexport const BColorBackgroundAlwaysDarkSecondarySelected = \"#00305f\";\nexport const BColorBackgroundAlwaysDarkTertiary = \"#2f3e4d\";\nexport const BColorBackgroundAlwaysDarkTertiaryHover = \"#3d4c5a\";\nexport const BColorBackgroundAlwaysDarkTertiaryActive = \"#455460\";\nexport const BColorBackgroundAlwaysDarkTertiaryDisabled = \"#ecedef\";\nexport const BColorBackgroundAlwaysDarkTertiarySelected = \"#00305f\";\nexport const BColorLabelPrimary = \"#001222\";\nexport const BColorLabelPrimaryHover = \"#5c6874\";\nexport const BColorLabelPrimaryActive = \"#6c7782\";\nexport const BColorLabelSecondary = \"#5c6874\";\nexport const BColorLabelTertiary = \"#8c959d\";\nexport const BColorLabelDisabled = \"#8c959d\";\nexport const BColorLabelCritical = \"#dc3801\";\nexport const BColorLabelCriticalHover = \"#c13101\";\nexport const BColorLabelCriticalActive = \"#751e00\";\nexport const BColorLabelWarning = \"#ab6600\";\nexport const BColorLabelHighlight = \"#0f75dc\";\nexport const BColorLabelSuccess = \"#008845\";\nexport const BColorLabelOnColor = \"#ffffff\";\nexport const BColorLabelInversePrimary = \"#ffffff\";\nexport const BColorLabelInversePrimaryHover = \"#f4f5f6\";\nexport const BColorLabelInversePrimaryActive = \"#ecedef\";\nexport const BColorLabelInverseSecondary = \"#9da5ac\";\nexport const BColorLabelInverseDisabled = \"#737e88\";\nexport const BColorLabelInverseCritical = \"#ff9a78\";\nexport const BColorLabelInverseCriticalHover = \"#ffbda6\";\nexport const BColorLabelInverseCriticalActive = \"#ffded3\";\nexport const BColorLabelOnBackgroundCriticalWeak = \"#c13101\";\nexport const BColorLabelOnBackgroundWarningWeak = \"#955900\";\nexport const BColorLabelOnBackgroundSuccessWeak = \"#00773c\";\nexport const BColorLabelOnBackgroundHighlightWeak = \"#0065c9\";\nexport const BColorLabelAlwaysLight = \"#ffffff\";\nexport const BColorLabelAlwaysLightPrimary = \"#ecedef\";\nexport const BColorLabelAlwaysLightPrimaryHover = \"#c8ccd0\";\nexport const BColorLabelAlwaysLightPrimaryActive = \"#959da5\";\nexport const BColorLabelAlwaysLightSecondary = \"#a6adb3\";\nexport const BColorLabelAlwaysLightSecondaryHover = \"#959da5\";\nexport const BColorLabelAlwaysLightSecondaryActive = \"#737e88\";\nexport const BColorLabelAlwaysLightTertiary = \"#848d96\";\nexport const BColorLabelAlwaysLightTertiaryHover = \"#737e88\";\nexport const BColorLabelAlwaysLightTertiaryActive = \"#54616d\";\nexport const BColorLabelAlwaysDark = \"#001222\";\nexport const BColorLinkPrimary = \"#0065c9\";\nexport const BColorLinkPrimaryHover = \"#0f75dc\";\nexport const BColorLinkPrimaryActive = \"#0f75dc\";\nexport const BColorLinkPrimaryDisabled = \"#8c959d\";\nexport const BColorLinkPrimaryVisited = \"#540884\";\nexport const BColorLinkPrimaryVisitedHover = \"#710ab3\";\nexport const BColorLinkPrimaryVisitedActive = \"#710ab3\";\nexport const BColorLinkQuiet = \"#001222\";\nexport const BColorLinkQuietHover = \"#5c6874\";\nexport const BColorLinkQuietActive = \"#5c6874\";\nexport const BColorLinkQuietDisabled = \"#8c959d\";\nexport const BColorOutlinePrimary = \"#dadddf\";\nexport const BColorOutlinePrimaryHover = \"#c8ccd0\";\nexport const BColorOutlinePrimaryActive = \"#001222\";\nexport const BColorOutlineSecondary = \"#c8ccd0\";\nexport const BColorOutlineSecondaryHover = \"#b7bdc2\";\nexport const BColorOutlineSecondaryActive = \"#001222\";\nexport const BColorOutlineTertiary = \"#8c959d\";\nexport const BColorOutlineTertiaryHover = \"#6c7782\";\nexport const BColorOutlineTertiaryActive = \"#001222\";\nexport const BColorOutlineDisabled = \"#dadddf\";\nexport const BColorOutlineSelected = \"#001222\";\nexport const BColorOutlineCritical = \"#dc3801\";\nexport const BColorOutlineCriticalHover = \"#c13101\";\nexport const BColorOutlineCriticalActive = \"#751e00\";\nexport const BColorOutlineSuccess = \"#008845\";\nexport const BColorOutlineSuccessHover = \"#00773c\";\nexport const BColorOutlineSuccessActive = \"#004724\";\nexport const BColorOutlineInversePrimary = \"#2f3e4d\";\nexport const BColorOutlineInversePrimaryHover = \"#6c7782\";\nexport const BColorOutlineInversePrimaryActive = \"#9da5ac\";\nexport const BColorOutlineInverseDisabled = \"#455460\";\nexport const BColorOutlineInverseCritical = \"#ff9a78\";\nexport const BColorOutlineInverseCriticalHover = \"#ffbda6\";\nexport const BColorOutlineInverseCriticalActive = \"#ffded3\";\nexport const BColorSeparatorPrimary = \"#dadddf\";\nexport const BColorSeparatorSecondary = \"#c8ccd0\";\nexport const BColorSeparatorInversePrimary = \"#2f3e4d\";\nexport const BColorSeparatorInverseSecondary = \"#5c6874\";\nexport const BColorDecorativeGreen = \"#00d16a\";\nexport const BColorDecorativeBlue = \"#006bd7\";\nexport const BColorDecorativeYellow = \"#f9c500\";\nexport const BColorDecorativeOrange = \"#f99300\";\nexport const BColorDecorativeRed = \"#f73f01\";\nexport const BColorDecorativeGrey = \"#848d96\";\nexport const BColorSupportOverlay = \"#001222\";\nexport const BColorSupportShadow = \"#001222\";\nexport const BFocusRingColor = \"#0f75dc\";\nexport const BFocusRingSpacer = \"1px\";\nexport const BFocusRingOutline = \"3px\";\nexport const BTextFontVariantNumeric = \"normal\";\nexport const BTextRichTextHeadingMargin = \"32px 0 10px 0\";\nexport const BTextRichTextHeadingFontWeight = 700;\nexport const BTextRichTextParagraphMargin = \"0 0 8px 0\";\nexport const BTextRichTextListPaddingLeft = \"20px\";\nexport const BTextRichTextListMargin = \"0 0 4px 0\";\nexport const BTextRichTextCodeBackgroundColor = \"#f4f5f6\";\nexport const BTextRichTextCodeFontFamily = \"'Adyen Mono', 'Roboto Mono', 'Oxygen Mono', 'IBM Plex Mono', 'Courier New', monospace\";\nexport const BTextRichTextCodeFontWeight = 500;\nexport const BTextRichTextPreMargin = \"16px 0 16px 0\";\nexport const BTextRichTextPrePadding = \"10px 16px\";\nexport const BTextRichTextPreLineHeight = \"24px\";\nexport const BTextRichTextMarkBackgroundColor = \"#f0f6fd\";\nexport const BTextRichTextBlockquoteFontWeight = 500;\nexport const BTextRichTextBlockquoteMargin = \"16px 0 16px 16px\";\nexport const BTextRichTextTableBorder = \"1px solid #dadddf\";\nexport const BTextRichTextTableLineHeight = \"20px\";\nexport const BTextRichTextTableMargin = \"16px 0 16px 0\";\nexport const BTextRichTextTablePadding = \"10px 16px\";\nexport const BTextRichTextTableHeaderFontWeight = 700;\nexport const BTextRichTextTableCaptionLineHeight = \"20px\";\nexport const BTextRichTextTableCaptionMargin = \"0 0 6px 0\";\nexport const BTextRichTextCaptionParagraphMargin = \"0 0 6px 0\";\nexport const BTextRichTextCaptionListPaddingLeft = \"16px\";\nexport const BTextRichTextCaptionListMargin = \"0 0 2px 0\";\nexport const BTextRichTextCaptionBlockquoteMargin = \"12px 0 12px 16px\";\nexport const BTextRichTextCaptionPreLineHeight = \"20px\";\nexport const BTextRichTextCaptionTablePadding = \"8px 12px\";\nexport const BTextCaptionFontFamily = \"'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif\";\nexport const BTextCaptionFontFamilySecondary = \"'Adyen Mono', 'Roboto Mono', 'Oxygen Mono', 'IBM Plex Mono', 'Courier New', monospace\";\nexport const BTextCaptionFontSize = \"12px\";\nexport const BTextCaptionFontWeight = 400;\nexport const BTextCaptionLineHeight = \"18px\";\nexport const BTextCaptionLetterSpacing = 0;\nexport const BTextCaptionWideLineHeight = \"20px\";\nexport const BTextCaptionStrongerFontWeight = 500;\nexport const BTextCaptionStrongerWideFontWeight = 500;\nexport const BTextCaptionStrongerWideLineHeight = \"20px\";\nexport const BTextBodyFontFamily = \"'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif\";\nexport const BTextBodyFontFamilySecondary = \"'Adyen Mono', 'Roboto Mono', 'Oxygen Mono', 'IBM Plex Mono', 'Courier New', monospace\";\nexport const BTextBodyFontSize = \"14px\";\nexport const BTextBodyFontWeight = 400;\nexport const BTextBodyLineHeight = \"20px\";\nexport const BTextBodyLetterSpacing = 0;\nexport const BTextBodyWideLineHeight = \"24px\";\nexport const BTextBodyStrongerFontWeight = 500;\nexport const BTextBodyStrongerWideFontWeight = 500;\nexport const BTextBodyStrongerWideLineHeight = \"24px\";\nexport const BTextBodyStrongestFontWeight = 600;\nexport const BTextBodyStrongestWideFontWeight = 600;\nexport const BTextBodyStrongestWideLineHeight = \"24px\";\nexport const BTextSubtitleFontFamily = \"'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif\";\nexport const BTextSubtitleFontSize = \"16px\";\nexport const BTextSubtitleFontWeight = 500;\nexport const BTextSubtitleLineHeight = \"26px\";\nexport const BTextSubtitleLetterSpacing = 0;\nexport const BTextSubtitleStrongerFontWeight = 600;\nexport const BTextTitleFontFamily = \"'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif\";\nexport const BTextTitleFontFamilySecondary = \"'Adyen Mono', 'Roboto Mono', 'Oxygen Mono', 'IBM Plex Mono', 'Courier New', monospace\";\nexport const BTextTitleFontSize = \"16px\";\nexport const BTextTitleFontWeight = 600;\nexport const BTextTitleLineHeight = \"26px\";\nexport const BTextTitleLetterSpacing = 0;\nexport const BTextTitleMobileFontSize = \"16px\";\nexport const BTextTitleMobileLineHeight = \"26px\";\nexport const BTextTitleMFontFamily = \"'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif\";\nexport const BTextTitleMFontFamilySecondary = \"'Adyen Mono', 'Roboto Mono', 'Oxygen Mono', 'IBM Plex Mono', 'Courier New', monospace\";\nexport const BTextTitleMFontSize = \"20px\";\nexport const BTextTitleMFontWeight = 600;\nexport const BTextTitleMLineHeight = \"30px\";\nexport const BTextTitleMLetterSpacing = 0;\nexport const BTextTitleMMobileFontSize = \"18px\";\nexport const BTextTitleMMobileLineHeight = \"28px\";\nexport const BTextTitleLFontFamily = \"'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif\";\nexport const BTextTitleLFontFamilySecondary = \"'Adyen Mono', 'Roboto Mono', 'Oxygen Mono', 'IBM Plex Mono', 'Courier New', monospace\";\nexport const BTextTitleLFontSize = \"24px\";\nexport const BTextTitleLFontWeight = 600;\nexport const BTextTitleLLineHeight = \"34px\";\nexport const BTextTitleLLetterSpacing = 0;\nexport const BTextTitleLMobileFontSize = \"20px\";\nexport const BTextTitleLMobileLineHeight = \"30px\";\nexport const BZIndexGlobalScreen = \"auto\";\nexport const BZIndexGlobalElevated = 5;\nexport const BZIndexGlobalNavigation = 10;\nexport const BZIndexGlobalInstantInteraction = 15;\nexport const BZIndexLocalTier1 = 1;\nexport const BZIndexLocalTier2 = 2;\nexport const BZIndexLocalTier3 = 3;\nexport const BZIndexLocalTier4 = 4;\nexport const BPopoverZIndex = 5;\nexport const BToastWidth = \"420px\";\nexport const BToastSpacingInner = \"12px\";\nexport const BToastSpacingOuter = \"16px\";\nexport const BToastItemSpacing = \"16px\";\nexport const BToastItemZIndex = 15;\nexport const BTooltipBackgroundColor = \"#001222\";\nexport const BTooltipBorderRadius = \"4px\";\nexport const BTooltipColor = \"#ffffff\";\nexport const BTooltipMaxWidth = \"300px\";\nexport const BTooltipPadding = \"4px 8px\";\nexport const BTooltipZIndex = 5;\nexport const BAnimationEasingStandard = \"cubic-bezier(0.2, 0, 0.4, 0.9)\";\nexport const BAnimationEasingEnter = \"cubic-bezier(0.12, 0.6, 0.4, 0.95)\";\nexport const BAnimationEasingExit = \"cubic-bezier(0.4, 0, 1, 1)\";\nexport const BAnimationEasingLinear = \"linear\";\nexport const BAnimationDurationFast = \"100ms\";\nexport const BAnimationDurationModerate = \"150ms\";\nexport const BAnimationDurationSlow = \"250ms\";\nexport const BBorderRadiusXs = \"2px\";\nexport const BBorderRadiusS = \"4px\";\nexport const BBorderRadiusM = \"8px\";\nexport const BBorderRadiusL = \"12px\";\nexport const BBorderRadiusXl = \"24px\";\nexport const BBorderWidthS = \"1px\";\nexport const BBorderWidthM = \"2px\";\nexport const BBorderWidthL = \"3px\";\nexport const BBorderWidthAttention = \"1.5px\";\nexport const BMediaQueryXsMin = \"0px\";\nexport const BMediaQueryXsMax = \"375px\";\nexport const BMediaQuerySMin = \"376px\";\nexport const BMediaQuerySMax = \"499px\";\nexport const BMediaQueryMMin = \"500px\";\nexport const BMediaQueryMMax = \"767px\";\nexport const BMediaQueryLMin = \"768px\";\nexport const BMediaQueryLMax = \"1279px\";\nexport const BMediaQueryXlMin = \"1280px\";\nexport const BMediaQueryXlMax = \"1535px\";\nexport const BMediaQueryXxl = \"1536px\";\nexport const BGradientDataGridHover = \"linear-gradient(270deg, #f4f5f6 0%, rgba(247, 247, 248, .82) 53.34%, rgba(247, 247, 248, .75) 61.73%, rgba(247, 247, 248, .11) 99.25%, rgba(247, 247, 248, 0) 100%)\";\nexport const BGradientDataGridZebraHover = \"linear-gradient(270deg, #ecedef 0%, rgba(236, 237, 239, .82) 53.34%, rgba(236, 237, 239, .75) 61.73%, rgba(236, 237, 239, .11) 99.25%, rgba(236, 237, 239, 0) 100%)\";\nexport const BGradientDataGridSelectedHover = \"linear-gradient(270deg, #d4e6f9 0%, rgba(212, 230, 249, .82) 53.34%, rgba(212, 230, 249, .75) 61.73%, rgba(212, 230, 249, .11) 99.25%, rgba(212, 230, 249, 0) 100%)\";\nexport const BGradientDataGridHighlightedHover = \"linear-gradient(270deg, #ffecd0 0%, rgba(255, 236, 208, .82) 53.34%, rgba(255, 236, 208, .75) 61.73%, rgba(255, 236, 208, .11) 99.25%, rgba(255, 236, 208, 0) 100%)\";\nexport const BShadowLow = \"0px 2px 4px rgba(0, 18, 34, 0.04), 0px 1px 2px rgba(0, 18, 34, 0.02)\";\nexport const BShadowMedium = \"0px 6px 12px rgba(0, 18, 34, 0.08), 0px 2px 4px rgba(0, 18, 34, 0.04)\";\nexport const BShadowHigh = \"0px 18px 36px rgba(0, 18, 34, 0.12), 0px 4px 8px rgba(0, 18, 34, 0.06)\";\nexport const BShadowLowBorder = \"0px 2px 4px rgba(0, 18, 34, 0.04), 0px 1px 2px rgba(0, 18, 34, 0.02), 0px 0px 0px 1px rgba(218, 221, 223, 1)\";\nexport const BShadowMediumBorder = \"0px 6px 12px rgba(0, 18, 34, 0.08), 0px 2px 4px rgba(0, 18, 34, 0.04), 0px 0px 0px 1px rgba(218, 221, 223, 1)\";\nexport const BShadowHighBorder = \"0px 18px 36px rgba(0, 18, 34, 0.12), 0px 4px 8px rgba(0, 18, 34, 0.06), 0px 0px 0px 1px rgba(218, 221, 223, 1)\";\nexport const BSpacer100 = \"32px\";\nexport const BSpacer110 = \"40px\";\nexport const BSpacer120 = \"48px\";\nexport const BSpacer130 = \"56px\";\nexport const BSpacer140 = \"64px\";\nexport const BSpacer000 = \"0px\";\nexport const BSpacer010 = \"2px\";\nexport const BSpacer020 = \"4px\";\nexport const BSpacer030 = \"6px\";\nexport const BSpacer040 = \"8px\";\nexport const BSpacer050 = \"10px\";\nexport const BSpacer060 = \"12px\";\nexport const BSpacer070 = \"16px\";\nexport const BSpacer080 = \"20px\";\nexport const BSpacer090 = \"24px\";\n"],"names":["BColorLabelOnBackgroundCriticalWeak","BColorLabelOnBackgroundWarningWeak","BColorLabelOnBackgroundSuccessWeak","BColorLabelOnBackgroundHighlightWeak","BBorderWidthAttention","BMediaQuerySMax","BMediaQueryMMax","BSpacer040"],"mappings":"AAyFY,MAACA,IAAsC,WACtCC,IAAqC,WACrCC,IAAqC,WACrCC,IAAuC,WAkLvCC,IAAwB,SAIxBC,IAAkB,SAElBC,IAAkB,SAyBlBC,IAAa;"}