@adyen/bento-vue2 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 (182) hide show
  1. package/dist/@types/index.d.ts +114 -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.CMqiD6vc.js → action-bar.Bgd_D2d9.js} +5 -5
  25. package/dist/chunks/{action-bar.CMqiD6vc.js.map → action-bar.Bgd_D2d9.js.map} +1 -1
  26. package/dist/chunks/{alert.Du9NfW-V.js → alert.C1QHvbmJ.js} +2 -2
  27. package/dist/chunks/{alert.Du9NfW-V.js.map → alert.C1QHvbmJ.js.map} +1 -1
  28. package/dist/chunks/{base-modal.xA_DhHx9.js → base-modal.BKjjZPZw.js} +4 -4
  29. package/dist/chunks/{base-modal.xA_DhHx9.js.map → base-modal.BKjjZPZw.js.map} +1 -1
  30. package/dist/chunks/{button-actions-with-menu.S7i4V-8E.js → button-actions-with-menu.YN379eYi.js} +4 -4
  31. package/dist/chunks/{button-actions-with-menu.S7i4V-8E.js.map → button-actions-with-menu.YN379eYi.js.map} +1 -1
  32. package/dist/chunks/{button-actions.BFtzsfNe.js → button-actions.CHZ2BT5_.js} +2 -2
  33. package/dist/chunks/{button-actions.BFtzsfNe.js.map → button-actions.CHZ2BT5_.js.map} +1 -1
  34. package/dist/chunks/{button.BuD-IsW5.js → button.CvgJ_0_Z.js} +21 -10
  35. package/dist/chunks/button.CvgJ_0_Z.js.map +1 -0
  36. package/dist/chunks/{calendar.DQiq_EoU.js → calendar.CjVkJzjc.js} +2 -2
  37. package/dist/chunks/{calendar.DQiq_EoU.js.map → calendar.CjVkJzjc.js.map} +1 -1
  38. package/dist/chunks/{card.Bk7Lz1GS.js → card.CcDdIUvd.js} +2 -2
  39. package/dist/chunks/{card.Bk7Lz1GS.js.map → card.CcDdIUvd.js.map} +1 -1
  40. package/dist/chunks/{code-snippet.BlYhf-Dt.js → code-snippet.gRALClm3.js} +5 -5
  41. package/dist/chunks/{code-snippet.BlYhf-Dt.js.map → code-snippet.gRALClm3.js.map} +1 -1
  42. package/dist/chunks/{copy.Bod4H2Dk.js → copy.qU5LvaNi.js} +2 -2
  43. package/dist/chunks/{copy.Bod4H2Dk.js.map → copy.qU5LvaNi.js.map} +1 -1
  44. package/dist/chunks/{dashboard-section.Dx6eYon4.js → dashboard-section.Bn5RJCPR.js} +3 -3
  45. package/dist/chunks/{dashboard-section.Dx6eYon4.js.map → dashboard-section.Bn5RJCPR.js.map} +1 -1
  46. package/dist/chunks/dashed-underline._q5UFPSC.js +78 -0
  47. package/dist/chunks/dashed-underline._q5UFPSC.js.map +1 -0
  48. package/dist/chunks/{data-grid-template.CVl3PU0v.js → data-grid-template.CrpwSZRE.js} +4 -4
  49. package/dist/chunks/{data-grid-template.CVl3PU0v.js.map → data-grid-template.CrpwSZRE.js.map} +1 -1
  50. package/dist/chunks/{data-grid.BZaXKTLk.js → data-grid.ZBzlPPcj.js} +351 -348
  51. package/dist/chunks/data-grid.ZBzlPPcj.js.map +1 -0
  52. package/dist/chunks/{date-picker.lrT6LXe-.js → date-picker.BOEKZKFp.js} +3 -3
  53. package/dist/chunks/{date-picker.lrT6LXe-.js.map → date-picker.BOEKZKFp.js.map} +1 -1
  54. package/dist/chunks/{date-range-picker.Djt5mYvh.js → date-range-picker.DMHCqAZA.js} +6 -6
  55. package/dist/chunks/{date-range-picker.Djt5mYvh.js.map → date-range-picker.DMHCqAZA.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.C5r6tM57.js → dialog-page.CDV828kt.js} +2 -2
  61. package/dist/chunks/{dialog-page.C5r6tM57.js.map → dialog-page.CDV828kt.js.map} +1 -1
  62. package/dist/chunks/{dropdown-tag.CY3nZ50z.js → dropdown-tag.CaEPpy4R.js} +2 -2
  63. package/dist/chunks/{dropdown-tag.CY3nZ50z.js.map → dropdown-tag.CaEPpy4R.js.map} +1 -1
  64. package/dist/chunks/{dropdown.Cx-3TGBk.js → dropdown.3c5SsPV1.js} +89 -74
  65. package/dist/chunks/{dropdown.Cx-3TGBk.js.map → dropdown.3c5SsPV1.js.map} +1 -1
  66. package/dist/chunks/empty-state.DXDb-S58.js +151 -0
  67. package/dist/chunks/empty-state.DXDb-S58.js.map +1 -0
  68. package/dist/chunks/es6.n1ewaW31.js.map +1 -1
  69. package/dist/chunks/{file-uploader.E18P6eyS.js → file-uploader.ChDPu4V7.js} +3 -3
  70. package/dist/chunks/{file-uploader.E18P6eyS.js.map → file-uploader.ChDPu4V7.js.map} +1 -1
  71. package/dist/chunks/{filter-bar.D6IL1UDu.js → filter-bar.BVRAteKx.js} +545 -540
  72. package/dist/chunks/filter-bar.BVRAteKx.js.map +1 -0
  73. package/dist/chunks/{fixed-scroller.D0a6q8_i.js → fixed-scroller.DPiQh_o-.js} +2 -2
  74. package/dist/chunks/{fixed-scroller.D0a6q8_i.js.map → fixed-scroller.DPiQh_o-.js.map} +1 -1
  75. package/dist/chunks/{footer-actions.BgpSnSSn.js → footer-actions.B3pFu9GM.js} +3 -3
  76. package/dist/chunks/{footer-actions.BgpSnSSn.js.map → footer-actions.B3pFu9GM.js.map} +1 -1
  77. package/dist/chunks/{form-layout-title.DBCY18f8.js → form-layout-title.Ck5QqPkA.js} +2 -2
  78. package/dist/chunks/{form-layout-title.DBCY18f8.js.map → form-layout-title.Ck5QqPkA.js.map} +1 -1
  79. package/dist/chunks/{header-with-views.DAdbhhG9.js → header-with-views.BlEEUDWs.js} +486 -484
  80. package/dist/chunks/{header-with-views.DAdbhhG9.js.map → header-with-views.BlEEUDWs.js.map} +1 -1
  81. package/dist/chunks/{header.8SId1U5r.js → header.BfxNBVCD.js} +4 -4
  82. package/dist/chunks/{header.8SId1U5r.js.map → header.BfxNBVCD.js.map} +1 -1
  83. package/dist/chunks/{info-icon-with-popover.XZqkxPsB.js → info-icon-with-popover.B4Q8jmW7.js} +2 -2
  84. package/dist/chunks/{info-icon-with-popover.XZqkxPsB.js.map → info-icon-with-popover.B4Q8jmW7.js.map} +1 -1
  85. package/dist/chunks/{input-field-password.lK0Im1eg.js → input-field-password.Ciw4TWWq.js} +5 -5
  86. package/dist/chunks/{input-field-password.lK0Im1eg.js.map → input-field-password.Ciw4TWWq.js.map} +1 -1
  87. package/dist/chunks/{input-field-phone-number.BnjBqUKg.js → input-field-phone-number.CRx64sme.js} +3 -3
  88. package/dist/chunks/{input-field-phone-number.BnjBqUKg.js.map → input-field-phone-number.CRx64sme.js.map} +1 -1
  89. package/dist/chunks/{input-field.B8HxtNIv.js → input-field.DOnqD_Fx.js} +2 -2
  90. package/dist/chunks/{input-field.B8HxtNIv.js.map → input-field.DOnqD_Fx.js.map} +1 -1
  91. package/dist/chunks/{inspector.CegHqvEW.js → inspector.tn1wr5hV.js} +2 -2
  92. package/dist/chunks/{inspector.CegHqvEW.js.map → inspector.tn1wr5hV.js.map} +1 -1
  93. package/dist/chunks/{menu.CT0SIn4v.js → menu.B_DCBdeN.js} +3 -3
  94. package/dist/chunks/{menu.CT0SIn4v.js.map → menu.B_DCBdeN.js.map} +1 -1
  95. package/dist/chunks/{modal-fullscreen.tofT1h0P.js → modal-fullscreen.cBUMfJhU.js} +4 -4
  96. package/dist/chunks/{modal-fullscreen.tofT1h0P.js.map → modal-fullscreen.cBUMfJhU.js.map} +1 -1
  97. package/dist/chunks/{modal.CiYtGu6u.js → modal.DWkmyvRc.js} +5 -5
  98. package/dist/chunks/{modal.CiYtGu6u.js.map → modal.DWkmyvRc.js.map} +1 -1
  99. package/dist/chunks/{pagination.B-EP9Lkq.js → pagination.pzY_1Qqp.js} +3 -3
  100. package/dist/chunks/{pagination.B-EP9Lkq.js.map → pagination.pzY_1Qqp.js.map} +1 -1
  101. package/dist/chunks/{popover.COaHa4ES.js → popover.BN2VK6KG.js} +3 -3
  102. package/dist/chunks/{popover.COaHa4ES.js.map → popover.BN2VK6KG.js.map} +1 -1
  103. package/dist/chunks/{promo-banner.DJpA7Whg.js → promo-banner.Cua4uX1x.js} +2 -2
  104. package/dist/chunks/{promo-banner.DJpA7Whg.js.map → promo-banner.Cua4uX1x.js.map} +1 -1
  105. package/dist/chunks/{rich-text-editor.C4NdjtLA.js → rich-text-editor.BRlygI8q.js} +2 -2
  106. package/dist/chunks/{rich-text-editor.C4NdjtLA.js.map → rich-text-editor.BRlygI8q.js.map} +1 -1
  107. package/dist/chunks/{search-bar.B4u_IgiI.js → search-bar.C10szx9Q.js} +3 -3
  108. package/dist/chunks/{search-bar.B4u_IgiI.js.map → search-bar.C10szx9Q.js.map} +1 -1
  109. package/dist/chunks/{secondary-nav.EROJ_sJQ.js → secondary-nav.Bdxei6WP.js} +2 -2
  110. package/dist/chunks/{secondary-nav.EROJ_sJQ.js.map → secondary-nav.Bdxei6WP.js.map} +1 -1
  111. package/dist/chunks/{sidepanel.3EBWM8JV.js → sidepanel.X5Te2FiT.js} +4 -4
  112. package/dist/chunks/{sidepanel.3EBWM8JV.js.map → sidepanel.X5Te2FiT.js.map} +1 -1
  113. package/dist/chunks/{structured-list-item.rOTJM0uc.js → structured-list-item.n5vrbuW9.js} +3 -3
  114. package/dist/chunks/{structured-list-item.rOTJM0uc.js.map → structured-list-item.n5vrbuW9.js.map} +1 -1
  115. package/dist/chunks/{summary-grid.types.Bg1Y7i-F.js → summary-grid.types.D23lQ-e5.js} +3 -3
  116. package/dist/chunks/{summary-grid.types.Bg1Y7i-F.js.map → summary-grid.types.D23lQ-e5.js.map} +1 -1
  117. package/dist/chunks/{tabs.DX_Gq12z.js → tabs.DKehFLDL.js} +2 -2
  118. package/dist/chunks/{tabs.DX_Gq12z.js.map → tabs.DKehFLDL.js.map} +1 -1
  119. package/dist/chunks/{textarea.0PapD8Nl.js → textarea.D09495Nz.js} +2 -2
  120. package/dist/chunks/{textarea.0PapD8Nl.js.map → textarea.D09495Nz.js.map} +1 -1
  121. package/dist/chunks/{timeline-item.IFw76Qeh.js → timeline-item.DKPI-4iu.js} +5 -5
  122. package/dist/chunks/{timeline-item.IFw76Qeh.js.map → timeline-item.DKPI-4iu.js.map} +1 -1
  123. package/dist/chunks/{toast.B2u2W_TQ.js → toast.C_uVjJnK.js} +2 -2
  124. package/dist/chunks/{toast.B2u2W_TQ.js.map → toast.C_uVjJnK.js.map} +1 -1
  125. package/dist/chunks/{toggle-button.ChDbeBZ8.js → toggle-button.COEDg5Ym.js} +2 -2
  126. package/dist/chunks/{toggle-button.ChDbeBZ8.js.map → toggle-button.COEDg5Ym.js.map} +1 -1
  127. package/dist/chunks/{tutorial.suIRmXta.js → tutorial.DgmK5EEo.js} +4 -4
  128. package/dist/chunks/{tutorial.suIRmXta.js.map → tutorial.DgmK5EEo.js.map} +1 -1
  129. package/dist/chunks/{use-cached-selected-values.9OnD_j5F.js → use-cached-selected-values.C-umGJXi.js} +451 -445
  130. package/dist/chunks/use-cached-selected-values.C-umGJXi.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 +20 -1
  174. package/package.json +5 -5
  175. package/dist/chunks/button.BuD-IsW5.js.map +0 -1
  176. package/dist/chunks/dashed-underline.CY5J4pZp.js +0 -65
  177. package/dist/chunks/dashed-underline.CY5J4pZp.js.map +0 -1
  178. package/dist/chunks/data-grid.BZaXKTLk.js.map +0 -1
  179. package/dist/chunks/empty-state.IvvHHQ35.js +0 -151
  180. package/dist/chunks/empty-state.IvvHHQ35.js.map +0 -1
  181. package/dist/chunks/filter-bar.D6IL1UDu.js.map +0 -1
  182. package/dist/chunks/use-cached-selected-values.9OnD_j5F.js.map +0 -1
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.DQiq_EoU.js";
2
- import { C as n, a as l } from "./chunks/copy.Bod4H2Dk.js";
1
+ import { a as e, b as r, C as t, c as s, d as p } from "./chunks/calendar.CjVkJzjc.js";
2
+ import { C as n, a as l } from "./chunks/copy.qU5LvaNi.js";
3
3
  import { C as f } from "./chunks/controls-group.C4CHrb6Y.js";
