@adyen/bento-vue2 2.0.0-rc.5 → 2.0.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 (364) hide show
  1. package/README.md +0 -38
  2. package/dist/@types/index.d.ts +148 -56
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.css +1 -1
  10. package/dist/assets/ai-tag.css +1 -1
  11. package/dist/assets/anchor-scroller.css +1 -1
  12. package/dist/assets/base-modal.css +1 -1
  13. package/dist/assets/button-actions.css +1 -1
  14. package/dist/assets/calendar.css +1 -1
  15. package/dist/assets/card.css +1 -1
  16. package/dist/assets/checkbox-group.css +1 -1
  17. package/dist/assets/checkbox.css +1 -1
  18. package/dist/assets/code-snippet.css +1 -1
  19. package/dist/assets/data-grid-template.css +1 -1
  20. package/dist/assets/data-grid.css +1 -1
  21. package/dist/assets/date-picker.css +1 -1
  22. package/dist/assets/date-range-picker.css +1 -1
  23. package/dist/assets/dialog-page.css +1 -1
  24. package/dist/assets/drawer.css +1 -1
  25. package/dist/assets/dropdown.css +1 -1
  26. package/dist/assets/file-uploader.css +1 -1
  27. package/dist/assets/filter-bar.css +1 -1
  28. package/dist/assets/header-with-views.css +1 -1
  29. package/dist/assets/header.css +1 -1
  30. package/dist/assets/info-icon-with-popover.css +1 -0
  31. package/dist/assets/input-field-password.css +1 -1
  32. package/dist/assets/input-field.css +1 -1
  33. package/dist/assets/inspector.css +1 -1
  34. package/dist/assets/link.css +1 -1
  35. package/dist/assets/modal-fullscreen.css +1 -1
  36. package/dist/assets/navigation-menu-group.css +1 -1
  37. package/dist/assets/pagination.css +1 -1
  38. package/dist/assets/popper-container.css +1 -1
  39. package/dist/assets/progress-bar.css +1 -1
  40. package/dist/assets/promo-banner.css +1 -1
  41. package/dist/assets/radio-group.css +1 -1
  42. package/dist/assets/rich-text-editor.css +1 -1
  43. package/dist/assets/secondary-nav.css +1 -1
  44. package/dist/assets/segmented-control.css +1 -1
  45. package/dist/assets/selection-card-group.css +1 -1
  46. package/dist/assets/sidepanel.css +1 -1
  47. package/dist/assets/tab.css +1 -1
  48. package/dist/assets/table-of-contents.css +1 -1
  49. package/dist/assets/tag.css +1 -1
  50. package/dist/assets/textarea.css +1 -1
  51. package/dist/assets/timeline-item.css +1 -1
  52. package/dist/assets/title-details.css +1 -0
  53. package/dist/assets/toggle.css +1 -1
  54. package/dist/button.js +3 -3
  55. package/dist/card.js +1 -1
  56. package/dist/checkbox.js +2 -2
  57. package/dist/chip.js +1 -1
  58. package/dist/chunks/{accordion-item.V3zpgTzM.js → accordion-item.DOj7vqeL.js} +2 -2
  59. package/dist/chunks/accordion-item.DOj7vqeL.js.map +1 -0
  60. package/dist/chunks/{action-bar.Br6mamx3.js → action-bar.BsXW7BI2.js} +77 -67
  61. package/dist/chunks/action-bar.BsXW7BI2.js.map +1 -0
  62. package/dist/chunks/{ai-button.CeT3y12R.js → ai-button.BnFk5CzK.js} +2 -2
  63. package/dist/chunks/{ai-button.CeT3y12R.js.map → ai-button.BnFk5CzK.js.map} +1 -1
  64. package/dist/chunks/{ai-tag.DtngkeLj.js → ai-tag.D2Q0xhFK.js} +3 -3
  65. package/dist/chunks/ai-tag.D2Q0xhFK.js.map +1 -0
  66. package/dist/chunks/{alert.DrGpzkQI.js → alert.DJDHwVeR.js} +2 -2
  67. package/dist/chunks/{alert.DrGpzkQI.js.map → alert.DJDHwVeR.js.map} +1 -1
  68. package/dist/chunks/{anchor-scroller.DT7QZd5b.js → anchor-scroller.BbvghQxZ.js} +8 -8
  69. package/dist/chunks/anchor-scroller.BbvghQxZ.js.map +1 -0
  70. package/dist/chunks/{base-button.edpjvY15.js → base-button.DOhHyU7x.js} +2 -2
  71. package/dist/chunks/{base-button.edpjvY15.js.map → base-button.DOhHyU7x.js.map} +1 -1
  72. package/dist/chunks/{base-modal.DsqIEM0p.js → base-modal.CcmoTJdc.js} +90 -82
  73. package/dist/chunks/base-modal.CcmoTJdc.js.map +1 -0
  74. package/dist/chunks/{button-actions-with-menu.BBuKZYuH.js → button-actions-with-menu.BY394ars.js} +2 -2
  75. package/dist/chunks/{button-actions-with-menu.BBuKZYuH.js.map → button-actions-with-menu.BY394ars.js.map} +1 -1
  76. package/dist/chunks/{button-actions.CFOxzahr.js → button-actions.bkcLUE1G.js} +51 -50
  77. package/dist/chunks/button-actions.bkcLUE1G.js.map +1 -0
  78. package/dist/chunks/{button.CBqJGWy5.js → button.DII5Ifwa.js} +2 -2
  79. package/dist/chunks/{button.CBqJGWy5.js.map → button.DII5Ifwa.js.map} +1 -1
  80. package/dist/chunks/{calendar.Bi7oa397.js → calendar.CXdLEeN4.js} +8 -8
  81. package/dist/chunks/calendar.CXdLEeN4.js.map +1 -0
  82. package/dist/chunks/card.b9PEJ7hm.js +139 -0
  83. package/dist/chunks/card.b9PEJ7hm.js.map +1 -0
  84. package/dist/chunks/{checkbox-group.FlQJn1Zm.js → checkbox-group.UYN1ljai.js} +7 -7
  85. package/dist/chunks/checkbox-group.UYN1ljai.js.map +1 -0
  86. package/dist/chunks/{checkbox.D7kTrRAJ.js → checkbox.Co4HoHKF.js} +15 -15
  87. package/dist/chunks/checkbox.Co4HoHKF.js.map +1 -0
  88. package/dist/chunks/{chip.CCBRXSGa.js → chip.DRsJylWl.js} +2 -2
  89. package/dist/chunks/{chip.CCBRXSGa.js.map → chip.DRsJylWl.js.map} +1 -1
  90. package/dist/chunks/{code-snippet.DOtmgwGx.js → code-snippet.CnThWqVb.js} +73 -74
  91. package/dist/chunks/code-snippet.CnThWqVb.js.map +1 -0
  92. package/dist/chunks/constructNow.Dl44Mvpp.js +8 -0
  93. package/dist/chunks/{constructNow.DyOJDyZZ.js.map → constructNow.Dl44Mvpp.js.map} +1 -1
  94. package/dist/chunks/{controls-group.C1YlswQH.js → controls-group.fdGc6epa.js} +2 -2
  95. package/dist/chunks/{controls-group.C1YlswQH.js.map → controls-group.fdGc6epa.js.map} +1 -1
  96. package/dist/chunks/{copy.DIRgGox4.js → copy.CSk1rCRo.js} +4 -4
  97. package/dist/chunks/{copy.DIRgGox4.js.map → copy.CSk1rCRo.js.map} +1 -1
  98. package/dist/chunks/{cross-circle-fill-small.Doaiq7Wx.js → cross-circle-fill-small.CZN966bc.js} +2 -2
  99. package/dist/chunks/cross-circle-fill-small.CZN966bc.js.map +1 -0
  100. package/dist/chunks/{dashboard-section.DvYJk8aj.js → dashboard-section.CYEoNH9Q.js} +3 -3
  101. package/dist/chunks/{dashboard-section.DvYJk8aj.js.map → dashboard-section.CYEoNH9Q.js.map} +1 -1
  102. package/dist/chunks/{dashed-underline.D3YXHh-k.js → dashed-underline.CzKc-fJW.js} +3 -3
  103. package/dist/chunks/{dashed-underline.D3YXHh-k.js.map → dashed-underline.CzKc-fJW.js.map} +1 -1
  104. package/dist/chunks/{data-grid-template.ZZNd2LWk.js → data-grid-template.DCwzh2G7.js} +4 -4
  105. package/dist/chunks/{data-grid-template.ZZNd2LWk.js.map → data-grid-template.DCwzh2G7.js.map} +1 -1
  106. package/dist/chunks/{data-grid.4_JJV1_Z.js → data-grid.B1lI07ze.js} +24 -24
  107. package/dist/chunks/data-grid.B1lI07ze.js.map +1 -0
  108. package/dist/chunks/{date-picker.EuvvrhtF.js → date-picker.gDsw8bn1.js} +8 -8
  109. package/dist/chunks/date-picker.gDsw8bn1.js.map +1 -0
  110. package/dist/chunks/{date-range-picker.Bi5j0eED.js → date-range-picker.CqixIJxG.js} +278 -275
  111. package/dist/chunks/{date-range-picker.Bi5j0eED.js.map → date-range-picker.CqixIJxG.js.map} +1 -1
  112. package/dist/chunks/{date-time-picker.DinENKL0.js → date-time-picker.Bktntun4.js} +6 -6
  113. package/dist/chunks/{date-time-picker.DinENKL0.js.map → date-time-picker.Bktntun4.js.map} +1 -1
  114. package/dist/chunks/{de.ctR_lBqr.js → de.D953eFBg.js} +2 -2
  115. package/dist/chunks/{de.ctR_lBqr.js.map → de.D953eFBg.js.map} +1 -1
  116. package/dist/chunks/{dialog-page.DM6imlbn.js → dialog-page.Bct3zOQO.js} +44 -44
  117. package/dist/chunks/dialog-page.Bct3zOQO.js.map +1 -0
  118. package/dist/chunks/{differenceInMonths.yz4Dfe-b.js → differenceInMonths.CPDkGea3.js} +2 -2
  119. package/dist/chunks/{differenceInMonths.yz4Dfe-b.js.map → differenceInMonths.CPDkGea3.js.map} +1 -1
  120. package/dist/chunks/{draggable-handle.UmaDf-G4.js → draggable-handle.DgVdGC1V.js} +2 -2
  121. package/dist/chunks/{draggable-handle.UmaDf-G4.js.map → draggable-handle.DgVdGC1V.js.map} +1 -1
  122. package/dist/chunks/{draggable.3Uuc40QN.js → draggable.DYKdXdbj.js} +2 -2
  123. package/dist/chunks/{draggable.3Uuc40QN.js.map → draggable.DYKdXdbj.js.map} +1 -1
  124. package/dist/chunks/{dropdown-tag.3mltTUPq.js → dropdown-tag.Dk7SooVv.js} +3 -3
  125. package/dist/chunks/{dropdown-tag.3mltTUPq.js.map → dropdown-tag.Dk7SooVv.js.map} +1 -1
  126. package/dist/chunks/{dropdown.BdfmQmO_.js → dropdown.Bnq4kP7k.js} +12 -12
  127. package/dist/chunks/dropdown.Bnq4kP7k.js.map +1 -0
  128. package/dist/chunks/{empty-state.DWnWb0jM.js → empty-state.C2wjdE3y.js} +3 -3
  129. package/dist/chunks/{empty-state.DWnWb0jM.js.map → empty-state.C2wjdE3y.js.map} +1 -1
  130. package/dist/chunks/{en-GB.BsQNm5GT.js → en-GB.DRXS-7tU.js} +2 -2
  131. package/dist/chunks/{en-GB.BsQNm5GT.js.map → en-GB.DRXS-7tU.js.map} +1 -1
  132. package/dist/chunks/{en-US.BR6y7foR.js → en-US.C412g-7U.js} +3 -3
  133. package/dist/chunks/{en-US.BR6y7foR.js.map → en-US.C412g-7U.js.map} +1 -1
  134. package/dist/chunks/{es.DxqH-QhP.js → es.DieAs0jD.js} +2 -2
  135. package/dist/chunks/{es.DxqH-QhP.js.map → es.DieAs0jD.js.map} +1 -1
  136. package/dist/chunks/es6.yPcTMnSH.js.map +1 -1
  137. package/dist/chunks/{field-label.DsNcfZ6m.js → field-label.C7BCsofY.js} +2 -2
  138. package/dist/chunks/{field-label.DsNcfZ6m.js.map → field-label.C7BCsofY.js.map} +1 -1
  139. package/dist/chunks/{file-uploader.D1xDlbsu.js → file-uploader.DllKBmP8.js} +8 -8
  140. package/dist/chunks/file-uploader.DllKBmP8.js.map +1 -0
  141. package/dist/chunks/{filter-bar.DlSyWQQ0.js → filter-bar.DXpLhnxG.js} +1050 -974
  142. package/dist/chunks/filter-bar.DXpLhnxG.js.map +1 -0
  143. package/dist/chunks/{fixed-scroller.QHqymN36.js → fixed-scroller.YC4bZifw.js} +2 -2
  144. package/dist/chunks/{fixed-scroller.QHqymN36.js.map → fixed-scroller.YC4bZifw.js.map} +1 -1
  145. package/dist/chunks/{focus-trap.DK6-TX-N.js → focus-trap.fd6_d2EW.js} +3 -3
  146. package/dist/chunks/{focus-trap.DK6-TX-N.js.map → focus-trap.fd6_d2EW.js.map} +1 -1
  147. package/dist/chunks/{footer-actions.cJxmP0fK.js → footer-actions.C9STwwcv.js} +3 -3
  148. package/dist/chunks/{footer-actions.cJxmP0fK.js.map → footer-actions.C9STwwcv.js.map} +1 -1
  149. package/dist/chunks/{form-layout-title.CCsmZ9E8.js → form-layout-title.C0lwzPZz.js} +2 -2
  150. package/dist/chunks/{form-layout-title.CCsmZ9E8.js.map → form-layout-title.C0lwzPZz.js.map} +1 -1
  151. package/dist/chunks/{fr.DJtn8ron.js → fr.ChY2aIns.js} +2 -2
  152. package/dist/chunks/{fr.DJtn8ron.js.map → fr.ChY2aIns.js.map} +1 -1
  153. package/dist/chunks/generate-uid.DBWe4g6T.js.map +1 -1
  154. package/dist/chunks/{header-with-views.D8XDYW5N.js → header-with-views.HwbE278X.js} +671 -666
  155. package/dist/chunks/{header-with-views.D8XDYW5N.js.map → header-with-views.HwbE278X.js.map} +1 -1
  156. package/dist/chunks/{header.BLhATjz3.js → header.CmyqVXuG.js} +14 -13
  157. package/dist/chunks/header.CmyqVXuG.js.map +1 -0
  158. package/dist/chunks/info-icon-with-popover.BvYyGm4D.js +65 -0
  159. package/dist/chunks/info-icon-with-popover.BvYyGm4D.js.map +1 -0
  160. package/dist/chunks/{info-icon.-3-LB8Zq.js → info-icon.B-FAeceD.js} +3 -3
  161. package/dist/chunks/{info-icon.-3-LB8Zq.js.map → info-icon.B-FAeceD.js.map} +1 -1
  162. package/dist/chunks/{input-field-password.KgSx3KDe.js → input-field-password.9bWhLud0.js} +6 -6
  163. package/dist/chunks/input-field-password.9bWhLud0.js.map +1 -0
  164. package/dist/chunks/{input-field-phone-number.DE9XpiFH.js → input-field-phone-number.CCn1N9St.js} +2 -2
  165. package/dist/chunks/{input-field-phone-number.DE9XpiFH.js.map → input-field-phone-number.CCn1N9St.js.map} +1 -1
  166. package/dist/chunks/{input-field.Dz8yVBEl.js → input-field.D912rZS_.js} +4 -4
  167. package/dist/chunks/input-field.D912rZS_.js.map +1 -0
  168. package/dist/chunks/{input-time.Bc50jTCQ.js → input-time.CXMuvF9N.js} +3 -3
  169. package/dist/chunks/{input-time.Bc50jTCQ.js.map → input-time.CXMuvF9N.js.map} +1 -1
  170. package/dist/chunks/{inspector-page.BwPtRsaZ.js → inspector-page.BRC_7uro.js} +3 -3
  171. package/dist/chunks/{inspector-page.BwPtRsaZ.js.map → inspector-page.BRC_7uro.js.map} +1 -1
  172. package/dist/chunks/inspector.IOtNex1r.js +142 -0
  173. package/dist/chunks/inspector.IOtNex1r.js.map +1 -0
  174. package/dist/chunks/isSameWeek.CcrBd5ov.js +14 -0
  175. package/dist/chunks/{isSameWeek.CieN9XgL.js.map → isSameWeek.CcrBd5ov.js.map} +1 -1
  176. package/dist/chunks/{it.keS7oN5l.js → it.9ITe-tO1.js} +3 -3
  177. package/dist/chunks/{it.keS7oN5l.js.map → it.9ITe-tO1.js.map} +1 -1
  178. package/dist/chunks/{ja.cLwacUE6.js → ja.D1PTbbq5.js} +2 -2
  179. package/dist/chunks/{ja.cLwacUE6.js.map → ja.D1PTbbq5.js.map} +1 -1
  180. package/dist/chunks/{link.BzIDMKgE.js → link.Cls8XShm.js} +4 -4
  181. package/dist/chunks/link.Cls8XShm.js.map +1 -0
  182. package/dist/chunks/{list-item.CKKEar92.js → list-item.HjabBEb8.js} +3 -3
  183. package/dist/chunks/{list-item.CKKEar92.js.map → list-item.HjabBEb8.js.map} +1 -1
  184. package/dist/chunks/{listbox-option-tag.CQ7jWrle.js → listbox-option-tag.DhNxvqRO.js} +2 -2
  185. package/dist/chunks/{listbox-option-tag.CQ7jWrle.js.map → listbox-option-tag.DhNxvqRO.js.map} +1 -1
  186. package/dist/chunks/{modal-fullscreen.BMGoNT7r.js → modal-fullscreen.Bi1bQs4Z.js} +9 -9
  187. package/dist/chunks/modal-fullscreen.Bi1bQs4Z.js.map +1 -0
  188. package/dist/chunks/{modal.BNqEbVvC.js → modal.B3-pmL5s.js} +5 -5
  189. package/dist/chunks/{modal.BNqEbVvC.js.map → modal.B3-pmL5s.js.map} +1 -1
  190. package/dist/chunks/{navigation-menu-group.uRQvdRyU.js → navigation-menu-group.B-AV49Bn.js} +7 -7
  191. package/dist/chunks/navigation-menu-group.B-AV49Bn.js.map +1 -0
  192. package/dist/chunks/{pagination.QuT_65w4.js → pagination.cI_pc6oE.js} +5 -5
  193. package/dist/chunks/pagination.cI_pc6oE.js.map +1 -0
  194. package/dist/chunks/popover.types.DvIwSAAp.js +6 -0
  195. package/dist/chunks/{popover.types.hyPD5Kv1.js.map → popover.types.DvIwSAAp.js.map} +1 -1
  196. package/dist/chunks/{popper-container.scV0X0nk.js → popper-container.Cj3AWXSd.js} +355 -338
  197. package/dist/chunks/{popper-container.scV0X0nk.js.map → popper-container.Cj3AWXSd.js.map} +1 -1
  198. package/dist/chunks/{progress-bar.C2EFmk8E.js → progress-bar.RlF3a0Gb.js} +3 -3
  199. package/dist/chunks/progress-bar.RlF3a0Gb.js.map +1 -0
  200. package/dist/chunks/{promo-banner.BzTq9SMT.js → promo-banner.B5szTysj.js} +7 -7
  201. package/dist/chunks/{promo-banner.BzTq9SMT.js.map → promo-banner.B5szTysj.js.map} +1 -1
  202. package/dist/chunks/{pt-BR.ChPOra5s.js → pt-BR.DmEVD7V-.js} +2 -2
  203. package/dist/chunks/{pt-BR.ChPOra5s.js.map → pt-BR.DmEVD7V-.js.map} +1 -1
  204. package/dist/chunks/{radio-group.77fvFrmz.js → radio-group.CvsQDlHi.js} +5 -5
  205. package/dist/chunks/radio-group.CvsQDlHi.js.map +1 -0
  206. package/dist/chunks/{rich-text-editor.DL6h2H5r.js → rich-text-editor.DNmVJilP.js} +7 -7
  207. package/dist/chunks/{rich-text-editor.DL6h2H5r.js.map → rich-text-editor.DNmVJilP.js.map} +1 -1
  208. package/dist/chunks/{search-bar.CiEKUPNX.js → search-bar.--4KVNkf.js} +3 -3
  209. package/dist/chunks/{search-bar.CiEKUPNX.js.map → search-bar.--4KVNkf.js.map} +1 -1
  210. package/dist/chunks/{secondary-nav.ekia7NO0.js → secondary-nav.CXtDQAay.js} +50 -50
  211. package/dist/chunks/secondary-nav.CXtDQAay.js.map +1 -0
  212. package/dist/chunks/{segmented-control.qykQS10o.js → segmented-control.nYpRQTGc.js} +3 -3
  213. package/dist/chunks/segmented-control.nYpRQTGc.js.map +1 -0
  214. package/dist/chunks/{selection-card-group.BEjddn7D.js → selection-card-group.DjFWMqVZ.js} +22 -22
  215. package/dist/chunks/selection-card-group.DjFWMqVZ.js.map +1 -0
  216. package/dist/chunks/{set-time-in-date.BVfkl8K8.js → set-time-in-date.B3K4C7CB.js} +2 -2
  217. package/dist/chunks/{set-time-in-date.BVfkl8K8.js.map → set-time-in-date.B3K4C7CB.js.map} +1 -1
  218. package/dist/chunks/{sidepanel.DeX_rFk7.js → sidepanel.CntIcmx-.js} +7 -7
  219. package/dist/chunks/sidepanel.CntIcmx-.js.map +1 -0
  220. package/dist/chunks/{startOfWeek.muMEhS7U.js → startOfWeek.CzdYFzXX.js} +2 -2
  221. package/dist/chunks/{startOfWeek.muMEhS7U.js.map → startOfWeek.CzdYFzXX.js.map} +1 -1
  222. package/dist/chunks/{step.DWC-MMij.js → step.BCa9IOWB.js} +2 -2
  223. package/dist/chunks/{step.DWC-MMij.js.map → step.BCa9IOWB.js.map} +1 -1
  224. package/dist/chunks/{structured-list-item.Bfn0A2G8.js → structured-list-item.Bhe0CH1M.js} +5 -5
  225. package/dist/chunks/{structured-list-item.Bfn0A2G8.js.map → structured-list-item.Bhe0CH1M.js.map} +1 -1
  226. package/dist/chunks/{summary-grid.types.B4WEQPEz.js → summary-grid.types.C70ED6WD.js} +5 -5
  227. package/dist/chunks/{summary-grid.types.B4WEQPEz.js.map → summary-grid.types.C70ED6WD.js.map} +1 -1
  228. package/dist/chunks/{tab.DCLrEYwn.js → tab.BK1sIJAJ.js} +45 -45
  229. package/dist/chunks/tab.BK1sIJAJ.js.map +1 -0
  230. package/dist/chunks/{table-of-contents.f_6G1qFS.js → table-of-contents.BTy95Rrs.js} +2 -2
  231. package/dist/chunks/table-of-contents.BTy95Rrs.js.map +1 -0
  232. package/dist/chunks/tag.Dz1FQSZb.js +56 -0
  233. package/dist/chunks/tag.Dz1FQSZb.js.map +1 -0
  234. package/dist/chunks/{textarea.OTgZOHYu.js → textarea.CcV9U3I7.js} +5 -5
  235. package/dist/chunks/textarea.CcV9U3I7.js.map +1 -0
  236. package/dist/chunks/{timeline-item.Be0xWRey.js → timeline-item.BG2by0xf.js} +10 -10
  237. package/dist/chunks/{timeline-item.Be0xWRey.js.map → timeline-item.BG2by0xf.js.map} +1 -1
  238. package/dist/chunks/title-details.ChwPP7C5.js +119 -0
  239. package/dist/chunks/title-details.ChwPP7C5.js.map +1 -0
  240. package/dist/chunks/{toast.DL_9zlHB.js → toast.CO6ByH3n.js} +2 -2
  241. package/dist/chunks/{toast.DL_9zlHB.js.map → toast.CO6ByH3n.js.map} +1 -1
  242. package/dist/chunks/{toggle.BkTeqKsx.js → toggle.Dgh7aw1D.js} +2 -2
  243. package/dist/chunks/toggle.Dgh7aw1D.js.map +1 -0
  244. package/dist/chunks/{tooltip.BwD3JuFl.js → tooltip.DFYc5NKM.js} +11 -11
  245. package/dist/chunks/tooltip.DFYc5NKM.js.map +1 -0
  246. package/dist/chunks/{tutorial.BrKSt9Sb.js → tutorial.K0aOQWIg.js} +4 -4
  247. package/dist/chunks/{tutorial.BrKSt9Sb.js.map → tutorial.K0aOQWIg.js.map} +1 -1
  248. package/dist/chunks/use-bento-toast-controller.A5xraVqa.js.map +1 -1
  249. package/dist/chunks/{use-date-input-formatter.Du8KZnNZ.js → use-date-input-formatter.MgbFwUqJ.js} +4 -4
  250. package/dist/chunks/{use-date-input-formatter.Du8KZnNZ.js.map → use-date-input-formatter.MgbFwUqJ.js.map} +1 -1
  251. package/dist/chunks/use-dynamic-date-fns-locale.Bpb2DeYR.js +39 -0
  252. package/dist/chunks/use-dynamic-date-fns-locale.Bpb2DeYR.js.map +1 -0
  253. package/dist/chunks/{zh-CN.ZG6obniO.js → zh-CN.C-da5IoS.js} +3 -3
  254. package/dist/chunks/{zh-CN.ZG6obniO.js.map → zh-CN.C-da5IoS.js.map} +1 -1
  255. package/dist/code-snippet.js +1 -1
  256. package/dist/dashboard-template.js +1 -1
  257. package/dist/dashed-underline.js +1 -1
  258. package/dist/data-grid-template.js +1 -1
  259. package/dist/data-grid.js +1 -1
  260. package/dist/date-picker.js +2 -2
  261. package/dist/date-range-picker.js +2 -2
  262. package/dist/date-time-picker.js +1 -1
  263. package/dist/draggable.js +2 -2
  264. package/dist/dropdown.js +2 -2
  265. package/dist/empty-state.js +1 -1
  266. package/dist/file-uploader.js +1 -1
  267. package/dist/filter-bar.js +1 -1
  268. package/dist/focus-trap.js +1 -1
  269. package/dist/form-layout.js +1 -1
  270. package/dist/header-with-views.js +1 -1
  271. package/dist/header.js +1 -1
  272. package/dist/index.js +67 -67
  273. package/dist/info-icon.js +1 -1
  274. package/dist/input-field-password.js +1 -1
  275. package/dist/input-field-phone-number.js +1 -1
  276. package/dist/input-field.js +1 -1
  277. package/dist/input-time.js +1 -1
  278. package/dist/inspector.js +2 -2
  279. package/dist/internal.js +25 -24
  280. package/dist/internal.js.map +1 -1
  281. package/dist/link.js +1 -1
  282. package/dist/list.js +1 -1
  283. package/dist/menu.js +1 -1
  284. package/dist/modal-fullscreen.js +3 -3
  285. package/dist/modal.js +2 -2
  286. package/dist/navigation-menu.js +1 -1
  287. package/dist/pagination.js +1 -1
  288. package/dist/popover.js +2 -2
  289. package/dist/popper-container.js +1 -1
  290. package/dist/progress-bar.js +1 -1
  291. package/dist/promo-banner.js +1 -1
  292. package/dist/radio-group.js +1 -1
  293. package/dist/rich-text-editor.js +1 -1
  294. package/dist/search-bar.js +2 -2
  295. package/dist/secondary-nav.js +1 -1
  296. package/dist/segmented-control.js +1 -1
  297. package/dist/selection-card.js +1 -1
  298. package/dist/sidepanel.js +1 -1
  299. package/dist/stepper.js +1 -1
  300. package/dist/structured-list.js +1 -1
  301. package/dist/styles/bento-dark.css +3 -3
  302. package/dist/styles/bento-light.css +4 -4
  303. package/dist/styles/bento.css +4 -4
  304. package/dist/styles/legacy.css +4 -4
  305. package/dist/styles/styleguide.css +4 -4
  306. package/dist/styles/utility.css +4 -4
  307. package/dist/summary-grid.js +1 -1
  308. package/dist/table-of-contents.js +1 -1
  309. package/dist/tabs.js +1 -1
  310. package/dist/tag.js +1 -1
  311. package/dist/textarea.js +1 -1
  312. package/dist/timeline.js +1 -1
  313. package/dist/toast.js +1 -1
  314. package/dist/toggle.js +1 -1
  315. package/dist/tutorial.js +1 -1
  316. package/dist/web-types.json +381 -48
  317. package/package.json +6 -6
  318. package/dist/assets/header-meta.css +0 -1
  319. package/dist/chunks/accordion-item.V3zpgTzM.js.map +0 -1
  320. package/dist/chunks/action-bar.Br6mamx3.js.map +0 -1
  321. package/dist/chunks/ai-tag.DtngkeLj.js.map +0 -1
  322. package/dist/chunks/anchor-scroller.DT7QZd5b.js.map +0 -1
  323. package/dist/chunks/base-modal.DsqIEM0p.js.map +0 -1
  324. package/dist/chunks/button-actions.CFOxzahr.js.map +0 -1
  325. package/dist/chunks/calendar.Bi7oa397.js.map +0 -1
  326. package/dist/chunks/card.B2rIoYTV.js +0 -124
  327. package/dist/chunks/card.B2rIoYTV.js.map +0 -1
  328. package/dist/chunks/checkbox-group.FlQJn1Zm.js.map +0 -1
  329. package/dist/chunks/checkbox.D7kTrRAJ.js.map +0 -1
  330. package/dist/chunks/code-snippet.DOtmgwGx.js.map +0 -1
  331. package/dist/chunks/constructNow.DyOJDyZZ.js +0 -8
  332. package/dist/chunks/cross-circle-fill-small.Doaiq7Wx.js.map +0 -1
  333. package/dist/chunks/data-grid.4_JJV1_Z.js.map +0 -1
  334. package/dist/chunks/date-picker.EuvvrhtF.js.map +0 -1
  335. package/dist/chunks/dialog-page.DM6imlbn.js.map +0 -1
  336. package/dist/chunks/dropdown.BdfmQmO_.js.map +0 -1
  337. package/dist/chunks/file-uploader.D1xDlbsu.js.map +0 -1
  338. package/dist/chunks/filter-bar.DlSyWQQ0.js.map +0 -1
  339. package/dist/chunks/header-meta.C5Ojlg8H.js +0 -206
  340. package/dist/chunks/header-meta.C5Ojlg8H.js.map +0 -1
  341. package/dist/chunks/header.BLhATjz3.js.map +0 -1
  342. package/dist/chunks/input-field-password.KgSx3KDe.js.map +0 -1
  343. package/dist/chunks/input-field.Dz8yVBEl.js.map +0 -1
  344. package/dist/chunks/inspector.CUJSQfsX.js +0 -128
  345. package/dist/chunks/inspector.CUJSQfsX.js.map +0 -1
  346. package/dist/chunks/isSameWeek.CieN9XgL.js +0 -14
  347. package/dist/chunks/link.BzIDMKgE.js.map +0 -1
  348. package/dist/chunks/modal-fullscreen.BMGoNT7r.js.map +0 -1
  349. package/dist/chunks/navigation-menu-group.uRQvdRyU.js.map +0 -1
  350. package/dist/chunks/pagination.QuT_65w4.js.map +0 -1
  351. package/dist/chunks/popover.types.hyPD5Kv1.js +0 -6
  352. package/dist/chunks/progress-bar.C2EFmk8E.js.map +0 -1
  353. package/dist/chunks/radio-group.77fvFrmz.js.map +0 -1
  354. package/dist/chunks/secondary-nav.ekia7NO0.js.map +0 -1
  355. package/dist/chunks/segmented-control.qykQS10o.js.map +0 -1
  356. package/dist/chunks/selection-card-group.BEjddn7D.js.map +0 -1
  357. package/dist/chunks/sidepanel.DeX_rFk7.js.map +0 -1
  358. package/dist/chunks/tab.DCLrEYwn.js.map +0 -1
  359. package/dist/chunks/table-of-contents.f_6G1qFS.js.map +0 -1
  360. package/dist/chunks/tag.Bm-widp9.js +0 -50
  361. package/dist/chunks/tag.Bm-widp9.js.map +0 -1
  362. package/dist/chunks/textarea.OTgZOHYu.js.map +0 -1
  363. package/dist/chunks/toggle.BkTeqKsx.js.map +0 -1
  364. package/dist/chunks/tooltip.BwD3JuFl.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@adyen/bento-vue2",
