@adyen/bento-vue2 1.46.0 → 1.47.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 (269) hide show
  1. package/dist/@types/index.d.ts +122 -43
  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/base-modal.css +1 -1
  8. package/dist/assets/calendar.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/data-grid.css +1 -1
  11. package/dist/assets/date-picker.css +1 -1
  12. package/dist/assets/date-range-picker.css +1 -1
  13. package/dist/assets/dialog-page.css +1 -1
  14. package/dist/assets/divider.css +1 -1
  15. package/dist/assets/file-uploader.css +1 -1
  16. package/dist/assets/input-field-password.css +1 -1
  17. package/dist/assets/input-field.css +1 -1
  18. package/dist/assets/inspector.css +1 -1
  19. package/dist/assets/menu.css +1 -1
  20. package/dist/assets/modal-fullscreen.css +1 -1
  21. package/dist/assets/popover.css +1 -1
  22. package/dist/assets/radio-group.css +1 -1
  23. package/dist/assets/radio-input.css +1 -1
  24. package/dist/assets/sidepanel.css +1 -1
  25. package/dist/assets/status.css +1 -1
  26. package/dist/avatar.js +1 -1
  27. package/dist/button.js +3 -3
  28. package/dist/card.js +1 -1
  29. package/dist/checkbox.js +2 -2
  30. package/dist/chunks/{accordion-item.BjXzREaK.js → accordion-item.CTxrEQEW.js} +9 -9
  31. package/dist/chunks/{accordion-item.BjXzREaK.js.map → accordion-item.CTxrEQEW.js.map} +1 -1
  32. package/dist/chunks/{action-bar.e_2fmyN_.js → action-bar.EcN2I7Az.js} +14 -14
  33. package/dist/chunks/{action-bar.e_2fmyN_.js.map → action-bar.EcN2I7Az.js.map} +1 -1
  34. package/dist/chunks/{alert.BcfhueIA.js → alert.BRN8cpXl.js} +9 -9
  35. package/dist/chunks/{alert.BcfhueIA.js.map → alert.BRN8cpXl.js.map} +1 -1
  36. package/dist/chunks/{avatar.DXzyWKsI.js → avatar.BgwjpLQO.js} +2 -2
  37. package/dist/chunks/{avatar.DXzyWKsI.js.map → avatar.BgwjpLQO.js.map} +1 -1
  38. package/dist/chunks/{base-button.BeMKxkgK.js → base-button.-gx_u8Bd.js} +2 -2
  39. package/dist/chunks/{base-button.BeMKxkgK.js.map → base-button.-gx_u8Bd.js.map} +1 -1
  40. package/dist/chunks/{base-modal.UPLi477L.js → base-modal.BgTZ8iQ6.js} +21 -21
  41. package/dist/chunks/{base-modal.UPLi477L.js.map → base-modal.BgTZ8iQ6.js.map} +1 -1
  42. package/dist/chunks/{button-actions-with-menu.CyNvhDxN.js → button-actions-with-menu.C8EjGVCT.js} +4 -4
  43. package/dist/chunks/{button-actions-with-menu.CyNvhDxN.js.map → button-actions-with-menu.C8EjGVCT.js.map} +1 -1
  44. package/dist/chunks/{button-actions.BaypoF5i.js → button-actions.BU173IFE.js} +6 -6
  45. package/dist/chunks/{button-actions.BaypoF5i.js.map → button-actions.BU173IFE.js.map} +1 -1
  46. package/dist/chunks/{button.Bx8WC-dy.js → button.BX6ZJxF7.js} +3 -3
  47. package/dist/chunks/{button.Bx8WC-dy.js.map → button.BX6ZJxF7.js.map} +1 -1
  48. package/dist/chunks/{calendar.LXRuFfcw.js → calendar.DlOcbH6E.js} +167 -154
  49. package/dist/chunks/{calendar.LXRuFfcw.js.map → calendar.DlOcbH6E.js.map} +1 -1
  50. package/dist/chunks/{card.INSvvGNH.js → card.DoyCGJay.js} +14 -14
  51. package/dist/chunks/{card.INSvvGNH.js.map → card.DoyCGJay.js.map} +1 -1
  52. package/dist/chunks/{checkbox-group.BNVnOYKH.js → checkbox-group.BQN9gjgH.js} +7 -7
  53. package/dist/chunks/{checkbox-group.BNVnOYKH.js.map → checkbox-group.BQN9gjgH.js.map} +1 -1
  54. package/dist/chunks/{checkbox.CcwY2CMn.js → checkbox.O1CbmNdS.js} +23 -23
  55. package/dist/chunks/{checkbox.CcwY2CMn.js.map → checkbox.O1CbmNdS.js.map} +1 -1
  56. package/dist/chunks/{chevron-left.CtnrsqUy.js → chevron-left.PIu6yPqe.js} +3 -3
  57. package/dist/chunks/{chevron-left.CtnrsqUy.js.map → chevron-left.PIu6yPqe.js.map} +1 -1
  58. package/dist/chunks/{chevron-up.B2uWhZf7.js → chevron-up.DVfo78kV.js} +3 -3
  59. package/dist/chunks/{chevron-up.B2uWhZf7.js.map → chevron-up.DVfo78kV.js.map} +1 -1
  60. package/dist/chunks/{code-snippet.Bs7wIGi8.js → code-snippet.BDBD85qD.js} +27 -27
  61. package/dist/chunks/{code-snippet.Bs7wIGi8.js.map → code-snippet.BDBD85qD.js.map} +1 -1
  62. package/dist/chunks/{codemirror.OjJ-3ixa.js → codemirror.0fz2cWJS.js} +1355 -1364
  63. package/dist/chunks/{codemirror.OjJ-3ixa.js.map → codemirror.0fz2cWJS.js.map} +1 -1
  64. package/dist/chunks/{controls-group.CIdhlTk3.js → controls-group.C3RDqB9H.js} +3 -3
  65. package/dist/chunks/{controls-group.CIdhlTk3.js.map → controls-group.C3RDqB9H.js.map} +1 -1
  66. package/dist/chunks/{copy.BakPR7GI.js → copy.BuMSGw23.js} +8 -8
  67. package/dist/chunks/{copy.BakPR7GI.js.map → copy.BuMSGw23.js.map} +1 -1
  68. package/dist/chunks/{country.BegULkAC.js → country.2-ZtYkh7.js} +3 -3
  69. package/dist/chunks/{country.BegULkAC.js.map → country.2-ZtYkh7.js.map} +1 -1
  70. package/dist/chunks/{country.types.pilf5B3F.js → country.types.CLjbulKL.js} +4114 -4114
  71. package/dist/chunks/{country.types.pilf5B3F.js.map → country.types.CLjbulKL.js.map} +1 -1
  72. package/dist/chunks/{currency.P7Psn_SK.js → currency.BmI4Sqy5.js} +2 -2
  73. package/dist/chunks/{currency.P7Psn_SK.js.map → currency.BmI4Sqy5.js.map} +1 -1
  74. package/dist/chunks/{dashboard-section.DUN8FB74.js → dashboard-section.COWO5SVw.js} +6 -6
  75. package/dist/chunks/{dashboard-section.DUN8FB74.js.map → dashboard-section.COWO5SVw.js.map} +1 -1
  76. package/dist/chunks/{dashed-underline.BDK3yEtw.js → dashed-underline.BEAEmTCb.js} +4 -4
  77. package/dist/chunks/{dashed-underline.BDK3yEtw.js.map → dashed-underline.BEAEmTCb.js.map} +1 -1
  78. package/dist/chunks/{data-grid-template.BO2v-T1n.js → data-grid-template.vBl7u2cB.js} +4 -4
  79. package/dist/chunks/{data-grid-template.BO2v-T1n.js.map → data-grid-template.vBl7u2cB.js.map} +1 -1
  80. package/dist/chunks/{data-grid.NkQC0etq.js → data-grid.DQ0578m9.js} +79 -79
  81. package/dist/chunks/{data-grid.NkQC0etq.js.map → data-grid.DQ0578m9.js.map} +1 -1
  82. package/dist/chunks/{date-picker.DFgjvQgX.js → date-picker.Bym2OEd9.js} +53 -45
  83. package/dist/chunks/date-picker.Bym2OEd9.js.map +1 -0
  84. package/dist/chunks/{date-range-picker.BBC3TGYw.js → date-range-picker.P2Q5FNB-.js} +331 -327
  85. package/dist/chunks/date-range-picker.P2Q5FNB-.js.map +1 -0
  86. package/dist/chunks/{date.BQ29-2L1.js → date.1zs9CRhw.js} +2 -4
  87. package/dist/chunks/{date.BQ29-2L1.js.map → date.1zs9CRhw.js.map} +1 -1
  88. package/dist/chunks/{dialog-page.Da2cxzZm.js → dialog-page.DcJ7LaOE.js} +32 -31
  89. package/dist/chunks/{dialog-page.Da2cxzZm.js.map → dialog-page.DcJ7LaOE.js.map} +1 -1
  90. package/dist/chunks/divider.Cc4JFWG_.js +35 -0
  91. package/dist/chunks/divider.Cc4JFWG_.js.map +1 -0
  92. package/dist/chunks/{dropdown-default-textbox.CrylDCEX.js → dropdown-default-textbox.CC9Z_RFG.js} +8 -8
  93. package/dist/chunks/{dropdown-default-textbox.CrylDCEX.js.map → dropdown-default-textbox.CC9Z_RFG.js.map} +1 -1
  94. package/dist/chunks/{dropdown-tag.xVgcIWXL.js → dropdown-tag.CiCDvGyN.js} +8 -8
  95. package/dist/chunks/{dropdown-tag.xVgcIWXL.js.map → dropdown-tag.CiCDvGyN.js.map} +1 -1
  96. package/dist/chunks/{dropdown.BkLc07G8.js → dropdown.hc9ZuuTt.js} +31 -31
  97. package/dist/chunks/{dropdown.BkLc07G8.js.map → dropdown.hc9ZuuTt.js.map} +1 -1
  98. package/dist/chunks/{empty-state.B6wjtgR0.js → empty-state.1TyzB5ju.js} +5 -5
  99. package/dist/chunks/{empty-state.B6wjtgR0.js.map → empty-state.1TyzB5ju.js.map} +1 -1
  100. package/dist/chunks/{error-message.Brg-AZjT.js → error-message.Da-p1QIA.js} +10 -10
  101. package/dist/chunks/{error-message.Brg-AZjT.js.map → error-message.Da-p1QIA.js.map} +1 -1
  102. package/dist/chunks/{es6.D11bE5vq.js → es6.BtaxuP0b.js} +4 -4
  103. package/dist/chunks/es6.BtaxuP0b.js.map +1 -0
  104. package/dist/chunks/{file-uploader.BePx7fcJ.js → file-uploader.DVyryYaq.js} +18 -18
  105. package/dist/chunks/{file-uploader.BePx7fcJ.js.map → file-uploader.DVyryYaq.js.map} +1 -1
  106. package/dist/chunks/{filter-bar.BbVGpEJx.js → filter-bar.DzcNo5nF.js} +87 -87
  107. package/dist/chunks/{filter-bar.BbVGpEJx.js.map → filter-bar.DzcNo5nF.js.map} +1 -1
  108. package/dist/chunks/{fixed-scroller.BE1hWLr6.js → fixed-scroller.IPM3AzHS.js} +4 -4
  109. package/dist/chunks/{fixed-scroller.BE1hWLr6.js.map → fixed-scroller.IPM3AzHS.js.map} +1 -1
  110. package/dist/chunks/{focus-trap.DA_1lCcM.js → focus-trap.CGypVwG6.js} +2 -2
  111. package/dist/chunks/{focus-trap.DA_1lCcM.js.map → focus-trap.CGypVwG6.js.map} +1 -1
  112. package/dist/chunks/{footer-actions.O24MYRgM.js → footer-actions.Cbe_YLjP.js} +4 -4
  113. package/dist/chunks/{footer-actions.O24MYRgM.js.map → footer-actions.Cbe_YLjP.js.map} +1 -1
  114. package/dist/chunks/{form-layout-title.DRuBsptB.js → form-layout-title.Xdsi84v2.js} +3 -3
  115. package/dist/chunks/{form-layout-title.DRuBsptB.js.map → form-layout-title.Xdsi84v2.js.map} +1 -1
  116. package/dist/chunks/{generate-uid.D-HFI38h.js → generate-uid.NJ8tVoha.js} +2 -2
  117. package/dist/chunks/{generate-uid.D-HFI38h.js.map → generate-uid.NJ8tVoha.js.map} +1 -1
  118. package/dist/chunks/{header.Bbwnv6Ei.js → header.BIZTUAJE.js} +66 -66
  119. package/dist/chunks/{header.Bbwnv6Ei.js.map → header.BIZTUAJE.js.map} +1 -1
  120. package/dist/chunks/{index.B5Tq465X.js → index.D8ivUe7P.js} +5 -5
  121. package/dist/chunks/{index.B5Tq465X.js.map → index.D8ivUe7P.js.map} +1 -1
  122. package/dist/chunks/{info-icon-with-popover.Cd3RQWUu.js → info-icon-with-popover.Bly2e0uy.js} +7 -7
  123. package/dist/chunks/{info-icon-with-popover.Cd3RQWUu.js.map → info-icon-with-popover.Bly2e0uy.js.map} +1 -1
  124. package/dist/chunks/{info-icon.BnSZeQm8.js → info-icon.0d0GzDe2.js} +3 -3
  125. package/dist/chunks/{info-icon.BnSZeQm8.js.map → info-icon.0d0GzDe2.js.map} +1 -1
  126. package/dist/chunks/{input-field-password.CvKC9xjJ.js → input-field-password.CosL-n__.js} +32 -32
  127. package/dist/chunks/{input-field-password.CvKC9xjJ.js.map → input-field-password.CosL-n__.js.map} +1 -1
  128. package/dist/chunks/{input-field.Dgop3JWW.js → input-field.DgDFJbg7.js} +8 -8
  129. package/dist/chunks/{input-field.Dgop3JWW.js.map → input-field.DgDFJbg7.js.map} +1 -1
  130. package/dist/chunks/{inspector.types.j1usQ6FN.js → inspector.types.8071wkf0.js} +9 -9
  131. package/dist/chunks/{inspector.types.j1usQ6FN.js.map → inspector.types.8071wkf0.js.map} +1 -1
  132. package/dist/chunks/{layout-row.DAeZh7Rv.js → layout-row.BfS-cPky.js} +3 -3
  133. package/dist/chunks/{layout-row.DAeZh7Rv.js.map → layout-row.BfS-cPky.js.map} +1 -1
  134. package/dist/chunks/{link.B2DE2ryp.js → link.UOEUR35A.js} +2 -2
  135. package/dist/chunks/{link.B2DE2ryp.js.map → link.UOEUR35A.js.map} +1 -1
  136. package/dist/chunks/{listbox-option-tag.drC_50fU.js → listbox-option-tag.Co0ycEdQ.js} +3 -3
  137. package/dist/chunks/{listbox-option-tag.drC_50fU.js.map → listbox-option-tag.Co0ycEdQ.js.map} +1 -1
  138. package/dist/chunks/{menu.DCRfI10M.js → menu.Dq7RlryT.js} +12 -12
  139. package/dist/chunks/{menu.DCRfI10M.js.map → menu.Dq7RlryT.js.map} +1 -1
  140. package/dist/chunks/{modal-fullscreen.DgDk6uxS.js → modal-fullscreen.CfrgVR_K.js} +10 -10
  141. package/dist/chunks/{modal-fullscreen.DgDk6uxS.js.map → modal-fullscreen.CfrgVR_K.js.map} +1 -1
  142. package/dist/chunks/{modal.B7giFLek.js → modal.CuUUMIU_.js} +6 -6
  143. package/dist/chunks/{modal.B7giFLek.js.map → modal.CuUUMIU_.js.map} +1 -1
  144. package/dist/chunks/{pagination.Dc0VbxFL.js → pagination.QF1EEUfX.js} +48 -48
  145. package/dist/chunks/{pagination.Dc0VbxFL.js.map → pagination.QF1EEUfX.js.map} +1 -1
  146. package/dist/chunks/{payment-method.CoXB0ZAW.js → payment-method.UaERFtej.js} +2 -2
  147. package/dist/chunks/{payment-method.CoXB0ZAW.js.map → payment-method.UaERFtej.js.map} +1 -1
  148. package/dist/chunks/{popover.D8pR_dbl.js → popover.nev0GndY.js} +5 -5
  149. package/dist/chunks/{popover.D8pR_dbl.js.map → popover.nev0GndY.js.map} +1 -1
  150. package/dist/chunks/{popper-container.B9qZTf2V.js → popper-container.B1iB2ovW.js} +3 -3
  151. package/dist/chunks/{popper-container.B9qZTf2V.js.map → popper-container.B1iB2ovW.js.map} +1 -1
  152. package/dist/chunks/{promo-banner.Dd-JQMUD.js → promo-banner.BXtIM4C9.js} +7 -7
  153. package/dist/chunks/{promo-banner.Dd-JQMUD.js.map → promo-banner.BXtIM4C9.js.map} +1 -1
  154. package/dist/chunks/radio-group.D1q0VKvv.js +229 -0
  155. package/dist/chunks/radio-group.D1q0VKvv.js.map +1 -0
  156. package/dist/chunks/{radio-input.C1DZbkcT.js → radio-input.uJAhxKRs.js} +29 -25
  157. package/dist/chunks/{radio-input.C1DZbkcT.js.map → radio-input.uJAhxKRs.js.map} +1 -1
  158. package/dist/chunks/{search-bar.BN4grqVO.js → search-bar.fmMx-zRN.js} +7 -7
  159. package/dist/chunks/{search-bar.BN4grqVO.js.map → search-bar.fmMx-zRN.js.map} +1 -1
  160. package/dist/chunks/{secondary-nav.C8UE8xly.js → secondary-nav.ldVrzGbB.js} +5 -5
  161. package/dist/chunks/{secondary-nav.C8UE8xly.js.map → secondary-nav.ldVrzGbB.js.map} +1 -1
  162. package/dist/chunks/{segmented-control.C6HPgkVm.js → segmented-control.DL0W7lJ_.js} +4 -4
  163. package/dist/chunks/{segmented-control.C6HPgkVm.js.map → segmented-control.DL0W7lJ_.js.map} +1 -1
  164. package/dist/chunks/{selection-card-group.BT7FOlbF.js → selection-card-group.CdkrhyZV.js} +16 -16
  165. package/dist/chunks/{selection-card-group.BT7FOlbF.js.map → selection-card-group.CdkrhyZV.js.map} +1 -1
  166. package/dist/chunks/{sidepanel.PEMSN4Hj.js → sidepanel.D-KuHnwI.js} +14 -14
  167. package/dist/chunks/{sidepanel.PEMSN4Hj.js.map → sidepanel.D-KuHnwI.js.map} +1 -1
  168. package/dist/chunks/{status.types.B0jtv0c7.js → status.types.Ce018tQy.js} +18 -17
  169. package/dist/chunks/status.types.Ce018tQy.js.map +1 -0
  170. package/dist/chunks/{step.Dq4w23dP.js → step.BsIdWhaZ.js} +3 -3
  171. package/dist/chunks/{step.Dq4w23dP.js.map → step.BsIdWhaZ.js.map} +1 -1
  172. package/dist/chunks/{structured-list-item.-ch3UkPz.js → structured-list-item.Dk8Z-FPn.js} +9 -9
  173. package/dist/chunks/{structured-list-item.-ch3UkPz.js.map → structured-list-item.Dk8Z-FPn.js.map} +1 -1
  174. package/dist/chunks/{summary-grid-item-custom.CLVYmhnp.js → summary-grid-item-custom.atXX3GY9.js} +5 -5
  175. package/dist/chunks/{summary-grid-item-custom.CLVYmhnp.js.map → summary-grid-item-custom.atXX3GY9.js.map} +1 -1
  176. package/dist/chunks/{tabs.B0f1qiMR.js → tabs.9kObZry9.js} +4 -4
  177. package/dist/chunks/{tabs.B0f1qiMR.js.map → tabs.9kObZry9.js.map} +1 -1
  178. package/dist/chunks/{tag.d36UYSWd.js → tag.-YNhsBv7.js} +3 -3
  179. package/dist/chunks/{tag.d36UYSWd.js.map → tag.-YNhsBv7.js.map} +1 -1
  180. package/dist/chunks/{textarea.DORWuAZn.js → textarea.BVzGn3zO.js} +6 -6
  181. package/dist/chunks/{textarea.DORWuAZn.js.map → textarea.BVzGn3zO.js.map} +1 -1
  182. package/dist/chunks/{timeline-item.CUm_n51y.js → timeline-item.D_YNHlRi.js} +21 -21
  183. package/dist/chunks/{timeline-item.CUm_n51y.js.map → timeline-item.D_YNHlRi.js.map} +1 -1
  184. package/dist/chunks/{toast.DCaWC_wv.js → toast.DgJbW9CL.js} +4 -4
  185. package/dist/chunks/{toast.DCaWC_wv.js.map → toast.DgJbW9CL.js.map} +1 -1
  186. package/dist/chunks/{toggle-button.DJqs599a.js → toggle-button.Cf8C7p6e.js} +2 -2
  187. package/dist/chunks/{toggle-button.DJqs599a.js.map → toggle-button.Cf8C7p6e.js.map} +1 -1
  188. package/dist/chunks/{toggle.INRYdQzz.js → toggle.CnS7qszG.js} +3 -3
  189. package/dist/chunks/{toggle.INRYdQzz.js.map → toggle.CnS7qszG.js.map} +1 -1
  190. package/dist/chunks/{tooltip.CQGwmwt9.js → tooltip.R2sqydIE.js} +4 -4
  191. package/dist/chunks/{tooltip.CQGwmwt9.js.map → tooltip.R2sqydIE.js.map} +1 -1
  192. package/dist/chunks/{tutorial.B_8XNKvM.js → tutorial.cQXPvqV4.js} +15 -15
  193. package/dist/chunks/{tutorial.B_8XNKvM.js.map → tutorial.cQXPvqV4.js.map} +1 -1
  194. package/dist/chunks/{typography.Bu_WAKdf.js → typography.J1v_SPG3.js} +2 -1
  195. package/dist/chunks/{typography.Bu_WAKdf.js.map → typography.J1v_SPG3.js.map} +1 -1
  196. package/dist/chunks/{use-bento-toast-controller.BVVMh0wc.js → use-bento-toast-controller.Cn_2Eogn.js} +3 -3
  197. package/dist/chunks/{use-bento-toast-controller.BVVMh0wc.js.map → use-bento-toast-controller.Cn_2Eogn.js.map} +1 -1
  198. package/dist/chunks/{use-cached-selected-values.DJl7FKT5.js → use-cached-selected-values.BGlHmPhX.js} +26 -26
  199. package/dist/chunks/{use-cached-selected-values.DJl7FKT5.js.map → use-cached-selected-values.BGlHmPhX.js.map} +1 -1
  200. package/dist/chunks/{use-country-items.DPBbl1KK.js → use-country-items.eWARMT6I.js} +2 -2
  201. package/dist/chunks/{use-country-items.DPBbl1KK.js.map → use-country-items.eWARMT6I.js.map} +1 -1
  202. package/dist/code-snippet.js +1 -1
  203. package/dist/country.js +2 -2
  204. package/dist/currency.js +1 -1
  205. package/dist/dashboard-template.js +1 -1
  206. package/dist/dashed-underline.js +1 -1
  207. package/dist/data-grid-template.js +1 -1
  208. package/dist/data-grid.js +1 -1
  209. package/dist/date-picker.js +2 -2
  210. package/dist/date-range-picker.js +2 -2
  211. package/dist/date.js +1 -1
  212. package/dist/divider.js +1 -1
  213. package/dist/dropdown.js +4 -4
  214. package/dist/empty-state.js +1 -1
  215. package/dist/file-uploader.js +1 -1
  216. package/dist/filter-bar.js +1 -1
  217. package/dist/focus-trap.js +1 -1
  218. package/dist/form-layout.js +1 -1
  219. package/dist/header.js +1 -1
  220. package/dist/index.js +70 -70
  221. package/dist/index.js.map +1 -1
  222. package/dist/info-icon.js +1 -1
  223. package/dist/input-field-password.js +1 -1
  224. package/dist/input-field.js +1 -1
  225. package/dist/inspector.js +1 -1
  226. package/dist/internal.js +12 -12
  227. package/dist/layout.js +1 -1
  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 +2 -2
  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/status.js +1 -1
  244. package/dist/stepper.js +1 -1
  245. package/dist/structured-list.js +1 -1
  246. package/dist/styles/bento-dark.css +1 -0
  247. package/dist/styles/bento-light.css +1 -0
  248. package/dist/styles/bento.css +1 -0
  249. package/dist/styles/legacy.css +1 -0
  250. package/dist/styles/styleguide.css +1 -0
  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/typography.js +1 -1
  260. package/dist/web-types.json +40 -1
  261. package/package.json +4 -3
  262. package/dist/chunks/date-picker.DFgjvQgX.js.map +0 -1
  263. package/dist/chunks/date-range-picker.BBC3TGYw.js.map +0 -1
  264. package/dist/chunks/divider.BZfeYmB9.js +0 -30
  265. package/dist/chunks/divider.BZfeYmB9.js.map +0 -1
  266. package/dist/chunks/es6.D11bE5vq.js.map +0 -1
  267. package/dist/chunks/radio-group.D5GEIgYv.js +0 -219
  268. package/dist/chunks/radio-group.D5GEIgYv.js.map +0 -1
  269. package/dist/chunks/status.types.B0jtv0c7.js.map +0 -1
