@adyen/bento-vue3 1.49.0 → 1.51.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 (307) hide show
  1. package/dist/@types/index.d.ts +441 -657
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/alert.css +1 -1
  8. package/dist/assets/base-modal.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/checkbox-input.css +1 -1
  11. package/dist/assets/copy.css +1 -1
  12. package/dist/assets/data-grid.css +1 -1
  13. package/dist/assets/date-range-picker.css +1 -1
  14. package/dist/assets/dialog-page.css +1 -1
  15. package/dist/assets/dropdown.css +1 -1
  16. package/dist/assets/file-uploader.css +1 -1
  17. package/dist/assets/filter-bar.css +1 -1
  18. package/dist/assets/header.css +1 -1
  19. package/dist/assets/input-field-password.css +1 -1
  20. package/dist/assets/input-field.css +1 -1
  21. package/dist/assets/inspector.css +1 -1
  22. package/dist/assets/link.css +1 -1
  23. package/dist/assets/menu.css +1 -1
  24. package/dist/assets/modal-fullscreen.css +1 -1
  25. package/dist/assets/pagination.css +1 -1
  26. package/dist/assets/payment-method.css +1 -1
  27. package/dist/assets/popover.css +1 -1
  28. package/dist/assets/search-bar.css +1 -1
  29. package/dist/assets/sidepanel.css +1 -1
  30. package/dist/assets/timeline-item.css +1 -1
  31. package/dist/assets/toggle-button.css +1 -1
  32. package/dist/assets/tutorial.css +1 -1
  33. package/dist/assets/use-cached-selected-values.css +1 -1
  34. package/dist/button.js +3 -3
  35. package/dist/card.js +1 -1
  36. package/dist/checkbox.js +3 -3
  37. package/dist/chip.js +1 -1
  38. package/dist/chunks/{accordion-item.Cf184uiI.js → accordion-item.DLyCF015.js} +2 -2
  39. package/dist/chunks/{accordion-item.Cf184uiI.js.map → accordion-item.DLyCF015.js.map} +1 -1
  40. package/dist/chunks/{action-bar.r_Vt4XIu.js → action-bar.BW9db7ja.js} +6 -6
  41. package/dist/chunks/{action-bar.r_Vt4XIu.js.map → action-bar.BW9db7ja.js.map} +1 -1
  42. package/dist/chunks/{alert.Dd2DYCZ1.js → alert.eqWeCHyL.js} +25 -24
  43. package/dist/chunks/alert.eqWeCHyL.js.map +1 -0
  44. package/dist/chunks/{base-modal.Bis0B1AC.js → base-modal.BRYHc9Ez.js} +5 -5
  45. package/dist/chunks/{base-modal.Bis0B1AC.js.map → base-modal.BRYHc9Ez.js.map} +1 -1
  46. package/dist/chunks/{button-actions-with-menu.C5LguXWO.js → button-actions-with-menu.Hl8tUKa4.js} +4 -4
  47. package/dist/chunks/{button-actions-with-menu.C5LguXWO.js.map → button-actions-with-menu.Hl8tUKa4.js.map} +1 -1
  48. package/dist/chunks/{button-actions.ncthaz2m.js → button-actions.BPnsl_QP.js} +4 -4
  49. package/dist/chunks/{button-actions.ncthaz2m.js.map → button-actions.BPnsl_QP.js.map} +1 -1
  50. package/dist/chunks/{button.Cneb6rPP.js → button.6HMG0xEY.js} +2 -2
  51. package/dist/chunks/{button.Cneb6rPP.js.map → button.6HMG0xEY.js.map} +1 -1
  52. package/dist/chunks/{calendar.BdLQOioy.js → calendar.DfN1__E_.js} +3 -3
  53. package/dist/chunks/{calendar.BdLQOioy.js.map → calendar.DfN1__E_.js.map} +1 -1
  54. package/dist/chunks/{card.BAg7yMMT.js → card.BwC4MSjn.js} +3 -3
  55. package/dist/chunks/{card.BAg7yMMT.js.map → card.BwC4MSjn.js.map} +1 -1
  56. package/dist/chunks/{checkbox-group.CxWYSBy1.js → checkbox-group.Bzd-qpJ-.js} +4 -4
  57. package/dist/chunks/{checkbox-group.CxWYSBy1.js.map → checkbox-group.Bzd-qpJ-.js.map} +1 -1
  58. package/dist/chunks/{checkbox-input.CAYgiRHG.js → checkbox-input.XtCjXis9.js} +12 -11
  59. package/dist/chunks/checkbox-input.XtCjXis9.js.map +1 -0
  60. package/dist/chunks/{checkbox.bXN3Yann.js → checkbox.DJRe4ync.js} +17 -17
  61. package/dist/chunks/{checkbox.bXN3Yann.js.map → checkbox.DJRe4ync.js.map} +1 -1
  62. package/dist/chunks/{checkmark-circle-fill.g_tcBhFJ.js → checkmark-circle-fill.D9gNCN0T.js} +4 -4
  63. package/dist/chunks/checkmark-circle-fill.D9gNCN0T.js.map +1 -0
  64. package/dist/chunks/{checkmark-small.BDqUF-Ni.js → checkmark-small.D7l69yBf.js} +4 -4
  65. package/dist/chunks/checkmark-small.D7l69yBf.js.map +1 -0
  66. package/dist/chunks/{chevron-left.CYEK2UTr.js → chevron-left.BF63HtOH.js} +6 -6
  67. package/dist/chunks/chevron-left.BF63HtOH.js.map +1 -0
  68. package/dist/chunks/{chevron-up.Cu9qXgBY.js → chevron-up.-0oLlHmh.js} +6 -6
  69. package/dist/chunks/chevron-up.-0oLlHmh.js.map +1 -0
  70. package/dist/chunks/chip.3T0x6FuI.js +74 -0
  71. package/dist/chunks/chip.3T0x6FuI.js.map +1 -0
  72. package/dist/chunks/{code-snippet.baKzBaM6.js → code-snippet.0HhLVaJR.js} +7 -7
  73. package/dist/chunks/{code-snippet.baKzBaM6.js.map → code-snippet.0HhLVaJR.js.map} +1 -1
  74. package/dist/chunks/{controls-group.BnbQO34k.js → controls-group.DnX2B502.js} +2 -2
  75. package/dist/chunks/{controls-group.BnbQO34k.js.map → controls-group.DnX2B502.js.map} +1 -1
  76. package/dist/chunks/{copy.CXCdp5ly.js → copy.BzeHBtEF.js} +10 -9
  77. package/dist/chunks/copy.BzeHBtEF.js.map +1 -0
  78. package/dist/chunks/{cross-circle-fill-small.CJyARMSZ.js → cross-circle-fill-small.mY6ihJcA.js} +4 -4
  79. package/dist/chunks/cross-circle-fill-small.mY6ihJcA.js.map +1 -0
  80. package/dist/chunks/{cross-circle-fill.BzSjakuO.js → cross-circle-fill.DLWo6wBR.js} +4 -4
  81. package/dist/chunks/cross-circle-fill.DLWo6wBR.js.map +1 -0
  82. package/dist/chunks/{cross-small.Z5EKYRm0.js → cross-small.CFrBIeYK.js} +4 -4
  83. package/dist/chunks/cross-small.CFrBIeYK.js.map +1 -0
  84. package/dist/chunks/{cross.BZYw4R3N.js → cross.CbLEjiVy.js} +4 -4
  85. package/dist/chunks/cross.CbLEjiVy.js.map +1 -0
  86. package/dist/chunks/{dashboard-section.B87x4XsH.js → dashboard-section.CySxZmlx.js} +3 -3
  87. package/dist/chunks/{dashboard-section.B87x4XsH.js.map → dashboard-section.CySxZmlx.js.map} +1 -1
  88. package/dist/chunks/{dashed-underline.dWsHmwUp.js → dashed-underline.CCKLdMc7.js} +3 -3
  89. package/dist/chunks/{dashed-underline.dWsHmwUp.js.map → dashed-underline.CCKLdMc7.js.map} +1 -1
  90. package/dist/chunks/{data-grid-template.CZrGeSxR.js → data-grid-template.iM84gKjt.js} +3 -3
  91. package/dist/chunks/{data-grid-template.CZrGeSxR.js.map → data-grid-template.iM84gKjt.js.map} +1 -1
  92. package/dist/chunks/{data-grid.Duvh6mRu.js → data-grid.B2L_4qN7.js} +903 -923
  93. package/dist/chunks/data-grid.B2L_4qN7.js.map +1 -0
  94. package/dist/chunks/{date-picker.DXrMLxD0.js → date-picker.CMi0Kuy3.js} +5 -5
  95. package/dist/chunks/{date-picker.DXrMLxD0.js.map → date-picker.CMi0Kuy3.js.map} +1 -1
  96. package/dist/chunks/{date-range-picker.D7BDFoqM.js → date-range-picker.-KwSzmW_.js} +194 -193
  97. package/dist/chunks/date-range-picker.-KwSzmW_.js.map +1 -0
  98. package/dist/chunks/{dialog-page.D_r_CbyD.js → dialog-page.CXQafL9G.js} +5 -4
  99. package/dist/chunks/dialog-page.CXQafL9G.js.map +1 -0
  100. package/dist/chunks/{dot.cpdFEk6G.js → dot.BW-xtyjC.js} +4 -4
  101. package/dist/chunks/dot.BW-xtyjC.js.map +1 -0
  102. package/dist/chunks/{dropdown-default-textbox.BpvVMlcX.js → dropdown-default-textbox.Filez078.js} +4 -4
  103. package/dist/chunks/{dropdown-default-textbox.BpvVMlcX.js.map → dropdown-default-textbox.Filez078.js.map} +1 -1
  104. package/dist/chunks/{dropdown-tag.DrBFdX2o.js → dropdown-tag.B4-3z8xz.js} +4 -4
  105. package/dist/chunks/{dropdown-tag.DrBFdX2o.js.map → dropdown-tag.B4-3z8xz.js.map} +1 -1
  106. package/dist/chunks/{dropdown.CWq-VlFX.js → dropdown.CRLx2Juh.js} +333 -325
  107. package/dist/chunks/dropdown.CRLx2Juh.js.map +1 -0
  108. package/dist/chunks/{empty-state.C2ancCe6.js → empty-state.BffIZp3a.js} +2 -2
  109. package/dist/chunks/{empty-state.C2ancCe6.js.map → empty-state.BffIZp3a.js.map} +1 -1
  110. package/dist/chunks/{error-message.B3z5WkLF.js → error-message.68kVjf_N.js} +3 -3
  111. package/dist/chunks/{error-message.B3z5WkLF.js.map → error-message.68kVjf_N.js.map} +1 -1
  112. package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
  113. package/dist/chunks/{expand.CJ162RaJ.js → expand.DusW7F7p.js} +4 -4
  114. package/dist/chunks/expand.DusW7F7p.js.map +1 -0
  115. package/dist/chunks/{file-uploader.NbsEgoj1.js → file-uploader.Cz89e0Ci.js} +275 -278
  116. package/dist/chunks/file-uploader.Cz89e0Ci.js.map +1 -0
  117. package/dist/chunks/{filter-bar.DP4SHAQj.js → filter-bar.bfUnCTPj.js} +981 -1039
  118. package/dist/chunks/filter-bar.bfUnCTPj.js.map +1 -0
  119. package/dist/chunks/{fixed-scroller.BZwgM5Io.js → fixed-scroller.Bfk75Nei.js} +3 -3
  120. package/dist/chunks/{fixed-scroller.BZwgM5Io.js.map → fixed-scroller.Bfk75Nei.js.map} +1 -1
  121. package/dist/chunks/{footer-actions.X_RokrtM.js → footer-actions.DtbsjfSM.js} +3 -3
  122. package/dist/chunks/{footer-actions.X_RokrtM.js.map → footer-actions.DtbsjfSM.js.map} +1 -1
  123. package/dist/chunks/{form-layout-title.xkALokzl.js → form-layout-title.B7phPY2m.js} +2 -2
  124. package/dist/chunks/{form-layout-title.xkALokzl.js.map → form-layout-title.B7phPY2m.js.map} +1 -1
  125. package/dist/chunks/{header.BBIJHMkv.js → header.ITEMuMAU.js} +21 -21
  126. package/dist/chunks/{header.BBIJHMkv.js.map → header.ITEMuMAU.js.map} +1 -1
  127. package/dist/chunks/{info-icon-with-popover.DbIAJO2-.js → info-icon-with-popover.pHwJeQxm.js} +3 -3
  128. package/dist/chunks/{info-icon-with-popover.DbIAJO2-.js.map → info-icon-with-popover.pHwJeQxm.js.map} +1 -1
  129. package/dist/chunks/{info-icon.DQn8-VSp.js → info-icon.DUUa2W2z.js} +3 -3
  130. package/dist/chunks/{info-icon.DQn8-VSp.js.map → info-icon.DUUa2W2z.js.map} +1 -1
  131. package/dist/chunks/{info.DYNe2WnZ.js → info.CpPLBOVg.js} +4 -4
  132. package/dist/chunks/info.CpPLBOVg.js.map +1 -0
  133. package/dist/chunks/{input-field-password.SSiNunUz.js → input-field-password.zIUeIG8i.js} +37 -37
  134. package/dist/chunks/input-field-password.zIUeIG8i.js.map +1 -0
  135. package/dist/chunks/{input-field-phone-number._PCiyrci.js → input-field-phone-number.BGS23WKe.js} +2 -2
  136. package/dist/chunks/{input-field-phone-number._PCiyrci.js.map → input-field-phone-number.BGS23WKe.js.map} +1 -1
  137. package/dist/chunks/input-field.y006Hyc1.js +292 -0
  138. package/dist/chunks/input-field.y006Hyc1.js.map +1 -0
  139. package/dist/chunks/{inspector.types.6P_ZowVx.js → inspector.types.9S8hNOjR.js} +4 -4
  140. package/dist/chunks/{inspector.types.6P_ZowVx.js.map → inspector.types.9S8hNOjR.js.map} +1 -1
  141. package/dist/chunks/{link.ClFi8uSm.js → link.D3Fq5tt_.js} +19 -17
  142. package/dist/chunks/link.D3Fq5tt_.js.map +1 -0
  143. package/dist/chunks/{listbox-option-tag.DIk4F59J.js → listbox-option-tag.D557okR8.js} +2 -2
  144. package/dist/chunks/{listbox-option-tag.DIk4F59J.js.map → listbox-option-tag.D557okR8.js.map} +1 -1
  145. package/dist/chunks/menu.ZE0cTcKL.js +735 -0
  146. package/dist/chunks/menu.ZE0cTcKL.js.map +1 -0
  147. package/dist/chunks/{modal-fullscreen.C9FhKsf9.js → modal-fullscreen.CjZh3U8e.js} +5 -5
  148. package/dist/chunks/{modal-fullscreen.C9FhKsf9.js.map → modal-fullscreen.CjZh3U8e.js.map} +1 -1
  149. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DGz4x-tr.js → modal.vue_vue_type_script_setup_true_lang.C4Z_Q8bq.js} +5 -5
  150. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DGz4x-tr.js.map → modal.vue_vue_type_script_setup_true_lang.C4Z_Q8bq.js.map} +1 -1
  151. package/dist/chunks/{pagination.DdTcv8B6.js → pagination.BSp5RwM0.js} +37 -36
  152. package/dist/chunks/pagination.BSp5RwM0.js.map +1 -0
  153. package/dist/chunks/payment-method.BACjrzKP.js +125 -0
  154. package/dist/chunks/payment-method.BACjrzKP.js.map +1 -0
  155. package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -1
  156. package/dist/chunks/{popover.BHGbUyMF.js → popover.DLyVEjCd.js} +106 -98
  157. package/dist/chunks/popover.DLyVEjCd.js.map +1 -0
  158. package/dist/chunks/{popper-container.BvGYgqiE.js → popper-container.Bx3CBGg6.js} +448 -444
  159. package/dist/chunks/popper-container.Bx3CBGg6.js.map +1 -0
  160. package/dist/chunks/{promo-banner.CKnonHmq.js → promo-banner.Clae7YGL.js} +2 -2
  161. package/dist/chunks/{promo-banner.CKnonHmq.js.map → promo-banner.Clae7YGL.js.map} +1 -1
  162. package/dist/chunks/{radio-group.CivaJaaQ.js → radio-group.Bdy7_UIu.js} +4 -4
  163. package/dist/chunks/{radio-group.CivaJaaQ.js.map → radio-group.Bdy7_UIu.js.map} +1 -1
  164. package/dist/chunks/{refresh.SzRxQ44W.js → refresh.C20ROVDS.js} +4 -4
  165. package/dist/chunks/refresh.C20ROVDS.js.map +1 -0
  166. package/dist/chunks/search-bar.uUWWZpqL.js +114 -0
  167. package/dist/chunks/search-bar.uUWWZpqL.js.map +1 -0
  168. package/dist/chunks/{search.KgjmJMHa.js → search.BwQq1yRg.js} +4 -4
  169. package/dist/chunks/search.BwQq1yRg.js.map +1 -0
  170. package/dist/chunks/{secondary-nav.DG8xB2Mj.js → secondary-nav.DJudnYiY.js} +2 -2
  171. package/dist/chunks/{secondary-nav.DG8xB2Mj.js.map → secondary-nav.DJudnYiY.js.map} +1 -1
  172. package/dist/chunks/{segmented-control.DKWpxDho.js → segmented-control.BqJXrEmp.js} +2 -2
  173. package/dist/chunks/{segmented-control.DKWpxDho.js.map → segmented-control.BqJXrEmp.js.map} +1 -1
  174. package/dist/chunks/{selection-card-group.B9nOBntu.js → selection-card-group.COMI4GGI.js} +11 -11
  175. package/dist/chunks/{selection-card-group.B9nOBntu.js.map → selection-card-group.COMI4GGI.js.map} +1 -1
  176. package/dist/chunks/{show.J9zXGWlK.js → show.ByWWaogc.js} +6 -6
  177. package/dist/chunks/show.ByWWaogc.js.map +1 -0
  178. package/dist/chunks/{sidepanel.dFspFFRG.js → sidepanel.VwZpyqJr.js} +5 -5
  179. package/dist/chunks/{sidepanel.dFspFFRG.js.map → sidepanel.VwZpyqJr.js.map} +1 -1
  180. package/dist/chunks/{step.DsfmsUU6.js → step.BGFaHGFO.js} +3 -3
  181. package/dist/chunks/{step.DsfmsUU6.js.map → step.BGFaHGFO.js.map} +1 -1
  182. package/dist/chunks/{structured-list-item.C9vL7KwG.js → structured-list-item.BZJQzyt_.js} +6 -6
  183. package/dist/chunks/{structured-list-item.C9vL7KwG.js.map → structured-list-item.BZJQzyt_.js.map} +1 -1
  184. package/dist/chunks/{summary-grid-item-custom.B0SvlYn-.js → summary-grid-item-custom.rBC-2kKM.js} +4 -4
  185. package/dist/chunks/{summary-grid-item-custom.B0SvlYn-.js.map → summary-grid-item-custom.rBC-2kKM.js.map} +1 -1
  186. package/dist/chunks/{tabs.CR2tWuz3.js → tabs.hp52NnXH.js} +2 -2
  187. package/dist/chunks/{tabs.CR2tWuz3.js.map → tabs.hp52NnXH.js.map} +1 -1
  188. package/dist/chunks/{tag.Bmw9RaOG.js → tag.CXADLCgG.js} +2 -2
  189. package/dist/chunks/{tag.Bmw9RaOG.js.map → tag.CXADLCgG.js.map} +1 -1
  190. package/dist/chunks/{textarea.CrQk0SR0.js → textarea.4s69xpG3.js} +4 -4
  191. package/dist/chunks/{textarea.CrQk0SR0.js.map → textarea.4s69xpG3.js.map} +1 -1
  192. package/dist/chunks/{timeline-item.Cs8JBNAA.js → timeline-item.DOoLkIox.js} +12 -11
  193. package/dist/chunks/timeline-item.DOoLkIox.js.map +1 -0
  194. package/dist/chunks/{toast.A5f1_NqV.js → toast.7D23cICy.js} +3 -3
  195. package/dist/chunks/{toast.A5f1_NqV.js.map → toast.7D23cICy.js.map} +1 -1
  196. package/dist/chunks/{toggle-button.CCgvi7TQ.js → toggle-button.7iAfO6Xx.js} +23 -22
  197. package/dist/chunks/toggle-button.7iAfO6Xx.js.map +1 -0
  198. package/dist/chunks/{toggle.BmwlaQon.js → toggle.hoD_i2Ey.js} +2 -2
  199. package/dist/chunks/{toggle.BmwlaQon.js.map → toggle.hoD_i2Ey.js.map} +1 -1
  200. package/dist/chunks/{tooltip.DS1ok8gh.js → tooltip.BtfIbhGU.js} +2 -2
  201. package/dist/chunks/{tooltip.DS1ok8gh.js.map → tooltip.BtfIbhGU.js.map} +1 -1
  202. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.-cMQWbk1.js → tutorial.vue_vue_type_script_setup_true_lang.DRlP0P1P.js} +9 -8
  203. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.DRlP0P1P.js.map +1 -0
  204. package/dist/chunks/use-cached-selected-values.9xqNZAmj.js +1446 -0
  205. package/dist/chunks/use-cached-selected-values.9xqNZAmj.js.map +1 -0
  206. package/dist/chunks/{warning-filled.tTkVob0l.js → warning-filled.DmHh0nYG.js} +4 -4
  207. package/dist/chunks/warning-filled.DmHh0nYG.js.map +1 -0
  208. package/dist/code-snippet.js +1 -1
  209. package/dist/dashboard-template.js +1 -1
  210. package/dist/dashed-underline.js +1 -1
  211. package/dist/data-grid-template.js +1 -1
  212. package/dist/data-grid.js +1 -1
  213. package/dist/date-picker.js +2 -2
  214. package/dist/date-range-picker.js +2 -2
  215. package/dist/dropdown.js +4 -4
  216. package/dist/empty-state.js +1 -1
  217. package/dist/file-uploader.js +1 -1
  218. package/dist/filter-bar.js +1 -1
  219. package/dist/form-layout.js +1 -1
  220. package/dist/header.js +1 -1
  221. package/dist/index.js +59 -59
  222. package/dist/info-icon.js +1 -1
  223. package/dist/input-field-password.js +1 -1
  224. package/dist/input-field-phone-number.js +1 -1
  225. package/dist/input-field.js +1 -1
  226. package/dist/inspector.js +1 -1
  227. package/dist/internal.js +12 -12
  228. package/dist/link.js +1 -1
  229. package/dist/menu.js +1 -1
  230. package/dist/modal-fullscreen.js +1 -1
  231. package/dist/modal.js +2 -2
  232. package/dist/pagination.js +1 -1
  233. package/dist/payment-method.js +1 -1
  234. package/dist/popover.js +1 -1
  235. package/dist/popper-container.js +1 -1
  236. package/dist/promo-banner.js +1 -1
  237. package/dist/radio-group.js +1 -1
  238. package/dist/search-bar.js +2 -2
  239. package/dist/secondary-nav.js +1 -1
  240. package/dist/segmented-control.js +1 -1
  241. package/dist/selection-card.js +1 -1
  242. package/dist/sidepanel.js +1 -1
  243. package/dist/stepper.js +1 -1
  244. package/dist/structured-list.js +1 -1
  245. package/dist/styles/bento-dark.css +5 -5
  246. package/dist/styles/bento-light.css +5 -5
  247. package/dist/styles/bento.css +5 -5
  248. package/dist/styles/legacy.css +6 -4
  249. package/dist/styles/styleguide.css +5 -5
  250. package/dist/styles/utility.css +2 -2
  251. package/dist/summary-grid.js +1 -1
  252. package/dist/tabs.js +1 -1
  253. package/dist/tag.js +1 -1
  254. package/dist/textarea.js +1 -1
  255. package/dist/timeline.js +1 -1
  256. package/dist/toast.js +1 -1
  257. package/dist/toggle.js +1 -1
  258. package/dist/tutorial.js +1 -1
  259. package/dist/web-types.json +1 -1
  260. package/package.json +5 -6
  261. package/dist/chunks/alert.Dd2DYCZ1.js.map +0 -1
  262. package/dist/chunks/checkbox-input.CAYgiRHG.js.map +0 -1
  263. package/dist/chunks/checkmark-circle-fill.g_tcBhFJ.js.map +0 -1
  264. package/dist/chunks/checkmark-small.BDqUF-Ni.js.map +0 -1
  265. package/dist/chunks/chevron-left.CYEK2UTr.js.map +0 -1
  266. package/dist/chunks/chevron-up.Cu9qXgBY.js.map +0 -1
  267. package/dist/chunks/chip.sG_6gh3Z.js +0 -71
  268. package/dist/chunks/chip.sG_6gh3Z.js.map +0 -1
  269. package/dist/chunks/copy.CXCdp5ly.js.map +0 -1
  270. package/dist/chunks/cross-circle-fill-small.CJyARMSZ.js.map +0 -1
  271. package/dist/chunks/cross-circle-fill.BzSjakuO.js.map +0 -1
  272. package/dist/chunks/cross-small.Z5EKYRm0.js.map +0 -1
  273. package/dist/chunks/cross.BZYw4R3N.js.map +0 -1
  274. package/dist/chunks/data-grid.Duvh6mRu.js.map +0 -1
  275. package/dist/chunks/date-range-picker.D7BDFoqM.js.map +0 -1
  276. package/dist/chunks/dialog-page.D_r_CbyD.js.map +0 -1
  277. package/dist/chunks/dot.cpdFEk6G.js.map +0 -1
  278. package/dist/chunks/dropdown.CWq-VlFX.js.map +0 -1
  279. package/dist/chunks/expand.CJ162RaJ.js.map +0 -1
  280. package/dist/chunks/file-uploader.NbsEgoj1.js.map +0 -1
  281. package/dist/chunks/filter-bar.DP4SHAQj.js.map +0 -1
  282. package/dist/chunks/info.DYNe2WnZ.js.map +0 -1
  283. package/dist/chunks/input-field-password.SSiNunUz.js.map +0 -1
  284. package/dist/chunks/input-field.DhDfq9Er.js +0 -382
  285. package/dist/chunks/input-field.DhDfq9Er.js.map +0 -1
  286. package/dist/chunks/link.ClFi8uSm.js.map +0 -1
  287. package/dist/chunks/menu.DKCUuV6a.js +0 -698
  288. package/dist/chunks/menu.DKCUuV6a.js.map +0 -1
  289. package/dist/chunks/pagination.DdTcv8B6.js.map +0 -1
  290. package/dist/chunks/payment-method.NguqkTwG.js +0 -103
  291. package/dist/chunks/payment-method.NguqkTwG.js.map +0 -1
  292. package/dist/chunks/popover.BHGbUyMF.js.map +0 -1
  293. package/dist/chunks/popper-container.BvGYgqiE.js.map +0 -1
  294. package/dist/chunks/refresh.SzRxQ44W.js.map +0 -1
  295. package/dist/chunks/search-bar.BixBEf58.js +0 -132
  296. package/dist/chunks/search-bar.BixBEf58.js.map +0 -1
  297. package/dist/chunks/search.KgjmJMHa.js.map +0 -1
  298. package/dist/chunks/show.J9zXGWlK.js.map +0 -1
  299. package/dist/chunks/timeline-item.Cs8JBNAA.js.map +0 -1
  300. package/dist/chunks/toggle-button.CCgvi7TQ.js.map +0 -1
  301. package/dist/chunks/truncate.BfIl_-71.js +0 -8
  302. package/dist/chunks/truncate.BfIl_-71.js.map +0 -1
  303. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.-cMQWbk1.js.map +0 -1
  304. package/dist/chunks/use-cached-selected-values.D82-YBdB.js +0 -1591
  305. package/dist/chunks/use-cached-selected-values.D82-YBdB.js.map +0 -1
  306. package/dist/chunks/warning-filled.tTkVob0l.js.map +0 -1
  307. /package/dist/assets/{cross.css → main.css} +0 -0
