@adyen/bento-vue3 1.40.0 → 1.42.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 (301) hide show
  1. package/dist/@types/components.d.ts +10 -0
  2. package/dist/@types/packages/vue2/src/components/currency/currency.types.d.ts +18 -0
  3. package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +34 -211
  4. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.types.d.ts +0 -1
  5. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +1 -1
  6. package/dist/@types/packages/vue2/src/components/data-grid/composables/index.d.ts +1 -1
  7. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -0
  8. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-scroller/use-scroller.d.ts +10 -1
  9. package/dist/@types/packages/vue2/src/components/data-grid/composables/{use-selector.d.ts → use-selector/use-selector.d.ts} +2 -2
  10. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-sorter.d.ts +1 -2
  11. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +16 -1
  12. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +7 -0
  13. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +7 -0
  14. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/components/file-uploader-file-card-animation/file-uploader-file-card-animation.vue.d.ts +24 -0
  15. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/components/index.d.ts +1 -0
  16. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/composables/use-truncated-file-name.d.ts +10 -0
  17. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/file-uploader-file-card.types.d.ts +11 -0
  18. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/file-uploader-file-card.vue.d.ts +63 -0
  19. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/index.d.ts +1 -0
  20. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/utils/get-file-icon/get-file-icon.d.ts +8 -0
  21. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/utils/get-file-icon-color/get-file-icon-color.d.ts +8 -0
  22. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-file-card/utils/index.d.ts +2 -0
  23. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-restrictions/file-uploader-restrictions.types.d.ts +39 -0
  24. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-restrictions/file-uploader-restrictions.vue.d.ts +68 -0
  25. package/dist/@types/packages/vue2/src/components/file-uploader/components/file-uploader-restrictions/index.d.ts +1 -0
  26. package/dist/@types/packages/vue2/src/components/file-uploader/composables/index.d.ts +1 -0
  27. package/dist/@types/packages/vue2/src/components/file-uploader/composables/use-file-type-list/use-file-type-list.d.ts +11 -0
  28. package/dist/@types/packages/vue2/src/components/file-uploader/file-uploader.types.d.ts +99 -0
  29. package/dist/@types/packages/vue2/src/components/file-uploader/file-uploader.vue.d.ts +85 -0
  30. package/dist/@types/packages/vue2/src/components/file-uploader/index.d.ts +2 -0
  31. package/dist/@types/packages/vue2/src/components/file-uploader/utils/format-file-size/format-file-size.d.ts +9 -0
  32. package/dist/@types/packages/vue2/src/components/file-uploader/utils/get-file-type/get-file-type.d.ts +8 -0
  33. package/dist/@types/packages/vue2/src/components/file-uploader/utils/index.d.ts +3 -0
  34. package/dist/@types/packages/vue2/src/components/file-uploader/utils/read-file/read-file.d.ts +14 -0
  35. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +277 -37
  36. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/components/all-filters-modal-button/all-filters-modal-button.vue.d.ts +1 -1
  37. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +21 -6
  38. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +1 -1
  39. package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +30 -6
  40. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +30 -6
  41. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +44 -6
  42. package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +5 -7
  43. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +37 -6
  44. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.vue.d.ts +8 -0
  45. package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +37 -6
  46. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-button/select-filter-button.vue.d.ts +15 -0
  47. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-dropdown/select-filter-dropdown.vue.d.ts +15 -0
  48. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.props.d.ts +7 -0
  49. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +9 -0
  50. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +24 -0
  51. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +9 -0
  52. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +24 -0
  53. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +24 -0
  54. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +24 -0
  55. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +4 -0
  56. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +274 -30
  57. package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +43 -72
  58. package/dist/@types/packages/vue2/src/components/image/index.d.ts +1 -1
  59. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +3 -0
  60. package/dist/@types/packages/vue2/src/components/input-field-password/index.d.ts +3 -0
  61. package/dist/@types/packages/vue2/src/components/input-field-password/input-field-password.types.d.ts +77 -0
  62. package/dist/@types/packages/vue2/src/components/input-field-password/input-field-password.vue.d.ts +90 -0
  63. package/dist/@types/packages/vue2/src/components/input-field-password/utilities/input-field-password.validation.d.ts +37 -0
  64. package/dist/@types/packages/vue2/src/components/internal/tooltip/tooltip.vue.d.ts +43 -8
  65. package/dist/@types/packages/vue2/src/components/layout/components/layout-row/layout-row.vue.d.ts +54 -0
  66. package/dist/@types/packages/vue2/src/components/layout/index.d.ts +3 -0
  67. package/dist/@types/packages/vue2/src/components/layout/layout.keys.d.ts +1 -0
  68. package/dist/@types/packages/vue2/src/components/layout/layout.types.d.ts +19 -0
  69. package/dist/@types/packages/vue2/src/components/layout/layout.vue.d.ts +53 -0
  70. package/dist/@types/packages/vue2/src/components/promo-banner/__mock-image.d.ts +1 -0
  71. package/dist/@types/packages/vue2/src/components/promo-banner/index.d.ts +2 -0
  72. package/dist/@types/packages/vue2/src/components/promo-banner/promo-banner.types.d.ts +83 -0
  73. package/dist/@types/packages/vue2/src/components/promo-banner/promo-banner.vue.d.ts +65 -0
  74. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.types.d.ts +2 -0
  75. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +19 -4
  76. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +1 -3
  77. package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +1 -3
  78. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +4 -4
  79. package/dist/@types/packages/vue2/src/index.d.ts +4 -0
  80. package/dist/action-bar.js +1 -1
  81. package/dist/alert.js +1 -1
  82. package/dist/assets/accordion-item.css +1 -1
  83. package/dist/assets/action-bar.css +1 -1
  84. package/dist/assets/base-modal.css +1 -1
  85. package/dist/assets/card.css +1 -1
  86. package/dist/assets/currency.css +1 -1
  87. package/dist/assets/data-grid.css +1 -1
  88. package/dist/assets/dialog-page.css +1 -1
  89. package/dist/assets/file-uploader.css +1 -0
  90. package/dist/assets/filter-bar.css +1 -1
  91. package/dist/assets/input-field-password.css +1 -0
  92. package/dist/assets/input-field.css +1 -1
  93. package/dist/assets/inspector.css +1 -1
  94. package/dist/assets/layout-row.css +1 -0
  95. package/dist/assets/menu.css +1 -1
  96. package/dist/assets/modal-fullscreen.css +1 -1
  97. package/dist/assets/popover.css +1 -1
  98. package/dist/assets/promo-banner.css +1 -0
  99. package/dist/assets/selection-card-group.css +1 -1
  100. package/dist/assets/sidepanel.css +1 -1
  101. package/dist/assets/step.css +1 -1
  102. package/dist/assets/structured-list-item.css +1 -1
  103. package/dist/assets/tooltip.css +1 -1
  104. package/dist/button.js +2 -2
  105. package/dist/card.js +1 -1
  106. package/dist/checkbox.js +2 -2
  107. package/dist/chunks/{action-bar.CNH2XWmk.js → action-bar.C1Vu3qJu.js} +5 -5
  108. package/dist/chunks/{action-bar.CNH2XWmk.js.map → action-bar.C1Vu3qJu.js.map} +1 -1
  109. package/dist/chunks/{alert.CHddA_lK.js → alert.B9V6kUmo.js} +9 -9
  110. package/dist/chunks/{alert.CHddA_lK.js.map → alert.B9V6kUmo.js.map} +1 -1
  111. package/dist/chunks/{base-modal.6IqnDuvf.js → base-modal.ku0lyHOs.js} +2 -2
  112. package/dist/chunks/{base-modal.6IqnDuvf.js.map → base-modal.ku0lyHOs.js.map} +1 -1
  113. package/dist/chunks/{button-actions-with-menu.ByYlrFqZ.js → button-actions-with-menu.Bn7Kdx4v.js} +4 -4
  114. package/dist/chunks/{button-actions-with-menu.ByYlrFqZ.js.map → button-actions-with-menu.Bn7Kdx4v.js.map} +1 -1
  115. package/dist/chunks/{button-actions.ndsyVgzV.js → button-actions.Bjfo46Q_.js} +2 -2
  116. package/dist/chunks/{button-actions.ndsyVgzV.js.map → button-actions.Bjfo46Q_.js.map} +1 -1
  117. package/dist/chunks/{card.B6tMI3KP.js → card.D_XL2TWr.js} +2 -2
  118. package/dist/chunks/{card.B6tMI3KP.js.map → card.D_XL2TWr.js.map} +1 -1
  119. package/dist/chunks/{checkbox-group.Bu6WRt6i.js → checkbox-group.C5IweVVx.js} +4 -4
  120. package/dist/chunks/{checkbox-group.Bu6WRt6i.js.map → checkbox-group.C5IweVVx.js.map} +1 -1
  121. package/dist/chunks/{checkbox.DfUxRkJe.js → checkbox.B72ok3Yu.js} +16 -16
  122. package/dist/chunks/{checkbox.DfUxRkJe.js.map → checkbox.B72ok3Yu.js.map} +1 -1
  123. package/dist/chunks/{checkmark-circle-fill.ChV7Jy6r.js → checkmark-circle-fill.ClIf1E3H.js} +7 -7
  124. package/dist/chunks/{checkmark-circle-fill.ChV7Jy6r.js.map → checkmark-circle-fill.ClIf1E3H.js.map} +1 -1
  125. package/dist/chunks/{code-snippet.DqTEK8cz.js → code-snippet.CiOcZKKH.js} +6 -6
  126. package/dist/chunks/{code-snippet.DqTEK8cz.js.map → code-snippet.CiOcZKKH.js.map} +1 -1
  127. package/dist/chunks/{controls-group.RL8WrYdy.js → controls-group.Dg_YRS1e.js} +2 -2
  128. package/dist/chunks/{controls-group.RL8WrYdy.js.map → controls-group.Dg_YRS1e.js.map} +1 -1
  129. package/dist/chunks/{copy.dbbJppdL.js → copy.CnzLQyvJ.js} +2 -2
  130. package/dist/chunks/{copy.dbbJppdL.js.map → copy.CnzLQyvJ.js.map} +1 -1
  131. package/dist/chunks/{currency.BGrGBnhm.js → currency.Dz2x17_Q.js} +57 -70
  132. package/dist/chunks/currency.Dz2x17_Q.js.map +1 -0
  133. package/dist/chunks/{dashboard-section.rv0r2_-a.js → dashboard-section.BCc8HoQG.js} +3 -3
  134. package/dist/chunks/{dashboard-section.rv0r2_-a.js.map → dashboard-section.BCc8HoQG.js.map} +1 -1
  135. package/dist/chunks/{dashed-underline.D6ke20Vd.js → dashed-underline.BKfUevuM.js} +3 -3
  136. package/dist/chunks/{dashed-underline.D6ke20Vd.js.map → dashed-underline.BKfUevuM.js.map} +1 -1
  137. package/dist/chunks/{data-grid-template.CRxJLJsn.js → data-grid-template.DI27ou71.js} +2 -2
  138. package/dist/chunks/{data-grid-template.CRxJLJsn.js.map → data-grid-template.DI27ou71.js.map} +1 -1
  139. package/dist/chunks/data-grid.eX0SZIFQ.js +3174 -0
  140. package/dist/chunks/data-grid.eX0SZIFQ.js.map +1 -0
  141. package/dist/chunks/{date-picker.mfXjVZ9w.js → date-picker.DDsfecHp.js} +16 -16
  142. package/dist/chunks/{date-picker.mfXjVZ9w.js.map → date-picker.DDsfecHp.js.map} +1 -1
  143. package/dist/chunks/{date-range-picker.Cs8Ia3Qs.js → date-range-picker.C9Ht_Egi.js} +26 -26
  144. package/dist/chunks/{date-range-picker.Cs8Ia3Qs.js.map → date-range-picker.C9Ht_Egi.js.map} +1 -1
  145. package/dist/chunks/dot.pQfhaKda.js +29 -0
  146. package/dist/chunks/dot.pQfhaKda.js.map +1 -0
  147. package/dist/chunks/{dropdown-tag.DeoUXbp4.js → dropdown-tag.Bc4qxPRN.js} +3 -3
  148. package/dist/chunks/{dropdown-tag.DeoUXbp4.js.map → dropdown-tag.Bc4qxPRN.js.map} +1 -1
  149. package/dist/chunks/{dropdown.DBxpqjEM.js → dropdown.BqkUB1So.js} +28 -28
  150. package/dist/chunks/{dropdown.DBxpqjEM.js.map → dropdown.BqkUB1So.js.map} +1 -1
  151. package/dist/chunks/{error-message.CmMyB-k9.js → error-message.BYXS0kUN.js} +2 -2
  152. package/dist/chunks/{error-message.CmMyB-k9.js.map → error-message.BYXS0kUN.js.map} +1 -1
  153. package/dist/chunks/es6.b4enG1py.js +10 -0
  154. package/dist/chunks/es6.b4enG1py.js.map +1 -0
  155. package/dist/chunks/file-uploader.cRbwpcAw.js +1074 -0
  156. package/dist/chunks/file-uploader.cRbwpcAw.js.map +1 -0
  157. package/dist/chunks/filter-bar.DVLYNNwQ.js +2867 -0
  158. package/dist/chunks/filter-bar.DVLYNNwQ.js.map +1 -0
  159. package/dist/chunks/{footer-actions.DAlN9pd3.js → footer-actions.DvIVWqWv.js} +2 -2
  160. package/dist/chunks/{footer-actions.DAlN9pd3.js.map → footer-actions.DvIVWqWv.js.map} +1 -1
  161. package/dist/chunks/{form-layout-title.w0J-ymMW.js → form-layout-title.BqNDCnLk.js} +2 -2
  162. package/dist/chunks/{form-layout-title.w0J-ymMW.js.map → form-layout-title.BqNDCnLk.js.map} +1 -1
  163. package/dist/chunks/{header.DQmnYarZ.js → header.C0NBlBJv.js} +4 -4
  164. package/dist/chunks/{header.DQmnYarZ.js.map → header.C0NBlBJv.js.map} +1 -1
  165. package/dist/chunks/image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js +47 -0
  166. package/dist/chunks/image.vue_vue_type_script_setup_true_lang.BMoSMeM-.js.map +1 -0
  167. package/dist/chunks/index.CWuzEfiV.js +6 -0
  168. package/dist/chunks/index.CWuzEfiV.js.map +1 -0
  169. package/dist/chunks/index.Cwtxz7pr.js +344 -0
  170. package/dist/chunks/{index.DKQuLmwu.js.map → index.Cwtxz7pr.js.map} +1 -1
  171. package/dist/chunks/{info-icon.CNPSAUM6.js → info-icon.CUC0fwLb.js} +2 -2
  172. package/dist/chunks/{info-icon.CNPSAUM6.js.map → info-icon.CUC0fwLb.js.map} +1 -1
  173. package/dist/chunks/input-field-password.BA0EpVMY.js +306 -0
  174. package/dist/chunks/input-field-password.BA0EpVMY.js.map +1 -0
  175. package/dist/chunks/{input-field.DbeVnbwg.js → input-field.CWMgbw48.js} +84 -83
  176. package/dist/chunks/input-field.CWMgbw48.js.map +1 -0
  177. package/dist/chunks/layout-row.iTtAEvD2.js +101 -0
  178. package/dist/chunks/layout-row.iTtAEvD2.js.map +1 -0
  179. package/dist/chunks/{listbox-option-tag.58u_cWFs.js → listbox-option-tag.DU_NVK_z.js} +2 -2
  180. package/dist/chunks/{listbox-option-tag.58u_cWFs.js.map → listbox-option-tag.DU_NVK_z.js.map} +1 -1
  181. package/dist/chunks/{loading-button.CHujR70I.js → loading-button.CNWhVIPK.js} +10 -10
  182. package/dist/chunks/{loading-button.CHujR70I.js.map → loading-button.CNWhVIPK.js.map} +1 -1
  183. package/dist/chunks/{menu.DXVN_WLr.js → menu.BpqOdkxR.js} +3 -3
  184. package/dist/chunks/{menu.DXVN_WLr.js.map → menu.BpqOdkxR.js.map} +1 -1
  185. package/dist/chunks/{modal-fullscreen.D96Avr2Q.js → modal-fullscreen.DtgTb1Xh.js} +2 -2
  186. package/dist/chunks/{modal-fullscreen.D96Avr2Q.js.map → modal-fullscreen.DtgTb1Xh.js.map} +1 -1
  187. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.ylWdiVwQ.js → modal.vue_vue_type_script_setup_true_lang.CjD91zJo.js} +4 -4
  188. package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.ylWdiVwQ.js.map → modal.vue_vue_type_script_setup_true_lang.CjD91zJo.js.map} +1 -1
  189. package/dist/chunks/{pagination.B-OihXTg.js → pagination.DrWx8K01.js} +2 -2
  190. package/dist/chunks/{pagination.B-OihXTg.js.map → pagination.DrWx8K01.js.map} +1 -1
  191. package/dist/chunks/{popover.HArIkKve.js → popover.D9Zw4w9l.js} +2 -2
  192. package/dist/chunks/{popover.HArIkKve.js.map → popover.D9Zw4w9l.js.map} +1 -1
  193. package/dist/chunks/promo-banner.oUapgyV-.js +126 -0
  194. package/dist/chunks/promo-banner.oUapgyV-.js.map +1 -0
  195. package/dist/chunks/{radio-group.D94e5N12.js → radio-group.DIyCKfOQ.js} +4 -4
  196. package/dist/chunks/{radio-group.D94e5N12.js.map → radio-group.DIyCKfOQ.js.map} +1 -1
  197. package/dist/chunks/{search-bar.DN-QKFlJ.js → search-bar.DDePObYJ.js} +3 -3
  198. package/dist/chunks/{search-bar.DN-QKFlJ.js.map → search-bar.DDePObYJ.js.map} +1 -1
  199. package/dist/chunks/{secondary-nav.C-7Qq6rE.js → secondary-nav.ysDOs9J9.js} +4 -4
  200. package/dist/chunks/{secondary-nav.C-7Qq6rE.js.map → secondary-nav.ysDOs9J9.js.map} +1 -1
  201. package/dist/chunks/{segmented-control.CueLfseV.js → segmented-control.B5H5Wiyz.js} +2 -2
  202. package/dist/chunks/{segmented-control.CueLfseV.js.map → segmented-control.B5H5Wiyz.js.map} +1 -1
  203. package/dist/chunks/selection-card-group.pUl1EuFV.js +474 -0
  204. package/dist/chunks/selection-card-group.pUl1EuFV.js.map +1 -0
  205. package/dist/chunks/show.ChPQTrAT.js +64 -0
  206. package/dist/chunks/show.ChPQTrAT.js.map +1 -0
  207. package/dist/chunks/{sidepanel.CGbl5x5B.js → sidepanel.BywianGe.js} +2 -2
  208. package/dist/chunks/{sidepanel.CGbl5x5B.js.map → sidepanel.BywianGe.js.map} +1 -1
  209. package/dist/chunks/step.Db0UJ8mx.js +264 -0
  210. package/dist/chunks/step.Db0UJ8mx.js.map +1 -0
  211. package/dist/chunks/{structured-list-item.BhNJlDub.js → structured-list-item.C_6ju-IY.js} +6 -6
  212. package/dist/chunks/structured-list-item.C_6ju-IY.js.map +1 -0
  213. package/dist/chunks/{summary-grid-item-custom.DF9waESp.js → summary-grid-item-custom.FxBnzHzb.js} +4 -4
  214. package/dist/chunks/{summary-grid-item-custom.DF9waESp.js.map → summary-grid-item-custom.FxBnzHzb.js.map} +1 -1
  215. package/dist/chunks/{tag.wfnhGWVG.js → tag.xvqrfTwk.js} +2 -2
  216. package/dist/chunks/{tag.wfnhGWVG.js.map → tag.xvqrfTwk.js.map} +1 -1
  217. package/dist/chunks/{teleport.L8qFCYpr.js → teleport.CI0k6eaC.js} +9 -9
  218. package/dist/chunks/teleport.CI0k6eaC.js.map +1 -0
  219. package/dist/chunks/{textarea.DlPNxnUQ.js → textarea.vAp6HFi9.js} +2 -2
  220. package/dist/chunks/{textarea.DlPNxnUQ.js.map → textarea.vAp6HFi9.js.map} +1 -1
  221. package/dist/chunks/{timeline-item.CEolKFn0.js → timeline-item.ND_EMuwP.js} +5 -5
  222. package/dist/chunks/{timeline-item.CEolKFn0.js.map → timeline-item.ND_EMuwP.js.map} +1 -1
  223. package/dist/chunks/tooltip.BvJoy09y.js +203 -0
  224. package/dist/chunks/tooltip.BvJoy09y.js.map +1 -0
  225. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Bz6QyDuV.js → tutorial.vue_vue_type_script_setup_true_lang.LBw_ALfS.js} +12 -12
  226. package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Bz6QyDuV.js.map → tutorial.vue_vue_type_script_setup_true_lang.LBw_ALfS.js.map} +1 -1
  227. package/dist/chunks/{use-cached-selected-values.C7Lt5U_S.js → use-cached-selected-values.DWVHnlNN.js} +3 -3
  228. package/dist/chunks/{use-cached-selected-values.C7Lt5U_S.js.map → use-cached-selected-values.DWVHnlNN.js.map} +1 -1
  229. package/dist/chunks/{warning-filled.Dm_HhqzW.js → warning-filled.OUOUbA6k.js} +2 -2
  230. package/dist/chunks/{warning-filled.Dm_HhqzW.js.map → warning-filled.OUOUbA6k.js.map} +1 -1
  231. package/dist/code-snippet.js +1 -1
  232. package/dist/currency.js +1 -1
  233. package/dist/dashboard-template.js +1 -1
  234. package/dist/dashed-underline.js +1 -1
  235. package/dist/data-grid-template.js +1 -1
  236. package/dist/data-grid.js +1 -1
  237. package/dist/date-picker.js +1 -1
  238. package/dist/date-range-picker.js +1 -1
  239. package/dist/dropdown.js +3 -3
  240. package/dist/file-uploader.js +5 -0
  241. package/dist/file-uploader.js.map +1 -0
  242. package/dist/filter-bar.js +1 -1
  243. package/dist/form-layout.js +1 -1
  244. package/dist/header.js +1 -1
  245. package/dist/image.js +1 -1
  246. package/dist/index.js +238 -222
  247. package/dist/index.js.map +1 -1
  248. package/dist/info-icon.js +1 -1
  249. package/dist/input-field-password.js +10 -0
  250. package/dist/input-field-password.js.map +1 -0
  251. package/dist/input-field.js +1 -1
  252. package/dist/internal.js +7 -7
  253. package/dist/layout.js +6 -0
  254. package/dist/layout.js.map +1 -0
  255. package/dist/menu.js +1 -1
  256. package/dist/modal-fullscreen.js +1 -1
  257. package/dist/modal.js +2 -2
  258. package/dist/pagination.js +1 -1
  259. package/dist/popover.js +1 -1
  260. package/dist/promo-banner.js +7 -0
  261. package/dist/promo-banner.js.map +1 -0
  262. package/dist/radio-group.js +1 -1
  263. package/dist/search-bar.js +2 -2
  264. package/dist/secondary-nav.js +1 -1
  265. package/dist/segmented-control.js +1 -1
  266. package/dist/selection-card.js +1 -1
  267. package/dist/sidepanel.js +1 -1
  268. package/dist/stepper.js +1 -1
  269. package/dist/structured-list.js +1 -1
  270. package/dist/styles/bento-dark.css +110 -33
  271. package/dist/styles/bento-light.css +110 -33
  272. package/dist/styles/bento.css +110 -33
  273. package/dist/styles/legacy.css +118 -41
  274. package/dist/styles/styleguide.css +110 -33
  275. package/dist/summary-grid.js +1 -1
  276. package/dist/tag.js +1 -1
  277. package/dist/textarea.js +1 -1
  278. package/dist/timeline.js +1 -1
  279. package/dist/tutorial.js +1 -1
  280. package/dist/web-types.json +1 -1
  281. package/package.json +6 -7
  282. package/dist/@types/packages/vue2/src/components/image/image.types.d.ts +0 -19
  283. package/dist/chunks/currency.BGrGBnhm.js.map +0 -1
  284. package/dist/chunks/data-grid.DR-w_KKU.js +0 -3176
  285. package/dist/chunks/data-grid.DR-w_KKU.js.map +0 -1
  286. package/dist/chunks/es6.BvpG4Oi6.js +0 -9
  287. package/dist/chunks/es6.BvpG4Oi6.js.map +0 -1
  288. package/dist/chunks/filter-bar.DiW13x-f.js +0 -2898
  289. package/dist/chunks/filter-bar.DiW13x-f.js.map +0 -1
  290. package/dist/chunks/image.0KzfycGE.js +0 -78
  291. package/dist/chunks/image.0KzfycGE.js.map +0 -1
  292. package/dist/chunks/index.DKQuLmwu.js +0 -182
  293. package/dist/chunks/input-field.DbeVnbwg.js.map +0 -1
  294. package/dist/chunks/selection-card-group.DkSYInMF.js +0 -392
  295. package/dist/chunks/selection-card-group.DkSYInMF.js.map +0 -1
  296. package/dist/chunks/step.CwuThZ0G.js +0 -285
  297. package/dist/chunks/step.CwuThZ0G.js.map +0 -1
  298. package/dist/chunks/structured-list-item.BhNJlDub.js.map +0 -1
  299. package/dist/chunks/teleport.L8qFCYpr.js.map +0 -1
  300. package/dist/chunks/tooltip.BEl_LdFo.js +0 -188
  301. package/dist/chunks/tooltip.BEl_LdFo.js.map +0 -1