4
- import { B as I, b as m, a as E, D as T } from "./chunks/dialog-page.C5r6tM57.js";
4
+ import { B as I, b as m, a as E, D as T } from "./chunks/dialog-page.CDV828kt.js";
5
5
  import { E as d, F as N } from "./chunks/error-message.BAE9B9-N.js";
6
- import { F as O } from "./chunks/fixed-scroller.D0a6q8_i.js";
6
+ import { F as O } from "./chunks/fixed-scroller.DPiQh_o-.js";
7
7
  import { G as A, a as L } from "./chunks/grid-layout.HvTAa4to.js";
8
- import { I as c } from "./chunks/info-icon-with-popover.XZqkxPsB.js";
9
- import { b, c as g, u as y } from "./chunks/use-cached-selected-values.9OnD_j5F.js";
8
+ import { I as c } from "./chunks/info-icon-with-popover.B4Q8jmW7.js";
9
+ import { b, c as g, u as y } from "./chunks/use-cached-selected-values.C-umGJXi.js";
10
10
  import { L as F } from "./chunks/listbox-option-tag.CczGPhWH.js";
11
11
  import { B as M } from "./chunks/teleport.BV6zrDjA.js";
12
12
  import { T as h } from "./chunks/tooltip.DyZIyMZN.js";
