@adyen/bento-vue3 1.35.0 → 1.36.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 (343) hide show
  1. package/dist/@types/packages/core/src/components/tag/tag.types.d.ts +14 -0
  2. package/dist/@types/packages/core/src/components/tooltip/tooltip.types.d.ts +11 -0
  3. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +20 -184
  4. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +24 -188
  5. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -0
  6. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.types.d.ts +1 -0
  7. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +1 -1
  8. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +1 -1
  9. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +32 -360
  10. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +1 -1
  11. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +1 -1
  12. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +15 -179
  13. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +15 -179
  14. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +32 -360
  15. package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +1 -1
  16. package/dist/@types/packages/vue2/src/components/internal/checkbox-input/index.d.ts +2 -2
  17. package/dist/@types/packages/vue2/src/components/internal/index.d.ts +1 -0
  18. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +20 -184
  19. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +40 -368
  20. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +60 -552
  21. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +15 -179
  22. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +72 -564
  23. package/dist/@types/packages/vue2/src/components/internal/tooltip/index.d.ts +1 -0
  24. package/dist/@types/packages/vue2/src/components/{tooltip → internal/tooltip}/tooltip.vue.d.ts +67 -67
  25. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +1 -1
  26. package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +2 -2
  27. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +15 -179
  28. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +15 -179
  29. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +15 -179
  30. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +15 -179
  31. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +15 -179
  32. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +15 -179
  33. package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +1 -0
  34. package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +15 -0
  35. package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -0
  36. package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +26 -219
  37. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +17 -181
  38. package/dist/@types/packages/vue2/src/directives/tooltip/index.d.ts +1 -1
  39. package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.types.d.ts +0 -11
  40. package/dist/accordion.js +1 -1
  41. package/dist/action-bar.js +1 -1
  42. package/dist/alert.js +1 -1
  43. package/dist/assets/accordion-item.css +1 -1
  44. package/dist/assets/action-bar.css +1 -1
  45. package/dist/assets/alert.css +1 -1
  46. package/dist/assets/base-modal.css +1 -1
  47. package/dist/assets/button.css +1 -1
  48. package/dist/assets/card.css +1 -1
  49. package/dist/assets/checkbox-input.css +1 -1
  50. package/dist/assets/copy.css +1 -1
  51. package/dist/assets/dashboard-section.css +1 -1
  52. package/dist/assets/data-grid.css +1 -1
  53. package/dist/assets/dialog-page.css +1 -1
  54. package/dist/assets/dropdown.css +1 -1
  55. package/dist/assets/empty-state.css +1 -1
  56. package/dist/assets/error-message.css +1 -1
  57. package/dist/assets/filter-bar.css +1 -1
  58. package/dist/assets/info-icon.css +1 -1
  59. package/dist/assets/inspector.css +1 -1
  60. package/dist/assets/menu.css +1 -1
  61. package/dist/assets/modal-fullscreen.css +1 -1
  62. package/dist/assets/pagination.css +1 -1
  63. package/dist/assets/popover.css +1 -1
  64. package/dist/assets/popper-container.css +1 -1
  65. package/dist/assets/radio-input.css +1 -1
  66. package/dist/assets/sidepanel.css +1 -1
  67. package/dist/assets/step.css +1 -1
  68. package/dist/assets/tabs.css +1 -1
  69. package/dist/assets/tag.css +1 -1
  70. package/dist/assets/timeline-item.css +1 -1
  71. package/dist/assets/tooltip.css +1 -1
  72. package/dist/assets/tutorial.css +1 -1
  73. package/dist/assets/typography.css +1 -1
  74. package/dist/assets/use-cached-selected-values.css +1 -1
  75. package/dist/avatar.js +1 -1
  76. package/dist/button.js +4 -4
  77. package/dist/card.js +1 -1
  78. package/dist/checkbox.js +3 -3
  79. package/dist/chunks/{accordion-item.4Cnn47v_.js → accordion-item.COc5nXh4.js} +3 -3
  80. package/dist/chunks/{accordion-item.4Cnn47v_.js.map → accordion-item.COc5nXh4.js.map} +1 -1
  81. package/dist/chunks/{action-bar.BYMas_1s.js → action-bar.CMuu-R_8.js} +7 -7
  82. package/dist/chunks/{action-bar.BYMas_1s.js.map → action-bar.CMuu-R_8.js.map} +1 -1
  83. package/dist/chunks/{alert.B_GZON9f.js → alert.DZFWFceT.js} +9 -10
  84. package/dist/chunks/alert.DZFWFceT.js.map +1 -0
  85. package/dist/chunks/{avatar.8erKxh8t.js → avatar.7gix8dxp.js} +2 -2
  86. package/dist/chunks/{avatar.8erKxh8t.js.map → avatar.7gix8dxp.js.map} +1 -1
  87. package/dist/chunks/{base-button.BxUrydaP.js → base-button.cDr-F6j_.js} +2 -2
  88. package/dist/chunks/{base-button.BxUrydaP.js.map → base-button.cDr-F6j_.js.map} +1 -1
  89. package/dist/chunks/{base-modal.BbiSFAn1.js → base-modal.DS7zI1O2.js} +6 -6
  90. package/dist/chunks/{base-modal.BbiSFAn1.js.map → base-modal.DS7zI1O2.js.map} +1 -1
  91. package/dist/chunks/{button-actions-with-menu.0ypQxYbM.js → button-actions-with-menu.B9E4lUQV.js} +4 -4
  92. package/dist/chunks/{button-actions-with-menu.0ypQxYbM.js.map → button-actions-with-menu.B9E4lUQV.js.map} +1 -1
  93. package/dist/chunks/{button-actions.DcvU9vMt.js → button-actions.DOvd7VLB.js} +3 -3
  94. package/dist/chunks/{button-actions.DcvU9vMt.js.map → button-actions.DOvd7VLB.js.map} +1 -1
  95. package/dist/chunks/{button.Br6CyG40.js → button.DInQYAND.js} +3 -3
  96. package/dist/chunks/{button.Br6CyG40.js.map → button.DInQYAND.js.map} +1 -1
  97. package/dist/chunks/{calendar.BPatBsD5.js → calendar.BHy-Sfgc.js} +9 -8
  98. package/dist/chunks/{calendar.BPatBsD5.js.map → calendar.BHy-Sfgc.js.map} +1 -1
  99. package/dist/chunks/{card.B7AyQI7f.js → card.Bh7vfIw8.js} +4 -4
  100. package/dist/chunks/{card.B7AyQI7f.js.map → card.Bh7vfIw8.js.map} +1 -1
  101. package/dist/chunks/{checkbox-group.BJM2i93S.js → checkbox-group.COoDP0ua.js} +5 -5
  102. package/dist/chunks/{checkbox-group.BJM2i93S.js.map → checkbox-group.COoDP0ua.js.map} +1 -1
  103. package/dist/chunks/{checkbox-input.YgPBRaZP.js → checkbox-input.B24-74ay.js} +28 -27
  104. package/dist/chunks/checkbox-input.B24-74ay.js.map +1 -0
  105. package/dist/chunks/{checkbox.BnYx06nC.js → checkbox.Dkxm-fWK.js} +5 -5
  106. package/dist/chunks/{checkbox.BnYx06nC.js.map → checkbox.Dkxm-fWK.js.map} +1 -1
  107. package/dist/chunks/{checkmark-circle-fill.Bgdq29pu.js → checkmark-circle-fill.ChV7Jy6r.js} +4 -4
  108. package/dist/chunks/checkmark-circle-fill.ChV7Jy6r.js.map +1 -0
  109. package/dist/chunks/{checkmark-small.4DMun1A_.js → checkmark-small.DEc2T64_.js} +4 -4
  110. package/dist/chunks/checkmark-small.DEc2T64_.js.map +1 -0
  111. package/dist/chunks/{chevron-left.ChbQxOxi.js → chevron-left.NvV5m76j.js} +6 -6
  112. package/dist/chunks/chevron-left.NvV5m76j.js.map +1 -0
  113. package/dist/chunks/{chevron-up.zKonWHVc.js → chevron-up.DQZG_BP3.js} +6 -6
  114. package/dist/chunks/chevron-up.DQZG_BP3.js.map +1 -0
  115. package/dist/chunks/{code-snippet.1duYqiRx.js → code-snippet.BWbbS2ye.js} +11 -10
  116. package/dist/chunks/{code-snippet.1duYqiRx.js.map → code-snippet.BWbbS2ye.js.map} +1 -1
  117. package/dist/chunks/{controls-group.DmroeX6Q.js → controls-group.D4XrqgW3.js} +3 -3
  118. package/dist/chunks/{controls-group.DmroeX6Q.js.map → controls-group.D4XrqgW3.js.map} +1 -1
  119. package/dist/chunks/{copy.5y12_05v.js → copy.BvQ6igYf.js} +11 -11
  120. package/dist/chunks/copy.BvQ6igYf.js.map +1 -0
  121. package/dist/chunks/{country.CVI-oSer.js → country.Dk5xsUic.js} +2 -2
  122. package/dist/chunks/{country.CVI-oSer.js.map → country.Dk5xsUic.js.map} +1 -1
  123. package/dist/chunks/{cross-circle-fill-small.2_Xjp4id.js → cross-circle-fill-small.BXO78Wde.js} +4 -4
  124. package/dist/chunks/cross-circle-fill-small.BXO78Wde.js.map +1 -0
  125. package/dist/chunks/{cross-circle-fill.CEUPgI5F.js → cross-circle-fill.DN5b3_eL.js} +4 -4
  126. package/dist/chunks/cross-circle-fill.DN5b3_eL.js.map +1 -0
  127. package/dist/chunks/{cross-small.DvCEQd10.js → cross-small.CXWTuKA_.js} +4 -4
  128. package/dist/chunks/cross-small.CXWTuKA_.js.map +1 -0
  129. package/dist/chunks/{cross.CowwLfo4.js → cross.OvPfvoqX.js} +4 -4
  130. package/dist/chunks/cross.OvPfvoqX.js.map +1 -0
  131. package/dist/chunks/{currency.BdtY-UIM.js → currency.CFIi9B9m.js} +2 -2
  132. package/dist/chunks/{currency.BdtY-UIM.js.map → currency.CFIi9B9m.js.map} +1 -1
  133. package/dist/chunks/{dashboard-section.BDkYN89r.js → dashboard-section.BlsQTA_5.js} +3 -3
  134. package/dist/chunks/{dashboard-section.BDkYN89r.js.map → dashboard-section.BlsQTA_5.js.map} +1 -1
  135. package/dist/chunks/{dashed-underline.CMKbg0Fq.js → dashed-underline.C3AuURaR.js} +23 -22
  136. package/dist/chunks/{dashed-underline.CMKbg0Fq.js.map → dashed-underline.C3AuURaR.js.map} +1 -1
  137. package/dist/chunks/{data-grid-template.CydHXTmg.js → data-grid-template.rvLUWZnh.js} +3 -3
  138. package/dist/chunks/{data-grid-template.CydHXTmg.js.map → data-grid-template.rvLUWZnh.js.map} +1 -1
  139. package/dist/chunks/{data-grid.CcGMljDl.js → data-grid.DWCGBlAE.js} +754 -753
  140. package/dist/chunks/data-grid.DWCGBlAE.js.map +1 -0
  141. package/dist/chunks/{date-picker.BsXcXOgl.js → date-picker.BJmupHBt.js} +10 -9
  142. package/dist/chunks/{date-picker.BsXcXOgl.js.map → date-picker.BJmupHBt.js.map} +1 -1
  143. package/dist/chunks/{date-range-picker.BFm6Udzx.js → date-range-picker.D5z8fqcu.js} +13 -12
  144. package/dist/chunks/{date-range-picker.BFm6Udzx.js.map → date-range-picker.D5z8fqcu.js.map} +1 -1
  145. package/dist/chunks/{date.CYUV4seY.js → date.BkeczstG.js} +2 -2
  146. package/dist/chunks/{date.CYUV4seY.js.map → date.BkeczstG.js.map} +1 -1
  147. package/dist/chunks/{dialog-page.CjKMgUlz.js → dialog-page.4ArdFk2U.js} +4 -5
  148. package/dist/chunks/dialog-page.4ArdFk2U.js.map +1 -0
  149. package/dist/chunks/{dropdown-default-textbox.BopLaEkG.js → dropdown-default-textbox.CeVq45Qy.js} +6 -6
  150. package/dist/chunks/{dropdown-default-textbox.BopLaEkG.js.map → dropdown-default-textbox.CeVq45Qy.js.map} +1 -1
  151. package/dist/chunks/{dropdown-tag.x3n5-YkA.js → dropdown-tag.BOJ9WsnN.js} +6 -6
  152. package/dist/chunks/{dropdown-tag.x3n5-YkA.js.map → dropdown-tag.BOJ9WsnN.js.map} +1 -1
  153. package/dist/chunks/{dropdown.BxvydNp0.js → dropdown.CPlvW43f.js} +16 -16
  154. package/dist/chunks/dropdown.CPlvW43f.js.map +1 -0
  155. package/dist/chunks/{empty-state.CyEWCcDk.js → empty-state.BmZVT8wF.js} +3 -3
  156. package/dist/chunks/{empty-state.CyEWCcDk.js.map → empty-state.BmZVT8wF.js.map} +1 -1
  157. package/dist/chunks/{error-message.CUZgtlDT.js → error-message.SLfGzDVf.js} +4 -4
  158. package/dist/chunks/{error-message.CUZgtlDT.js.map → error-message.SLfGzDVf.js.map} +1 -1
  159. package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
  160. package/dist/chunks/events.FNmSWp_P.js +52 -0
  161. package/dist/chunks/events.FNmSWp_P.js.map +1 -0
  162. package/dist/chunks/{expand.B5tyMqaF.js → expand.CgwNEbbz.js} +4 -4
  163. package/dist/chunks/expand.CgwNEbbz.js.map +1 -0
  164. package/dist/chunks/{filter-bar.re1Tqyai.js → filter-bar.uZ7n8y_i.js} +27 -28
  165. package/dist/chunks/{filter-bar.re1Tqyai.js.map → filter-bar.uZ7n8y_i.js.map} +1 -1
  166. package/dist/chunks/{fixed-scroller.Co0y0kWZ.js → fixed-scroller.BYosMLGj.js} +3 -3
  167. package/dist/chunks/{fixed-scroller.Co0y0kWZ.js.map → fixed-scroller.BYosMLGj.js.map} +1 -1
  168. package/dist/chunks/{footer-actions.M83ZEElA.js → footer-actions.DrDUKwOY.js} +4 -4
  169. package/dist/chunks/{footer-actions.M83ZEElA.js.map → footer-actions.DrDUKwOY.js.map} +1 -1
  170. package/dist/chunks/{form-layout-title.ATi1W9uG.js → form-layout-title.bE1xo1hK.js} +3 -3
  171. package/dist/chunks/{form-layout-title.ATi1W9uG.js.map → form-layout-title.bE1xo1hK.js.map} +1 -1
  172. package/dist/chunks/{header.CrNceSOd.js → header.HQY-nc6l.js} +7 -7
  173. package/dist/chunks/{header.CrNceSOd.js.map → header.HQY-nc6l.js.map} +1 -1
  174. package/dist/chunks/{info-icon.CBiqUH3L.js → info-icon.tGhr3-Zh.js} +12 -12
  175. package/dist/chunks/info-icon.tGhr3-Zh.js.map +1 -0
  176. package/dist/chunks/{info.D6XuLsYR.js → info.CIFBUqf-.js} +4 -4
  177. package/dist/chunks/{info.D6XuLsYR.js.map → info.CIFBUqf-.js.map} +1 -1
  178. package/dist/chunks/{input-field.foJTqE5i.js → input-field.D8Pt05M3.js} +4 -4
  179. package/dist/chunks/{input-field.foJTqE5i.js.map → input-field.D8Pt05M3.js.map} +1 -1
  180. package/dist/chunks/{inspector.types.X_7VgZmS.js → inspector.types.eWf-6uBc.js} +5 -5
  181. package/dist/chunks/{inspector.types.X_7VgZmS.js.map → inspector.types.eWf-6uBc.js.map} +1 -1
  182. package/dist/chunks/{keyboard-navigation.Clz1jOaA.js → keyboard-navigation.C3QMVRKY.js} +2 -2
  183. package/dist/chunks/{keyboard-navigation.Clz1jOaA.js.map → keyboard-navigation.C3QMVRKY.js.map} +1 -1
  184. package/dist/chunks/{link.2YS7haGc.js → link.CbotJFzC.js} +2 -2
  185. package/dist/chunks/link.CbotJFzC.js.map +1 -0
  186. package/dist/chunks/{listbox-option-tag.QqDEHMKB.js → listbox-option-tag.C8w0-82a.js} +3 -3
  187. package/dist/chunks/{listbox-option-tag.QqDEHMKB.js.map → listbox-option-tag.C8w0-82a.js.map} +1 -1
  188. package/dist/chunks/{loading-button.BU536EK4.js → loading-button.BzCt6ZT0.js} +4 -4
  189. package/dist/chunks/{loading-button.BU536EK4.js.map → loading-button.BzCt6ZT0.js.map} +1 -1
  190. package/dist/chunks/{menu.CI4R2iw1.js → menu.bwVdUNQc.js} +8 -9
  191. package/dist/chunks/menu.bwVdUNQc.js.map +1 -0
  192. package/dist/chunks/{modal-fullscreen.B4sPrlfq.js → modal-fullscreen.Bn25snRZ.js} +6 -6
  193. package/dist/chunks/{modal-fullscreen.B4sPrlfq.js.map → modal-fullscreen.Bn25snRZ.js.map} +1 -1
  194. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js → modal.vue_vue_type_script_setup_true_lang.BZ-e4djX.js} +6 -6
  195. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js.map → modal.vue_vue_type_script_setup_true_lang.BZ-e4djX.js.map} +1 -1
  196. package/dist/chunks/{pagination.-1ibfp5g.js → pagination.Cg6ycXwO.js} +6 -7
  197. package/dist/chunks/pagination.Cg6ycXwO.js.map +1 -0
  198. package/dist/chunks/{payment-method.-3VYG5ud.js → payment-method.Dqby2asg.js} +2 -2
  199. package/dist/chunks/{payment-method.-3VYG5ud.js.map → payment-method.Dqby2asg.js.map} +1 -1
  200. package/dist/chunks/{popover.BN52L17t.js → popover.C7aNk7Ct.js} +9 -8
  201. package/dist/chunks/{popover.BN52L17t.js.map → popover.C7aNk7Ct.js.map} +1 -1
  202. package/dist/chunks/{popper-container.DFpaesDm.js → popper-container.Cyf6zCPq.js} +361 -365
  203. package/dist/chunks/popper-container.Cyf6zCPq.js.map +1 -0
  204. package/dist/chunks/popper-container.types.BCZMbVFD.js +9 -0
  205. package/dist/chunks/popper-container.types.BCZMbVFD.js.map +1 -0
  206. package/dist/chunks/{radio-group.RLUDLHPT.js → radio-group.D0khdiFK.js} +5 -5
  207. package/dist/chunks/{radio-group.RLUDLHPT.js.map → radio-group.D0khdiFK.js.map} +1 -1
  208. package/dist/chunks/{refresh.DPE_95xY.js → refresh.DvQeGwUF.js} +4 -4
  209. package/dist/chunks/refresh.DvQeGwUF.js.map +1 -0
  210. package/dist/chunks/{search-bar.CCWTGvJ6.js → search-bar.BaqIavRd.js} +4 -4
  211. package/dist/chunks/{search-bar.CCWTGvJ6.js.map → search-bar.BaqIavRd.js.map} +1 -1
  212. package/dist/chunks/{search.DJr0124y.js → search.EnLryD8V.js} +4 -4
  213. package/dist/chunks/{search.DJr0124y.js.map → search.EnLryD8V.js.map} +1 -1
  214. package/dist/chunks/{secondary-nav.D81GEGuc.js → secondary-nav.eioY-Ac9.js} +3 -3
  215. package/dist/chunks/{secondary-nav.D81GEGuc.js.map → secondary-nav.eioY-Ac9.js.map} +1 -1
  216. package/dist/chunks/{segmented-control.DbR5NYWR.js → segmented-control.CyyCTejh.js} +6 -5
  217. package/dist/chunks/{segmented-control.DbR5NYWR.js.map → segmented-control.CyyCTejh.js.map} +1 -1
  218. package/dist/chunks/{selection-card-group.3OexUu8G.js → selection-card-group.CJwWtHTD.js} +5 -5
  219. package/dist/chunks/{selection-card-group.3OexUu8G.js.map → selection-card-group.CJwWtHTD.js.map} +1 -1
  220. package/dist/chunks/{sidepanel.iEewXNIJ.js → sidepanel.BGS2yzn-.js} +6 -6
  221. package/dist/chunks/{sidepanel.iEewXNIJ.js.map → sidepanel.BGS2yzn-.js.map} +1 -1
  222. package/dist/chunks/{status.types.r9TfZmvE.js → status.types.DKEdSwK-.js} +2 -2
  223. package/dist/chunks/{status.types.r9TfZmvE.js.map → status.types.DKEdSwK-.js.map} +1 -1
  224. package/dist/chunks/{step.CyvTQbAk.js → step.DQtYDLoP.js} +6 -6
  225. package/dist/chunks/step.DQtYDLoP.js.map +1 -0
  226. package/dist/chunks/{structured-list-item.DZvCfZuG.js → structured-list-item.Brk3yBPy.js} +12 -11
  227. package/dist/chunks/{structured-list-item.DZvCfZuG.js.map → structured-list-item.Brk3yBPy.js.map} +1 -1
  228. package/dist/chunks/{summary-grid-item-custom.BRXtpB7y.js → summary-grid-item-custom.DnGuM9Cg.js} +5 -5
  229. package/dist/chunks/{summary-grid-item-custom.BRXtpB7y.js.map → summary-grid-item-custom.DnGuM9Cg.js.map} +1 -1
  230. package/dist/chunks/tabs.DDfHxVuD.js +211 -0
  231. package/dist/chunks/tabs.DDfHxVuD.js.map +1 -0
  232. package/dist/chunks/tag.DuIxjlwJ.js +51 -0
  233. package/dist/chunks/tag.DuIxjlwJ.js.map +1 -0
  234. package/dist/chunks/{textarea.Bk8-ivBT.js → textarea.CV2qkkZR.js} +5 -5
  235. package/dist/chunks/{textarea.Bk8-ivBT.js.map → textarea.CV2qkkZR.js.map} +1 -1
  236. package/dist/chunks/{timeline-item.USmzRWfs.js → timeline-item.Dqpw7bkB.js} +13 -14
  237. package/dist/chunks/timeline-item.Dqpw7bkB.js.map +1 -0
  238. package/dist/chunks/{toast.BwPhzM1x.js → toast.PtFHVFT1.js} +5 -5
  239. package/dist/chunks/{toast.BwPhzM1x.js.map → toast.PtFHVFT1.js.map} +1 -1
  240. package/dist/chunks/{toggle-button.CBRd1v6x.js → toggle-button.YSRdRLSS.js} +2 -2
  241. package/dist/chunks/{toggle-button.CBRd1v6x.js.map → toggle-button.YSRdRLSS.js.map} +1 -1
  242. package/dist/chunks/{toggle.PLkyyLr1.js → toggle.Bsu11Lof.js} +3 -3
  243. package/dist/chunks/{toggle.PLkyyLr1.js.map → toggle.Bsu11Lof.js.map} +1 -1
  244. package/dist/chunks/{tooltip.DvsfWV0-.js → tooltip.CSa9ntbr.js} +49 -50
  245. package/dist/chunks/tooltip.CSa9ntbr.js.map +1 -0
  246. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js → tutorial.vue_vue_type_script_setup_true_lang.Cx4a7RcE.js} +8 -8
  247. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.Cx4a7RcE.js.map +1 -0
  248. package/dist/chunks/{typography.z9P0Ec3Q.js → typography.CE5PgxFf.js} +4 -4
  249. package/dist/chunks/{typography.z9P0Ec3Q.js.map → typography.CE5PgxFf.js.map} +1 -1
  250. package/dist/chunks/{use-bento-toast-controller.BDYlxAYq.js → use-bento-toast-controller.6iG-fzM1.js} +2 -2
  251. package/dist/chunks/{use-bento-toast-controller.BDYlxAYq.js.map → use-bento-toast-controller.6iG-fzM1.js.map} +1 -1
  252. package/dist/chunks/{use-cached-selected-values.DditZmZy.js → use-cached-selected-values.BVxiRn6R.js} +10 -10
  253. package/dist/chunks/use-cached-selected-values.BVxiRn6R.js.map +1 -0
  254. package/dist/chunks/{warning-filled.CKoabS8f.js → warning-filled.Dm_HhqzW.js} +4 -4
  255. package/dist/chunks/{warning-filled.CKoabS8f.js.map → warning-filled.Dm_HhqzW.js.map} +1 -1
  256. package/dist/code-snippet.js +1 -1
  257. package/dist/country.js +1 -1
  258. package/dist/currency.js +1 -1
  259. package/dist/dashboard-template.js +1 -1
  260. package/dist/dashed-underline.js +1 -1
  261. package/dist/data-grid-template.js +1 -1
  262. package/dist/data-grid.js +1 -1
  263. package/dist/date-picker.js +2 -2
  264. package/dist/date-range-picker.js +2 -2
  265. package/dist/date.js +1 -1
  266. package/dist/dropdown.js +4 -4
  267. package/dist/empty-state.js +1 -1
  268. package/dist/filter-bar.js +1 -1
  269. package/dist/form-layout.js +1 -1
  270. package/dist/header.js +1 -1
  271. package/dist/index.js +98 -97
  272. package/dist/index.js.map +1 -1
  273. package/dist/info-icon.js +1 -1
  274. package/dist/input-field.js +1 -1
  275. package/dist/inspector.js +1 -1
  276. package/dist/internal.js +21 -19
  277. package/dist/internal.js.map +1 -1
  278. package/dist/link.js +1 -1
  279. package/dist/menu.js +1 -1
  280. package/dist/modal-fullscreen.js +1 -1
  281. package/dist/modal.js +2 -2
  282. package/dist/pagination.js +1 -1
  283. package/dist/payment-method.js +1 -1
  284. package/dist/popover.js +1 -1
  285. package/dist/popper-container.js +5 -4
  286. package/dist/popper-container.js.map +1 -1
  287. package/dist/radio-group.js +1 -1
  288. package/dist/search-bar.js +2 -2
  289. package/dist/secondary-nav.js +1 -1
  290. package/dist/segmented-control.js +1 -1
  291. package/dist/selection-card.js +1 -1
  292. package/dist/sidepanel.js +1 -1
  293. package/dist/status.js +1 -1
  294. package/dist/stepper.js +1 -1
  295. package/dist/structured-list.js +1 -1
  296. package/dist/styles/bento.css +14 -2
  297. package/dist/styles/legacy.css +13 -1
  298. package/dist/styles/styleguide.css +14 -2
  299. package/dist/summary-grid.js +1 -1
  300. package/dist/tabs.js +1 -1
  301. package/dist/tag.js +1 -1
  302. package/dist/textarea.js +1 -1
  303. package/dist/timeline.js +1 -1
  304. package/dist/toast.js +1 -1
  305. package/dist/toggle.js +1 -1
  306. package/dist/tutorial.js +1 -1
  307. package/dist/typography.js +1 -1
  308. package/dist/web-types.json +1 -1
  309. package/package.json +4 -4
  310. package/dist/chunks/alert.B_GZON9f.js.map +0 -1
  311. package/dist/chunks/checkbox-input.YgPBRaZP.js.map +0 -1
  312. package/dist/chunks/checkmark-circle-fill.Bgdq29pu.js.map +0 -1
  313. package/dist/chunks/checkmark-small.4DMun1A_.js.map +0 -1
  314. package/dist/chunks/chevron-left.ChbQxOxi.js.map +0 -1
  315. package/dist/chunks/chevron-up.zKonWHVc.js.map +0 -1
  316. package/dist/chunks/copy.5y12_05v.js.map +0 -1
  317. package/dist/chunks/cross-circle-fill-small.2_Xjp4id.js.map +0 -1
  318. package/dist/chunks/cross-circle-fill.CEUPgI5F.js.map +0 -1
  319. package/dist/chunks/cross-small.DvCEQd10.js.map +0 -1
  320. package/dist/chunks/cross.CowwLfo4.js.map +0 -1
  321. package/dist/chunks/data-grid.CcGMljDl.js.map +0 -1
  322. package/dist/chunks/dialog-page.CjKMgUlz.js.map +0 -1
  323. package/dist/chunks/dropdown.BxvydNp0.js.map +0 -1
  324. package/dist/chunks/events.CMzGybJJ.js +0 -47
  325. package/dist/chunks/events.CMzGybJJ.js.map +0 -1
  326. package/dist/chunks/expand.B5tyMqaF.js.map +0 -1
  327. package/dist/chunks/info-icon.CBiqUH3L.js.map +0 -1
  328. package/dist/chunks/link.2YS7haGc.js.map +0 -1
  329. package/dist/chunks/menu.CI4R2iw1.js.map +0 -1
  330. package/dist/chunks/pagination.-1ibfp5g.js.map +0 -1
  331. package/dist/chunks/popper-container.DFpaesDm.js.map +0 -1
  332. package/dist/chunks/refresh.DPE_95xY.js.map +0 -1
  333. package/dist/chunks/step.CyvTQbAk.js.map +0 -1
  334. package/dist/chunks/tabs.BUPiNLbZ.js +0 -185
  335. package/dist/chunks/tabs.BUPiNLbZ.js.map +0 -1
  336. package/dist/chunks/tag.RYw4OhWk.js +0 -75
  337. package/dist/chunks/tag.RYw4OhWk.js.map +0 -1
  338. package/dist/chunks/timeline-item.USmzRWfs.js.map +0 -1
  339. package/dist/chunks/tooltip.DvsfWV0-.js.map +0 -1
  340. package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js.map +0 -1
  341. package/dist/chunks/use-cached-selected-values.DditZmZy.js.map +0 -1
  342. /package/dist/@types/packages/{vue2 → core}/src/components/internal/checkbox-input/checkbox-input.types.d.ts +0 -0
  343. /package/dist/assets/{main.css → cross.css} +0 -0