4
- "version": "2.0.0-rc.5",
4
+ "version": "2.0.0",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -31,6 +31,14 @@
31
31
  "symbol": "default"
32
32
  }
33
33
  },
34
+ {
35
+ "name": "accordion-default",
36
+ "description": "",
37
+ "source": {
38
+ "module": "./src/components/accordion/__tests__/accordion-default.vue",
39
+ "symbol": "default"
40
+ }
41
+ },
34
42
  {
35
43
  "name": "accordion-item",
36
44
  "description": "",
@@ -70,6 +78,14 @@
70
78
  "symbol": "default"
71
79
  }
72
80
  },
81
+ {
82
+ "name": "accordion-item-default",
83
+ "description": "",
84
+ "source": {
85
+ "module": "./src/components/accordion/components/__tests__/accordion-item-default.vue",
86
+ "symbol": "default"
87
+ }
88
+ },
73
89
  {
74
90
  "name": "accordion-stub",
75
91
  "description": "",
@@ -101,6 +117,15 @@
101
117
  },
102
118
  "default": "() => []"
103
119
  },
120
+ {
121
+ "name": "dismissible",
122
+ "description": "Determines whether the close button is displayed in the `default` variant.",
123
+ "value": {
124
+ "kind": "expression",
125
+ "type": "boolean"
126
+ },
127
+ "default": "true"
128
+ },
104
129
  {
105
130
  "name": "visibleActions",
106
131
  "description": "How many actions should be visible outside the menu, cannot be more than 4",
@@ -130,12 +155,12 @@
130
155
  },
