@adyen/bento-vue2 1.1.0 → 1.2.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 (299) hide show
  1. package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +15 -11
  2. package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -1
  3. package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +14 -14
  4. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +2 -2
  5. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +4 -4
  6. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +4 -4
  7. package/dist/@types/packages/vue2/src/components/button/index.d.ts +1 -1
  8. package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +20 -16
  9. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
  10. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +3 -3
  11. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +13 -9
  12. package/dist/@types/packages/vue2/src/components/code-snippet/composables/useLanguage.d.ts +2 -2
  13. package/dist/@types/packages/vue2/src/components/country/composables/useCountryCapital/useCountryCapital.d.ts +1 -1
  14. package/dist/@types/packages/vue2/src/components/country/composables/useCountryName/useCountryName.d.ts +1 -1
  15. package/dist/@types/packages/vue2/src/components/country/composables/useCountryPhoneCode/useCountryPhoneCode.d.ts +1 -1
  16. package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +9 -7
  17. package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +5 -5
  18. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +3 -3
  19. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +4 -4
  20. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +4 -4
  21. package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +1 -1
  22. package/dist/@types/packages/vue2/src/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +1 -1
  23. package/dist/@types/packages/vue2/src/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +1 -1
  24. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +1 -1
  25. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +3 -3
  26. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +7 -5
  27. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.types.d.ts +2 -2
  28. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +10 -10
  29. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +13 -13
  30. package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.d.ts +1 -1
  31. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.types.d.ts +2 -2
  32. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +10 -10
  33. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +1 -1
  34. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +2 -2
  35. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +1 -1
  36. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/useDropdownOptionsListbox.d.ts +2 -2
  37. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +87 -85
  38. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +2 -2
  39. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.types.d.ts +1 -1
  40. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +18 -16
  41. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/useCountryItems.d.ts +3 -3
  42. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +2 -2
  43. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +22 -20
  44. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +2 -2
  45. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +17 -15
  46. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +2 -2
  47. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +17 -15
  48. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +1 -1
  49. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +8 -6
  50. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +1 -1
  51. package/dist/@types/packages/vue2/src/components/dropdown/composables/useDropdownSearchFilter.d.ts +1 -1
  52. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +2 -2
  53. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +14 -12
  54. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +26 -26
  55. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +7 -7
  56. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +2 -2
  57. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +9 -9
  58. package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +1 -1
  59. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +2 -2
  60. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +2 -2
  61. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +8 -8
  62. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +2 -2
  63. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +2 -2
  64. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +7 -7
  65. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +10 -10
  66. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +2 -2
  67. package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +5 -5
  68. package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +8 -6
  69. package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +1 -1
  70. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +23 -15
  71. package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +2 -2
  72. package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +2 -2
  73. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +2 -2
  74. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +1 -1
  75. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
  76. package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +4 -4
  77. package/dist/@types/packages/vue2/src/components/internal/footer-actions/footer-actions.vue.d.ts +1 -1
  78. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +2 -2
  79. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +2 -2
  80. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +2 -2
  81. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +1 -1
  82. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +3 -3
  83. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +4 -4
  84. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +2 -2
  85. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +11 -9
  86. package/dist/@types/packages/vue2/src/components/link/index.d.ts +1 -1
  87. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +3 -3
  88. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +1 -1
  89. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +3 -3
  90. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +5 -5
  91. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +3 -3
  92. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +4 -4
  93. package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +2 -2
  94. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +7 -7
  95. package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +24 -16
  96. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +2 -2
  97. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +1 -1
  98. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +1 -1
  99. package/dist/@types/packages/vue2/src/components/payment-method/composables/usePaymentIcon.d.ts +1 -1
  100. package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +6 -4
  101. package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +1 -1
  102. package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +1 -1
  103. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +12 -12
  104. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.utils.d.ts +1 -1
  105. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +4 -4
  106. package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +1 -1
  107. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +3 -3
  108. package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +62 -46
  109. package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +1 -1
  110. package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +3 -3
  111. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +2 -2
  112. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +38 -30
  113. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +16 -10
  114. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +16 -10
  115. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +16 -10
  116. package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +1 -1
  117. package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +1 -1
  118. package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +5 -5
  119. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +8 -6
  120. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +20 -20
  121. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +2 -2
  122. package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +2 -2
  123. package/dist/@types/packages/vue2/src/components/toggle/toggle.types.d.ts +4 -0
  124. package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +9 -9
  125. package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +25 -25
  126. package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +6 -6
  127. package/dist/@types/packages/vue2/src/composables/initials.d.ts +1 -1
  128. package/dist/@types/packages/vue2/src/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +2 -2
  129. package/dist/@types/packages/vue2/src/composables/useDynamicImport.d.ts +1 -1
  130. package/dist/@types/packages/vue2/src/directives/click-outside/on-click-outside.d.ts +1 -1
  131. package/dist/@types/packages/vue2/src/directives/click-outside/types.d.ts +1 -1
  132. package/dist/@types/packages/vue2/src/directives/click-outside/useEventListener/index.d.ts +1 -1
  133. package/dist/@types/packages/vue2/src/directives/click-outside/utils.d.ts +1 -1
  134. package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.types.d.ts +1 -1
  135. package/dist/@types/packages/vue2/src/plugins/toastController.d.ts +1 -1
  136. package/dist/@types/packages/vue2/src/types/index.d.ts +0 -1
  137. package/dist/@types/packages/vue2/src/types/listbox.d.ts +1 -1
  138. package/dist/@types/packages/vue2/src/utils/ts/aria-label.d.ts +1 -1
  139. package/dist/@types/packages/vue2/src/utils/ts/events.d.ts +1 -1
  140. package/dist/@types/packages/vue2/src/utils/ts/focus-trap.utils.d.ts +1 -1
  141. package/dist/accordion.js +1 -1
  142. package/dist/alert.js +34 -32
  143. package/dist/alert.js.map +1 -1
  144. package/dist/assets/button-actions.css +1 -1
  145. package/dist/assets/button.css +1 -1
  146. package/dist/assets/dropdown.css +1 -1
  147. package/dist/assets/index10.css +1 -1
  148. package/dist/assets/index11.css +1 -1
  149. package/dist/assets/index12.css +1 -1
  150. package/dist/assets/index13.css +1 -1
  151. package/dist/assets/index14.css +1 -1
  152. package/dist/assets/index15.css +1 -1
  153. package/dist/assets/index16.css +1 -1
  154. package/dist/assets/index17.css +1 -1
  155. package/dist/assets/index18.css +1 -1
  156. package/dist/assets/index19.css +1 -1
  157. package/dist/assets/index2.css +1 -1
  158. package/dist/assets/index20.css +1 -1
  159. package/dist/assets/index21.css +1 -1
  160. package/dist/assets/index22.css +1 -1
  161. package/dist/assets/index23.css +1 -1
  162. package/dist/assets/index24.css +1 -1
  163. package/dist/assets/index25.css +1 -1
  164. package/dist/assets/index26.css +1 -1
  165. package/dist/assets/index27.css +1 -1
  166. package/dist/assets/index28.css +1 -1
  167. package/dist/assets/index29.css +1 -1
  168. package/dist/assets/index3.css +1 -1
  169. package/dist/assets/index30.css +1 -1
  170. package/dist/assets/index31.css +1 -1
  171. package/dist/assets/index32.css +1 -1
  172. package/dist/assets/index33.css +1 -1
  173. package/dist/assets/index34.css +1 -1
  174. package/dist/assets/index35.css +1 -1
  175. package/dist/assets/index36.css +1 -1
  176. package/dist/assets/index37.css +1 -1
  177. package/dist/assets/index38.css +1 -1
  178. package/dist/assets/index39.css +1 -1
  179. package/dist/assets/index4.css +1 -1
  180. package/dist/assets/index5.css +1 -1
  181. package/dist/assets/index6.css +1 -1
  182. package/dist/assets/index7.css +1 -1
  183. package/dist/assets/index8.css +1 -1
  184. package/dist/assets/index9.css +1 -1
  185. package/dist/assets/listbox.css +1 -1
  186. package/dist/avatar-image.js +1 -1
  187. package/dist/button.js +3 -3
  188. package/dist/card.js +60 -51
  189. package/dist/card.js.map +1 -1
  190. package/dist/checkbox.js +10 -10
  191. package/dist/checkbox.js.map +1 -1
  192. package/dist/chunks/{base-button.e7630a1d.js → base-button.d4487ac9.js} +2 -2
  193. package/dist/chunks/{base-button.e7630a1d.js.map → base-button.d4487ac9.js.map} +1 -1
  194. package/dist/chunks/{button-actions.03751d96.js → button-actions.cf73ed47.js} +10 -10
  195. package/dist/chunks/{button-actions.03751d96.js.map → button-actions.cf73ed47.js.map} +1 -1
  196. package/dist/chunks/{button.f64585fc.js → button.c27a7ce2.js} +11 -11
  197. package/dist/chunks/button.c27a7ce2.js.map +1 -0
  198. package/dist/chunks/{calendar.c9cfce76.js → calendar.8f50a65a.js} +4 -4
  199. package/dist/chunks/{calendar.c9cfce76.js.map → calendar.8f50a65a.js.map} +1 -1
  200. package/dist/chunks/{checkbox.27fae2af.js → checkbox.c06daf12.js} +3 -3
  201. package/dist/chunks/{checkbox.27fae2af.js.map → checkbox.c06daf12.js.map} +1 -1
  202. package/dist/chunks/{controls-group.e4745546.js → controls-group.9d58a091.js} +2 -2
  203. package/dist/chunks/{controls-group.e4745546.js.map → controls-group.9d58a091.js.map} +1 -1
  204. package/dist/chunks/{copy.888486ff.js → copy.b62beae5.js} +3 -3
  205. package/dist/chunks/{copy.888486ff.js.map → copy.b62beae5.js.map} +1 -1
  206. package/dist/chunks/{dropdown-default-textbox.e425fc5b.js → dropdown-default-textbox.a5eca928.js} +2 -2
  207. package/dist/chunks/{dropdown-default-textbox.e425fc5b.js.map → dropdown-default-textbox.a5eca928.js.map} +1 -1
  208. package/dist/chunks/{dropdown.e298bb6c.js → dropdown.368486b1.js} +60 -58
  209. package/dist/chunks/dropdown.368486b1.js.map +1 -0
  210. package/dist/chunks/{error-message.4269d92b.js → error-message.a581a172.js} +2 -2
  211. package/dist/chunks/{error-message.4269d92b.js.map → error-message.a581a172.js.map} +1 -1
  212. package/dist/chunks/{index.e1fcc9e0.js → index.175f9e2d.js} +3 -3
  213. package/dist/chunks/index.175f9e2d.js.map +1 -0
  214. package/dist/chunks/{index.ada08445.js → index.3b6fc08a.js} +6 -6
  215. package/dist/chunks/{index.ada08445.js.map → index.3b6fc08a.js.map} +1 -1
  216. package/dist/chunks/{index.7bbd6611.js → index.3dfea3bd.js} +3 -3
  217. package/dist/chunks/{index.7bbd6611.js.map → index.3dfea3bd.js.map} +1 -1
  218. package/dist/chunks/{index.96e2f563.js → index.ad39b625.js} +2 -2
  219. package/dist/chunks/{index.96e2f563.js.map → index.ad39b625.js.map} +1 -1
  220. package/dist/chunks/{index.8d590c55.js → index.d07f9800.js} +33 -32
  221. package/dist/chunks/{index.8d590c55.js.map → index.d07f9800.js.map} +1 -1
  222. package/dist/chunks/{index.bc51abe9.js → index.f0d99471.js} +8 -8
  223. package/dist/chunks/{index.bc51abe9.js.map → index.f0d99471.js.map} +1 -1
  224. package/dist/chunks/{listbox-option-tag.aae99730.js → listbox-option-tag.c7e9a228.js} +3 -3
  225. package/dist/chunks/{listbox-option-tag.aae99730.js.map → listbox-option-tag.c7e9a228.js.map} +1 -1
  226. package/dist/chunks/{listbox.99d23071.js → listbox.f51e92cd.js} +28 -27
  227. package/dist/chunks/{listbox.99d23071.js.map → listbox.f51e92cd.js.map} +1 -1
  228. package/dist/chunks/{loading-button.f7768964.js → loading-button.6d34f66f.js} +2 -2
  229. package/dist/chunks/{loading-button.f7768964.js.map → loading-button.6d34f66f.js.map} +1 -1
  230. package/dist/chunks/{tooltip.1e7cda50.js → tooltip.9af34fba.js} +2 -2
  231. package/dist/chunks/{tooltip.1e7cda50.js.map → tooltip.9af34fba.js.map} +1 -1
  232. package/dist/chunks/useCountryItems.5d7b436e.js.map +1 -1
  233. package/dist/code-snippet.js +132 -130
  234. package/dist/code-snippet.js.map +1 -1
  235. package/dist/country.js +17 -16
  236. package/dist/country.js.map +1 -1
  237. package/dist/currency.js +1 -1
  238. package/dist/currency.js.map +1 -1
  239. package/dist/data-grid.js +112 -112
  240. package/dist/data-grid.js.map +1 -1
  241. package/dist/date-picker.js +7 -7
  242. package/dist/date-range-picker.js +2 -2
  243. package/dist/date.js +1 -1
  244. package/dist/divider.js +1 -1
  245. package/dist/dropdown.js +3 -3
  246. package/dist/dropdown.js.map +1 -1
  247. package/dist/filter-bar.js +13 -13
  248. package/dist/filter-bar.js.map +1 -1
  249. package/dist/focus-trap.js +1 -1
  250. package/dist/header.js +30 -30
  251. package/dist/header.js.map +1 -1
  252. package/dist/index.js +147 -147
  253. package/dist/info-icon.js +13 -12
  254. package/dist/info-icon.js.map +1 -1
  255. package/dist/input-field.js +45 -41
  256. package/dist/input-field.js.map +1 -1
  257. package/dist/internal.js +6 -6
  258. package/dist/link.js +12 -12
  259. package/dist/link.js.map +1 -1
  260. package/dist/loading-indicator.js +1 -1
  261. package/dist/menu.js +5 -5
  262. package/dist/menu.js.map +1 -1
  263. package/dist/modal.js +85 -81
  264. package/dist/modal.js.map +1 -1
  265. package/dist/pagination.js +4 -4
  266. package/dist/payment-method.js +12 -11
  267. package/dist/payment-method.js.map +1 -1
  268. package/dist/popover.js +5 -5
  269. package/dist/popover.js.map +1 -1
  270. package/dist/popper-container.js +14 -14
  271. package/dist/popper-container.js.map +1 -1
  272. package/dist/radio-group.js +14 -14
  273. package/dist/radio-group.js.map +1 -1
  274. package/dist/search-bar.js +2 -2
  275. package/dist/segmented-control.js +4 -4
  276. package/dist/status.js +9 -9
  277. package/dist/status.js.map +1 -1
  278. package/dist/structured-list.js +1 -1
  279. package/dist/summary-grid.js +101 -88
  280. package/dist/summary-grid.js.map +1 -1
  281. package/dist/tabs.js +2 -2
  282. package/dist/tag.js +13 -13
  283. package/dist/tag.js.map +1 -1
  284. package/dist/textarea.js +27 -23
  285. package/dist/textarea.js.map +1 -1
  286. package/dist/timeline.js +6 -6
  287. package/dist/timeline.js.map +1 -1
  288. package/dist/toast.js +3 -3
  289. package/dist/toggle.js +117 -2
  290. package/dist/toggle.js.map +1 -1
  291. package/dist/typography.js +1 -1
  292. package/dist/web-types.json +60 -60
  293. package/package.json +4 -3
  294. package/dist/@types/packages/vue2/src/types/label-position.d.ts +0 -4
  295. package/dist/chunks/button.f64585fc.js.map +0 -1
  296. package/dist/chunks/dropdown.e298bb6c.js.map +0 -1
  297. package/dist/chunks/index.4ec4409f.js +0 -121
  298. package/dist/chunks/index.4ec4409f.js.map +0 -1
  299. package/dist/chunks/index.e1fcc9e0.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@adyen/bento-vue2",