package/dist/index.js CHANGED
@@ -1,81 +1,82 @@
1
- import { shallowRef as c, ref as m } from "vue";
2
- import { t as f, c as x } from "./chunks/use-bento-toast-controller.BDYlxAYq.js";
3
- import { u as P } from "./chunks/use-bento-toast-controller.BDYlxAYq.js";
4
- import { d as g } from "./chunks/typography.z9P0Ec3Q.js";
5
- import { B as k, c as w, b as G, a as M } from "./chunks/typography.z9P0Ec3Q.js";
6
- import { B as O } from "./chunks/action-bar.BYMas_1s.js";
7
- import { a as j, b as z } from "./chunks/accordion-item.4Cnn47v_.js";
8
- import { B as K, c as U, b as _, a as Z } from "./chunks/alert.B_GZON9f.js";
9
- import { B as Y } from "./chunks/avatar.8erKxh8t.js";
10
- import { B as q, b as J, a as Q } from "./chunks/button.Br6CyG40.js";
11
- import { c as $, B as ee, a as te } from "./chunks/card.B7AyQI7f.js";
12
- import { d as ae } from "./chunks/dashed-underline.CMKbg0Fq.js";
13
- import { B as re, d as se, a as Be, f as ie, e as pe, c as me, b as de } from "./chunks/data-grid.CcGMljDl.js";
14
- import { B as le, a as ce } from "./chunks/date-picker.BsXcXOgl.js";
15
- import { B as xe, a as ge } from "./chunks/date-range-picker.BFm6Udzx.js";
16
- import { B as Se, u as be } from "./chunks/dropdown.BxvydNp0.js";
17
- import { B as Te } from "./chunks/dropdown-default-textbox.BopLaEkG.js";
1
+ import { shallowRef as f, ref as m } from "vue";
2
+ import { t as c, c as x } from "./chunks/use-bento-toast-controller.6iG-fzM1.js";
3
+ import { u as P } from "./chunks/use-bento-toast-controller.6iG-fzM1.js";
4
+ import { d as g } from "./chunks/typography.CE5PgxFf.js";
5
+ import { B as k, c as w, b as G, a as M } from "./chunks/typography.CE5PgxFf.js";
6
+ import { B as O } from "./chunks/action-bar.CMuu-R_8.js";
7
+ import { a as j, b as z } from "./chunks/accordion-item.COc5nXh4.js";
8
+ import { B as K, c as U, b as _, a as Z } from "./chunks/alert.DZFWFceT.js";
9
+ import { B as Y } from "./chunks/avatar.7gix8dxp.js";
10
+ import { B as q, b as J, a as Q } from "./chunks/button.DInQYAND.js";
11
+ import { c as $, B as ee, a as te } from "./chunks/card.Bh7vfIw8.js";
12
+ import { d as ae } from "./chunks/dashed-underline.C3AuURaR.js";
13
+ import { B as re, d as se, a as Be, f as ie, e as pe, c as me, b as de } from "./chunks/data-grid.DWCGBlAE.js";
14
+ import { B as le, a as fe } from "./chunks/date-picker.BJmupHBt.js";
15
+ import { B as xe, a as ge } from "./chunks/date-range-picker.D5z8fqcu.js";
16
+ import { B as Se, u as be } from "./chunks/dropdown.CPlvW43f.js";
17
+ import { B as Te } from "./chunks/dropdown-default-textbox.CeVq45Qy.js";
18
18
  import { B as De } from "./chunks/divider.ugNXYI-T.js";