13
- import { B as J } from "./chunks/button-actions-with-menu.S7i4V-8E.js";
14
- import { f as R } from "./chunks/button-actions.BFtzsfNe.js";
13
+ import { B as J } from "./chunks/button-actions-with-menu.YN379eYi.js";
14
+ import { f as R } from "./chunks/button-actions.CHZ2BT5_.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.CT0SIn4v.js";
1
+ import { B as o, a as t } from "./chunks/menu.B_DCBdeN.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.tofT1h0P.js";
1
+ import { m as o, B as a } from "./chunks/modal-fullscreen.cBUMfJhU.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 B, c as d, a as M, b as s } from "./chunks/base-modal.xA_DhHx9.js";
2
- import { B as i } from "./chunks/modal.CiYtGu6u.js";
1
+ import { d as e, f as t, g as n, B as l, e as B, c as d, a as M, b as s } from "./chunks/base-modal.BKjjZPZw.js";
2
+ import { B as i } from "./chunks/modal.DWkmyvRc.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.B-EP9Lkq.js";
1
+ import { B as n } from "./chunks/pagination.pzY_1Qqp.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.COaHa4ES.js";
1
+ import { B as r, a as s } from "./chunks/popover.BN2VK6KG.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.DJpA7Whg.js";
1
+ import { p as r, B as a, a as e } from "./chunks/promo-banner.Cua4uX1x.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.C4NdjtLA.js";
1
+ import { r as t } from "./chunks/rich-text-editor.BRlygI8q.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.B4u_IgiI.js";
2
- import { u as o } from "./chunks/dropdown.Cx-3TGBk.js";
1
+ import { B as r, b as t, a as B } from "./chunks/search-bar.C10szx9Q.js";
2
+ import { u as o } from "./chunks/dropdown.3c5SsPV1.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.EROJ_sJQ.js";
1
+ import { s as e } from "./chunks/secondary-nav.Bdxei6WP.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.3EBWM8JV.js";
1
+ import { a as n, B as o, s as t } from "./chunks/sidepanel.X5Te2FiT.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.rOTJM0uc.js";
1
+ import { B as r, a as o } from "./chunks/structured-list-item.n5vrbuW9.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, e as a, b as o, c as i, B as n, d as u, f as d } from "./chunks/summary-grid.types.Bg1Y7i-F.js";
1
+ import { s as r, a as t, e as a, b as o, c as i, B as n, d as u, f as d } from "./chunks/summary-grid.types.D23lQ-e5.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.DX_Gq12z.js";
1
+ import { B as e, a as s } from "./chunks/tabs.DKehFLDL.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.0PapD8Nl.js";
1
+ import { B as o } from "./chunks/textarea.D09495Nz.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.IFw76Qeh.js";
1
+ import { t, b as i, a, c as m, B as o, d as l } from "./chunks/timeline-item.DKPI-4iu.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.B2u2W_TQ.js";
1
+ import { t as a } from "./chunks/toast.C_uVjJnK.js";
2
2
  export {
3
3
  a as BentoToast
4
4
  };