131
156
  {
132
157
  "name": "selectionLabel",
133
- "description": "Label for the selection, e.g. 'selected'/'changed'",
158
+ "description": "Label for the selection in the `default` variant, e.g. 'selected'/'changed'.\nPass `null` to hide it. In the `confirmation` variant, this prop is ignored.",
134
159
  "value": {
135
160
  "kind": "expression",
136
161
  "type": "string"
137
162
  },
138
- "default": "null"
163
+ "default": "undefined"
139
164
  },
140
165
  {
141
166
  "name": "state",
@@ -201,6 +226,9 @@
201
226
  }
202
227
  ],
203
228
  "slots": [
229
+ {
230
+ "name": "selectionLabel"
231
+ },
204
232
  {
205
233
  "name": "stateLabel"
206
234
  }
@@ -226,6 +254,22 @@
226
254
  "symbol": "default"
227
255
  }
228
256
  },
257
+ {
258
+ "name": "action-bar-with-custom-label-example",
259
+ "description": "",
260
+ "source": {
261
+ "module": "./src/components/action-bar/__tests__/action-bar-with-custom-label-example.vue",
262
+ "symbol": "default"
263
+ }
264
+ },
265
+ {
266
+ "name": "action-bar-without-label-example",
267
+ "description": "",
268
+ "source": {
269
+ "module": "./src/components/action-bar/__tests__/action-bar-without-label-example.vue",
270
+ "symbol": "default"
271
+ }
272
+ },
229
273
  {
230
274
  "name": "ai-button",
231
275
  "description": "",
@@ -505,6 +549,225 @@
505
549
  "symbol": "default"
506
550
  }