4
- "version": "1.1.0",
4
+ "version": "1.2.0",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -413,7 +413,7 @@
413
413
  "description": "The type of `Lazy Load`.\nType \"automatic\" will enable infinite scrolling\nType \"button\" will enable lazy loading with \"Show more\" button",
414
414
  "value": {
415
415
  "kind": "expression",
416
- "type": "BentoDropdownLazyLoadType"
416
+ "type": "BentoDropdownLazyLoadType | `${BentoDropdownLazyLoadType}`"
417
417
  },
418
418
  "default": "BentoListbox.props.lazyLoadType.default"
419
419
  },
@@ -466,7 +466,7 @@
466
466
  "description": "Dropdown input size",
467
467
  "value": {
468
468
  "kind": "expression",
469
- "type": "BentoDropdownSize"
469
+ "type": "BentoDropdownSize | `${BentoDropdownSize}`"
470
470
  },
471
471
  "default": "BentoDropdownSize.DEFAULT"
472
472
  },
@@ -522,7 +522,7 @@
522
522
  "description": "Which label variant to display.",
523
523
  "value": {
524
524
  "kind": "expression",
525
- "type": "BentoCountryVariant"
525
+ "type": "BentoCountryVariant | `${BentoCountryVariant}`"
526
526
  },
527
527
  "default": "BentoCountryVariant.CUSTOM"