@@ -1,15 +1,15 @@
1
- import { defineComponent as C, computed as p, resolveComponent as T, createBlock as f, openBlock as a, withCtx as m, createTextVNode as Y, toDisplayString as J, normalizeClass as P, createVNode as d, useSlots as K, useAttrs as x, inject as g, ref as H, toRefs as W, Transition as q, createCommentVNode as i, unref as e, createElementBlock as r, renderSlot as B, createElementVNode as z } from "vue";
2
- import { P as O } from "./popper-container.BvGYgqiE.js";
1
+ import { defineComponent as C, computed as p, resolveComponent as T, createBlock as m, openBlock as a, withCtx as b, createTextVNode as Y, toDisplayString as J, normalizeClass as P, createVNode as d, useSlots as K, useAttrs as x, inject as g, ref as H, toRefs as W, Transition as q, createCommentVNode as n, unref as o, createElementBlock as r, renderSlot as B, createElementVNode as z } from "vue";
2
+ import { P as O } from "./popper-container.Bx3CBGg6.js";
3
3
  import { c as M, b as G } from "./popper-container.types.BCZMbVFD.js";
4
4
  import { B as Q, a as h } from "./typography.DN5eC5ch.js";
5
5
  import { _ as E } from "./_plugin-vue_export-helper.CHgC5LLL.js";