19
- import { B as Ie, a as Ee } from "./chunks/checkbox.BnYx06nC.js";
19
+ import { B as Ie, a as Ee } from "./chunks/checkbox.Dkxm-fWK.js";
20
20
  import { B as Le } from "./chunks/click-outside.DSszkIvs.js";
21
- import { c as Ve, b as ke, a as we, B as Ge } from "./chunks/code-snippet.1duYqiRx.js";
22
- import { c as Ae } from "./chunks/country.CVI-oSer.js";
21
+ import { c as Ve, b as ke, a as we, B as Ge } from "./chunks/code-snippet.BWbbS2ye.js";
22
+ import { c as Ae } from "./chunks/country.Dk5xsUic.js";
23
23
  import { a as Re, B as je, u as ze, b as Ne, c as Ke } from "./chunks/country.types.Br0AjxGy.js";
24
- import { c as _e, B as Ze } from "./chunks/currency.BdtY-UIM.js";
25
- import { B as Ye, a as He } from "./chunks/date.CYUV4seY.js";
26
- import { B as Je, b as Qe, c as Xe, a as $e } from "./chunks/empty-state.CyEWCcDk.js";
27
- import { B as tt, b as ot, a as at, c as nt } from "./chunks/filter-bar.re1Tqyai.js";
28
- import { f as st, a as Bt, c as it, b as pt } from "./chunks/form-layout-title.ATi1W9uG.js";
24
+ import { c as _e, B as Ze } from "./chunks/currency.CFIi9B9m.js";
25
+ import { B as Ye, a as He } from "./chunks/date.BkeczstG.js";
26
+ import { B as Je, b as Qe, c as Xe, a as $e } from "./chunks/empty-state.BmZVT8wF.js";
27
+ import { B as tt, b as ot, a as at, c as nt } from "./chunks/filter-bar.uZ7n8y_i.js";
28
+ import { f as st, a as Bt, c as it, b as pt } from "./chunks/form-layout-title.bE1xo1hK.js";
29
29
  import { B as dt, a as ut, b as lt } from "./chunks/image.0KzfycGE.js";