528
528
  }
@@ -919,7 +919,7 @@
919
919
  "description": "Type of a alert; set a distinctive icon and color. Defaults to highlight.",
920
920
  "value": {
921
921
  "kind": "expression",
922
- "type": "BentoAlertTypeOption"
922
+ "type": "BentoAlertTypeOption | `${BentoAlertTypeOption}`"
923
923
  },
924
924
  "default": "BentoAlertTypeOption.HIGHLIGHT"
925
925
  },
@@ -928,7 +928,7 @@
928
928
  "description": "Variant for the alert",
929
929
  "value": {
930
930
  "kind": "expression",
931
- "type": "BentoAlertVariant"
931
+ "type": "BentoAlertVariant | `${BentoAlertVariant}`"
932
932
  },
933
933
  "default": "BentoAlertVariant.DEFAULT"
934
934
  }
@@ -1190,7 +1190,7 @@
1190
1190
  "description": "Types of flavour of Button",
1191
1191
  "value": {
1192
1192
  "kind": "expression",
1193
- "type": "BentoButtonVariant"
1193
+ "type": "BentoButtonVariant | `${BentoButtonVariant}`"
1194
1194
  },
1195
1195
  "default": "BentoButtonVariant.PRIMARY"
1196
1196
  },
@@ -1252,7 +1252,7 @@
1252
1252
  "description": "Defines the layout in which the button actions is presented.\nIt can be one of:",
1253
1253
  "value": {
1254
1254
  "kind": "expression",
1255
- "type": "BentoButtonActionsLayout"
1255
+ "type": "BentoButtonActionsLayout | `${BentoButtonActionsLayout}`"
1256
1256
  },
1257
1257
  "default": "BentoButtonActionsLayout.BUTTONS_END"
1258
1258
  }
@@ -1271,7 +1271,7 @@
1271
1271
  "description": "Defines the color of card background",
1272
1272
  "value": {
1273
1273
  "kind": "expression",
1274
- "type": "BentoCardBackground"
1274
+ "type": "BentoCardBackground | `${BentoCardBackground}`"
1275
1275
  },
1276
1276
  "default": "BentoCardBackground.PRIMARY"
1277
1277
  },
@@ -1280,7 +1280,7 @@
1280
1280
  "description": "Defines the title size of the card header",
1281
1281
  "value": {
1282
1282
  "kind": "expression",
1283
- "type": "BentoCardTitleSize"
1283
+ "type": "BentoCardTitleSize | `${BentoCardTitleSize}`"
1284
1284
  },