@@ -1,74 +1,45 @@
1
- import { PropType } from "../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue";
2
- import { BentoImageAspectRatio, BentoImageObjectFit } from './image.types';
3
- declare const _default: import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").DefineComponent<import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<{
4
- /**
5
- * Url to image, same as src attribute of `<img>` tag
6
- */
7
- src: {
8
- type: StringConstructor;
9
- required: true;
10
- };
11
- /**
12
- * Accessible text describing the image, same as alt attribute of `<img>` tag
13
- */
14
- alt: {
15
- type: StringConstructor;
16
- required: true;
17
- };
18
- /**
19
- * Aspect ratio of the image, maps to css aspect-ratio
20
- */
21
- aspectRatio: {
22
- type: PropType<BentoImageAspectRatio | `${BentoImageAspectRatio}`>;
23
- default: any;
24
- validator: (value: BentoImageAspectRatio) => boolean;
25
- };
26
- /**
27
- * Object fitting strategy, maps to css object-fit
28
- */
29
- objectFit: {
30
- type: PropType<BentoImageObjectFit | `${BentoImageObjectFit}`>;
31
- default: any;
32
- validator: (value: BentoImageObjectFit) => boolean;
33
- };
34
- }>, {
35
- imageStyles: import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComputedRef<{
36
- aspectRatio: string;
37
- objectFit: "fill" | "contain" | "cover" | BentoImageObjectFit;
38
- }>;
39
- }, {}, {}, {}, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PublicProps, Readonly<import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<{
40
- /**
41
- * Url to image, same as src attribute of `<img>` tag
42
- */
43
- src: {
44
- type: StringConstructor;
45
- required: true;
46
- };
47
- /**
48
- * Accessible text describing the image, same as alt attribute of `<img>` tag
49
- */
50
- alt: {
51
- type: StringConstructor;
52
- required: true;
53
- };
54
- /**
55
- * Aspect ratio of the image, maps to css aspect-ratio
56
- */
57
- aspectRatio: {
58
- type: PropType<BentoImageAspectRatio | `${BentoImageAspectRatio}`>;
59
- default: any;
60
- validator: (value: BentoImageAspectRatio) => boolean;
61
- };
62
- /**
63
- * Object fitting strategy, maps to css object-fit
64
- */
65
- objectFit: {
66
- type: PropType<BentoImageObjectFit | `${BentoImageObjectFit}`>;
67
- default: any;
68
- validator: (value: BentoImageObjectFit) => boolean;
69
- };
70
- }>> & Readonly<{}>, {
71
- aspectRatio: "square" | "landscape" | "4:3" | "3:3" | "16:9" | "2:1" | "portrait" | "3:4" | "2:3" | "9:16" | "1:2" | "1:1" | BentoImageAspectRatio;
72
- objectFit: "fill" | "contain" | "cover" | BentoImageObjectFit;
1
+ import { BentoImageAspectRatio, BentoImageProps } from '@adyen/bento-core/src/components/image/image.types';
2
+ /**
3
+ * Image component used for resizing images to certain aspect ratios and fit strategies.
4
+ *
5
+ * @example
6
+ * import { BentoImage } from '@adyen/bento-vue2';
7
+ *
8
+ * export default {
9
+ * components: { BentoImage },
10
+ * template: `
11
+ * <bento-image
12
+ * :src="imageSrc"
13
+ * alt="alternative text"
14
+ * aspect-ratio="landscape"
15
+ * object-fit="cover"
16
+ *
17
+ * />
18
+ * `
19
+ * }
20
+ */
21
+ declare const _default: import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").DefineComponent<import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BentoImageProps>, {
22
+ aspectRatio: any;
23
+ objectFit: any;
24
+ }>>, {}, {}, {}, {}, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PublicProps, Readonly<import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BentoImageProps>, {
25
+ aspectRatio: any;
26
+ objectFit: any;
27
+ }>>> & Readonly<{}>, {
28
+ aspectRatio: BentoImageAspectRatio | `${BentoImageAspectRatio}` | null;
29
+ objectFit: import("@adyen/bento-core/src/components/image/image.types").BentoImageObjectFit | `${import("@adyen/bento-core/src/components/image/image.types").BentoImageObjectFit}` | null;
73
30
  }, {}, {}, {}, string, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions, true, {}, any>;
