@adyen/bento-vue3 1.45.0 → 1.46.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 (300) hide show
  1. package/dist/@types/index.d.ts +4 -2
  2. package/dist/accordion.js +1 -1
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/card.css +1 -1
  9. package/dist/assets/data-grid.css +1 -1
  10. package/dist/assets/dialog-page.css +1 -1
  11. package/dist/assets/dropdown.css +1 -1
  12. package/dist/assets/file-uploader.css +1 -1
  13. package/dist/assets/input-field.css +1 -1
  14. package/dist/assets/inspector.css +1 -1
  15. package/dist/assets/menu.css +1 -1
  16. package/dist/assets/modal-fullscreen.css +1 -1
  17. package/dist/assets/popover.css +1 -1
  18. package/dist/assets/sidepanel.css +1 -1
  19. package/dist/assets/step.css +1 -1
  20. package/dist/avatar.js +1 -1
  21. package/dist/button.js +3 -3
  22. package/dist/card.js +1 -1
  23. package/dist/checkbox.js +3 -3
  24. package/dist/chunks/{accordion-item.DfOb4Pyx.js → accordion-item.BOftQTUm.js} +8 -8
  25. package/dist/chunks/{accordion-item.DfOb4Pyx.js.map → accordion-item.BOftQTUm.js.map} +1 -1
  26. package/dist/chunks/{action-bar.CmDQZkM2.js → action-bar.DHa6nS5J.js} +10 -10
  27. package/dist/chunks/{action-bar.CmDQZkM2.js.map → action-bar.DHa6nS5J.js.map} +1 -1
  28. package/dist/chunks/{alert.D1Ax6AnI.js → alert.BffQNg4e.js} +9 -9
  29. package/dist/chunks/{alert.D1Ax6AnI.js.map → alert.BffQNg4e.js.map} +1 -1
  30. package/dist/chunks/{avatar.B0-9jC6H.js → avatar.DqdDHXay.js} +3 -3
  31. package/dist/chunks/{avatar.B0-9jC6H.js.map → avatar.DqdDHXay.js.map} +1 -1
  32. package/dist/chunks/{base-button.DdNFlbgH.js → base-button.DgHMejMF.js} +9 -9
  33. package/dist/chunks/{base-button.DdNFlbgH.js.map → base-button.DgHMejMF.js.map} +1 -1
  34. package/dist/chunks/{base-modal.DbJYaHyG.js → base-modal.BP7bUB84.js} +13 -13
  35. package/dist/chunks/{base-modal.DbJYaHyG.js.map → base-modal.BP7bUB84.js.map} +1 -1
  36. package/dist/chunks/{button-actions-with-menu.BUyecZNi.js → button-actions-with-menu.DzQQlXXK.js} +8 -8
  37. package/dist/chunks/{button-actions-with-menu.BUyecZNi.js.map → button-actions-with-menu.DzQQlXXK.js.map} +1 -1
  38. package/dist/chunks/{button-actions.CShVMUOC.js → button-actions.C8CJcXxS.js} +8 -8
  39. package/dist/chunks/{button-actions.CShVMUOC.js.map → button-actions.C8CJcXxS.js.map} +1 -1
  40. package/dist/chunks/{button.Cneb6rPP.js → button.DSnv5X7y.js} +10 -10
  41. package/dist/chunks/{button.Cneb6rPP.js.map → button.DSnv5X7y.js.map} +1 -1
  42. package/dist/chunks/{calendar.1qqtC8ba.js → calendar.DlvMzTO4.js} +10 -10
  43. package/dist/chunks/{calendar.1qqtC8ba.js.map → calendar.DlvMzTO4.js.map} +1 -1
  44. package/dist/chunks/{card.rkMUtirc.js → card.9fQrkeSH.js} +11 -11
  45. package/dist/chunks/{card.rkMUtirc.js.map → card.9fQrkeSH.js.map} +1 -1
  46. package/dist/chunks/{checkbox-group.PTNxE0kL.js → checkbox-group.Dq57AigF.js} +13 -13
  47. package/dist/chunks/{checkbox-group.PTNxE0kL.js.map → checkbox-group.Dq57AigF.js.map} +1 -1
  48. package/dist/chunks/{checkbox-input.CAYgiRHG.js → checkbox-input.D8ZUqd4m.js} +3 -3
  49. package/dist/chunks/{checkbox-input.CAYgiRHG.js.map → checkbox-input.D8ZUqd4m.js.map} +1 -1
  50. package/dist/chunks/{checkbox.D9FJcICR.js → checkbox.BphbrpUx.js} +32 -32
  51. package/dist/chunks/{checkbox.D9FJcICR.js.map → checkbox.BphbrpUx.js.map} +1 -1
  52. package/dist/chunks/{checkmark-circle-fill.g_tcBhFJ.js → checkmark-circle-fill.ClIf1E3H.js} +4 -4
  53. package/dist/chunks/{checkmark-circle-fill.g_tcBhFJ.js.map → checkmark-circle-fill.ClIf1E3H.js.map} +1 -1
  54. package/dist/chunks/{checkmark-small.BDqUF-Ni.js → checkmark-small.DEc2T64_.js} +5 -5
  55. package/dist/chunks/{checkmark-small.BDqUF-Ni.js.map → checkmark-small.DEc2T64_.js.map} +1 -1
  56. package/dist/chunks/{chevron-left.CYEK2UTr.js → chevron-left.NvV5m76j.js} +8 -8
  57. package/dist/chunks/{chevron-left.CYEK2UTr.js.map → chevron-left.NvV5m76j.js.map} +1 -1
  58. package/dist/chunks/{chevron-up.Cu9qXgBY.js → chevron-up.DQZG_BP3.js} +8 -8
  59. package/dist/chunks/{chevron-up.Cu9qXgBY.js.map → chevron-up.DQZG_BP3.js.map} +1 -1
  60. package/dist/chunks/code-snippet.BXMQTve4.js +422 -0
  61. package/dist/chunks/code-snippet.BXMQTve4.js.map +1 -0
  62. package/dist/chunks/{codemirror.CXFEqvAi.js → codemirror.OjJ-3ixa.js} +5180 -4862
  63. package/dist/chunks/codemirror.OjJ-3ixa.js.map +1 -0
  64. package/dist/chunks/{controls-group.BHxcGQ2A.js → controls-group.J99mAGhx.js} +11 -11
  65. package/dist/chunks/{controls-group.BHxcGQ2A.js.map → controls-group.J99mAGhx.js.map} +1 -1
  66. package/dist/chunks/{copy.DAMq-zRP.js → copy.CT8wuwho.js} +5 -5
  67. package/dist/chunks/{copy.DAMq-zRP.js.map → copy.CT8wuwho.js.map} +1 -1
  68. package/dist/chunks/{country.Cv_8NTmw.js → country.CcTaTBE0.js} +5 -5
  69. package/dist/chunks/{country.Cv_8NTmw.js.map → country.CcTaTBE0.js.map} +1 -1
  70. package/dist/chunks/{cross-circle-fill-small.CJyARMSZ.js → cross-circle-fill-small.BXO78Wde.js} +5 -5
  71. package/dist/chunks/{cross-circle-fill-small.CJyARMSZ.js.map → cross-circle-fill-small.BXO78Wde.js.map} +1 -1
  72. package/dist/chunks/{cross-circle-fill.BzSjakuO.js → cross-circle-fill.DN5b3_eL.js} +4 -4
  73. package/dist/chunks/{cross-circle-fill.BzSjakuO.js.map → cross-circle-fill.DN5b3_eL.js.map} +1 -1
  74. package/dist/chunks/{cross-small.Z5EKYRm0.js → cross-small.CXWTuKA_.js} +5 -5
  75. package/dist/chunks/{cross-small.Z5EKYRm0.js.map → cross-small.CXWTuKA_.js.map} +1 -1
  76. package/dist/chunks/{cross.BZYw4R3N.js → cross.OvPfvoqX.js} +5 -5
  77. package/dist/chunks/{cross.BZYw4R3N.js.map → cross.OvPfvoqX.js.map} +1 -1
  78. package/dist/chunks/{currency.DGX-aejv.js → currency.Dz2x17_Q.js} +3 -3
  79. package/dist/chunks/{currency.DGX-aejv.js.map → currency.Dz2x17_Q.js.map} +1 -1
  80. package/dist/chunks/{dashboard-section.Buh9mb22.js → dashboard-section.C90L1bhS.js} +6 -6
  81. package/dist/chunks/{dashboard-section.Buh9mb22.js.map → dashboard-section.C90L1bhS.js.map} +1 -1
  82. package/dist/chunks/{dashed-underline.DYVSwQtH.js → dashed-underline.BewlZNvL.js} +8 -8
  83. package/dist/chunks/{dashed-underline.DYVSwQtH.js.map → dashed-underline.BewlZNvL.js.map} +1 -1
  84. package/dist/chunks/{data-grid-template.B6xmEgaM.js → data-grid-template.DeAeq2Ij.js} +7 -7
  85. package/dist/chunks/{data-grid-template.B6xmEgaM.js.map → data-grid-template.DeAeq2Ij.js.map} +1 -1
  86. package/dist/chunks/{data-grid.DVc9qzLU.js → data-grid.DSPcFy6O.js} +31 -31
  87. package/dist/chunks/{data-grid.DVc9qzLU.js.map → data-grid.DSPcFy6O.js.map} +1 -1
  88. package/dist/chunks/{date-picker.Bt4fyPQ4.js → date-picker.wNOf4DoV.js} +24 -24
  89. package/dist/chunks/{date-picker.Bt4fyPQ4.js.map → date-picker.wNOf4DoV.js.map} +1 -1
  90. package/dist/chunks/{date-range-picker.Bna_2pBL.js → date-range-picker.C4l0Xe9R.js} +275 -275
  91. package/dist/chunks/{date-range-picker.Bna_2pBL.js.map → date-range-picker.C4l0Xe9R.js.map} +1 -1
  92. package/dist/chunks/{date.DeaBl297.js → date.DVGj7WKQ.js} +16 -14
  93. package/dist/chunks/{date.DeaBl297.js.map → date.DVGj7WKQ.js.map} +1 -1
  94. package/dist/chunks/{dialog-page.CJBSluwk.js → dialog-page.DNwtSB1o.js} +28 -29
  95. package/dist/chunks/{dialog-page.CJBSluwk.js.map → dialog-page.DNwtSB1o.js.map} +1 -1
  96. package/dist/chunks/{divider.DwBC4bpr.js → divider.ugNXYI-T.js} +3 -3
  97. package/dist/chunks/{divider.DwBC4bpr.js.map → divider.ugNXYI-T.js.map} +1 -1
  98. package/dist/chunks/{dot.cpdFEk6G.js → dot.pQfhaKda.js} +5 -5
  99. package/dist/chunks/{dot.cpdFEk6G.js.map → dot.pQfhaKda.js.map} +1 -1
  100. package/dist/chunks/{dropdown-default-textbox.ipIFhyWZ.js → dropdown-default-textbox.3HzBUxC3.js} +14 -14
  101. package/dist/chunks/{dropdown-default-textbox.ipIFhyWZ.js.map → dropdown-default-textbox.3HzBUxC3.js.map} +1 -1
  102. package/dist/chunks/{dropdown-tag.DLyxItIS.js → dropdown-tag.BRNZ7KIi.js} +8 -8
  103. package/dist/chunks/{dropdown-tag.DLyxItIS.js.map → dropdown-tag.BRNZ7KIi.js.map} +1 -1
  104. package/dist/chunks/{dropdown.CZDXXpKe.js → dropdown.DhvCTlVl.js} +270 -263
  105. package/dist/chunks/dropdown.DhvCTlVl.js.map +1 -0
  106. package/dist/chunks/{empty-state.C2ancCe6.js → empty-state.DYfl7gnt.js} +12 -12
  107. package/dist/chunks/{empty-state.C2ancCe6.js.map → empty-state.DYfl7gnt.js.map} +1 -1
  108. package/dist/chunks/{error-message.BVE3JdTq.js → error-message.C6QpZ9ux.js} +16 -16
  109. package/dist/chunks/{error-message.BVE3JdTq.js.map → error-message.C6QpZ9ux.js.map} +1 -1
  110. package/dist/chunks/{es6.jIyAPBgt.js → es6.D11bE5vq.js} +6 -6
  111. package/dist/chunks/{es6.jIyAPBgt.js.map → es6.D11bE5vq.js.map} +1 -1
  112. package/dist/chunks/{expand.CJ162RaJ.js → expand.CgwNEbbz.js} +4 -4
  113. package/dist/chunks/{expand.CJ162RaJ.js.map → expand.CgwNEbbz.js.map} +1 -1
  114. package/dist/chunks/file-uploader.DiqPKVVt.js +2226 -0
  115. package/dist/chunks/file-uploader.DiqPKVVt.js.map +1 -0
  116. package/dist/chunks/{filter-bar.oihCCt5N.js → filter-bar.ChU2rr8r.js} +52 -52
  117. package/dist/chunks/{filter-bar.oihCCt5N.js.map → filter-bar.ChU2rr8r.js.map} +1 -1
  118. package/dist/chunks/{fixed-scroller.XaGPUsUO.js → fixed-scroller.C4zzWgje.js} +12 -12
  119. package/dist/chunks/{fixed-scroller.XaGPUsUO.js.map → fixed-scroller.C4zzWgje.js.map} +1 -1
  120. package/dist/chunks/{focus-trap.CnKbO3b1.js → focus-trap.DOiVbmpZ.js} +8 -8
  121. package/dist/chunks/{focus-trap.CnKbO3b1.js.map → focus-trap.DOiVbmpZ.js.map} +1 -1
  122. package/dist/chunks/{footer-actions.n0JIXO4Q.js → footer-actions.Cl2aupkj.js} +8 -8
  123. package/dist/chunks/{footer-actions.n0JIXO4Q.js.map → footer-actions.Cl2aupkj.js.map} +1 -1
  124. package/dist/chunks/{form-layout-title.srkVLEUW.js → form-layout-title.Du4aY15F.js} +4 -4
  125. package/dist/chunks/{form-layout-title.srkVLEUW.js.map → form-layout-title.Du4aY15F.js.map} +1 -1
  126. package/dist/chunks/{generate-uid.NJ8tVoha.js → generate-uid.D-HFI38h.js} +2 -2
  127. package/dist/chunks/{generate-uid.NJ8tVoha.js.map → generate-uid.D-HFI38h.js.map} +1 -1
  128. package/dist/chunks/{grid-layout.BTLE3rac.js → grid-layout.CqLbbEzI.js} +21 -21
  129. package/dist/chunks/{grid-layout.BTLE3rac.js.map → grid-layout.CqLbbEzI.js.map} +1 -1
  130. package/dist/chunks/{header.CAHXObTT.js → header.CUyEq2ER.js} +65 -65
  131. package/dist/chunks/{header.CAHXObTT.js.map → header.CUyEq2ER.js.map} +1 -1
  132. package/dist/chunks/{i18n.WMYWtwxB.js → i18n.CPGoe9tN.js} +540 -540
  133. package/dist/chunks/{i18n.WMYWtwxB.js.map → i18n.CPGoe9tN.js.map} +1 -1
  134. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js} +3 -3
  135. package/dist/chunks/{image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js.map → image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js.map} +1 -1
  136. package/dist/chunks/{index.BMkVmbZj.js → index.BHiMheJx.js} +5 -5
  137. package/dist/chunks/{index.BMkVmbZj.js.map → index.BHiMheJx.js.map} +1 -1
  138. package/dist/chunks/{info-icon-with-popover.DFv8U4sh.js → info-icon-with-popover._ZiXaIcp.js} +11 -11
  139. package/dist/chunks/{info-icon-with-popover.DFv8U4sh.js.map → info-icon-with-popover._ZiXaIcp.js.map} +1 -1
  140. package/dist/chunks/{info-icon.BCSBCH-5.js → info-icon.B6QPdxPi.js} +5 -5
  141. package/dist/chunks/{info-icon.BCSBCH-5.js.map → info-icon.B6QPdxPi.js.map} +1 -1
  142. package/dist/chunks/{info.DYNe2WnZ.js → info.CIFBUqf-.js} +4 -4
  143. package/dist/chunks/{info.DYNe2WnZ.js.map → info.CIFBUqf-.js.map} +1 -1
  144. package/dist/chunks/{input-field-password.DedPkZxg.js → input-field-password.LVaJy8_K.js} +30 -30
  145. package/dist/chunks/{input-field-password.DedPkZxg.js.map → input-field-password.LVaJy8_K.js.map} +1 -1
  146. package/dist/chunks/{input-field.3PUv6XC3.js → input-field.BVewQng_.js} +124 -115
  147. package/dist/chunks/input-field.BVewQng_.js.map +1 -0
  148. package/dist/chunks/{inspector.types.Dr0D250X.js → inspector.types.DKL2_Mku.js} +14 -14
  149. package/dist/chunks/{inspector.types.Dr0D250X.js.map → inspector.types.DKL2_Mku.js.map} +1 -1
  150. package/dist/chunks/{layout-row.9G7yVMVt.js → layout-row.CwYDJeG_.js} +4 -4
  151. package/dist/chunks/{layout-row.9G7yVMVt.js.map → layout-row.CwYDJeG_.js.map} +1 -1
  152. package/dist/chunks/{link.ClFi8uSm.js → link.DHXLGTkn.js} +11 -11
  153. package/dist/chunks/{link.ClFi8uSm.js.map → link.DHXLGTkn.js.map} +1 -1
  154. package/dist/chunks/{listbox-option-tag.zYn_kSFz.js → listbox-option-tag.DsI3DdjJ.js} +9 -9
  155. package/dist/chunks/{listbox-option-tag.zYn_kSFz.js.map → listbox-option-tag.DsI3DdjJ.js.map} +1 -1
  156. package/dist/chunks/{loading-indicator.DEepb9Wl.js → loading-indicator.N_WV9Gwz.js} +3 -3
  157. package/dist/chunks/{loading-indicator.DEepb9Wl.js.map → loading-indicator.N_WV9Gwz.js.map} +1 -1
  158. package/dist/chunks/{menu.Dmzh3Uat.js → menu.C5Y5nSvX.js} +13 -13
  159. package/dist/chunks/{menu.Dmzh3Uat.js.map → menu.C5Y5nSvX.js.map} +1 -1
  160. package/dist/chunks/{modal-fullscreen.BazQAAU1.js → modal-fullscreen.Bw0CzdjS.js} +12 -12
  161. package/dist/chunks/{modal-fullscreen.BazQAAU1.js.map → modal-fullscreen.Bw0CzdjS.js.map} +1 -1
  162. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C8vZDtlE.js → modal.vue_vue_type_script_setup_true_lang.B-_oGtsE.js} +13 -13
  163. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.C8vZDtlE.js.map → modal.vue_vue_type_script_setup_true_lang.B-_oGtsE.js.map} +1 -1
  164. package/dist/chunks/{pagination.BCC3GZV5.js → pagination.OzqU46-J.js} +11 -11
  165. package/dist/chunks/{pagination.BCC3GZV5.js.map → pagination.OzqU46-J.js.map} +1 -1
  166. package/dist/chunks/{payment-method.2IeC7f4x.js → payment-method.Lwl-3chY.js} +3 -3
  167. package/dist/chunks/{payment-method.2IeC7f4x.js.map → payment-method.Lwl-3chY.js.map} +1 -1
  168. package/dist/chunks/{popover.3KG1IoYE.js → popover.BFZU1OKv.js} +7 -7
  169. package/dist/chunks/{popover.3KG1IoYE.js.map → popover.BFZU1OKv.js.map} +1 -1
  170. package/dist/chunks/{popper-container.DKDjRvdv.js → popper-container.CQblHdJf.js} +4 -4
  171. package/dist/chunks/{popper-container.DKDjRvdv.js.map → popper-container.CQblHdJf.js.map} +1 -1
  172. package/dist/chunks/{promo-banner.BjLfDhBq.js → promo-banner.DB6C9Tgr.js} +12 -12
  173. package/dist/chunks/{promo-banner.BjLfDhBq.js.map → promo-banner.DB6C9Tgr.js.map} +1 -1
  174. package/dist/chunks/{radio-group.CeiSaH6M.js → radio-group.DVPnBI92.js} +8 -8
  175. package/dist/chunks/{radio-group.CeiSaH6M.js.map → radio-group.DVPnBI92.js.map} +1 -1
  176. package/dist/chunks/{radio-input.0TPahhZT.js → radio-input.ButaAWTD.js} +5 -5
  177. package/dist/chunks/{radio-input.0TPahhZT.js.map → radio-input.ButaAWTD.js.map} +1 -1
  178. package/dist/chunks/{refresh.SzRxQ44W.js → refresh.DvQeGwUF.js} +5 -5
  179. package/dist/chunks/{refresh.SzRxQ44W.js.map → refresh.DvQeGwUF.js.map} +1 -1
  180. package/dist/chunks/{search-bar.BZDJJtWB.js → search-bar.CPOGuVqp.js} +8 -8
  181. package/dist/chunks/{search-bar.BZDJJtWB.js.map → search-bar.CPOGuVqp.js.map} +1 -1
  182. package/dist/chunks/{search.KgjmJMHa.js → search.EnLryD8V.js} +4 -4
  183. package/dist/chunks/{search.KgjmJMHa.js.map → search.EnLryD8V.js.map} +1 -1
  184. package/dist/chunks/{secondary-nav.qm-rh-r6.js → secondary-nav.B1zTf8Ls.js} +11 -11
  185. package/dist/chunks/{secondary-nav.qm-rh-r6.js.map → secondary-nav.B1zTf8Ls.js.map} +1 -1
  186. package/dist/chunks/{segmented-control.BIwBQ8i3.js → segmented-control.DV9mJM7g.js} +9 -9
  187. package/dist/chunks/{segmented-control.BIwBQ8i3.js.map → segmented-control.DV9mJM7g.js.map} +1 -1
  188. package/dist/chunks/{selection-card-group.DPGh4nwl.js → selection-card-group.z0SNFpjN.js} +17 -17
  189. package/dist/chunks/{selection-card-group.DPGh4nwl.js.map → selection-card-group.z0SNFpjN.js.map} +1 -1
  190. package/dist/chunks/{show.J9zXGWlK.js → show.ChPQTrAT.js} +6 -6
  191. package/dist/chunks/{show.J9zXGWlK.js.map → show.ChPQTrAT.js.map} +1 -1
  192. package/dist/chunks/{sidepanel.DxSdFwm1.js → sidepanel.B-YKxXQA.js} +12 -12
  193. package/dist/chunks/{sidepanel.DxSdFwm1.js.map → sidepanel.B-YKxXQA.js.map} +1 -1
  194. package/dist/chunks/{status.types.Dil95sGx.js → status.types.Bh_mGknA.js} +6 -6
  195. package/dist/chunks/{status.types.Dil95sGx.js.map → status.types.Bh_mGknA.js.map} +1 -1
  196. package/dist/chunks/{step.DAB8h_4u.js → step.CGHc2hFZ.js} +7 -7
  197. package/dist/chunks/{step.DAB8h_4u.js.map → step.CGHc2hFZ.js.map} +1 -1
  198. package/dist/chunks/{structured-list-item.DpI6jzfM.js → structured-list-item.DNP6fkCb.js} +9 -9
  199. package/dist/chunks/{structured-list-item.DpI6jzfM.js.map → structured-list-item.DNP6fkCb.js.map} +1 -1
  200. package/dist/chunks/{summary-grid-item-custom.DCNWMasy.js → summary-grid-item-custom.Dm2rULoZ.js} +7 -7
  201. package/dist/chunks/{summary-grid-item-custom.DCNWMasy.js.map → summary-grid-item-custom.Dm2rULoZ.js.map} +1 -1
  202. package/dist/chunks/{tabs.B5-PZCxc.js → tabs.BXuDJsCU.js} +5 -5
  203. package/dist/chunks/{tabs.B5-PZCxc.js.map → tabs.BXuDJsCU.js.map} +1 -1
  204. package/dist/chunks/{tag.BuUbvgok.js → tag.bo9YuJ9f.js} +5 -5
  205. package/dist/chunks/{tag.BuUbvgok.js.map → tag.bo9YuJ9f.js.map} +1 -1
  206. package/dist/chunks/{teleport.B1NhF5-O.js → teleport.B255JhsV.js} +4 -4
  207. package/dist/chunks/{teleport.B1NhF5-O.js.map → teleport.B255JhsV.js.map} +1 -1
  208. package/dist/chunks/{textarea.CCr8inwI.js → textarea.FlyFaC5n.js} +8 -8
  209. package/dist/chunks/{textarea.CCr8inwI.js.map → textarea.FlyFaC5n.js.map} +1 -1
  210. package/dist/chunks/{timeline-item.DG9YaOiC.js → timeline-item.DYgnYAx0.js} +38 -38
  211. package/dist/chunks/{timeline-item.DG9YaOiC.js.map → timeline-item.DYgnYAx0.js.map} +1 -1
  212. package/dist/chunks/{toast.CVy2sf_5.js → toast.Cp-osZLV.js} +22 -22
  213. package/dist/chunks/{toast.CVy2sf_5.js.map → toast.Cp-osZLV.js.map} +1 -1
  214. package/dist/chunks/{toggle-button.CCgvi7TQ.js → toggle-button.BABftVnA.js} +4 -4
  215. package/dist/chunks/{toggle-button.CCgvi7TQ.js.map → toggle-button.BABftVnA.js.map} +1 -1
  216. package/dist/chunks/{toggle.Dl82VpiQ.js → toggle.Bme9eaeR.js} +5 -5
  217. package/dist/chunks/{toggle.Dl82VpiQ.js.map → toggle.Bme9eaeR.js.map} +1 -1
  218. package/dist/chunks/{tooltip.2MOlGHD9.js → tooltip.Ch4_ew27.js} +9 -9
  219. package/dist/chunks/{tooltip.2MOlGHD9.js.map → tooltip.Ch4_ew27.js.map} +1 -1
  220. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CQ0vEvB4.js → tutorial.vue_vue_type_script_setup_true_lang.hNv57lCE.js} +33 -33
  221. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CQ0vEvB4.js.map → tutorial.vue_vue_type_script_setup_true_lang.hNv57lCE.js.map} +1 -1
  222. package/dist/chunks/{typography.DN5eC5ch.js → typography.DNzU41ah.js} +3 -4
  223. package/dist/chunks/{typography.DN5eC5ch.js.map → typography.DNzU41ah.js.map} +1 -1
  224. package/dist/chunks/{use-bento-toast-controller.D3LA1FCd.js → use-bento-toast-controller.C2wUDcoc.js} +3 -3
  225. package/dist/chunks/{use-bento-toast-controller.D3LA1FCd.js.map → use-bento-toast-controller.C2wUDcoc.js.map} +1 -1
  226. package/dist/chunks/{use-cached-selected-values.BBD_AA1m.js → use-cached-selected-values.CvdhdRHz.js} +15 -15
  227. package/dist/chunks/{use-cached-selected-values.BBD_AA1m.js.map → use-cached-selected-values.CvdhdRHz.js.map} +1 -1
  228. package/dist/chunks/{use-country-items.DnPo3yxj.js → use-country-items.D4T1eUtC.js} +2 -2
  229. package/dist/chunks/{use-country-items.DnPo3yxj.js.map → use-country-items.D4T1eUtC.js.map} +1 -1
  230. package/dist/chunks/{warning-filled.tTkVob0l.js → warning-filled.OUOUbA6k.js} +5 -5
  231. package/dist/chunks/{warning-filled.tTkVob0l.js.map → warning-filled.OUOUbA6k.js.map} +1 -1
  232. package/dist/code-snippet.js +1 -1
  233. package/dist/country.js +1 -1
  234. package/dist/currency.js +1 -1
  235. package/dist/dashboard-template.js +1 -1
  236. package/dist/dashed-underline.js +1 -1
  237. package/dist/data-grid-template.js +1 -1
  238. package/dist/data-grid.js +1 -1
  239. package/dist/date-picker.js +2 -2
  240. package/dist/date-range-picker.js +2 -2
  241. package/dist/date.js +1 -1
  242. package/dist/divider.js +1 -1
  243. package/dist/dropdown.js +4 -4
  244. package/dist/empty-state.js +1 -1
  245. package/dist/file-uploader.js +1 -1
  246. package/dist/filter-bar.js +1 -1
  247. package/dist/focus-trap.js +1 -1
  248. package/dist/form-layout.js +1 -1
  249. package/dist/header.js +1 -1
  250. package/dist/image.js +1 -1
  251. package/dist/index.js +170 -170
  252. package/dist/index.js.map +1 -1
  253. package/dist/info-icon.js +1 -1
  254. package/dist/input-field-password.js +1 -1
  255. package/dist/input-field.js +1 -1
  256. package/dist/inspector.js +1 -1
  257. package/dist/internal.js +14 -14
  258. package/dist/layout.js +1 -1
  259. package/dist/link.js +1 -1
  260. package/dist/loading-indicator.js +1 -1
  261. package/dist/menu.js +1 -1
  262. package/dist/modal-fullscreen.js +1 -1
  263. package/dist/modal.js +2 -2
  264. package/dist/pagination.js +1 -1
  265. package/dist/payment-method.js +1 -1
  266. package/dist/popover.js +1 -1
  267. package/dist/popper-container.js +1 -1
  268. package/dist/promo-banner.js +1 -1
  269. package/dist/radio-group.js +2 -2
  270. package/dist/search-bar.js +2 -2
  271. package/dist/secondary-nav.js +1 -1
  272. package/dist/segmented-control.js +1 -1
  273. package/dist/selection-card.js +1 -1
  274. package/dist/sidepanel.js +1 -1
  275. package/dist/status.js +1 -1
  276. package/dist/stepper.js +1 -1
  277. package/dist/structured-list.js +1 -1
  278. package/dist/styles/bento-dark.css +1 -0
  279. package/dist/styles/bento-light.css +1 -0
  280. package/dist/styles/bento.css +1 -0
  281. package/dist/styles/legacy.css +6 -5
  282. package/dist/styles/styleguide.css +1 -0
  283. package/dist/summary-grid.js +1 -1
  284. package/dist/tabs.js +1 -1
  285. package/dist/tag.js +1 -1
  286. package/dist/textarea.js +1 -1
  287. package/dist/timeline.js +1 -1
  288. package/dist/toast.js +1 -1
  289. package/dist/toggle.js +1 -1
  290. package/dist/tutorial.js +1 -1
  291. package/dist/typography.js +1 -1
  292. package/dist/web-types.json +1 -1
  293. package/package.json +7 -4
  294. package/dist/chunks/code-snippet.volJxGqR.js +0 -392
  295. package/dist/chunks/code-snippet.volJxGqR.js.map +0 -1
  296. package/dist/chunks/codemirror.CXFEqvAi.js.map +0 -1
  297. package/dist/chunks/dropdown.CZDXXpKe.js.map +0 -1
  298. package/dist/chunks/file-uploader.BXHt0PWz.js +0 -1077
  299. package/dist/chunks/file-uploader.BXHt0PWz.js.map +0 -1
  300. package/dist/chunks/input-field.3PUv6XC3.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,85 +1,85 @@