1285
1285
  "default": "BentoCardTitleSize.DEFAULT"
1286
1286
  },
@@ -1295,7 +1295,7 @@
1295
1295
  },
1296
1296
  {
1297
1297
  "name": "closed",
1298
- "description": "Initially sets the expandable card in a closed state",
1298
+ "description": "Sets the expandable card in a closed state",
1299
1299
  "value": {
1300
1300
  "kind": "expression",
1301
1301
  "type": "boolean"
@@ -1325,7 +1325,7 @@
1325
1325
  "description": "Defines the layout in which the button actions is presented.\nIt can be one of:",
1326
1326
  "value": {
1327
1327
  "kind": "expression",
1328
- "type": "BentoButtonActionsLayout"
1328
+ "type": "BentoButtonActionsLayout | `${BentoButtonActionsLayout}`"
1329
1329
  },
1330
1330
  "default": "BentoButtonActionsLayout.BUTTONS_END"
1331
1331
  }
@@ -1474,7 +1474,7 @@
1474
1474
  "description": "The checkbox group's layout. It can be vertical or horizontal. Defaults to vertical.",
1475
1475
  "value": {
1476
1476
  "kind": "expression",
1477
- "type": "BentoCheckboxGroupVariant"
1477
+ "type": "BentoCheckboxGroupVariant | `${BentoCheckboxGroupVariant}`"
1478
1478
  },
1479
1479
  "default": "BentoCheckboxGroupVariant.VERTICAL"
1480
1480
  },
@@ -1547,7 +1547,7 @@
1547
1547
  "description": "Defines the variant of code-snippet",
1548
1548
  "value": {
1549
1549
  "kind": "expression",
1550
- "type": "BentoCodeSnippetVariant"
1550
+ "type": "BentoCodeSnippetVariant | `${BentoCodeSnippetVariant}`"
1551
1551
  },
1552
1552
  "default": "BentoCodeSnippetVariant.MULTILINE"
1553
1553
  },
@@ -1556,7 +1556,7 @@
1556
1556
  "description": "Language name for syntax highlighting rules",
1557
1557
  "value": {
1558
1558
  "kind": "expression",
1559
- "type": "BentoCodeSnippetSupportedLanguage"
1559
+ "type": "BentoCodeSnippetSupportedLanguage | `${BentoCodeSnippetSupportedLanguage}`"
1560
1560
  },
1561
1561
  "default": "BentoCodeSnippetSupportedLanguage.JSON"
1562
1562
  },
@@ -1625,7 +1625,7 @@
1625
1625
  "description": "Two character country code ([ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).",
1626
1626
  "value": {
1627
1627
  "kind": "expression",
1628
- "type": "BentoCountryCode"
1628
+ "type": "BentoCountryCode | `${BentoCountryCode}`"
1629
1629
  },
1630
1630
  "default": "BentoCountryCode.UNKNOWN"
1631
1631
  },
@@ -1643,7 +1643,7 @@
1643
1643
  "description": "Which label variant to display.",
1644
1644
  "value": {
1645
1645
  "kind": "expression",
1646
- "type": "BentoCountryVariant"
1646
+ "type": "BentoCountryVariant | `${BentoCountryVariant}`"
1647
1647
  },
1648
1648
  "default": "BentoCountryVariant.NAME"
1649
1649
  }
@@ -1661,7 +1661,7 @@
1661
1661
  "name": "currency",
1662
1662
  "value": {
1663
1663
  "kind": "expression",
1664
- "type": "BentoCurrencyISOCode"
1664
+ "type": "BentoCurrencyISOCode | `${BentoCurrencyISOCode}`"
1665
1665
  },
1666
1666
  "default": "BentoCurrencyISOCode.EUR"
1667
1667
  },
@@ -1980,7 +1980,7 @@
1980
1980
  "description": "The string format of the date to be displayed",
1981
1981
  "value": {
1982
1982
  "kind": "expression",
1983
- "type": "BentoDateFormat"
1983
+ "type": "BentoDateFormat | `${BentoDateFormat}`"
1984
1984
  },
1985
1985
  "default": "BentoDateFormat.FULL_DATE_EXACT_TIME_WITHOUT_PERIOD"
1986
1986
  },
@@ -2432,7 +2432,7 @@
2432
2432
  "description": "Dropdown input size",
2433
2433
  "value": {
2434
2434
  "kind": "expression",
2435
- "type": "BentoDropdownSize"
2435
+ "type": "BentoDropdownSize | `${BentoDropdownSize}`"
2436
2436
  },
2437
2437
  "default": "BentoDropdownSize.DEFAULT"
2438
2438
  },
@@ -2459,7 +2459,7 @@
2459
2459
  "description": "The type of `Lazy Load`.\nType \"automatic\" will enable infinite scrolling\nType \"button\" will enable lazy loading with \"Show more\" button",
2460
2460
  "value": {
2461
2461
  "kind": "expression",
2462
- "type": "BentoDropdownLazyLoadType"
2462
+ "type": "BentoDropdownLazyLoadType | `${BentoDropdownLazyLoadType}`"
2463
2463
  },
2464
2464
  "default": "BentoDropdownLazyLoadType.AUTOMATIC"
2465
2465
  },
@@ -2636,7 +2636,7 @@
2636
2636
  "description": "Variant represents type of Header",
2637
2637
  "value": {
2638
2638
  "kind": "expression",
2639
- "type": "BentoHeaderVariant"
2639
+ "type": "BentoHeaderVariant | `${BentoHeaderVariant}`"
2640
2640
  },
2641
2641
  "default": "BentoHeaderVariant.PAGE"
2642
2642
  },
@@ -2700,7 +2700,7 @@
2700
2700
  "description": "Position the tooltip should take if space is available. Defaults to 'auto'",
2701
2701
  "value": {
2702
2702
  "kind": "expression",
2703
- "type": "PopperContainerPosition"
2703
+ "type": "PopperContainerPosition | `${PopperContainerPosition}`"
2704
2704
  },
2705
2705
  "default": "PopperContainerPosition.AUTO"
2706
2706
  }
@@ -2755,7 +2755,7 @@
2755
2755
  "description": "Position of the dropdown before or after input value",
2756
2756
  "value": {
2757
2757
  "kind": "expression",
2758
- "type": "BentoInputFieldElementPosition"
2758
+ "type": "BentoInputFieldElementPosition | `${BentoInputFieldElementPosition}`"
2759
2759
  },
2760
2760
  "default": "BentoInputFieldElementPosition.START"
2761
2761
  },
@@ -2827,7 +2827,7 @@
2827
2827
  "description": "Position of Static Value before or after input value",