package/dist/tutorial.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as r } from "./chunks/tutorial.suIRmXta.js";
1
+ import { t as r } from "./chunks/tutorial.DgmK5EEo.js";
2
2
  export {
3
3
  r as BentoTutorial
4
4
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@adyen/bento-vue2",
4
- "version": "1.60.1",
4
+ "version": "1.61.0",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -4224,6 +4224,16 @@
4224
4224
  },
4225
4225
  "default": "null"
4226
4226
  },
4227
+ {
4228
+ "name": "popoverTitle",
4229
+ "required": false,
4230
+ "description": "Title showed in the popover on hover",
4231
+ "value": {
4232
+ "kind": "expression",
4233
+ "type": "string"
4234
+ },
4235
+ "default": "null"
4236
+ },
4227
4237
  {
4228
4238
  "name": "popoverPosition",
4229
4239
  "required": false,
@@ -6021,6 +6031,15 @@
6021
6031
  "type": "BentoDropdownVirtulisationOptions"
6022
6032
  },
6023
6033
  "default": "false"
6034
+ },
6035
+ {
6036
+ "name": "enableValueLabelPair",
6037
+ "description": "Enables value/label value handling. When `true`, the component expects and emits value/label\npair objects instead of primitive values.\n\nThis affects both the `value` prop and the `input` event payload.\n\n- **Input (`value` prop):** Expects a `{ value: string | number, label: string }` object (or an array of them for multi-select).\n- **Output (`input` event):** Emits a `{ value: string | number, label: string }` object (or an array of them) upon selection.\n\nThis is particularly useful when a selected item's label is not available in the `items` prop,\nallowing the component to display the correct label for values loaded from external sources.",
6038
+ "value": {
6039
+ "kind": "expression",
6040
+ "type": "boolean"
6041
+ },
6042
+ "default": "false"
6024
6043
  }