30
- import { B as ft } from "./chunks/info-icon.CBiqUH3L.js";
31
- import { i as gt, B as yt } from "./chunks/inspector.types.X_7VgZmS.js";
32
- import { B as bt, b as Ct, e as Tt, c as vt, d as Dt, a as ht } from "./chunks/input-field.foJTqE5i.js";
30
+ import { B as ct } from "./chunks/info-icon.tGhr3-Zh.js";
31
+ import { i as gt, B as yt } from "./chunks/inspector.types.eWf-6uBc.js";
32
+ import { B as bt, b as Ct, e as Tt, c as vt, d as Dt, a as ht } from "./chunks/input-field.D8Pt05M3.js";
33
33
  import { B as Et, a as Ft } from "./chunks/loading-indicator.BFMEf39U.js";
34
- import { B as Pt, a as Vt } from "./chunks/link.2YS7haGc.js";
35
- import { B as wt, a as Gt } from "./chunks/menu.CI4R2iw1.js";
36
- import { d as At, f as Ot, g as Rt, B as jt, e as zt, c as Nt, a as Kt, b as Ut } from "./chunks/base-modal.BbiSFAn1.js";
37
- import { m as Zt, B as Wt } from "./chunks/modal-fullscreen.B4sPrlfq.js";
38
- import { B as Ht } from "./chunks/header.CrNceSOd.js";
39
- import { B as Jt } from "./chunks/pagination.-1ibfp5g.js";
40
- import { B as Xt } from "./chunks/payment-method.-3VYG5ud.js";
34
+ import { B as Pt, a as Vt } from "./chunks/link.CbotJFzC.js";
35
+ import { B as wt, a as Gt } from "./chunks/menu.bwVdUNQc.js";
36
+ import { d as At, f as Ot, g as Rt, B as jt, e as zt, c as Nt, a as Kt, b as Ut } from "./chunks/base-modal.DS7zI1O2.js";
37
+ import { m as Zt, B as Wt } from "./chunks/modal-fullscreen.Bn25snRZ.js";
38
+ import { B as Ht } from "./chunks/header.HQY-nc6l.js";
39
+ import { B as Jt } from "./chunks/pagination.Cg6ycXwO.js";
40
+ import { B as Xt } from "./chunks/payment-method.Dqby2asg.js";
41
41
  import { B as eo } from "./chunks/payment-method.types.CJKfZQN5.js";