1
1
  import { shallowRef as T, ref as l, inject as g } from "vue";
2
- import { t as y, c as h } from "./chunks/use-bento-toast-controller.D3LA1FCd.js";
3
- import { u as A } from "./chunks/use-bento-toast-controller.D3LA1FCd.js";
4
- import { p as b, d as u } from "./chunks/typography.DN5eC5ch.js";
5
- import { B as R, c as _, b as j, a as Y } from "./chunks/typography.DN5eC5ch.js";
6
- import { B as z } from "./chunks/action-bar.CmDQZkM2.js";
7
- import { a as H, b as q } from "./chunks/accordion-item.DfOb4Pyx.js";
8
- import { B as Z, c as J, b as Q, a as X } from "./chunks/alert.D1Ax6AnI.js";
9
- import { B as ee } from "./chunks/avatar.B0-9jC6H.js";
10
- import { B as oe, b as ae, a as ne } from "./chunks/button.Cneb6rPP.js";
11
- import { c as se, B as Be, a as ie } from "./chunks/card.rkMUtirc.js";
12
- import { d as pe } from "./chunks/dashed-underline.DYVSwQtH.js";
13
- import { B as le, d as ue, a as ce, f as fe, e as xe, c as Se, b as Te } from "./chunks/data-grid.DVc9qzLU.js";
14
- import { B as ye, a as he } from "./chunks/date-picker.Bt4fyPQ4.js";
15
- import { B as Ee, a as Ce } from "./chunks/date-range-picker.Bna_2pBL.js";
16
- import { B as ve, u as Ie } from "./chunks/dropdown.CZDXXpKe.js";
17
- import { B as Pe } from "./chunks/dropdown-default-textbox.ipIFhyWZ.js";
18
- import { B as Ge } from "./chunks/divider.DwBC4bpr.js";
19
- import { B as ke, a as we } from "./chunks/checkbox.D9FJcICR.js";
2
+ import { t as y, c as h } from "./chunks/use-bento-toast-controller.C2wUDcoc.js";
3
+ import { u as A } from "./chunks/use-bento-toast-controller.C2wUDcoc.js";
4
+ import { p as b, d as u } from "./chunks/typography.DNzU41ah.js";
5
+ import { B as R, c as _, b as j, a as Y } from "./chunks/typography.DNzU41ah.js";
6
+ import { B as z } from "./chunks/action-bar.DHa6nS5J.js";
7
+ import { a as H, b as q } from "./chunks/accordion-item.BOftQTUm.js";
8
+ import { B as Z, c as J, b as Q, a as X } from "./chunks/alert.BffQNg4e.js";
9
+ import { B as ee } from "./chunks/avatar.DqdDHXay.js";
10
+ import { B as oe, b as ae, a as ne } from "./chunks/button.DSnv5X7y.js";
11
+ import { c as se, B as Be, a as ie } from "./chunks/card.9fQrkeSH.js";
12
+ import { d as pe } from "./chunks/dashed-underline.BewlZNvL.js";
13
+ import { B as le, d as ue, a as ce, f as fe, e as xe, c as Se, b as Te } from "./chunks/data-grid.DSPcFy6O.js";
14
+ import { B as ye, a as he } from "./chunks/date-picker.wNOf4DoV.js";
15
+ import { B as Ee, a as Ce } from "./chunks/date-range-picker.C4l0Xe9R.js";
16
+ import { B as ve, u as Ie } from "./chunks/dropdown.DhvCTlVl.js";
17
+ import { B as Pe } from "./chunks/dropdown-default-textbox.3HzBUxC3.js";
18
+ import { B as Ge } from "./chunks/divider.ugNXYI-T.js";
19
+ import { B as ke, a as we } from "./chunks/checkbox.BphbrpUx.js";
20
20
  import { B as Ve } from "./chunks/click-outside.DSszkIvs.js";