507
551
  },
552
+ {
553
+ "name": "all-filters-modal-filter-selection",
554
+ "description": "",
555
+ "attributes": [
556
+ {
557
+ "name": "activeFilters",
558
+ "required": true,
559
+ "description": "Filters with an applied value.",
560
+ "value": {
561
+ "kind": "expression",
562
+ "type": "BentoFilterBarModel"
563
+ }
564
+ },
565
+ {
566
+ "name": "actions",
567
+ "required": false,
568
+ "description": "Actions displayed below the filter list on small screens.",
569
+ "value": {
570
+ "kind": "expression",
571
+ "type": "BentoButtonActionsList"
572
+ },
573
+ "default": "() => []"
574
+ },
575
+ {
576
+ "name": "activeFiltersLabel",
577
+ "required": true,
578
+ "description": "Label for the active filters section.",
579
+ "value": {
580
+ "kind": "expression",
581
+ "type": "string"
582
+ }
583
+ },
584
+ {
585
+ "name": "emptySearchMessage",
586
+ "required": false,
587
+ "description": "Message displayed when a search has no matching filters.",
588
+ "value": {
589
+ "kind": "expression",
590
+ "type": "string"
591
+ },
592
+ "default": "''"
593
+ },
594
+ {
595
+ "name": "getFilterCount",
596
+ "required": true,
597
+ "description": "Returns the applied value count for a filter.",
598
+ "value": {
599
+ "kind": "expression",
600
+ "type": "BentoAllFiltersModalGetFilterCount"
601
+ }
602
+ },
603
+ {
604
+ "name": "otherFilters",
605
+ "required": true,
606
+ "description": "Filters without an applied value.",
607
+ "value": {
608
+ "kind": "expression",
609
+ "type": "BentoFilterBarModel"
610
+ }
611
+ },
612
+ {
613
+ "name": "otherFiltersLabel",
614
+ "required": true,
615
+ "description": "Label for the other filters section.",
616
+ "value": {
617
+ "kind": "expression",
618
+ "type": "string"
619
+ }
620
+ },
621
+ {
622
+ "name": "selectedFilterLabel",
623
+ "required": true,
624
+ "description": "Label of the currently selected filter.",
625
+ "value": {
626
+ "kind": "expression",
627
+ "type": "string"
628
+ }
629
+ },
630
+ {
631
+ "name": "searchBarAriaLabel",
632
+ "required": true,
633
+ "description": "Accessible label for the search input.",
634
+ "value": {
635
+ "kind": "expression",
636
+ "type": "string"
637
+ }
638
+ },
639
+ {
640
+ "name": "searchTerm",
641
+ "required": true,
642
+ "description": "Current filter search term.",
643
+ "value": {
644
+ "kind": "expression",
645
+ "type": "string"
646
+ }
647
+ },
648
+ {
649
+ "name": "smallScreen",
650
+ "required": false,
651
+ "description": "Displays the small-screen variant.",
652
+ "value": {
653
+ "kind": "expression",
654
+ "type": "boolean"
655
+ },
656
+ "default": "false"
657
+ },
658
+ {
659
+ "name": "uniqueId",
660
+ "required": true,
661
+ "description": "Unique suffix used by section label IDs.",
662
+ "value": {
663
+ "kind": "expression",
664
+ "type": "string"
665
+ }
666
+ }
667
+ ],
668
+ "events": [
669
+ {
670
+ "name": "keydown-right",
671
+ "description": "Emitted when the right arrow key is pressed"
672
+ },
673
+ {
674
+ "name": "update:search-term",
675
+ "description": "Emitted when the search term changes"
676
+ },
677
+ {
678
+ "name": "clear-search",
679
+ "description": "Emitted when the search term is cleared"
680
+ },
681
+ {
682
+ "name": "select-filter",
683
+ "description": "Emitted when a filter is selected"
684
+ }
685
+ ],
686
+ "source": {
687
+ "module": "./src/components/filter-bar/components/all-filters-modal/components/all-filters-modal-filter-selection/all-filters-modal-filter-selection.vue",
688
+ "symbol": "default"
689
+ }
690
+ },
691
+ {
692
+ "name": "all-filters-modal-selected-filter",
693
+ "description": "",
694
+ "attributes": [
695
+ {
696
+ "name": "actions",
697
+ "required": false,
698
+ "description": "Actions displayed below the selected filter on small screens.",
699
+ "value": {
700
+ "kind": "expression",
701
+ "type": "BentoButtonActionsList"
702
+ },
703
+ "default": "() => []"
704
+ },
705
+ {
706
+ "name": "clearButtonLabel",
707
+ "required": true,
708
+ "description": "Label for the clear or reset button.",
709
+ "value": {
710
+ "kind": "expression",
711
+ "type": "string"
712
+ }
713
+ },
714
+ {
715
+ "name": "isClearButtonDisabled",
716
+ "required": true,
717
+ "description": "Disables the clear or reset button.",
718
+ "value": {
719
+ "kind": "expression",
720
+ "type": "boolean"
721
+ }
722
+ },
723
+ {
724
+ "name": "selectedFilter",
725
+ "required": true,
726
+ "description": "Currently selected filter.",
727
+ "value": {
728
+ "kind": "expression",
729
+ "type": "BentoAllFiltersModalSelectedFilter"
730
+ }
731
+ },
732
+ {
733
+ "name": "smallScreen",
734
+ "required": false,
735
+ "description": "Displays the small-screen variant.",
736
+ "value": {
737
+ "kind": "expression",
738
+ "type": "boolean"
739
+ },
740
+ "default": "false"
741
+ },
742
+ {
743
+ "name": "shouldShowFilterTitle",
744
+ "required": true,
745
+ "description": "Controls whether the selected filter title is displayed.",
746
+ "value": {
747
+ "kind": "expression",
748
+ "type": "boolean"
749
+ }
750
+ }
751
+ ],
752
+ "events": [
753
+ {
754
+ "name": "keydown-left",
755
+ "description": "Emitted when the left arrow key is pressed"
756
+ },
757
+ {
758
+ "name": "input",
759
+ "description": "Emitted when the selected filter value changes"
760
+ },
761
+ {
762
+ "name": "clear",
763
+ "description": "Emitted when the selected filter is cleared"
764
+ }
765
+ ],
766
+ "source": {
767
+ "module": "./src/components/filter-bar/components/all-filters-modal/components/all-filters-modal-selected-filter/all-filters-modal-selected-filter.vue",
768
+ "symbol": "default"
769
+ }
770
+ },
508
771
  {
509
772
  "name": "anchor-scroller",
510
773
  "description": "",
@@ -3220,6 +3483,36 @@
3220
3483
  },