74
31
  export default _default;
32
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
+ type __VLS_TypePropsToRuntimeProps<T> = {
34
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
35
+ type: import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
36
+ } : {
37
+ type: import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PropType<T[K]>;
38
+ required: true;
39
+ };
40
+ };
41
+ type __VLS_WithDefaults<P, D> = {
42
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
43
+ default: D[K];
44
+ } : P[K];
45
+ };
@@ -1,2 +1,2 @@
1
1
  export { default as BentoImage } from './image.vue';
2
- export * from './image.types';
2
+ export * from '@adyen/bento-core/src/components/image/image.types';
@@ -180,6 +180,8 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
180
180
  focus: () => void;
181
181
  } & {
182
182
  keydown: (event: KeyboardEvent) => void;
183
+ } & {
184
+ keyup: (event: KeyboardEvent) => void;
183
185
  } & {
184
186
  input: (inputValue: string) => void;
185
187
  }, string, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PublicProps, Readonly<import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<{
@@ -333,6 +335,7 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modu
333
335
  onFocus?: () => any;
334
336
  onInput?: (inputValue: string) => any;
335
337
  onKeydown?: (event: KeyboardEvent) => any;
338
+ onKeyup?: (event: KeyboardEvent) => any;
336
339
  "onEscape-pressed"?: () => any;
337
340
  "onUpdate:dropdown"?: (updatedDropdownProps: BentoInputDropdownProps) => any;
338
341
  "onDropdown-input"?: (selectedValue: BentoListboxSelectedValue) => any;
@@ -0,0 +1,3 @@
1
+ export { default as BentoInputFieldPassword } from './input-field-password.vue';
2
+ export * from './utilities/input-field-password.validation';
3
+ export type { BentoInputFieldPasswordValidationListItem, BentoInputFieldPasswordValidation, BentoInputFieldPasswordProps, } from './input-field-password.types';
@@ -0,0 +1,77 @@
1
+ import { BentoInputField, BentoInputFieldValue } from "../input-field";
2
+ /**
3
+ * Public
4
+ */
5
+ export interface BentoInputFieldPasswordValidationListItem {
6
+ label: string;
7
+ validate: (value: BentoInputFieldValue, ...args: any[]) => boolean;
8
+ additionalArgs?: any[];
9
+ }
10
+ export interface BentoInputFieldPasswordValidation {
11
+ title?: string;
12
+ suggestion?: string;
13
+ list: BentoInputFieldPasswordValidationListItem[];
14
+ }
15
+ export interface BentoInputFieldPasswordProps {
16
+ /**
17
+ * Reduces height of the input
18
+ */
19
+ condensed?: BentoInputFieldProps['condensed'];
20
+ /**
21
+ * Disables the possibility of changing value in the input-field
22
+ */
23
+ disabled?: BentoInputFieldProps['disabled'];
24
+ /**
25
+ * Renders input-field with an error state and the error message beneath the input box
26
+ */
27
+ errorMessage?: BentoInputFieldProps['errorMessage'];
28
+ /**
29
+ * Text displayed as the placeholder of the input-field
30
+ */
31
+ placeholder?: BentoInputFieldProps['placeholder'];
32
+ /**
33
+ * Setting this property to true will set the input field to read only state.
34
+ */
35
+ readonly?: BentoInputFieldProps['readonly'];
36
+ /**
37
+ * Text displayed as the value of the input-field
38
+ */
39
+ value?: BentoInputFieldProps['value'];
40
+ /**
41
+ * Label to be shown with the input field
42
+ */
43
+ label?: string;
44
+ /**
45
+ * Configuration object for password field validation.
46
+ *
47
+ * This object defines the validation criteria and associated messages for a password field.
48
+ * It includes the following properties:
49
+ *
50
+ * - `title`: The title displayed at the top of the validation hint.
51
+ * - `suggestion`: The message displayed at the bottom of the validation hint, providing additional guidance.
52
+ * - `list`: An array of callback functions to be executed on the value after each user input, validating the password against the specified rules.
53
+ *
54
+ * By default, the validation checks that:
55
+ *
56
+ * - The value has a minimum length of 8 characters.
57
+ * - The value contains at least one lowercase letter.
58
+ * - The value contains at least one uppercase letter.
59
+ * - The value contains at least one numeric digit.
60
+ * - The value contains at least one special character.
61
+ *
62
+ *
63
+ */
64
+ validation?: BentoInputFieldPasswordValidation;
65
+ /**
66
+ * Whether the password validation hint is displayed when the input field is activated via focus or input
67
+ */
68
+ withHint?: boolean;
69
+ }
70
+ /**
71
+ * Private
72
+ */
73
+ export declare enum BentoInputFieldPasswordType {
74
+ TEXT = "text",
75
+ PASSWORD = "password"
76
+ }
77
+ export type BentoInputFieldProps = InstanceType<typeof BentoInputField>['$props'];
@@ -0,0 +1,90 @@
1
+ import { BentoInputFieldPasswordProps, BentoInputFieldProps } from './input-field-password.types';
2
+ /**
3
+ * The input field password is a component designed to support users' preference for entering values securely.
4
+ * This is an extension of the `bento-input-field` component.
5
+ *
6
+ * @example
7
+ * import { BentoInputFieldPassword } from '@adyen/bento-vue2';
8
+ *
9
+ * export default {
10
+ * components: { BentoInputFieldPassword },
11
+ * template: `
12
+ * <bento-input-field-password
13
+ * label="Label"
14
+ * error-message="Error"
15
+ * :validation="{
16
+ * title: 'Password must contain at least:',
17
+ * suggestion: 'Avoid using currency symbols or accented letters.',
18
+ * list: [
19
+ * { label: '8 characters', validate: minLength, additionalArgs: [8] },
20
+ * { label: '1 lowercase (a-z)', validate: requireLowercase },
21
+ * { label: '1 uppercase (A-Z)', validate: requireUppercase },
22
+ * { label: '1 numerical (0-9)', validate: requireNumeric },
23
+ * { label: '1 special character', validate: requireSpecialCharacter },
24
+ * {
25
+ * label: 'Always true',
26
+ * validate: () => {
27
+ * const example = 'Example';
28
+ *
29
+ * return () => example.length > 1;
30
+ * },
31
+ * },
32
+ * ],
33
+ * }"
34
+ * />
35
+ * `
36
+ * }
37
+ */
38
+ declare const _default: import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").DefineComponent<import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BentoInputFieldPasswordProps>, {
39
+ condensed: boolean;
40
+ disabled: boolean;
41
+ label: any;
42
+ errorMessage: any;
43
+ placeholder: string;
44
+ readonly: boolean;
45
+ validation: any;
46
+ value: any;
47
+ withHint: boolean;
48
+ }>>, {}, {}, {}, {}, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, {
49
+ "input:valid": () => void;
50
+ } & {
51
+ input: (value: import("../input-field").BentoInputFieldValue) => void;
52
+ }, string, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PublicProps, Readonly<import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BentoInputFieldPasswordProps>, {
53
+ condensed: boolean;
54
+ disabled: boolean;
55
+ label: any;
56
+ errorMessage: any;
57
+ placeholder: string;
58
+ readonly: boolean;
59
+ validation: any;
60
+ value: any;
61
+ withHint: boolean;
62
+ }>>> & Readonly<{
63
+ onInput?: (value: import("../input-field").BentoInputFieldValue) => any;
64
+ "onInput:valid"?: () => any;
65
+ }>, {
66
+ value: BentoInputFieldProps["value"];
67
+ label: string;
68
+ condensed: BentoInputFieldProps["condensed"];
69
+ disabled: BentoInputFieldProps["disabled"];
70
+ validation: import("./input-field-password.types").BentoInputFieldPasswordValidation;
71
+ errorMessage: BentoInputFieldProps["errorMessage"];
72
+ readonly: BentoInputFieldProps["readonly"];
73
+ placeholder: BentoInputFieldProps["placeholder"];
74
+ withHint: boolean;
75
+ }, {}, {}, {}, string, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions, true, {}, any>;
76
+ export default _default;
77
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
78
+ type __VLS_TypePropsToRuntimeProps<T> = {
79
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
80
+ type: import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
81
+ } : {
82
+ type: import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PropType<T[K]>;
83
+ required: true;
84
+ };
85
+ };
86
+ type __VLS_WithDefaults<P, D> = {
87
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
88
+ default: D[K];
89
+ } : P[K];
90
+ };
@@ -0,0 +1,37 @@
1
+ import { BentoInputFieldValue } from "../../input-field";
2
+ /**
3
+ * Validates if the length of the provided value is greater than or equal to the specified length.
4
+ *
5
+ * @param value - The input value to check.
6
+ * @param length - The minimum required length of the value. Defaults to 8.
7
+ * @returns `true` if the length of the value is greater than or equal to the specified length, `false` otherwise.
8
+ */
9
+ export declare function minLength(value: BentoInputFieldValue, length?: number): boolean;
10
+ /**
11
+ * Validates if the provided value contains at least one lowercase letter.
12
+ *
13
+ * @param value - The input value to check.
14
+ * @returns `true` if the value contains at least one lowercase letter, `false` otherwise.
15
+ */
16
+ export declare function requireLowercase(value: BentoInputFieldValue): boolean;
17
+ /**
18
+ * Validates if the provided value contains at least one uppercase letter.
19
+ *
20
+ * @param value - The input value to check.
21
+ * @returns `true` if the value contains at least one uppercase letter, `false` otherwise.
22
+ */
23
+ export declare function requireUppercase(value: BentoInputFieldValue): boolean;
24
+ /**
25
+ * Validates if the provided value contains at least one numerical digit.
26
+ *
27
+ * @param value - The input value to check.
28
+ * @returns `true` if the value contains at least one numerical digit, `false` otherwise.
29
+ */
30
+ export declare function requireNumeric(value: BentoInputFieldValue): boolean;
31
+ /**
32
+ * Validates if the provided value contains at least one special character (non-alphanumeric).
33
+ *
34
+ * @param value - The input value to check.
35
+ * @returns `true` if the value contains at least one special character, `false` otherwise.
36
+ */
37
+ export declare function requireSpecialCharacter(value: BentoInputFieldValue): boolean;
@@ -1,6 +1,6 @@
1
1
  import { PropType } from "../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue";