42
- import { B as oo, a as ao } from "./chunks/popover.BN52L17t.js";
43
- import { b as ro, B as so, a as Bo } from "./chunks/radio-group.RLUDLHPT.js";
44
- import { B as po, b as mo, a as uo } from "./chunks/search-bar.CCWTGvJ6.js";
45
- import { s as co } from "./chunks/secondary-nav.D81GEGuc.js";
46
- import { B as xo } from "./chunks/segmented-control.DbR5NYWR.js";
42
+ import { B as oo, a as ao } from "./chunks/popover.C7aNk7Ct.js";
43
+ import { b as ro, B as so, a as Bo } from "./chunks/radio-group.D0khdiFK.js";
44
+ import { B as po, b as mo, a as uo } from "./chunks/search-bar.BaqIavRd.js";
45
+ import { s as fo } from "./chunks/secondary-nav.eioY-Ac9.js";
46
+ import { B as xo } from "./chunks/segmented-control.CyyCTejh.js";
47
47
  import { B as yo } from "./chunks/segmented-control.types.BHRLV8KU.js";
48
- import { B as bo, s as Co, a as To } from "./chunks/selection-card-group.3OexUu8G.js";
49
- import { a as Do, B as ho, s as Io } from "./chunks/sidepanel.iEewXNIJ.js";
50
- import { s as Fo, B as Lo } from "./chunks/status.types.r9TfZmvE.js";
51
- import { a as Vo, s as ko, B as wo, b as Go } from "./chunks/step.CyvTQbAk.js";
52
- import { B as Ao, a as Oo } from "./chunks/structured-list-item.DZvCfZuG.js";
53
- import { s as jo, a as zo, e as No, b as Ko, c as Uo, B as _o, d as Zo, f as Wo } from "./chunks/summary-grid-item-custom.BRXtpB7y.js";
54
- import { B as Ho, a as qo } from "./chunks/tabs.BUPiNLbZ.js";
55
- import { B as Qo, a as Xo } from "./chunks/tag.RYw4OhWk.js";
56
- import { B as ea } from "./chunks/textarea.Bk8-ivBT.js";
57
- import { t as oa, b as aa, a as na, c as ra, B as sa, d as Ba } from "./chunks/timeline-item.USmzRWfs.js";
58
- import { t as pa } from "./chunks/toast.BwPhzM1x.js";
59
- import { B as da, b as ua, a as la } from "./chunks/toggle.PLkyyLr1.js";
48
+ import { B as bo, s as Co, a as To } from "./chunks/selection-card-group.CJwWtHTD.js";
49
+ import { a as Do, B as ho, s as Io } from "./chunks/sidepanel.BGS2yzn-.js";
50
+ import { s as Fo, B as Lo } from "./chunks/status.types.DKEdSwK-.js";
51
+ import { a as Vo, s as ko, B as wo, b as Go } from "./chunks/step.DQtYDLoP.js";
52
+ import { B as Ao, a as Oo } from "./chunks/structured-list-item.Brk3yBPy.js";
53
+ import { s as jo, a as zo, e as No, b as Ko, c as Uo, B as _o, d as Zo, f as Wo } from "./chunks/summary-grid-item-custom.DnGuM9Cg.js";
54
+ import { B as Ho, a as qo } from "./chunks/tabs.DDfHxVuD.js";
55
+ import { B as Qo, a as Xo } from "./chunks/tag.DuIxjlwJ.js";
56
+ import { B as ea } from "./chunks/textarea.CV2qkkZR.js";
57
+ import { t as oa, b as aa, a as na, c as ra, B as sa, d as Ba } from "./chunks/timeline-item.Dqpw7bkB.js";
58
+ import { t as pa } from "./chunks/toast.PtFHVFT1.js";
59
+ import { B as da, b as ua, a as la } from "./chunks/toggle.Bsu11Lof.js";
60
60
  import * as n from "zod";
61
- import { u as fa } from "./chunks/use-click-outside.D6aIgS15.js";
62
- import { a as ga, d as ya } from "./chunks/dashboard-section.BDkYN89r.js";
63
- import { d as ba } from "./chunks/data-grid-template.CydHXTmg.js";
61
+ import { u as ca } from "./chunks/use-click-outside.D6aIgS15.js";
62
+ import { a as ga, d as ya } from "./chunks/dashboard-section.BlsQTA_5.js";
63
+ import { d as ba } from "./chunks/data-grid-template.rvLUWZnh.js";
64
64
  import { D as Ta } from "./chunks/date-input.BqBdAO1E.js";
65
- import { a as Da, B as ha } from "./chunks/keyboard-navigation.Clz1jOaA.js";
66
- import { a as Ea, B as Fa, a as La, B as Pa } from "./chunks/use-cached-selected-values.DditZmZy.js";
65
+ import { a as Da, B as ha } from "./chunks/keyboard-navigation.C3QMVRKY.js";
66
+ import { a as Ea, B as Fa, a as La, B as Pa } from "./chunks/use-cached-selected-values.BVxiRn6R.js";
67
67
  import { B as ka } from "./chunks/directive.O3yEdalv.js";
68
- import { B as Ga, a as Ma, b as Aa } from "./chunks/tooltip.DvsfWV0-.js";
69
- import { B as Ra, c as ja, a as za, b as Na } from "./chunks/button-actions.DcvU9vMt.js";
70
- import { B as Ua, a as _a } from "./chunks/loading-button.BU536EK4.js";
71
- import { B as Wa } from "./chunks/toggle-button.CBRd1v6x.js";
72
- import { C as Ha, C as qa } from "./chunks/calendar.BPatBsD5.js";
73
- import { _ as Qa, a as Xa, b as $a, c as en, d as tn } from "./chunks/dropdown-tag.x3n5-YkA.js";
74
- import { C as an } from "./chunks/checkbox-input.YgPBRaZP.js";
75
- import { c as rn, B as sn } from "./chunks/checkbox-group.BJM2i93S.js";
76
- import { _ as pn } from "./chunks/modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js";
77
- import { R as dn } from "./chunks/radio-input.DtvlM-mr.js";
78
- import { _ as ln } from "./chunks/tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js";
68
+ import { B as Ga, a as Ma } from "./chunks/events.FNmSWp_P.js";
69
+ import { B as Oa } from "./chunks/tooltip.CSa9ntbr.js";
70
+ import { B as ja, c as za, a as Na, b as Ka } from "./chunks/button-actions.DOvd7VLB.js";
71
+ import { B as _a, a as Za } from "./chunks/loading-button.BzCt6ZT0.js";
72
+ import { B as Ya } from "./chunks/toggle-button.YSRdRLSS.js";
73
+ import { C as qa, C as Ja } from "./chunks/calendar.BHy-Sfgc.js";
74
+ import { _ as Xa, a as $a, b as en, c as tn, d as on } from "./chunks/dropdown-tag.BOJ9WsnN.js";
75
+ import { C as nn } from "./chunks/checkbox-input.B24-74ay.js";
76
+ import { c as sn, B as Bn } from "./chunks/checkbox-group.COoDP0ua.js";
77
+ import { _ as mn } from "./chunks/modal.vue_vue_type_script_setup_true_lang.BZ-e4djX.js";
78
+ import { R as un } from "./chunks/radio-input.DtvlM-mr.js";
79
+ import { _ as fn } from "./chunks/tutorial.vue_vue_type_script_setup_true_lang.Cx4a7RcE.js";
79
80
  function h(e) {
80
81
  return e;
81
82
  }