6025
6044
  ],
6026
6045
  "events": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/bento-vue2",
3
- "version": "1.60.1",
3
+ "version": "1.61.0",
4
4
  "description": "Adyen Bento Vue2 components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -46,7 +46,7 @@
46
46
  "unified": "11.0.5",
47
47
  "uuid": "11.0.5",
48
48
  "vue-demi": "0.14.10",
49
- "@adyen/bento-design-tokens": "1.60.1"
49
+ "@adyen/bento-design-tokens": "1.61.0"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "vue": "~2.7",
@@ -136,11 +136,11 @@
136
136
  "vue-style-loader": "4.1.3",
137
137
  "vue-template-compiler": "2.7.16",
138
138
  "vue-tsc": "1.0.24",
139
- "@adyen/bento-cli": "0.3.1",
139
+ "@adyen/bento-cli": "0.3.0",
140
140
  "@adyen/bento-core": "0.0.1",
141
141
  "@adyen/bento-tailwind": "0.3.11",
142
- "@adyen/ui-assets-icons-16": "6.3.1",
143
- "@adyen/ui-assets-payment-method-icons": "9.2.1"
142
+ "@adyen/ui-assets-icons-16": "6.3.0",
143
+ "@adyen/ui-assets-payment-method-icons": "9.2.0"
144
144
  },