2
2
  import { BentoTooltipPosition } from "../../../../../core/src/components/tooltip/tooltip.types";
3
- import { PopperContainerAriaRole } from "../../popper-container";
3
+ import { FallbackPositionProp, PopperContainerAriaRole } from "../../popper-container";
4
4
  import { VueNodeElement } from "../../../types";
5
5
  /**
6
6
  * Tooltip container, to be used internally to render the tooltip container where the text is shown.
@@ -53,12 +53,28 @@ declare const _default: import("../../../../../../node_modules/.pnpm/vue@3.5.13_
53
53
  type: BooleanConstructor;
54
54
  default: boolean;
55
55
  };
56
+ /**
57
+ * Allows to configure to fallback position to the one specified, it could be 'auto' or ['right', 'top', ...].
58
+ * Useful when not using auto as starting placement.
59
+ * @see {@link https://floating-ui.com/docs/flip#fallbackplacements}
60
+ */
61
+ fallbackPosition: {
62
+ type: PropType<FallbackPositionProp>;
63
+ default: () => string[];
64
+ };
65
+ /**
66
+ * Disables focus-trap for tooltip.
67
+ * Useful for maintaining focus on the target element.
68
+ */
69
+ disabledFocusTrap: {
70
+ type: BooleanConstructor;
71
+ default: boolean;
72
+ };
56
73
  }>, {
57
74
  PopperContainerAriaRole: typeof PopperContainerAriaRole;
58
75
  conditionalClasses: import("../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComputedRef<{
59
76
  "b-tooltip--hidden": boolean;
60
77
  }>;
61
- tabIndex: import("../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComputedRef<number>;
62
78
  }, {}, {}, {}, import("../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PublicProps, Readonly<import("../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<{
63
79
  /**
64
80
  * The tooltip's id. Necessary for accessibility purposes.
@@ -107,11 +123,30 @@ declare const _default: import("../../../../../../node_modules/.pnpm/vue@3.5.13_
107
123
  type: BooleanConstructor;
108
124
  default: boolean;
109
125
  };
126
+ /**
127
+ * Allows to configure to fallback position to the one specified, it could be 'auto' or ['right', 'top', ...].
128
+ * Useful when not using auto as starting placement.
129
+ * @see {@link https://floating-ui.com/docs/flip#fallbackplacements}
130
+ */
131
+ fallbackPosition: {
132
+ type: PropType<FallbackPositionProp>;
133
+ default: () => string[];
134
+ };
135
+ /**
136
+ * Disables focus-trap for tooltip.
137
+ * Useful for maintaining focus on the target element.
138
+ */
139
+ disabledFocusTrap: {
140
+ type: BooleanConstructor;
141
+ default: boolean;
142
+ };
110
143
  }>> & Readonly<{}>, {
111
144
  id: string;
112
145
  position: import("../../popper-container").PopperContainerPositionBasic;
113
146
  isShown: boolean;
114
147
  offset: number;
148
+ disabledFocusTrap: boolean;
149
+ fallbackPosition: FallbackPositionProp;
115
150
  }, {}, {
116
151
  BentoTypography: {
117
152
  new (...args: any[]): import("../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").CreateComponentPublicInstanceWithMixins<Readonly<import("../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<{
@@ -287,7 +322,7 @@ declare const _default: import("../../../../../../node_modules/.pnpm/vue@3.5.13_
287
322
  default: boolean;
288
323
  };
289
324
  fallbackPosition: {
290
- type: PropType<import("../../popper-container").FallbackPositionProp>;
325
+ type: PropType<FallbackPositionProp>;
291
326
  default: any;
292
327
  };
293
328
  fixedPositioning: {
@@ -349,7 +384,7 @@ declare const _default: import("../../../../../../node_modules/.pnpm/vue@3.5.13_
349
384
  ariaRole: PopperContainerAriaRole;
350
385
  arrow: any;
351
386
  disabledFocusTrap: boolean;
352
- fallbackPosition: import("../../popper-container").FallbackPositionProp;
387
+ fallbackPosition: FallbackPositionProp;
353
388
  fixedPositioning: boolean;
354
389
  isHidden: boolean;
355
390
  matchWidth: boolean;
@@ -390,7 +425,7 @@ declare const _default: import("../../../../../../node_modules/.pnpm/vue@3.5.13_
390
425
  default: boolean;
391
426
  };
392
427
  fallbackPosition: {
393
- type: PropType<import("../../popper-container").FallbackPositionProp>;
428
+ type: PropType<FallbackPositionProp>;
394
429
  default: any;
395
430
  };
396
431
  fixedPositioning: {
@@ -450,7 +485,7 @@ declare const _default: import("../../../../../../node_modules/.pnpm/vue@3.5.13_
450
485
  ariaRole: PopperContainerAriaRole;
451
486
  arrow: any;
452
487
  disabledFocusTrap: boolean;
453
- fallbackPosition: import("../../popper-container").FallbackPositionProp;
488
+ fallbackPosition: FallbackPositionProp;
454
489
  fixedPositioning: boolean;
455
490
  isHidden: boolean;
456
491
  matchWidth: boolean;
@@ -488,7 +523,7 @@ declare const _default: import("../../../../../../node_modules/.pnpm/vue@3.5.13_
488
523
  default: boolean;
489
524
  };
490
525
  fallbackPosition: {
491
- type: PropType<import("../../popper-container").FallbackPositionProp>;
526
+ type: PropType<FallbackPositionProp>;
492
527
  default: any;
493
528
  };
494
529
  fixedPositioning: {
@@ -536,7 +571,7 @@ declare const _default: import("../../../../../../node_modules/.pnpm/vue@3.5.13_
536
571
  ariaRole: PopperContainerAriaRole;
537
572
  arrow: any;
538
573
  disabledFocusTrap: boolean;
539
- fallbackPosition: import("../../popper-container").FallbackPositionProp;
574
+ fallbackPosition: FallbackPositionProp;
540
575
  fixedPositioning: boolean;
541
576
  isHidden: boolean;
542
577
  matchWidth: boolean;
@@ -0,0 +1,54 @@
1
+ import { type BentoLayoutRowProps } from '../../layout.types';
2
+ /**
3
+ * Page row is subcomponent of Layout meant to be used to generate the row layout.
4
+ *
5
+ * @example
6
+ * import { BentoLayout, BentoLayoutRow } from '@adyen/bento-vue2';
7
+ *
8
+ * export default {
9
+ * components: { BentoLayout, BentoLayoutRow },
10
+ * template: `
11
+ * <bento-layout>
12
+ * <bento-layout-row columns-layout="3-9">
13
+ * <template #col-1>Narrow 3-9</template>
14
+ * <template #col-2>Wide 3-9</template>
15
+ * </bento-layout-row>
16
+ * <bento-layout-row>
17
+ * <template #col-1>6-6</template>
18
+ * <template #col-2>6-6</template>
19
+ * </bento-layout-row>
20
+ * </bento-layout>
21
+ * `
22
+ * }
23
+ */
24
+ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").DefineComponent<import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BentoLayoutRowProps>, {
25
+ columnsLayout: string;
26
+ }>>, {}, {}, {}, {}, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PublicProps, Readonly<import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BentoLayoutRowProps>, {
27
+ columnsLayout: string;
28
+ }>>> & Readonly<{}>, {
29
+ columnsLayout: import("../../layout.types").BentoLayoutRowColumnLayout;
30
+ }, {}, {}, {}, string, import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions, true, {}, any>, {
31
+ default: (_: {}) => any;
32
+ 'col-1': (_: {}) => any;
33
+ 'col-2': (_: {}) => any;
34
+ }>;
35
+ export default _default;
36
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
37
+ type __VLS_TypePropsToRuntimeProps<T> = {
38
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
39
+ type: import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
40
+ } : {
41
+ type: import("../../../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PropType<T[K]>;
42
+ required: true;
43
+ };
44
+ };
45
+ type __VLS_WithDefaults<P, D> = {
46
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
47
+ default: D[K];
48
+ } : P[K];
49
+ };
50
+ type __VLS_WithTemplateSlots<T, S> = T & {
51
+ new (): {
52
+ $slots: S;
53
+ };
54
+ };
@@ -0,0 +1,3 @@
1
+ export { default as BentoLayout } from './layout.vue';
2
+ export { default as BentoLayoutRow } from './components/layout-row/layout-row.vue';
3
+ export type { BentoLayoutVariant, BentoLayoutSize, BentoLayoutRowColumnLayout, BentoLayoutProps, BentoLayoutRowProps, } from './layout.types';
@@ -0,0 +1 @@
1
+ export declare const LAYOUT_SIZE_INJECTION_KEY: unique symbol;
@@ -0,0 +1,19 @@
1
+ /**
2
+ * @private
3
+ */
4
+ export declare const BentoLayoutVariantOptions: readonly ["page", "component"];
5
+ export declare const BentoLayoutSizeOptions: readonly ["full-width", "narrow", "half-width"];
6
+ export declare const BentoLayoutRowColumnLayoutOptions: readonly ["3-9", "9-3", "4-8", "8-4", "6-6"];
7
+ export type BentoLayoutVariant = (typeof BentoLayoutVariantOptions)[number];
8
+ export type BentoLayoutSize = (typeof BentoLayoutSizeOptions)[number];
9
+ export type BentoLayoutRowColumnLayout = (typeof BentoLayoutRowColumnLayoutOptions)[number];
10
+ export interface BentoLayoutProps {
11
+ /** Defines if the layout is used in a page or only a section */
12
+ variant?: BentoLayoutVariant;
13
+ /** Defines the size of the page */
14
+ size?: BentoLayoutSize;
15
+ }
16
+ export interface BentoLayoutRowProps {
17
+ /** Sets the layout of the columns when multiple columns are used */
18
+ columnsLayout?: BentoLayoutRowColumnLayout;
19
+ }
@@ -0,0 +1,53 @@
1
+ import { BentoLayoutProps } from './layout.types';
2
+ /**
3
+ * Layout is a basic scaffolding of a page that defines spacing, some functionality and responsive behaviour of its top level sections.
4
+ *
5
+ * @example
6
+ * import { BentoLayout, BentoLayoutRow } from '@adyen/bento-vue2';
7
+ *
8
+ * export default {
9
+ * components: { BentoLayout, BentoLayoutRow },
10
+ * template: `
11
+ * <bento-layout size="narrow">
12
+ * <bento-layout-row>
13
+ * Row 1
14
+ * </bento-layout-row>
15
+ * <bento-layout-row>
16
+ * Row 2
17
+ * </bento-layout-row>
18
+ * </bento-layout>
19
+ * `
20
+ * }
21
+ */
22
+ declare const _default: __VLS_WithTemplateSlots<import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").DefineComponent<import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BentoLayoutProps>, {
23
+ size: string;
24
+ variant: string;
25
+ }>>, {}, {}, {}, {}, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PublicProps, Readonly<import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<BentoLayoutProps>, {
26
+ size: string;
27
+ variant: string;
28
+ }>>> & Readonly<{}>, {
29
+ variant: import("./layout.types").BentoLayoutVariant;
30
+ size: import("./layout.types").BentoLayoutSize;
31
+ }, {}, {}, {}, string, import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").ComponentProvideOptions, true, {}, any>, {
32
+ default: (_: {}) => any;
33
+ }>;
34
+ export default _default;
35
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
+ type __VLS_TypePropsToRuntimeProps<T> = {
37
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
38
+ type: import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
39
+ } : {
40
+ type: import("../../../../../node_modules/.pnpm/vue@3.5.13_typescript@5.6.3/node_modules/vue").PropType<T[K]>;
41
+ required: true;
42
+ };
43
+ };
44
+ type __VLS_WithDefaults<P, D> = {
45
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
46
+ default: D[K];
47
+ } : P[K];
48
+ };
49
+ type __VLS_WithTemplateSlots<T, S> = T & {
50
+ new (): {
51
+ $slots: S;
52
+ };
53
+ };