21
- import { c as Ne, b as Re, a as _e, B as je } from "./chunks/code-snippet.volJxGqR.js";
22
- import { c as Ue } from "./chunks/country.Cv_8NTmw.js";
21
+ import { c as Ne, b as Re, a as _e, B as je } from "./chunks/code-snippet.BXMQTve4.js";
22
+ import { c as Ue } from "./chunks/country.CcTaTBE0.js";
23
23
  import { a as Ke, B as He, u as qe, b as We, c as Ze } from "./chunks/country.types.pilf5B3F.js";
24
- import { c as Qe, B as Xe } from "./chunks/currency.DGX-aejv.js";
25
- import { B as et, a as tt } from "./chunks/date.DeaBl297.js";
26
- import { B as at, b as nt, c as rt, a as st } from "./chunks/empty-state.C2ancCe6.js";
27
- import { f as it } from "./chunks/file-uploader.BXHt0PWz.js";
28
- import { B as pt, b as dt, a as lt, c as ut } from "./chunks/filter-bar.oihCCt5N.js";
29
- import { f as ft, a as xt, c as St, b as Tt } from "./chunks/form-layout-title.srkVLEUW.js";
30
- import { _ as yt, B as ht, a as bt } from "./chunks/image.vue_vue_type_script_setup_true_lang.DQT2oNEF.js";
31
- import { B as Ct } from "./chunks/info-icon.BCSBCH-5.js";
32
- import { B as vt, b as It, e as Lt, c as Pt, d as Ft, a as Gt } from "./chunks/input-field.3PUv6XC3.js";
33
- import { i as kt, m as wt, r as Mt, b as Vt, c as At, a as Nt } from "./chunks/input-field-password.DedPkZxg.js";
34
- import { i as _t, B as jt } from "./chunks/inspector.types.Dr0D250X.js";
35
- import { l as Ut, a as zt } from "./chunks/layout-row.9G7yVMVt.js";
36
- import { B as Ht, a as qt } from "./chunks/loading-indicator.DEepb9Wl.js";
37
- import { B as Zt, a as Jt } from "./chunks/link.ClFi8uSm.js";
38
- import { B as Xt, a as $t } from "./chunks/menu.Dmzh3Uat.js";
39
- import { d as to, f as oo, g as ao, B as no, e as ro, c as so, a as Bo, b as io } from "./chunks/base-modal.DbJYaHyG.js";
40
- import { _ as po } from "./chunks/modal.vue_vue_type_script_setup_true_lang.C8vZDtlE.js";
41
- import { m as uo, B as co } from "./chunks/modal-fullscreen.BazQAAU1.js";
42
- import { B as xo } from "./chunks/header.CAHXObTT.js";
43
- import { B as To } from "./chunks/pagination.BCC3GZV5.js";
44
- import { B as yo } from "./chunks/payment-method.2IeC7f4x.js";
45
- import { B as bo } from "./chunks/payment-method.types.CJKfZQN5.js";
46
- import { B as Co, a as Do } from "./chunks/popover.3KG1IoYE.js";
47
- import { p as Io, B as Lo, a as Po } from "./chunks/promo-banner.BjLfDhBq.js";
48
- import { b as Go, B as Oo, a as ko } from "./chunks/radio-group.CeiSaH6M.js";
49
- import { B as Mo, b as Vo, a as Ao } from "./chunks/search-bar.BZDJJtWB.js";
50
- import { s as Ro } from "./chunks/secondary-nav.qm-rh-r6.js";
51
- import { B as jo } from "./chunks/segmented-control.BIwBQ8i3.js";
52
- import { B as Uo } from "./chunks/segmented-control.types.BHRLV8KU.js";
53
- import { B as Ko, s as Ho, a as qo } from "./chunks/selection-card-group.DPGh4nwl.js";
54
- import { a as Zo, B as Jo, s as Qo } from "./chunks/sidepanel.DxSdFwm1.js";
55
- import { s as $o, B as ea } from "./chunks/status.types.Dil95sGx.js";
56
- import { a as oa, s as aa, B as na, b as ra } from "./chunks/step.DAB8h_4u.js";
57
- import { B as Ba, a as ia } from "./chunks/structured-list-item.DpI6jzfM.js";
58
- import { s as pa, a as da, e as la, b as ua, c as ca, B as fa, d as xa, f as Sa } from "./chunks/summary-grid-item-custom.DCNWMasy.js";
59
- import { B as ga, a as ya } from "./chunks/tabs.B5-PZCxc.js";
60
- import { B as ba, a as Ea } from "./chunks/tag.BuUbvgok.js";
61
- import { B as Da } from "./chunks/textarea.CCr8inwI.js";
62
- import { t as Ia, b as La, a as Pa, c as Fa, B as Ga, d as Oa } from "./chunks/timeline-item.DG9YaOiC.js";
63
- import { t as wa } from "./chunks/toast.CVy2sf_5.js";
64
- import { B as Va, b as Aa, a as Na } from "./chunks/toggle.Dl82VpiQ.js";
65
- import { _ as _a } from "./chunks/tutorial.vue_vue_type_script_setup_true_lang.CQ0vEvB4.js";
24
+ import { c as Qe, B as Xe } from "./chunks/currency.Dz2x17_Q.js";
25
+ import { B as et, a as tt } from "./chunks/date.DVGj7WKQ.js";
26
+ import { B as at, b as nt, c as rt, a as st } from "./chunks/empty-state.DYfl7gnt.js";
27
+ import { f as it } from "./chunks/file-uploader.DiqPKVVt.js";
28
+ import { B as pt, b as dt, a as lt, c as ut } from "./chunks/filter-bar.ChU2rr8r.js";
29
+ import { f as ft, a as xt, c as St, b as Tt } from "./chunks/form-layout-title.Du4aY15F.js";
30
+ import { _ as yt, B as ht, a as bt } from "./chunks/image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js";
31
+ import { B as Ct } from "./chunks/info-icon.B6QPdxPi.js";
32
+ import { B as vt, b as It, e as Lt, c as Pt, d as Ft, a as Gt } from "./chunks/input-field.BVewQng_.js";
33
+ import { i as kt, m as wt, r as Mt, b as Vt, c as At, a as Nt } from "./chunks/input-field-password.LVaJy8_K.js";
34
+ import { i as _t, B as jt } from "./chunks/inspector.types.DKL2_Mku.js";
35
+ import { l as Ut, a as zt } from "./chunks/layout-row.CwYDJeG_.js";
36
+ import { B as Ht, a as qt } from "./chunks/loading-indicator.N_WV9Gwz.js";
37
+ import { B as Zt, a as Jt } from "./chunks/link.DHXLGTkn.js";
38
+ import { B as Xt, a as $t } from "./chunks/menu.C5Y5nSvX.js";
39
+ import { d as to, f as oo, g as ao, B as no, e as ro, c as so, a as Bo, b as io } from "./chunks/base-modal.BP7bUB84.js";
40
+ import { m as po, B as lo } from "./chunks/modal-fullscreen.Bw0CzdjS.js";
41
+ import { B as co } from "./chunks/header.CUyEq2ER.js";
42
+ import { B as xo } from "./chunks/pagination.OzqU46-J.js";
43
+ import { B as To } from "./chunks/payment-method.Lwl-3chY.js";
44
+ import { B as yo } from "./chunks/payment-method.types.CJKfZQN5.js";
45
+ import { B as bo, a as Eo } from "./chunks/popover.BFZU1OKv.js";
46
+ import { p as Do, B as vo, a as Io } from "./chunks/promo-banner.DB6C9Tgr.js";
47
+ import { b as Po, B as Fo, a as Go } from "./chunks/radio-group.DVPnBI92.js";
48
+ import { B as ko, b as wo, a as Mo } from "./chunks/search-bar.CPOGuVqp.js";
49
+ import { s as Ao } from "./chunks/secondary-nav.B1zTf8Ls.js";
50
+ import { B as Ro } from "./chunks/segmented-control.DV9mJM7g.js";
51
+ import { B as jo } from "./chunks/segmented-control.types.BHRLV8KU.js";
52
+ import { B as Uo, s as zo, a as Ko } from "./chunks/selection-card-group.z0SNFpjN.js";
53
+ import { a as qo, B as Wo, s as Zo } from "./chunks/sidepanel.B-YKxXQA.js";
54
+ import { s as Qo, B as Xo } from "./chunks/status.types.Bh_mGknA.js";
55
+ import { a as ea, s as ta, B as oa, b as aa } from "./chunks/step.CGHc2hFZ.js";
56
+ import { B as ra, a as sa } from "./chunks/structured-list-item.DNP6fkCb.js";
57
+ import { s as ia, a as ma, e as pa, b as da, c as la, B as ua, d as ca, f as fa } from "./chunks/summary-grid-item-custom.Dm2rULoZ.js";
58
+ import { B as Sa, a as Ta } from "./chunks/tabs.BXuDJsCU.js";
59
+ import { B as ya, a as ha } from "./chunks/tag.bo9YuJ9f.js";
60
+ import { B as Ea } from "./chunks/textarea.FlyFaC5n.js";
61
+ import { t as Da, b as va, a as Ia, c as La, B as Pa, d as Fa } from "./chunks/timeline-item.DYgnYAx0.js";
62
+ import { t as Oa } from "./chunks/toast.Cp-osZLV.js";
63
+ import { B as wa, b as Ma, a as Va } from "./chunks/toggle.Bme9eaeR.js";
66
64
  import * as s from "zod";
