@adyen/bento-vue3 1.60.1 → 1.61.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 (181) hide show
  1. package/dist/@types/index.d.ts +119 -7
  2. package/dist/action-bar.js +1 -1
  3. package/dist/alert.js +1 -1
  4. package/dist/assets/accordion-item.css +1 -1
  5. package/dist/assets/action-bar.css +1 -1
  6. package/dist/assets/base-modal.css +1 -1
  7. package/dist/assets/button.css +1 -1
  8. package/dist/assets/card.css +1 -1
  9. package/dist/assets/dashed-underline.css +1 -1
  10. package/dist/assets/data-grid.css +1 -1
  11. package/dist/assets/dialog-page.css +1 -1
  12. package/dist/assets/dropdown.css +1 -1
  13. package/dist/assets/file-uploader.css +1 -1
  14. package/dist/assets/filter-bar.css +1 -1
  15. package/dist/assets/header-with-views.css +1 -1
  16. package/dist/assets/inspector.css +1 -1
  17. package/dist/assets/menu.css +1 -1
  18. package/dist/assets/modal-fullscreen.css +1 -1
  19. package/dist/assets/popover.css +1 -1
  20. package/dist/assets/radio-group.css +1 -1
  21. package/dist/assets/sidepanel.css +1 -1
  22. package/dist/button.js +3 -3
  23. package/dist/card.js +1 -1
  24. package/dist/chunks/{action-bar.BDF61iH-.js → action-bar.BVfkekHC.js} +5 -5
  25. package/dist/chunks/{action-bar.BDF61iH-.js.map → action-bar.BVfkekHC.js.map} +1 -1
  26. package/dist/chunks/{alert.CjegN2iG.js → alert.C0YBI66O.js} +2 -2
  27. package/dist/chunks/{alert.CjegN2iG.js.map → alert.C0YBI66O.js.map} +1 -1
  28. package/dist/chunks/{base-modal.D2tNbxw3.js → base-modal.BphJ3uEa.js} +4 -4
  29. package/dist/chunks/{base-modal.D2tNbxw3.js.map → base-modal.BphJ3uEa.js.map} +1 -1
  30. package/dist/chunks/{button-actions-with-menu.DG5t9zB7.js → button-actions-with-menu.DZVOijPY.js} +4 -4
  31. package/dist/chunks/{button-actions-with-menu.DG5t9zB7.js.map → button-actions-with-menu.DZVOijPY.js.map} +1 -1
  32. package/dist/chunks/{button-actions.1MReMMnL.js → button-actions.Cr5gxSXb.js} +2 -2
  33. package/dist/chunks/{button-actions.1MReMMnL.js.map → button-actions.Cr5gxSXb.js.map} +1 -1
  34. package/dist/chunks/{button.CVZJTZv0.js → button.BF_dGonK.js} +37 -26
  35. package/dist/chunks/button.BF_dGonK.js.map +1 -0
  36. package/dist/chunks/{calendar.ugV5Vzqs.js → calendar.CTcfG9JK.js} +2 -2
  37. package/dist/chunks/{calendar.ugV5Vzqs.js.map → calendar.CTcfG9JK.js.map} +1 -1
  38. package/dist/chunks/{card.dF_i6neN.js → card.B9AfyVI3.js} +2 -2
  39. package/dist/chunks/{card.dF_i6neN.js.map → card.B9AfyVI3.js.map} +1 -1
  40. package/dist/chunks/{code-snippet.iD36_pOw.js → code-snippet.CK52UjIT.js} +5 -5
  41. package/dist/chunks/{code-snippet.iD36_pOw.js.map → code-snippet.CK52UjIT.js.map} +1 -1
  42. package/dist/chunks/{copy.jE0EciK8.js → copy.CHnSy6IK.js} +2 -2
  43. package/dist/chunks/{copy.jE0EciK8.js.map → copy.CHnSy6IK.js.map} +1 -1
  44. package/dist/chunks/{dashboard-section.Bq1abySA.js → dashboard-section.Dmtz7Dcc.js} +3 -3
  45. package/dist/chunks/{dashboard-section.Bq1abySA.js.map → dashboard-section.Dmtz7Dcc.js.map} +1 -1
  46. package/dist/chunks/dashed-underline.BTdq4lZ4.js +114 -0
  47. package/dist/chunks/dashed-underline.BTdq4lZ4.js.map +1 -0
  48. package/dist/chunks/{data-grid-template.UkERMC7S.js → data-grid-template.CP8N6JL8.js} +4 -4
  49. package/dist/chunks/{data-grid-template.UkERMC7S.js.map → data-grid-template.CP8N6JL8.js.map} +1 -1
  50. package/dist/chunks/{data-grid.o4emi6FA.js → data-grid.mNFj1mbB.js} +338 -335
  51. package/dist/chunks/data-grid.mNFj1mbB.js.map +1 -0
  52. package/dist/chunks/{date-picker.BPLtpBbX.js → date-picker.C61tyaW9.js} +3 -3
  53. package/dist/chunks/{date-picker.BPLtpBbX.js.map → date-picker.C61tyaW9.js.map} +1 -1
  54. package/dist/chunks/{date-range-picker.BYvj1y8T.js → date-range-picker.BCD198XQ.js} +6 -6
  55. package/dist/chunks/{date-range-picker.BYvj1y8T.js.map → date-range-picker.BCD198XQ.js.map} +1 -1
  56. package/dist/chunks/delight.CDBAFnwC.js +5 -0
  57. package/dist/chunks/delight.CDBAFnwC.js.map +1 -0
  58. package/dist/chunks/delight.xKDCvvaS.js +5 -0
  59. package/dist/chunks/delight.xKDCvvaS.js.map +1 -0
  60. package/dist/chunks/{dialog-page.Cngbnn1Z.js → dialog-page.D0E69ruX.js} +2 -2
  61. package/dist/chunks/{dialog-page.Cngbnn1Z.js.map → dialog-page.D0E69ruX.js.map} +1 -1
  62. package/dist/chunks/{dropdown-tag.DxLOtAIw.js → dropdown-tag.DstHH6nK.js} +2 -2
  63. package/dist/chunks/{dropdown-tag.DxLOtAIw.js.map → dropdown-tag.DstHH6nK.js.map} +1 -1
  64. package/dist/chunks/{dropdown.FJu_m8Tw.js → dropdown.B4yyYeuQ.js} +119 -104
  65. package/dist/chunks/{dropdown.FJu_m8Tw.js.map → dropdown.B4yyYeuQ.js.map} +1 -1
  66. package/dist/chunks/{empty-state.BGWjUH6G.js → empty-state.CEphUdux.js} +28 -28
  67. package/dist/chunks/empty-state.CEphUdux.js.map +1 -0
  68. package/dist/chunks/es6.n1ewaW31.js.map +1 -1
  69. package/dist/chunks/{file-uploader.Bp8PDPHt.js → file-uploader.DLFdbRG_.js} +3 -3
  70. package/dist/chunks/{file-uploader.Bp8PDPHt.js.map → file-uploader.DLFdbRG_.js.map} +1 -1
  71. package/dist/chunks/{filter-bar.BRB7BjbE.js → filter-bar.B4xd462M.js} +800 -794
  72. package/dist/chunks/filter-bar.B4xd462M.js.map +1 -0
  73. package/dist/chunks/{fixed-scroller.BjxA_R63.js → fixed-scroller.A-YuItwn.js} +2 -2
  74. package/dist/chunks/{fixed-scroller.BjxA_R63.js.map → fixed-scroller.A-YuItwn.js.map} +1 -1
  75. package/dist/chunks/{footer-actions.jRnnqdse.js → footer-actions.v8GdXxdM.js} +3 -3
  76. package/dist/chunks/{footer-actions.jRnnqdse.js.map → footer-actions.v8GdXxdM.js.map} +1 -1
  77. package/dist/chunks/{form-layout-title.CsmjzAje.js → form-layout-title.DTurbdqZ.js} +2 -2
  78. package/dist/chunks/{form-layout-title.CsmjzAje.js.map → form-layout-title.DTurbdqZ.js.map} +1 -1
  79. package/dist/chunks/{header-with-views.DJSGKRhj.js → header-with-views.CrR5TEJ6.js} +526 -522
  80. package/dist/chunks/{header-with-views.DJSGKRhj.js.map → header-with-views.CrR5TEJ6.js.map} +1 -1
  81. package/dist/chunks/{header.BBnN_HU9.js → header.B5gm8-_5.js} +4 -4
  82. package/dist/chunks/{header.BBnN_HU9.js.map → header.B5gm8-_5.js.map} +1 -1
  83. package/dist/chunks/{info-icon-with-popover.D6WFtFFY.js → info-icon-with-popover.DAq-iAlh.js} +2 -2
  84. package/dist/chunks/{info-icon-with-popover.D6WFtFFY.js.map → info-icon-with-popover.DAq-iAlh.js.map} +1 -1
  85. package/dist/chunks/{input-field-password.CtK2VVqL.js → input-field-password.B_khsQVP.js} +5 -5
  86. package/dist/chunks/{input-field-password.CtK2VVqL.js.map → input-field-password.B_khsQVP.js.map} +1 -1
  87. package/dist/chunks/{input-field-phone-number.Cf5nQpfS.js → input-field-phone-number.CLgA141p.js} +3 -3
  88. package/dist/chunks/{input-field-phone-number.Cf5nQpfS.js.map → input-field-phone-number.CLgA141p.js.map} +1 -1
  89. package/dist/chunks/{input-field.C94JL_Qv.js → input-field.hOqNPju4.js} +2 -2
  90. package/dist/chunks/{input-field.C94JL_Qv.js.map → input-field.hOqNPju4.js.map} +1 -1
  91. package/dist/chunks/{inspector.CxNXHV8C.js → inspector.DteTv0He.js} +2 -2
  92. package/dist/chunks/{inspector.CxNXHV8C.js.map → inspector.DteTv0He.js.map} +1 -1
  93. package/dist/chunks/{menu.BcXV6WhV.js → menu.CxYiSxSe.js} +3 -3
  94. package/dist/chunks/{menu.BcXV6WhV.js.map → menu.CxYiSxSe.js.map} +1 -1
  95. package/dist/chunks/{modal-fullscreen.D93NZCBg.js → modal-fullscreen.ByaJ5E40.js} +4 -4
  96. package/dist/chunks/{modal-fullscreen.D93NZCBg.js.map → modal-fullscreen.ByaJ5E40.js.map} +1 -1
  97. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B3uzibmr.js → modal.vue_vue_type_script_setup_true_lang.B6khnywr.js} +5 -5
  98. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.B3uzibmr.js.map → modal.vue_vue_type_script_setup_true_lang.B6khnywr.js.map} +1 -1
  99. package/dist/chunks/{pagination.rrPdG7nK.js → pagination.CrwYnynf.js} +3 -3
  100. package/dist/chunks/{pagination.rrPdG7nK.js.map → pagination.CrwYnynf.js.map} +1 -1
  101. package/dist/chunks/{popover.KFyR9BXF.js → popover.DvAXLmCp.js} +3 -3
  102. package/dist/chunks/{popover.KFyR9BXF.js.map → popover.DvAXLmCp.js.map} +1 -1
  103. package/dist/chunks/{promo-banner.BfXfaCrf.js → promo-banner.Di_GK1ac.js} +2 -2
  104. package/dist/chunks/{promo-banner.BfXfaCrf.js.map → promo-banner.Di_GK1ac.js.map} +1 -1
  105. package/dist/chunks/{rich-text-editor.Ddt7IVXL.js → rich-text-editor.9z0_M-YN.js} +2 -2
  106. package/dist/chunks/{rich-text-editor.Ddt7IVXL.js.map → rich-text-editor.9z0_M-YN.js.map} +1 -1
  107. package/dist/chunks/{search-bar.ZidZj4NE.js → search-bar.ye0aeyd2.js} +3 -3
  108. package/dist/chunks/{search-bar.ZidZj4NE.js.map → search-bar.ye0aeyd2.js.map} +1 -1
  109. package/dist/chunks/{secondary-nav.Cy2JAzoO.js → secondary-nav.Dsa986cq.js} +2 -2
  110. package/dist/chunks/{secondary-nav.Cy2JAzoO.js.map → secondary-nav.Dsa986cq.js.map} +1 -1
  111. package/dist/chunks/{sidepanel.CNA3pTXy.js → sidepanel.UiX__UxV.js} +4 -4
  112. package/dist/chunks/{sidepanel.CNA3pTXy.js.map → sidepanel.UiX__UxV.js.map} +1 -1
  113. package/dist/chunks/{structured-list-item.CLpfMbkV.js → structured-list-item.BYFd1N3z.js} +3 -3
  114. package/dist/chunks/{structured-list-item.CLpfMbkV.js.map → structured-list-item.BYFd1N3z.js.map} +1 -1
  115. package/dist/chunks/{summary-grid.types.BcicwgZm.js → summary-grid.types.IkdgA45D.js} +3 -3
  116. package/dist/chunks/{summary-grid.types.BcicwgZm.js.map → summary-grid.types.IkdgA45D.js.map} +1 -1
  117. package/dist/chunks/{tabs.Bn4YIjoy.js → tabs.CVCqPMAR.js} +2 -2
  118. package/dist/chunks/{tabs.Bn4YIjoy.js.map → tabs.CVCqPMAR.js.map} +1 -1
  119. package/dist/chunks/{textarea.Dl5TFi8E.js → textarea.UtxQ22_c.js} +2 -2
  120. package/dist/chunks/{textarea.Dl5TFi8E.js.map → textarea.UtxQ22_c.js.map} +1 -1
  121. package/dist/chunks/{timeline-item.CcbL86D0.js → timeline-item.C3AkVKE8.js} +5 -5
  122. package/dist/chunks/{timeline-item.CcbL86D0.js.map → timeline-item.C3AkVKE8.js.map} +1 -1
  123. package/dist/chunks/{toast.Ae5ZoWHb.js → toast.DdAPkCce.js} +2 -2
  124. package/dist/chunks/{toast.Ae5ZoWHb.js.map → toast.DdAPkCce.js.map} +1 -1
  125. package/dist/chunks/{toggle-button.Dv1t15yj.js → toggle-button.D-jybXy-.js} +2 -2
  126. package/dist/chunks/{toggle-button.Dv1t15yj.js.map → toggle-button.D-jybXy-.js.map} +1 -1
  127. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Bcu-t4d8.js → tutorial.vue_vue_type_script_setup_true_lang.DwYfNGGI.js} +4 -4
  128. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Bcu-t4d8.js.map → tutorial.vue_vue_type_script_setup_true_lang.DwYfNGGI.js.map} +1 -1
  129. package/dist/chunks/{use-cached-selected-values.Ber7lUiH.js → use-cached-selected-values.CRwxKmxX.js} +586 -580
  130. package/dist/chunks/use-cached-selected-values.CRwxKmxX.js.map +1 -0
  131. package/dist/code-snippet.js +1 -1
  132. package/dist/dashboard-template.js +1 -1
  133. package/dist/dashed-underline.js +1 -1
  134. package/dist/data-grid-template.js +1 -1
  135. package/dist/data-grid.js +1 -1
  136. package/dist/date-picker.js +2 -2
  137. package/dist/date-range-picker.js +2 -2
  138. package/dist/dropdown.js +3 -3
  139. package/dist/empty-state.js +1 -1
  140. package/dist/file-uploader.js +1 -1
  141. package/dist/filter-bar.js +1 -1
  142. package/dist/form-layout.js +1 -1
  143. package/dist/header-with-views.js +1 -1
  144. package/dist/header.js +1 -1
  145. package/dist/index.js +45 -45
  146. package/dist/input-field-password.js +1 -1
  147. package/dist/input-field-phone-number.js +1 -1
  148. package/dist/input-field.js +1 -1
  149. package/dist/inspector.js +1 -1
  150. package/dist/internal.js +8 -8
  151. package/dist/menu.js +1 -1
  152. package/dist/modal-fullscreen.js +1 -1
  153. package/dist/modal.js +2 -2
  154. package/dist/pagination.js +1 -1
  155. package/dist/popover.js +1 -1
  156. package/dist/promo-banner.js +1 -1
  157. package/dist/rich-text-editor.js +1 -1
  158. package/dist/search-bar.js +2 -2
  159. package/dist/secondary-nav.js +1 -1
  160. package/dist/sidepanel.js +1 -1
  161. package/dist/structured-list.js +1 -1
  162. package/dist/styles/bento-dark.css +1 -0
  163. package/dist/styles/bento-light.css +1 -0
  164. package/dist/styles/bento.css +1 -0
  165. package/dist/styles/legacy.css +1 -0
  166. package/dist/styles/styleguide.css +1 -0
  167. package/dist/summary-grid.js +1 -1
  168. package/dist/tabs.js +1 -1
  169. package/dist/textarea.js +1 -1
  170. package/dist/timeline.js +1 -1
  171. package/dist/toast.js +1 -1
  172. package/dist/tutorial.js +1 -1
  173. package/dist/web-types.json +1 -1
  174. package/package.json +4 -4
  175. package/dist/chunks/button.CVZJTZv0.js.map +0 -1
  176. package/dist/chunks/dashed-underline.DweJIpuJ.js +0 -98
  177. package/dist/chunks/dashed-underline.DweJIpuJ.js.map +0 -1
  178. package/dist/chunks/data-grid.o4emi6FA.js.map +0 -1
  179. package/dist/chunks/empty-state.BGWjUH6G.js.map +0 -1
  180. package/dist/chunks/filter-bar.BRB7BjbE.js.map +0 -1
  181. package/dist/chunks/use-cached-selected-values.Ber7lUiH.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { i as n } from "./chunks/input-field-phone-number.Cf5nQpfS.js";