2828
2828
  "value": {
2829
2829
  "kind": "expression",
2830
- "type": "BentoInputFieldElementPosition"
2830
+ "type": "BentoInputFieldElementPosition | `${BentoInputFieldElementPosition}`"
2831
2831
  },
2832
2832
  "default": "BentoInputFieldElementPosition.START"
2833
2833
  },
@@ -2836,7 +2836,7 @@
2836
2836
  "description": "A string specifying the type of control to render.",
2837
2837
  "value": {
2838
2838
  "kind": "expression",
2839
- "type": "BentoInputFieldType"
2839
+ "type": "BentoInputFieldType | `${BentoInputFieldType}`"
2840
2840
  },
2841
2841
  "default": "BentoInputFieldType.TEXT"
2842
2842
  },
@@ -2854,7 +2854,7 @@
2854
2854
  "description": "Describes the different variants for the input element",
2855
2855
  "value": {
2856
2856
  "kind": "expression",
2857
- "type": "BentoInputFieldVariant"
2857
+ "type": "BentoInputFieldVariant | `${BentoInputFieldVariant}`"
2858
2858
  },
2859
2859
  "default": "BentoInputFieldVariant.DEFAULT"
2860
2860
  }
@@ -3007,7 +3007,7 @@
3007
3007
  "description": "The type of `Lazy Load`.\nType \"automatic\" will enable infinite scrolling\nType \"button\" will enable lazy loading with \"Show more\" button",
3008
3008
  "value": {
3009
3009
  "kind": "expression",
3010
- "type": "BentoListboxLazyLoadType"
3010
+ "type": "BentoListboxLazyLoadType | `${BentoListboxLazyLoadType}`"
3011
3011
  },
3012
3012
  "default": "BentoListboxLazyLoadType.NONE"
3013
3013
  },
@@ -3373,7 +3373,7 @@
3373
3373
  "description": "The position of where the menu should open.",
3374
3374
  "value": {
3375
3375
  "kind": "expression",
3376
- "type": "BentoPopoverPositions"
3376
+ "type": "BentoPopoverPositions | `${BentoPopoverPositions}`"
3377
3377
  },
3378
3378
  "default": "BentoPopoverPositions.BOTTOM_START"
3379
3379
  },
@@ -3437,7 +3437,7 @@
3437
3437
  "description": "Choose between default or dialog versions of modal",
3438
3438
  "value": {
3439
3439
  "kind": "expression",
3440
- "type": "BentoModalVariant"
3440
+ "type": "BentoModalVariant | `${BentoModalVariant}`"
3441
3441
  },
3442
3442
  "default": "BentoModalVariant.DEFAULT"
3443
3443
  },
@@ -3491,7 +3491,7 @@
3491
3491
  "description": "Sets the width of the modal",
3492
3492
  "value": {
3493
3493
  "kind": "expression",
3494
- "type": "BentoModalSize"
3494
+ "type": "BentoModalSize | `${BentoModalSize}`"
3495
3495
  },
3496
3496
  "default": "BentoModalSize.SMALL"
3497
3497
  },
@@ -3518,7 +3518,7 @@
3518
3518
  "description": "If a column layout is provided, it renders the respective left column width variant. This can be smaller than the second column, the same size as the second column or bigger than the second column.",
3519
3519
  "value": {
3520
3520
  "kind": "expression",
3521
- "type": "BentoModalColumnLayoutVariant"
3521
+ "type": "BentoModalColumnLayoutVariant | `${BentoModalColumnLayoutVariant}`"
3522
3522
  },
3523
3523
  "default": "BentoModalColumnLayoutVariant.SMALLER"
3524
3524
  },
@@ -3545,7 +3545,7 @@
3545
3545
  "description": "Changes the visual styling of action buttons",
3546
3546
  "value": {
3547
3547
  "kind": "expression",
3548
- "type": "BentoModalDialogType"
3548
+ "type": "BentoModalDialogType | `${BentoModalDialogType}`"
3549
3549
  },
3550
3550
  "default": "BentoModalDialogType.CONFIRMATION"
3551
3551
  },
@@ -3944,7 +3944,7 @@
3944
3944
  "description": "The type of payment method to display.",
3945
3945
  "value": {
3946
3946
  "kind": "expression",
3947
- "type": "BentoPaymentMethodType"
3947
+ "type": "BentoPaymentMethodType | `${BentoPaymentMethodType}`"
3948
3948
  },
3949
3949
  "default": "BentoPaymentMethodType.UNKNOWNCARD"
3950
3950
  },
@@ -3990,7 +3990,7 @@
3990
3990
  "description": "Defines the layout in which the button actions is presented.\nIt can be one of:",
3991
3991
  "value": {
3992
3992
  "kind": "expression",
3993
- "type": "BentoButtonActionsLayout"
3993
+ "type": "BentoButtonActionsLayout | `${BentoButtonActionsLayout}`"
3994
3994
  },
3995
3995
  "default": "BentoButtonActionsLayout.BUTTONS_END"
3996
3996
  },
@@ -4080,7 +4080,7 @@
4080
4080
  "description": "Popover's position relative to the target element.\nPossible values are:\n'auto', 'auto-start', 'auto-end',\n'top', 'top-start', 'top-end'\n'right', 'right-start', 'right-end'\n'bottom', 'bottom-start', 'bottom-end'\n'left', 'left-start', 'left-end'",
4081
4081
  "value": {
4082
4082
  "kind": "expression",
4083
- "type": "BentoPopoverPositions"
4083
+ "type": "BentoPopoverPositions | `${BentoPopoverPositions}`"
4084
4084
  },
4085
4085
  "default": "BentoPopoverPositions.TOP"
4086
4086
  },
@@ -4274,7 +4274,7 @@
4274
4274
  "description": "The radio group's layout. It can be vertical or horizontal. Defaults to vertical.",
4275
4275
  "value": {
4276
4276
  "kind": "expression",
4277
- "type": "BentoRadioGroupVariant"
4277
+ "type": "BentoRadioGroupVariant | `${BentoRadioGroupVariant}`"
4278
4278
  },
4279
4279
  "default": "BentoRadioGroupVariant.VERTICAL"
4280
4280
  }
@@ -4694,7 +4694,7 @@
4694
4694
  "required": true,
4695
4695
  "value": {
4696
4696
  "kind": "expression",
4697
- "type": "BentoStatusVariant"
4697
+ "type": "BentoStatusVariant | `${BentoStatusVariant}`"
4698
4698
  }
4699
4699
  }
4700
4700
  ],
@@ -4901,7 +4901,7 @@
4901
4901
  "description": "Defines the direction (color) of the trend label",
4902
4902
  "value": {
4903
4903
  "kind": "expression",
4904
- "type": "BentoSummaryGridItemTrendDirection"
4904
+ "type": "BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`"
4905
4905
  },