@@ -1,12 +1,12 @@
1
1
  import { defineComponent as l, computed as a, useSlots as I, useAttrs as E, inject as r, ref as A, toRefs as L } from "vue";
2
- import { d as R, P as m, c as F } from "./popper-container.B9qZTf2V.js";
3
- import { B as k, a as v } from "./typography.Bu_WAKdf.js";
2
+ import { d as R, P as m, c as F } from "./popper-container.B1iB2ovW.js";
3
+ import { B as k, a as v } from "./typography.J1v_SPG3.js";
4
4
  import { n as p } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
5
- import { B as x } from "./button.Bx8WC-dy.js";
5
+ import { B as x } from "./button.BX6ZJxF7.js";
6
6
  import { C as N } from "./cross.CsUPDmaA.js";
7
7
  import { u as $ } from "./use-has-slot.C9lQZ6nz.js";
8
8
  import { u as w } from "./aria-label.CaUURpnB.js";
9
- import { c as b, B as D } from "./button-actions.BaypoF5i.js";
9
+ import { c as b, B as D } from "./button-actions.BU173IFE.js";
10
10
  import "../assets/popover.css";
11
11
  const V = l({
12
12
  components: { BentoTypography: k },
@@ -284,4 +284,4 @@ export {
284
284
  y as a,
285
285
  Q as b
286
286
  };
287
- //# sourceMappingURL=popover.D8pR_dbl.js.map
287
+ //# sourceMappingURL=popover.nev0GndY.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"popover.D8pR_dbl.js","sources":["../../src/components/popover/components/popover-title/popover-title.vue","../../src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue","../../src/components/popover/popover.types.ts","../../src/components/popover/popover.keys.ts","../../src/components/filter-bar/components/input-filter/input-filter.keys.ts","../../src/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.keys.ts","../../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=\"PopperContainerAriaRole.POPOVER\"\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 const emit = defineEmits([\"dismiss\", \"placement\"]);\n\n const slots = useSlots();\n const attrs = useAttrs();\n\n const computedAttributes = computed(() => ({\n id: attrs.id?.toString() as string,\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': 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","_sfc_main$1","BentoButton","CrossIcon","BentoPopoverPositions","PopperContainerPosition","POPOVER_OFFSET_INJECTION_KEY","INPUT_FILTER_POPOVER_INJECTION_KEY","INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY","__default__","DEFAULT_OFFSET","slots","useSlots","attrs","useAttrs","computedAttributes","_a","offset","inject","ariaLabelAttribute","ref","ariaLabel","title","toRefs","computedAriaLabel","useAriaLabel","isOverflowVisible","conditionalClasses","contentConditionalClasses","dismissPopover","emit","hasSlot","useHasSlot"],"mappings":";;;;;;;;;;AAUA,MAAAA,IAAAC,EAAA;AAAA,EAAA,YAAA,EAAA,iBAAAC,EAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA,IACA,cAAA,EAAA,MAAA,SAAA,SAAA,GAAA;AAAA;AAAA;AAAA;AAAA,IAIA,OAAA,EAAA,MAAA,QAAA,SAAA,KAAA;AAAA,EAKA;AAAA,EACA,MAAAC,GAAA;AAGA,UAAAC,IAAAC,EAAA,MAAA,CAAAF,EAAA,YAAA,GAGAG,IAAAD;AAAA,MAAA,MAAAF,EAAA,eAAAI,EAAA,WAAAA,EAAA;AAAA,IACA;AAGA,WAAA;AAAA;AAAA,MAAA,aAAAH;AAAA,MAEA,cAAAE;AAAA,IACA;AAAA,EACA;AAEA,CAAA;;;;;;;;;;;;qBCzBAE,IAAAP,EAAA;AAAA,EAAA,MAAA;AAAA,EACA,YAAA,EAAA,aAAAQ,GAAA,WAAAC,EAAA;AAAA,EACA,OAAA;AAAA,IACA,SAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,MAAAP,GAAA;AAIA,WAAA;AAAA;AAAA,MAAA,kBAFAE,EAAA,OAAA,EAAA,sCAAAF,EAAA,QAAA,EAAA;AAAA,IAIA;AAAA,EACA;AAEA,CAAA;;;;;;;;;;;;;;;;qBCzBaQ,IAAA,EAAA,GAAAC,EAAA,GCLAC,IAAA,OAAA,8BAAA,GCGAC,IAAA,OAAA,mCAAA,GCHAC,IAAA,OAAA,mCAAA,GC2STC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA5OAC,IAAA,GAoLAC,IAAAC,EAAA,GACAC,IAAAC,EAAA,GAEAC,IAAAjB,EAAA,MAAA;;AAAA;AAAA,QAA2C,KAAAkB,IAAAH,EAAA,OAAA,gBAAAG,EAAA;AAAA,MAChB;AAAA,KAAA,GAG3BC,IAAAC,EAAAZ,GAAAI,CAAA,GAEAS,IAAAC,EAAAP,EAAA,YAAA,CAAA,GACA,EAAA,WAAAQ,GAAA,OAAAC,EAAA,IAAAC,EAAA3B,CAAA,GACA4B,IAAAC,EAAA;AAAA,MAAuC,WAAAN,EAAA;AAAA;AAAA,MACL,OAAAE;AAAA,MAEvB,iBAAAC;AAAA,IACU,CAAA,GAGrBI,IAAAR,EAAAV,GAAA,EAAA,KAAAU,EAAAX,GAAA,EAAA,GAIAoB,IAAA7B,EAAA,OAAA;AAAA,MAA2C,oBAAAF,EAAA,SAAA,CAAAA,EAAA;AAAA,MACG,2BAAA,CAAA,CAAAA,EAAA;AAAA,MACP,oBAAAA,EAAA,SAAA,CAAAA,EAAA;AAAA,MACO,0BAAAA,EAAA;AAAA,MACV,4BAAAA,EAAA;AAAA,MACE,+BAAA8B;AAAA,IACH,EAAA,GAGnCE,IAAA9B,EAAA,OAAA;AAAA,MAAkD,kCAAA,CAAA,CAAAF,EAAA;AAAA,IACJ,EAAA,GAG9CiC,IAAA,MAAAC,EAAA,SAAA,GAEAC,IAAAC,EAAArB,CAAA;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"popover.nev0GndY.js","sources":["../../src/components/popover/components/popover-title/popover-title.vue","../../src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue","../../src/components/popover/popover.types.ts","../../src/components/popover/popover.keys.ts","../../src/components/filter-bar/components/input-filter/input-filter.keys.ts","../../src/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.keys.ts","../../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=\"PopperContainerAriaRole.POPOVER\"\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 const emit = defineEmits([\"dismiss\", \"placement\"]);\n\n const slots = useSlots();\n const attrs = useAttrs();\n\n const computedAttributes = computed(() => ({\n id: attrs.id?.toString() as string,\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': 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","_sfc_main$1","BentoButton","CrossIcon","BentoPopoverPositions","PopperContainerPosition","POPOVER_OFFSET_INJECTION_KEY","INPUT_FILTER_POPOVER_INJECTION_KEY","INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY","__default__","DEFAULT_OFFSET","slots","useSlots","attrs","useAttrs","computedAttributes","_a","offset","inject","ariaLabelAttribute","ref","ariaLabel","title","toRefs","computedAriaLabel","useAriaLabel","isOverflowVisible","conditionalClasses","contentConditionalClasses","dismissPopover","emit","hasSlot","useHasSlot"],"mappings":";;;;;;;;;;AAUA,MAAAA,IAAAC,EAAA;AAAA,EAAA,YAAA,EAAA,iBAAAC,EAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA,IACA,cAAA,EAAA,MAAA,SAAA,SAAA,GAAA;AAAA;AAAA;AAAA;AAAA,IAIA,OAAA,EAAA,MAAA,QAAA,SAAA,KAAA;AAAA,EAKA;AAAA,EACA,MAAAC,GAAA;AAGA,UAAAC,IAAAC,EAAA,MAAA,CAAAF,EAAA,YAAA,GAGAG,IAAAD;AAAA,MAAA,MAAAF,EAAA,eAAAI,EAAA,WAAAA,EAAA;AAAA,IACA;AAGA,WAAA;AAAA;AAAA,MAAA,aAAAH;AAAA,MAEA,cAAAE;AAAA,IACA;AAAA,EACA;AAEA,CAAA;;;;;;;;;;;;qBCzBAE,IAAAP,EAAA;AAAA,EAAA,MAAA;AAAA,EACA,YAAA,EAAA,aAAAQ,GAAA,WAAAC,EAAA;AAAA,EACA,OAAA;AAAA,IACA,SAAA;AAAA,MACA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,MAAAP,GAAA;AAIA,WAAA;AAAA;AAAA,MAAA,kBAFAE,EAAA,OAAA,EAAA,sCAAAF,EAAA,QAAA,EAAA;AAAA,IAIA;AAAA,EACA;AAEA,CAAA;;;;;;;;;;;;;;;;qBCzBaQ,IAAA,EAAA,GAAAC,EAAA,GCLAC,IAAA,OAAA,8BAAA,GCGAC,IAAA,OAAA,mCAAA,GCHAC,IAAA,OAAA,mCAAA,GC2STC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA5OAC,IAAA,GAoLAC,IAAAC,EAAA,GACAC,IAAAC,EAAA,GAEAC,IAAAjB,EAAA,MAAA;;AAAA;AAAA,QAA2C,KAAAkB,IAAAH,EAAA,OAAA,gBAAAG,EAAA;AAAA,MAChB;AAAA,KAAA,GAG3BC,IAAAC,EAAAZ,GAAAI,CAAA,GAEAS,IAAAC,EAAAP,EAAA,YAAA,CAAA,GACA,EAAA,WAAAQ,GAAA,OAAAC,EAAA,IAAAC,EAAA3B,CAAA,GACA4B,IAAAC,EAAA;AAAA,MAAuC,WAAAN,EAAA;AAAA;AAAA,MACL,OAAAE;AAAA,MAEvB,iBAAAC;AAAA,IACU,CAAA,GAGrBI,IAAAR,EAAAV,GAAA,EAAA,KAAAU,EAAAX,GAAA,EAAA,GAIAoB,IAAA7B,EAAA,OAAA;AAAA,MAA2C,oBAAAF,EAAA,SAAA,CAAAA,EAAA;AAAA,MACG,2BAAA,CAAA,CAAAA,EAAA;AAAA,MACP,oBAAAA,EAAA,SAAA,CAAAA,EAAA;AAAA,MACO,0BAAAA,EAAA;AAAA,MACV,4BAAAA,EAAA;AAAA,MACE,+BAAA8B;AAAA,IACH,EAAA,GAGnCE,IAAA9B,EAAA,OAAA;AAAA,MAAkD,kCAAA,CAAA,CAAAF,EAAA;AAAA,IACJ,EAAA,GAG9CiC,IAAA,MAAAC,EAAA,SAAA,GAEAC,IAAAC,EAAArB,CAAA;;;;;;;;;;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
- import { unref as Q, computed as S, ref as j, shallowRef as Qt, watch as ot, getCurrentScope as Zt, onScopeDispose as te, shallowReadonly as J, defineComponent as ee, toRefs as ne } from "vue";
1
+ import { computed as S, unref as Q, ref as j, shallowRef as Qt, watch as ot, getCurrentScope as Zt, onScopeDispose as te, shallowReadonly as J, defineComponent as ee, toRefs as ne } from "vue";
2
2
  import "./index.Cl4_42j5.js";
3
- import { B as oe } from "./focus-trap.DA_1lCcM.js";
3
+ import { B as oe } from "./focus-trap.CGypVwG6.js";
4
4
  import { n as ie } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
5
5
  import "../assets/popper-container.css";
6
6
  const kt = ["top", "right", "bottom", "left"], St = ["start", "end"], _t = /* @__PURE__ */ kt.reduce((t, e) => t.concat(e, e + "-" + St[0], e + "-" + St[1]), []), tt = Math.min, Y = Math.max, ct = Math.round, lt = Math.floor, F = (t) => ({
@@ -1386,4 +1386,4 @@ export {
1386
1386
  rn as h,
1387
1387
  ke as o
1388
1388
  };
1389
- //# sourceMappingURL=popper-container.B9qZTf2V.js.map
1389
+ //# sourceMappingURL=popper-container.B1iB2ovW.js.map