@@ -91,7 +92,7 @@ function y(e) {
91
92
  function I({
92
93
  validationSchema: e
93
94
  }) {
94
- const t = c({}), o = m({}), a = m(i(e)), s = () => {
95
+ const t = f({}), o = m({}), a = m(i(e)), s = () => {
95
96
  t.value = {}, o.value = {};
96
97
  }, u = () => {
97
98
  s(), a.value = i(e);
@@ -114,7 +115,7 @@ function I({
114
115
  };
115
116
  }
116
117
  const S = (e) => {
117
- e.provide(f, x());
118
+ e.provide(c, x());
118
119
  };
119
120
  var b = /* @__PURE__ */ ((e) => (e.LEGACY = "b-legacy-theme", e.STYLEGUIDE = "b-styleguide-theme", e.BENTO = "", e))(b || {});
120
121
  const d = (e) => {
@@ -151,10 +152,10 @@ export {
151
152
  Z as BentoAlertVariant,
152
153
  Y as BentoAvatar,
153
154
  q as BentoButton,
154
- Ra as BentoButtonActions,
155
- ja as BentoButtonActionsLayout,
156
- za as BentoButtonActionsLayoutBasic,
157
- Na as BentoButtonActionsLayoutExtended,
155
+ ja as BentoButtonActions,
156
+ za as BentoButtonActionsLayout,
157
+ Na as BentoButtonActionsLayoutBasic,
158
+ Ka as BentoButtonActionsLayoutExtended,
158
159
  J as BentoButtonPropClass,
159
160
  Q as BentoButtonVariant,
160
161
  $ as BentoCard,
@@ -162,9 +163,9 @@ export {
162
163
  te as BentoCardTitleSize,
163
164
  Ie as BentoCheckbox,
164
165
  Ee as BentoCheckboxEvent,
165
- rn as BentoCheckboxGroup,
166
- sn as BentoCheckboxGroupVariant,
167
- an as BentoCheckboxState,
166
+ sn as BentoCheckboxGroup,
167
+ Bn as BentoCheckboxGroupVariant,
168
+ nn as BentoCheckboxState,
168
169
  Le as BentoClickOutside,
169
170
  ka as BentoClickOutsideDirective,
170
171
  Ve as BentoCodeSnippet,
@@ -190,21 +191,21 @@ export {
190
191
  Ye as BentoDate,
191
192
  He as BentoDateFormat,
192
193
  le as BentoDatePicker,
193
- ce as BentoDatePickerEvent,
194
- Ha as BentoDatePickerFirstDayOfWeek,
194
+ fe as BentoDatePickerEvent,
195
+ qa as BentoDatePickerFirstDayOfWeek,
195
196
  xe as BentoDateRangePicker,
196
197
  ge as BentoDateRangePickerEvent,
197
- qa as BentoDateRangePickerFirstDayOfWeek,
198
+ Ja as BentoDateRangePickerFirstDayOfWeek,
198
199
  De as BentoDivider,
199
200
  Se as BentoDropdown,
200
- Qa as BentoDropdownAvatar,
201
- Xa as BentoDropdownCountry,
202
- $a as BentoDropdownCurrency,
201
+ Xa as BentoDropdownAvatar,
202
+ $a as BentoDropdownCountry,
203
+ en as BentoDropdownCurrency,
203
204
  Ea as BentoDropdownEvent,
204
205
  Fa as BentoDropdownLazyLoadType,
205
- en as BentoDropdownPaymentMethod,
206
+ tn as BentoDropdownPaymentMethod,
206
207
  Te as BentoDropdownSize,
207
- tn as BentoDropdownTag,
208
+ on as BentoDropdownTag,
208
209
  Je as BentoEmptyState,
209
210
  Qe as BentoEmptyStateImage,
210
211
  Xe as BentoEmptyStateImageVariant,
@@ -221,7 +222,7 @@ export {
221
222
  dt as BentoImage,
222
223
  ut as BentoImageAspectRatio,
223
224
  lt as BentoImageObjectFit,
224
- ft as BentoInfoIcon,
225
+ ct as BentoInfoIcon,
225
226
  bt as BentoInputField,
226
227
  Ct as BentoInputFieldElementPosition,
227
228
  Tt as BentoInputFieldEvent,
@@ -236,13 +237,13 @@ export {
236
237
  Vt as BentoLinkVariant,
237
238
  La as BentoListboxEvent,
238
239
  Pa as BentoListboxLazyLoadType,
239
- Ua as BentoLoadingButton,
240
- _a as BentoLoadingButtonState,
240
+ _a as BentoLoadingButton,
241
+ Za as BentoLoadingButtonState,
241
242
  Et as BentoLoadingIndicator,
242
243
  Ft as BentoLoadingIndicatorEvent,
243
244
  wt as BentoMenu,
244
245
  Gt as BentoMenuEvent,
245
- pn as BentoModal,
246
+ mn as BentoModal,
246
247
  At as BentoModalColumnLayoutVariant,
247
248
  Ot as BentoModalDialogType,
248
249
  Rt as BentoModalEvent,
@@ -259,13 +260,13 @@ export {
259
260
  oo as BentoPopover,
260
261
  ao as BentoPopoverPositions,
261
262
  ro as BentoRadioButton,
262
- dn as BentoRadioButtonStateClass,
263
+ un as BentoRadioButtonStateClass,
263
264
  so as BentoRadioGroup,
264
265
  Bo as BentoRadioGroupVariant,
265
266
  po as BentoSearchBar,
266
267
  mo as BentoSearchBarEvent,
267
268
  uo as BentoSearchBarInternalEvent,
268
- co as BentoSecondaryNav,
269
+ fo as BentoSecondaryNav,
269
270
  xo as BentoSegmentedControl,
270
271
  yo as BentoSegmentedControlEvent,
271
272
  bo as BentoSelectionCard,
@@ -304,13 +305,13 @@ export {
304
305
  Ba as BentoTimelineStatus,
305
306
  pa as BentoToast,
306
307
  da as BentoToggle,
307
- Wa as BentoToggleButton,
308
+ Ya as BentoToggleButton,
308
309
  ua as BentoToggleLabelPosition,
309
310
  la as BentoTogglePropClass,
310
- Ga as BentoTooltipDirective,
311
- Ma as BentoTooltipPosition,
312
- Aa as BentoTooltipState,
313
- ln as BentoTutorial,
311
+ Oa as BentoTooltipDirective,
312
+ Ga as BentoTooltipPosition,
313
+ Ma as BentoTooltipState,
314
+ fn as BentoTutorial,
314
315
  k as BentoTypography,
315
316
  w as BentoTypographyElement,
316
317
  G as BentoTypographyModifier,
@@ -319,7 +320,7 @@ export {
319
320
  E as default,
320
321
  h as toTypedSchema,
321
322
  P as useBentoToastController,
322
- fa as useClickOutside,
323
+ ca as useClickOutside,
323
324
  ze as useCountryCapital,
324
325
  Ne as useCountryName,
325
326
  Ke 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-toast-controller/install.ts","../../vue2/src/install.ts"],"sourcesContent":["import { type Ref, ref, type ShallowRef, shallowRef } from 'vue';\nimport * as z from 'zod';\nimport type { ZodSchema } from 'zod';\nimport { 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<ErrorBag<z.TypeOf<T>>>;\n errors: Ref<z.TypeOf<T>> | ShallowRef<z.TypeOf<T>>;\n values: Ref<z.TypeOf<T>>;\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 { 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 { PluginObject } from 'vue';\nimport installToast from './composables/use-bento-toast-controller/install';\nimport { deprecate } from './utils/ts/deprecate';\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n BENTO = '',\n}\n\ninterface BentoVuePlugin {\n theme?: BentoTheme;\n withToast?: boolean;\n withUtilityClasses?: boolean;\n withDesignTokensCSSInjection?: boolean;\n}\n\nconst setTheme = (theme: BentoTheme) => {\n document.body.classList.add(theme);\n};\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n name: 'BentoVue',\n install: async (\n Vue,\n {\n theme = BentoTheme.BENTO,\n withToast = false,\n withUtilityClasses = false,\n withDesignTokensCSSInjection = true,\n }: BentoVuePlugin\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 }\n },\n};\n\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","installToast","Vue","toastStackInjectionKey","createToastStack","BentoTheme","setTheme","theme","plugin","withToast","withUtilityClasses","withDesignTokensCSSInjection","deprecate"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcO,SAASA,EAAmCC,GAAe;AACvD,SAAAA;AACX;AA4BA,SAASC,EAA0CC,GAAmC;AAClF,MAAMC,KAAKD,aAAkBC,EAAE;AAC3B,WAAO,OAAO;AAAA,MACV,OAAO,QAAQD,EAAO,KAAK,EAAE,IAAI,CAAC,CAACE,GAAKC,CAAK,MACnCF,KAAKE,aAAiBF,EAAE,aAEnB,CAACC,GAAKC,EAAM,KAAK,cAAc,IAGpCF,KAAKE,aAAiBF,EAAE,YACnB,CAACC,GAAKH,EAAqBI,CAAK,CAAC,IAGrC,CAACD,GAAK,MAAS,CACzB;AAAA,IACL;AAIR;AAOA,SAASE,EAAkBC,GAAmB;AACnC,SAAAA,EAAM,KAAK,KAAK,GAAG;AAC9B;AA2CO,SAASC,EAA6B;AAAA,EACzC,kBAAAC;AACJ,GAME;AAEQ,QAAAC,IAASC,EAA6C,EAAE,GAExDC,IAA4DC,EAAI,EAAE,GAClEC,IAA2BD,EAAIZ,EAAwBQ,CAAgB,CAAC,GAExEM,IAAc,MAAM;AACtB,IAAAL,EAAO,QAAQ,CAAC,GAChBE,EAAS,QAAQ,CAAC;AAAA,EACtB,GAEMI,IAAY,MAAM;AACR,IAAAD,EAAA,GACLD,EAAA,QAAQb,EAAwBQ,CAAgB;AAAA,EAC3D;AA8BO,SAAA;AAAA;AAAA,IAEH,UAAAG;AAAA,IACA,QAAAF;AAAA,IACA,QAAAI;AAAA;AAAA,IAGA,aAAa,MAAME,EAAU;AAAA,IAC7B,YApCe,OAAa,MAAM;AACtB,MAAAD,EAAA;AAGZ,YAAME,IAAcR,EAAiB,UAAUK,EAAO,KAAK;AAGvD,MAACG,EAAY,UAiBbC,EAAUJ,EAAO,KAAK,IAhBrBG,EAAoC,MAAM,OAAO,QAAQ,CAASE,MAAA;AACzD,cAAAC,IAAOd,EAAkBa,CAAK;AAGpC,QAAKT,EAAO,MAAMU,CAAI,MACXV,EAAA,MAAMU,CAAI,IAAID,EAAM,UAI1BP,EAAS,MAAMQ,CAAI,IAGpBR,EAAS,MAAMQ,CAAI,EAAE,KAAKD,EAAM,OAAO,IAFvCP,EAAS,MAAMQ,CAAI,IAAI,CAACD,EAAM,OAAO;AAAA,MAGzC,CACH;AAAA,IAIT;AAAA,EAWA;AACJ;AC3KA,MAAeE,IAAA,CAAOC,MAAA;AAMb,EAAAA,EAAY,QAAQC,GAAwBC,GAAkB;AAEvE;ACXY,IAAAC,sBAAAA,OACRA,EAAA,SAAS,kBACTA,EAAA,aAAa,sBACbA,EAAA,QAAQ,IAHAA,IAAAA,KAAA,CAAA,CAAA;AAaZ,MAAMC,IAAW,CAACC,MAAsB;AAC3B,WAAA,KAAK,UAAU,IAAIA,CAAK;AACrC,GAEMC,IAAuC;AAAA,EACzC,MAAM;AAAA,EACN,SAAS,OACLN,GACA;AAAA,IACI,OAAAK,IAAQ;AAAA,IACR,WAAAE,IAAY;AAAA,IACZ,oBAAAC,IAAqB;AAAA,IACrB,8BAAAC,IAA+B;AAAA,EAAA,MAElC;AACD,IAAIF,KACAR,EAAaC,CAAG,GAEhBS,MACAC;AAAA,MACI;AAAA,MACA;AAAA;AAAA,MACA;AAAA,IACJ,GAEIL,MAAU,mBACV,MAAM,OAAO,gEAAgE,IACtEA,MAAU,uBACjB,MAAM,OAAO,oEAAoE,IAEjF,MAAM,OAAO,yDAAyD,GAGtEG,KACA,MAAM,OAAO,uDAAuD,IAIxEH,MAAU,mBACVD;AAAA,MAAS;AAAA;AAAA,IAAiB,IACnBC,MAAU,wBACjBD;AAAA,MAAS;AAAA;AAAA,IAAqB;AAAA,EAClC;AAER;"}
1
+ {"version":3,"file":"index.js","sources":["../../vue2/src/composables/use-form-validate/use-form.ts","../../vue2/src/composables/use-bento-toast-controller/install.ts","../../vue2/src/install.ts"],"sourcesContent":["import { type Ref, ref, type ShallowRef, shallowRef } from 'vue';\nimport * as z from 'zod';\nimport type { ZodSchema } from 'zod';\nimport { 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<ErrorBag<z.TypeOf<T>>>;\n errors: Ref<z.TypeOf<T>> | ShallowRef<z.TypeOf<T>>;\n values: Ref<z.TypeOf<T>>;\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 { 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 { PluginObject } from 'vue';\nimport installToast from './composables/use-bento-toast-controller/install';\nimport { deprecate } from './utils/ts/deprecate';\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n BENTO = '',\n}\n\ninterface BentoVuePlugin {\n theme?: BentoTheme;\n withToast?: boolean;\n withUtilityClasses?: boolean;\n withDesignTokensCSSInjection?: boolean;\n}\n\nconst setTheme = (theme: BentoTheme) => {\n document.body.classList.add(theme);\n};\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n name: 'BentoVue',\n install: async (\n Vue,\n {\n theme = BentoTheme.BENTO,\n withToast = false,\n withUtilityClasses = false,\n withDesignTokensCSSInjection = true,\n }: BentoVuePlugin\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 }\n },\n};\n\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","installToast","Vue","toastStackInjectionKey","createToastStack","BentoTheme","setTheme","theme","plugin","withToast","withUtilityClasses","withDesignTokensCSSInjection","deprecate"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcO,SAASA,EAAmCC,GAAe;AACvD,SAAAA;AACX;AA4BA,SAASC,EAA0CC,GAAmC;AAClF,MAAMC,KAAKD,aAAkBC,EAAE;AAC3B,WAAO,OAAO;AAAA,MACV,OAAO,QAAQD,EAAO,KAAK,EAAE,IAAI,CAAC,CAACE,GAAKC,CAAK,MACnCF,KAAKE,aAAiBF,EAAE,aAEnB,CAACC,GAAKC,EAAM,KAAK,cAAc,IAGpCF,KAAKE,aAAiBF,EAAE,YACnB,CAACC,GAAKH,EAAqBI,CAAK,CAAC,IAGrC,CAACD,GAAK,MAAS,CACzB;AAAA,IACL;AAIR;AAOA,SAASE,EAAkBC,GAAmB;AACnC,SAAAA,EAAM,KAAK,KAAK,GAAG;AAC9B;AA2CO,SAASC,EAA6B;AAAA,EACzC,kBAAAC;AACJ,GAME;AAEQ,QAAAC,IAASC,EAA6C,EAAE,GAExDC,IAA4DC,EAAI,EAAE,GAClEC,IAA2BD,EAAIZ,EAAwBQ,CAAgB,CAAC,GAExEM,IAAc,MAAM;AACtB,IAAAL,EAAO,QAAQ,CAAC,GAChBE,EAAS,QAAQ,CAAC;AAAA,EACtB,GAEMI,IAAY,MAAM;AACR,IAAAD,EAAA,GACLD,EAAA,QAAQb,EAAwBQ,CAAgB;AAAA,EAC3D;AA8BO,SAAA;AAAA;AAAA,IAEH,UAAAG;AAAA,IACA,QAAAF;AAAA,IACA,QAAAI;AAAA;AAAA,IAGA,aAAa,MAAME,EAAU;AAAA,IAC7B,YApCe,OAAa,MAAM;AACtB,MAAAD,EAAA;AAGZ,YAAME,IAAcR,EAAiB,UAAUK,EAAO,KAAK;AAGvD,MAACG,EAAY,UAiBbC,EAAUJ,EAAO,KAAK,IAhBrBG,EAAoC,MAAM,OAAO,QAAQ,CAASE,MAAA;AACzD,cAAAC,IAAOd,EAAkBa,CAAK;AAGpC,QAAKT,EAAO,MAAMU,CAAI,MACXV,EAAA,MAAMU,CAAI,IAAID,EAAM,UAI1BP,EAAS,MAAMQ,CAAI,IAGpBR,EAAS,MAAMQ,CAAI,EAAE,KAAKD,EAAM,OAAO,IAFvCP,EAAS,MAAMQ,CAAI,IAAI,CAACD,EAAM,OAAO;AAAA,MAGzC,CACH;AAAA,IAIT;AAAA,EAWA;AACJ;AC3KA,MAAeE,IAAA,CAAOC,MAAA;AAMb,EAAAA,EAAY,QAAQC,GAAwBC,GAAkB;AAEvE;ACXY,IAAAC,sBAAAA,OACRA,EAAA,SAAS,kBACTA,EAAA,aAAa,sBACbA,EAAA,QAAQ,IAHAA,IAAAA,KAAA,CAAA,CAAA;AAaZ,MAAMC,IAAW,CAACC,MAAsB;AAC3B,WAAA,KAAK,UAAU,IAAIA,CAAK;AACrC,GAEMC,IAAuC;AAAA,EACzC,MAAM;AAAA,EACN,SAAS,OACLN,GACA;AAAA,IACI,OAAAK,IAAQ;AAAA,IACR,WAAAE,IAAY;AAAA,IACZ,oBAAAC,IAAqB;AAAA,IACrB,8BAAAC,IAA+B;AAAA,EAAA,MAElC;AACD,IAAIF,KACAR,EAAaC,CAAG,GAEhBS,MACAC;AAAA,MACI;AAAA,MACA;AAAA;AAAA,MACA;AAAA,IACJ,GAEIL,MAAU,mBACV,MAAM,OAAO,gEAAgE,IACtEA,MAAU,uBACjB,MAAM,OAAO,oEAAoE,IAEjF,MAAM,OAAO,yDAAyD,GAGtEG,KACA,MAAM,OAAO,uDAAuD,IAIxEH,MAAU,mBACVD;AAAA,MAAS;AAAA;AAAA,IAAiB,IACnBC,MAAU,wBACjBD;AAAA,MAAS;AAAA;AAAA,IAAqB;AAAA,EAClC;AAER;"}
package/dist/info-icon.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as e } from "./chunks/info-icon.CBiqUH3L.js";
1
+ import { B as e } from "./chunks/info-icon.tGhr3-Zh.js";
2
2
  export {
3
3
  e as BentoInfoIcon
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as n, b as a, e as o, c as i, d as s, a as l } from "./chunks/input-field.foJTqE5i.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.D8Pt05M3.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.X_7VgZmS.js";
1
+ import { i as t, B as n } from "./chunks/inspector.types.eWf-6uBc.js";
2
2
  export {
3
3
  t as BentoInspector,
4
4
  n as BentoInspectorSizeOptions
package/dist/internal.js CHANGED
@@ -1,32 +1,34 @@
1
- import { a as o, b as r, C as s } from "./chunks/calendar.BPatBsD5.js";
2
- import { C as p, a as l } from "./chunks/copy.5y12_05v.js";
3
- import { C } from "./chunks/controls-group.DmroeX6Q.js";
4
- import { B as x, b as m, a as E, D as f } from "./chunks/dialog-page.CjKMgUlz.js";
5
- import { E as d, F as I } from "./chunks/error-message.CUZgtlDT.js";
6
- import { F as _ } from "./chunks/fixed-scroller.Co0y0kWZ.js";
7
- import { G as O, a as T } from "./chunks/grid-layout.CqLbbEzI.js";
8
- import { b as g, c as y, u as A } from "./chunks/use-cached-selected-values.DditZmZy.js";
9
- import { L as F } from "./chunks/listbox-option-tag.QqDEHMKB.js";
1
+ import { a as e, b as r, C as t } from "./chunks/calendar.BHy-Sfgc.js";
2
+ import { C as p, a as l } from "./chunks/copy.BvQ6igYf.js";
3
+ import { C as x } from "./chunks/controls-group.D4XrqgW3.js";
4
+ import { B as m, b as n, a as f, D as E } from "./chunks/dialog-page.4ArdFk2U.js";
5
+ import { E as d, F as I } from "./chunks/error-message.SLfGzDVf.js";
6
+ import { F as T } from "./chunks/fixed-scroller.BYosMLGj.js";
7
+ import { G as u, a as O } from "./chunks/grid-layout.CqLbbEzI.js";
8
+ import { b as g, c as y, u as A } from "./chunks/use-cached-selected-values.BVxiRn6R.js";
9
+ import { L as F } from "./chunks/listbox-option-tag.C8w0-82a.js";
10
10
  import { B as N } from "./chunks/teleport.L8qFCYpr.js";
11
+ import { T as c } from "./chunks/tooltip.CSa9ntbr.js";
11
12
  export {
12
- x as BentoDialogPageAnimation,
13
+ m as BentoDialogPageAnimation,
13
14
  g as BentoListbox,
14
15
  N as BentoTeleport,
15
- o as Calendar,
16
+ e as Calendar,
16
17
  r as CalendarEvent,
17
- s as CalendarFirstDayOfWeek,
18
- C as ControlsGroup,
18
+ t as CalendarFirstDayOfWeek,
19
+ x as ControlsGroup,
19
20
  p as Copy,
20
21
  l as CopyTooltipState,
21
- m as DIALOG_PAGE_CONFIG_INJECTION_KEY,
22
- E as DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY,
23
- f as DialogPage,
22
+ n as DIALOG_PAGE_CONFIG_INJECTION_KEY,
23
+ f as DIALOG_PAGE_REGISTER_PAGE_INJECTION_KEY,
24
+ E as DialogPage,
24
25
  d as ErrorMessage,
25
26
  I as FieldLabel,
26
- _ as FixedScroller,
27
- O as GridLayout,
28
- T as GridLayoutContainerType,
27
+ T as FixedScroller,
28
+ u as GridLayout,
29
+ O as GridLayoutContainerType,
29
30
  F as ListboxOptionTag,
31
+ c as Tooltip,
30
32
  y as useCachedSelectedValues,
31
33
  A as useMultiLevelItems
32
34
  };
@@ -1 +1 @@
1
- {"version":3,"file":"internal.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
1
+ {"version":3,"file":"internal.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
package/dist/link.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as o, a as t } from "./chunks/link.2YS7haGc.js";
1
+ import { B as o, a as t } from "./chunks/link.CbotJFzC.js";
2
2
  export {
3
3
  o as BentoLink,
4
4
  t as BentoLinkVariant
package/dist/menu.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as o, a as t } from "./chunks/menu.CI4R2iw1.js";
1
+ import { B as o, a as t } from "./chunks/menu.bwVdUNQc.js";
2
2
  export {
3
3
  o as BentoMenu,
4
4
  t as BentoMenuEvent
@@ -1,4 +1,4 @@
1
- import { m as o, B as a } from "./chunks/modal-fullscreen.B4sPrlfq.js";
1
+ import { m as o, B as a } from "./chunks/modal-fullscreen.Bn25snRZ.js";
2
2
  export {
3
3
  o as BentoModalFullscreen,
4
4
  a as BentoModalFullscreenPage
package/dist/modal.js CHANGED
@@ -1,5 +1,5 @@
1
- import { d as e, f as t, g as n, B as l, e as d, c as B, a as M, b as s } from "./chunks/base-modal.BbiSFAn1.js";
2
- import { _ as i } from "./chunks/modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js";
1
+ import { d as e, f as t, g as n, B as l, e as d, c as B, a as M, b as s } from "./chunks/base-modal.DS7zI1O2.js";
2
+ import { _ as i } from "./chunks/modal.vue_vue_type_script_setup_true_lang.BZ-e4djX.js";
3
3
  export {
4
4
  i as BentoModal,
5
5
  e as BentoModalColumnLayoutVariant,
@@ -1,4 +1,4 @@
1
- import { B as n } from "./chunks/pagination.-1ibfp5g.js";
1
+ import { B as n } from "./chunks/pagination.Cg6ycXwO.js";
2
2
  export {
3
3
  n as BentoPagination
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as t } from "./chunks/payment-method.-3VYG5ud.js";
1
+ import { B as t } from "./chunks/payment-method.Dqby2asg.js";
2
2
  import { B as m } from "./chunks/payment-method.types.CJKfZQN5.js";
3
3
  export {
4
4
  t as BentoPaymentMethod,
package/dist/popover.js CHANGED
@@ -1,4 +1,4 @@
1
- import { B as r, a as s } from "./chunks/popover.BN52L17t.js";
1
+ import { B as r, a as s } from "./chunks/popover.C7aNk7Ct.js";
2
2
  export {
3
3
  r as BentoPopover,
4
4
  s as BentoPopoverPositions
@@ -1,9 +1,10 @@
1
- import { P as n, c as a, d as i, a as r, b as p } from "./chunks/popper-container.DFpaesDm.js";
1
+ import { P as r } from "./chunks/popper-container.Cyf6zCPq.js";
2
+ import { b as a, c as i, P as p, a as t } from "./chunks/popper-container.types.BCZMbVFD.js";
2
3
  export {
3
- n as PopperContainer,
4
+ r as PopperContainer,
4
5
  a as PopperContainerAriaRole,
5
6
  i as PopperContainerPosition,
6
- r as PopperContainerPositionBasic,
7
- p as PopperContainerPositionExtended
7
+ p as PopperContainerPositionBasic,
8
+ t as PopperContainerPositionExtended
8
9
  };
9
10
  //# sourceMappingURL=popper-container.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"popper-container.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"popper-container.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -1,4 +1,4 @@
1
- import { b as t, B as e, a as n } from "./chunks/radio-group.RLUDLHPT.js";
1
+ import { b as t, B as e, a as n } from "./chunks/radio-group.D0khdiFK.js";
2
2
  import { R as B } from "./chunks/radio-input.DtvlM-mr.js";
3
3
  export {
4
4
  t as BentoRadioButton,
@@ -1,5 +1,5 @@
1
- import { B as r, b as t, a as B } from "./chunks/search-bar.CCWTGvJ6.js";
2
- import { u as o } from "./chunks/dropdown.BxvydNp0.js";
1
+ import { B as r, b as t, a as B } from "./chunks/search-bar.BaqIavRd.js";
2
+ import { u as o } from "./chunks/dropdown.CPlvW43f.js";
3
3
  export {
4
4
  r as BentoSearchBar,
5
5
  t as BentoSearchBarEvent,
@@ -1,4 +1,4 @@
1
- import { s as e } from "./chunks/secondary-nav.D81GEGuc.js";
1
+ import { s as e } from "./chunks/secondary-nav.eioY-Ac9.js";
2
2
  export {
3
3
  e as BentoSecondaryNav
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as t } from "./chunks/segmented-control.DbR5NYWR.js";
1
+ import { B as t } from "./chunks/segmented-control.CyyCTejh.js";
2
2
  import { B as r } from "./chunks/segmented-control.types.BHRLV8KU.js";
3
3
  export {
4
4
  t as BentoSegmentedControl,
@@ -1,4 +1,4 @@
1
- import { B as t, s as a, a as n } from "./chunks/selection-card-group.3OexUu8G.js";
1
+ import { B as t, s as a, a as n } from "./chunks/selection-card-group.CJwWtHTD.js";
2
2
  export {
3
3
  t as BentoSelectionCard,
4
4
  a as BentoSelectionCardGroup,
package/dist/sidepanel.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as n, B as o, s as t } from "./chunks/sidepanel.iEewXNIJ.js";
1
+ import { a as n, B as o, s as t } from "./chunks/sidepanel.BGS2yzn-.js";
2
2
  export {
3
3
  n as BentoSidepanel,
4
4
  o as BentoSidepanelEvent,
package/dist/status.js CHANGED
@@ -1,4 +1,4 @@
1
- import { s, B as o } from "./chunks/status.types.r9TfZmvE.js";
1
+ import { s, B as o } from "./chunks/status.types.DKEdSwK-.js";
2
2
  export {
3
3
  s as BentoStatus,
4
4
  o as BentoStatusVariant
package/dist/stepper.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as p, s as o, B as a, b as n } from "./chunks/step.CyvTQbAk.js";
1
+ import { a as p, s as o, B as a, b as n } from "./chunks/step.DQtYDLoP.js";
2
2
  export {
3
3
  p as BentoStep,
4
4
  o as BentoStepper,
@@ -1,4 +1,4 @@
1
- import { B as r, a as o } from "./chunks/structured-list-item.DZvCfZuG.js";
1
+ import { B as r, a as o } from "./chunks/structured-list-item.Brk3yBPy.js";
2
2
  export {
3
3
  r as BentoStructuredList,
4
4
  o as BentoStructuredListItem