6
- import { B as X } from "./button.Cneb6rPP.js";
7
- import { C as Z } from "./cross.BZYw4R3N.js";
8
- import { u as tt } from "./use-has-slot.B7eQSabc.js";
9
- import { u as et } from "./aria-label.CaUURpnB.js";
10
- import { c as $, B as ot } from "./button-actions.ncthaz2m.js";
6
+ import { B as X } from "./button.6HMG0xEY.js";
7
+ import { C as Z } from "./cross.CbLEjiVy.js";
8
+ import { u as ee } from "./use-has-slot.B7eQSabc.js";
9
+ import { u as te } from "./aria-label.CaUURpnB.js";
10
+ import { c as $, B as oe } from "./button-actions.BPnsl_QP.js";
11
11
  import "../assets/popover.css";
12
- const at = C({
12
+ const ae = C({
13
13
  components: { BentoTypography: Q },
14
14
  props: {
15
15
  /**
@@ -21,31 +21,31 @@ const at = C({
21
21
  */
22
22
  title: { type: String, default: null }
23
23
  },
24
- setup(t) {
25
- const s = p(() => !t.isImageTitle), u = p(
26
- () => t.isImageTitle ? h.SUBTITLE : h.BODY
24
+ setup(e) {
25
+ const i = p(() => !e.isImageTitle), u = p(
26
+ () => e.isImageTitle ? h.SUBTITLE : h.BODY
27
27
  );
28
28
  return {
29
29
  // Values
30
- isStrongest: s,
30
+ isStrongest: i,
31
31
  titleVariant: u
32
32
  };
33
33
  }
34
34
  });
35
- function st(t, s, u, o, b, v) {
36
- const l = T("bento-typography");
37
- return a(), f(l, {
38
- strongest: t.isStrongest,
39
- variant: t.titleVariant,
35
+ function se(e, i, u, t, v, y) {
36
+ const s = T("bento-typography");
37
+ return a(), m(s, {
38
+ strongest: e.isStrongest,
39
+ variant: e.titleVariant,
40
40
  el: "span"
41
41
  }, {
42
- default: m(() => [
43
- Y(J(t.title), 1)
42
+ default: b(() => [
43
+ Y(J(e.title), 1)
44
44
  ]),
45
45
  _: 1
46
46
  }, 8, ["strongest", "variant"]);
47
47
  }
48
- const it = /* @__PURE__ */ E(at, [["render", st]]), nt = C({
48
+ const ie = /* @__PURE__ */ E(ae, [["render", se]]), ne = C({
49
49
  name: "bento-popover-dismiss-button",
50
50
  components: { BentoButton: X, CrossIcon: Z },
51
51
  props: {
@@ -54,42 +54,42 @@ const it = /* @__PURE__ */ E(at, [["render", st]]), nt = C({
54
54
  default: !1
55
55
  }
56
56
  },
57
- setup(t) {
57
+ setup(e) {
58
58
  return {
59
59
  // Values
60
- conditionalClass: p(() => ({ "b-popover-dismiss-button--on-image": t.onImage }))
60
+ conditionalClass: p(() => ({ "b-popover-dismiss-button--on-image": e.onImage }))
61
61
  };
62
62
  }
63
63
  });
64
- function lt(t, s, u, o, b, v) {
65
- const l = T("cross-icon"), _ = T("bento-button");
66
- return a(), f(_, {
67
- class: P(t.conditionalClass),
64
+ function le(e, i, u, t, v, y) {
65
+ const s = T("cross-icon"), f = T("bento-button");
66
+ return a(), m(f, {
67
+ class: P(e.conditionalClass),
68
68
  variant: "tertiary",
69
- onClick: s[0] || (s[0] = (S) => t.$emit("click"))
69
+ onClick: i[0] || (i[0] = (S) => e.$emit("click"))
70
70
  }, {
71
- iconLeft: m(() => [
72
- d(l, { "svg-title": "dismiss" })
71
+ iconLeft: b(() => [
72
+ d(s, { "svg-title": "dismiss" })
73
73
  ]),
74
74
  _: 1
75
75
  }, 8, ["class"]);
76
76
  }
77
- const L = /* @__PURE__ */ E(nt, [["render", lt], ["__scopeId", "data-v-df01cfb8"]]), N = { ...M }, rt = Symbol("popover offset injection key"), pt = Symbol("input field popover injection key"), ct = Symbol("input field popover injection key"), dt = {
77
+ const L = /* @__PURE__ */ E(ne, [["render", le], ["__scopeId", "data-v-df01cfb8"]]), N = { ...M }, re = Symbol("popover offset injection key"), pe = Symbol("input field popover injection key"), ce = Symbol("input field popover injection key"), de = {
78
78
  key: 0,
79
79
  class: "b-popover__image"
80
- }, ut = {
80
+ }, ue = {
81
81
  key: 0,
82
82
  class: "b-popover__image-dismiss-button"
83
- }, ft = {
83
+ }, fe = {
84
84
  key: 1,
85
85
  class: "b-popover__header"
86
- }, mt = { class: "b-popover__header-title" }, bt = { key: 0 }, vt = {
86
+ }, me = { class: "b-popover__header-title" }, be = { key: 0 }, ve = {
87
87
  key: 3,
88
88
  class: "b-popover__footer"
89
- }, _t = {};
89
+ }, ye = {};
90
90
  var A;
91
- const yt = /* @__PURE__ */ C({
92
- ..._t,
91
+ const _e = /* @__PURE__ */ C({
92
+ ...ye,
93
93
  __name: "popover",
94
94
  props: {
95
95
  /**
@@ -133,7 +133,7 @@ const yt = /* @__PURE__ */ C({
133
133
  actionsLayout: {
134
134
  type: String,
135
135
  default: $.BUTTONS_END,
136
- validator: (t) => Object.values($).includes(t)
136
+ validator: (e) => Object.values($).includes(e)
137
137
  },
138
138
  /**
139
139
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
@@ -219,7 +219,7 @@ const yt = /* @__PURE__ */ C({
219
219
  position: {
220
220
  type: String,
221
221
  default: N.BOTTOM_START,
222
- validator: (t) => Object.values(N).includes(t)
222
+ validator: (e) => Object.values(N).includes(e)
223
223
  },
224
224
  /**
225
225
  * Displays the popover in a small size.
@@ -249,94 +249,102 @@ const yt = /* @__PURE__ */ C({
249
249
  withoutSpace: {
250
250
  type: Boolean,
251
251
  default: !1
252
+ },
253
+ /**
254
+ * Allows content to appear outside of the popover. Used when there are nested popovers.
255
+ */
256
+ overflowVisible: {
257
+ type: Boolean,
258
+ default: !1
252
259
  }
253
260
  },
254
261
  emits: ["dismiss", "placement"],
255
- setup(t, { emit: s }) {
256
- const o = t, b = s, v = K(), l = x(), _ = p(() => {
257
- var n;
262
+ setup(e, { emit: i }) {
263
+ const t = e, v = i, y = K(), s = x(), f = p(() => {
264
+ var l;
258
265
  return {
259
- id: (n = l.id) == null ? void 0 : n.toString()
266
+ id: (l = s.id) == null ? void 0 : l.toString(),
267
+ role: (s == null ? void 0 : s.role) === null ? void 0 : G.POPOVER
260
268
  };
261
- }), S = g(rt, 2), F = H(l["aria-label"]), { ariaLabel: V, title: y } = W(o), w = et({
262
- ariaLabel: F.value,
269
+ }), S = g(re, 2), V = H(s["aria-label"]), { ariaLabel: F, title: _ } = W(t), w = te({
270
+ ariaLabel: V.value,
263
271
  // TODO: take this line away when the aria-label props is removed
264
- label: V,
265
- defaultFallback: y
266
- }), R = g(ct, !1) || g(pt, !1), D = p(() => ({
267
- "b-popover--small": o.small && !o.large,
268
- "b-popover--with-divider": !!o.divider,
269
- "b-popover--large": o.large && !o.small,
270
- "b-popover--fit-content": o.fitContent,
271
- "b-popover--without-space": o.withoutSpace,
272
- "b-popover--overflow-visible": R
272
+ label: F,
273
+ defaultFallback: _
274
+ }), R = g(ce, !1) || g(pe, !1), D = p(() => ({
275
+ "b-popover--small": t.small && !t.large,
276
+ "b-popover--with-divider": !!t.divider,
277
+ "b-popover--large": t.large && !t.small,
278
+ "b-popover--fit-content": t.fitContent,
279
+ "b-popover--without-space": t.withoutSpace,
280
+ "b-popover--overflow-visible": t.overflowVisible || R
273
281
  })), j = p(() => ({
274
- "b-popover__content--with-title": !!o.title
275
- })), k = () => b("dismiss"), c = tt(v);
276
- return (n, I) => (a(), f(q, { name: "b-popover__animation" }, {
277
- default: m(() => [
278
- t.open ? (a(), f(e(O), {
282
+ "b-popover__content--with-title": !!t.title
283
+ })), k = () => v("dismiss"), c = ee(y);
284
+ return (l, I) => (a(), m(q, { name: "b-popover__animation" }, {
285
+ default: b(() => [
286
+ e.open ? (a(), m(o(O), {
279
287
  key: 0,
280
- id: _.value.id,
281
- "aria-role": e(G).POPOVER,
282
- "aria-label": e(w),
288
+ id: f.value.id,
289
+ "aria-role": f.value.role,
290
+ "aria-label": o(w),
283
291
  arrow: { classes: ["b-popover__arrow"] },
284
- "disabled-focus-trap": t.disableFocusTrap,
292
+ "disabled-focus-trap": e.disableFocusTrap,
285
293
  class: P([D.value, "b-popover"]),
286
- "fallback-position": t.fallbackPosition,
287
- "fixed-positioning": t.fixedPositioning,
288
- offset: [0, e(S)],
289
- position: t.position,
290
- "target-element": t.targetElement,
291
- onPlacement: I[0] || (I[0] = (U) => n.$emit("placement", U))
294
+ "fallback-position": e.fallbackPosition,
295
+ "fixed-positioning": e.fixedPositioning,
296
+ offset: [0, o(S)],
297
+ position: e.position,
298
+ "target-element": e.targetElement,
299
+ onPlacement: I[0] || (I[0] = (U) => l.$emit("placement", U))
292
300
  }, {
293
- default: m(() => [
294
- e(c)("image") ? (a(), r("div", dt, [
295
- t.dismissible ? (a(), r("div", ut, [
301
+ default: b(() => [
302
+ o(c)("image") ? (a(), r("div", de, [
303
+ e.dismissible ? (a(), r("div", ue, [
296
304
  d(L, {
297
305
  "on-image": "",
298
306
  onClick: k
299
307
  })
300
- ])) : i("", !0),
301
- B(n.$slots, "image", {}, void 0, !0)
302
- ])) : i("", !0),
303
- e(y) ? (a(), r("div", ft, [
304
- z("div", mt, [
305
- e(c)("headerIcon") ? B(n.$slots, "headerIcon", { key: 0 }, void 0, !0) : i("", !0),
306
- d(it, {
307
- title: e(y),
308
- "is-image-title": !!e(c)("image")
308
+ ])) : n("", !0),
309
+ B(l.$slots, "image", {}, void 0, !0)
310
+ ])) : n("", !0),
311
+ o(_) ? (a(), r("div", fe, [
312
+ z("div", me, [
313
+ o(c)("headerIcon") ? B(l.$slots, "headerIcon", { key: 0 }, void 0, !0) : n("", !0),
314
+ d(ie, {
315
+ title: o(_),
316
+ "is-image-title": !!o(c)("image")
309
317
  }, null, 8, ["title", "is-image-title"])
310
318
  ]),
311
- t.dismissible && !e(c)("image") ? (a(), r("div", bt, [
319
+ e.dismissible && !o(c)("image") ? (a(), r("div", be, [
312
320
  d(L, { onClick: k })
313
- ])) : i("", !0)
314
- ])) : i("", !0),
315
- e(c)("default") ? (a(), r("div", {
321
+ ])) : n("", !0)
322
+ ])) : n("", !0),
323
+ o(c)("default") ? (a(), r("div", {
316
324
  key: 2,
317
325
  class: P(["b-popover__content", j.value])
318
326
  }, [
319
- B(n.$slots, "default", {}, void 0, !0)
320
- ], 2)) : i("", !0),
321
- t.actions ? (a(), r("div", vt, [
322
- d(e(ot), {
323
- actions: t.actions,
324
- layout: t.actionsLayout
327
+ B(l.$slots, "default", {}, void 0, !0)
328
+ ], 2)) : n("", !0),
329
+ e.actions ? (a(), r("div", ve, [
330
+ d(o(oe), {
331
+ actions: e.actions,
332
+ layout: e.actionsLayout
325
333
  }, null, 8, ["actions", "layout"])
326
- ])) : i("", !0)
334
+ ])) : n("", !0)
327
335
  ]),
328
336
  _: 3
329
- }, 8, ["id", "aria-role", "aria-label", "disabled-focus-trap", "class", "fallback-position", "fixed-positioning", "offset", "position", "target-element"])) : i("", !0)
337
+ }, 8, ["id", "aria-role", "aria-label", "disabled-focus-trap", "class", "fallback-position", "fixed-positioning", "offset", "position", "target-element"])) : n("", !0)
330
338
  ]),
331
339
  _: 3
332
340
  }));
333
341
  }
334
- }), ht = /* @__PURE__ */ E(yt, [["__scopeId", "data-v-97e86b0a"]]);
342
+ }), he = /* @__PURE__ */ E(_e, [["__scopeId", "data-v-288d33c3"]]);
335
343
  export {
336
- ht as B,
337
- pt as I,
338
- rt as P,
344
+ he as B,
345
+ pe as I,
346
+ re as P,
339
347
  N as a,
340
- ct as b
348
+ ce as b
341
349
  };
342
- //# sourceMappingURL=popover.BHGbUyMF.js.map
350
+ //# sourceMappingURL=popover.DLyVEjCd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"popover.DLyVEjCd.js","sources":["../../../vue2/src/components/popover/components/popover-title/popover-title.vue","../../../vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue","../../../vue2/src/components/popover/popover.types.ts","../../../vue2/src/components/popover/popover.keys.ts","../../../vue2/src/components/filter-bar/components/input-filter/input-filter.keys.ts","../../../vue2/src/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.keys.ts","../../../vue2/src/components/popover/popover.vue"],"sourcesContent":["<template>\n <bento-typography :strongest=\"isStrongest\" :variant=\"titleVariant\" el=\"span\">\n {{ title }}\n </bento-typography>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent } from 'vue';\n import { BentoTypography, BentoTypographyVariant } from '@/components/typography';\n\n export default defineComponent({\n components: { BentoTypography },\n props: {\n /**\n * Indicates if the popover contains an image.\n */\n isImageTitle: { type: Boolean, default: false },\n\n /**\n * Indicates the title you want to give the popover.\n */\n title: { type: String, default: null },\n },\n setup(props) {\n // Use strongest only when it has no image\n const isStrongest = computed(() => !props.isImageTitle);\n\n // If an image is present, change the variant from BODY to SUBTITLE and remove the \"strongest\" property of the title\n const titleVariant = computed(() =>\n props.isImageTitle ? BentoTypographyVariant.SUBTITLE : BentoTypographyVariant.BODY\n );\n\n return {\n // Values\n isStrongest,\n titleVariant,\n };\n },\n });\n</script>\n","<template>\n <bento-button :class=\"conditionalClass\" variant=\"tertiary\" @click=\"$emit('click')\">\n <template #iconLeft>\n <cross-icon svg-title=\"dismiss\" />\n </template>\n </bento-button>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent } from 'vue';\n import { BentoButton } from '@/components/button';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n export default defineComponent({\n name: 'bento-popover-dismiss-button',\n components: { BentoButton, CrossIcon },\n props: {\n onImage: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n const conditionalClass = computed(() => ({ 'b-popover-dismiss-button--on-image': props.onImage }));\n\n return {\n // Values\n conditionalClass,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./popover-dismiss-button.scss\" />\n","import { PopperContainerPosition } from '../popper-container';\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport const BentoPopoverPositions = { ...PopperContainerPosition };\nexport type BentoPopoverPositions = PopperContainerPosition;\n","export const POPOVER_OFFSET_INJECTION_KEY = Symbol('popover offset injection key');\n","/**\n * @deprecated from version 2.0.0. Use BentoFilterItemType.INPUT_DROPDOWN and INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY instead.\n */\nexport const INPUT_FILTER_POPOVER_INJECTION_KEY = Symbol('input field popover injection key');\n","export const INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY = Symbol('input field popover injection key');\n","<template>\n <Transition name=\"b-popover__animation\">\n <popper-container\n v-if=\"open\"\n :id=\"computedAttributes['id']\"\n :aria-role=\"computedAttributes.role\"\n :aria-label=\"computedAriaLabel\"\n :arrow=\"{ classes: ['b-popover__arrow'] }\"\n :disabled-focus-trap=\"disableFocusTrap\"\n :class=\"conditionalClasses\"\n :fallback-position=\"fallbackPosition\"\n :fixed-positioning=\"fixedPositioning\"\n :offset=\"[0, offset]\"\n :position=\"position\"\n :target-element=\"targetElement\"\n class=\"b-popover\"\n @placement=\"$emit('placement', $event)\"\n >\n <div v-if=\"hasSlot('image')\" class=\"b-popover__image\">\n <div v-if=\"dismissible\" class=\"b-popover__image-dismiss-button\">\n <bento-popover-dismiss-button on-image @click=\"dismissPopover\" />\n </div>\n <slot name=\"image\"></slot>\n </div>\n <div v-if=\"title\" class=\"b-popover__header\">\n <div class=\"b-popover__header-title\">\n <slot v-if=\"hasSlot('headerIcon')\" name=\"headerIcon\"></slot>\n <bento-popover-title :title=\"title\" :is-image-title=\"!!hasSlot('image')\" />\n </div>\n <div v-if=\"dismissible && !hasSlot('image')\">\n <bento-popover-dismiss-button @click=\"dismissPopover\" />\n </div>\n </div>\n\n <div v-if=\"hasSlot('default')\" class=\"b-popover__content\" :class=\"contentConditionalClasses\">\n <slot></slot>\n </div>\n\n <div v-if=\"actions\" class=\"b-popover__footer\">\n <bento-button-actions :actions=\"actions\" :layout=\"actionsLayout\"></bento-button-actions>\n </div>\n </popper-container>\n </Transition>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, PropType, ref, toRefs, useAttrs, useSlots } from 'vue';\n\n import { BentoButtonActions, BentoButtonActionsLayout, BentoButtonActionsList } from '@/components/button';\n import { PopperContainer, PopperContainerAriaRole } from '@/components/popper-container';\n import BentoPopoverTitle from './components/popover-title/popover-title.vue';\n import BentoPopoverDismissButton from './components/popover-dismiss-button/popover-dismiss-button.vue';\n\n import { BentoPopoverPositions } from './popover.types';\n import { Placement } from '@floating-ui/vue';\n\n import { useHasSlot } from '@/composables';\n import { useAriaLabel } from '@/utils/ts/aria-label';\n\n import { POPOVER_OFFSET_INJECTION_KEY } from './popover.keys';\n import { INPUT_FILTER_POPOVER_INJECTION_KEY } from '@/components/filter-bar/components/input-filter/input-filter.keys';\n import { INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY } from '@/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.keys';\n\n const DEFAULT_OFFSET = 2;\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * Defines the layout in which the button actions is presented.\n * It can be one of:\n *\n * @values BUTTONS_END\n * @values FILL_CONTAINER\n * @values SPACE_BETWEEN\n * @values VERTICAL_STACK\n */\n actionsLayout: {\n type: String as PropType<BentoButtonActionsLayout | `${BentoButtonActionsLayout}`>,\n default: BentoButtonActionsLayout.BUTTONS_END,\n validator: (value: BentoButtonActionsLayout) => Object.values(BentoButtonActionsLayout).includes(value),\n },\n\n /**\n * @deprecated from version 2.0.0. Use the aria-label attribute instead.\n */\n /**\n * Defines a string value that provides an accessible name for the popover.\n */\n ariaLabel: {\n type: String,\n default: null,\n },\n\n /**\n * Adds a divider line to the actions section, reduces the top/bottom paddings and removes all padding in the \"default\" slot.\n */\n divider: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Supports disabling focus trap functionality to avoid scroll into view behavior when we don't need it.\n * */\n disableFocusTrap: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Adds a \"dismiss\" icon that triggers the \"dismiss\" event. Requires the `title` prop to be set.\n */\n dismissible: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Allows to configure to fallback position to the one specified, it could be ['right', 'top', ...].\n * Useful when not using auto as starting placement.\n * https://floating-ui.com/docs/flip#fallbackplacements\n */\n fallbackPosition: {\n type: Array as PropType<Placement[]>,\n default: () => ['bottom-start', 'right-start', 'top-start', 'left-start'],\n },\n\n /**\n * Sets the size of the container to fit its content\n */\n fitContent: { type: Boolean, default: false },\n\n /**\n * Instructs popover to be visible outside of the containing container.\n * Useful when component would be used in limited containers like Modal, Side panel, etc.\n * @see {@link https://floating-ui.com/docs/usefloating#strategy}\n */\n fixedPositioning: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Toggles the popover open and closed\n */\n open: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Displays the popover in a large size.\n */\n large: {\n type: Boolean,\n default: false,\n },\n\n /**\n * @deprecated\n * NOTE: This property no longer functions since moving to the floating-ui framework.\n */\n modifiers: { type: Array, default: null },\n\n /**\n * Popover's position relative to the target element.\n * Possible values are:\n * 'auto', 'auto-start', 'auto-end',\n * 'top', 'top-start', 'top-end'\n * 'right', 'right-start', 'right-end'\n * 'bottom', 'bottom-start', 'bottom-end'\n * 'left', 'left-start', 'left-end'\n */\n position: {\n type: String as PropType<BentoPopoverPositions | `${BentoPopoverPositions}`>,\n default: BentoPopoverPositions.BOTTOM_START,\n validator: (value: BentoPopoverPositions) => Object.values(BentoPopoverPositions).includes(value),\n },\n\n /**\n * Displays the popover in a small size.\n */\n small: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Indicates the title you want to give the popover.\n */\n title: {\n type: String,\n default: null,\n },\n\n /**\n * Popover's target element.\n * The popover will position itself relatively to target element, in specified position.\n */\n targetElement: {\n type: PopperContainer.props?.targetElement.type,\n required: true,\n },\n /**\n * Displays the popover without padding.\n */\n withoutSpace: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Allows content to appear outside of the popover. Used when there are nested popovers.\n */\n overflowVisible: {\n type: Boolean,\n default: false,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Triggered when the `dismiss` button is clicked\n */\n (e: 'dismiss'): void;\n /**\n * Triggered when the popover `placement` changes\n */\n (e: 'placement', placement: Placement): void;\n }>();\n\n const slots = useSlots();\n const attrs = useAttrs();\n\n const computedAttributes = computed(() => ({\n id: attrs.id?.toString() as string,\n role: attrs?.['role'] === null ? undefined : PopperContainerAriaRole.POPOVER,\n }));\n\n const offset = inject<number>(POPOVER_OFFSET_INJECTION_KEY, DEFAULT_OFFSET);\n\n const ariaLabelAttribute = ref(attrs['aria-label']);\n const { ariaLabel, title } = toRefs(props);\n const computedAriaLabel = useAriaLabel({\n ariaLabel: ariaLabelAttribute.value as string,\n // TODO: take this line away when the aria-label props is removed\n label: ariaLabel,\n defaultFallback: title,\n });\n\n const isOverflowVisible =\n inject(INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY, false) ||\n inject(INPUT_FILTER_POPOVER_INJECTION_KEY, false);\n\n const conditionalClasses = computed(() => ({\n 'b-popover--small': props.small && !props.large,\n 'b-popover--with-divider': !!props.divider,\n 'b-popover--large': props.large && !props.small,\n 'b-popover--fit-content': props.fitContent,\n 'b-popover--without-space': props.withoutSpace,\n 'b-popover--overflow-visible': props.overflowVisible || isOverflowVisible,\n }));\n\n const contentConditionalClasses = computed(() => ({\n 'b-popover__content--with-title': !!props.title,\n }));\n\n const dismissPopover = () => emit('dismiss');\n\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * Example description of the component...\n *\n * @example\n * import { BentoPopover } from '@adyen/adl-vue2';\n *\n * export default {\n * components: { BentoPopover },\n * template: `\n * <bento-popover id=\"your-popover-id\">\n * ...Example code of the component\n * </bento-popover>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./popover.scss\" />\n"],"names":["_sfc_main$2","defineComponent","BentoTypography","props","isStrongest","computed","titleVariant","BentoTypographyVariant","_component_bento_typography","resolveComponent","openBlock","createBlock","_ctx","createTextVNode","toDisplayString","_sfc_main$1","BentoButton","CrossIcon","_component_bento_button","normalizeClass","_cache","$event","createVNode","_component_cross_icon","BentoPopoverPositions","PopperContainerPosition","POPOVER_OFFSET_INJECTION_KEY","INPUT_FILTER_POPOVER_INJECTION_KEY","INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY","__default__","__props","emit","__emit","slots","useSlots","attrs","useAttrs","computedAttributes","_a","PopperContainerAriaRole","offset","inject","ariaLabelAttribute","ref","ariaLabel","title","toRefs","computedAriaLabel","useAriaLabel","isOverflowVisible","conditionalClasses","contentConditionalClasses","dismissPopover","hasSlot","useHasSlot"],"mappings":"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"}