4906
4906
  "default": "BentoSummaryGridItemTrendDirection.POSITIVE"
4907
4907
  },
@@ -4919,7 +4919,7 @@
4919
4919
  "description": "Defines the direction (color) of the secondary metric's trend tag",
4920
4920
  "value": {
4921
4921
  "kind": "expression",
4922
- "type": "BentoSummaryGridItemTrendDirection"
4922
+ "type": "BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`"
4923
4923
  },
4924
4924
  "default": "BentoSummaryGridItemTrendDirection.POSITIVE"
4925
4925
  },
@@ -4928,7 +4928,7 @@
4928
4928
  "description": "Defines the size of the `summary-grid-item` text content",
4929
4929
  "value": {
4930
4930
  "kind": "expression",
4931
- "type": "BentoSummaryGridItemSize"
4931
+ "type": "BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`"
4932
4932
  },
4933
4933
  "default": "BentoSummaryGridItemSize.SMALL"
4934
4934
  }
@@ -5066,7 +5066,7 @@
5066
5066
  "description": "Defines the direction (color) of the trend label",
5067
5067
  "value": {
5068
5068
  "kind": "expression",
5069
- "type": "BentoSummaryGridItemTrendDirection"
5069
+ "type": "BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`"
5070
5070
  },
5071
5071
  "default": "BentoSummaryGridItemTrendDirection.POSITIVE"
5072
5072
  },
@@ -5084,7 +5084,7 @@
5084
5084
  "description": "Defines the direction (color) of the secondary metric's trend tag",
5085
5085
  "value": {
5086
5086
  "kind": "expression",
5087
- "type": "BentoSummaryGridItemTrendDirection"
5087
+ "type": "BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`"
5088
5088
  },
5089
5089
  "default": "BentoSummaryGridItemTrendDirection.POSITIVE"
5090
5090
  },
@@ -5093,7 +5093,7 @@
5093
5093
  "description": "Defines the size of the `summary-grid-item` text content",
5094
5094
  "value": {
5095
5095
  "kind": "expression",
5096
- "type": "BentoSummaryGridItemSize"
5096
+ "type": "BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`"
5097
5097
  },
5098
5098
  "default": "BentoSummaryGridItemSize.SMALL"
5099
5099
  }
@@ -5175,7 +5175,7 @@
5175
5175
  "description": "Defines the direction (color) of the trend label",
5176
5176
  "value": {
5177
5177
  "kind": "expression",
5178
- "type": "BentoSummaryGridItemTrendDirection"
5178
+ "type": "BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`"
5179
5179
  },
5180
5180
  "default": "BentoSummaryGridItemTrendDirection.POSITIVE"
5181
5181
  },
@@ -5193,7 +5193,7 @@
5193
5193
  "description": "Defines the direction (color) of the secondary metric's trend tag",
5194
5194
  "value": {
5195
5195
  "kind": "expression",
5196
- "type": "BentoSummaryGridItemTrendDirection"
5196
+ "type": "BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`"
5197
5197
  },
5198
5198
  "default": "BentoSummaryGridItemTrendDirection.POSITIVE"
5199
5199
  },
@@ -5202,7 +5202,7 @@
5202
5202
  "description": "Defines the size of the `summary-grid-item` text content",
5203
5203
  "value": {
5204
5204
  "kind": "expression",
5205
- "type": "BentoSummaryGridItemSize"
5205
+ "type": "BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`"
5206
5206
  },
5207
5207
  "default": "BentoSummaryGridItemSize.SMALL"
5208
5208
  }
@@ -5285,7 +5285,7 @@
5285
5285
  "description": "The variant variant of tag",
5286
5286
  "value": {
5287
5287
  "kind": "expression",
5288
- "type": "BentoTagVariant"
5288
+ "type": "BentoTagVariant | `${BentoTagVariant}`"
5289
5289
  },
5290
5290
  "default": "BentoTagVariant.GREY"
5291
5291
  },
@@ -5412,7 +5412,7 @@
5412
5412
  "description": "Indicates the possibility of resize the textarea",
5413
5413
  "value": {
5414
5414
  "kind": "expression",
5415
- "type": "BentoTextareaResizeOption"
5415
+ "type": "BentoTextareaResizeOption | `${BentoTextareaResizeOption}`"
5416
5416
  },
5417
5417
  "default": "BentoTextareaResizeOption.BOTH"
5418
5418
  },
@@ -5536,7 +5536,7 @@
5536
5536
  "description": "Variant for the timeline item",
5537
5537
  "value": {
5538
5538
  "kind": "expression",
5539
- "type": "BentoTimelineItemVariant"
5539
+ "type": "BentoTimelineItemVariant | `${BentoTimelineItemVariant}`"
5540
5540
  },
5541
5541
  "default": "BentoTimelineItemVariant.DEFAULT"
5542
5542
  }
@@ -5581,9 +5581,9 @@
5581
5581
  "description": "Position of the label relative to the toggle (optional)",
5582
5582
  "value": {
5583
5583
  "kind": "expression",
5584
- "type": "AdlLabelPosition"
5584
+ "type": "BentoToggleLabelPosition | `${BentoToggleLabelPosition}`"
5585
5585
  },
5586
- "default": "AdlLabelPosition.BEFORE"
5586
+ "default": "BentoToggleLabelPosition.BEFORE"
5587
5587
  },
5588
5588
  {
5589
5589
  "name": "readonly",
@@ -5631,7 +5631,7 @@
5631
5631
  "description": "Sets the HTML DOM element.",
5632
5632
  "value": {
5633
5633
  "kind": "expression",
5634
- "type": "BentoTypographyElement"
5634
+ "type": "BentoTypographyElement | `${BentoTypographyElement}`"
5635
5635
  },
5636
5636
  "default": "BentoTypographyElement.PARAGRAPH"
5637
5637
  },
@@ -5658,7 +5658,7 @@
5658
5658
  "description": "Sets the type of typography variant.",
5659
5659
  "value": {
5660
5660
  "kind": "expression",
5661
- "type": "BentoTypographyVariant"
5661
+ "type": "BentoTypographyVariant | `${BentoTypographyVariant}`"
5662
5662
  },
5663
5663
  "default": "BentoTypographyVariant.BODY"
5664
5664
  },
@@ -6960,7 +6960,7 @@
6960
6960
  "description": "Link variant type affecting visual style.",
6961
6961
  "value": {
6962
6962
  "kind": "expression",
6963
- "type": "BentoLinkVariant"
6963
+ "type": "union"
6964
6964
  },
6965
6965
  "default": "BentoLinkVariant.DEFAULT"
6966
6966
  },
@@ -7406,7 +7406,7 @@
7406
7406
  "description": "Position relative to the target element",
