@adyen/bento-vue2 2.0.1-rc.0 → 2.1.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 (354) hide show
  1. package/README.md +2 -2
  2. package/dist/@types/index.d.ts +114 -82
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/ai-tag.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/anchor-scroller.js +1 -1
  8. package/dist/assets/accordion-item.css +1 -1
  9. package/dist/assets/action-bar.css +1 -1
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/button-actions.css +1 -1
  12. package/dist/assets/button.css +1 -1
  13. package/dist/assets/calendar.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/checkbox.css +1 -1
  16. package/dist/assets/chip.css +1 -1
  17. package/dist/assets/currency.css +1 -1
  18. package/dist/assets/data-grid.css +1 -1
  19. package/dist/assets/date-range-picker.css +1 -1
  20. package/dist/assets/dialog-page.css +1 -1
  21. package/dist/assets/draggable.css +1 -1
  22. package/dist/assets/dropdown.css +1 -1
  23. package/dist/assets/file-uploader.css +1 -1
  24. package/dist/assets/filter-bar.css +1 -1
  25. package/dist/assets/header-with-views.css +1 -1
  26. package/dist/assets/input-field.css +1 -1
  27. package/dist/assets/input-time.css +1 -1
  28. package/dist/assets/inspector.css +1 -1
  29. package/dist/assets/modal-fullscreen.css +1 -1
  30. package/dist/assets/navigation-menu-group.css +1 -1
  31. package/dist/assets/pagination.css +1 -1
  32. package/dist/assets/rich-text-editor.css +1 -1
  33. package/dist/assets/search-bar.css +1 -1
  34. package/dist/assets/secondary-nav.css +1 -1
  35. package/dist/assets/selection-card-group.css +1 -1
  36. package/dist/assets/sidepanel.css +1 -1
  37. package/dist/assets/step.css +1 -1
  38. package/dist/assets/structured-list-item.css +1 -1
  39. package/dist/assets/tab.css +1 -1
  40. package/dist/assets/textarea.css +1 -1
  41. package/dist/assets/toggle.css +1 -1
  42. package/dist/assets/typography.css +1 -1
  43. package/dist/avatar.js +1 -1
  44. package/dist/button.js +3 -3
  45. package/dist/card.js +1 -1
  46. package/dist/checkbox.js +2 -2
  47. package/dist/chip.js +1 -1
  48. package/dist/chunks/{accordion-item.DOj7vqeL.js → accordion-item.C158YxId.js} +6 -6
  49. package/dist/chunks/{accordion-item.DOj7vqeL.js.map → accordion-item.C158YxId.js.map} +1 -1
  50. package/dist/chunks/{action-bar.KJSfr89B.js → action-bar.D29UQHoA.js} +15 -15
  51. package/dist/chunks/{action-bar.KJSfr89B.js.map → action-bar.D29UQHoA.js.map} +1 -1
  52. package/dist/chunks/{ai-button.BnFk5CzK.js → ai-button.qEaHYybv.js} +3 -3
  53. package/dist/chunks/{ai-button.BnFk5CzK.js.map → ai-button.qEaHYybv.js.map} +1 -1
  54. package/dist/chunks/{ai-tag.TLrUno9t.js → ai-tag.BLi-Xoh_.js} +3 -3
  55. package/dist/chunks/{ai-tag.TLrUno9t.js.map → ai-tag.BLi-Xoh_.js.map} +1 -1
  56. package/dist/chunks/{alert.DT6T5Uxb.js → alert.BddJPWMN.js} +70 -52
  57. package/dist/chunks/alert.BddJPWMN.js.map +1 -0
  58. package/dist/chunks/{anchor-scroller.BbvghQxZ.js → anchor-scroller.Clb_9RNz.js} +5 -5
  59. package/dist/chunks/{anchor-scroller.BbvghQxZ.js.map → anchor-scroller.Clb_9RNz.js.map} +1 -1
  60. package/dist/chunks/{avatar.CxPKc8Gy.js → avatar.BN4MI-42.js} +2 -2
  61. package/dist/chunks/{avatar.CxPKc8Gy.js.map → avatar.BN4MI-42.js.map} +1 -1
  62. package/dist/chunks/{base-button.DOhHyU7x.js → base-button.DYroENBg.js} +3 -3
  63. package/dist/chunks/{base-button.DOhHyU7x.js.map → base-button.DYroENBg.js.map} +1 -1
  64. package/dist/chunks/{base-modal.CGHkdr9t.js → base-modal._-Cc6jfi.js} +7 -7
  65. package/dist/chunks/{base-modal.CGHkdr9t.js.map → base-modal._-Cc6jfi.js.map} +1 -1
  66. package/dist/chunks/{button-actions-with-menu.CjTaZoYW.js → button-actions-with-menu.1vZJWN1K.js} +2 -2
  67. package/dist/chunks/{button-actions-with-menu.CjTaZoYW.js.map → button-actions-with-menu.1vZJWN1K.js.map} +1 -1
  68. package/dist/chunks/{button-actions.sLmpjWGK.js → button-actions.CdetBz3J.js} +9 -9
  69. package/dist/chunks/button-actions.CdetBz3J.js.map +1 -0
  70. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  71. package/dist/chunks/{button.DII5Ifwa.js → button.tsTeQRcP.js} +3 -3
  72. package/dist/chunks/{button.DII5Ifwa.js.map → button.tsTeQRcP.js.map} +1 -1
  73. package/dist/chunks/{calendar.BNRImpE_.js → calendar.BalfhApP.js} +308 -305
  74. package/dist/chunks/calendar.BalfhApP.js.map +1 -0
  75. package/dist/chunks/{card.DmnYYMmv.js → card.BhhC01dV.js} +8 -8
  76. package/dist/chunks/{card.DmnYYMmv.js.map → card.BhhC01dV.js.map} +1 -1
  77. package/dist/chunks/{checkbox-group.D1SE-hz6.js → checkbox-group.C-1v4X3c.js} +4 -4
  78. package/dist/chunks/{checkbox-group.D1SE-hz6.js.map → checkbox-group.C-1v4X3c.js.map} +1 -1
  79. package/dist/chunks/{checkbox.CyGdeEdp.js → checkbox.CnuIUi4-.js} +6 -6
  80. package/dist/chunks/{checkbox.CyGdeEdp.js.map → checkbox.CnuIUi4-.js.map} +1 -1
  81. package/dist/chunks/{chip.DRsJylWl.js → chip.Cc4f2vws.js} +14 -12
  82. package/dist/chunks/{chip.DRsJylWl.js.map → chip.Cc4f2vws.js.map} +1 -1
  83. package/dist/chunks/{code-snippet.BwswvtkY.js → code-snippet.Bkd8R0vf.js} +6 -6
  84. package/dist/chunks/{code-snippet.BwswvtkY.js.map → code-snippet.Bkd8R0vf.js.map} +1 -1
  85. package/dist/chunks/{controls-group.DUNvd6DZ.js → controls-group.Bku83Fm_.js} +3 -3
  86. package/dist/chunks/{controls-group.DUNvd6DZ.js.map → controls-group.Bku83Fm_.js.map} +1 -1
  87. package/dist/chunks/{copy.DSnfQU_F.js → copy.B12-P_8A.js} +4 -4
  88. package/dist/chunks/{copy.DSnfQU_F.js.map → copy.B12-P_8A.js.map} +1 -1
  89. package/dist/chunks/{country.UZbwr635.js → country._NpkT-91.js} +2 -2
  90. package/dist/chunks/{country.UZbwr635.js.map → country._NpkT-91.js.map} +1 -1
  91. package/dist/chunks/country.types.BCOrkmVK.js.map +1 -1
  92. package/dist/chunks/{currency.POwX-Trj.js → currency.BXsSGoWa.js} +4 -4
  93. package/dist/chunks/{currency.POwX-Trj.js.map → currency.BXsSGoWa.js.map} +1 -1
  94. package/dist/chunks/{dashboard-section.CowwqnVA.js → dashboard-section.yS2FNoIV.js} +3 -3
  95. package/dist/chunks/{dashboard-section.CowwqnVA.js.map → dashboard-section.yS2FNoIV.js.map} +1 -1
  96. package/dist/chunks/{dashed-underline.dNu0qaf7.js → dashed-underline.RcRbre03.js} +4 -4
  97. package/dist/chunks/{dashed-underline.dNu0qaf7.js.map → dashed-underline.RcRbre03.js.map} +1 -1
  98. package/dist/chunks/{data-grid-template.D5699UWb.js → data-grid-template.B5A9whlD.js} +4 -4
  99. package/dist/chunks/{data-grid-template.D5699UWb.js.map → data-grid-template.B5A9whlD.js.map} +1 -1
  100. package/dist/chunks/{data-grid.CN25cWaQ.js → data-grid.Pg5iM8CJ.js} +29 -29
  101. package/dist/chunks/{data-grid.CN25cWaQ.js.map → data-grid.Pg5iM8CJ.js.map} +1 -1
  102. package/dist/chunks/{date-picker.DhIMx1wH.js → date-picker.RFus1MVJ.js} +9 -9
  103. package/dist/chunks/{date-picker.DhIMx1wH.js.map → date-picker.RFus1MVJ.js.map} +1 -1
  104. package/dist/chunks/date-picker.types.Ckt7zxGy.js.map +1 -1
  105. package/dist/chunks/{date-range-picker.Cz6ijJAa.js → date-range-picker.B2B4hO6R.js} +411 -370
  106. package/dist/chunks/date-range-picker.B2B4hO6R.js.map +1 -0
  107. package/dist/chunks/date-range-picker.types.Ckt7zxGy.js.map +1 -1
  108. package/dist/chunks/{date-time-picker.CHELyYSN.js → date-time-picker.DJxDa81N.js} +6 -6
  109. package/dist/chunks/{date-time-picker.CHELyYSN.js.map → date-time-picker.DJxDa81N.js.map} +1 -1
  110. package/dist/chunks/{date.CPo8t1n9.js → date.P3Xx7JdV.js} +2 -2
  111. package/dist/chunks/{date.CPo8t1n9.js.map → date.P3Xx7JdV.js.map} +1 -1
  112. package/dist/chunks/{dialog-page.Bct3zOQO.js → dialog-page.DORdXmEm.js} +3 -3
  113. package/dist/chunks/{dialog-page.Bct3zOQO.js.map → dialog-page.DORdXmEm.js.map} +1 -1
  114. package/dist/chunks/{draggable-handle.C75v14oN.js → draggable-handle.BM07OVdH.js} +2 -2
  115. package/dist/chunks/{draggable-handle.C75v14oN.js.map → draggable-handle.BM07OVdH.js.map} +1 -1
  116. package/dist/chunks/{draggable.COHEAPF5.js → draggable.BczXedk7.js} +59 -56
  117. package/dist/chunks/draggable.BczXedk7.js.map +1 -0
  118. package/dist/chunks/{dropdown-tag.DKGloEzh.js → dropdown-tag.BmUNKoNw.js} +7 -7
  119. package/dist/chunks/{dropdown-tag.DKGloEzh.js.map → dropdown-tag.BmUNKoNw.js.map} +1 -1
  120. package/dist/chunks/{dropdown.QLkWJ9zk.js → dropdown.CpZQYisR.js} +10 -10
  121. package/dist/chunks/{dropdown.QLkWJ9zk.js.map → dropdown.CpZQYisR.js.map} +1 -1
  122. package/dist/chunks/{empty-state.CRdHhJLl.js → empty-state.L3DTfiY7.js} +4 -4
  123. package/dist/chunks/{empty-state.CRdHhJLl.js.map → empty-state.L3DTfiY7.js.map} +1 -1
  124. package/dist/chunks/{error-message.DKnoUezI.js → error-message.B-n8wzFo.js} +2 -2
  125. package/dist/chunks/{error-message.DKnoUezI.js.map → error-message.B-n8wzFo.js.map} +1 -1
  126. package/dist/chunks/es6.yPcTMnSH.js.map +1 -1
  127. package/dist/chunks/{field-label.CEp7WMYe.js → field-label.BQaDr37D.js} +3 -3
  128. package/dist/chunks/{field-label.CEp7WMYe.js.map → field-label.BQaDr37D.js.map} +1 -1
  129. package/dist/chunks/{file-uploader.2MeaNIlv.js → file-uploader.Bo17jWtf.js} +13 -14
  130. package/dist/chunks/{file-uploader.2MeaNIlv.js.map → file-uploader.Bo17jWtf.js.map} +1 -1
  131. package/dist/chunks/filter-bar.Bio9nf9V.js +3132 -0
  132. package/dist/chunks/filter-bar.Bio9nf9V.js.map +1 -0
  133. package/dist/chunks/{fixed-scroller.YC4bZifw.js → fixed-scroller.CHmrgoTQ.js} +2 -2
  134. package/dist/chunks/{fixed-scroller.YC4bZifw.js.map → fixed-scroller.CHmrgoTQ.js.map} +1 -1
  135. package/dist/chunks/{focus-trap.BDpcWIxI.js → focus-trap.fd6_d2EW.js} +2 -1
  136. package/dist/chunks/{focus-trap.BDpcWIxI.js.map → focus-trap.fd6_d2EW.js.map} +1 -1
  137. package/dist/chunks/{footer-actions.B5YZ95jM.js → footer-actions.B8f-gEQV.js} +4 -4
  138. package/dist/chunks/{footer-actions.B5YZ95jM.js.map → footer-actions.B8f-gEQV.js.map} +1 -1
  139. package/dist/chunks/{form-layout-group.D4T0Z5xk.js → form-layout-group.BSC2esG8.js} +2 -2
  140. package/dist/chunks/{form-layout-group.D4T0Z5xk.js.map → form-layout-group.BSC2esG8.js.map} +1 -1
  141. package/dist/chunks/{form-layout-title.BStxZj9d.js → form-layout-title.b2BMYjnl.js} +3 -3
  142. package/dist/chunks/{form-layout-title.BStxZj9d.js.map → form-layout-title.b2BMYjnl.js.map} +1 -1
  143. package/dist/chunks/{header-with-views.DQh7mz0T.js → header-with-views.BJCjvhem.js} +16 -16
  144. package/dist/chunks/{header-with-views.DQh7mz0T.js.map → header-with-views.BJCjvhem.js.map} +1 -1
  145. package/dist/chunks/{header.DeRBttdY.js → header.CDiold9n.js} +5 -5
  146. package/dist/chunks/{header.DeRBttdY.js.map → header.CDiold9n.js.map} +1 -1
  147. package/dist/chunks/{info-icon-with-popover.8pL3B3m3.js → info-icon-with-popover.BzGVcMqy.js} +4 -4
  148. package/dist/chunks/{info-icon-with-popover.8pL3B3m3.js.map → info-icon-with-popover.BzGVcMqy.js.map} +1 -1
  149. package/dist/chunks/{info-icon.CmWiZXvc.js → info-icon.D11usblr.js} +3 -3
  150. package/dist/chunks/{info-icon.CmWiZXvc.js.map → info-icon.D11usblr.js.map} +1 -1
  151. package/dist/chunks/{input-field-password.BiPMXS1j.js → input-field-password.D4Jn2yCi.js} +6 -6
  152. package/dist/chunks/{input-field-password.BiPMXS1j.js.map → input-field-password.D4Jn2yCi.js.map} +1 -1
  153. package/dist/chunks/{input-field-phone-number.GK1UAt7-.js → input-field-phone-number.lV7yePoJ.js} +3 -3
  154. package/dist/chunks/{input-field-phone-number.GK1UAt7-.js.map → input-field-phone-number.lV7yePoJ.js.map} +1 -1
  155. package/dist/chunks/{input-field.BT5tx_DM.js → input-field.90DWNO1a.js} +7 -7
  156. package/dist/chunks/{input-field.BT5tx_DM.js.map → input-field.90DWNO1a.js.map} +1 -1
  157. package/dist/chunks/input-time.D7IsprlH.js +157 -0
  158. package/dist/chunks/input-time.D7IsprlH.js.map +1 -0
  159. package/dist/chunks/{inspector-page.C5VCiyLD.js → inspector-page.IoC9naSV.js} +4 -4
  160. package/dist/chunks/{inspector-page.C5VCiyLD.js.map → inspector-page.IoC9naSV.js.map} +1 -1
  161. package/dist/chunks/{inspector.BoZBD8_z.js → inspector.BwtV4rE9.js} +6 -6
  162. package/dist/chunks/{inspector.BoZBD8_z.js.map → inspector.BwtV4rE9.js.map} +1 -1
  163. package/dist/chunks/{layout-row.LBn6aJv4.js → layout-row.DYx7F4cb.js} +2 -2
  164. package/dist/chunks/{layout-row.LBn6aJv4.js.map → layout-row.DYx7F4cb.js.map} +1 -1
  165. package/dist/chunks/{link.Cls8XShm.js → link.iNnolG9W.js} +2 -2
  166. package/dist/chunks/{link.Cls8XShm.js.map → link.iNnolG9W.js.map} +1 -1
  167. package/dist/chunks/{list-item.Bh5Z1f0K.js → list-item.ByyA5h1d.js} +5 -5
  168. package/dist/chunks/{list-item.Bh5Z1f0K.js.map → list-item.ByyA5h1d.js.map} +1 -1
  169. package/dist/chunks/{listbox-option-tag.BY6i9YgP.js → listbox-option-tag.Cp_W_p4z.js} +3 -3
  170. package/dist/chunks/{listbox-option-tag.BY6i9YgP.js.map → listbox-option-tag.Cp_W_p4z.js.map} +1 -1
  171. package/dist/chunks/{modal-fullscreen.Bteroyik.js → modal-fullscreen.DG8Q-jHL.js} +10 -10
  172. package/dist/chunks/modal-fullscreen.DG8Q-jHL.js.map +1 -0
  173. package/dist/chunks/{modal.C6OJMJ_D.js → modal.UkzON4bz.js} +7 -7
  174. package/dist/chunks/{modal.C6OJMJ_D.js.map → modal.UkzON4bz.js.map} +1 -1
  175. package/dist/chunks/{navigation-menu-group.uqIv5yZG.js → navigation-menu-group.BzKRuhrd.js} +9 -9
  176. package/dist/chunks/navigation-menu-group.BzKRuhrd.js.map +1 -0
  177. package/dist/chunks/{pagination.CGiu-kog.js → pagination.DZEVT-CA.js} +8 -7
  178. package/dist/chunks/{pagination.CGiu-kog.js.map → pagination.DZEVT-CA.js.map} +1 -1
  179. package/dist/chunks/{payment-method.DcAITDcK.js → payment-method.meF6XN_X.js} +2 -2
  180. package/dist/chunks/{payment-method.DcAITDcK.js.map → payment-method.meF6XN_X.js.map} +1 -1
  181. package/dist/chunks/payment-method.types.BqtH7RM2.js.map +1 -1
  182. package/dist/chunks/popover.types.DvIwSAAp.js +6 -0
  183. package/dist/chunks/{popover.types.CoDfZgDc.js.map → popover.types.DvIwSAAp.js.map} +1 -1
  184. package/dist/chunks/{popper-container.Co4j6qME.js → popper-container.Cj3AWXSd.js} +2 -2
  185. package/dist/chunks/{popper-container.Co4j6qME.js.map → popper-container.Cj3AWXSd.js.map} +1 -1
  186. package/dist/chunks/{progress-bar.CJ6j8lIr.js → progress-bar.CaurNYsc.js} +4 -4
  187. package/dist/chunks/{progress-bar.CJ6j8lIr.js.map → progress-bar.CaurNYsc.js.map} +1 -1
  188. package/dist/chunks/{promo-banner.B5szTysj.js → promo-banner.CcYpFY9b.js} +3 -3
  189. package/dist/chunks/{promo-banner.B5szTysj.js.map → promo-banner.CcYpFY9b.js.map} +1 -1
  190. package/dist/chunks/{radio-group.CQfxWRbM.js → radio-group.CLbYlzD7.js} +5 -5
  191. package/dist/chunks/{radio-group.CQfxWRbM.js.map → radio-group.CLbYlzD7.js.map} +1 -1
  192. package/dist/chunks/{rich-text-editor.CDrX-0g1.js → rich-text-editor.5SMm2BbC.js} +11 -11
  193. package/dist/chunks/{rich-text-editor.CDrX-0g1.js.map → rich-text-editor.5SMm2BbC.js.map} +1 -1
  194. package/dist/chunks/{scroll-to-section.DhW8SFy0.js → scroll-to-section.CzeBpNj4.js} +2 -2
  195. package/dist/chunks/{scroll-to-section.DhW8SFy0.js.map → scroll-to-section.CzeBpNj4.js.map} +1 -1
  196. package/dist/chunks/{search-bar.CFscAHEn.js → search-bar.DrIwlAQj.js} +8 -8
  197. package/dist/chunks/{search-bar.CFscAHEn.js.map → search-bar.DrIwlAQj.js.map} +1 -1
  198. package/dist/chunks/{secondary-nav.Ba7pNe_-.js → secondary-nav.DRs5yAve.js} +17 -17
  199. package/dist/chunks/{secondary-nav.Ba7pNe_-.js.map → secondary-nav.DRs5yAve.js.map} +1 -1
  200. package/dist/chunks/{segmented-control.Dp7Xd5Oa.js → segmented-control.CcQoBTfT.js} +3 -3
  201. package/dist/chunks/{segmented-control.Dp7Xd5Oa.js.map → segmented-control.CcQoBTfT.js.map} +1 -1
  202. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  203. package/dist/chunks/{selection-card-group.B2IEfuke.js → selection-card-group.BYBAG8ig.js} +49 -48
  204. package/dist/chunks/{selection-card-group.B2IEfuke.js.map → selection-card-group.BYBAG8ig.js.map} +1 -1
  205. package/dist/chunks/{sidepanel.B9QGoXGV.js → sidepanel.CLbVkH7v.js} +15 -15
  206. package/dist/chunks/{sidepanel.B9QGoXGV.js.map → sidepanel.CLbVkH7v.js.map} +1 -1
  207. package/dist/chunks/{status.DJ1Dfh5s.js → status.BdWYs5MK.js} +2 -2
  208. package/dist/chunks/{status.DJ1Dfh5s.js.map → status.BdWYs5MK.js.map} +1 -1
  209. package/dist/chunks/status.types.Dx8MDhEH.js.map +1 -1
  210. package/dist/chunks/{step.BCa9IOWB.js → step.SkRHgSxN.js} +5 -5
  211. package/dist/chunks/step.SkRHgSxN.js.map +1 -0
  212. package/dist/chunks/{structured-list-item.Cp1OuRJJ.js → structured-list-item.BgcR0XlO.js} +10 -9
  213. package/dist/chunks/structured-list-item.BgcR0XlO.js.map +1 -0
  214. package/dist/chunks/{summary-grid.types.Ddf7FShu.js → summary-grid.types.Do2PZQGm.js} +6 -6
  215. package/dist/chunks/{summary-grid.types.Ddf7FShu.js.map → summary-grid.types.Do2PZQGm.js.map} +1 -1
  216. package/dist/chunks/{tab.DavwEprr.js → tab.zeRxc-3T.js} +49 -48
  217. package/dist/chunks/tab.zeRxc-3T.js.map +1 -0
  218. package/dist/chunks/{table-of-contents.BTy95Rrs.js → table-of-contents.D4sF13f8.js} +3 -3
  219. package/dist/chunks/{table-of-contents.BTy95Rrs.js.map → table-of-contents.D4sF13f8.js.map} +1 -1
  220. package/dist/chunks/{tag.HGmLa47S.js → tag.CgsX8v2m.js} +3 -3
  221. package/dist/chunks/{tag.HGmLa47S.js.map → tag.CgsX8v2m.js.map} +1 -1
  222. package/dist/chunks/{textarea.CFCNYWVT.js → textarea.DMBnJaB1.js} +7 -7
  223. package/dist/chunks/textarea.DMBnJaB1.js.map +1 -0
  224. package/dist/chunks/{timeline-item.BIDEQCUw.js → timeline-item.CS7TCdoU.js} +10 -10
  225. package/dist/chunks/{timeline-item.BIDEQCUw.js.map → timeline-item.CS7TCdoU.js.map} +1 -1
  226. package/dist/chunks/{title-details.kDWlIY1W.js → title-details.BhR2nis-.js} +4 -4
  227. package/dist/chunks/{title-details.kDWlIY1W.js.map → title-details.BhR2nis-.js.map} +1 -1
  228. package/dist/chunks/{toast.CO6ByH3n.js → toast.CjDkuh2x.js} +4 -4
  229. package/dist/chunks/{toast.CO6ByH3n.js.map → toast.CjDkuh2x.js.map} +1 -1
  230. package/dist/chunks/{toggle.Dgh7aw1D.js → toggle.BL_w2xUm.js} +4 -4
  231. package/dist/chunks/{toggle.Dgh7aw1D.js.map → toggle.BL_w2xUm.js.map} +1 -1
  232. package/dist/chunks/{tooltip.D9Nqxoyp.js → tooltip.BOe7LOfD.js} +4 -4
  233. package/dist/chunks/{tooltip.D9Nqxoyp.js.map → tooltip.BOe7LOfD.js.map} +1 -1
  234. package/dist/chunks/{tutorial.dS_oywbu.js → tutorial.DSbBx_2h.js} +5 -5
  235. package/dist/chunks/{tutorial.dS_oywbu.js.map → tutorial.DSbBx_2h.js.map} +1 -1
  236. package/dist/chunks/{typography.D1OZJbEa.js → typography.Cd386LC_.js} +5 -5
  237. package/dist/chunks/{typography.D1OZJbEa.js.map → typography.Cd386LC_.js.map} +1 -1
  238. package/dist/chunks/{use-bento-toast-controller.A5xraVqa.js → use-bento-toast-controller.DMA9d_oD.js} +2 -2
  239. package/dist/chunks/{use-bento-toast-controller.A5xraVqa.js.map → use-bento-toast-controller.DMA9d_oD.js.map} +1 -1
  240. package/dist/chunks/{use-date-input-formatter.5r7srQZU.js → use-date-input-formatter.CouOE5tF.js} +2 -2
  241. package/dist/chunks/{use-date-input-formatter.5r7srQZU.js.map → use-date-input-formatter.CouOE5tF.js.map} +1 -1
  242. package/dist/chunks/{use-dynamic-date-fns-locale.Bpb2DeYR.js → use-dynamic-date-fns-locale.DGqfz_nF.js} +2 -2
  243. package/dist/chunks/{use-dynamic-date-fns-locale.Bpb2DeYR.js.map → use-dynamic-date-fns-locale.DGqfz_nF.js.map} +1 -1
  244. package/dist/chunks/use-expandable-content-height.DmFeas9-.js +36 -0
  245. package/dist/chunks/use-expandable-content-height.DmFeas9-.js.map +1 -0
  246. package/dist/code-snippet.js +1 -1
  247. package/dist/country.js +1 -1
  248. package/dist/currency.js +1 -1
  249. package/dist/dashboard-template.js +1 -1
  250. package/dist/dashed-underline.js +1 -1
  251. package/dist/data-grid-template.js +1 -1
  252. package/dist/data-grid.js +1 -1
  253. package/dist/date-picker.js +2 -2
  254. package/dist/date-range-picker.js +2 -2
  255. package/dist/date-time-picker.js +1 -1
  256. package/dist/date.js +1 -1
  257. package/dist/draggable.js +2 -2
  258. package/dist/dropdown.js +2 -2
  259. package/dist/empty-state.js +1 -1
  260. package/dist/file-uploader.js +1 -1
  261. package/dist/filter-bar.js +1 -1
  262. package/dist/focus-trap.js +1 -1
  263. package/dist/form-layout.js +2 -2
  264. package/dist/header-with-views.js +1 -1
  265. package/dist/header.js +1 -1
  266. package/dist/index.js +178 -153
  267. package/dist/index.js.map +1 -1
  268. package/dist/info-icon.js +1 -1
  269. package/dist/input-field-password.js +1 -1
  270. package/dist/input-field-phone-number.js +1 -1
  271. package/dist/input-field.js +1 -1
  272. package/dist/input-time.js +1 -1
  273. package/dist/inspector.js +2 -2
  274. package/dist/internal.js +14 -14
  275. package/dist/layout.js +1 -1
  276. package/dist/link.js +1 -1
  277. package/dist/list.js +1 -1
  278. package/dist/menu.js +1 -1
  279. package/dist/modal-fullscreen.js +1 -1
  280. package/dist/modal.js +2 -2
  281. package/dist/navigation-menu.js +1 -1
  282. package/dist/pagination.js +1 -1
  283. package/dist/payment-method.js +1 -1
  284. package/dist/popover.js +2 -2
  285. package/dist/popper-container.js +1 -1
  286. package/dist/progress-bar.js +1 -1
  287. package/dist/promo-banner.js +1 -1
  288. package/dist/radio-group.js +1 -1
  289. package/dist/rich-text-editor.js +1 -1
  290. package/dist/search-bar.js +2 -2
  291. package/dist/secondary-nav.js +1 -1
  292. package/dist/segmented-control.js +1 -1
  293. package/dist/selection-card.js +1 -1
  294. package/dist/sidepanel.js +1 -1
  295. package/dist/status.js +1 -1
  296. package/dist/stepper.js +1 -1
  297. package/dist/structured-list.js +1 -1
  298. package/dist/styles/bento-dark.css +3 -0
  299. package/dist/styles/bento-light.css +3 -0
  300. package/dist/styles/bento.css +3 -0
  301. package/dist/styles/legacy.css +3 -0
  302. package/dist/styles/styleguide.css +3 -0
  303. package/dist/styles/utility.css +9 -0
  304. package/dist/summary-grid.js +1 -1
  305. package/dist/table-of-contents.js +1 -1
  306. package/dist/tabs.js +1 -1
  307. package/dist/tag.js +1 -1
  308. package/dist/textarea.js +1 -1
  309. package/dist/timeline.js +1 -1
  310. package/dist/toast.js +1 -1
  311. package/dist/toggle.js +1 -1
  312. package/dist/tutorial.js +1 -1
  313. package/dist/typography.js +1 -1
  314. package/dist/web-types.json +1278 -54
  315. package/package.json +8 -8
  316. package/dist/assets/date-filter.css +0 -1
  317. package/dist/assets/date-range-filter.css +0 -1
  318. package/dist/assets/input-with-dropdown-filter.css +0 -1
  319. package/dist/chunks/alert.DT6T5Uxb.js.map +0 -1
  320. package/dist/chunks/button-actions.sLmpjWGK.js.map +0 -1
  321. package/dist/chunks/calendar.BNRImpE_.js.map +0 -1
  322. package/dist/chunks/date-filter.BZVe74cH.js +0 -117
  323. package/dist/chunks/date-filter.BZVe74cH.js.map +0 -1
  324. package/dist/chunks/date-range-filter.CDrrP22U.js +0 -868
  325. package/dist/chunks/date-range-filter.CDrrP22U.js.map +0 -1
  326. package/dist/chunks/date-range-picker.Cz6ijJAa.js.map +0 -1
  327. package/dist/chunks/draggable.COHEAPF5.js.map +0 -1
  328. package/dist/chunks/filter-bar.DUw139BE.js +0 -1867
  329. package/dist/chunks/filter-bar.DUw139BE.js.map +0 -1
  330. package/dist/chunks/input-time.DGaMMWxj.js +0 -105
  331. package/dist/chunks/input-time.DGaMMWxj.js.map +0 -1
  332. package/dist/chunks/input-with-dropdown-filter.axFutymM.js +0 -80
  333. package/dist/chunks/input-with-dropdown-filter.axFutymM.js.map +0 -1
  334. package/dist/chunks/modal-fullscreen.Bteroyik.js.map +0 -1
  335. package/dist/chunks/navigation-menu-group.uqIv5yZG.js.map +0 -1
  336. package/dist/chunks/popover.types.CoDfZgDc.js +0 -6
  337. package/dist/chunks/select-avatar-filter.EG4IpfbR.js +0 -51
  338. package/dist/chunks/select-avatar-filter.EG4IpfbR.js.map +0 -1
  339. package/dist/chunks/select-country-filter.BtUlbnFP.js +0 -55
  340. package/dist/chunks/select-country-filter.BtUlbnFP.js.map +0 -1
  341. package/dist/chunks/select-currency-filter.B__ByL7N.js +0 -89
  342. package/dist/chunks/select-currency-filter.B__ByL7N.js.map +0 -1
  343. package/dist/chunks/select-payment-method-filter.DndRc65T.js +0 -51
  344. package/dist/chunks/select-payment-method-filter.DndRc65T.js.map +0 -1
  345. package/dist/chunks/select-tag-filter.DiWow_m7.js +0 -59
  346. package/dist/chunks/select-tag-filter.DiWow_m7.js.map +0 -1
  347. package/dist/chunks/step.BCa9IOWB.js.map +0 -1
  348. package/dist/chunks/structured-list-item.Cp1OuRJJ.js.map +0 -1
  349. package/dist/chunks/tab.DavwEprr.js.map +0 -1
  350. package/dist/chunks/textarea.CFCNYWVT.js.map +0 -1
  351. package/dist/chunks/use-expandable-content-height.Bdd9hQwq.js +0 -34
  352. package/dist/chunks/use-expandable-content-height.Bdd9hQwq.js.map +0 -1
  353. package/dist/chunks/warning-filled.DI6aB6vH.js +0 -26
  354. package/dist/chunks/warning-filled.DI6aB6vH.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as i, toRefs as r, computed as l, onMounted as c } from "vue";