67
- import { u as Ya } from "./chunks/teleport.B1NhF5-O.js";
68
- import { a as za, d as Ka } from "./chunks/dashboard-section.Buh9mb22.js";
69
- import { d as qa } from "./chunks/data-grid-template.B6xmEgaM.js";
70
- import { D as Za } from "./chunks/date-input.BqBdAO1E.js";
71
- import { a as Qa, B as Xa } from "./chunks/keyboard-navigation.C3QMVRKY.js";
72
- import { a as en, B as tn, a as on, B as an } from "./chunks/use-cached-selected-values.BBD_AA1m.js";
73
- import { B as rn } from "./chunks/directive.O3yEdalv.js";
74
- import { B as Bn, a as mn } from "./chunks/events.FNmSWp_P.js";
75
- import { B as dn } from "./chunks/tooltip.2MOlGHD9.js";
76
- import { _ as un, a as cn, b as fn, c as xn, d as Sn } from "./chunks/dropdown-tag.DLyxItIS.js";
77
- import { B as gn, c as yn, a as hn, b as bn, d as En, e as Cn } from "./chunks/button-actions.CShVMUOC.js";
78
- import { B as vn } from "./chunks/toggle-button.CCgvi7TQ.js";
79
- import { C as Ln, C as Pn } from "./chunks/calendar.1qqtC8ba.js";
80
- import { C as Gn } from "./chunks/checkbox-input.CAYgiRHG.js";
81
- import { c as kn, B as wn } from "./chunks/checkbox-group.PTNxE0kL.js";
82
- import { R as Vn } from "./chunks/radio-input.0TPahhZT.js";
65
+ import { u as Na } from "./chunks/teleport.B255JhsV.js";
66
+ import { a as _a, d as ja } from "./chunks/dashboard-section.C90L1bhS.js";
67
+ import { d as Ua } from "./chunks/data-grid-template.DeAeq2Ij.js";
68
+ import { D as Ka } from "./chunks/date-input.BqBdAO1E.js";
69
+ import { a as qa, B as Wa } from "./chunks/keyboard-navigation.C3QMVRKY.js";
70
+ import { a as Ja, B as Qa, a as Xa, B as $a } from "./chunks/use-cached-selected-values.CvdhdRHz.js";
71
+ import { B as tn } from "./chunks/directive.O3yEdalv.js";
72
+ import { B as an, a as nn } from "./chunks/events.FNmSWp_P.js";
73
+ import { B as sn } from "./chunks/tooltip.Ch4_ew27.js";
74
+ import { B as mn, c as pn, a as dn, b as ln, d as un, e as cn } from "./chunks/button-actions.C8CJcXxS.js";
75
+ import { B as xn } from "./chunks/toggle-button.BABftVnA.js";
76
+ import { C as Tn, C as gn } from "./chunks/calendar.DlvMzTO4.js";
77
+ import { _ as hn, a as bn, b as En, c as Cn, d as Dn } from "./chunks/dropdown-tag.BRNZ7KIi.js";
78
+ import { C as In } from "./chunks/checkbox-input.D8ZUqd4m.js";
79
+ import { c as Pn, B as Fn } from "./chunks/checkbox-group.Dq57AigF.js";
80
+ import { _ as On } from "./chunks/modal.vue_vue_type_script_setup_true_lang.B-_oGtsE.js";
81
+ import { R as wn } from "./chunks/radio-input.ButaAWTD.js";
82
+ import { _ as Vn } from "./chunks/tutorial.vue_vue_type_script_setup_true_lang.hNv57lCE.js";
83
83
  function G(e) {
84
84
  return e;
85
85
  }