7407
7407
  "value": {
7408
7408
  "kind": "expression",
7409
- "type": "PopperContainerPosition"
7409
+ "type": "PopperContainerPosition | `${PopperContainerPosition}`"
7410
7410
  },
7411
7411
  "default": "PopperContainerPosition.AUTO"
7412
7412
  },
@@ -7665,7 +7665,7 @@
7665
7665
  "description": "Applies styling based on content type",
7666
7666
  "value": {
7667
7667
  "kind": "expression",
7668
- "type": "SummaryGridItemType"
7668
+ "type": "SummaryGridItemType | `${SummaryGridItemType}`"
7669
7669
  },
7670
7670
  "default": "SummaryGridItemType.CUSTOM"
7671
7671
  },
@@ -7701,7 +7701,7 @@
7701
7701
  "description": "Defines the size of the `summary-grid-item` text content",
7702
7702
  "value": {
7703
7703
  "kind": "expression",
7704
- "type": "BentoSummaryGridItemSize"
7704
+ "type": "BentoSummaryGridItemSize | `${BentoSummaryGridItemSize}`"
7705
7705
  },
7706
7706
  "default": "BentoSummaryGridItemSize.SMALL"
7707
7707
  },
@@ -7719,7 +7719,7 @@
7719
7719
  "description": "Defines the color of trend label",
7720
7720
  "value": {
7721
7721
  "kind": "expression",
7722
- "type": "BentoSummaryGridItemTrendDirection"
7722
+ "type": "BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`"
7723
7723
  },
7724
7724
  "default": "BentoSummaryGridItemTrendDirection.POSITIVE"
7725
7725
  },
@@ -7737,7 +7737,7 @@
7737
7737
  "description": "Defines the color of secondary trend tag",
7738
7738
  "value": {
7739
7739
  "kind": "expression",
7740
- "type": "BentoSummaryGridItemTrendDirection"
7740
+ "type": "BentoSummaryGridItemTrendDirection | `${BentoSummaryGridItemTrendDirection}`"
7741
7741
  },
7742
7742
  "default": "BentoSummaryGridItemTrendDirection.POSITIVE"
7743
7743
  }
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@adyen/bento-vue2",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Adyen Bento Vue2 components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
- "types": "./dist/@types/index.d.ts",
7
+ "types": "./dist/@types/packages/vue2/src/index.d.ts",
8
8
  "web-types": "dist/web-types.json",
9
9
  "files": [
10
10
  "dist/"
@@ -17,6 +17,7 @@
17
17
  "**/*.css"
18
18
  ],
19
19
  "scripts": {
20
+ "prepare": "ts-patch install -s",
20
21
  "build": "npm run build:prod && npm run build:storybook",
21
22
  "build:lib": "vite --config vite.production.config.ts build",
22
23
  "build:dev": "NODE_ENV=development npm run clean:build && npm run build:lib -- --mode development build && npm run build:types && npm run build:webtypes",
@@ -56,7 +57,7 @@
56
57
  "url": "git@github.com:Adyen/bento.git"
57
58
  },
