@adyen/bento-vue2 1.46.0 → 1.47.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 (269) hide show
  1. package/dist/@types/index.d.ts +122 -43
  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/calendar.css +1 -1
  9. package/dist/assets/card.css +1 -1
  10. package/dist/assets/data-grid.css +1 -1
  11. package/dist/assets/date-picker.css +1 -1
  12. package/dist/assets/date-range-picker.css +1 -1
  13. package/dist/assets/dialog-page.css +1 -1
  14. package/dist/assets/divider.css +1 -1
  15. package/dist/assets/file-uploader.css +1 -1
  16. package/dist/assets/input-field-password.css +1 -1
  17. package/dist/assets/input-field.css +1 -1
  18. package/dist/assets/inspector.css +1 -1
  19. package/dist/assets/menu.css +1 -1
  20. package/dist/assets/modal-fullscreen.css +1 -1
  21. package/dist/assets/popover.css +1 -1
  22. package/dist/assets/radio-group.css +1 -1
  23. package/dist/assets/radio-input.css +1 -1
  24. package/dist/assets/sidepanel.css +1 -1
  25. package/dist/assets/status.css +1 -1
  26. package/dist/avatar.js +1 -1
  27. package/dist/button.js +3 -3
  28. package/dist/card.js +1 -1
  29. package/dist/checkbox.js +2 -2
  30. package/dist/chunks/{accordion-item.BjXzREaK.js → accordion-item.CTxrEQEW.js} +9 -9
  31. package/dist/chunks/{accordion-item.BjXzREaK.js.map → accordion-item.CTxrEQEW.js.map} +1 -1
  32. package/dist/chunks/{action-bar.e_2fmyN_.js → action-bar.EcN2I7Az.js} +14 -14
  33. package/dist/chunks/{action-bar.e_2fmyN_.js.map → action-bar.EcN2I7Az.js.map} +1 -1
  34. package/dist/chunks/{alert.BcfhueIA.js → alert.BRN8cpXl.js} +9 -9
  35. package/dist/chunks/{alert.BcfhueIA.js.map → alert.BRN8cpXl.js.map} +1 -1
  36. package/dist/chunks/{avatar.DXzyWKsI.js → avatar.BgwjpLQO.js} +2 -2
  37. package/dist/chunks/{avatar.DXzyWKsI.js.map → avatar.BgwjpLQO.js.map} +1 -1
  38. package/dist/chunks/{base-button.BeMKxkgK.js → base-button.-gx_u8Bd.js} +2 -2
  39. package/dist/chunks/{base-button.BeMKxkgK.js.map → base-button.-gx_u8Bd.js.map} +1 -1
  40. package/dist/chunks/{base-modal.UPLi477L.js → base-modal.BgTZ8iQ6.js} +21 -21
  41. package/dist/chunks/{base-modal.UPLi477L.js.map → base-modal.BgTZ8iQ6.js.map} +1 -1
  42. package/dist/chunks/{button-actions-with-menu.CyNvhDxN.js → button-actions-with-menu.C8EjGVCT.js} +4 -4
  43. package/dist/chunks/{button-actions-with-menu.CyNvhDxN.js.map → button-actions-with-menu.C8EjGVCT.js.map} +1 -1
  44. package/dist/chunks/{button-actions.BaypoF5i.js → button-actions.BU173IFE.js} +6 -6
  45. package/dist/chunks/{button-actions.BaypoF5i.js.map → button-actions.BU173IFE.js.map} +1 -1
  46. package/dist/chunks/{button.Bx8WC-dy.js → button.BX6ZJxF7.js} +3 -3
  47. package/dist/chunks/{button.Bx8WC-dy.js.map → button.BX6ZJxF7.js.map} +1 -1
  48. package/dist/chunks/{calendar.LXRuFfcw.js → calendar.DlOcbH6E.js} +167 -154
  49. package/dist/chunks/{calendar.LXRuFfcw.js.map → calendar.DlOcbH6E.js.map} +1 -1
  50. package/dist/chunks/{card.INSvvGNH.js → card.DoyCGJay.js} +14 -14
  51. package/dist/chunks/{card.INSvvGNH.js.map → card.DoyCGJay.js.map} +1 -1
  52. package/dist/chunks/{checkbox-group.BNVnOYKH.js → checkbox-group.BQN9gjgH.js} +7 -7
  53. package/dist/chunks/{checkbox-group.BNVnOYKH.js.map → checkbox-group.BQN9gjgH.js.map} +1 -1
  54. package/dist/chunks/{checkbox.CcwY2CMn.js → checkbox.O1CbmNdS.js} +23 -23
  55. package/dist/chunks/{checkbox.CcwY2CMn.js.map → checkbox.O1CbmNdS.js.map} +1 -1
  56. package/dist/chunks/{chevron-left.CtnrsqUy.js → chevron-left.PIu6yPqe.js} +3 -3
  57. package/dist/chunks/{chevron-left.CtnrsqUy.js.map → chevron-left.PIu6yPqe.js.map} +1 -1
  58. package/dist/chunks/{chevron-up.B2uWhZf7.js → chevron-up.DVfo78kV.js} +3 -3
  59. package/dist/chunks/{chevron-up.B2uWhZf7.js.map → chevron-up.DVfo78kV.js.map} +1 -1
  60. package/dist/chunks/{code-snippet.Bs7wIGi8.js → code-snippet.BDBD85qD.js} +27 -27
  61. package/dist/chunks/{code-snippet.Bs7wIGi8.js.map → code-snippet.BDBD85qD.js.map} +1 -1
  62. package/dist/chunks/{codemirror.OjJ-3ixa.js → codemirror.0fz2cWJS.js} +1355 -1364
  63. package/dist/chunks/{codemirror.OjJ-3ixa.js.map → codemirror.0fz2cWJS.js.map} +1 -1
  64. package/dist/chunks/{controls-group.CIdhlTk3.js → controls-group.C3RDqB9H.js} +3 -3
  65. package/dist/chunks/{controls-group.CIdhlTk3.js.map → controls-group.C3RDqB9H.js.map} +1 -1
  66. package/dist/chunks/{copy.BakPR7GI.js → copy.BuMSGw23.js} +8 -8
  67. package/dist/chunks/{copy.BakPR7GI.js.map → copy.BuMSGw23.js.map} +1 -1
  68. package/dist/chunks/{country.BegULkAC.js → country.2-ZtYkh7.js} +3 -3
  69. package/dist/chunks/{country.BegULkAC.js.map → country.2-ZtYkh7.js.map} +1 -1
  70. package/dist/chunks/{country.types.pilf5B3F.js → country.types.CLjbulKL.js} +4114 -4114
  71. package/dist/chunks/{country.types.pilf5B3F.js.map → country.types.CLjbulKL.js.map} +1 -1
  72. package/dist/chunks/{currency.P7Psn_SK.js → currency.BmI4Sqy5.js} +2 -2
  73. package/dist/chunks/{currency.P7Psn_SK.js.map → currency.BmI4Sqy5.js.map} +1 -1
  74. package/dist/chunks/{dashboard-section.DUN8FB74.js → dashboard-section.COWO5SVw.js} +6 -6
  75. package/dist/chunks/{dashboard-section.DUN8FB74.js.map → dashboard-section.COWO5SVw.js.map} +1 -1
  76. package/dist/chunks/{dashed-underline.BDK3yEtw.js → dashed-underline.BEAEmTCb.js} +4 -4
  77. package/dist/chunks/{dashed-underline.BDK3yEtw.js.map → dashed-underline.BEAEmTCb.js.map} +1 -1
  78. package/dist/chunks/{data-grid-template.BO2v-T1n.js → data-grid-template.vBl7u2cB.js} +4 -4
  79. package/dist/chunks/{data-grid-template.BO2v-T1n.js.map → data-grid-template.vBl7u2cB.js.map} +1 -1
  80. package/dist/chunks/{data-grid.NkQC0etq.js → data-grid.DQ0578m9.js} +79 -79
  81. package/dist/chunks/{data-grid.NkQC0etq.js.map → data-grid.DQ0578m9.js.map} +1 -1
  82. package/dist/chunks/{date-picker.DFgjvQgX.js → date-picker.Bym2OEd9.js} +53 -45
  83. package/dist/chunks/date-picker.Bym2OEd9.js.map +1 -0
  84. package/dist/chunks/{date-range-picker.BBC3TGYw.js → date-range-picker.P2Q5FNB-.js} +331 -327
  85. package/dist/chunks/date-range-picker.P2Q5FNB-.js.map +1 -0
  86. package/dist/chunks/{date.BQ29-2L1.js → date.1zs9CRhw.js} +2 -4
  87. package/dist/chunks/{date.BQ29-2L1.js.map → date.1zs9CRhw.js.map} +1 -1
  88. package/dist/chunks/{dialog-page.Da2cxzZm.js → dialog-page.DcJ7LaOE.js} +32 -31
  89. package/dist/chunks/{dialog-page.Da2cxzZm.js.map → dialog-page.DcJ7LaOE.js.map} +1 -1
  90. package/dist/chunks/divider.Cc4JFWG_.js +35 -0
  91. package/dist/chunks/divider.Cc4JFWG_.js.map +1 -0
  92. package/dist/chunks/{dropdown-default-textbox.CrylDCEX.js → dropdown-default-textbox.CC9Z_RFG.js} +8 -8
  93. package/dist/chunks/{dropdown-default-textbox.CrylDCEX.js.map → dropdown-default-textbox.CC9Z_RFG.js.map} +1 -1
  94. package/dist/chunks/{dropdown-tag.xVgcIWXL.js → dropdown-tag.CiCDvGyN.js} +8 -8
  95. package/dist/chunks/{dropdown-tag.xVgcIWXL.js.map → dropdown-tag.CiCDvGyN.js.map} +1 -1
  96. package/dist/chunks/{dropdown.BkLc07G8.js → dropdown.hc9ZuuTt.js} +31 -31
  97. package/dist/chunks/{dropdown.BkLc07G8.js.map → dropdown.hc9ZuuTt.js.map} +1 -1
  98. package/dist/chunks/{empty-state.B6wjtgR0.js → empty-state.1TyzB5ju.js} +5 -5
  99. package/dist/chunks/{empty-state.B6wjtgR0.js.map → empty-state.1TyzB5ju.js.map} +1 -1
  100. package/dist/chunks/{error-message.Brg-AZjT.js → error-message.Da-p1QIA.js} +10 -10
  101. package/dist/chunks/{error-message.Brg-AZjT.js.map → error-message.Da-p1QIA.js.map} +1 -1
  102. package/dist/chunks/{es6.D11bE5vq.js → es6.BtaxuP0b.js} +4 -4
  103. package/dist/chunks/es6.BtaxuP0b.js.map +1 -0
  104. package/dist/chunks/{file-uploader.BePx7fcJ.js → file-uploader.DVyryYaq.js} +18 -18
  105. package/dist/chunks/{file-uploader.BePx7fcJ.js.map → file-uploader.DVyryYaq.js.map} +1 -1
  106. package/dist/chunks/{filter-bar.BbVGpEJx.js → filter-bar.DzcNo5nF.js} +87 -87
  107. package/dist/chunks/{filter-bar.BbVGpEJx.js.map → filter-bar.DzcNo5nF.js.map} +1 -1
  108. package/dist/chunks/{fixed-scroller.BE1hWLr6.js → fixed-scroller.IPM3AzHS.js} +4 -4
  109. package/dist/chunks/{fixed-scroller.BE1hWLr6.js.map → fixed-scroller.IPM3AzHS.js.map} +1 -1
  110. package/dist/chunks/{focus-trap.DA_1lCcM.js → focus-trap.CGypVwG6.js} +2 -2
  111. package/dist/chunks/{focus-trap.DA_1lCcM.js.map → focus-trap.CGypVwG6.js.map} +1 -1
  112. package/dist/chunks/{footer-actions.O24MYRgM.js → footer-actions.Cbe_YLjP.js} +4 -4
  113. package/dist/chunks/{footer-actions.O24MYRgM.js.map → footer-actions.Cbe_YLjP.js.map} +1 -1
  114. package/dist/chunks/{form-layout-title.DRuBsptB.js → form-layout-title.Xdsi84v2.js} +3 -3
  115. package/dist/chunks/{form-layout-title.DRuBsptB.js.map → form-layout-title.Xdsi84v2.js.map} +1 -1
  116. package/dist/chunks/{generate-uid.D-HFI38h.js → generate-uid.NJ8tVoha.js} +2 -2
  117. package/dist/chunks/{generate-uid.D-HFI38h.js.map → generate-uid.NJ8tVoha.js.map} +1 -1
  118. package/dist/chunks/{header.Bbwnv6Ei.js → header.BIZTUAJE.js} +66 -66
  119. package/dist/chunks/{header.Bbwnv6Ei.js.map → header.BIZTUAJE.js.map} +1 -1
  120. package/dist/chunks/{index.B5Tq465X.js → index.D8ivUe7P.js} +5 -5
  121. package/dist/chunks/{index.B5Tq465X.js.map → index.D8ivUe7P.js.map} +1 -1
  122. package/dist/chunks/{info-icon-with-popover.Cd3RQWUu.js → info-icon-with-popover.Bly2e0uy.js} +7 -7
  123. package/dist/chunks/{info-icon-with-popover.Cd3RQWUu.js.map → info-icon-with-popover.Bly2e0uy.js.map} +1 -1
  124. package/dist/chunks/{info-icon.BnSZeQm8.js → info-icon.0d0GzDe2.js} +3 -3
  125. package/dist/chunks/{info-icon.BnSZeQm8.js.map → info-icon.0d0GzDe2.js.map} +1 -1
  126. package/dist/chunks/{input-field-password.CvKC9xjJ.js → input-field-password.CosL-n__.js} +32 -32
  127. package/dist/chunks/{input-field-password.CvKC9xjJ.js.map → input-field-password.CosL-n__.js.map} +1 -1
  128. package/dist/chunks/{input-field.Dgop3JWW.js → input-field.DgDFJbg7.js} +8 -8
  129. package/dist/chunks/{input-field.Dgop3JWW.js.map → input-field.DgDFJbg7.js.map} +1 -1
  130. package/dist/chunks/{inspector.types.j1usQ6FN.js → inspector.types.8071wkf0.js} +9 -9
  131. package/dist/chunks/{inspector.types.j1usQ6FN.js.map → inspector.types.8071wkf0.js.map} +1 -1
  132. package/dist/chunks/{layout-row.DAeZh7Rv.js → layout-row.BfS-cPky.js} +3 -3
  133. package/dist/chunks/{layout-row.DAeZh7Rv.js.map → layout-row.BfS-cPky.js.map} +1 -1
  134. package/dist/chunks/{link.B2DE2ryp.js → link.UOEUR35A.js} +2 -2
  135. package/dist/chunks/{link.B2DE2ryp.js.map → link.UOEUR35A.js.map} +1 -1
  136. package/dist/chunks/{listbox-option-tag.drC_50fU.js → listbox-option-tag.Co0ycEdQ.js} +3 -3
  137. package/dist/chunks/{listbox-option-tag.drC_50fU.js.map → listbox-option-tag.Co0ycEdQ.js.map} +1 -1
  138. package/dist/chunks/{menu.DCRfI10M.js → menu.Dq7RlryT.js} +12 -12
  139. package/dist/chunks/{menu.DCRfI10M.js.map → menu.Dq7RlryT.js.map} +1 -1
  140. package/dist/chunks/{modal-fullscreen.DgDk6uxS.js → modal-fullscreen.CfrgVR_K.js} +10 -10
  141. package/dist/chunks/{modal-fullscreen.DgDk6uxS.js.map → modal-fullscreen.CfrgVR_K.js.map} +1 -1
  142. package/dist/chunks/{modal.B7giFLek.js → modal.CuUUMIU_.js} +6 -6
  143. package/dist/chunks/{modal.B7giFLek.js.map → modal.CuUUMIU_.js.map} +1 -1
  144. package/dist/chunks/{pagination.Dc0VbxFL.js → pagination.QF1EEUfX.js} +48 -48
  145. package/dist/chunks/{pagination.Dc0VbxFL.js.map → pagination.QF1EEUfX.js.map} +1 -1
  146. package/dist/chunks/{payment-method.CoXB0ZAW.js → payment-method.UaERFtej.js} +2 -2
  147. package/dist/chunks/{payment-method.CoXB0ZAW.js.map → payment-method.UaERFtej.js.map} +1 -1
  148. package/dist/chunks/{popover.D8pR_dbl.js → popover.nev0GndY.js} +5 -5
  149. package/dist/chunks/{popover.D8pR_dbl.js.map → popover.nev0GndY.js.map} +1 -1
  150. package/dist/chunks/{popper-container.B9qZTf2V.js → popper-container.B1iB2ovW.js} +3 -3
  151. package/dist/chunks/{popper-container.B9qZTf2V.js.map → popper-container.B1iB2ovW.js.map} +1 -1
  152. package/dist/chunks/{promo-banner.Dd-JQMUD.js → promo-banner.BXtIM4C9.js} +7 -7
  153. package/dist/chunks/{promo-banner.Dd-JQMUD.js.map → promo-banner.BXtIM4C9.js.map} +1 -1
  154. package/dist/chunks/radio-group.D1q0VKvv.js +229 -0
  155. package/dist/chunks/radio-group.D1q0VKvv.js.map +1 -0
  156. package/dist/chunks/{radio-input.C1DZbkcT.js → radio-input.uJAhxKRs.js} +29 -25
  157. package/dist/chunks/{radio-input.C1DZbkcT.js.map → radio-input.uJAhxKRs.js.map} +1 -1
  158. package/dist/chunks/{search-bar.BN4grqVO.js → search-bar.fmMx-zRN.js} +7 -7
  159. package/dist/chunks/{search-bar.BN4grqVO.js.map → search-bar.fmMx-zRN.js.map} +1 -1
  160. package/dist/chunks/{secondary-nav.C8UE8xly.js → secondary-nav.ldVrzGbB.js} +5 -5
  161. package/dist/chunks/{secondary-nav.C8UE8xly.js.map → secondary-nav.ldVrzGbB.js.map} +1 -1
  162. package/dist/chunks/{segmented-control.C6HPgkVm.js → segmented-control.DL0W7lJ_.js} +4 -4
  163. package/dist/chunks/{segmented-control.C6HPgkVm.js.map → segmented-control.DL0W7lJ_.js.map} +1 -1
  164. package/dist/chunks/{selection-card-group.BT7FOlbF.js → selection-card-group.CdkrhyZV.js} +16 -16
  165. package/dist/chunks/{selection-card-group.BT7FOlbF.js.map → selection-card-group.CdkrhyZV.js.map} +1 -1
  166. package/dist/chunks/{sidepanel.PEMSN4Hj.js → sidepanel.D-KuHnwI.js} +14 -14
  167. package/dist/chunks/{sidepanel.PEMSN4Hj.js.map → sidepanel.D-KuHnwI.js.map} +1 -1
  168. package/dist/chunks/{status.types.B0jtv0c7.js → status.types.Ce018tQy.js} +18 -17
  169. package/dist/chunks/status.types.Ce018tQy.js.map +1 -0
  170. package/dist/chunks/{step.Dq4w23dP.js → step.BsIdWhaZ.js} +3 -3
  171. package/dist/chunks/{step.Dq4w23dP.js.map → step.BsIdWhaZ.js.map} +1 -1
  172. package/dist/chunks/{structured-list-item.-ch3UkPz.js → structured-list-item.Dk8Z-FPn.js} +9 -9
  173. package/dist/chunks/{structured-list-item.-ch3UkPz.js.map → structured-list-item.Dk8Z-FPn.js.map} +1 -1
  174. package/dist/chunks/{summary-grid-item-custom.CLVYmhnp.js → summary-grid-item-custom.atXX3GY9.js} +5 -5
  175. package/dist/chunks/{summary-grid-item-custom.CLVYmhnp.js.map → summary-grid-item-custom.atXX3GY9.js.map} +1 -1
  176. package/dist/chunks/{tabs.B0f1qiMR.js → tabs.9kObZry9.js} +4 -4
  177. package/dist/chunks/{tabs.B0f1qiMR.js.map → tabs.9kObZry9.js.map} +1 -1
  178. package/dist/chunks/{tag.d36UYSWd.js → tag.-YNhsBv7.js} +3 -3
  179. package/dist/chunks/{tag.d36UYSWd.js.map → tag.-YNhsBv7.js.map} +1 -1
  180. package/dist/chunks/{textarea.DORWuAZn.js → textarea.BVzGn3zO.js} +6 -6
  181. package/dist/chunks/{textarea.DORWuAZn.js.map → textarea.BVzGn3zO.js.map} +1 -1
  182. package/dist/chunks/{timeline-item.CUm_n51y.js → timeline-item.D_YNHlRi.js} +21 -21
  183. package/dist/chunks/{timeline-item.CUm_n51y.js.map → timeline-item.D_YNHlRi.js.map} +1 -1
  184. package/dist/chunks/{toast.DCaWC_wv.js → toast.DgJbW9CL.js} +4 -4
  185. package/dist/chunks/{toast.DCaWC_wv.js.map → toast.DgJbW9CL.js.map} +1 -1
  186. package/dist/chunks/{toggle-button.DJqs599a.js → toggle-button.Cf8C7p6e.js} +2 -2
  187. package/dist/chunks/{toggle-button.DJqs599a.js.map → toggle-button.Cf8C7p6e.js.map} +1 -1
  188. package/dist/chunks/{toggle.INRYdQzz.js → toggle.CnS7qszG.js} +3 -3
  189. package/dist/chunks/{toggle.INRYdQzz.js.map → toggle.CnS7qszG.js.map} +1 -1
  190. package/dist/chunks/{tooltip.CQGwmwt9.js → tooltip.R2sqydIE.js} +4 -4
  191. package/dist/chunks/{tooltip.CQGwmwt9.js.map → tooltip.R2sqydIE.js.map} +1 -1
  192. package/dist/chunks/{tutorial.B_8XNKvM.js → tutorial.cQXPvqV4.js} +15 -15
  193. package/dist/chunks/{tutorial.B_8XNKvM.js.map → tutorial.cQXPvqV4.js.map} +1 -1
  194. package/dist/chunks/{typography.Bu_WAKdf.js → typography.J1v_SPG3.js} +2 -1
  195. package/dist/chunks/{typography.Bu_WAKdf.js.map → typography.J1v_SPG3.js.map} +1 -1
  196. package/dist/chunks/{use-bento-toast-controller.BVVMh0wc.js → use-bento-toast-controller.Cn_2Eogn.js} +3 -3
  197. package/dist/chunks/{use-bento-toast-controller.BVVMh0wc.js.map → use-bento-toast-controller.Cn_2Eogn.js.map} +1 -1
  198. package/dist/chunks/{use-cached-selected-values.DJl7FKT5.js → use-cached-selected-values.BGlHmPhX.js} +26 -26
  199. package/dist/chunks/{use-cached-selected-values.DJl7FKT5.js.map → use-cached-selected-values.BGlHmPhX.js.map} +1 -1
  200. package/dist/chunks/{use-country-items.DPBbl1KK.js → use-country-items.eWARMT6I.js} +2 -2
  201. package/dist/chunks/{use-country-items.DPBbl1KK.js.map → use-country-items.eWARMT6I.js.map} +1 -1
  202. package/dist/code-snippet.js +1 -1
  203. package/dist/country.js +2 -2
  204. package/dist/currency.js +1 -1
  205. package/dist/dashboard-template.js +1 -1
  206. package/dist/dashed-underline.js +1 -1
  207. package/dist/data-grid-template.js +1 -1
  208. package/dist/data-grid.js +1 -1
  209. package/dist/date-picker.js +2 -2
  210. package/dist/date-range-picker.js +2 -2
  211. package/dist/date.js +1 -1
  212. package/dist/divider.js +1 -1
  213. package/dist/dropdown.js +4 -4
  214. package/dist/empty-state.js +1 -1
  215. package/dist/file-uploader.js +1 -1
  216. package/dist/filter-bar.js +1 -1
  217. package/dist/focus-trap.js +1 -1
  218. package/dist/form-layout.js +1 -1
  219. package/dist/header.js +1 -1
  220. package/dist/index.js +70 -70
  221. package/dist/index.js.map +1 -1
  222. package/dist/info-icon.js +1 -1
  223. package/dist/input-field-password.js +1 -1
  224. package/dist/input-field.js +1 -1
  225. package/dist/inspector.js +1 -1
  226. package/dist/internal.js +12 -12
  227. package/dist/layout.js +1 -1
  228. package/dist/link.js +1 -1
  229. package/dist/menu.js +1 -1
  230. package/dist/modal-fullscreen.js +1 -1
  231. package/dist/modal.js +2 -2
  232. package/dist/pagination.js +1 -1
  233. package/dist/payment-method.js +1 -1
  234. package/dist/popover.js +1 -1
  235. package/dist/popper-container.js +1 -1
  236. package/dist/promo-banner.js +1 -1
  237. package/dist/radio-group.js +2 -2
  238. package/dist/search-bar.js +2 -2
  239. package/dist/secondary-nav.js +1 -1
  240. package/dist/segmented-control.js +1 -1
  241. package/dist/selection-card.js +1 -1
  242. package/dist/sidepanel.js +1 -1
  243. package/dist/status.js +1 -1
  244. package/dist/stepper.js +1 -1
  245. package/dist/structured-list.js +1 -1
  246. package/dist/styles/bento-dark.css +1 -0
  247. package/dist/styles/bento-light.css +1 -0
  248. package/dist/styles/bento.css +1 -0
  249. package/dist/styles/legacy.css +1 -0
  250. package/dist/styles/styleguide.css +1 -0
  251. package/dist/summary-grid.js +1 -1
  252. package/dist/tabs.js +1 -1
  253. package/dist/tag.js +1 -1
  254. package/dist/textarea.js +1 -1
  255. package/dist/timeline.js +1 -1
  256. package/dist/toast.js +1 -1
  257. package/dist/toggle.js +1 -1
  258. package/dist/tutorial.js +1 -1
  259. package/dist/typography.js +1 -1
  260. package/dist/web-types.json +40 -1
  261. package/package.json +4 -3
  262. package/dist/chunks/date-picker.DFgjvQgX.js.map +0 -1
  263. package/dist/chunks/date-range-picker.BBC3TGYw.js.map +0 -1
  264. package/dist/chunks/divider.BZfeYmB9.js +0 -30
  265. package/dist/chunks/divider.BZfeYmB9.js.map +0 -1
  266. package/dist/chunks/es6.D11bE5vq.js.map +0 -1
  267. package/dist/chunks/radio-group.D5GEIgYv.js +0 -219
  268. package/dist/chunks/radio-group.D5GEIgYv.js.map +0 -1
  269. package/dist/chunks/status.types.B0jtv0c7.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"typography.Bu_WAKdf.js","sources":["../../../core/src/components/typography/typography.types.ts","../../src/utils/ts/dev-environment.ts","../../src/utils/ts/print-development-warning.ts","../../src/utils/ts/deprecate.ts","../../src/components/typography/typography.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoTypographyVariant {\n CAPTION = 'caption',\n BODY = 'body',\n /** @deprecated Use \"TITLE\" instead. */\n SUBTITLE = 'subtitle',\n TITLE = 'title',\n}\n\nexport enum BentoTypographyModifier {\n WIDE = 'wide',\n STRONGER = 'stronger',\n STRONGER_WIDE = 'stronger-wide',\n STRONGEST = 'strongest',\n STRONGEST_WIDE = 'strongest-wide',\n MEDIUM = 'm',\n LARGE = 'l',\n MOBILE = 'mobile',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoTypographyElement {\n H1 = 'h1',\n H2 = 'h2',\n H3 = 'h3',\n H4 = 'h4',\n H5 = 'h5',\n H6 = 'h6',\n DIV = 'div',\n PARAGRAPH = 'p',\n SPAN = 'span',\n}\n","const DEV_ENVIROMENT_NAMES = ['development', 'DEVELOPMENT', 'dev', 'DEV'];\n\nexport const isDevelopmentEnviroment = () => DEV_ENVIROMENT_NAMES.includes(process.env.NODE_ENV);\n","import { isDevelopmentEnviroment } from '@/utils/ts/dev-environment';\n\n/**\n * Prints console.warn messages in development mode only.\n *\n * @see console.warn for what parameters you can use\n */\n\nexport function printDevelopmentWarning(...args: Parameters<typeof console.warn>) {\n if (isDevelopmentEnviroment()) {\n // eslint-disable-next-line no-console\n console.warn(...args);\n }\n}\n","import { printDevelopmentWarning } from './print-development-warning';\n\nconst DEPRECATION_STYLES = ['color: red', 'background: yellow'].join(';');\nconst shownMessages = new Set<string>();\n\n/**\n * Informs users about the deprecations in development mode only.\n *\n * @param title Indicates what is being deprecated.\n * @param deprecationMessage How to avoid the deprecation by giving an example of the alternatives. Backticks can be used to multi-line the message.\n * @param toBeRemovedInVersion The version it will be removed. Must be in X.Y.Z format.\n */\nexport function deprecate(title: string, deprecationMessage: string, toBeRemovedInVersion: string) {\n // If the message is already showing, don't show it again\n if (!shownMessages.has(title)) {\n printDevelopmentWarning(`%cDEPRECATED:\\x1b[0m ${title}`, DEPRECATION_STYLES);\n // Format multi-line descriptions with the backtick\n printDevelopmentWarning(`${deprecationMessage.replaceAll(' ', '').trim()}`);\n printDevelopmentWarning(`To be removed in: %c${toBeRemovedInVersion}`, DEPRECATION_STYLES);\n shownMessages.add(title);\n }\n}\n\n/**\n * Reset shownMessages set\n *\n * @deprecated For testing purposes only. Do not use.\n */\nexport function resetShownMessages() {\n shownMessages.clear();\n}\n","<template>\n <component :is=\"el\" class=\"b-typography\" :class=\"conditionalClasses\" data-testid=\"typography\">\n <slot />\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted } from 'vue';\n import {\n BentoTypographyElement,\n BentoTypographyModifier,\n BentoTypographyVariant,\n } from '@/core/components/typography/typography.types';\n import { deprecate } from '@/utils/ts/deprecate';\n\n const props = defineProps({\n el: { default: BentoTypographyElement.PARAGRAPH },\n large: { type: Boolean, default: false },\n medium: { type: Boolean, default: false },\n richText: { type: Boolean },\n stronger: { type: Boolean, default: false },\n strongest: { type: Boolean, default: false },\n variant: { default: BentoTypographyVariant.BODY },\n wide: { type: Boolean, default: false }\n});\n\n if (props.variant === BentoTypographyVariant.SUBTITLE) {\n deprecate(\n 'BentoTypography \"subtitle\" variant (BentoTypographyVariant.SUBTITLE)',\n `Use the \"title\" or \"BentoTypographyVariant.TITLE\" variant and (optionally) combine it with a size property. e.g. medium / large.\n <bento-typography :variant=\"BentoTypographyVariant.TITLE\" medium>`,\n '2.0.0'\n );\n }\n\n const conditionalClasses = computed(() => ({\n // Rich text\n ['b-typography--rich-text']: props.richText,\n // Caption\n [`b-typography--${BentoTypographyVariant.CAPTION}`]: props.variant === BentoTypographyVariant.CAPTION,\n [`b-typography--${BentoTypographyVariant.CAPTION}-${BentoTypographyModifier.WIDE}`]:\n props.variant === BentoTypographyVariant.CAPTION && props.wide,\n [`b-typography--${BentoTypographyVariant.CAPTION}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.CAPTION && props.stronger,\n\n // Body\n [`b-typography--${BentoTypographyVariant.BODY}`]: props.variant === BentoTypographyVariant.BODY,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.WIDE}`]:\n props.variant === BentoTypographyVariant.BODY && props.wide,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.BODY && props.stronger,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.STRONGEST}`]:\n props.variant === BentoTypographyVariant.BODY && props.strongest,\n\n // Subtitle\n [`b-typography--${BentoTypographyVariant.SUBTITLE}`]: props.variant === BentoTypographyVariant.SUBTITLE,\n [`b-typography--${BentoTypographyVariant.SUBTITLE}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.SUBTITLE && props.stronger,\n\n // Title\n [`b-typography--${BentoTypographyVariant.TITLE}`]:\n props.variant === BentoTypographyVariant.TITLE && !props.medium && !props.large,\n [`b-typography--${BentoTypographyVariant.TITLE}-${BentoTypographyModifier.MEDIUM}`]:\n props.variant === BentoTypographyVariant.TITLE && props.medium,\n [`b-typography--${BentoTypographyVariant.TITLE}-${BentoTypographyModifier.LARGE}`]:\n props.variant === BentoTypographyVariant.TITLE && props.large,\n }));\n\n onMounted(() => {\n if (props.richText && props.el !== 'div') {\n throw new Error('Rich-text prop must be used with el=\"div\" for correct HTML semantics');\n }\n\n if (props.richText && props.variant === 'title') {\n throw new Error('Rich-text prop cannot be used with the title variant.');\n }\n\n if (props.richText && props.variant === 'subtitle') {\n throw new Error('Rich-text prop cannot be used with the subtitle variant.');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * The Typography component makes it easy to apply a default set of font weights, sizes and other text styles\n * easily to text. The variants and properties match with those found in Figma.\n *\n * For example, seeing text with the typography styling of\n *\n * @example\n * import { BentoTypography } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoTypography },\n * template: `\n * <bento-typography>\n * ... text content\n * </bento-typography>\n * `\n * }\n */\n export default {\n name: 'bento-typography',\n inheritAttrs: true,\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"@/core/components/typography/typography.scss\" />\n"],"names":["BentoTypographyVariant","BentoTypographyVariant2","BentoTypographyModifier","BentoTypographyModifier2","BentoTypographyElement","BentoTypographyElement2","DEV_ENVIROMENT_NAMES","isDevelopmentEnviroment","printDevelopmentWarning","args","DEPRECATION_STYLES","shownMessages","deprecate","title","deprecationMessage","toBeRemovedInVersion","__default__","props","conditionalClasses","computed","onMounted"],"mappings":";;;AAGY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,OAAA,QAEAA,EAAA,WAAA,YACAA,EAAA,QAAA,SALQA,IAAAD,KAAA,CAAA,CAAA,GAQAE,IAAA,kBAAAC,OACRA,EAAA,OAAA,QACAA,EAAA,WAAA,YACAA,EAAA,gBAAA,iBACAA,EAAA,YAAA,aACAA,EAAA,iBAAA,kBACAA,EAAA,SAAA,KACAA,EAAA,QAAA,KACAA,EAAA,SAAA,UARQA,IAAAD,KAAA,CAAA,CAAA,GAcAE,IAAA,kBAAAC,OACRA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,KAAA,MACAA,EAAA,MAAA,OACAA,EAAA,YAAA,KACAA,EAAA,OAAA,QATQA,IAAAD,KAAA,CAAA,CAAA;ACzBZ,MAAAE,IAAA,CAAA,eAAA,eAAA,OAAA,KAAA,GAEOC,IAAA,MAAAD,EAAA,SAAA,QAAA,IAAA,QAAA;ACMA,SAAAE,KAAAC,GAAA;AACH,EAAAF,EAAA,KAEI,QAAA,KAAA,GAAAE,CAAA;AAER;ACXA,MAAAC,IAAA,CAAA,cAAA,oBAAA,EAAA,KAAA,GAAA,G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CAAA,iBAAAjB,EAAA,QAAA,EAAA,GAAAiB,EAAA,YAAAjB,EAAA;AAAA,MAGoC,CAAA,iBAAAA,EAAA,QAAA,IAAAE,EAAA,QAAA,EAAA,GAAAe,EAAA,YAAAjB,EAAA,YAAAiB,EAAA;AAAA;AAAA,MAEhC,CAAA,iBAAAjB,EAAA,KAAA,EAAA,GAAAiB,EAAA,YAAAjB,EAAA,SAAA,CAAAiB,EAAA,UAAA,CAAAA,EAAA;AAAA,MAIe,CAAA,iBAAAjB,EAAA,KAAA,IAAAE,EAAA,MAAA,EAAA,GAAAe,EAAA,YAAAjB,EAAA,SAAAiB,EAAA;AAAA,MAElB,CAAA,iBAAAjB,EAAA,KAAA,IAAAE,EAAA,KAAA,EAAA,GAAAe,EAAA,YAAAjB,EAAA,SAAAiB,EAAA;AAAA,IAEA,EAAA;AAGhE,WAAAG,EAAA,MAAA;AACI,UAAAH,EAAA,YAAAA,EAAA,OAAA;AACI,cAAA,IAAA,MAAA,sEAAA;AAGJ,UAAAA,EAAA,YAAAA,EAAA,YAAA;AACI,cAAA,IAAA,MAAA,uDAAA;AAGJ,UAAAA,EAAA,YAAAA,EAAA,YAAA;AACI,cAAA,IAAA,MAAA,0DAAA;AAAA,IACJ,CAAA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"typography.J1v_SPG3.js","sources":["../../../core/src/components/typography/typography.types.ts","../../src/utils/ts/dev-environment.ts","../../src/utils/ts/print-development-warning.ts","../../src/utils/ts/deprecate.ts","../../src/components/typography/typography.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoTypographyVariant {\n CAPTION = 'caption',\n BODY = 'body',\n /** @deprecated Use \"TITLE\" instead. */\n SUBTITLE = 'subtitle',\n TITLE = 'title',\n}\n\nexport enum BentoTypographyModifier {\n WIDE = 'wide',\n STRONGER = 'stronger',\n STRONGER_WIDE = 'stronger-wide',\n STRONGEST = 'strongest',\n STRONGEST_WIDE = 'strongest-wide',\n MEDIUM = 'm',\n LARGE = 'l',\n MOBILE = 'mobile',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoTypographyElement {\n H1 = 'h1',\n H2 = 'h2',\n H3 = 'h3',\n H4 = 'h4',\n H5 = 'h5',\n H6 = 'h6',\n DIV = 'div',\n PARAGRAPH = 'p',\n SPAN = 'span',\n}\n","const DEV_ENVIROMENT_NAMES = ['development', 'DEVELOPMENT', 'dev', 'DEV'];\n\nexport const isDevelopmentEnviroment = () => DEV_ENVIROMENT_NAMES.includes(process.env.NODE_ENV);\n","import { isDevelopmentEnviroment } from '@/utils/ts/dev-environment';\n\n/**\n * Prints console.warn messages in development mode only.\n *\n * @see console.warn for what parameters you can use\n */\n\nexport function printDevelopmentWarning(...args: Parameters<typeof console.warn>) {\n if (isDevelopmentEnviroment()) {\n // eslint-disable-next-line no-console\n console.warn(...args);\n }\n}\n","import { printDevelopmentWarning } from './print-development-warning';\n\nconst DEPRECATION_STYLES = ['color: red', 'background: yellow'].join(';');\nconst shownMessages = new Set<string>();\n\n/**\n * Informs users about the deprecations in development mode only.\n *\n * @param title Indicates what is being deprecated.\n * @param deprecationMessage How to avoid the deprecation by giving an example of the alternatives. Backticks can be used to multi-line the message.\n * @param toBeRemovedInVersion The version it will be removed. Must be in X.Y.Z format.\n */\nexport function deprecate(title: string, deprecationMessage: string, toBeRemovedInVersion: string) {\n // If the message is already showing, don't show it again\n if (!shownMessages.has(title)) {\n printDevelopmentWarning(`%cDEPRECATED:\\x1b[0m ${title}`, DEPRECATION_STYLES);\n // Format multi-line descriptions with the backtick\n printDevelopmentWarning(`${deprecationMessage.replaceAll(' ', '').trim()}`);\n printDevelopmentWarning(`To be removed in: %c${toBeRemovedInVersion}`, DEPRECATION_STYLES);\n shownMessages.add(title);\n }\n}\n\n/**\n * Reset shownMessages set\n *\n * @deprecated For testing purposes only. Do not use.\n */\nexport function resetShownMessages() {\n shownMessages.clear();\n}\n","<template>\n <component :is=\"el\" class=\"b-typography\" :class=\"conditionalClasses\" data-testid=\"typography\">\n <slot />\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted } from 'vue';\n import {\n BentoTypographyElement,\n BentoTypographyModifier,\n BentoTypographyVariant,\n } from '@/core/components/typography/typography.types';\n import { deprecate } from '@/utils/ts/deprecate';\n\n const props = defineProps({\n el: { default: BentoTypographyElement.PARAGRAPH },\n large: { type: Boolean, default: false },\n medium: { type: Boolean, default: false },\n richText: { type: Boolean },\n stronger: { type: Boolean, default: false },\n strongest: { type: Boolean, default: false },\n variant: { default: BentoTypographyVariant.BODY },\n wide: { type: Boolean, default: false }\n});\n\n if (props.variant === BentoTypographyVariant.SUBTITLE) {\n deprecate(\n 'BentoTypography \"subtitle\" variant (BentoTypographyVariant.SUBTITLE)',\n `Use the \"title\" or \"BentoTypographyVariant.TITLE\" variant and (optionally) combine it with a size property. e.g. medium / large.\n <bento-typography :variant=\"BentoTypographyVariant.TITLE\" medium>`,\n '2.0.0'\n );\n }\n\n const conditionalClasses = computed(() => ({\n // Rich text\n ['b-typography--rich-text']: props.richText,\n // Caption\n [`b-typography--${BentoTypographyVariant.CAPTION}`]: props.variant === BentoTypographyVariant.CAPTION,\n [`b-typography--${BentoTypographyVariant.CAPTION}-${BentoTypographyModifier.WIDE}`]:\n props.variant === BentoTypographyVariant.CAPTION && props.wide,\n [`b-typography--${BentoTypographyVariant.CAPTION}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.CAPTION && props.stronger,\n\n // Body\n [`b-typography--${BentoTypographyVariant.BODY}`]: props.variant === BentoTypographyVariant.BODY,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.WIDE}`]:\n props.variant === BentoTypographyVariant.BODY && props.wide,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.BODY && props.stronger,\n [`b-typography--${BentoTypographyVariant.BODY}-${BentoTypographyModifier.STRONGEST}`]:\n props.variant === BentoTypographyVariant.BODY && props.strongest,\n\n // Subtitle\n [`b-typography--${BentoTypographyVariant.SUBTITLE}`]: props.variant === BentoTypographyVariant.SUBTITLE,\n [`b-typography--${BentoTypographyVariant.SUBTITLE}-${BentoTypographyModifier.STRONGER}`]:\n props.variant === BentoTypographyVariant.SUBTITLE && props.stronger,\n\n // Title\n [`b-typography--${BentoTypographyVariant.TITLE}`]:\n props.variant === BentoTypographyVariant.TITLE && !props.medium && !props.large,\n [`b-typography--${BentoTypographyVariant.TITLE}-${BentoTypographyModifier.MEDIUM}`]:\n props.variant === BentoTypographyVariant.TITLE && props.medium,\n [`b-typography--${BentoTypographyVariant.TITLE}-${BentoTypographyModifier.LARGE}`]:\n props.variant === BentoTypographyVariant.TITLE && props.large,\n }));\n\n onMounted(() => {\n if (props.richText && props.el !== 'div') {\n throw new Error('Rich-text prop must be used with el=\"div\" for correct HTML semantics');\n }\n\n if (props.richText && props.variant === 'title') {\n throw new Error('Rich-text prop cannot be used with the title variant.');\n }\n\n if (props.richText && props.variant === 'subtitle') {\n throw new Error('Rich-text prop cannot be used with the subtitle variant.');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * The Typography component makes it easy to apply a default set of font weights, sizes and other text styles\n * easily to text. The variants and properties match with those found in Figma.\n *\n * For example, seeing text with the typography styling of\n *\n * @example\n * import { BentoTypography } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoTypography },\n * template: `\n * <bento-typography>\n * ... text content\n * </bento-typography>\n * `\n * }\n */\n export default {\n name: 'bento-typography',\n inheritAttrs: true,\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"@/core/components/typography/typography.scss\" />\n"],"names":["BentoTypographyVariant","BentoTypographyVariant2","BentoTypographyModifier","BentoTypographyModifier2","BentoTypographyElement","BentoTypographyElement2","DEV_ENVIROMENT_NAMES","isDevelopmentEnviroment","printDevelopmentWarning","args","DEPRECATION_STYLES","shownMessages","deprecate","title","deprec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SAAAiB,EAAA;AAAA,MAElB,CAAA,iBAAAjB,EAAA,KAAA,IAAAE,EAAA,KAAA,EAAA,GAAAe,EAAA,YAAAjB,EAAA,SAAAiB,EAAA;AAAA,IAEA,EAAA;AAGhE,WAAAG,EAAA,MAAA;AACI,UAAAH,EAAA,YAAAA,EAAA,OAAA;AACI,cAAA,IAAA,MAAA,sEAAA;AAGJ,UAAAA,EAAA,YAAAA,EAAA,YAAA;AACI,cAAA,IAAA,MAAA,uDAAA;AAGJ,UAAAA,EAAA,YAAAA,EAAA,YAAA;AACI,cAAA,IAAA,MAAA,0DAAA;AAAA,IACJ,CAAA;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  import { ref as n, computed as i, getCurrentInstance as c, readonly as u } from "vue";
2
2
  import "./index.Cl4_42j5.js";
3
- import { p as d } from "./typography.Bu_WAKdf.js";
4
- import { g as m } from "./generate-uid.D-HFI38h.js";
3
+ import { p as d } from "./typography.J1v_SPG3.js";
4
+ import { g as m } from "./generate-uid.NJ8tVoha.js";
5
5
  const a = (t, s) => {
6
6
  const e = t.value.findIndex((o) => o.id === s);
7
7
  e !== -1 && t.value.splice(e, 1);
@@ -49,4 +49,4 @@ export {
49
49
  f as t,
50
50
  v as u
51
51
  };
52
- //# sourceMappingURL=use-bento-toast-controller.BVVMh0wc.js.map
52
+ //# sourceMappingURL=use-bento-toast-controller.Cn_2Eogn.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-bento-toast-controller.BVVMh0wc.js","sources":["../../src/composables/use-bento-toast-controller/toast-stack.ts","../../src/composables/use-bento-toast-controller/use-bento-toast-controller.ts"],"sourcesContent":["import { computed, ref, type Ref } from 'vue';\nimport { generateUid } from '@/core/utils/ts';\nimport type { BentoToastItemsList, ToastStack } from './use-bento-toast-controller.types';\n\nconst dismissToast: (stack: Ref<BentoToastItemsList>, id: string) => void = (stack, id) => {\n const toastIndex = stack.value.findIndex(toast => toast.id === id);\n if (toastIndex !== -1) {\n stack.value.splice(toastIndex, 1);\n }\n};\n\nexport const toastStackInjectionKey = Symbol('toast-stack');\n\n/**\n * This utility creates a global reactive state to add new toasts and keep track of them.\n * @returns {ToastStack} An object that contains reactive stack property with all add toasts and a function to add new toasts\n */\nexport const createToastStack: () => ToastStack = () => {\n const stack = ref<BentoToastItemsList>([]);\n\n const addToast = params => {\n const id = generateUid('toast');\n const toast = {\n ...params,\n id,\n dismiss: () => dismissToast(stack, id),\n };\n\n stack.value.unshift(toast);\n\n return {\n dismiss: () => dismissToast(stack, id),\n };\n };\n\n return {\n // Even though stack is a reactive property, its content suppose to be only changed from this module.\n // For this reason we return \"stack\" as readonly prop, but also return methods that can affect \"stack\" content.\n stack: computed(() => Object.freeze(Array.from(stack.value))),\n /**\n * A function that allows to add new toasts\n * @param {Object} params Toast parameters\n * @param {String} params.text A text to display inside the toast\n * @param {Object} [params.action] An object that defines action parameters for the toast\n * @param {String} params.action.text An action button text\n * @param {Function} params.action.handler A callback that would be called when action button is clicked\n * @return {Object} An object that includes \"dismiss\" function to programatically dismiss the toast\n */\n addToast,\n };\n};\n","import { getCurrentInstance, inject, readonly, ref } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport { printDevelopmentWarning } from '../../utils/ts/print-development-warning';\nimport { toastStackInjectionKey } from './toast-stack';\nimport { UseBentoToastController } from './use-bento-toast-controller.types';\n\nexport function useBentoToastController(): UseBentoToastController {\n const toastStack = isVue2\n ? getCurrentInstance()?.proxy[toastStackInjectionKey]\n : inject(toastStackInjectionKey, null);\n if (!toastStack) {\n printDevelopmentWarning('Toast does not work without Vue.use(BentoPlugin, { withToast: true })');\n // Return placeholder functions so client code won't brake, but Toasts just won't show up\n return {\n stack: readonly(ref([])),\n addToast: () => ({\n // eslint-disable-next-line @typescript-eslint/no-empty-function -- intentional empty function explained by the comment above\n dismiss: () => {},\n }),\n };\n }\n // Return a new object so unintentional reassigning its properties won't override a global state\n return { ...toastStack };\n}\n"],"names":["dismissToast","stack","id","toastIndex","toast","toastStackInjectionKey","createToastStack","ref","addToast","params","generateUid","computed","useBentoToastController","toastStack","_a","getCurrentInstance","printDevelopmentWarning","readonly"],"mappings":";;;;AAIA,MAAMA,IAAsE,CAACC,GAAOC,MAAO;AACvF,QAAMC,IAAaF,EAAM,MAAM,UAAU,CAASG,MAAAA,EAAM,OAAOF,CAAE;AACjE,EAAIC,MAAe,MACTF,EAAA,MAAM,OAAOE,GAAY,CAAC;AAExC,GAEaE,IAAyB,OAAO,aAAa,GAM7CC,IAAqC,MAAM;AAC9C,QAAAL,IAAQM,EAAyB,EAAE,GAEnCC,IAAW,CAAUC,MAAA;AACjB,UAAAP,IAAKQ,EAAY,OAAO,GACxBN,IAAQ;AAAA,MACV,GAAGK;AAAA,MACH,IAAAP;AAAA,MACA,SAAS,MAAMF,EAAaC,GAAOC,CAAE;AAAA,IACzC;AAEM,WAAAD,EAAA,MAAM,QAAQG,CAAK,GAElB;AAAA,MACH,SAAS,MAAMJ,EAAaC,GAAOC,CAAE;AAAA,IACzC;AAAA,EACJ;AAEO,SAAA;AAAA;AAAA;AAAA,IAGH,OAAOS,EAAS,MAAM,OAAO,OAAO,MAAM,KAAKV,EAAM,KAAK,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAU5D,UAAAO;AAAA,EACJ;AACJ;AC5CO,SAASI,IAAmD;;AACzD,QAAAC,KACAC,IAAAC,EAAmB,MAAnB,gBAAAD,EAAsB,MAAMT;AAElC,SAAKQ,IAYE,EAAE,GAAGA,EAAW,KAXnBG,EAAwB,uEAAuE,GAExF;AAAA,IACH,OAAOC,EAASV,EAAI,CAAA,CAAE,CAAC;AAAA,IACvB,UAAU,OAAO;AAAA;AAAA,MAEb,SAAS,MAAM;AAAA,MAAA;AAAA,IACnB;AAAA,EACJ;AAIR;"}
1
+ {"version":3,"file":"use-bento-toast-controller.Cn_2Eogn.js","sources":["../../src/composables/use-bento-toast-controller/toast-stack.ts","../../src/composables/use-bento-toast-controller/use-bento-toast-controller.ts"],"sourcesContent":["import { computed, ref, type Ref } from 'vue';\nimport { generateUid } from '@/core/utils/ts';\nimport type { BentoToastItemsList, ToastStack } from './use-bento-toast-controller.types';\n\nconst dismissToast: (stack: Ref<BentoToastItemsList>, id: string) => void = (stack, id) => {\n const toastIndex = stack.value.findIndex(toast => toast.id === id);\n if (toastIndex !== -1) {\n stack.value.splice(toastIndex, 1);\n }\n};\n\nexport const toastStackInjectionKey = Symbol('toast-stack');\n\n/**\n * This utility creates a global reactive state to add new toasts and keep track of them.\n * @returns {ToastStack} An object that contains reactive stack property with all add toasts and a function to add new toasts\n */\nexport const createToastStack: () => ToastStack = () => {\n const stack = ref<BentoToastItemsList>([]);\n\n const addToast = params => {\n const id = generateUid('toast');\n const toast = {\n ...params,\n id,\n dismiss: () => dismissToast(stack, id),\n };\n\n stack.value.unshift(toast);\n\n return {\n dismiss: () => dismissToast(stack, id),\n };\n };\n\n return {\n // Even though stack is a reactive property, its content suppose to be only changed from this module.\n // For this reason we return \"stack\" as readonly prop, but also return methods that can affect \"stack\" content.\n stack: computed(() => Object.freeze(Array.from(stack.value))),\n /**\n * A function that allows to add new toasts\n * @param {Object} params Toast parameters\n * @param {String} params.text A text to display inside the toast\n * @param {Object} [params.action] An object that defines action parameters for the toast\n * @param {String} params.action.text An action button text\n * @param {Function} params.action.handler A callback that would be called when action button is clicked\n * @return {Object} An object that includes \"dismiss\" function to programatically dismiss the toast\n */\n addToast,\n };\n};\n","import { getCurrentInstance, inject, readonly, ref } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport { printDevelopmentWarning } from '../../utils/ts/print-development-warning';\nimport { toastStackInjectionKey } from './toast-stack';\nimport { UseBentoToastController } from './use-bento-toast-controller.types';\n\nexport function useBentoToastController(): UseBentoToastController {\n const toastStack = isVue2\n ? getCurrentInstance()?.proxy[toastStackInjectionKey]\n : inject(toastStackInjectionKey, null);\n if (!toastStack) {\n printDevelopmentWarning('Toast does not work without Vue.use(BentoPlugin, { withToast: true })');\n // Return placeholder functions so client code won't brake, but Toasts just won't show up\n return {\n stack: readonly(ref([])),\n addToast: () => ({\n // eslint-disable-next-line @typescript-eslint/no-empty-function -- intentional empty function explained by the comment above\n dismiss: () => {},\n }),\n };\n }\n // Return a new object so unintentional reassigning its properties won't override a global state\n return { ...toastStack };\n}\n"],"names":["dismissToast","stack","id","toastIndex","toast","toastStackInjectionKey","createToastStack","ref","addToast","params","generateUid","computed","useBentoToastController","toastStack","_a","getCurrentInstance","printDevelopmentWarning","readonly"],"mappings":";;;;AAIA,MAAMA,IAAsE,CAACC,GAAOC,MAAO;AACvF,QAAMC,IAAaF,EAAM,MAAM,UAAU,CAASG,MAAAA,EAAM,OAAOF,CAAE;AACjE,EAAIC,MAAe,MACTF,EAAA,MAAM,OAAOE,GAAY,CAAC;AAExC,GAEaE,IAAyB,OAAO,aAAa,GAM7CC,IAAqC,MAAM;AAC9C,QAAAL,IAAQM,EAAyB,EAAE,GAEnCC,IAAW,CAAUC,MAAA;AACjB,UAAAP,IAAKQ,EAAY,OAAO,GACxBN,IAAQ;AAAA,MACV,GAAGK;AAAA,MACH,IAAAP;AAAA,MACA,SAAS,MAAMF,EAAaC,GAAOC,CAAE;AAAA,IACzC;AAEM,WAAAD,EAAA,MAAM,QAAQG,CAAK,GAElB;AAAA,MACH,SAAS,MAAMJ,EAAaC,GAAOC,CAAE;AAAA,IACzC;AAAA,EACJ;AAEO,SAAA;AAAA;AAAA;AAAA,IAGH,OAAOS,EAAS,MAAM,OAAO,OAAO,MAAM,KAAKV,EAAM,KAAK,CAAC,CAAC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAU5D,UAAAO;AAAA,EACJ;AACJ;AC5CO,SAASI,IAAmD;;AACzD,QAAAC,KACAC,IAAAC,EAAmB,MAAnB,gBAAAD,EAAsB,MAAMT;AAElC,SAAKQ,IAYE,EAAE,GAAGA,EAAW,KAXnBG,EAAwB,uEAAuE,GAExF;AAAA,IACH,OAAOC,EAASV,EAAI,CAAA,CAAE,CAAC;AAAA,IACvB,UAAU,OAAO;AAAA;AAAA,MAEb,SAAS,MAAM;AAAA,MAAA;AAAA,IACnB;AAAA,EACJ;AAIR;"}
@@ -1,17 +1,17 @@
1
1
  import { computed as c, ref as O, onMounted as te, onUnmounted as _e, watch as se, defineComponent as $, toRef as G } from "vue";
2
- import { B as w } from "./typography.Bu_WAKdf.js";
2
+ import { B as w } from "./typography.J1v_SPG3.js";
3
3
  import { B as ge } from "./loading-indicator.z8COalOc.js";
4
- import { B as ye } from "./empty-state.B6wjtgR0.js";
4
+ import { B as ye } from "./empty-state.1TyzB5ju.js";
5
5
  import { u as Y } from "./i18n.BQkEbtPM.js";
6
6
  import { d as pe } from "./debounce.DUTu11PS.js";
7
- import { n as D } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
8
- import { B as k, a as X } from "./keyboard-navigation.Clz1jOaA.js";
9
- import { B as J } from "./checkbox.CcwY2CMn.js";
7
+ import { B as X } from "./checkbox.O1CbmNdS.js";
10
8
  import "./index.Cl4_42j5.js";
11
- import { C as Ce, a as Se } from "./chevron-up.B2uWhZf7.js";
12
- import { B as he } from "./base-button.BeMKxkgK.js";
13
- import { C as xe } from "./cross-small.BLUwtRB-.js";
14
- import { d as Ee, e as Z } from "./button-actions.BaypoF5i.js";
9
+ import { B as Ce } from "./base-button.-gx_u8Bd.js";
10
+ import { C as Se } from "./cross-small.BLUwtRB-.js";
11
+ import { n as D } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
12
+ import { C as he, a as xe } from "./chevron-up.DVfo78kV.js";
13
+ import { B as k, a as J } from "./keyboard-navigation.Clz1jOaA.js";
14
+ import { d as Ee, e as Z } from "./button-actions.BU173IFE.js";
15
15
  import { o as Le } from "./resize.Bqks3WUm.js";
16
16
  import "../assets/use-cached-selected-values.css";
17
17
  const le = (t, e, s, l) => {
@@ -329,7 +329,7 @@ const qe = Ye.exports, ne = ({ items: t, isOptionDisabled: e, hasStaticCategorie
329
329
  BentoListboxSingleSelectCategory: Be,
330
330
  BentoListboxSingleSelectOption: qe
331
331
  },
332
- directives: { BentoKeyboardNavigationDirective: X },
332
+ directives: { BentoKeyboardNavigationDirective: J },
333
333
  inheritAttrs: !1,
334
334
  props: {
335
335
  /**
@@ -465,11 +465,11 @@ const Je = {
465
465
  i18n: { messages: Je },
466
466
  name: "bento-listbox-multi-select-category",
467
467
  components: {
468
- BentoCheckbox: J,
468
+ BentoCheckbox: X,
469
469
  BentoTypography: w,
470
470
  BentoListboxOption: q,
471
- ChevronDownIcon: Ce,
472
- ChevronUpIcon: Se
471
+ ChevronDownIcon: xe,
472
+ ChevronUpIcon: he
473
473
  },
474
474
  props: {
475
475
  /**
@@ -592,7 +592,7 @@ var N = /* @__PURE__ */ ((t) => (t.SELECT_CATEGORY = "select-category", t.TOGGLE
592
592
  const lt = $({
593
593
  name: "listbox-multi-select-options",
594
594
  components: {
595
- BentoCheckbox: J,
595
+ BentoCheckbox: X,
596
596
  BentoListboxOption: q,
597
597
  BentoTypography: w,
598
598
  ListboxMultiSelectCategory: st
@@ -712,11 +712,11 @@ const it = ot.exports, ct = {
712
712
  "en-US": {
713
713
  remove: "Remove"
714
714
  },
715
- "pt-BR": {
716
- remove: "Remover"
717
- },
718
715
  "ja-JP": {
719
716
  remove: "削除"
717
+ },
718
+ "pt-BR": {
719
+ remove: "Remover"
720
720
  }
721
721
  }, rt = {
722
722
  i18n: { messages: ct }
@@ -746,7 +746,7 @@ const it = ot.exports, ct = {
746
746
  emits: ["unselect-item", "unselect-category"],
747
747
  setup(t, { emit: e }) {
748
748
  const { t: s } = Y();
749
- return { __sfc: !0, emit: e, t: s, unselectOption: (n) => n.items ? e("unselect-category", n) : e("unselect-item", n), BentoTypography: w, BaseButton: he, CrossSmallIcon: xe };
749
+ return { __sfc: !0, emit: e, t: s, unselectOption: (n) => n.items ? e("unselect-category", n) : e("unselect-item", n), BentoTypography: w, BaseButton: Ce, CrossSmallIcon: Se };
750
750
  }
751
751
  });
752
752
  var dt = function() {
@@ -789,13 +789,13 @@ const vt = mt.exports, ft = {
789
789
  i18n: { messages: ft },
790
790
  name: "bento-listbox-multi-select",
791
791
  components: {
792
- BentoCheckbox: J,
792
+ BentoCheckbox: X,
793
793
  BentoListboxOption: q,
794
794
  BentoTypography: w,
795
795
  ListboxMultiSelectOptions: it,
796
796
  ListboxMultiSelectChips: vt
797
797
  },
798
- directives: { BentoKeyboardNavigationDirective: X },
798
+ directives: { BentoKeyboardNavigationDirective: J },
799
799
  props: {
800
800
  /**
801
801
  * Indicates whether there are more items to load
@@ -1020,13 +1020,13 @@ const ee = Ct.exports, St = {
1020
1020
  loading: "Loading",
1021
1021
  showMore: "Show more"
1022
1022
  },
1023
- "pt-BR": {
1024
- loading: "Carregando",
1025
- showMore: "Mostrar mais"
1026
- },
1027
1023
  "ja-JP": {
1028
1024
  loading: "読み込み中",
1029
1025
  showMore: "表示内容を増やす"
1026
+ },
1027
+ "pt-BR": {
1028
+ loading: "Carregando",
1029
+ showMore: "Mostrar mais"
1030
1030
  }
1031
1031
  }, ht = 36, xt = $({
1032
1032
  name: "bento-listbox",
@@ -1038,7 +1038,7 @@ const ee = Ct.exports, St = {
1038
1038
  BentoLoadingIndicator: ge,
1039
1039
  BentoLoadingButton: Ee
1040
1040
  },
1041
- directives: { BentoKeyboardNavigationDirective: X },
1041
+ directives: { BentoKeyboardNavigationDirective: J },
1042
1042
  i18n: { messages: St },
1043
1043
  props: {
1044
1044
  /**
@@ -1298,4 +1298,4 @@ export {
1298
1298
  Vt as c,
1299
1299
  _t as u
1300
1300
  };
1301
- //# sourceMappingURL=use-cached-selected-values.DJl7FKT5.js.map
1301
+ //# sourceMappingURL=use-cached-selected-values.BGlHmPhX.js.map