2
- import { B as u } from "./typography.D1OZJbEa.js";
3
- import { b as _ } from "./button.DII5Ifwa.js";
4
- import { B as d } from "./button-actions.sLmpjWGK.js";
2
+ import { B as u } from "./typography.Cd386LC_.js";
3
+ import { b as _ } from "./button.tsTeQRcP.js";
4
+ import { B as d } from "./button-actions.CdetBz3J.js";
5
5
  import { n as f } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
6
6
  import "../assets/footer-actions.css";
7
7
  const p = {}, g = /* @__PURE__ */ i({
@@ -93,4 +93,4 @@ const w = b.exports;
93
93
  export {
94
94
  w as F
95
95
  };
96
- //# sourceMappingURL=footer-actions.B5YZ95jM.js.map
96
+ //# sourceMappingURL=footer-actions.B8f-gEQV.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"footer-actions.B5YZ95jM.js","sources":["../../src/components/internal/footer-actions/footer-actions.vue"],"sourcesContent":["<template>\n <div class=\"b-footer-actions\">\n <div class=\"b-footer-actions__wrapper\">\n <bento-typography v-if=\"actionsLabel\" class=\"b-footer-actions__label\" el=\"span\" variant=\"body\" stronger>\n {{ actionsLabel }}\n </bento-typography>\n\n <bento-button-actions\n v-if=\"alignedActions.leftAligned\"\n class=\"b-footer-actions__left-group\"\n :actions=\"alignedActions.leftAligned\"\n layout=\"buttons-start\"\n ></bento-button-actions>\n\n <bento-button-actions\n class=\"b-footer-actions__right-group\"\n :actions=\"alignedActions.rightAligned\"\n layout=\"buttons-end\"\n ></bento-button-actions>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoTypography } from '@/components/typography';\n import { computed, onMounted, type PropType, toRefs } from 'vue';\n import { BentoButtonActions, type BentoButtonActionsList, BentoButtonVariant } from '@/components/button';\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n * But you may change the color of 1-st action to red with 'critial' key\n * Not more than 3 action buttons can be provided\n * Or 2 action buttons and 1 Label for them\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',2\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n required: true,\n },\n /**\n * Text label that is displayed left to the action buttons\n */\n actionsLabel: {\n type: String,\n default: null,\n },\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: {\n type: Boolean,\n default: false,\n },\n });\n\n const { actions, destructiveActions } = toRefs(props);\n\n const alignedActions = computed(() => {\n const rightAlignedButtons =\n actions.value.length < 3 ? actions.value : actions.value.slice(0, actions.value.length - 1);\n\n // Add red color to the 1-st Action button\n rightAlignedButtons[0].critical = destructiveActions.value || rightAlignedButtons[0].critical;\n\n return {\n leftAligned:\n actions.value.length === 3\n ? [\n {\n ...actions.value[actions.value.length - 1],\n variant: BentoButtonVariant.SECONDARY,\n },\n ]\n : null,\n rightAligned: [...rightAlignedButtons],\n };\n });\n\n onMounted(() => {\n if (props.actions && props.actions.length > 3) {\n throw new Error('Not more than 3 action buttons may be provided to Bento Modal default variant');\n }\n\n if (props.actionsLabel && props.actions && props.actions.length > 2) {\n throw new Error(\n 'Not more than 2 action buttons may be provided with actions label to Bento Modal default variant'\n );\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Internal component to handle the logic of displaying actions in default Modal and Sidepanel\n\n * @example\n * import { FooterActions } from '@/components/internal/footer-actions';\n *\n * export default {\n * components: { FooterActions },\n * template: `\n * <footer-actions :actions=\"BentoButtonActionsList\" actions-label=\"Label\" :destructive-actions=\"true\" />\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./footer-actions.scss\" />\n"],"names":["__default__","actions","destructiveActions","toRefs","props","alignedActions","computed","rightAlignedButtons","BentoButtonVariant","onMounted"],"mappings":";;;;;;AA+HI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAlDA,EAAA,SAAAC,GAAA,oBAAAC,EAAA,IAAAC,EAAAC,CAAA,GAEAC,IAAAC,EAAA,MAAA;AACI,YAAAC,IAAAN,EAAA,MAAA,SAAA,IAAAA,EAAA,QAAAA,EAAA,MAAA,MAAA,GAAAA,EAAA,MAAA,SAAA,CAAA;AAIA,aAAAM,EAAA,CAAA,EAAA,WAAAL,EAAA,SAAAK,EAAA,CAAA,EAAA,UAEA;AAAA,QAAO,aAAAN,EAAA,MAAA,WAAA,IAAA;AAAA,UAGO;AAAA,YACI,GAAAA,EAAA,MAAAA,EAAA,MAAA,SAAA,CAAA;AAAA,YAC6C,SAAAO,EAAA;AAAA,UACb;AAAA,QAChC,IAAA;AAAA,QAEJ,cAAA,CAAA,GAAAD,CAAA;AAAA,MAC2B;AAAA,IACzC,CAAA;AAGJ,WAAAE,EAAA,MAAA;AACI,UAAAL,EAAA,WAAAA,EAAA,QAAA,SAAA;AACI,cAAA,IAAA,MAAA,+EAAA;AAGJ,UAAAA,EAAA,gBAAAA,EAAA,WAAAA,EAAA,QAAA,SAAA;AACI,cAAA,IAAA;AAAA,UAAU;AAAA,QACN;AAAA,IAER,CAAA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"footer-actions.B8f-gEQV.js","sources":["../../src/components/internal/footer-actions/footer-actions.vue"],"sourcesContent":["<template>\n <div class=\"b-footer-actions\">\n <div class=\"b-footer-actions__wrapper\">\n <bento-typography v-if=\"actionsLabel\" class=\"b-footer-actions__label\" el=\"span\" variant=\"body\" stronger>\n {{ actionsLabel }}\n </bento-typography>\n\n <bento-button-actions\n v-if=\"alignedActions.leftAligned\"\n class=\"b-footer-actions__left-group\"\n :actions=\"alignedActions.leftAligned\"\n layout=\"buttons-start\"\n ></bento-button-actions>\n\n <bento-button-actions\n class=\"b-footer-actions__right-group\"\n :actions=\"alignedActions.rightAligned\"\n layout=\"buttons-end\"\n ></bento-button-actions>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoTypography } from '@/components/typography';\n import { computed, onMounted, type PropType, toRefs } from 'vue';\n import { BentoButtonActions, type BentoButtonActionsList, BentoButtonVariant } from '@/components/button';\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n * But you may change the color of 1-st action to red with 'critial' key\n * Not more than 3 action buttons can be provided\n * Or 2 action buttons and 1 Label for them\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',2\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n required: true,\n },\n /**\n * Text label that is displayed left to the action buttons\n */\n actionsLabel: {\n type: String,\n default: null,\n },\n /**\n * If passed - sets first button color to red\n */\n destructiveActions: {\n type: Boolean,\n default: false,\n },\n });\n\n const { actions, destructiveActions } = toRefs(props);\n\n const alignedActions = computed(() => {\n const rightAlignedButtons =\n actions.value.length < 3 ? actions.value : actions.value.slice(0, actions.value.length - 1);\n\n // Add red color to the 1-st Action button\n rightAlignedButtons[0].critical = destructiveActions.value || rightAlignedButtons[0].critical;\n\n return {\n leftAligned:\n actions.value.length === 3\n ? [\n {\n ...actions.value[actions.value.length - 1],\n variant: BentoButtonVariant.SECONDARY,\n },\n ]\n : null,\n rightAligned: [...rightAlignedButtons],\n };\n });\n\n onMounted(() => {\n if (props.actions && props.actions.length > 3) {\n throw new Error('Not more than 3 action buttons may be provided to Bento Modal default variant');\n }\n\n if (props.actionsLabel && props.actions && props.actions.length > 2) {\n throw new Error(\n 'Not more than 2 action buttons may be provided with actions label to Bento Modal default variant'\n );\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * Internal component to handle the logic of displaying actions in default Modal and Sidepanel\n\n * @example\n * import { FooterActions } from '@/components/internal/footer-actions';\n *\n * export default {\n * components: { FooterActions },\n * template: `\n * <footer-actions :actions=\"BentoButtonActionsList\" actions-label=\"Label\" :destructive-actions=\"true\" />\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./footer-actions.scss\" />\n"],"names":["__default__","actions","destructiveActions","toRefs","props","alignedActions","computed","rightAlignedButtons","BentoButtonVariant","onMounted"],"mappings":";;;;;;AA+HI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAlDA,EAAA,SAAAC,GAAA,oBAAAC,EAAA,IAAAC,EAAAC,CAAA,GAEAC,IAAAC,EAAA,MAAA;AACI,YAAAC,IAAAN,EAAA,MAAA,SAAA,IAAAA,EAAA,QAAAA,EAAA,MAAA,MAAA,GAAAA,EAAA,MAAA,SAAA,CAAA;AAIA,aAAAM,EAAA,CAAA,EAAA,WAAAL,EAAA,SAAAK,EAAA,CAAA,EAAA,UAEA;AAAA,QAAO,aAAAN,EAAA,MAAA,WAAA,IAAA;AAAA,UAGO;AAAA,YACI,GAAAA,EAAA,MAAAA,EAAA,MAAA,SAAA,CAAA;AAAA,YAC6C,SAAAO,EAAA;AAAA,UACb;AAAA,QAChC,IAAA;AAAA,QAEJ,cAAA,CAAA,GAAAD,CAAA;AAAA,MAC2B;AAAA,IACzC,CAAA;AAGJ,WAAAE,EAAA,MAAA;AACI,UAAAL,EAAA,WAAAA,EAAA,QAAA,SAAA;AACI,cAAA,IAAA,MAAA,+EAAA;AAGJ,UAAAA,EAAA,gBAAAA,EAAA,WAAAA,EAAA,QAAA,SAAA;AACI,cAAA,IAAA;AAAA,UAAU;AAAA,QACN;AAAA,IAER,CAAA;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as n, computed as a } from "vue";
2
- import { E as l } from "./error-message.DKnoUezI.js";
2
+ import { E as l } from "./error-message.B-n8wzFo.js";
3
3
  import { n as p } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
4
4
  import "../assets/form-layout-group.css";
5
5
  const t = [
@@ -81,4 +81,4 @@ const v = f.exports;
81
81
  export {
82
82
  v as B
83
83
  };
84
- //# sourceMappingURL=form-layout-group.D4T0Z5xk.js.map
84
+ //# sourceMappingURL=form-layout-group.BSC2esG8.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-layout-group.D4T0Z5xk.js","sources":["../../src/components/form-layout/components/form-layout-group/form-layout-group.types.ts","../../src/components/form-layout/components/form-layout-group/form-layout-group.vue"],"sourcesContent":["export type BentoLayoutGroupProportions =\n | '33-33-33'\n | '50-50'\n | '25-75'\n | '75-25'\n | '33-66'\n | '66-33'\n | '25'\n | '33'\n | '50'\n | '100';\n\nexport const BentoLayoutGroupProportions = [\n '100',\n '50',\n '33',\n '25',\n '66-33',\n '33-66',\n '75-25',\n '25-75',\n '50-50',\n '33-33-33',\n];\n","<template>\n <div class=\"b-form-layout-group\" :class=\"conditionalClasses\">\n <slot></slot>\n <error-message v-if=\"!!errorMessage\" :error-message=\"errorMessage\" class=\"b-form-layout-group__error-message\" />\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, type PropType } from 'vue';\n import { ErrorMessage } from '@/internal';\n import { BentoLayoutGroupProportions } from './form-layout-group.types';\n\n // Default proportion\n const DEFAULT_PROPORTION = 100;\n\n const props = defineProps({\n /**\n * The layout of the pair group of components.\n * This will render the components within the width of the proportions.\n * Only two columns are available.\n *\n * If only one value is entered, then it will assume there's only one child in the group.\n * If two values are entered, the first value will be use for the first child and the second\n * value for the second child.\n *\n * If the value entered is not listed in the example\n * list below it will use 100% by default.\n * @example\n * '33-33-33'\n * '50-50'\n * '25-75'\n * '75-25'\n * '33-66'\n * '66-33'\n * '25'\n * '33'\n * '50'\n * '100'\n */\n layout: {\n type: String as PropType<BentoLayoutGroupProportions>,\n default: '100',\n validator: (value: BentoLayoutGroupProportions) => BentoLayoutGroupProportions.includes(value),\n },\n\n /**\n * The error message to be displayed for the whole group.\n *\n * If set, individual error messages for all components within this group will be hidden.\n * This is particularly useful for field pairs where a single group error is displayed.\n */\n errorMessage: { type: String, default: null },\n });\n\n // Sets DEFAULT_PROPORTION by default if `layout` is not in the list\n const computedLayout = computed(() =>\n BentoLayoutGroupProportions.includes(props.layout) ? props.layout : DEFAULT_PROPORTION\n );\n\n const conditionalClasses = computed(() => ({\n // Transform into column if the layout is unsupported\n 'b-form-layout-group--column': !BentoLayoutGroupProportions.includes(props.layout),\n // Assings the correct layout class\n [`b-form-layout-group--${computedLayout.value}`]: true,\n 'b-form-layout-group--group-error-messages': !!props.errorMessage,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Use to provide horizontal layouts to build forms\n * with two fields per line.\n *\n * These can be used for field combinations,\n * such as post code and city or title and first name.\n *\n * @example\n * import { BentoFormLayoutGroup } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutGroup },\n * template: `\n * <bento-form-layout-group>\n * <first-element />\n * <second-element />\n * </bento-form-layout-group>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-group.scss\" />\n"],"names":["BentoLayoutGroupProportions","__default__","DEFAULT_PROPORTION","computedLayout","computed","props","conditionalClasses"],"mappings":";;;;AAYO,MAAAA,IAAA;AAAA,EAAoC;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAEJ,GCkEIC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA5EAC,IAAA,KA0CAC,IAAAC;AAAA,MAAuB,MAAAJ,EAAA,SAAAK,EAAA,MAAA,IAAAA,EAAA,SAAAH;AAAA,IACiD,GAGxEI,IAAAF,EAAA,OAAA;AAAA;AAAA,MAA2C,+BAAA,CAAAJ,EAAA,SAAAK,EAAA,MAAA;AAAA;AAAA,MAE0C,CAAA,wBAAAF,EAAA,KAAA,EAAA,GAAA;AAAA,MAE/B,6CAAA,CAAA,CAAAE,EAAA;AAAA,IACG,EAAA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"form-layout-group.BSC2esG8.js","sources":["../../src/components/form-layout/components/form-layout-group/form-layout-group.types.ts","../../src/components/form-layout/components/form-layout-group/form-layout-group.vue"],"sourcesContent":["export type BentoLayoutGroupProportions =\n | '33-33-33'\n | '50-50'\n | '25-75'\n | '75-25'\n | '33-66'\n | '66-33'\n | '25'\n | '33'\n | '50'\n | '100';\n\nexport const BentoLayoutGroupProportions = [\n '100',\n '50',\n '33',\n '25',\n '66-33',\n '33-66',\n '75-25',\n '25-75',\n '50-50',\n '33-33-33',\n];\n","<template>\n <div class=\"b-form-layout-group\" :class=\"conditionalClasses\">\n <slot></slot>\n <error-message v-if=\"!!errorMessage\" :error-message=\"errorMessage\" class=\"b-form-layout-group__error-message\" />\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, type PropType } from 'vue';\n import { ErrorMessage } from '@/internal';\n import { BentoLayoutGroupProportions } from './form-layout-group.types';\n\n // Default proportion\n const DEFAULT_PROPORTION = 100;\n\n const props = defineProps({\n /**\n * The layout of the pair group of components.\n * This will render the components within the width of the proportions.\n * Only two columns are available.\n *\n * If only one value is entered, then it will assume there's only one child in the group.\n * If two values are entered, the first value will be use for the first child and the second\n * value for the second child.\n *\n * If the value entered is not listed in the example\n * list below it will use 100% by default.\n * @example\n * '33-33-33'\n * '50-50'\n * '25-75'\n * '75-25'\n * '33-66'\n * '66-33'\n * '25'\n * '33'\n * '50'\n * '100'\n */\n layout: {\n type: String as PropType<BentoLayoutGroupProportions>,\n default: '100',\n validator: (value: BentoLayoutGroupProportions) => BentoLayoutGroupProportions.includes(value),\n },\n\n /**\n * The error message to be displayed for the whole group.\n *\n * If set, individual error messages for all components within this group will be hidden.\n * This is particularly useful for field pairs where a single group error is displayed.\n */\n errorMessage: { type: String, default: null },\n });\n\n // Sets DEFAULT_PROPORTION by default if `layout` is not in the list\n const computedLayout = computed(() =>\n BentoLayoutGroupProportions.includes(props.layout) ? props.layout : DEFAULT_PROPORTION\n );\n\n const conditionalClasses = computed(() => ({\n // Transform into column if the layout is unsupported\n 'b-form-layout-group--column': !BentoLayoutGroupProportions.includes(props.layout),\n // Assings the correct layout class\n [`b-form-layout-group--${computedLayout.value}`]: true,\n 'b-form-layout-group--group-error-messages': !!props.errorMessage,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Use to provide horizontal layouts to build forms\n * with two fields per line.\n *\n * These can be used for field combinations,\n * such as post code and city or title and first name.\n *\n * @example\n * import { BentoFormLayoutGroup } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutGroup },\n * template: `\n * <bento-form-layout-group>\n * <first-element />\n * <second-element />\n * </bento-form-layout-group>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-group.scss\" />\n"],"names":["BentoLayoutGroupProportions","__default__","DEFAULT_PROPORTION","computedLayout","computed","props","conditionalClasses"],"mappings":";;;;AAYO,MAAAA,IAAA;AAAA,EAAoC;AAAA,EACvC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAEJ,GCkEIC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA5EAC,IAAA,KA0CAC,IAAAC;AAAA,MAAuB,MAAAJ,EAAA,SAAAK,EAAA,MAAA,IAAAA,EAAA,SAAAH;AAAA,IACiD,GAGxEI,IAAAF,EAAA,OAAA;AAAA;AAAA,MAA2C,+BAAA,CAAAJ,EAAA,SAAAK,EAAA,MAAA;AAAA;AAAA,MAE0C,CAAA,wBAAAF,EAAA,KAAA,EAAA,GAAA;AAAA,MAE/B,6CAAA,CAAA,CAAAE,EAAA;AAAA,IACG,EAAA;;;;;;;;;;;;;;;;"}
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as n, useSlots as c, computed as i, provide as f, toRef as m } from "vue";
2
- import { B as p } from "./alert.DT6T5Uxb.js";
2
+ import { B as p } from "./alert.BddJPWMN.js";
3
3
  import { u } from "./use-has-slot.C9lQZ6nz.js";
4
4
  import { F as y } from "./form-layout.types.bZW9iR6_.js";
5
5
  import { n as _ } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
6
- import { B as d, a as v } from "./typography.D1OZJbEa.js";
6
+ import { B as d, a as v } from "./typography.Cd386LC_.js";
7
7
  import { u as g } from "./index.CPOlyau9.js";
8
8
  import "../assets/form-layout-title.css";
9
9
  const b = {}, h = /* @__PURE__ */ n({
@@ -149,4 +149,4 @@ export {
149
149
  U as b,
150
150
  J as f
151
151
  };
152
- //# sourceMappingURL=form-layout-title.BStxZj9d.js.map
152
+ //# sourceMappingURL=form-layout-title.b2BMYjnl.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"form-layout-title.BStxZj9d.js","sources":["../../src/components/form-layout/form-layout.vue","../../src/components/form-layout/components/form-layout-field-tip/form-layout-tip.types.ts","../../src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue","../../src/components/form-layout/components/form-layout-title/form-layout-title.vue"],"sourcesContent":["<template>\n <component :is=\"formLayoutElement\" class=\"b-form-layout\" role=\"form\" @submit=\"emit('submit', $event)\">\n <bento-alert v-if=\"hasSlot('error-message')\" class=\"b-form-layout__error-message\" type=\"critical\">\n <template #description>\n <slot name=\"error-message\" />\n </template>\n </bento-alert>\n\n <slot />\n\n <div v-if=\"hasActions\" class=\"b-form-layout__actions-container\">\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-left\" />\n </div>\n\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-right\" />\n </div>\n </div>\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, provide, toRef, useSlots } from 'vue';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables';\n import { FORM_LAYOUT_LOADING_INJECTION_KEY } from './form-layout.types';\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const emit = defineEmits([\"submit\"]);\n\n const props = defineProps({\n /**\n * Renders the form layout as an HTML `form`\n */\n form: { type: Boolean, default: false },\n\n /**\n * Sets the state of the form and its fields to\n * a read only status.\n */\n loading: { type: Boolean, default: false },\n });\n\n const formLayoutElement = computed(() => (props.form ? 'form' : 'div'));\n const hasActions = computed(() => hasSlot('actions-left') || hasSlot('actions-right'));\n\n provide(FORM_LAYOUT_LOADING_INJECTION_KEY, toRef(props, 'loading'));\n</script>\n\n<script lang=\"ts\">\n /**\n * Form layout component is a pre-designed layout that serves\n * as a starting point for creating a form.\n *\n * It can include various common form components:\n * input field, dropdown, date picker, checkbox group, radio group,\n * textarea, etc.\n *\n * Form layout is context agnostic and can be dropped in different\n * places, for example in modals, side panels or pages.\n *\n * @example\n * import { BentoFormLayout, BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayout, BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout>\n * <template #error-message>There is an error. Correct the highlighted field.</template>\n *\n * <bento-input-field>Input field</bento-input-field>\n *\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n *\n * <bento-form-layout-title subsection>\n * Section title\n * <template #description>Optional section description</template>\n * </bento-form-layout-title>\n * </bento-form-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout.scss\" />\n","import { type BentoAlertTypeOption } from '@/components/alert/alert.types';\n\nexport type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;\nexport const BentoFormLayoutFieldTipTypeOptions = ['warning', 'critical', 'highlight', 'success'];\n","<template>\n <div class=\"b-form-layout-field-tip\">\n <slot />\n <bento-alert v-if=\"hasSlot('message')\" :id=\"id\" variant=\"tip\" :type=\"type\">\n <template #description>\n <slot name=\"message\" />\n </template>\n </bento-alert>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { type PropType, useSlots } from 'vue';\n import {\n type BentoFormLayoutFieldTipTypeOption,\n BentoFormLayoutFieldTipTypeOptions,\n } from './form-layout-tip.types';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables/use-has-slot/use-has-slot';\n\n defineProps({\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values highlight, success, critical, warning\n */\n type: {\n type: String as PropType<BentoFormLayoutFieldTipTypeOption>,\n default: 'highlight',\n validator: (value: BentoFormLayoutFieldTipTypeOption) => BentoFormLayoutFieldTipTypeOptions.includes(value),\n },\n /**\n * Unique identifier to the form field. Used for accessibility.\n */\n id: {\n type: String,\n default: undefined,\n },\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * You can help users provide accurate and well formatted information\n * by using various elements that come with an input field.\n *\n * Use description/supporting text to add additional context to the\n * field or guidance how to format the input correctly.\n * Because description is always visible it should be the first\n * choice in providing guidance.\n *\n * @example\n * import { BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n *\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n * `\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-field-tip.scss\" />\n","<template>\n <div class=\"b-form-layout-title\" :class=\"conditionalClasses\">\n <bento-typography :el=\"el\" variant=\"title\" :medium=\"isSection\">\n <slot />\n </bento-typography>\n\n <bento-typography\n v-if=\"hasSlot('description') || allFieldsRequired\"\n class=\"b-form-layout-title__description\"\n el=\"span\"\n wide\n >\n <slot name=\"description\" />\n <template v-if=\"allFieldsRequired\">\n {{ hasSlot('description') ? ` ${t('requiredFields')}` : t('requiredFields') }}\n </template>\n </bento-typography>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, useSlots } from 'vue';\n import { BentoTypography, BentoTypographyElement } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const slots = useSlots();\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const props = defineProps({\n /**\n * Defines if the Form Layout title is\n * a \"section\" or a \"subsection\".\n * Default is \"section\" (false). Turn into \"true\" for \"subsection\"\n */\n subsection: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the HTML DOM element.\n * @values h1, h2, h3, h4, h5, h6, div, p, span\n */\n el: {\n type: BentoTypography.props.el.type,\n required: true,\n validator: (value: BentoTypographyElement) => Object.values(BentoTypographyElement).includes(value),\n },\n\n /**\n * Defines if the Form Layout title displays\n * a message indicating that all fields are required.\n */\n allFieldsRequired: {\n type: Boolean,\n default: false,\n },\n });\n\n // Uses \"medium\" typography if it is a section title\n const isSection = computed(() => !props.subsection);\n const hasSlot = useHasSlot(slots);\n const conditionalClasses = computed(() => ({\n 'b-form-layout-title--subsection': props.subsection,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * If you’re building a lengthy form, organize related\n * fields into sections and, if needed, subsections.\n *\n * A form can have a \"Section Title\" and multiple \"Subsection titles\".\n *\n * One of the values provided in @see BentoTypographyElement must always be provided as a string\n * to define correct HTML sementic from the application's context\n *\n * @example\n * import { BentoFormLayoutTitle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutTitle },\n * template: `\n * <bento-form-layout-title subsection el=\"h2\">\n * Title\n * <template #description>Description text</template>\n * </bento-form-layout-title>\n * `\n * }\n */\n export default {\n name: 'bento-form-layout-title',\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-title.scss\" />\n"],"names":["__default__$2","slots","useSlots","hasSlot","useHasSlot","formLayoutElement","computed","props","hasActions","provide","FORM_LAYOUT_LOADING_INJECTION_KEY","toRef","BentoFormLayoutFieldTipTypeOptions","__default__$1","__default__","messages","useI18n","isSection","conditionalClasses"],"mappings":";;;;;;;;AAwFI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;;iBA5DAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAiBAI,IAAAC,EAAA,MAAAC,EAAA,OAAA,SAAA,KAAA,GACAC,IAAAF,EAAA,MAAAH,EAAA,cAAA,KAAAA,EAAA,eAAA,CAAA;AAEA,WAAAM,EAAAC,GAAAC,EAAAJ,GAAA,SAAA,CAAA;;;;;;;;;;;;;;;;;;qBC9CGK,IAAA,CAAA,WAAA,YAAA,aAAA,SAAA,GC+DHC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;AA3BA,UAAAZ,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GCsDAa,IAAA;AAAA,EAAe,MAAA;AAAA,EACL,MAAA,EAAA,UAAAC,EAAA;AAEV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBApEAd,IAAAC,EAAA,GACA,EAAA,EAAA,IAAAc,EAAA,GAkCAC,IAAAX,EAAA,MAAA,CAAAC,EAAA,UAAA,GACAJ,IAAAC,EAAAH,CAAA,GACAiB,IAAAZ,EAAA,OAAA;AAAA,MAA2C,mCAAAC,EAAA;AAAA,IACE,EAAA;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"form-layout-title.b2BMYjnl.js","sources":["../../src/components/form-layout/form-layout.vue","../../src/components/form-layout/components/form-layout-field-tip/form-layout-tip.types.ts","../../src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue","../../src/components/form-layout/components/form-layout-title/form-layout-title.vue"],"sourcesContent":["<template>\n <component :is=\"formLayoutElement\" class=\"b-form-layout\" role=\"form\" @submit=\"emit('submit', $event)\">\n <bento-alert v-if=\"hasSlot('error-message')\" class=\"b-form-layout__error-message\" type=\"critical\">\n <template #description>\n <slot name=\"error-message\" />\n </template>\n </bento-alert>\n\n <slot />\n\n <div v-if=\"hasActions\" class=\"b-form-layout__actions-container\">\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-left\" />\n </div>\n\n <div class=\"b-form-layout__actions\">\n <slot name=\"actions-right\" />\n </div>\n </div>\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, provide, toRef, useSlots } from 'vue';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables';\n import { FORM_LAYOUT_LOADING_INJECTION_KEY } from './form-layout.types';\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const emit = defineEmits([\"submit\"]);\n\n const props = defineProps({\n /**\n * Renders the form layout as an HTML `form`\n */\n form: { type: Boolean, default: false },\n\n /**\n * Sets the state of the form and its fields to\n * a read only status.\n */\n loading: { type: Boolean, default: false },\n });\n\n const formLayoutElement = computed(() => (props.form ? 'form' : 'div'));\n const hasActions = computed(() => hasSlot('actions-left') || hasSlot('actions-right'));\n\n provide(FORM_LAYOUT_LOADING_INJECTION_KEY, toRef(props, 'loading'));\n</script>\n\n<script lang=\"ts\">\n /**\n * Form layout component is a pre-designed layout that serves\n * as a starting point for creating a form.\n *\n * It can include various common form components:\n * input field, dropdown, date picker, checkbox group, radio group,\n * textarea, etc.\n *\n * Form layout is context agnostic and can be dropped in different\n * places, for example in modals, side panels or pages.\n *\n * @example\n * import { BentoFormLayout, BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayout, BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout>\n * <template #error-message>There is an error. Correct the highlighted field.</template>\n *\n * <bento-input-field>Input field</bento-input-field>\n *\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n *\n * <bento-form-layout-title subsection>\n * Section title\n * <template #description>Optional section description</template>\n * </bento-form-layout-title>\n * </bento-form-layout>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout.scss\" />\n","import { type BentoAlertTypeOption } from '@/components/alert/alert.types';\n\nexport type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;\nexport const BentoFormLayoutFieldTipTypeOptions = ['warning', 'critical', 'highlight', 'success'];\n","<template>\n <div class=\"b-form-layout-field-tip\">\n <slot />\n <bento-alert v-if=\"hasSlot('message')\" :id=\"id\" variant=\"tip\" :type=\"type\">\n <template #description>\n <slot name=\"message\" />\n </template>\n </bento-alert>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { type PropType, useSlots } from 'vue';\n import {\n type BentoFormLayoutFieldTipTypeOption,\n BentoFormLayoutFieldTipTypeOptions,\n } from './form-layout-tip.types';\n import { BentoAlert } from '@/components/alert';\n import { useHasSlot } from '@/composables/use-has-slot/use-has-slot';\n\n defineProps({\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values highlight, success, critical, warning\n */\n type: {\n type: String as PropType<BentoFormLayoutFieldTipTypeOption>,\n default: 'highlight',\n validator: (value: BentoFormLayoutFieldTipTypeOption) => BentoFormLayoutFieldTipTypeOptions.includes(value),\n },\n /**\n * Unique identifier to the form field. Used for accessibility.\n */\n id: {\n type: String,\n default: undefined,\n },\n });\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * You can help users provide accurate and well formatted information\n * by using various elements that come with an input field.\n *\n * Use description/supporting text to add additional context to the\n * field or guidance how to format the input correctly.\n * Because description is always visible it should be the first\n * choice in providing guidance.\n *\n * @example\n * import { BentoFormLayoutFieldTip } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutFieldTip },\n * template: `\n * <bento-form-layout-field-tip>\n * <bento-dropdown label=\"Dropdown\" :items=\"dropdownItems\" placeholder=\"Select an animal\" />\n *\n * <template #message>This is a small tip that can be used in small spaces</template>\n * </bento-form-layout-field-tip>\n * `\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-field-tip.scss\" />\n","<template>\n <div class=\"b-form-layout-title\" :class=\"conditionalClasses\">\n <bento-typography :el=\"el\" variant=\"title\" :medium=\"isSection\">\n <slot />\n </bento-typography>\n\n <bento-typography\n v-if=\"hasSlot('description') || allFieldsRequired\"\n class=\"b-form-layout-title__description\"\n el=\"span\"\n wide\n >\n <slot name=\"description\" />\n <template v-if=\"allFieldsRequired\">\n {{ hasSlot('description') ? ` ${t('requiredFields')}` : t('requiredFields') }}\n </template>\n </bento-typography>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, useSlots } from 'vue';\n import { BentoTypography, BentoTypographyElement } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const slots = useSlots();\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const props = defineProps({\n /**\n * Defines if the Form Layout title is\n * a \"section\" or a \"subsection\".\n * Default is \"section\" (false). Turn into \"true\" for \"subsection\"\n */\n subsection: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Sets the HTML DOM element.\n * @values h1, h2, h3, h4, h5, h6, div, p, span\n */\n el: {\n type: BentoTypography.props.el.type,\n required: true,\n validator: (value: BentoTypographyElement) => Object.values(BentoTypographyElement).includes(value),\n },\n\n /**\n * Defines if the Form Layout title displays\n * a message indicating that all fields are required.\n */\n allFieldsRequired: {\n type: Boolean,\n default: false,\n },\n });\n\n // Uses \"medium\" typography if it is a section title\n const isSection = computed(() => !props.subsection);\n const hasSlot = useHasSlot(slots);\n const conditionalClasses = computed(() => ({\n 'b-form-layout-title--subsection': props.subsection,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * If you’re building a lengthy form, organize related\n * fields into sections and, if needed, subsections.\n *\n * A form can have a \"Section Title\" and multiple \"Subsection titles\".\n *\n * One of the values provided in @see BentoTypographyElement must always be provided as a string\n * to define correct HTML sementic from the application's context\n *\n * @example\n * import { BentoFormLayoutTitle } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoFormLayoutTitle },\n * template: `\n * <bento-form-layout-title subsection el=\"h2\">\n * Title\n * <template #description>Description text</template>\n * </bento-form-layout-title>\n * `\n * }\n */\n export default {\n name: 'bento-form-layout-title',\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./form-layout-title.scss\" />\n"],"names":["__default__$2","slots","useSlots","hasSlot","useHasSlot","formLayoutElement","computed","props","hasActions","provide","FORM_LAYOUT_LOADING_INJECTION_KEY","toRef","BentoFormLayoutFieldTipTypeOptions","__default__$1","__default__","messages","useI18n","isSection","conditionalClasses"],"mappings":";;;;;;;;AAwFI,MAAAA,IAAA,CAAA;;;;;;;;;;;;;;;;iBA5DAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAiBAI,IAAAC,EAAA,MAAAC,EAAA,OAAA,SAAA,KAAA,GACAC,IAAAF,EAAA,MAAAH,EAAA,cAAA,KAAAA,EAAA,eAAA,CAAA;AAEA,WAAAM,EAAAC,GAAAC,EAAAJ,GAAA,SAAA,CAAA;;;;;;;;;;;;;;;;;;qBC9CGK,IAAA,CAAA,WAAA,YAAA,aAAA,SAAA,GC+DHC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;AA3BA,UAAAZ,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GCsDAa,IAAA;AAAA,EAAe,MAAA;AAAA,EACL,MAAA,EAAA,UAAAC,EAAA;AAEV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBApEAd,IAAAC,EAAA,GACA,EAAA,EAAA,IAAAc,EAAA,GAkCAC,IAAAX,EAAA,MAAA,CAAAC,EAAA,UAAA,GACAJ,IAAAC,EAAAH,CAAA,GACAiB,IAAAZ,EAAA,OAAA;AAAA,MAA2C,mCAAAC,EAAA;AAAA,IACE,EAAA;;;;;;;;;;;;;;;;"}
@@ -1,12 +1,12 @@
1
1
  import { getCurrentInstance as _, ref as c, reactive as ze, computed as S, watch as B, nextTick as te, defineComponent as ue, toRef as Be, onMounted as be, useSlots as Ue } from "vue";
2
- import { B as de } from "./button.DII5Ifwa.js";
3
- import { B as Le } from "./checkbox.CyGdeEdp.js";
4
- import { u as X, h as _e, f as ye, c as ve, B as Ne } from "./button-actions.sLmpjWGK.js";
5
- import { B as Ge } from "./modal.C6OJMJ_D.js";
6
- import { B as $e } from "./typography.D1OZJbEa.js";
2
+ import { B as de } from "./button.tsTeQRcP.js";
3
+ import { B as Le } from "./checkbox.CnuIUi4-.js";
4
+ import { u as X, h as _e, f as ye, c as ve, B as Ne } from "./button-actions.CdetBz3J.js";
5
+ import { B as Ge } from "./modal.UkzON4bz.js";
6
+ import { B as $e } from "./typography.Cd386LC_.js";
7
7
  import { u as qe } from "./use-has-slot.C9lQZ6nz.js";
8
8
  import { g as Q } from "./generate-uid.DBWe4g6T.js";
9
- import { B as Ke } from "./button-actions-with-menu.CjTaZoYW.js";
9
+ import { B as Ke } from "./button-actions-with-menu.1vZJWN1K.js";
10
10
  import { u as se, g as Ye, a as je } from "./index.CPOlyau9.js";
11
11
  import { B as Je } from "./bin.DEuK6FKk.js";
12
12
  import { D as Xe } from "./dot.BzjMWDGe.js";
@@ -15,15 +15,15 @@ import { n as d } from "./_plugin-vue2_normalizer.CeySl7Fu.js";
15
15
  import { R as Qe } from "./refresh.DG69D4K2.js";
16
16
  import { h as He, p as We } from "./index.CL3TXc0a.js";
17
17
  import { B as et } from "./divider.KxXy6nzJ.js";
18
- import { B as tt } from "./input-field.BT5tx_DM.js";
18
+ import { B as tt } from "./input-field.90DWNO1a.js";
19
19
  import "./index.Cl4_42j5.js";
20
- import { g as st } from "./dropdown.QLkWJ9zk.js";
21
- import { F as at } from "./field-label.CEp7WMYe.js";
20
+ import { g as st } from "./dropdown.CpZQYisR.js";
21
+ import { F as at } from "./field-label.BQaDr37D.js";
22
22
  import { G as it } from "./grab.D-sx9XVE.js";
23
23
  import { u as J } from "./on-click-outside.BgIzQ2G1.js";
24
- import { I as nt } from "./info-icon-with-popover.8pL3B3m3.js";
25
- import { T as lt } from "./title-details.kDWlIY1W.js";
26
- import { u as rt } from "./use-bento-toast-controller.A5xraVqa.js";
24
+ import { I as nt } from "./info-icon-with-popover.BzGVcMqy.js";
25
+ import { T as lt } from "./title-details.BhR2nis-.js";
26
+ import { u as rt } from "./use-bento-toast-controller.DMA9d_oD.js";
27
27
  import "../assets/header-with-views.css";
28
28
  const ot = {
29
29
  __name: "download",
@@ -1243,10 +1243,10 @@ var i5 = function() {
1243
1243
  "9a246341"
1244
1244
  );
1245
1245
  const r5 = l5.exports, o5 = {
1246
- i18n: { messages: Oa }
1246
+ i18n: { messages: Oa },
1247
+ name: "bento-header-with-views"
1247
1248
  }, c5 = /* @__PURE__ */ ue({
1248
1249
  ...o5,
1249
- __name: "header-with-views",
1250
1250
  props: {
1251
1251
  actions: { default: () => [] },
1252
1252
  title: { default: null },
@@ -1522,10 +1522,10 @@ var u5 = function() {
1522
1522
  d5,
1523
1523
  !1,
1524
1524
  null,
1525
- "afffc3f4"
1525
+ "53b01de6"
1526
1526
  );
1527
1527
  const O5 = _5.exports;
1528
1528
  export {
1529
1529
  O5 as h
1530
1530
  };
1531
- //# sourceMappingURL=header-with-views.DQh7mz0T.js.map
1531
+ //# sourceMappingURL=header-with-views.BJCjvhem.js.map