@@ -169,10 +169,10 @@ export {
169
169
  X as BentoAlertVariant,
170
170
  ee as BentoAvatar,
171
171
  oe as BentoButton,
172
- gn as BentoButtonActions,
173
- yn as BentoButtonActionsLayout,
174
- hn as BentoButtonActionsLayoutBasic,
175
- bn as BentoButtonActionsLayoutExtended,
172
+ mn as BentoButtonActions,
173
+ pn as BentoButtonActionsLayout,
174
+ dn as BentoButtonActionsLayoutBasic,
175
+ ln as BentoButtonActionsLayoutExtended,
176
176
  ae as BentoButtonPropClass,
177
177
  ne as BentoButtonVariant,
178
178
  se as BentoCard,
@@ -180,11 +180,11 @@ export {
180
180
  ie as BentoCardTitleSize,
181
181
  ke as BentoCheckbox,
182
182
  we as BentoCheckboxEvent,
183
- kn as BentoCheckboxGroup,
184
- wn as BentoCheckboxGroupVariant,
185
- Gn as BentoCheckboxState,
183
+ Pn as BentoCheckboxGroup,
184
+ Fn as BentoCheckboxGroupVariant,
185
+ In as BentoCheckboxState,
186
186
  Ve as BentoClickOutside,
187
- rn as BentoClickOutsideDirective,
187
+ tn as BentoClickOutsideDirective,
188
188
  Ne as BentoCodeSnippet,
189
189
  Re as BentoCodeSnippetEvent,
190
190
  _e as BentoCodeSnippetSupportedLanguage,
@@ -195,12 +195,12 @@ export {
195
195
  He as BentoCountryVariant,
196
196
  Qe as BentoCurrency,
197
197
  Xe as BentoCurrencyISOCode,
198
- za as BentoDashboardSection,
199
- Ka as BentoDashboardTemplate,
198
+ _a as BentoDashboardSection,
199
+ ja as BentoDashboardTemplate,
200
200
  pe as BentoDashedUnderline,
201
201
  ue as BentoDataGrid,
202
202
  ce as BentoDataGridStaticIcon,
203
- qa as BentoDataGridTemplate,
203
+ Ua as BentoDataGridTemplate,
204
204
  fe as BentoDatagridAriaSortValue,
205
205
  xe as BentoDatagridEvent,
206
206
  Se as BentoDatagridSortDirection,
@@ -209,20 +209,20 @@ export {
209
209
  tt as BentoDateFormat,
210
210
  ye as BentoDatePicker,
211
211
  he as BentoDatePickerEvent,
212
- Ln as BentoDatePickerFirstDayOfWeek,
212
+ Tn as BentoDatePickerFirstDayOfWeek,
213
213
  Ee as BentoDateRangePicker,
214
214
  Ce as BentoDateRangePickerEvent,
215
- Pn as BentoDateRangePickerFirstDayOfWeek,
215
+ gn as BentoDateRangePickerFirstDayOfWeek,
216
216
  Ge as BentoDivider,
217
217
  ve as BentoDropdown,
218
- un as BentoDropdownAvatar,
219
- cn as BentoDropdownCountry,
220
- fn as BentoDropdownCurrency,
221
- en as BentoDropdownEvent,
222
- tn as BentoDropdownLazyLoadType,
223
- xn as BentoDropdownPaymentMethod,
218
+ hn as BentoDropdownAvatar,
219
+ bn as BentoDropdownCountry,
220
+ En as BentoDropdownCurrency,
221
+ Ja as BentoDropdownEvent,
222
+ Qa as BentoDropdownLazyLoadType,
223
+ Cn as BentoDropdownPaymentMethod,
224
224
  Pe as BentoDropdownSize,
225
- Sn as BentoDropdownTag,
225
+ Dn as BentoDropdownTag,
226
226
  at as BentoEmptyState,
227
227
  nt as BentoEmptyStateImage,
228
228
  rt as BentoEmptyStateImageVariant,
@@ -236,7 +236,7 @@ export {
236
236
  xt as BentoFormLayoutFieldTip,
237
237
  St as BentoFormLayoutGroup,
238
238
  Tt as BentoFormLayoutTitle,
239
- xo as BentoHeader,
239
+ co as BentoHeader,
240
240
  yt as BentoImage,
241
241
  ht as BentoImageAspectRatio,
242
242
  bt as BentoImageObjectFit,
@@ -250,97 +250,97 @@ export {
250
250
  Gt as BentoInputFieldVariant,
251
251
  _t as BentoInspector,
252
252
  jt as BentoInspectorSizeOptions,
253
- Qa as BentoKeyboardNavigationDirective,
254
- Xa as BentoKeyboardNavigationKeyDownEvent,
253
+ qa as BentoKeyboardNavigationDirective,
254
+ Wa as BentoKeyboardNavigationKeyDownEvent,
255
255
  Ut as BentoLayout,
256
256
  zt as BentoLayoutRow,
257
257
  Zt as BentoLink,
258
258
  Jt as BentoLinkVariant,
259
- on as BentoListboxEvent,
260
- an as BentoListboxLazyLoadType,
261
- En as BentoLoadingButton,
262
- Cn as BentoLoadingButtonState,
259
+ Xa as BentoListboxEvent,
260
+ $a as BentoListboxLazyLoadType,
261
+ un as BentoLoadingButton,
262
+ cn as BentoLoadingButtonState,
263
263
  Ht as BentoLoadingIndicator,
264
264
  qt as BentoLoadingIndicatorEvent,
265
265
  Xt as BentoMenu,
266
266
  $t as BentoMenuEvent,
267
- po as BentoModal,
267
+ On as BentoModal,
268
268
  to as BentoModalColumnLayoutVariant,
269
269
  oo as BentoModalDialogType,
270
270
  ao as BentoModalEvent,
271
- uo as BentoModalFullscreen,
272
- co as BentoModalFullscreenPage,
271
+ po as BentoModalFullscreen,
272
+ lo as BentoModalFullscreenPage,
273
273
  no as BentoModalPage,
274
274
  ro as BentoModalRole,
275
275
  so as BentoModalSize,
276
276
  Bo as BentoModalVariant,
277
277
  io as BentoModalVariantMapping,
278
- To as BentoPagination,
279
- yo as BentoPaymentMethod,
280
- bo as BentoPaymentMethodType,
281
- Co as BentoPopover,
282
- Do as BentoPopoverPositions,
283
- Io as BentoPromoBanner,
284
- Lo as BentoPromoBannerColor,
285
- Po as BentoPromoBannerLayout,
286
- Go as BentoRadioButton,
287
- Vn as BentoRadioButtonStateClass,
288
- Oo as BentoRadioGroup,
289
- ko as BentoRadioGroupVariant,
290
- Mo as BentoSearchBar,
291
- Vo as BentoSearchBarEvent,
292
- Ao as BentoSearchBarInternalEvent,
293
- Ro as BentoSecondaryNav,
294
- jo as BentoSegmentedControl,
295
- Uo as BentoSegmentedControlEvent,
296
- Ko as BentoSelectionCard,
297
- Ho as BentoSelectionCardGroup,
298
- qo as BentoSelectionCardState,
299
- Zo as BentoSidepanel,
300
- Jo as BentoSidepanelEvent,
301
- Qo as BentoSidepanelPage,
302
- $o as BentoStatus,
303
- ea as BentoStatusVariant,
304
- oa as BentoStep,
305
- aa as BentoStepper,
306
- na as BentoStepperTypeOption,
307
- ra as BentoStepperVariantOption,
308
- Ba as BentoStructuredList,
309
- ia as BentoStructuredListItem,
310
- pa as BentoSummaryGrid,
311
- da as BentoSummaryGridItemAmount,
312
- la as BentoSummaryGridItemCustom,
313
- ua as BentoSummaryGridItemNumeric,
314
- ca as BentoSummaryGridItemPercentage,
315
- fa as BentoSummaryGridItemSize,
316
- xa as BentoSummaryGridItemText,
317
- Sa as BentoSummaryGridItemTrendDirection,
318
- ga as BentoTab,
319
- ya as BentoTabs,
320
- ba as BentoTag,
321
- Ea as BentoTagVariant,
322
- Da as BentoTextarea,
278
+ xo as BentoPagination,
279
+ To as BentoPaymentMethod,
280
+ yo as BentoPaymentMethodType,
281
+ bo as BentoPopover,
282
+ Eo as BentoPopoverPositions,
283
+ Do as BentoPromoBanner,
284
+ vo as BentoPromoBannerColor,
285
+ Io as BentoPromoBannerLayout,
286
+ Po as BentoRadioButton,
287
+ wn as BentoRadioButtonStateClass,
288
+ Fo as BentoRadioGroup,
289
+ Go as BentoRadioGroupVariant,
290
+ ko as BentoSearchBar,
291
+ wo as BentoSearchBarEvent,
292
+ Mo as BentoSearchBarInternalEvent,
293
+ Ao as BentoSecondaryNav,
294
+ Ro as BentoSegmentedControl,
295
+ jo as BentoSegmentedControlEvent,
296
+ Uo as BentoSelectionCard,
297
+ zo as BentoSelectionCardGroup,
298
+ Ko as BentoSelectionCardState,
299
+ qo as BentoSidepanel,
300
+ Wo as BentoSidepanelEvent,
301
+ Zo as BentoSidepanelPage,
302
+ Qo as BentoStatus,
303
+ Xo as BentoStatusVariant,
304
+ ea as BentoStep,
305
+ ta as BentoStepper,
306
+ oa as BentoStepperTypeOption,
307
+ aa as BentoStepperVariantOption,
308
+ ra as BentoStructuredList,
309
+ sa as BentoStructuredListItem,
310
+ ia as BentoSummaryGrid,
311
+ ma as BentoSummaryGridItemAmount,
312
+ pa as BentoSummaryGridItemCustom,
313
+ da as BentoSummaryGridItemNumeric,
314
+ la as BentoSummaryGridItemPercentage,
315
+ ua as BentoSummaryGridItemSize,
316
+ ca as BentoSummaryGridItemText,
317
+ fa as BentoSummaryGridItemTrendDirection,
318
+ Sa as BentoTab,
319
+ Ta as BentoTabs,
320
+ ya as BentoTag,
321
+ ha as BentoTagVariant,
322
+ Ea as BentoTextarea,
323
323
  o as BentoTheme,
324
- Ia as BentoTimeline,
325
- La as BentoTimelineGapUnit,
326
- Pa as BentoTimelineItem,
327
- Fa as BentoTimelineItemVariant,
328
- Ga as BentoTimelineShowMorePlacement,
329
- Oa as BentoTimelineStatus,
330
- wa as BentoToast,
331
- Va as BentoToggle,
332
- vn as BentoToggleButton,
333
- Aa as BentoToggleLabelPosition,
334
- Na as BentoTogglePropClass,
335
- dn as BentoTooltipDirective,
336
- Bn as BentoTooltipPosition,
337
- mn as BentoTooltipState,
338
- _a as BentoTutorial,
324
+ Da as BentoTimeline,
325
+ va as BentoTimelineGapUnit,
326
+ Ia as BentoTimelineItem,
327
+ La as BentoTimelineItemVariant,
328
+ Pa as BentoTimelineShowMorePlacement,
329
+ Fa as BentoTimelineStatus,
330
+ Oa as BentoToast,
331
+ wa as BentoToggle,
332
+ xn as BentoToggleButton,
333
+ Ma as BentoToggleLabelPosition,
334
+ Va as BentoTogglePropClass,
335
+ sn as BentoTooltipDirective,
336
+ an as BentoTooltipPosition,
337
+ nn as BentoTooltipState,
338
+ Vn as BentoTutorial,
339
339
  R as BentoTypography,
340
340
  _ as BentoTypographyElement,
341
341
  j as BentoTypographyModifier,
342
342
  Y as BentoTypographyVariant,
343
- Za as DateFormat,
343
+ Ka as DateFormat,
344
344
  w as default,
345
345
  wt as minLength,
346
346
  Mt as requireLowercase,
@@ -351,7 +351,7 @@ export {
351
351
  k as useBentoTheme,
352
352
  c as useBentoThemeKey,
353
353
  A as useBentoToastController,
354
- Ya as useClickOutside,
354
+ Na as useClickOutside,
355
355
  qe as useCountryCapital,
356
356
  We as useCountryName,
357
357
  Ze as useCountryPhoneCode,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../vue2/src/composables/use-form-validate/use-form.ts","../../vue2/src/composables/use-bento-theme/use-bento-theme.types.ts","../../vue2/src/composables/use-bento-theme/use-bento-theme.ts","../../vue2/src/composables/use-bento-toast-controller/install.ts","../../vue2/src/composables/use-bento-theme/install.ts","../../vue2/src/install.ts"],"sourcesContent":["import { type Ref, ref, shallowRef } from 'vue';\nimport * as z from 'zod';\nimport type { ZodSchema } from 'zod';\nimport { allKeys, ErrorBag, UseForm } from './use-form.types';\n\n/**\n * Composable that tansforms a Zod schema into a Typed Schema that can be used alongside with {@see useForm}.\n *\n * This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.\n * Function that transform Zod’s schemas into something that can be understood by vee-validate\n *\n * @param {T extends ZodSchema} formSchema Zod schema to be transformed into a `vee-validate` schema\n * @returns {UseForm<T>} schema Schema transformed\n */\nexport function toTypedSchema<T extends ZodSchema>(formSchema: T) {\n return formSchema;\n}\n\n/**\n * Finds and returns the initial values of each of the values defined in the schema so that they\n * can be transformed into a reactive element.\n * @param {ZodSchema} schema Zod validation schema containing the definitions of each value to be used in the form\n * @returns Object with the items defined in the schema and their (default) values\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n * getInitialFormValues(validationSchema)\n *\n * Will return:\n *\n * {\n * name: 'Joe'\n * }\n *\n */\nfunction getInitialFormValues<T extends ZodSchema>(schema: T): z.infer<typeof schema> {\n if (!!z && schema instanceof z.ZodObject) {\n return Object.fromEntries(\n Object.entries(schema.shape).map(([key, value]) => {\n if (!!z && value instanceof z.ZodDefault) {\n // eslint-disable-next-line no-underscore-dangle\n return [key, value._def.defaultValue()];\n }\n\n if (!!z && value instanceof z.ZodObject) {\n return [key, getInitialFormValues(value)];\n }\n\n return [key, undefined];\n })\n ) as z.infer<typeof schema>;\n }\n\n return undefined;\n}\n\n/**\n * Constructs a path with dot paths for arrays to use brackets to be compatible with vee-validate path syntax\n * @param issue List of nested path elements\n * @returns Path with dots\n */\nfunction normalizeFormPath(issue: z.ZodIssue) {\n return issue.path.join('.');\n}\n\n/**\n * Composable that facilitates validating form data for Vue2 & Vue3 implementations with FormLayout\n * to ease the migration to Vue3.\n *\n * For Vue3 implementations use Vee-Validate.\n *\n * This provides a simplified version of Vee-Validate v4 implemented with Zod to validate a form schema.\n * It returns reactive values that can be used directly in form input elements with 'v-model' alongside\n * with functions to \"reset\" the data (sets values to default value) and a function to execute the\n * successful form validation process (through a callback).\n *\n * @param {UseForm<T>} props Form configuration object\n * @param {T extends ZodSchema} props.validationSchema Zod typed validation schema\n * @returns {Object} response - Composable with reactive form values and errors, and functions to handle the reactive data\n * @returns {Ref<ErrorBag<T>>} response.errorBag Object with all the form values and an array of each one of the errors (if any) per value\n * @returns {Ref<T>} response.errors Object with all the form values and the first error found for that field (if any)\n * @returns {Ref<T>} response.values Object with all the form values and their current value\n * @returns {() => void} response.handleReset Resets the form values to default (initial values) when it gets called\n * @returns {(callback: (values: T) => void) => () => void} response.submitForm Validates the data set in {response.values} and sets errors (if found) inside {response.errors} and {response.errorBag}.\n * When the validation is successful it calls the callback so the submit process can continue\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n *\n * const { values, errors, errorBag, submitForm, handleReset } = useForm({\n * validationSchema\n * });\n * const handleSubmit = submitForm(() => {\n * // Send data to API here\n * })\n *\n */\nexport function useForm<T extends ZodSchema>({\n validationSchema,\n}: UseForm<T>): {\n errorBag: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string[];\n }>;\n errors: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string;\n }>;\n values: Ref<(typeof validationSchema)['_type']>;\n handleReset: () => void;\n submitForm: (submitted: any) => () => void;\n} {\n // Errors per field\n const errors = shallowRef<z.infer<typeof validationSchema>>({});\n // All errors per field\n const errorBag: Ref<ErrorBag<z.infer<typeof validationSchema>>> = ref({});\n const values: Ref<z.TypeOf<T>> = ref(getInitialFormValues<T>(validationSchema));\n\n const cleanErrors = () => {\n errors.value = {};\n errorBag.value = {};\n };\n\n const resetForm = () => {\n cleanErrors();\n values.value = getInitialFormValues<T>(validationSchema);\n };\n\n const submitForm = submitted => () => {\n cleanErrors();\n\n // Run validations on the form data through the schema\n const validSchema = validationSchema.safeParse(values.value);\n\n // Update errors\n if (!validSchema.success) {\n (validSchema as z.SafeParseError<T>).error.issues.forEach(error => {\n const path = normalizeFormPath(error);\n\n // Add the first ocurrance of a fild error to the \"errors\" object\n if (!errors.value[path]) {\n errors.value[path] = error.message;\n }\n\n // Add each error to the \"errorBag\" per field array\n if (!errorBag.value[path]) {\n errorBag.value[path] = [error.message];\n } else {\n errorBag.value[path].push(error.message);\n }\n });\n } else {\n submitted(values.value);\n }\n };\n\n return {\n // Values\n errorBag,\n errors,\n values,\n\n // Methods\n handleReset: () => resetForm(),\n submitForm,\n };\n}\n","import { BentoTheme } from './install';\n\nexport const useBentoThemeKey = Symbol('use-bento-theme');\n\nexport interface UseBentoTheme {\n getTheme: () => string;\n setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;\n}\n","import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\nimport { getCurrentInstance, inject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport { UseBentoTheme, useBentoThemeKey } from './use-bento-theme.types';\n\n/**\n * Composable that handles theming-related capabilities for the Bento component library.\n * Requires the use of `BentoPlugin`.\n *\n * @example\n * <script setup lang=\"ts\">\n * import { useBentoTheme, BentoTheme } from '@adyen/bento-vue2';\n *\n * const { setTheme } = useBentoTheme();\n *\n * setTheme(BentoTheme.BENTO_DARK)\n * </script>\n *\n * @returns {UseBentoTheme} An object with getter and setter method for the Bento theme.\n * @returns {Function} getTheme - Returns the current theme in the string form of BentoTheme enum.\n * @returns {Function} setTheme - Sets the theme of the Bento component library.\n *\n */\nexport function useBentoTheme(): UseBentoTheme {\n const bentoThemeController = isVue2\n ? getCurrentInstance()?.proxy[useBentoThemeKey]\n : inject(useBentoThemeKey, null);\n\n if (!bentoThemeController) {\n printDevelopmentWarning('useBentoTheme does not work without Vue.use(BentoPlugin)');\n\n // Return placeholder functions so client code won't break, but theme won't toggle\n return {\n getTheme: () => undefined,\n setTheme: () => undefined,\n };\n }\n\n // Return a new object so unintentional reassigning its properties won't override a global state\n return { ...bentoThemeController };\n}\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { createToastStack, toastStackInjectionKey } from './toast-stack';\n\n/**\n * This function is used to create and register global reactive state necessary fro the Toasts to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n if (isVue2) {\n // Add toast stack as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[toastStackInjectionKey] = createToastStack();\n } else {\n (Vue as App).provide(toastStackInjectionKey, createToastStack());\n }\n};\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { useBentoThemeKey } from './use-bento-theme.types';\n\nconst getTheme = () => document.body.className.match(/b-\\w+-theme/)?.[0] ?? '';\nconst getThemeForSystemPreference = () => {\n const preferredDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;\n\n if (preferredDarkMode) {\n return BentoTheme.BENTO_DARK;\n }\n\n return BentoTheme.BENTO_LIGHT;\n};\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n\n /**\n * @deprecated in favor of {@link BENTO_LIGHT}. To be removed in v2.0.0.\n */\n BENTO = '',\n\n BENTO_LIGHT = 'b-light-theme',\n BENTO_DARK = 'b-dark-theme',\n BENTO_SYSTEM = 'b-system',\n}\n\nexport const setTheme = (theme: BentoTheme) => {\n const currentTheme = getTheme();\n const systemTheme = getThemeForSystemPreference();\n const themeToSet = theme === BentoTheme.BENTO_SYSTEM ? systemTheme : theme;\n\n if (themeToSet === BentoTheme.BENTO_LIGHT || themeToSet === BentoTheme.BENTO) {\n document.documentElement.style.colorScheme = 'light';\n } else if (themeToSet === BentoTheme.BENTO_DARK) {\n document.documentElement.style.colorScheme = 'dark';\n }\n\n // if theme is different from current and it is not `BentoTheme.BENTO`\n if (currentTheme.length && currentTheme !== themeToSet) {\n document.body.classList.remove(currentTheme);\n }\n\n // if theme is not `BentoTheme.BENTO`\n if (themeToSet.length) {\n document.body.classList.add(themeToSet);\n }\n};\n\n/**\n * This function is used to create and register global reactive state necessary for theme to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n const themeProvider = {\n getTheme,\n setTheme,\n };\n\n if (isVue2) {\n // Add theme as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[useBentoThemeKey] = themeProvider;\n } else {\n (Vue as App).provide(useBentoThemeKey, themeProvider);\n }\n};\n","import type { PluginObject } from 'vue';\nimport installToast from './composables/use-bento-toast-controller/install';\nimport installTheme, { BentoTheme, setTheme } from './composables/use-bento-theme/install';\nimport { deprecate } from './utils/ts/deprecate';\n\ninterface BentoVuePlugin {\n theme?: BentoTheme;\n withToast?: boolean;\n withUtilityClasses?: boolean;\n withDesignTokensCSSInjection?: boolean;\n}\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n name: 'BentoVue',\n install: async (\n Vue,\n {\n theme = BentoTheme.BENTO_LIGHT,\n withToast = false,\n withUtilityClasses = false,\n withDesignTokensCSSInjection = true,\n }: BentoVuePlugin\n ) => {\n installTheme(Vue);\n\n if (withToast) {\n installToast(Vue);\n }\n if (withDesignTokensCSSInjection) {\n deprecate(\n 'Using default setting withDesignTokensCSSInjection set to true in BentoVue plugin',\n 'Please disable CSS injection by setting withDesignTokensCSSInjection to false in BentoVue plugin options as highlighted here:\\nhttps://adyen-bento.netlify.app/?path=/docs/welcome-getting-started--docs#import-css-variables',\n '2.0.0'\n );\n // Make sure to put all awaited CSS imports below this point and not above!\n if (theme === BentoTheme.LEGACY) {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css');\n } else if (theme === BentoTheme.STYLEGUIDE) {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n }\n\n if (theme === BentoTheme.LEGACY) {\n setTheme(BentoTheme.LEGACY);\n } else if (theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n } else if (theme === BentoTheme.BENTO_SYSTEM) {\n setTheme(BentoTheme.BENTO_SYSTEM);\n } else if (theme === BentoTheme.BENTO_DARK) {\n setTheme(BentoTheme.BENTO_DARK);\n } else if (theme === BentoTheme.BENTO) {\n deprecate('Using `BentoTheme.BENTO`', 'Please use `BentoTheme.BENTO_LIGHT` instead', '2.0.0');\n setTheme(BentoTheme.BENTO_LIGHT);\n } else {\n setTheme(BentoTheme.BENTO_LIGHT);\n }\n },\n};\n\nexport { BentoTheme };\nexport default plugin;\n"],"names":["toTypedSchema","formSchema","getInitialFormValues","schema","z","key","value","normalizeFormPath","issue","useForm","validationSchema","errors","shallowRef","errorBag","ref","values","cleanErrors","resetForm","validSchema","submitted","error","path","useBentoThemeKey","useBentoTheme","bentoThemeController","inject","printDevelopmentWarning","installToast","Vue","toastStackInjectionKey","createToastStack","getTheme","_a","getThemeForSystemPreference","BentoTheme","setTheme","theme","currentTheme","systemTheme","themeToSet","installTheme","themeProvider","plugin","withToast","withUtilityClasses","withDesignTokensCSSInjection","deprecate"],"mappings":"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"}
1
+ {"version":3,"file":"index.js","sources":["../../vue2/src/composables/use-form-validate/use-form.ts","../../vue2/src/composables/use-bento-theme/use-bento-theme.types.ts","../../vue2/src/composables/use-bento-theme/use-bento-theme.ts","../../vue2/src/composables/use-bento-toast-controller/install.ts","../../vue2/src/composables/use-bento-theme/install.ts","../../vue2/src/install.ts"],"sourcesContent":["import { type Ref, ref, shallowRef } from 'vue';\nimport * as z from 'zod';\nimport type { ZodSchema } from 'zod';\nimport { allKeys, ErrorBag, UseForm } from './use-form.types';\n\n/**\n * Composable that tansforms a Zod schema into a Typed Schema that can be used alongside with {@see useForm}.\n *\n * This is meant to simulate the behavior of {@link @vee-validate/zod} {@see https://vee-validate.logaretm.com/v4/integrations/zod-schema-validation}.\n * Function that transform Zod’s schemas into something that can be understood by vee-validate\n *\n * @param {T extends ZodSchema} formSchema Zod schema to be transformed into a `vee-validate` schema\n * @returns {UseForm<T>} schema Schema transformed\n */\nexport function toTypedSchema<T extends ZodSchema>(formSchema: T) {\n return formSchema;\n}\n\n/**\n * Finds and returns the initial values of each of the values defined in the schema so that they\n * can be transformed into a reactive element.\n * @param {ZodSchema} schema Zod validation schema containing the definitions of each value to be used in the form\n * @returns Object with the items defined in the schema and their (default) values\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n * getInitialFormValues(validationSchema)\n *\n * Will return:\n *\n * {\n * name: 'Joe'\n * }\n *\n */\nfunction getInitialFormValues<T extends ZodSchema>(schema: T): z.infer<typeof schema> {\n if (!!z && schema instanceof z.ZodObject) {\n return Object.fromEntries(\n Object.entries(schema.shape).map(([key, value]) => {\n if (!!z && value instanceof z.ZodDefault) {\n // eslint-disable-next-line no-underscore-dangle\n return [key, value._def.defaultValue()];\n }\n\n if (!!z && value instanceof z.ZodObject) {\n return [key, getInitialFormValues(value)];\n }\n\n return [key, undefined];\n })\n ) as z.infer<typeof schema>;\n }\n\n return undefined;\n}\n\n/**\n * Constructs a path with dot paths for arrays to use brackets to be compatible with vee-validate path syntax\n * @param issue List of nested path elements\n * @returns Path with dots\n */\nfunction normalizeFormPath(issue: z.ZodIssue) {\n return issue.path.join('.');\n}\n\n/**\n * Composable that facilitates validating form data for Vue2 & Vue3 implementations with FormLayout\n * to ease the migration to Vue3.\n *\n * For Vue3 implementations use Vee-Validate.\n *\n * This provides a simplified version of Vee-Validate v4 implemented with Zod to validate a form schema.\n * It returns reactive values that can be used directly in form input elements with 'v-model' alongside\n * with functions to \"reset\" the data (sets values to default value) and a function to execute the\n * successful form validation process (through a callback).\n *\n * @param {UseForm<T>} props Form configuration object\n * @param {T extends ZodSchema} props.validationSchema Zod typed validation schema\n * @returns {Object} response - Composable with reactive form values and errors, and functions to handle the reactive data\n * @returns {Ref<ErrorBag<T>>} response.errorBag Object with all the form values and an array of each one of the errors (if any) per value\n * @returns {Ref<T>} response.errors Object with all the form values and the first error found for that field (if any)\n * @returns {Ref<T>} response.values Object with all the form values and their current value\n * @returns {() => void} response.handleReset Resets the form values to default (initial values) when it gets called\n * @returns {(callback: (values: T) => void) => () => void} response.submitForm Validates the data set in {response.values} and sets errors (if found) inside {response.errors} and {response.errorBag}.\n * When the validation is successful it calls the callback so the submit process can continue\n *\n * @example\n * const validationSchema = toTypedSchema(\n * z.object({\n * name: z\n * .string()\n * .min(3, { message: 'Name is required' })\n * .startsWith('Jane')\n * .max(4, { message: 'Name cannot be longer than 4 characters' })\n * .default('Joe'),\n * })\n * );\n *\n * const { values, errors, errorBag, submitForm, handleReset } = useForm({\n * validationSchema\n * });\n * const handleSubmit = submitForm(() => {\n * // Send data to API here\n * })\n *\n */\nexport function useForm<T extends ZodSchema>({\n validationSchema,\n}: UseForm<T>): {\n errorBag: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string[];\n }>;\n errors: Ref<{\n [P in allKeys<(typeof validationSchema)['_type']>]?: string;\n }>;\n values: Ref<(typeof validationSchema)['_type']>;\n handleReset: () => void;\n submitForm: (submitted: any) => () => void;\n} {\n // Errors per field\n const errors = shallowRef<z.infer<typeof validationSchema>>({});\n // All errors per field\n const errorBag: Ref<ErrorBag<z.infer<typeof validationSchema>>> = ref({});\n const values: Ref<z.TypeOf<T>> = ref(getInitialFormValues<T>(validationSchema));\n\n const cleanErrors = () => {\n errors.value = {};\n errorBag.value = {};\n };\n\n const resetForm = () => {\n cleanErrors();\n values.value = getInitialFormValues<T>(validationSchema);\n };\n\n const submitForm = submitted => () => {\n cleanErrors();\n\n // Run validations on the form data through the schema\n const validSchema = validationSchema.safeParse(values.value);\n\n // Update errors\n if (!validSchema.success) {\n (validSchema as z.SafeParseError<T>).error.issues.forEach(error => {\n const path = normalizeFormPath(error);\n\n // Add the first ocurrance of a fild error to the \"errors\" object\n if (!errors.value[path]) {\n errors.value[path] = error.message;\n }\n\n // Add each error to the \"errorBag\" per field array\n if (!errorBag.value[path]) {\n errorBag.value[path] = [error.message];\n } else {\n errorBag.value[path].push(error.message);\n }\n });\n } else {\n submitted(values.value);\n }\n };\n\n return {\n // Values\n errorBag,\n errors,\n values,\n\n // Methods\n handleReset: () => resetForm(),\n submitForm,\n };\n}\n","import { BentoTheme } from './install';\n\nexport const useBentoThemeKey = Symbol('use-bento-theme');\n\nexport interface UseBentoTheme {\n getTheme: () => string;\n setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;\n}\n","import { printDevelopmentWarning } from '@/utils/ts/print-development-warning';\nimport { getCurrentInstance, inject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport { UseBentoTheme, useBentoThemeKey } from './use-bento-theme.types';\n\n/**\n * Composable that handles theming-related capabilities for the Bento component library.\n * Requires the use of `BentoPlugin`.\n *\n * @example\n * <script setup lang=\"ts\">\n * import { useBentoTheme, BentoTheme } from '@adyen/bento-vue2';\n *\n * const { setTheme } = useBentoTheme();\n *\n * setTheme(BentoTheme.BENTO_DARK)\n * </script>\n *\n * @returns {UseBentoTheme} An object with getter and setter method for the Bento theme.\n * @returns {Function} getTheme - Returns the current theme in the string form of BentoTheme enum.\n * @returns {Function} setTheme - Sets the theme of the Bento component library.\n *\n */\nexport function useBentoTheme(): UseBentoTheme {\n const bentoThemeController = isVue2\n ? getCurrentInstance()?.proxy[useBentoThemeKey]\n : inject(useBentoThemeKey, null);\n\n if (!bentoThemeController) {\n printDevelopmentWarning('useBentoTheme does not work without Vue.use(BentoPlugin)');\n\n // Return placeholder functions so client code won't break, but theme won't toggle\n return {\n getTheme: () => undefined,\n setTheme: () => undefined,\n };\n }\n\n // Return a new object so unintentional reassigning its properties won't override a global state\n return { ...bentoThemeController };\n}\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { createToastStack, toastStackInjectionKey } from './toast-stack';\n\n/**\n * This function is used to create and register global reactive state necessary fro the Toasts to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n if (isVue2) {\n // Add toast stack as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[toastStackInjectionKey] = createToastStack();\n } else {\n (Vue as App).provide(toastStackInjectionKey, createToastStack());\n }\n};\n","import { type App, isVue2, type Vue2 } from 'vue-demi';\nimport { useBentoThemeKey } from './use-bento-theme.types';\n\nconst getTheme = () => document.body.className.match(/b-\\w+-theme/)?.[0] ?? '';\nconst getThemeForSystemPreference = () => {\n const preferredDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;\n\n if (preferredDarkMode) {\n return BentoTheme.BENTO_DARK;\n }\n\n return BentoTheme.BENTO_LIGHT;\n};\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n\n /**\n * @deprecated in favor of {@link BENTO_LIGHT}. To be removed in v2.0.0.\n */\n BENTO = '',\n\n BENTO_LIGHT = 'b-light-theme',\n BENTO_DARK = 'b-dark-theme',\n BENTO_SYSTEM = 'b-system',\n}\n\nexport const setTheme = (theme: BentoTheme) => {\n const currentTheme = getTheme();\n const systemTheme = getThemeForSystemPreference();\n const themeToSet = theme === BentoTheme.BENTO_SYSTEM ? systemTheme : theme;\n\n if (themeToSet === BentoTheme.BENTO_LIGHT || themeToSet === BentoTheme.BENTO) {\n document.documentElement.style.colorScheme = 'light';\n } else if (themeToSet === BentoTheme.BENTO_DARK) {\n document.documentElement.style.colorScheme = 'dark';\n }\n\n // if theme is different from current and it is not `BentoTheme.BENTO`\n if (currentTheme.length && currentTheme !== themeToSet) {\n document.body.classList.remove(currentTheme);\n }\n\n // if theme is not `BentoTheme.BENTO`\n if (themeToSet.length) {\n document.body.classList.add(themeToSet);\n }\n};\n\n/**\n * This function is used to create and register global reactive state necessary for theme to operate.\n * @param {Vue} Vue A context application to register global state with.\n */\nexport default Vue => {\n const themeProvider = {\n getTheme,\n setTheme,\n };\n\n if (isVue2) {\n // Add theme as a global property as there is no \"app.provide\" functionality in Vue2\n // eslint-disable-next-line no-param-reassign -- this is an official way of setting up instance properties on Vue\n (Vue as typeof Vue2).prototype[useBentoThemeKey] = themeProvider;\n } else {\n (Vue as App).provide(useBentoThemeKey, themeProvider);\n }\n};\n","import type { PluginObject } from 'vue';\nimport installToast from './composables/use-bento-toast-controller/install';\nimport installTheme, { BentoTheme, setTheme } from './composables/use-bento-theme/install';\nimport { deprecate } from './utils/ts/deprecate';\n\ninterface BentoVuePlugin {\n theme?: BentoTheme;\n withToast?: boolean;\n withUtilityClasses?: boolean;\n withDesignTokensCSSInjection?: boolean;\n}\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n name: 'BentoVue',\n install: async (\n Vue,\n {\n theme = BentoTheme.BENTO_LIGHT,\n withToast = false,\n withUtilityClasses = false,\n withDesignTokensCSSInjection = true,\n }: BentoVuePlugin\n ) => {\n installTheme(Vue);\n\n if (withToast) {\n installToast(Vue);\n }\n if (withDesignTokensCSSInjection) {\n deprecate(\n 'Using default setting withDesignTokensCSSInjection set to true in BentoVue plugin',\n 'Please disable CSS injection by setting withDesignTokensCSSInjection to false in BentoVue plugin options as highlighted here:\\nhttps://adyen-bento.netlify.app/?path=/docs/welcome-getting-started--docs#import-css-variables',\n '2.0.0'\n );\n // Make sure to put all awaited CSS imports below this point and not above!\n if (theme === BentoTheme.LEGACY) {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css');\n } else if (theme === BentoTheme.STYLEGUIDE) {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n }\n\n if (theme === BentoTheme.LEGACY) {\n setTheme(BentoTheme.LEGACY);\n } else if (theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n } else if (theme === BentoTheme.BENTO_SYSTEM) {\n setTheme(BentoTheme.BENTO_SYSTEM);\n } else if (theme === BentoTheme.BENTO_DARK) {\n setTheme(BentoTheme.BENTO_DARK);\n } else if (theme === BentoTheme.BENTO) {\n deprecate('Using `BentoTheme.BENTO`', 'Please use `BentoTheme.BENTO_LIGHT` instead', '2.0.0');\n setTheme(BentoTheme.BENTO_LIGHT);\n } else {\n setTheme(BentoTheme.BENTO_LIGHT);\n }\n },\n};\n\nexport { BentoTheme };\nexport default plugin;\n"],"names":["toTypedSchema","formSchema","getInitialFormValues","schema","z","key","value","normalizeFormPath","issue","useForm","validationSchema","errors","shallowRef","errorBag","ref","values","cleanErrors","resetForm","validSchema","submitted","error","path","useBentoThemeKey","useBentoTheme","bentoThemeController","inject","printDevelopmentWarning","installToast","Vue","toastStackInjectionKey","createToastStack","getTheme","_a","getThemeForSystemPreference","BentoTheme","setTheme","theme","currentTheme","systemTheme","themeToSet","installTheme","themeProvider","plugin","withToast","withUtilityClasses","withDesignTokensCSSInjection","deprecate"],"mappings":"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"}
package/dist/info-icon.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as e } from "./chunks/info-icon.BCSBCH-5.js";
1
+ import { B as e } from "./chunks/info-icon.B6QPdxPi.js";
2
2
  export {
3
3
  e as BentoInfoIcon
4
4
  };
@@ -1,4 +1,4 @@
1
- import { i as a, m as s, r as i, b as c, c as u, a as o } from "./chunks/input-field-password.DedPkZxg.js";
1
+ import { i as a, m as s, r as i, b as c, c as u, a as o } from "./chunks/input-field-password.LVaJy8_K.js";
2
2
  export {
3
3
  a as BentoInputFieldPassword,
4
4
  s as minLength,
@@ -1,4 +1,4 @@
1
- import { B as n, b as a, e as o, c as i, d as s, a as l } from "./chunks/input-field.3PUv6XC3.js";
1
+ import { B as n, b as a, e as o, c as i, d as s, a as l } from "./chunks/input-field.BVewQng_.js";
2
2
  export {
3
3
  n as BentoInputField,
4
4
  a as BentoInputFieldElementPosition,
package/dist/inspector.js CHANGED
@@ -1,4 +1,4 @@
1
- import { i as t, B as n } from "./chunks/inspector.types.Dr0D250X.js";
1
+ import { i as t, B as n } from "./chunks/inspector.types.DKL2_Mku.js";
2
2
  export {
3
3
  t as BentoInspector,
4
4
  n as BentoInspectorSizeOptions
package/dist/internal.js CHANGED
@@ -1,17 +1,17 @@
1
- import { a as e, b as r, C as t } from "./chunks/calendar.1qqtC8ba.js";
2
- import { C as p, a as i } from "./chunks/copy.DAMq-zRP.js";
3
- import { C as f } from "./chunks/controls-group.BHxcGQ2A.js";
4
- import { B as x, b as C, a as I, D as m } from "./chunks/dialog-page.CJBSluwk.js";
5
- import { E as T, F as _ } from "./chunks/error-message.BVE3JdTq.js";
6
- import { F as G } from "./chunks/fixed-scroller.XaGPUsUO.js";
7
- import { G as u, a as d } from "./chunks/grid-layout.BTLE3rac.js";
8
- import { I as L } from "./chunks/info-icon-with-popover.DFv8U4sh.js";
9
- import { b, c, u as g } from "./chunks/use-cached-selected-values.BBD_AA1m.js";
10
- import { L as D } from "./chunks/listbox-option-tag.zYn_kSFz.js";
11
- import { B as P } from "./chunks/teleport.B1NhF5-O.js";
12
- import { T as M } from "./chunks/tooltip.2MOlGHD9.js";
13
- import { B as h } from "./chunks/button-actions-with-menu.BUyecZNi.js";
14
- import { f as J } from "./chunks/button-actions.CShVMUOC.js";
1
+ import { a as e, b as r, C as t } from "./chunks/calendar.DlvMzTO4.js";
2
+ import { C as p, a as i } from "./chunks/copy.CT8wuwho.js";
3
+ import { C as f } from "./chunks/controls-group.J99mAGhx.js";
4
+ import { B as x, b as C, a as I, D as m } from "./chunks/dialog-page.DNwtSB1o.js";
5
+ import { E as T, F as _ } from "./chunks/error-message.C6QpZ9ux.js";
6
+ import { F as G } from "./chunks/fixed-scroller.C4zzWgje.js";
7
+ import { G as u, a as d } from "./chunks/grid-layout.CqLbbEzI.js";
8
+ import { I as L } from "./chunks/info-icon-with-popover._ZiXaIcp.js";
9
+ import { b, c, u as g } from "./chunks/use-cached-selected-values.CvdhdRHz.js";
10
+ import { L as D } from "./chunks/listbox-option-tag.DsI3DdjJ.js";
11
+ import { B as P } from "./chunks/teleport.B255JhsV.js";
12
+ import { T as M } from "./chunks/tooltip.Ch4_ew27.js";
13
+ import { B as h } from "./chunks/button-actions-with-menu.DzQQlXXK.js";
14
+ import { f as J } from "./chunks/button-actions.C8CJcXxS.js";
15
15
  export {
16
16
  J as BUTTON_ACTIONS_WITH_MENU_CONTAINER_INJECTION_KEY,
17
17
  x as BentoDialogPageAnimation,
package/dist/layout.js CHANGED
@@ -1,4 +1,4 @@
1
- import { l as t, a as e } from "./chunks/layout-row.9G7yVMVt.js";
1
+ import { l as t, a as e } from "./chunks/layout-row.CwYDJeG_.js";
2
2
  export {
3
3
  t as BentoLayout,
4
4
  e as BentoLayoutRow
package/dist/link.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as o, a as t } from "./chunks/link.ClFi8uSm.js";
1
+ import { B as o, a as t } from "./chunks/link.DHXLGTkn.js";
2
2
  export {
3
3
  o as BentoLink,
4
4
  t as BentoLinkVariant
@@ -1,4 +1,4 @@
1
- import { B as n, a as t } from "./chunks/loading-indicator.DEepb9Wl.js";
1
+ import { B as n, a as t } from "./chunks/loading-indicator.N_WV9Gwz.js";
2
2
  export {
3
3
  n as BentoLoadingIndicator,
4
4
  t as BentoLoadingIndicatorEvent
package/dist/menu.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as o, a as t } from "./chunks/menu.Dmzh3Uat.js";
1
+ import { B as o, a as t } from "./chunks/menu.C5Y5nSvX.js";
2
2
  export {
3
3
  o as BentoMenu,
4
4
  t as BentoMenuEvent