3221
3484
  "default": "false"
3222
3485
  },
3486
+ {
3487
+ "name": "lastUpdated",
3488
+ "required": false,
3489
+ "description": "JavaScript \"Date\" object for when the content was last updated\n\nOnly supported by regular (non-expandable) cards.",
3490
+ "value": {
3491
+ "kind": "expression",
3492
+ "type": "union"
3493
+ },
3494
+ "default": "null"
3495
+ },
3496
+ {
3497
+ "name": "reloadButton",
3498
+ "required": false,
3499
+ "description": "Reload button which shows next to the card's timestamp\n\nOnly supported by regular (non-expandable) cards.",
3500
+ "value": {
3501
+ "kind": "expression",
3502
+ "type": "BentoCardReloadButton"
3503
+ },
3504
+ "default": "null"
3505
+ },
3506
+ {
3507
+ "name": "link",
3508
+ "required": false,
3509
+ "description": "Link properties to make the card title a navigable link. Can only be used with non-expandable cards.",
3510
+ "value": {
3511
+ "kind": "expression",
3512
+ "type": "BentoCardLink"
3513
+ },
3514
+ "default": "undefined"
3515
+ },
3223
3516
  {
3224
3517
  "name": "titleSize",
3225
3518
  "required": false,
@@ -3305,6 +3598,22 @@
3305
3598
  "symbol": "default"
3306
3599
  }
3307
3600
  },
3601
+ {
3602
+ "name": "card-with-link-example",
3603
+ "description": "",
3604
+ "source": {
3605
+ "module": "./src/components/card/__tests__/card-with-link-example.vue",
3606
+ "symbol": "default"
3607
+ }
3608
+ },
3609
+ {
3610
+ "name": "card-with-timestamp-example",
3611
+ "description": "",
3612
+ "source": {
3613
+ "module": "./src/components/card/__tests__/card-with-timestamp-example.vue",
3614
+ "symbol": "default"
3615
+ }
3616
+ },
3308
3617
  {
3309
3618
  "name": "checkbox-group",
3310
3619
  "description": "",
@@ -9938,51 +10247,6 @@
9938
10247
  "symbol": "default"
9939
10248
  }
9940
10249
  },
9941
- {
9942
- "name": "header-meta",
9943
- "description": "",
9944
- "attributes": [
9945
- {
9946
- "name": "description",
9947
- "required": false,
9948
- "description": "Meta description for the header component",
9949
- "value": {
9950
- "kind": "expression",
9951
- "type": "string"
9952
- },
9953
- "default": "null"
9954
- },
9955
- {
9956
- "name": "lastUpdated",
9957
- "required": false,
9958
- "description": "JavaScript \"Date\" object for when the content was last updated",
9959
- "value": {
9960
- "kind": "expression",
9961
- "type": "union"
9962
- },
9963
- "default": "null"
9964
- },
9965
- {
9966
- "name": "reloadButton",
9967
- "required": false,
9968
- "description": "Reload button which shows next to the header's timestamp",
9969
- "value": {
9970
- "kind": "expression",
9971
- "type": "BentoHeaderReloadButton"
9972
- },
9973
- "default": "null"
9974
- }
9975
- ],
9976
- "slots": [
9977
- {
9978
- "name": "description"
9979
- }
9980
- ],
9981
- "source": {
9982
- "module": "./src/components/internal/header-meta/header-meta.vue",
9983
- "symbol": "default"
9984
- }
9985
- },
9986
10250
  {
9987
10251
  "name": "header-with-views",
9988
10252
  "description": "",
@@ -14236,6 +14500,16 @@
14236
14500
  },
14237
14501
  "default": "false"
14238
14502
  },
14503
+ {
14504
+ "name": "matchWidth",
14505
+ "required": false,
14506
+ "description": "Makes the popover match the width of its target element.",
14507
+ "value": {
14508
+ "kind": "expression",
14509
+ "type": "boolean"
14510
+ },
14511
+ "default": "false"
14512
+ },
14239
14513
  {
14240
14514
  "name": "open",
14241
14515
  "required": false,
@@ -14685,6 +14959,20 @@
14685
14959
  "type": "PopperContainer.props.arrow"
14686
14960
  }
14687
14961
  },
14962
+ {
14963
+ "name": "matchWidth",
14964
+ "value": {
14965
+ "kind": "expression",
14966
+ "type": "PopperContainer.props.matchWidth"
14967
+ }
14968
+ },
14969
+ {
14970
+ "name": "middleware",
14971
+ "value": {
14972
+ "kind": "expression",
14973
+ "type": "PopperContainer.props.middleware"
14974
+ }
14975
+ },
14688
14976
  {
14689
14977
  "name": "position",
14690
14978
  "value": {
@@ -18688,6 +18976,51 @@
18688
18976
  "symbol": "default"
18689
18977
  }
18690
18978
  },
18979
+ {
18980
+ "name": "title-details",
18981
+ "description": "",
18982
+ "attributes": [
18983
+ {
18984
+ "name": "description",
18985
+ "required": false,
18986
+ "description": "Meta description for the header component",
18987
+ "value": {
18988
+ "kind": "expression",
18989
+ "type": "string"
18990
+ },
18991
+ "default": "null"
18992
+ },
18993
+ {
18994
+ "name": "lastUpdated",
18995
+ "required": false,
18996
+ "description": "JavaScript \"Date\" object for when the content was last updated",
18997
+ "value": {
18998
+ "kind": "expression",
18999
+ "type": "union"
19000
+ },
19001
+ "default": "null"
19002
+ },
19003
+ {
19004
+ "name": "reloadButton",
19005
+ "required": false,
19006
+ "description": "Reload button which shows next to the header's timestamp",
19007
+ "value": {
19008
+ "kind": "expression",
19009
+ "type": "TitleDetailsReloadButton"
19010
+ },
19011
+ "default": "null"
19012
+ }
19013
+ ],
19014
+ "slots": [
19015
+ {
19016
+ "name": "description"
19017
+ }
19018
+ ],
19019
+ "source": {
19020
+ "module": "./src/components/internal/title-details/title-details.vue",
19021
+ "symbol": "default"
19022
+ }
19023
+ },
18691
19024
  {
18692
19025
  "name": "toast",
18693
19026
  "description": "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/bento-vue2",
3
- "version": "2.0.0-rc.5",
3
+ "version": "2.0.0",
4
4
  "description": "Adyen Bento Vue2 components",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -51,7 +51,7 @@
51
51
  "unified": "11.0.5",
52
52
  "uuid": "11.1.1",
53
53
  "vue-demi": "0.14.10",
54
- "@adyen/bento-design-tokens": "2.0.0-rc.5"
54
+ "@adyen/bento-design-tokens": "2.0.0"
55
55
  },