1
+ import { i as n } from "./chunks/input-field-phone-number.CLgA141p.js";
2
2
  export {
3
3
  n as BentoInputFieldPhoneNumber
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as n, b as a, e as o, c as i, d as s, a as l } from "./chunks/input-field.C94JL_Qv.js";
1
+ import { B as n, b as a, e as o, c as i, d as s, a as l } from "./chunks/input-field.hOqNPju4.js";
2
2
  export {
3
3
  n as BentoInputField,
4
4
  a as BentoInputFieldElementPosition,
package/dist/inspector.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as t } from "./chunks/inspector.CxNXHV8C.js";
1
+ import { B as t } from "./chunks/inspector.DteTv0He.js";
2
2
  import { B as n } from "./chunks/inspector.types.DyHwE18g.js";
3
3
  export {
4
4
  t as BentoInspector,
package/dist/internal.js CHANGED
@@ -1,17 +1,17 @@
1
- import { a as e, b as r, C as t, c as s, d as p } from "./chunks/calendar.ugV5Vzqs.js";
2
- import { C as n, a as l } from "./chunks/copy.jE0EciK8.js";
1
+ import { a as e, b as r, C as t, c as s, d as p } from "./chunks/calendar.CTcfG9JK.js";
2
+ import { C as n, a as l } from "./chunks/copy.CHnSy6IK.js";
3
3
  import { C as f } from "./chunks/controls-group.BX2GxXvb.js";
4
- import { B as I, b as m, a as E, D as T } from "./chunks/dialog-page.Cngbnn1Z.js";
4
+ import { B as I, b as m, a as E, D as T } from "./chunks/dialog-page.D0E69ruX.js";
5
5
  import { E as d, F as N } from "./chunks/error-message.Cb9-ZwSV.js";
6
- import { F as O } from "./chunks/fixed-scroller.BjxA_R63.js";
6
+ import { F as O } from "./chunks/fixed-scroller.A-YuItwn.js";
7
7
  import { G as A, a as L } from "./chunks/grid-layout.BTLE3rac.js";
8
- import { I as c } from "./chunks/info-icon-with-popover.D6WFtFFY.js";
9
- import { b, c as g, u as y } from "./chunks/use-cached-selected-values.Ber7lUiH.js";
8
+ import { I as c } from "./chunks/info-icon-with-popover.DAq-iAlh.js";
9
+ import { b, c as g, u as y } from "./chunks/use-cached-selected-values.CRwxKmxX.js";
10
10
  import { L as F } from "./chunks/listbox-option-tag.DNBeYvNM.js";
11
11
  import { B as M } from "./chunks/teleport.CfGWjxe2.js";
12
12
  import { T as h } from "./chunks/tooltip.D2o0d8Xf.js";
13
- import { B as J } from "./chunks/button-actions-with-menu.DG5t9zB7.js";
14
- import { f as R } from "./chunks/button-actions.1MReMMnL.js";
13
+ import { B as J } from "./chunks/button-actions-with-menu.DZVOijPY.js";
14
+ import { f as R } from "./chunks/button-actions.Cr5gxSXb.js";
15
15
  export {
16
16
  R as BUTTON_ACTIONS_WITH_MENU_CONTAINER_INJECTION_KEY,
17
17
  I as BentoDialogPageAnimation,
package/dist/menu.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as o, a as t } from "./chunks/menu.BcXV6WhV.js";
1
+ import { B as o, a as t } from "./chunks/menu.CxYiSxSe.js";
2
2
  export {
3
3
  o as BentoMenu,
4
4
  t as BentoMenuEvent
@@ -1,4 +1,4 @@
1
- import { m as o, B as a } from "./chunks/modal-fullscreen.D93NZCBg.js";
1
+ import { m as o, B as a } from "./chunks/modal-fullscreen.ByaJ5E40.js";
2
2
  export {
3
3
  o as BentoModalFullscreen,
4
4
  a as BentoModalFullscreenPage
package/dist/modal.js CHANGED
@@ -1,5 +1,5 @@
1
- import { d as e, f as t, g as n, B as l, e as d, c as B, a as M, b as s } from "./chunks/base-modal.D2tNbxw3.js";
2
- import { _ as i } from "./chunks/modal.vue_vue_type_script_setup_true_lang.B3uzibmr.js";
1
+ import { d as e, f as t, g as n, B as l, e as d, c as B, a as M, b as s } from "./chunks/base-modal.BphJ3uEa.js";
2
+ import { _ as i } from "./chunks/modal.vue_vue_type_script_setup_true_lang.B6khnywr.js";
3
3
  export {
4
4
  i as BentoModal,
5
5
  e as BentoModalColumnLayoutVariant,
@@ -1,4 +1,4 @@
1
- import { B as n } from "./chunks/pagination.rrPdG7nK.js";
1
+ import { B as n } from "./chunks/pagination.CrwYnynf.js";
2
2
  export {
3
3
  n as BentoPagination
4
4
  };
package/dist/popover.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as r, a as s } from "./chunks/popover.KFyR9BXF.js";
1
+ import { B as r, a as s } from "./chunks/popover.DvAXLmCp.js";
2
2
  export {
3
3
  r as BentoPopover,
4
4
  s as BentoPopoverPositions
@@ -1,4 +1,4 @@
1
- import { p as r, B as a, a as e } from "./chunks/promo-banner.BfXfaCrf.js";
1
+ import { p as r, B as a, a as e } from "./chunks/promo-banner.Di_GK1ac.js";
2
2
  export {
3
3
  r as BentoPromoBanner,
4
4
  a as BentoPromoBannerColor,
@@ -1,4 +1,4 @@
1
- import { r as t } from "./chunks/rich-text-editor.Ddt7IVXL.js";
1
+ import { r as t } from "./chunks/rich-text-editor.9z0_M-YN.js";
2
2
  export {
3
3
  t as BentoRichTextEditor
4
4
  };
@@ -1,5 +1,5 @@
1
- import { B as r, b as t, a as B } from "./chunks/search-bar.ZidZj4NE.js";
2
- import { u as o } from "./chunks/dropdown.FJu_m8Tw.js";
1
+ import { B as r, b as t, a as B } from "./chunks/search-bar.ye0aeyd2.js";
2
+ import { u as o } from "./chunks/dropdown.B4yyYeuQ.js";
3
3
  export {
4
4
  r as BentoSearchBar,
5
5
  t as BentoSearchBarEvent,
@@ -1,4 +1,4 @@
1
- import { s as e } from "./chunks/secondary-nav.Cy2JAzoO.js";
1
+ import { s as e } from "./chunks/secondary-nav.Dsa986cq.js";
2
2
  export {
3
3
  e as BentoSecondaryNav
4
4
  };
package/dist/sidepanel.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as n, B as o, s as t } from "./chunks/sidepanel.CNA3pTXy.js";
1
+ import { a as n, B as o, s as t } from "./chunks/sidepanel.UiX__UxV.js";
2
2
  export {
3
3
  n as BentoSidepanel,
4
4
  o as BentoSidepanelEvent,
@@ -1,4 +1,4 @@
1
- import { B as r, a as o } from "./chunks/structured-list-item.CLpfMbkV.js";
1
+ import { B as r, a as o } from "./chunks/structured-list-item.BYFd1N3z.js";
2
2
  export {
3
3
  r as BentoStructuredList,
4
4
  o as BentoStructuredListItem
@@ -97,6 +97,7 @@
97
97
  --b-radio-button-knob-size: 8px;
98
98
  --b-radio-button-knob-offset-error: 2.5px;
99
99
  --b-radio-button-knob-offset: 3px;
100
+ --b-radio-button-line-height: 20px;
100
101
  --b-popover-border: unset;
101
102
  --b-modal-header-container-padding-block: 19px;
102
103
  --b-loading-button-tertiary-loading-text-decoration: underline;
@@ -96,6 +96,7 @@
96
96
  --b-radio-button-knob-size: 8px;
97
97
  --b-radio-button-knob-offset-error: 2.5px;
98
98
  --b-radio-button-knob-offset: 3px;
99
+ --b-radio-button-line-height: 20px;
99
100
  --b-popover-border: unset;
100
101
  --b-modal-header-container-padding-block: 19px;
101
102
  --b-loading-button-tertiary-loading-text-decoration: underline;
@@ -96,6 +96,7 @@
96
96
  --b-radio-button-knob-size: 8px;
97
97
  --b-radio-button-knob-offset-error: 2.5px;
98
98
  --b-radio-button-knob-offset: 3px;
99
+ --b-radio-button-line-height: 20px;
99
100
  --b-popover-border: unset;
100
101
  --b-modal-header-container-padding-block: 19px;
101
102
  --b-loading-button-tertiary-loading-text-decoration: underline;
@@ -123,6 +123,7 @@
123
123
  --b-radio-button-knob-size: 6px;
124
124
  --b-radio-button-knob-offset-error: 3.5px;
125
125
  --b-radio-button-unchecked-error-border-width: 1.5px;
126
+ --b-radio-button-line-height: 20px;
126
127
  --b-popover-box-shadow: 0px 8px 8px rgba(0, 17, 44, 0.04), 0px 2px 4px rgba(0, 17, 44, 0.08);
127
128
  --b-modal-backdrop-background-color: #00112c;
128
129
  --b-modal-header-container-padding-block: 19px;
@@ -96,6 +96,7 @@
96
96
  --b-radio-button-knob-size: 8px;
97
97
  --b-radio-button-knob-offset-error: 2.5px;
98
98
  --b-radio-button-knob-offset: 3px;
99
+ --b-radio-button-line-height: 20px;
99
100
  --b-popover-border: unset;
100
101
  --b-modal-header-container-padding-block: 19px;
101
102
  --b-loading-button-tertiary-loading-text-decoration: underline;
@@ -1,4 +1,4 @@
1
- import { s as r, a as t, d as a, _ as o, b as i, B as n, c as u, e as d } from "./chunks/summary-grid.types.BcicwgZm.js";
1
+ import { s as r, a as t, d as a, _ as o, b as i, B as n, c as u, e as d } from "./chunks/summary-grid.types.IkdgA45D.js";
2
2
  export {
3
3
  r as BentoSummaryGrid,
4
4
  t as BentoSummaryGridItemAmount,
package/dist/tabs.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as e, a as s } from "./chunks/tabs.Bn4YIjoy.js";
1
+ import { B as e, a as s } from "./chunks/tabs.CVCqPMAR.js";
2
2
  export {
3
3
  e as BentoTab,
4
4
  s as BentoTabs
package/dist/textarea.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as o } from "./chunks/textarea.Dl5TFi8E.js";
1
+ import { B as o } from "./chunks/textarea.UtxQ22_c.js";
2
2
  export {
3
3
  o as BentoTextarea
4
4
  };
package/dist/timeline.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t, b as i, a, c as m, B as o, d as l } from "./chunks/timeline-item.CcbL86D0.js";
1
+ import { t, b as i, a, c as m, B as o, d as l } from "./chunks/timeline-item.C3AkVKE8.js";
2
2
  export {
3
3
  t as BentoTimeline,
4
4
  i as BentoTimelineGapUnit,
package/dist/toast.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as a } from "./chunks/toast.Ae5ZoWHb.js";
1
+ import { t as a } from "./chunks/toast.DdAPkCce.js";
2
2
  export {
3
3
  a as BentoToast
4
4
  };
package/dist/tutorial.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as t } from "./chunks/tutorial.vue_vue_type_script_setup_true_lang.Bcu-t4d8.js";
1
+ import { _ as t } from "./chunks/tutorial.vue_vue_type_script_setup_true_lang.DwYfNGGI.js";
2
2
  export {
3
3
  t as BentoTutorial
4
4
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@adyen/bento-vue3",
4
- "version": "1.60.1",
4
+ "version": "1.61.0",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/bento-vue3",
3
- "version": "1.60.1",
3
+ "version": "1.61.0",
4
4
  "description": "Adyen Bento Vue 3 components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -45,7 +45,7 @@
45
45
  "unified": "11.0.5",
46
46
  "uuid": "11.0.5",
47
47
  "vue-demi": "0.14.10",
48
- "@adyen/bento-design-tokens": "1.60.1"
48
+ "@adyen/bento-design-tokens": "1.61.0"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "vue": "^3.2.47",
@@ -123,8 +123,8 @@
123
123
  "vue-tsc": "1.0.24",
124
124
  "@adyen/bento-core": "0.0.1",
125
125
  "@adyen/bento-tailwind": "0.3.11",
126
- "@adyen/ui-assets-icons-16": "6.3.1",
127
- "@adyen/ui-assets-payment-method-icons": "9.2.1"
126
+ "@adyen/ui-assets-icons-16": "6.3.0",
127
+ "@adyen/ui-assets-payment-method-icons": "9.2.0"
128
128
  },
129
129
  "scripts": {
130
130
  "build": "pnpm run build:prod",
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.CVZJTZv0.js","sources":["../../../core/src/components/button/button.types.ts","../../../vue2/src/components/button/button.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoButtonVariant {\n PRIMARY = 'primary',\n SECONDARY = 'secondary',\n TERTIARY = 'tertiary',\n TERTIARY_WITH_BACKGROUND = 'tertiary-with-background',\n}\n\nexport enum BentoButtonPropClass {\n CONDENSED = 'condensed',\n DESTRUCTIVE = 'critical',\n DISABLED = 'disabled',\n ICON_ONLY = 'icon-only',\n INVERSE = 'inverse',\n}\n\nexport interface BentoButtonProps {\n condensed?: boolean;\n critical?: boolean;\n disabled?: boolean;\n inverse?: boolean;\n variant?: BentoButtonVariant | `${BentoButtonVariant}`;\n type?: string;\n link?: object;\n}\n","<template>\n <component\n :is=\"componentType\"\n v-bind=\"componentProps\"\n class=\"b-button\"\n :class=\"{ ...conditionalClasses, ...getIconOnlyClass() }\"\n @click.capture=\"onClickButton\"\n >\n <span\n v-if=\"hasSlot('iconLeft')\"\n class=\"b-button__icon-left\"\n data-testid=\"icon-button-left\"\n :aria-hidden=\"hasSlot('default') ? 'true' : null\"\n >\n <slot name=\"iconLeft\" />\n </span>\n <bento-typography v-if=\"hasSlot('default')\" el=\"span\" variant=\"body\" stronger class=\"b-button__label\">\n <slot />\n </bento-typography>\n <span\n v-if=\"hasSlot('iconRight')\"\n class=\"b-button__icon-right\"\n data-testid=\"icon-button-right\"\n :aria-hidden=\"hasSlot('default') ? 'true' : null\"\n >\n <slot name=\"iconRight\" />\n </span>\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, useAttrs, useSlots } from 'vue';\n import { BentoButtonPropClass, BentoButtonVariant } from '@/core/components/button/button.types';\n import { BentoTypography } from '@/components/typography';\n import { useHasSlot } from '@/composables/use-has-slot/use-has-slot';\n import { Booleanish } from '@/types/prop-types';\n import type { RouterLinkProps } from 'vue-router/types/router.d.ts';\n import type { AnchorHTMLAttributes, ButtonHTMLAttributes } from 'vue/types/jsx.d.ts';\n import { BentoLink, BentoLinkVariant } from '@/components/link';\n\n // TODO: replace all this code when migrated to Vue 3 is complete as this is the only\n // current way to extend the `router-link` component in Vue 2 and Vue Router 3\n export interface LinkProps extends RouterLinkProps, AnchorHTMLAttributes {\n args?: { props: RouterLinkProps };\n\n /**\n * Set the rendered link to a regular external anchor link.\n */\n external: boolean;\n }\n\n const props = defineProps({\n /**\n * Reduces sizing of button\n */\n condensed: { type: Boolean, default: false },\n\n /**\n * Displays button as critical\n */\n critical: { type: Boolean, default: false },\n\n /**\n * Disables button functionality\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Sets color set to inverse\n */\n inverse: { type: Boolean, default: false },\n\n /**\n * Object containing props passed on to the BentoLink component. @see BentoLink documentation for which properties you can pass.\n */\n link: { type: Object, default: undefined },\n\n /**\n * The default behavior of the button.\n * Possible values are: 'button', 'reset', 'submit'\n */\n type: {\n type: String as PropType<ButtonHTMLAttributes['type']>,\n default: 'button',\n },\n\n /**\n * Types of flavour of Button\n * @values primary, secondary, tertiary, tertiary-with-background\n */\n variant: {\n type: String as PropType<BentoButtonVariant | `${BentoButtonVariant}`>,\n default: BentoButtonVariant.PRIMARY,\n validator: (value: BentoButtonVariant) => Object.values(BentoButtonVariant).includes(value),\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when the element has lost focus\n */\n (e: 'blur');\n\n /**\n * Emitted when the button is clicked\n */\n (e: 'click', event: MouseEvent);\n\n /**\n * Emitted when the element has received focus\n */\n (e: 'focus');\n\n /**\n * Emitted when the \"ESC\" key is pressed\n */\n (e: 'keydown.esc');\n }>();\n\n const attrs = useAttrs();\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const componentType = computed(() => {\n if (props?.link !== undefined) {\n return BentoLink;\n }\n return 'button';\n });\n const ariaAttributes = computed(() => ({\n 'aria-controls': attrs['aria-controls']?.toString() as string,\n 'aria-expanded': attrs['aria-expanded']?.toString() as Booleanish,\n }));\n\n const componentProps = computed(() =>\n componentType.value === 'button'\n ? {\n ...ariaAttributes.value,\n disabled: props.disabled,\n type: props.type,\n }\n : { ...props.link, disableTypography: true, variant: BentoLinkVariant.DEFAULT, isButton: true }\n );\n\n const variantClass = computed(() => ({\n [`b-button--${props.variant}${props.critical ? `-${BentoButtonPropClass.DESTRUCTIVE}` : ''}`]: true,\n }));\n\n const conditionalClasses = computed(() => ({\n ...variantClass.value,\n [`b-button--${BentoButtonPropClass.CONDENSED}`]: props.condensed,\n [`b-button--${BentoButtonPropClass.DISABLED}`]: props.disabled,\n [`b-button--${BentoButtonPropClass.INVERSE}`]: props.inverse,\n }));\n\n const getIconOnlyClass = () => ({\n [`b-button--${BentoButtonPropClass.ICON_ONLY}`]: !hasSlot('default'),\n });\n\n const onClickButton = (e: MouseEvent) => {\n if (!props.disabled) {\n emit('click', e);\n } else {\n e.preventDefault();\n e.stopPropagation();\n }\n };\n</script>\n\n<script lang=\"ts\">\n /**\n * Button component for all the various types of bento buttons.\n *\n * @example\n * import { BentoButton } from '@adyen/bento-vue2';\n * import { CheckMarkIcon } from '@adyen/ui-assets-icons-16';\n *\n * export default {\n * components: { BentoButton },\n * template: `\n * <bento-button\n * disabled\n * variant=\"secondary\"\n * >\n * <template #iconLeft>\n * <check-mark svg-title=\"checked\" />\n * </template>\n *\n * Button text\n *\n * <template #iconRight>\n * <check-mark svg-title=\"checked\" />\n * </template>\n * </bento-button>\n * `,\n * }\n */\n export default {\n name: 'bento-button',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"@/core/components/button/button.scss\" />\n"],"names":["BentoButtonVariant","BentoButtonVariant2","BentoButtonPropClass","BentoButtonPropClass2","__default__","props","__props","emit","__emit","attrs","useAttrs","slots","useSlots","hasSlot","useHasSlot","componentType","computed","BentoLink","ariaAttributes","_a","_b","componentProps","BentoLinkVariant","variantClass","conditionalClasses","getIconOnlyClass","onClickButton","e"],"mappings":";;;;;;AAGY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,YAAA,aACAA,EAAA,WAAA,YACAA,EAAA,2BAAA,4BAJQA,IAAAD,KAAA,CAAA,CAAA,GAOAE,IAAA,kBAAAC,OACRA,EAAA,YAAA,aACAA,EAAA,cAAA,YACAA,EAAA,WAAA,YACAA,EAAA,YAAA,aACAA,EAAA,UAAA,WALQA,IAAAD,KAAA,CAAA,CAAA;gDC2LRE,IAAA;AAAA,EAAe,MAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AApJA,UAAAC,IAAAC,GA8CAC,IAAAC,GAsBAC,IAAAC,EAAA,GACAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,EAAA,OACIX,KAAA,gBAAAA,EAAA,UAAA,SACIY,IAEJ,QAAO,GAEXC,IAAAF,EAAA,MAAA;;AAAA;AAAA,QAAuC,kBAAAG,IAAAV,EAAA,eAAA,MAAA,gBAAAU,EAAA;AAAA,QACe,kBAAAC,IAAAX,EAAA,eAAA,MAAA,gBAAAW,EAAA;AAAA,MACA;AAAA,KAAA,GAGtDC,IAAAL;AAAA,MAAuB,MAAAD,EAAA,UAAA,WAAA;AAAA,QAEb,GAAAG,EAAA;AAAA,QACsB,UAAAb,EAAA;AAAA,QACF,MAAAA,EAAA;AAAA,MACJ,IAAA,EAAA,GAAAA,EAAA,MAAA,mBAAA,IAAA,SAAAiB,EAAA,SAAA,UAAA,GAAA;AAAA,IAE4E,GAGtGC,IAAAP,EAAA,OAAA;AAAA,MAAqC,CAAA,aAAAX,EAAA,OAAA,GAAAA,EAAA,WAAA,IAAAH,EAAA,WAAA,KAAA,EAAA,EAAA,GAAA;AAAA,IAC8D,EAAA,GAGnGsB,IAAAR,EAAA,OAAA;AAAA,MAA2C,GAAAO,EAAA;AAAA,MACvB,CAAA,aAAArB,EAAA,SAAA,EAAA,GAAAG,EAAA;AAAA,MACuC,CAAA,aAAAH,EAAA,QAAA,EAAA,GAAAG,EAAA;AAAA,MACD,CAAA,aAAAH,EAAA,OAAA,EAAA,GAAAG,EAAA;AAAA,IACD,EAAA,GAGzDoB,IAAA,OAAA;AAAA,MAAgC,CAAA,aAAAvB,EAAA,SAAA,EAAA,GAAA,CAAAW,EAAA,SAAA;AAAA,IACuC,IAGvEa,IAAA,CAAAC,MAAA;AACI,MAAAtB,EAAA,YAGIsB,EAAA,eAAA,GACAA,EAAA,gBAAA,KAHApB,EAAA,SAAAoB,CAAA;AAAA,IAIJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,98 +0,0 @@
1
- import { defineComponent as g, useSlots as b, ref as l, computed as f, watch as E, withDirectives as D, createElementBlock as I, openBlock as m, renderSlot as v, createBlock as k, createCommentVNode as w, unref as t, withCtx as s, createVNode as h, createTextVNode as C, toDisplayString as y } from "vue";
2
- import { B as N } from "./popover.KFyR9BXF.js";
3
- import "./events.FNmSWp_P.js";
4
- import { B as V } from "./tooltip.D2o0d8Xf.js";
5
- import { B as z } from "./typography.DN5eC5ch.js";
6
- import { u as F } from "./use-has-slot.B7eQSabc.js";
7
- import { B as L } from "./teleport.CfGWjxe2.js";
8
- import { _ as M } from "./_plugin-vue_export-helper.CHgC5LLL.js";
9
- import "../assets/dashed-underline.css";
10
- const A = {}, G = /* @__PURE__ */ g({
11
- ...A,
12
- __name: "dashed-underline",
13
- props: {
14
- popoverText: { default: null },
15
- popoverPosition: { default: "top" },
16
- popoverSize: { default: "fit-content" },
17
- teleport: { default: () => ({
18
- disabled: !0
19
- }) },
20
- tooltipText: { default: null },
21
- tooltipPosition: { default: "top" }
22
- },
23
- setup(T) {
24
- const a = T, B = b(), S = F(B), o = l(null), r = l(!1), n = l(), i = () => {
25
- r.value = !0, n.value && clearTimeout(n.value);
26
- }, p = () => {
27
- const e = setTimeout(() => {
28
- r.value = !1;
29
- }, 200);
30
- n.value = e;
31
- }, _ = () => {
32
- i();
33
- }, P = (e) => {
34
- (!o.value || !((e == null ? void 0 : e.relatedTarget) instanceof Element) || !o.value.contains(e.relatedTarget)) && p();
35
- }, u = f(() => a.popoverText || S("popover-content")), O = f(() => !a.tooltipText && !u.value);
36
- return E(
37
- O,
38
- (e) => {
39
- if (e)
40
- throw new Error(
41
- "BentoDashedUnderline requires either a tooltip or a popover to be configured. Check the docs for more info."
42
- );
43
- },
44
- { immediate: !0 }
45
- ), (e, U) => {
46
- var d, c;
47
- return D((m(), I("span", {
48
- ref_key: "element",
49
- ref: o,
50
- class: "b-dashed-underline",
51
- tabindex: "0",
52
- onMouseenter: i,
53
- onMouseleave: p,
54
- onFocus: _,
55
- onFocusout: P
56
- }, [
57
- v(e.$slots, "default", {}, void 0, !0),
58
- o.value && u.value ? (m(), k(t(L), {
59
- key: 0,
60
- disabled: (d = e.teleport) == null ? void 0 : d.disabled,
61
- to: (c = e.teleport) == null ? void 0 : c.to
62
- }, {
63
- default: s(() => [
64
- h(t(N), {
65
- open: r.value,
66
- "target-element": o.value,
67
- position: e.popoverPosition,
68
- role: "tooltip",
69
- "fit-content": e.popoverSize === "fit-content" || void 0,
70
- large: e.popoverSize === "large" || void 0,
71
- small: e.popoverSize === "small" || void 0,
72
- "disable-focus-trap": ""
73
- }, {
74
- default: s(() => [
75
- v(e.$slots, "popover-content", {}, () => [
76
- h(t(z), null, {
77
- default: s(() => [
78
- C(y(e.popoverText), 1)
79
- ]),
80
- _: 1
81
- })
82
- ], !0)
83
- ]),
84
- _: 3
85
- }, 8, ["open", "target-element", "position", "fit-content", "large", "small"])
86
- ]),
87
- _: 3
88
- }, 8, ["disabled", "to"])) : w("", !0)
89
- ], 32)), [
90
- [t(V), e.tooltipText, e.tooltipPosition]
91
- ]);
92
- };
93
- }
94
- }), Q = /* @__PURE__ */ M(G, [["__scopeId", "data-v-8af7ac01"]]);
95
- export {
96
- Q as B
97
- };
98
- //# sourceMappingURL=dashed-underline.DweJIpuJ.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dashed-underline.DweJIpuJ.js","sources":["../../../vue2/src/components/dashed-underline/dashed-underline.vue"],"sourcesContent":["<template>\n <span\n ref=\"element\"\n v-bento-tooltip-directive:[tooltipPosition]=\"tooltipText\"\n class=\"b-dashed-underline\"\n tabindex=\"0\"\n @mouseenter=\"openPopover\"\n @mouseleave=\"closePopover\"\n @focus=\"infoIconOnFocus\"\n @focusout=\"infoIconOnFocusOut\"\n >\n <slot></slot>\n <bento-teleport v-if=\"element && hasPopover\" :disabled=\"teleport?.disabled\" :to=\"teleport?.to\">\n <bento-popover\n :open=\"isOpen\"\n :target-element=\"element\"\n :position=\"popoverPosition\"\n role=\"tooltip\"\n :fit-content=\"popoverSize === 'fit-content' || undefined\"\n :large=\"popoverSize === 'large' || undefined\"\n :small=\"popoverSize === 'small' || undefined\"\n disable-focus-trap\n >\n <slot name=\"popover-content\">\n <bento-typography>\n {{ popoverText }}\n </bento-typography>\n </slot>\n </bento-popover>\n </bento-teleport>\n </span>\n</template>\n\n<script lang=\"ts\" setup>\n import { computed, ref, useSlots, watch } from 'vue';\n import { BentoPopover } from '@/components/popover';\n import { BentoTooltipDirective as vBentoTooltipDirective } from '@/directives/tooltip/index';\n import { BentoTypography } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n import { BentoTeleport } from '@/internal';\n import { BentoDashedUnderlineProps } from './dashed-underline.types';\n\n const CLOSING_POPOVER_DELAY_MS = 200;\n\n const props = withDefaults(defineProps<BentoDashedUnderlineProps>(), {\n popoverText: null,\n popoverPosition: 'top',\n popoverSize: 'fit-content',\n teleport: () => ({\n disabled: true,\n }),\n tooltipText: null,\n tooltipPosition: 'top',\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const element = ref<HTMLSpanElement>(null);\n const isOpen = ref(false);\n\n const closingTimeOutId = ref();\n\n const openPopover = () => {\n isOpen.value = true;\n if (closingTimeOutId.value) {\n clearTimeout(closingTimeOutId.value);\n }\n };\n\n const closePopover = () => {\n // We want to delay closing for a couple of seconds so\n // it doesn't flicker if a user hovers over the icon and then inside the popover.\n const timeOutId = setTimeout(() => {\n isOpen.value = false;\n }, CLOSING_POPOVER_DELAY_MS);\n closingTimeOutId.value = timeOutId;\n };\n\n const infoIconOnFocus = () => {\n openPopover();\n };\n\n /**\n * Only close popover on blur if the newly focus element is not a child of this element\n * @param e - the event that contains the newly focused element\n */\n const infoIconOnFocusOut = (e: FocusEvent) => {\n if (!element.value || !(e?.relatedTarget instanceof Element) || !element.value.contains(e.relatedTarget)) {\n closePopover();\n }\n };\n\n const hasPopover = computed(() => props.popoverText || hasSlot('popover-content'));\n\n const shouldShowTooltipPopoverError = computed(() => !props.tooltipText && !hasPopover.value);\n\n watch(\n shouldShowTooltipPopoverError,\n value => {\n if (value) {\n throw new Error(\n 'BentoDashedUnderline requires either a tooltip or a popover to be configured. Check the docs for more info.'\n );\n }\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * The dashed underline serves as a visual cue to indicate that additional information is available for\n * a specific word or phrase without adding an icon.\n *\n * @example\n * import { BentoDashedUnderline } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoDashedUnderline },\n * template: `\n * <bento-dashed-underline>\n * annotated text\n * </bento-dashed-underline>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./dashed-underline.scss\" />\n"],"names":["__default__","props","__props","slots","useSlots","hasSlot","useHasSlot","element","ref","isOpen","closingTimeOutId","openPopover","closePopover","timeOutId","infoIconOnFocus","infoIconOnFocusOut","hasPopover","computed","shouldShowTooltipPopoverError","watch","value"],"mappings":";;;;;;;;;AA+HI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;AAnFA,UAAAC,IAAAC,GAWAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,EAAA,IAAA,GACAC,IAAAD,EAAA,EAAA,GAEAE,IAAAF,EAAA,GAEAG,IAAA,MAAA;AACI,MAAAF,EAAA,QAAA,IACAC,EAAA,SACI,aAAAA,EAAA,KAAA;AAAA,IACJ,GAGJE,IAAA,MAAA;AAGI,YAAAC,IAAA,WAAA,MAAA;AACI,QAAAJ,EAAA,QAAA;AAAA,MAAe,GAAA,GAAA;AAEnB,MAAAC,EAAA,QAAAG;AAAA,IAAyB,GAG7BC,IAAA,MAAA;AACI,MAAAH,EAAA;AAAA,IAAY,GAOhBI,IAAA,CAAA,MAAA;AACI,OAAA,CAAAR,EAAA,SAAA,GAAA,uBAAA,0BAAA,YAAA,CAAAA,EAAA,MAAA,SAAA,EAAA,aAAA,MACIK,EAAA;AAAA,IACJ,GAGJI,IAAAC,EAAA,MAAAhB,EAAA,eAAAI,EAAA,iBAAA,CAAA,GAEAa,IAAAD,EAAA,MAAA,CAAAhB,EAAA,eAAA,CAAAe,EAAA,KAAA;AAEA,WAAAG;AAAA,MAAAD;AAAA,MACI,CAAAE,MAAA;AAEI,YAAAA;AACI,gBAAA,IAAA;AAAA,YAAU;AAAA,UACN;AAAA,MAER;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}