58
59
  "dependencies": {
59
- "@adyen/bento-design-tokens": "1.1.0",
60
+ "@adyen/bento-design-tokens": "1.2.0",
60
61
  "@adyen/ui-assets-flag-icons": "1.2.0",
61
62
  "@adyen/ui-assets-icons-16": "3.1.0",
62
63
  "@adyen/ui-assets-payment-method-icons": "5.2.0",
@@ -1,4 +0,0 @@
1
- export declare enum AdlLabelPosition {
2
- BEFORE = "before",
3
- AFTER = "after"
4
- }
@@ -1 +0,0 @@
1
- {"version":3,"file":"button.f64585fc.js","sources":["../../../core/src/components/button/button.types.ts","../../src/components/button/button.vue"],"sourcesContent":["export enum BentoButtonVariant {\n PRIMARY = 'primary',\n SECONDARY = 'secondary',\n TERTIARY = 'tertiary',\n}\n\nexport enum BentoButtonPropClass {\n CONDENSED = 'condensed',\n DESTRUCTIVE = 'critical',\n DISABLED = 'disabled',\n ICON_ONLY = 'icon-only',\n}\n","<template>\n <component\n :is=\"componentType\"\n v-bind=\"componentProps\"\n class=\"b-button\"\n :class=\"conditionalClasses\"\n @click.capture=\"onClickButton\"\n >\n <span v-if=\"hasSlot('iconLeft')\" class=\"b-button__icon-left\" data-testid=\"icon-button-left\">\n <slot name=\"iconLeft\" />\n </span>\n <bento-typography\n v-if=\"hasSlot('default')\"\n :el=\"BentoTypographyElement.SPAN\"\n :variant=\"BentoTypographyVariant.BODY\"\n stronger\n class=\"b-button__label\"\n >\n <slot />\n </bento-typography>\n <span v-if=\"hasSlot('iconRight')\" class=\"b-button__icon-right\" data-testid=\"icon-button-right\">\n <slot name=\"iconRight\" />\n </span>\n </component>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, PropType } from 'vue';\n import { BentoButtonPropClass, BentoButtonVariant } from '@/core/components/button/button.types';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { useHasSlot } from '@/composables';\n import { Booleanish } from '@/types';\n import type { RouterLinkProps } from 'vue-router/types/router';\n import type { AnchorHTMLAttributes, ButtonHTMLAttributes } from 'vue/types/jsx';\n import { BentoLink, BentoLinkVariant } from '../link';\n\n // TODO: replace all this code when migrated to Vue 3 is complete as this is the only\n // current way to extend the `router-link` component in Vue 2 and Vue Router 3\n export interface LinkProps extends RouterLinkProps, AnchorHTMLAttributes {\n // eslint-disable-next-line vue/require-default-prop\n args?: { props: RouterLinkProps };\n\n /**\n * Set the rendered link to a regular external anchor link.\n */\n external: boolean;\n }\n\n /**\n * Button component for all the various types of bento buttons.\n *\n * @usage\n * import { BentoButton, AdlIconPosition } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoButton },\n * template: `\n * <bento-button\n * disabled\n * :icon-position=\"AdlIconPosition.AFTER\"\n * >\n * Button text\n * </bento-button>\n * `,\n * }\n */\n export default defineComponent({\n name: 'bento-button',\n components: { BentoTypography },\n props: {\n /**\n * Disables button functionality\n */\n disabled: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Displays button as critical\n */\n critical: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The default behavior of the button.\n * Possible values are: 'button', 'reset', 'submit'\n */\n type: {\n type: String as PropType<ButtonHTMLAttributes['type']>,\n default: 'button',\n },\n\n /**\n * Reduces sizing of button\n */\n condensed: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Types of flavour of Button\n * @values primary, secondary, tertiary\n */\n variant: {\n type: String as PropType<BentoButtonVariant>,\n default: BentoButtonVariant.PRIMARY,\n validator: (value: BentoButtonVariant) => Object.values(BentoButtonVariant).includes(value),\n },\n\n /**\n * Object containing props passed on to the BentoLink component. @see BentoLink documentation for which properties you can pass.\n */\n link: {\n type: Object,\n default: undefined,\n },\n },\n emits: ['click', 'focus', 'blur', 'keydown.esc'],\n setup(props, { slots, emit, attrs }) {\n const componentType = computed(() => {\n if (props?.link !== undefined) {\n return BentoLink;\n }\n return 'button';\n });\n const ariaAttributes = computed(() => ({\n 'aria-controls': attrs['aria-controls']?.toString() as string,\n 'aria-expanded': attrs['aria-expanded']?.toString() as Booleanish,\n }));\n\n const componentProps = computed(() =>\n componentType.value === 'button'\n ? {\n ...ariaAttributes.value,\n disabled: props.disabled,\n type: props.type,\n }\n : { ...props.link, disableTypography: true, variant: BentoLinkVariant.DEFAULT }\n );\n\n const variantClass = computed((): { [x: string]: boolean } => ({\n [`b-button--${props.variant}${props.critical ? `-${BentoButtonPropClass.DESTRUCTIVE}` : ''}`]: true,\n }));\n\n const conditionalClasses = computed(\n (): {\n [x: string]: boolean;\n } => ({\n ...variantClass.value,\n [`b-button--${BentoButtonPropClass.CONDENSED}`]: props.condensed,\n [`b-button--${BentoButtonPropClass.ICON_ONLY}`]: !slots.default,\n [`b-button--${BentoButtonPropClass.DISABLED}`]: props.disabled,\n })\n );\n\n const onClickButton = (e: MouseEvent) => {\n if (!props.disabled) {\n emit('click', e);\n } else {\n e.preventDefault();\n e.stopPropagation();\n }\n };\n\n return {\n // Enums\n BentoTypographyElement,\n BentoTypographyVariant,\n\n // Values\n ariaAttributes,\n conditionalClasses,\n componentType,\n componentProps,\n\n // Methods\n onClickButton,\n hasSlot: useHasSlot(slots),\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"@/core/components/button/button.scss\" />\n"],"names":["BentoButtonVariant","BentoButtonVariant2","BentoButtonPropClass","BentoButtonPropClass2","_sfc_main","defineComponent","BentoTypography","value","props","slots","emit","attrs","componentType","computed","BentoLink","ariaAttributes","_a","_b","componentProps","BentoLinkVariant","variantClass","conditionalClasses","BentoTypographyElement","BentoTypographyVariant","e","useHasSlot"],"mappings":";;;;;;AAAY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,YAAA,aACAA,EAAA,WAAA,YAHQA,IAAAD,KAAA,CAAA,CAAA,GAMAE,IAAA,kBAAAC,OACRA,EAAA,YAAA,aACAA,EAAA,cAAA,YACAA,EAAA,WAAA,YACAA,EAAA,YAAA,aAJQA,IAAAD,KAAA,CAAA,CAAA;AC4DZ,MAAAE,IAAAC,EAAA;AAAA,EAAA,MAAA;AAAA,EACA,YAAA,EAAA,iBAAAC,EAAA;AAAA,EACA,OAAA;AAAA;AAAA;AAAA;AAAA,IACA,UAAA;AAAA,MAIA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IACA,UAAA;AAAA,MAKA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IACA,MAAA;AAAA,MAMA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IACA,WAAA;AAAA,MAKA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA;AAAA,IACA,SAAA;AAAA,MAMA,MAAA;AAAA,MACA,SAAAN,EAAA;AAAA,MACA,WAAA,CAAAO,MAAA,OAAA,OAAAP,CAAA,EAAA,SAAAO,CAAA;AAAA,IACA;AAAA;AAAA;AAAA;AAAA,IACA,MAAA;AAAA,MAKA,MAAA;AAAA,MACA,SAAA;AAAA,IACA;AAAA,EACA;AAAA,EACA,OAAA,CAAA,SAAA,SAAA,QAAA,aAAA;AAAA,EACA,MAAAC,GAAA,EAAA,OAAAC,GAAA,MAAAC,GAAA,OAAAC,EAAA,GAAA;AAEA,UAAAC,IAAAC,EAAA,OACAL,KAAA,gBAAAA,EAAA,UAAA,SACAM,IAEA,QAAA,GAEAC,IAAAF,EAAA,MAAA;;AAAA;AAAA,QAAA,kBAAAG,IAAAL,EAAA,eAAA,MAAA,gBAAAK,EAAA;AAAA,QACA,kBAAAC,IAAAN,EAAA,eAAA,MAAA,gBAAAM,EAAA;AAAA,MACA;AAAA,KAAA,GAGAC,IAAAL;AAAA,MAAA,MAAAD,EAAA,UAAA,WAAA;AAAA,QAEA,GAAAG,EAAA;AAAA,QACA,UAAAP,EAAA;AAAA,QACA,MAAAA,EAAA;AAAA,MACA,IAAA,EAAA,GAAAA,EAAA,MAAA,mBAAA,IAAA,SAAAW,EAAA,QAAA;AAAA,IAEA,GAGAC,IAAAP,EAAA,OAAA;AAAA,MAAA,CAAA,aAAAL,EAAA,UAAAA,EAAA,WAAA,IAAAN,EAAA,gBAAA,IAAA,GAAA;AAAA,IACA,EAAA,GAGAmB,IAAAR;AAAA,MAAA,OAAA;AAAA,QAGA,GAAAO,EAAA;AAAA,QACA,CAAA,aAAAlB,EAAA,WAAA,GAAAM,EAAA;AAAA,QACA,CAAA,aAAAN,EAAA,WAAA,GAAA,CAAAO,EAAA;AAAA,QACA,CAAA,aAAAP,EAAA,UAAA,GAAAM,EAAA;AAAA,MACA;AAAA,IACA;AAYA,WAAA;AAAA;AAAA,MAAA,wBAAAc;AAAA,MAEA,wBAAAC;AAAA;AAAA,MACA,gBAAAR;AAAA,MAGA,oBAAAM;AAAA,MACA,eAAAT;AAAA,MACA,gBAAAM;AAAA;AAAA,MACA,eAlBA,CAAAM,MAAA;AACA,QAAAhB,EAAA,YAGAgB,EAAA,eAAA,GACAA,EAAA,gBAAA,KAHAd,EAAA,SAAAc,CAAA;AAAA,MAIA;AAAA,MAeA,SAAAC,EAAAhB,CAAA;AAAA,IACA;AAAA,EACA;AAEA,CAAA;;;;;;;;;;;;;;;;;"}