56
56
  "dependenciesMeta": {
57
57
  "@adyen/bento-vue-i18n-demi": {
@@ -132,12 +132,12 @@
132
132
  "vue-template-compiler": "2.7.16",
133
133
  "vue-tsc": "2.2.12",
134
134
  "zod": "3.25.35",
135
+ "@adyen/eslint-plugin-bento": "2.23.0",
136
+ "@adyen/ui-assets-icons-16": "7.9.7",
135
137
  "@adyen/bento-cli": "0.10.8",
136
- "@adyen/bento-core": "0.0.1",
137
- "@adyen/eslint-plugin-bento": "2.22.0",
138
+ "@adyen/ui-assets-payment-method-icons": "13.0.1",
138
139
  "@adyen/bento-vue-i18n-demi": "0.1.0",
139
- "@adyen/ui-assets-icons-16": "7.9.7",
140
- "@adyen/ui-assets-payment-method-icons": "13.0.1"
140
+ "@adyen/bento-core": "0.0.1"
141
141
  },
142
142
  "optionalDependencies": {
143
143
  "vue-router": "~3.6"
@@ -1 +0,0 @@
1
- .b-info-icon-with-popover[data-v-4cb2adfc]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;scrollbar-color:var(--b-color-label-tertiary) transparent;display:inline-block;outline:none}.b-info-icon-with-popover[data-v-4cb2adfc],.b-info-icon-with-popover[data-v-4cb2adfc]:before,.b-info-icon-with-popover[data-v-4cb2adfc]:after{box-sizing:border-box}.b-info-icon-with-popover *[data-v-4cb2adfc],.b-info-icon-with-popover *[data-v-4cb2adfc]:before,.b-info-icon-with-popover *[data-v-4cb2adfc]:after{box-sizing:border-box}.b-info-icon-with-popover[data-v-4cb2adfc] ::-webkit-scrollbar{height:14px;width:14px}.b-info-icon-with-popover[data-v-4cb2adfc] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-label-tertiary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-info-icon-with-popover:focus-visible .b-info-icon-with-popover__svg[data-v-4cb2adfc]{border-radius:50%;height:16px;width:16px;animation:outer-ring-default-4cb2adfc var(--b-animation-duration-fast) var(--b-animation-easing-standard);box-shadow:0 0 0 var(--b-focus-ring-spacer) var(--b-color-background-primary),0 0 0 var(--b-focus-ring-outline) var(--b-focus-ring-color)}@keyframes outer-ring-default-4cb2adfc{0%{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 0 var(--b-focus-ring-color)}to{box-shadow:0 0 0 var(--b-border-width-s) var(--b-color-background-primary),0 0 0 var(--b-border-width-l) var(--b-focus-ring-color)}}.b-header-meta[data-v-134e427d]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;scrollbar-color:var(--b-color-label-tertiary) transparent}.b-header-meta[data-v-134e427d],.b-header-meta[data-v-134e427d]:before,.b-header-meta[data-v-134e427d]:after{box-sizing:border-box}.b-header-meta *[data-v-134e427d],.b-header-meta *[data-v-134e427d]:before,.b-header-meta *[data-v-134e427d]:after{box-sizing:border-box}.b-header-meta[data-v-134e427d] ::-webkit-scrollbar{height:14px;width:14px}.b-header-meta[data-v-134e427d] ::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:var(--b-color-label-tertiary);border:3px solid transparent;border-radius:var(--b-border-radius-l)}.b-header-meta__container[data-v-134e427d]{display:flex;flex-direction:column;gap:var(--b-spacer-020);max-width:700px}.b-header-meta__description[data-v-134e427d]{color:var(--b-color-label-secondary)}.b-header-meta__timestamp-section[data-v-134e427d]{align-items:center;column-gap:var(--b-spacer-060);display:flex;flex-wrap:wrap}.b-header-meta__timestamp[data-v-134e427d]{color:var(--b-color-label-secondary)}
@@ -1 +0,0 @@
1
- {"version":3,"file":"accordion-item.V3zpgTzM.js","sources":["../../src/components/accordion/accordion.keys.ts","../../src/components/accordion/accordion.vue","../../src/components/accordion/components/accordion-item.vue"],"sourcesContent":["export const ACCORDION_TITLE_SIZE_INJECTION_KEY = Symbol('accordion title size injection key');\n","<template>\n <div class=\"b-accordion\">\n <slot />\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { type PropType, provide, toRef } from 'vue';\n\n import { ACCORDION_TITLE_SIZE_INJECTION_KEY } from './accordion.keys';\n\n import type { BentoAccordionTitleSize } from './accordion.types';\n\n const props = defineProps({\n /**\n * Controls accordion title size.\n * @values default, small\n */\n titleSize: {\n type: String as PropType<BentoAccordionTitleSize>,\n default: 'default',\n },\n });\n\n provide(ACCORDION_TITLE_SIZE_INJECTION_KEY, toRef(props, 'titleSize'));\n</script>\n\n<script lang=\"ts\">\n /**\n * An accordion is a vertical stack of interactive headers used to reveal or hide\n * sections of content associated with these headers.\n *\n * This component must only have `BentoAccordionItem` components in its default slot.\n *\n * Accordion items should be collapsed by default.\n *\n * @example\n * import { BentoAccordion, BentoAccordionItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAccordion, BentoAccordionItem },\n * template: `\n * <bento-accordion>\n * <bento-accordion-item title=\"Item 1\">\n * Content for item 1\n * </bento-accordion-item>\n * <bento-accordion-item title=\"Item 2\">\n * Content for item 2\n * </bento-accordion-item>\n * </bento-accordion>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./accordion.scss\" />\n","<template>\n <div class=\"b-accordion-item\">\n <bento-typography\n el=\"h3\"\n :variant=\"titleSize === 'small' ? 'body' : 'title'\"\n :strongest=\"titleSize === 'small'\"\n >\n <button\n :id=\"buttonId\"\n :aria-controls=\"contentId\"\n :aria-expanded=\"`${isOpen}`\"\n type=\"button\"\n class=\"b-accordion-item__button\"\n @click=\"isOpen = !isOpen\"\n >\n <chevron-up-icon\n v-if=\"isOpen\"\n class=\"b-accordion-item__icon\"\n :svg-title=\"t('collapse')\"\n aria-hidden=\"true\"\n />\n <chevron-down-icon v-else class=\"b-accordion-item__icon\" :svg-title=\"t('expand')\" aria-hidden=\"true\" />\n {{ title }}\n </button>\n </bento-typography>\n\n <Transition :name=\"CONTENT_TRANSITION_NAME\">\n <div v-if=\"isOpen\" :id=\"contentId\" :aria-labelledby=\"buttonId\" role=\"region\" :style=\"contentMaxHeight\">\n <div ref=\"contentDiv\" class=\"b-accordion-item__content\">\n <slot />\n </div>\n </div>\n </Transition>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, ref, watch } from 'vue';\n\n import { BentoTypography } from '@/components/typography';\n import ChevronDownIcon from '@adyen/ui-assets-icons-16/vue/chevron-down';\n import ChevronUpIcon from '@adyen/ui-assets-icons-16/vue/chevron-up';\n\n import { generateUid } from '@/core/utils/ts';\n import { useI18n } from '@/utils/ts/i18n';\n\n import { ACCORDION_TITLE_SIZE_INJECTION_KEY } from '../accordion.keys';\n\n import type { BentoAccordionTitleSize } from '../accordion.types';\n import { useExpandableContentHeight } from '@/composables/use-expandable-content-height/use-expandable-content-height';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const CONTENT_TRANSITION_NAME = 'b-accordion-item__animation--content';\n\n const props = defineProps({\n /**\n * Sets the title of the accordion item.\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Controls if the content is visible or hidden.\n */\n isExpanded: {\n type: Boolean,\n default: false,\n },\n });\n\n const emit = defineEmits([\"update:is-expanded\"]);\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n // Refs\n const contentDiv = ref<HTMLDivElement>(null);\n const isOpen = ref(props.isExpanded);\n\n // Generating IDs\n const buttonId = generateUid('accordionItemButton');\n const contentId = generateUid('accordionItemContent');\n\n // Injecting prop from parent\n const titleSize = inject<`${BentoAccordionTitleSize}`>(ACCORDION_TITLE_SIZE_INJECTION_KEY, 'default');\n\n // Getting and setting the item height to be able to handle height animation\n const { contentHeight } = useExpandableContentHeight(contentDiv, isOpen);\n\n const contentMaxHeight = computed(() => (contentHeight.value ? { 'max-height': contentHeight.value } : {}));\n\n watch(\n () => props.isExpanded,\n value => {\n isOpen.value = value;\n }\n );\n\n watch(\n isOpen,\n value => {\n // Enable two-way data binding for `isExpanded`\n emit('update:is-expanded', value);\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * An accordion item is an interactive header used to reveal or hide a\n * section of content associated with this header.\n *\n * This component must always be wrapped by a `BentoAccordion` component.\n *\n * @example\n * import { BentoAccordion, BentoAccordionItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAccordion, BentoAccordionItem },\n * template: `\n * <bento-accordion>\n * <bento-accordion-item title=\"Item 1\">\n * Content for item 1\n * </bento-accordion-item>\n * <bento-accordion-item title=\"Item 2\">\n * Content for item 2\n * </bento-accordion-item>\n * </bento-accordion>\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./accordion-item.scss\" />\n"],"names":["ACCORDION_TITLE_SIZE_INJECTION_KEY","__default__$1","provide","toRef","props","__default__","messages","CONTENT_TRANSITION_NAME","t","useI18n","contentDiv","ref","isOpen","buttonId","generateUid","contentId","titleSize","inject","contentHeight","useExpandableContentHeight","contentMaxHeight","computed","watch","value","emit"],"mappings":";;;;;;;;;AAAO,MAAAA,IAAA,uBAAA,oCAAA,GCqDHC,IAAA,CAAA;;;;;;;;;;;;;;;AA7BA,WAAAC,EAAAF,GAAAG,EAAAC,GAAA,WAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GC+GAC,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;;;;;;;;;;iBAlFAC,IAAA,wCAqBA,EAAA,GAAAC,EAAA,IAAAC,EAAA,GAGAC,IAAAC,EAAA,IAAA,GACAC,IAAAD,EAAAP,EAAA,UAAA,GAGAS,IAAAC,EAAA,qBAAA,GACAC,IAAAD,EAAA,sBAAA,GAGAE,IAAAC,EAAAjB,GAAA,SAAA,GAGA,EAAA,eAAAkB,EAAA,IAAAC,EAAAT,GAAAE,CAAA,GAEAQ,IAAAC,EAAA,MAAAH,EAAA,QAAA,EAAA,cAAAA,EAAA,MAAA,IAAA,CAAA,CAAA;AAEA,WAAAI;AAAA,MAAA,MAAAlB,EAAA;AAAA,MACgB,CAAAmB,MAAA;AAER,QAAAX,EAAA,QAAAW;AAAA,MAAe;AAAA,IACnB,GAGJD;AAAA,MAAAV;AAAA,MACI,CAAAW,MAAA;AAGI,QAAAC,EAAA,sBAAAD,CAAA;AAAA,MAAgC;AAAA,MACpC,EAAA,WAAA,GAAA;AAAA,IACkB;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"action-bar.Br6mamx3.js","sources":["../../src/components/action-bar/action-bar.vue"],"sourcesContent":["<template>\n <Transition name=\"b-action-bar__animation\" appear>\n <section\n class=\"b-action-bar\"\n :class=\"conditionalClasses\"\n :aria-label=\"t('actionBar')\"\n @animationend=\"onAnimationEnd\"\n >\n <Transition\n :name=\"`b-action-bar__state-animation--${state}`\"\n :mode=\"stateTransitionMode\"\n @before-leave=\"onBeforeLeave\"\n @enter=\"onEnter\"\n @after-enter=\"onAfterEnter\"\n >\n <div\n ref=\"actionBar\"\n :key=\"state\"\n class=\"b-action-bar__container\"\n :class=\"containerClasses\"\n :style=\"{ width: containerWidth, maxWidth: containerMaxWidth }\"\n >\n <div v-if=\"state === 'start'\" class=\"b-action-bar__container-inner\">\n <div v-if=\"!isConfirmationVariant\" class=\"b-action-bar__close-button\">\n <bento-button variant=\"tertiary\" inverse :aria-label=\"t('close')\" @click=\"emit('close')\">\n <template #iconLeft><cross-icon :aria-hidden=\"true\" /></template>\n </bento-button>\n </div>\n <bento-typography el=\"span\" stronger class=\"b-action-bar__selection\">\n <template v-if=\"isConfirmationVariant && noItemCounter\">\n {{ tc('unsavedChanges', 0) }}\n </template>\n <template v-else>\n {{ n(itemCounter) }}\n {{ isConfirmationVariant ? tc('unsavedChanges', itemCounter) : label }}\n </template>\n </bento-typography>\n <bento-button-actions\n v-if=\"isConfirmationVariant\"\n :actions=\"confirmationActions\"\n class=\"b-action-bar__actions\"\n inverse\n />\n <button-actions-with-menu\n v-else\n :actions=\"actionsInternal\"\n class=\"b-action-bar__actions\"\n :displayed-actions=\"internalDisplayedActions\"\n menu-position=\"top-end\"\n disable-responsive-behavior\n inverse\n />\n </div>\n <div v-else class=\"b-action-bar__container-inner\">\n <div class=\"b-action-bar__state-icon\">\n <bento-loading-indicator v-if=\"state === 'loading'\" small inverse />\n <checkmark-circle-fill v-if=\"state === 'success'\" :aria-hidden=\"true\" />\n <cross-circle-fill v-if=\"state === 'fail'\" :aria-hidden=\"true\" />\n </div>\n <bento-typography stronger>\n <slot name=\"stateLabel\">{{ defaultStateLabel }}</slot>\n </bento-typography>\n <div v-if=\"!hideStateActions\" class=\"b-action-bar__state-actions\">\n <bento-button\n v-if=\"state === 'success' && showUndoAction\"\n variant=\"tertiary\"\n inverse\n @click=\"emit('undo-action')\"\n >{{ t('undo') }}</bento-button\n >\n <bento-button\n v-if=\"state === 'fail' && showRetryAction\"\n variant=\"tertiary\"\n inverse\n @click=\"emit('retry-action')\"\n >{{ t('retry') }}</bento-button\n >\n <bento-button\n v-if=\"state === 'fail'\"\n variant=\"tertiary\"\n inverse\n @click=\"emit('cancel-action')\"\n >{{ t('cancel') }}</bento-button\n >\n </div>\n </div>\n </div>\n </Transition>\n </section>\n </Transition>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, type PropType, provide, ref, toRefs, type TransitionProps, watch } from 'vue';\n import { BentoButton, BentoButtonActions, type BentoButtonActionsList } from '@/components/button';\n import { BentoTypography } from '@/components/typography';\n import { BentoLoadingIndicator } from '@/components/loading-indicator';\n\n import { type BentoActionBarState, type BentoActionBarVariant } from '@/components/action-bar/action-bar.types';\n import ButtonActionsWithMenu from '@/components/internal/button-actions-with-menu/button-actions-with-menu.vue';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n import CheckmarkCircleFill from '@adyen/ui-assets-icons-16/vue/checkmark-circle-fill';\n import CrossCircleFill from '@adyen/ui-assets-icons-16/vue/cross-circle-fill';\n\n import { useI18n } from '@/utils/ts/i18n';\n import { useWindowSize } from '@vueuse/core';\n\n import messages from './messages.json';\n import { POPOVER_OFFSET_INJECTION_KEY } from '@/components/popover/popover.keys';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n // Constants\n const AVERAGE_BUTTON_SIZE = 100;\n const MENU_OFFSET = 7;\n const RESPONSIVE_BREAKPOINT = 500;\n const SPACING = 32;\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * Required and used for the `default` variant.\n *\n * Each object in the list should have a `title`, an `event` and,\n * optionally, an `icon`.\n *\n * The component will display 4 actions and the hide the rest inside a menu.\n *\n * @see BentoButton for a list of all the other props supported by each button action.\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: () => [],\n },\n /**\n * How many actions should be visible outside the menu, cannot be more than 4\n */\n visibleActions: {\n type: Number,\n default: 4,\n validator: (value: number) => value > 0 && value <= 4,\n },\n /**\n * Use when there are sticky elements at the bottom, like sticky pagination\n */\n extraBottomSpacing: {\n type: Boolean,\n default: false,\n },\n /**\n * Show how many items are selected.\n * When omitted in the `confirmation` variant, a generic \"Unsaved changes\" label is displayed.\n */\n itemCounter: {\n type: Number,\n default: null,\n },\n /**\n * Label for the selection, e.g. 'selected'/'changed'\n */\n selectionLabel: {\n type: String,\n default: null,\n },\n /**\n * State of the action bar.\n * @values start, loading, success, fail\n */\n state: {\n type: String as PropType<BentoActionBarState>,\n default: 'start',\n },\n /**\n * Displays the undo action button in `success` state.\n */\n showUndoAction: {\n type: Boolean,\n default: false,\n },\n /**\n * Displays the retry action button in `fail` state.\n */\n showRetryAction: {\n type: Boolean,\n default: false,\n },\n /**\n * Variant for the action bar\n * @values default, confirmation\n */\n variant: {\n type: String as PropType<BentoActionBarVariant>,\n default: 'default',\n },\n });\n\n const emit = defineEmits([\"close\", \"cancel\", \"save\", \"undo-action\", \"retry-action\", \"cancel-action\"]);\n\n const { t, tc, n } = useI18n<{ message: MessageSchema }>({ messages });\n const label = computed(() => (props.selectionLabel ? props.selectionLabel : t('selected')));\n\n const defaultStateLabel = computed(() => {\n switch (props.state) {\n case 'loading':\n return t('applying');\n case 'success':\n return t('success');\n case 'fail':\n return t('somethingWentWrong');\n default:\n return '';\n }\n });\n\n // Refs\n const actionBar = ref<HTMLDivElement>(null);\n const containerMaxWidth = ref<string | null>(null);\n const containerWidth = ref<string | null>(null);\n const isShaking = ref(false);\n\n const stateTransitionMode = computed(\n () => (props.state === 'loading' ? 'out-in' : undefined) as TransitionProps['mode']\n );\n\n const hideStateActions = computed(\n () => props.state === 'loading' || (props.state === 'success' && !props.showUndoAction)\n );\n\n const onBeforeLeave = (el: HTMLElement) => {\n if (props.state !== 'loading') {\n return;\n }\n\n containerMaxWidth.value = `${el.offsetWidth}px`;\n containerWidth.value = '100%';\n };\n\n const onEnter = (el: HTMLElement) => {\n if (props.state !== 'loading') {\n return;\n }\n\n // Reset styles to get natural width\n Object.assign(el.style, { width: 'auto', maxWidth: 'none' });\n const newWidth = el.offsetWidth;\n\n // Reset it back to the original values\n Object.assign(el.style, { width: '100%', maxWidth: containerMaxWidth.value });\n\n requestAnimationFrame(() => {\n containerMaxWidth.value = `${newWidth}px`;\n });\n };\n\n const onAfterEnter = () => {\n containerMaxWidth.value = null;\n containerWidth.value = null;\n\n if (props.state === 'fail') {\n isShaking.value = true;\n }\n };\n\n const onAnimationEnd = (event: AnimationEvent) => {\n if (event.animationName.startsWith('shake-')) {\n isShaking.value = false;\n }\n };\n\n const { extraBottomSpacing, visibleActions } = toRefs(props);\n const { width } = useWindowSize();\n const internalDisplayedActions = ref(null);\n const internalVisibleActions = ref(null);\n\n const isConfirmationVariant = computed(() => props.variant === 'confirmation');\n\n watch(\n () => visibleActions.value,\n value => {\n internalVisibleActions.value = value <= 4 ? value : 4;\n internalDisplayedActions.value = internalVisibleActions.value;\n },\n { immediate: true }\n );\n\n // Styling\n const conditionalClasses = computed(() => ({\n 'b-action-bar--extra-spacing': extraBottomSpacing.value,\n 'b-action-bar--confirmation': isConfirmationVariant.value,\n 'b-action-bar__state-animation--shake': isShaking.value,\n }));\n\n const containerClasses = computed(() => ({\n [`b-action-bar__container--${props.state}`]: props.state !== 'start',\n }));\n\n // Provide POPOVER_OFFSET_INJECTION_KEY to change the value of the popover offset\n provide(POPOVER_OFFSET_INJECTION_KEY, MENU_OFFSET);\n\n // Manipulate actions array to display as intended\n const actionsInternal = computed(() => {\n // All buttons should be of type secondary in the action bar\n const actions = props.actions.map(action => ({\n ...action,\n variant: 'secondary',\n })) as BentoButtonActionsList;\n // Shown actions should display from left to right in action bar, instead of right to left which is the button actions default\n const shownActions = actions.slice(0, internalDisplayedActions.value).reverse();\n const hiddenActions = actions.slice(internalDisplayedActions.value);\n\n return [...shownActions, ...hiddenActions];\n });\n\n const confirmationActions = computed<BentoButtonActionsList>(() => [\n {\n title: t('save'),\n event: () => emit('save'),\n },\n {\n title: t('cancel'),\n variant: 'secondary',\n event: () => emit('cancel'),\n },\n ]);\n\n const noItemCounter = computed(() => {\n return props.itemCounter == null || props.itemCounter < 1;\n });\n\n // Recursive functions to determine how many actions should be visible/hidden based on the screens width\n const showActions = async () => {\n await nextTick();\n if (\n width.value > actionBar.value.clientWidth + SPACING + AVERAGE_BUTTON_SIZE &&\n internalDisplayedActions.value < internalVisibleActions.value\n ) {\n internalDisplayedActions.value += 1;\n showActions();\n }\n };\n\n const hideActions = async () => {\n await nextTick();\n if (width.value < actionBar.value.clientWidth + SPACING && internalDisplayedActions.value > 0) {\n internalDisplayedActions.value -= 1;\n hideActions();\n }\n };\n\n // Screen width watcher to toggle hidden/visible actions\n watch(\n () => width.value,\n async (newValue, oldValue) => {\n await nextTick();\n if (!actionBar.value) {\n return;\n }\n const isIncreasing = newValue > oldValue;\n if (width.value < RESPONSIVE_BREAKPOINT) {\n internalDisplayedActions.value = 0;\n } else if (isIncreasing) {\n showActions();\n } else {\n hideActions();\n }\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * Action bar is a floating bar that provides users with quick access to key actions that can be applied to one or multiple items.\n *\n * @example\n * import { BentoActionBar } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoActionBar },\n * template: `\n * <bento-action-bar\n * :actions='[\n * {\n * title: 'Delete',\n * critical: true,\n * icon: BinIcon,\n * event: () => true,\n * },\n * {\n * title: 'Edit',\n * icon: EditIcon,\n * event: () => true,\n * }\n * ]'\n * @close=\"closeAction\"\n * :item-counter=\"5\"\n * />\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./action-bar.scss\" />\n"],"names":["__default__","messages","AVERAGE_BUTTON_SIZE","MENU_OFFSET","RESPONSIVE_BREAKPOINT","SPACING","t","tc","n","useI18n","label","computed","props","defaultStateLabel","actionBar","ref","containerMaxWidth","containerWidth","isShaking","stateTransitionMode","hideStateActions","onBeforeLeave","el","onEnter","newWidth","onAfterEnter","onAnimationEnd","event","extraBottomSpacing","visibleActions","toRefs","width","useWindowSize","internalDisplayedActions","internalVisibleActions","isConfirmationVariant","watch","value","conditionalClasses","containerClasses","provide","POPOVER_OFFSET_INJECTION_KEY","actionsInternal","actions","action","shownActions","hiddenActions","confirmationActions","emit","noItemCounter","showActions","nextTick","hideActions","newValue","oldValue","isIncreasing"],"mappings":"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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ai-tag.DtngkeLj.js","sources":["../../src/components/ai-tag/ai-tag.vue"],"sourcesContent":["<template>\n <div ref=\"aiTagRef\" class=\"b-ai-tag\" @keydown.esc=\"closePopover\">\n <bento-toggle-button\n ref=\"targetElement\"\n :toggled=\"toggled\"\n :aria-controls=\"popoverId\"\n variant=\"secondary\"\n condensed\n class=\"b-ai-tag__trigger\"\n @update:toggled=\"onToggle\"\n >\n <template #iconLeft>\n <artificial-intelligence-ai-icon class=\"b-ai-tag__trigger-icon\" :aria-hidden=\"true\" />\n </template>\n {{ t('ai') }}\n </bento-toggle-button>\n\n <bento-popover\n v-if=\"targetElement\"\n :id=\"popoverId\"\n :open=\"toggled\"\n :target-element=\"targetElement\"\n :actions=\"popoverActions\"\n actions-layout=\"fill-container\"\n :title=\"t('aiExplained')\"\n trap-all\n :trap-all-options=\"{ onDeactivate: closePopover, allowOutsideClick: true }\"\n fixed-positioning\n overflow-visible\n @dismiss=\"closePopover\"\n >\n <template #headerIcon>\n <artificial-intelligence-ai-icon class=\"b-ai-tag__popover-header-icon\" :aria-hidden=\"true\" />\n </template>\n <div class=\"b-ai-tag__popover-content\">\n <bento-typography v-if=\"influencedValue\" variant=\"title\" medium class=\"b-ai-tag__influenced-value\">\n {{ influencedValue }}\n </bento-typography>\n\n <bento-typography variant=\"title\">\n {{ title }}\n </bento-typography>\n\n <bento-typography>\n {{ description }}\n </bento-typography>\n </div>\n </bento-popover>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, ref, watch } from 'vue';\n import { BentoPopover } from '@/components/popover';\n import { BentoToggleButton } from '@/components/button';\n import { BentoTypography } from '@/components/typography';\n import { useClickOutside } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n import { generateUid } from '@/core/utils/ts';\n import type { BentoButtonActionsList } from '@/components/button/components/button-actions/button-actions.types';\n import ArtificialIntelligenceAiIcon from '@adyen/ui-assets-icons-16/vue/artificial-intelligence-ai-filled';\n import type { BentoAiTagProps } from './ai-tag.types';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const props = defineProps({\n title: null,\n description: null,\n influencedValue: { default: undefined },\n toggled: { type: Boolean, default: false },\n action: { default: undefined }\n});\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const toggled = ref(props.toggled);\n const aiTagRef = ref<HTMLElement | null>(null);\n const targetElement = ref<InstanceType<typeof BentoToggleButton> | null>(null);\n const popoverId = generateUid('b-ai-tag-popover');\n\n watch(\n () => props.toggled,\n value => {\n toggled.value = value;\n }\n );\n\n useClickOutside(aiTagRef, () => {\n closePopover();\n });\n\n const popoverActions = computed<BentoButtonActionsList>(() =>\n props.action\n ? [\n {\n ...props.action,\n variant: 'secondary',\n },\n ]\n : undefined\n );\n\n const emit = defineEmits([\"update:toggled\"]);\n\n const onToggle = (value: boolean) => {\n toggled.value = value;\n emit('update:toggled', value);\n };\n\n const closePopover = () => {\n if (toggled.value) {\n onToggle(false);\n }\n };\n</script>\n\n<script lang=\"ts\">\n /**\n * The AI tag is a component used to transparently identify content, data, or experiences that have been generated or\n * enhanced by artificial intelligence.\n *\n * @example\n * import { BentoAiTag } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAiTag },\n * template: `\n * <bento-ai-tag\n * title=\"Input fields auto-filled by AI\"\n * description=\"Based on your documents uploaded, AI has auto-filled some information for you.\"\n * />\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./ai-tag.scss\" />\n"],"names":["__default__","messages","useI18n","toggled","ref","props","aiTagRef","targetElement","popoverId","generateUid","watch","value","useClickOutside","closePopover","popoverActions","computed","onToggle","emit"],"mappings":";;;;;;;;;;;;;;;;;;;;;GAuIIA,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;iBA/DA,EAAA,EAAA,IAAAC,EAAA,GAEAC,IAAAC,EAAAC,EAAA,OAAA,GACAC,IAAAF,EAAA,IAAA,GACAG,IAAAH,EAAA,IAAA,GACAI,IAAAC,EAAA,kBAAA;AAEA,IAAAC;AAAA,MAAA,MAAAL,EAAA;AAAA,MACgB,CAAAM,MAAA;AAER,QAAAR,EAAA,QAAAQ;AAAA,MAAgB;AAAA,IACpB,GAGJC,EAAAN,GAAA,MAAA;AACI,MAAAO,EAAA;AAAA,IAAa,CAAA;AAGjB,UAAAC,IAAAC;AAAA,MAAuB,MAAAV,EAAA,SAAA;AAAA,QAEb;AAAA,UACI,GAAAA,EAAA;AAAA,UACa,SAAA;AAAA,QACA;AAAA,MACb,IAAA;AAAA,IAEJ,GAKVW,IAAA,CAAAL,MAAA;AACI,MAAAR,EAAA,QAAAQ,GACAM,EAAA,kBAAAN,CAAA;AAAA,IAA4B,GAGhCE,IAAA,MAAA;AACI,MAAAV,EAAA,SACIa,EAAA,EAAA;AAAA,IACJ;;;;;;;;;;;;;;;;;;;;;;"}