145
145
  "optionalDependencies": {
146
146
  "vue-router": "~3.6"
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.BuD-IsW5.js","sources":["../../../core/src/components/button/button.types.ts","../../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([\"blur\", \"click\", \"focus\", \"keydown.esc\"]);\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__","attrs","useAttrs","slots","useSlots","hasSlot","useHasSlot","componentType","computed","props","BentoLink","ariaAttributes","_a","_b","componentProps","BentoLinkVariant","variantClass","conditionalClasses","e","emit"],"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;ACuKR,MAAAE,IAAA;AAAA,EAAe,MAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAhFAC,IAAAC,EAAA,GACAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,EAAA,OACIC,KAAA,gBAAAA,EAAA,UAAA,SACIC,IAEJ,QAAO,GAEXC,IAAAH,EAAA,MAAA;;AAAA;AAAA,QAAuC,kBAAAI,IAAAX,EAAA,eAAA,MAAA,gBAAAW,EAAA;AAAA,QACe,kBAAAC,IAAAZ,EAAA,eAAA,MAAA,gBAAAY,EAAA;AAAA,MACA;AAAA,KAAA,GAGtDC,IAAAN;AAAA,MAAuB,MAAAD,EAAA,UAAA,WAAA;AAAA,QAEb,GAAAI,EAAA;AAAA,QACsB,UAAAF,EAAA;AAAA,QACF,MAAAA,EAAA;AAAA,MACJ,IAAA,EAAA,GAAAA,EAAA,MAAA,mBAAA,IAAA,SAAAM,EAAA,SAAA,UAAA,GAAA;AAAA,IAE4E,GAGtGC,IAAAR,EAAA,OAAA;AAAA,MAAqC,CAAA,aAAAC,EAAA,OAAA,GAAAA,EAAA,WAAA,IAAAX,EAAA,WAAA,KAAA,EAAA,EAAA,GAAA;AAAA,IAC8D,EAAA,GAGnGmB,IAAAT,EAAA,OAAA;AAAA,MAA2C,GAAAQ,EAAA;AAAA,MACvB,CAAA,aAAAlB,EAAA,SAAA,EAAA,GAAAW,EAAA;AAAA,MACuC,CAAA,aAAAX,EAAA,QAAA,EAAA,GAAAW,EAAA;AAAA,MACD,CAAA,aAAAX,EAAA,OAAA,EAAA,GAAAW,EAAA;AAAA,IACD,EAAA;6LAGzD,OAAA;AAAA,MAAgC,CAAA,aAAAX,EAAA,SAAA,EAAA,GAAA,CAAAO,EAAA,SAAA;AAAA,IACuC,mBAGvE,CAAAa,MAAA;AACI,MAAAT,EAAA,YAGIS,EAAA,eAAA,GACAA,EAAA,gBAAA,KAHAC,EAAA,SAAAD,CAAA;AAAA,IAIJ;;;;;;;;;;;;;;;;;"}
@@ -1,65 +0,0 @@
1
- import { defineComponent as T, useSlots as h, ref as l, computed as v, watch as P } from "vue";
2
- import { B } from "./popover.COaHa4ES.js";
3
- import { B as O } from "./typography.J1v_SPG3.js";
4
- import { u as x } from "./use-has-slot.C9lQZ6nz.js";
5
- import { B as g } from "./tooltip.DyZIyMZN.js";
6
- import { B as S } from "./teleport.BV6zrDjA.js";
7
- import { n as b } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
8
- import "../assets/dashed-underline.css";
9
- const I = {}, w = /* @__PURE__ */ T({
10
- ...I,
11
- __name: "dashed-underline",
12
- props: {
13
- popoverText: { default: null },
14
- popoverPosition: { default: "top" },
15
- popoverSize: { default: "fit-content" },
16
- teleport: { default: () => ({
17
- disabled: !0
18
- }) },
19
- tooltipText: { default: null },
20
- tooltipPosition: { default: "top" }
21
- },
22
- setup(a) {
23
- const o = a, n = 200, e = h(), s = x(e), r = l(null), p = l(!1), i = l(), c = () => {
24
- p.value = !0, i.value && clearTimeout(i.value);
25
- }, u = () => {
26
- const t = setTimeout(() => {
27
- p.value = !1;
28
- }, n);
29
- i.value = t;
30
- }, m = () => {
31
- c();
32
- }, _ = (t) => {
33
- (!r.value || !((t == null ? void 0 : t.relatedTarget) instanceof Element) || !r.value.contains(t.relatedTarget)) && u();
34
- }, d = v(() => o.popoverText || s("popover-content")), f = v(() => !o.tooltipText && !d.value);
35
- return P(
36
- f,
37
- (t) => {
38
- if (t)
39
- throw new Error(
40
- "BentoDashedUnderline requires either a tooltip or a popover to be configured. Check the docs for more info."
41
- );
42
- },
43
- { immediate: !0 }
44
- ), { __sfc: !0, CLOSING_POPOVER_DELAY_MS: n, props: o, slots: e, hasSlot: s, element: r, isOpen: p, closingTimeOutId: i, openPopover: c, closePopover: u, infoIconOnFocus: m, infoIconOnFocusOut: _, hasPopover: d, shouldShowTooltipPopoverError: f, BentoPopover: B, vBentoTooltipDirective: g, BentoTypography: O, BentoTeleport: S };
45
- }
46
- });
47
- var y = function() {
48
- var s, r;
49
- var o = this, n = o._self._c, e = o._self._setupProxy;
50
- return n("span", { directives: [{ name: "bento-tooltip-directive", rawName: "v-bento-tooltip-directive:[tooltipPosition]", value: o.tooltipText, expression: "tooltipText", arg: o.tooltipPosition }], ref: "element", staticClass: "b-dashed-underline", attrs: { tabindex: "0" }, on: { mouseenter: e.openPopover, mouseleave: e.closePopover, focus: e.infoIconOnFocus, focusout: e.infoIconOnFocusOut } }, [o._t("default"), e.element && e.hasPopover ? n(e.BentoTeleport, { attrs: { disabled: (s = o.teleport) == null ? void 0 : s.disabled, to: (r = o.teleport) == null ? void 0 : r.to } }, [n(e.BentoPopover, { attrs: { open: e.isOpen, "target-element": e.element, position: o.popoverPosition, role: "tooltip", "fit-content": o.popoverSize === "fit-content" || void 0, large: o.popoverSize === "large" || void 0, small: o.popoverSize === "small" || void 0, "disable-focus-trap": "" } }, [o._t("popover-content", function() {
51
- return [n(e.BentoTypography, [o._v(" " + o._s(o.popoverText) + " ")])];
52
- })], 2)], 1) : o._e()], 2);
53
- }, z = [], C = /* @__PURE__ */ b(
54
- w,
55
- y,
56
- z,
57
- !1,
58
- null,
59
- "71dfd666"
60
- );
61
- const k = C.exports;
62
- export {
63
- k as B
64
- };
65
- //# sourceMappingURL=dashed-underline.CY5J4pZp.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dashed-underline.CY5J4pZp.js","sources":["../../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 = defineProps({\n popoverText: { default: null },\n popoverPosition: { default: 'top' },\n popoverSize: { default: 'fit-content' },\n teleport: { default: () => ({\n disabled: true,\n }) },\n tooltipText: { default: null },\n tooltipPosition: { default: '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__","CLOSING_POPOVER_DELAY_MS","slots","useSlots","hasSlot","useHasSlot","element","ref","isOpen","closingTimeOutId","openPopover","closePopover","timeOutId","infoIconOnFocus","infoIconOnFocusOut","e","hasPopover","computed","props","shouldShowTooltipPopoverError","watch","value"],"mappings":";;;;;;;;AA+HI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;iBArFAC,IAAA,KAaAC,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,GAAAP,CAAA;AAEnB,MAAAQ,EAAA,QAAAG;AAAA,IAAyB,GAG7BC,IAAA,MAAA;AACI,MAAAH,EAAA;AAAA,IAAY,GAOhBI,IAAA,CAAAC,MAAA;AACI,OAAA,CAAAT,EAAA,SAAA,GAAAS,KAAA,gBAAAA,EAAA,0BAAA,YAAA,CAAAT,EAAA,MAAA,SAAAS,EAAA,aAAA,MACIJ,EAAA;AAAA,IACJ,GAGJK,IAAAC,EAAA,MAAAC,EAAA,eAAAd,EAAA,iBAAA,CAAA,GAEAe,IAAAF,EAAA,MAAA,CAAAC,EAAA,eAAA,CAAAF,EAAA,KAAA;AAEA,WAAAI;AAAA,MAAAD;AAAA,MACI,CAAAE,MAAA;AAEI,YAAAA;AACI,gBAAA,IAAA;AAAA,YAAU;AAAA,UACN;AAAA,MAER;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB;;;;;;;;;;;;;;;;;;"}