@adyen/bento-mcp 0.11.0 → 0.12.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 (424) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/README.md +24 -2
  3. package/SKILL.md +37 -7
  4. package/dist/assets/components/accordion/accordion.stories.ts +1 -1
  5. package/dist/assets/components/accordion/components/accordion-item.stories.ts +1 -1
  6. package/dist/assets/components/accordion/components/accordion-item.vue +1 -1
  7. package/dist/assets/components/action-bar/action-bar.docs.mdx +10 -3
  8. package/dist/assets/components/action-bar/action-bar.internal.types.ts +1 -0
  9. package/dist/assets/components/action-bar/action-bar.stories.ts +1 -1
  10. package/dist/assets/components/action-bar/action-bar.types.ts +1 -1
  11. package/dist/assets/components/action-bar/action-bar.vue +1 -1
  12. package/dist/assets/components/ai-tag/ai-tag.stories.ts +1 -1
  13. package/dist/assets/components/ai-tag/ai-tag.vue +1 -1
  14. package/dist/assets/components/alert/alert.stories.ts +1 -1
  15. package/dist/assets/components/alert/alert.types.ts +1 -1
  16. package/dist/assets/components/anchor-scroller/anchor-scroller.stories.ts +1 -1
  17. package/dist/assets/components/anchor-scroller/anchor-scroller.vue +1 -1
  18. package/dist/assets/components/avatar/avatar.internal.types.ts +1 -0
  19. package/dist/assets/components/avatar/avatar.stories.ts +1 -1
  20. package/dist/assets/components/avatar/avatar.types.ts +1 -1
  21. package/dist/assets/components/button/button.docs.mdx +4 -3
  22. package/dist/assets/components/button/button.stories.ts +1 -1
  23. package/dist/assets/components/button/button.types.ts +1 -1
  24. package/dist/assets/components/button/components/ai-button/ai-button.stories.ts +1 -1
  25. package/dist/assets/components/button/components/ai-button/ai-button.vue +1 -1
  26. package/dist/assets/components/button/components/button-actions/button-actions.docs.mdx +3 -0
  27. package/dist/assets/components/button/components/button-actions/button-actions.internal.types.ts +1 -0
  28. package/dist/assets/components/button/components/button-actions/button-actions.stories.ts +1 -1
  29. package/dist/assets/components/button/components/button-actions/button-actions.types.ts +1 -1
  30. package/dist/assets/components/button/components/button-actions/button-actions.vue +1 -1
  31. package/dist/assets/components/button/components/loading-button/loading-button.docs.mdx +26 -23
  32. package/dist/assets/components/button/components/loading-button/loading-button.stories.ts +1 -1
  33. package/dist/assets/components/button/components/loading-button/loading-button.vue +1 -1
  34. package/dist/assets/components/button/components/toggle-button/toggle-button.stories.ts +1 -1
  35. package/dist/assets/components/card/card.docs.mdx +18 -1
  36. package/dist/assets/components/card/card.stories.ts +1 -1
  37. package/dist/assets/components/card/card.types.ts +1 -1
  38. package/dist/assets/components/card/card.vue +1 -1
  39. package/dist/assets/components/checkbox/checkbox.stories.ts +1 -1
  40. package/dist/assets/components/checkbox/checkbox.types.ts +1 -1
  41. package/dist/assets/components/checkbox/checkbox.vue +1 -1
  42. package/dist/assets/components/checkbox/components/checkbox-group/checkbox-group.docs.mdx +9 -14
  43. package/dist/assets/components/checkbox/components/checkbox-group/checkbox-group.stories.ts +1 -1
  44. package/dist/assets/components/checkbox/components/checkbox-group/checkbox-group.types.ts +1 -1
  45. package/dist/assets/components/checkbox/components/checkbox-group/checkbox-group.vue +1 -1
  46. package/dist/assets/components/chip/chip.stories.ts +1 -1
  47. package/dist/assets/components/chip/chip.vue +1 -1
  48. package/dist/assets/components/click-outside/click-outside.stories.ts +1 -1
  49. package/dist/assets/components/code-snippet/code-snippet.types.ts +1 -1
  50. package/dist/assets/components/code-snippet/code-snippet.vue +1 -1
  51. package/dist/assets/components/country/country.stories.ts +1 -1
  52. package/dist/assets/components/country/country.types.ts +1 -1
  53. package/dist/assets/components/country/country.vue +1 -1
  54. package/dist/assets/components/currency/currency.stories.ts +1 -1
  55. package/dist/assets/components/currency/currency.vue +1 -1
  56. package/dist/assets/components/dashed-underline/dashed-underline.stories.ts +1 -1
  57. package/dist/assets/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.types.ts +1 -1
  58. package/dist/assets/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue +1 -1
  59. package/dist/assets/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue +1 -1
  60. package/dist/assets/components/data-grid/components/data-grid-row/data-grid-row.vue +1 -1
  61. package/dist/assets/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.stories.ts +1 -1
  62. package/dist/assets/components/data-grid/components/data-grid-summary-cell/data-grid-summary-cell.stories.ts +1 -1
  63. package/dist/assets/components/data-grid/components/data-grid-summary-cell/data-grid-summary-cell.vue +1 -1
  64. package/dist/assets/components/data-grid/components/data-grid-tag-with-text-cell/data-grid-tag-with-text-cell.stories.ts +1 -1
  65. package/dist/assets/components/data-grid/components/data-grid-trend-cell/data-grid-trend-cell.stories.ts +1 -1
  66. package/dist/assets/components/data-grid/components/data-grid-trend-cell/data-grid-trend-cell.vue +1 -1
  67. package/dist/assets/components/data-grid/data-grid.docs.mdx +3 -60
  68. package/dist/assets/components/data-grid/data-grid.stories.ts +1 -1
  69. package/dist/assets/components/data-grid/data-grid.vue +1 -1
  70. package/dist/assets/components/date/date.stories.ts +1 -1
  71. package/dist/assets/components/date-picker/date-picker.stories.ts +1 -1
  72. package/dist/assets/components/date-picker/date-picker.types.ts +1 -1
  73. package/dist/assets/components/date-picker/date-picker.vue +1 -1
  74. package/dist/assets/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue +1 -1
  75. package/dist/assets/components/date-range-picker/components/date-time-input/date-time-input.types.ts +1 -1
  76. package/dist/assets/components/date-range-picker/components/date-time-input/date-time-input.vue +1 -1
  77. package/dist/assets/components/date-range-picker/date-range-picker.docs.mdx +31 -6
  78. package/dist/assets/components/date-range-picker/date-range-picker.stories.ts +1 -1
  79. package/dist/assets/components/date-range-picker/date-range-picker.types.ts +1 -1
  80. package/dist/assets/components/date-range-picker/date-range-picker.vue +1 -1
  81. package/dist/assets/components/date-time-picker/date-time-picker.stories.ts +1 -1
  82. package/dist/assets/components/date-time-picker/date-time-picker.types.ts +1 -1
  83. package/dist/assets/components/divider/divider.internal.types.ts +1 -0
  84. package/dist/assets/components/divider/divider.stories.ts +1 -1
  85. package/dist/assets/components/divider/divider.types.ts +1 -1
  86. package/dist/assets/components/divider/divider.vue +1 -1
  87. package/dist/assets/components/draggable/components/draggable-handle/draggable-handle.stories.ts +1 -1
  88. package/dist/assets/components/draggable/draggable.stories.ts +1 -1
  89. package/dist/assets/components/draggable/draggable.vue +1 -1
  90. package/dist/assets/components/drawer/drawer.stories.ts +1 -1
  91. package/dist/assets/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.internal.types.ts +1 -0
  92. package/dist/assets/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.ts +1 -1
  93. package/dist/assets/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue +1 -1
  94. package/dist/assets/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue +1 -1
  95. package/dist/assets/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue +1 -1
  96. package/dist/assets/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue +1 -1
  97. package/dist/assets/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.stories.ts +1 -1
  98. package/dist/assets/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.types.ts +1 -1
  99. package/dist/assets/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue +1 -1
  100. package/dist/assets/components/dropdown/components/variants/dropdown-country/dropdown-country.stories.ts +1 -1
  101. package/dist/assets/components/dropdown/components/variants/dropdown-country/dropdown-country.types.ts +1 -1
  102. package/dist/assets/components/dropdown/components/variants/dropdown-country/dropdown-country.vue +1 -1
  103. package/dist/assets/components/dropdown/components/variants/dropdown-currency/dropdown-currency.stories.ts +1 -1
  104. package/dist/assets/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.ts +1 -1
  105. package/dist/assets/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue +1 -1
  106. package/dist/assets/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.stories.ts +1 -1
  107. package/dist/assets/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.ts +1 -1
  108. package/dist/assets/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue +1 -1
  109. package/dist/assets/components/dropdown/components/variants/dropdown-tag/dropdown-tag.stories.ts +1 -1
  110. package/dist/assets/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.ts +1 -1
  111. package/dist/assets/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue +1 -1
  112. package/dist/assets/components/dropdown/dropdown.docs.mdx +4 -40
  113. package/dist/assets/components/dropdown/dropdown.internal.types.ts +1 -0
  114. package/dist/assets/components/dropdown/dropdown.stories.ts +1 -1
  115. package/dist/assets/components/dropdown/dropdown.types.ts +1 -1
  116. package/dist/assets/components/dropdown/dropdown.vue +1 -1
  117. package/dist/assets/components/empty-state/empty-state.stories.ts +1 -1
  118. package/dist/assets/components/empty-state/empty-state.types.ts +1 -1
  119. package/dist/assets/components/file-uploader/components/file-uploader-file-card/file-uploader-file-card.stories.ts +1 -1
  120. package/dist/assets/components/file-uploader/components/file-uploader-file-card/file-uploader-file-card.types.ts +1 -1
  121. package/dist/assets/components/file-uploader/components/file-uploader-file-card/file-uploader-file-card.vue +1 -1
  122. package/dist/assets/components/file-uploader/components/file-uploader-restrictions/file-uploader-restrictions.types.ts +1 -1
  123. package/dist/assets/components/file-uploader/components/file-uploader-restrictions/file-uploader-restrictions.vue +1 -1
  124. package/dist/assets/components/file-uploader/file-uploader.internal.types.ts +1 -0
  125. package/dist/assets/components/file-uploader/file-uploader.stories.ts +1 -1
  126. package/dist/assets/components/file-uploader/file-uploader.types.ts +1 -1
  127. package/dist/assets/components/file-uploader/file-uploader.vue +1 -1
  128. package/dist/assets/components/filter-bar/components/all-filters-modal/all-filters-modal.stories.ts +1 -1
  129. package/dist/assets/components/filter-bar/components/all-filters-modal/all-filters-modal.types.ts +1 -1
  130. package/dist/assets/components/filter-bar/components/all-filters-modal/all-filters-modal.vue +1 -1
  131. package/dist/assets/components/filter-bar/components/all-filters-modal/components/all-filters-modal-filter-selection/all-filters-modal-filter-selection.types.ts +1 -0
  132. package/dist/assets/components/filter-bar/components/all-filters-modal/components/all-filters-modal-filter-selection/all-filters-modal-filter-selection.vue +1 -0
  133. package/dist/assets/components/filter-bar/components/all-filters-modal/components/all-filters-modal-selected-filter/all-filters-modal-selected-filter.vue +1 -0
  134. package/dist/assets/components/filter-bar/components/base-filter/base-filter.internal.types.ts +1 -0
  135. package/dist/assets/components/filter-bar/components/base-filter/base-filter.types.ts +1 -1
  136. package/dist/assets/components/filter-bar/components/base-filter/base-filter.vue +1 -1
  137. package/dist/assets/components/filter-bar/components/boolean-filter/boolean-filter.vue +1 -1
  138. package/dist/assets/components/filter-bar/components/date-filter/date-filter.vue +1 -1
  139. package/dist/assets/components/filter-bar/components/date-range-filter/date-range-filter.vue +1 -1
  140. package/dist/assets/components/filter-bar/components/input-filter/input-filter.types.ts +1 -1
  141. package/dist/assets/components/filter-bar/components/input-filter/input-filter.vue +1 -1
  142. package/dist/assets/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.stories.ts +1 -1
  143. package/dist/assets/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.vue +1 -1
  144. package/dist/assets/components/filter-bar/components/select-filter/components/select-filter-button/select-filter-button.vue +1 -1
  145. package/dist/assets/components/filter-bar/components/select-filter/select-filter.vue +1 -1
  146. package/dist/assets/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.stories.ts +1 -1
  147. package/dist/assets/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.stories.ts +1 -1
  148. package/dist/assets/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue +1 -1
  149. package/dist/assets/components/filter-bar/components/toggle-filter/toggle-filter.vue +1 -1
  150. package/dist/assets/components/filter-bar/filter-bar.docs.mdx +4 -62
  151. package/dist/assets/components/filter-bar/filter-bar.stories.ts +1 -1
  152. package/dist/assets/components/filter-bar/filter-bar.types.ts +1 -1
  153. package/dist/assets/components/filter-bar/filter-bar.vue +1 -1
  154. package/dist/assets/components/form-layout/form-layout.docs.mdx +0 -23
  155. package/dist/assets/components/form-layout/form-layout.stories.ts +1 -1
  156. package/dist/assets/components/header/header.stories.ts +1 -1
  157. package/dist/assets/components/header/header.types.ts +1 -1
  158. package/dist/assets/components/header/header.vue +1 -1
  159. package/dist/assets/components/header-with-views/components/header-with-views-all-views/header-with-views-all-views.vue +1 -1
  160. package/dist/assets/components/header-with-views/components/header-with-views-item-edit-form/header-with-views-edit-form.types.ts +1 -1
  161. package/dist/assets/components/header-with-views/components/header-with-views-item-edit-form/header-with-views-edit-form.vue +1 -1
  162. package/dist/assets/components/header-with-views/header-with-views.internal.types.ts +1 -0
  163. package/dist/assets/components/header-with-views/header-with-views.stories.ts +1 -1
  164. package/dist/assets/components/header-with-views/header-with-views.types.ts +1 -1
  165. package/dist/assets/components/header-with-views/header-with-views.vue +1 -1
  166. package/dist/assets/components/image/image.stories.ts +1 -1
  167. package/dist/assets/components/info-icon/info-icon.stories.ts +1 -1
  168. package/dist/assets/components/input-field/input-field.docs.mdx +1 -13
  169. package/dist/assets/components/input-field/input-field.stories.ts +1 -1
  170. package/dist/assets/components/input-field/input-field.types.ts +1 -1
  171. package/dist/assets/components/input-field/input-field.vue +1 -1
  172. package/dist/assets/components/input-field-password/input-field-password.internal.types.ts +1 -0
  173. package/dist/assets/components/input-field-password/input-field-password.stories.ts +1 -1
  174. package/dist/assets/components/input-field-password/input-field-password.types.ts +1 -1
  175. package/dist/assets/components/input-field-password/input-field-password.vue +1 -1
  176. package/dist/assets/components/input-field-phone-number/input-field-phone-number.stories.ts +1 -1
  177. package/dist/assets/components/input-field-phone-number/input-field-phone-number.types.ts +1 -1
  178. package/dist/assets/components/input-field-phone-number/input-field-phone-number.vue +1 -1
  179. package/dist/assets/components/input-time/input-time.docs.mdx +17 -0
  180. package/dist/assets/components/input-time/input-time.stories.ts +1 -1
  181. package/dist/assets/components/input-time/input-time.types.ts +1 -1
  182. package/dist/assets/components/input-time/input-time.vue +1 -1
  183. package/dist/assets/components/inspector/inspector.stories.ts +1 -1
  184. package/dist/assets/components/inspector/inspector.vue +1 -1
  185. package/dist/assets/components/layout/components/layout-row/layout-row.stories.ts +1 -1
  186. package/dist/assets/components/layout/components/layout-row/layout-row.vue +1 -1
  187. package/dist/assets/components/layout/layout.docs.mdx +10 -0
  188. package/dist/assets/components/layout/layout.internal.types.ts +1 -0
  189. package/dist/assets/components/layout/layout.stories.ts +1 -1
  190. package/dist/assets/components/layout/layout.types.ts +1 -1
  191. package/dist/assets/components/link/link.stories.ts +1 -1
  192. package/dist/assets/components/link/link.types.ts +1 -1
  193. package/dist/assets/components/link/link.vue +1 -1
  194. package/dist/assets/components/list/list.stories.ts +1 -1
  195. package/dist/assets/components/loading-indicator/loading-indicator.stories.ts +1 -1
  196. package/dist/assets/components/menu/components/menu-item/menu-item.types.ts +1 -1
  197. package/dist/assets/components/menu/components/menu-item/menu-item.vue +1 -1
  198. package/dist/assets/components/menu/components/menu-item-list/menu-item-list.vue +1 -1
  199. package/dist/assets/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue +1 -1
  200. package/dist/assets/components/menu/menu.docs.mdx +9 -0
  201. package/dist/assets/components/menu/menu.stories.ts +1 -1
  202. package/dist/assets/components/menu/menu.types.ts +1 -1
  203. package/dist/assets/components/menu/menu.vue +1 -1
  204. package/dist/assets/components/modal/components/base-modal/base-modal.vue +1 -1
  205. package/dist/assets/components/modal/components/modal-page/modal-page.vue +1 -1
  206. package/dist/assets/components/modal/modal.internal.types.ts +1 -0
  207. package/dist/assets/components/modal/modal.stories.ts +1 -1
  208. package/dist/assets/components/modal/modal.types.ts +1 -1
  209. package/dist/assets/components/modal/modal.vue +1 -1
  210. package/dist/assets/components/modal-fullscreen/components/modal-fullscreen-page.vue +1 -1
  211. package/dist/assets/components/modal-fullscreen/modal-fullscreen.stories.ts +1 -1
  212. package/dist/assets/components/modal-fullscreen/modal-fullscreen.vue +1 -1
  213. package/dist/assets/components/navigation-menu/components/navigation-menu-group/navigation-menu-group.internal.types.ts +1 -0
  214. package/dist/assets/components/navigation-menu/components/navigation-menu-group/navigation-menu-group.types.ts +1 -1
  215. package/dist/assets/components/navigation-menu/components/navigation-menu-group/navigation-menu-group.vue +1 -1
  216. package/dist/assets/components/navigation-menu/components/navigation-menu-item/navigation-menu-item.vue +1 -1
  217. package/dist/assets/components/navigation-menu/navigation-menu.internal.types.ts +1 -0
  218. package/dist/assets/components/navigation-menu/navigation-menu.stories.ts +1 -1
  219. package/dist/assets/components/navigation-menu/navigation-menu.types.ts +1 -1
  220. package/dist/assets/components/navigation-menu/navigation-menu.vue +1 -1
  221. package/dist/assets/components/pagination/components/pagination-context/pagination-context.vue +1 -1
  222. package/dist/assets/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue +1 -1
  223. package/dist/assets/components/pagination/pagination.stories.ts +1 -1
  224. package/dist/assets/components/pagination/pagination.types.ts +1 -1
  225. package/dist/assets/components/pagination/pagination.vue +1 -1
  226. package/dist/assets/components/payment-method/payment-method.stories.ts +1 -1
  227. package/dist/assets/components/payment-method/payment-method.types.ts +1 -1
  228. package/dist/assets/components/popover/popover.docs.mdx +32 -9
  229. package/dist/assets/components/popover/popover.stories.ts +1 -1
  230. package/dist/assets/components/popover/popover.types.ts +1 -1
  231. package/dist/assets/components/popover/popover.vue +1 -1
  232. package/dist/assets/components/popper-container/popper-container.types.ts +1 -1
  233. package/dist/assets/components/popper-container/popper-container.vue +1 -1
  234. package/dist/assets/components/progress-bar/progress-bar.stories.ts +1 -1
  235. package/dist/assets/components/progress-bar/progress-bar.vue +1 -1
  236. package/dist/assets/components/promo-banner/promo-banner.stories.ts +1 -1
  237. package/dist/assets/components/promo-banner/promo-banner.types.ts +1 -1
  238. package/dist/assets/components/promo-banner/promo-banner.vue +1 -1
  239. package/dist/assets/components/radio-group/components/radio-button/radio-button.vue +1 -1
  240. package/dist/assets/components/radio-group/radio-group.docs.mdx +1 -6
  241. package/dist/assets/components/radio-group/radio-group.stories.ts +1 -1
  242. package/dist/assets/components/radio-group/radio-group.types.ts +1 -1
  243. package/dist/assets/components/radio-group/radio-group.vue +1 -1
  244. package/dist/assets/components/rich-text-editor/rich-text-editor.internal.types.ts +1 -0
  245. package/dist/assets/components/rich-text-editor/rich-text-editor.stories.ts +1 -1
  246. package/dist/assets/components/rich-text-editor/rich-text-editor.types.ts +1 -1
  247. package/dist/assets/components/rich-text-editor/rich-text-editor.vue +1 -1
  248. package/dist/assets/components/search-bar/search-bar.stories.ts +1 -1
  249. package/dist/assets/components/search-bar/search-bar.vue +1 -1
  250. package/dist/assets/components/secondary-nav/components/secondary-nav-item/secondary-nav-item.vue +1 -1
  251. package/dist/assets/components/secondary-nav/secondary-nav.stories.ts +1 -1
  252. package/dist/assets/components/secondary-nav/secondary-nav.vue +1 -1
  253. package/dist/assets/components/segmented-control/components/segmented-control-button/segmented-control-button.vue +1 -1
  254. package/dist/assets/components/segmented-control/segmented-control.stories.ts +1 -1
  255. package/dist/assets/components/segmented-control/segmented-control.types.ts +1 -1
  256. package/dist/assets/components/segmented-control/segmented-control.vue +1 -1
  257. package/dist/assets/components/selection-card/components/selection-card-group/selection-card-group.docs.mdx +12 -13
  258. package/dist/assets/components/selection-card/components/selection-card-group/selection-card-group.stories.ts +1 -1
  259. package/dist/assets/components/selection-card/components/selection-card-group/selection-card-group.vue +1 -1
  260. package/dist/assets/components/selection-card/selection-card.stories.ts +1 -1
  261. package/dist/assets/components/selection-card/selection-card.types.ts +1 -1
  262. package/dist/assets/components/selection-card/selection-card.vue +1 -1
  263. package/dist/assets/components/sidepanel/sidepanel.docs.mdx +1 -1
  264. package/dist/assets/components/sidepanel/sidepanel.stories.ts +1 -1
  265. package/dist/assets/components/sidepanel/sidepanel.vue +1 -1
  266. package/dist/assets/components/status/status.stories.ts +1 -1
  267. package/dist/assets/components/status/status.types.ts +1 -1
  268. package/dist/assets/components/stepper/components/step/step.vue +1 -1
  269. package/dist/assets/components/stepper/stepper.stories.ts +1 -1
  270. package/dist/assets/components/stepper/stepper.vue +1 -1
  271. package/dist/assets/components/structured-list/structured-list.stories.ts +1 -1
  272. package/dist/assets/components/structured-list/structured-list.vue +1 -1
  273. package/dist/assets/components/summary-grid/components/summary-grid-item/summary-grid-item.types.ts +1 -1
  274. package/dist/assets/components/summary-grid/summary-grid.stories.ts +1 -1
  275. package/dist/assets/components/summary-grid/summary-grid.types.ts +1 -1
  276. package/dist/assets/components/table-of-contents/components/table-of-contents-list/table-of-contents-list.vue +1 -1
  277. package/dist/assets/components/table-of-contents/table-of-contents.internal.types.ts +1 -0
  278. package/dist/assets/components/table-of-contents/table-of-contents.stories.ts +1 -1
  279. package/dist/assets/components/table-of-contents/table-of-contents.types.ts +1 -1
  280. package/dist/assets/components/table-of-contents/table-of-contents.vue +1 -1
  281. package/dist/assets/components/tabs/components/tab.internal.types.ts +1 -0
  282. package/dist/assets/components/tabs/components/tab.types.ts +1 -1
  283. package/dist/assets/components/tabs/components/tab.vue +1 -1
  284. package/dist/assets/components/tabs/tabs.stories.ts +1 -1
  285. package/dist/assets/components/tabs/tabs.vue +1 -1
  286. package/dist/assets/components/tag/tag.docs.mdx +1 -1
  287. package/dist/assets/components/tag/tag.stories.ts +1 -1
  288. package/dist/assets/components/tag/tag.types.ts +1 -1
  289. package/dist/assets/components/tag/tag.vue +1 -1
  290. package/dist/assets/components/textarea/textarea.docs.mdx +0 -7
  291. package/dist/assets/components/textarea/textarea.stories.ts +1 -1
  292. package/dist/assets/components/textarea/textarea.types.ts +1 -1
  293. package/dist/assets/components/textarea/textarea.vue +1 -1
  294. package/dist/assets/components/timeline/components/timeline-item/timeline-item.stories.ts +1 -1
  295. package/dist/assets/components/timeline/components/timeline-item/timeline-item.vue +1 -1
  296. package/dist/assets/components/timeline/timeline.docs.mdx +0 -10
  297. package/dist/assets/components/timeline/timeline.internal.types.ts +1 -0
  298. package/dist/assets/components/timeline/timeline.stories.ts +1 -1
  299. package/dist/assets/components/timeline/timeline.types.ts +1 -1
  300. package/dist/assets/components/timeline/timeline.vue +1 -1
  301. package/dist/assets/components/toast/components/toast-item/toast-item.vue +1 -1
  302. package/dist/assets/components/toggle/toggle.stories.ts +1 -1
  303. package/dist/assets/components/toggle/toggle.types.ts +1 -1
  304. package/dist/assets/components/toggle/toggle.vue +1 -1
  305. package/dist/assets/components/tutorial/tutorial.stories.ts +1 -1
  306. package/dist/assets/components/typography/typography.stories.ts +1 -1
  307. package/dist/assets/components/typography/typography.types.ts +1 -1
  308. package/dist/assets/components/typography/typography.vue +1 -1
  309. package/dist/assets/composables/use-bento-base-filter/index.ts +1 -0
  310. package/dist/assets/composables/use-bento-base-filter/use-bento-base-filter.ts +1 -0
  311. package/dist/assets/composables/use-bento-base-filter/utils/index.ts +1 -0
  312. package/dist/assets/composables/use-bento-base-filter/utils/utils.ts +1 -0
  313. package/dist/assets/composables/use-bento-currency/index.ts +1 -0
  314. package/dist/assets/composables/use-bento-currency/use-bento-currency.stories.ts +1 -1
  315. package/dist/assets/composables/use-bento-currency/use-bento-currency.ts +1 -0
  316. package/dist/assets/composables/use-bento-delayed-hover/index.ts +1 -0
  317. package/dist/assets/composables/use-bento-delayed-hover/use-bento-delayed-hover.stories.ts +1 -1
  318. package/dist/assets/composables/use-bento-delayed-hover/use-bento-delayed-hover.ts +1 -0
  319. package/dist/assets/composables/use-bento-theme/index.ts +1 -0
  320. package/dist/assets/composables/use-bento-theme/install.ts +1 -1
  321. package/dist/assets/composables/use-bento-theme/install.types.ts +1 -1
  322. package/dist/assets/composables/use-bento-theme/use-bento-theme.ts +1 -0
  323. package/dist/assets/composables/use-bento-toast-controller/index.ts +1 -0
  324. package/dist/assets/composables/use-bento-toast-controller/toast-stack.ts +1 -0
  325. package/dist/assets/composables/use-bento-toast-controller/use-bento-toast-controller.ts +1 -0
  326. package/dist/assets/composables/use-click-outside/index.ts +1 -0
  327. package/dist/assets/composables/use-click-outside/use-click-outside.stories.ts +1 -1
  328. package/dist/assets/composables/use-click-outside/use-click-outside.ts +1 -0
  329. package/dist/assets/composables/use-form-validate/index.ts +1 -0
  330. package/dist/assets/composables/use-form-validate/use-form.ts +1 -0
  331. package/dist/assets/composables/use-form-validate/use-form.types.ts +1 -1
  332. package/dist/assets/composables.json +9 -0
  333. package/dist/assets/deprecations.md +132 -236
  334. package/dist/assets/directives/highlight/highlight.stories.ts +1 -1
  335. package/dist/assets/directives/keyboard-navigation/keyboard-navigation.stories.ts +1 -1
  336. package/dist/assets/directives/tooltip/tooltip.internal.types.ts +1 -0
  337. package/dist/assets/directives/tooltip/tooltip.stories.ts +1 -1
  338. package/dist/assets/directives/tooltip/tooltip.types.ts +1 -1
  339. package/dist/assets/icons.json +1 -0
  340. package/dist/assets/install.ts +1 -1
  341. package/dist/assets/tailwind/README.md +3 -3
  342. package/dist/assets/templates/dashboard-template/components/dashboard-section/dashboard-section.stories.ts +1 -1
  343. package/dist/assets/templates/dashboard-template/dashboard-template.stories.ts +1 -1
  344. package/dist/assets/templates/data-grid-template/data-grid-template.stories.ts +1 -1
  345. package/dist/assets/usage.json +77 -77
  346. package/dist/assets/variables.css +113 -101
  347. package/dist/main.js +228 -34
  348. package/package.json +2 -2
  349. package/dist/assets/components/internal/base-button/base-button.types.ts +0 -1
  350. package/dist/assets/components/internal/base-button/base-button.vue +0 -1
  351. package/dist/assets/components/internal/button-actions-with-menu/button-actions-with-menu.stories.ts +0 -1
  352. package/dist/assets/components/internal/button-actions-with-menu/button-actions-with-menu.types.ts +0 -1
  353. package/dist/assets/components/internal/button-actions-with-menu/button-actions-with-menu.vue +0 -1
  354. package/dist/assets/components/internal/calendar/calendar.stories.ts +0 -1
  355. package/dist/assets/components/internal/calendar/calendar.types.ts +0 -1
  356. package/dist/assets/components/internal/calendar/calendar.vue +0 -1
  357. package/dist/assets/components/internal/calendar/components/calendar-month/calendar-month.stories.ts +0 -1
  358. package/dist/assets/components/internal/calendar/components/calendar-month/calendar-month.types.ts +0 -1
  359. package/dist/assets/components/internal/calendar/components/calendar-month/calendar-month.vue +0 -1
  360. package/dist/assets/components/internal/calendar/components/calendar-month/components/calendar-month-day/__test__/calendar-month-day-stub.vue +0 -1
  361. package/dist/assets/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.stories.ts +0 -1
  362. package/dist/assets/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.types.ts +0 -1
  363. package/dist/assets/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue +0 -1
  364. package/dist/assets/components/internal/calendar/components/calendar-month/composables/granular-min-max-date.types.ts +0 -1
  365. package/dist/assets/components/internal/calendar/components/calendar-year/calendar-year.types.ts +0 -1
  366. package/dist/assets/components/internal/calendar/components/calendar-year/calendar-year.vue +0 -1
  367. package/dist/assets/components/internal/calendar/components/calendar-year/components/calendar-year-month/__test__/calendar-year-month-stub.vue +0 -1
  368. package/dist/assets/components/internal/calendar/components/calendar-year/components/calendar-year-month/calendar-year-month.types.ts +0 -1
  369. package/dist/assets/components/internal/calendar/components/calendar-year/components/calendar-year-month/calendar-year-month.vue +0 -1
  370. package/dist/assets/components/internal/calendar/components/calendar-year-selector/calendar-year-selector.types.ts +0 -1
  371. package/dist/assets/components/internal/calendar/components/calendar-year-selector/calendar-year-selector.vue +0 -1
  372. package/dist/assets/components/internal/calendar/composables/use-granularity-adjustments.types.ts +0 -1
  373. package/dist/assets/components/internal/checkbox-input/checkbox-input.stories.ts +0 -1
  374. package/dist/assets/components/internal/checkbox-input/checkbox-input.types.ts +0 -1
  375. package/dist/assets/components/internal/checkbox-input/checkbox-input.vue +0 -1
  376. package/dist/assets/components/internal/controls-group/controls-group.vue +0 -1
  377. package/dist/assets/components/internal/copy/copy.docs.mdx +0 -43
  378. package/dist/assets/components/internal/copy/copy.stories.ts +0 -1
  379. package/dist/assets/components/internal/copy/copy.types.ts +0 -1
  380. package/dist/assets/components/internal/copy/copy.vue +0 -1
  381. package/dist/assets/components/internal/decorative-checkbox/decorative-checkbox.vue +0 -1
  382. package/dist/assets/components/internal/dialog-page/dialog-page.types.ts +0 -1
  383. package/dist/assets/components/internal/dialog-page/dialog-page.vue +0 -1
  384. package/dist/assets/components/internal/error-message/error-message.vue +0 -1
  385. package/dist/assets/components/internal/field-label/field-label.vue +0 -1
  386. package/dist/assets/components/internal/fixed-scroller/fixed-scroller.docs.mdx +0 -21
  387. package/dist/assets/components/internal/fixed-scroller/fixed-scroller.stories.ts +0 -1
  388. package/dist/assets/components/internal/fixed-scroller/fixed-scroller.vue +0 -1
  389. package/dist/assets/components/internal/footer-actions/footer-actions.vue +0 -1
  390. package/dist/assets/components/internal/grid-layout/grid-layout.types.ts +0 -1
  391. package/dist/assets/components/internal/grid-layout/grid-layout.vue +0 -1
  392. package/dist/assets/components/internal/header-meta/header-meta.types.ts +0 -1
  393. package/dist/assets/components/internal/header-meta/header-meta.vue +0 -1
  394. package/dist/assets/components/internal/info-icon-with-popover/info-icon-with-popover.vue +0 -1
  395. package/dist/assets/components/internal/listbox/components/listbox-lazy-load/listbox-lazy-load.types.ts +0 -1
  396. package/dist/assets/components/internal/listbox/components/listbox-lazy-load/listbox-lazy-load.vue +0 -1
  397. package/dist/assets/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.types.ts +0 -1
  398. package/dist/assets/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue +0 -1
  399. package/dist/assets/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-nested-lazy-load/listbox-multi-select-nested-lazy-load.types.ts +0 -1
  400. package/dist/assets/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-nested-lazy-load/listbox-multi-select-nested-lazy-load.vue +0 -1
  401. package/dist/assets/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.types.ts +0 -1
  402. package/dist/assets/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue +0 -1
  403. package/dist/assets/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.types.ts +0 -1
  404. package/dist/assets/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue +0 -1
  405. package/dist/assets/components/internal/listbox/components/listbox-option/listbox-option.vue +0 -1
  406. package/dist/assets/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue +0 -1
  407. package/dist/assets/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/listbox-single-select-category.vue +0 -1
  408. package/dist/assets/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue +0 -1
  409. package/dist/assets/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue +0 -1
  410. package/dist/assets/components/internal/listbox/listbox.stories.ts +0 -1
  411. package/dist/assets/components/internal/listbox/listbox.types.ts +0 -1
  412. package/dist/assets/components/internal/listbox/listbox.vue +0 -1
  413. package/dist/assets/components/internal/radio-input/radio-input.stories.ts +0 -1
  414. package/dist/assets/components/internal/radio-input/radio-input.types.ts +0 -1
  415. package/dist/assets/components/internal/radio-input/radio-input.vue +0 -1
  416. package/dist/assets/components/internal/teleport/teleport.types.ts +0 -1
  417. package/dist/assets/components/internal/teleport/teleport.vue +0 -1
  418. package/dist/assets/components/internal/tooltip/tooltip.test.vue +0 -1
  419. package/dist/assets/components/internal/tooltip/tooltip.types.ts +0 -1
  420. package/dist/assets/components/internal/tooltip/tooltip.vue +0 -1
  421. package/dist/assets/composables/use-form-validate-zod-4/use-form.types.ts +0 -1
  422. package/dist/assets/composables/use-numeric-input/use-numeric-input.types.ts +0 -1
  423. package/dist/assets/composables/use-section-navigation-keyboard/use-section-navigation-keyboard.types.ts +0 -1
  424. package/dist/assets/composables/use-virtual-list/use-virtual-list.types.ts +0 -1
@@ -6,6 +6,14 @@ This file contains a list of all deprecated components, properties, and features
6
6
 
7
7
  ### Deprecation Found
8
8
 
9
+ - string) {
10
+ - ../vue2/src/utils/ts/deprecate.ts- // If the message is already showing, dont show it again
11
+ - ../vue2/src/utils/ts/deprecate.ts- if (!shownMessages.has(title)) {
12
+ - \x1b[0m ${title}`, DEPRECATION_STYLES);
13
+ - ../vue2/src/utils/ts/deprecate.ts- // Format multi-line descriptions with the backtick
14
+ - ../vue2/src/utils/ts/deprecate.ts- printDevelopmentWarning(`${deprecationMessage.replaceAll( , ).trim()}`);
15
+ ### Deprecation Found
16
+
9
17
  - deprecate(TITLE, MESSAGE, VERSION);
10
18
  - ../vue2/src/utils/ts/deprecate.test.ts-
11
19
  - ../vue2/src/utils/ts/deprecate.test.ts- expect(warnSpy).toHaveBeenCalledTimes(EXPECTED_CALLS.length);
@@ -36,20 +44,19 @@ This file contains a list of all deprecated components, properties, and features
36
44
  - ../vue2/src/utils/ts/deprecate.test.ts- EXPECTED_CALLS[0]
37
45
  ### Deprecation Found
38
46
 
39
- - string) {
40
- - ../vue2/src/utils/ts/deprecate.ts- // If the message is already showing, dont show it again
41
- - ../vue2/src/utils/ts/deprecate.ts- if (!shownMessages.has(title)) {
42
- - \x1b[0m ${title}`, DEPRECATION_STYLES);
43
- - ../vue2/src/utils/ts/deprecate.ts- // Format multi-line descriptions with the backtick
44
- - ../vue2/src/utils/ts/deprecate.ts- printDevelopmentWarning(`${deprecationMessage.replaceAll( , ).trim()}`);
47
+ - deprecate(
48
+ - ../vue2/src/install.ts- Using default setting withDesignTokensCSSInjection set to true in BentoVue plugin
49
+ - //adyen-bento.netlify.app/?path=/docs/welcome-getting-started--docs#import-css-variables
50
+ - ../vue2/src/install.ts- 3.0.0
51
+ - ../vue2/src/install.ts- );
52
+ - ../vue2/src/install.ts- // Make sure to put all awaited CSS imports below this point and not above!
45
53
  ### Deprecation Found
46
54
 
47
- - deprecate(
48
- - ../vue2/src/components/typography/typography.vue- BentoTypography subtitle variant (BentoTypographyVariant.SUBTITLE)
49
- - ../vue2/src/components/typography/typography.vue- `Use the title or BentoTypographyVariant.TITLE variant and (optionally) combine it with a size property. e.g. medium / large.
50
- - variant=BentoTypographyVariant.TITLE medium>`
51
- - ../vue2/src/components/typography/typography.vue- 2.0.0
52
- - ../vue2/src/components/typography/typography.vue- );
55
+ - deprecate(Using `BentoTheme.BENTO`, Please use `BentoTheme.BENTO_LIGHT` instead, 3.0.0);
56
+ - ../vue2/src/install.ts- setTheme(BentoTheme.BENTO_LIGHT);
57
+ - ../vue2/src/install.ts- break;
58
+ - ../vue2/src/install.ts- setTheme(BentoTheme.BENTO_LIGHT);
59
+ - ../vue2/src/install.ts- }
53
60
  ### Deprecation Found
54
61
 
55
62
  - deprecate(
@@ -57,125 +64,23 @@ This file contains a list of all deprecated components, properties, and features
57
64
  - ../vue2/src/components/currency/currency.vue- `The use of default slot in BentoCurrency is no longer supported as it causes issues with dynamic content.
58
65
  - ../vue2/src/components/currency/currency.vue- Use the value property instead.
59
66
  - value=12345.67 currency=USD major-units=false />`
60
- - ../vue2/src/components/currency/currency.vue- 2.0.0
61
- ### Deprecation Found
62
-
63
- - deprecate(
64
- - ../vue2/src/components/dropdown/dropdown.vue- BentoDropdown error property
65
- - ../vue2/src/components/dropdown/dropdown.vue- `Use the BentoDropdown errorMessage property instead to indicate that there is a modifier error.
66
- - ../vue2/src/components/dropdown/dropdown.vue- Having the field as undefined will hide/remove the error.
67
- - ../vue2/src/components/dropdown/dropdown.vue- <bento-dropdown errorMessage=Error message text />`
68
- - ../vue2/src/components/dropdown/dropdown.vue- 2.0.0
69
- ### Deprecation Found
70
-
71
- - deprecate(BentoDropdown size property, `Do not use. Only default size should be used.`, 2.0.0);
72
- - ../vue2/src/components/dropdown/dropdown.vue- }
73
- - ../vue2/src/components/dropdown/dropdown.vue-
74
- - ../vue2/src/components/dropdown/dropdown.vue- if (props.value) {
75
- ### Deprecation Found
76
-
77
- - deprecate(
78
- - ../vue2/src/components/dropdown/dropdown.vue- BentoDropdown value property
79
- - ../vue2/src/components/dropdown/dropdown.vue- `The use of value prop in BentoDropdown is no longer supported.
80
- - ../vue2/src/components/dropdown/dropdown.vue- Use the v-model or model-value property instead.`
81
- - ../vue2/src/components/dropdown/dropdown.vue- 2.0.0
82
- - ../vue2/src/components/dropdown/dropdown.vue- );
83
- ### Deprecation Found
84
-
85
- - deprecate(
86
- - ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- BentoDropdownTag value property
87
- - ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- `The use of value prop in BentoDropdownTag is no longer supported.
88
- - ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- Use the v-model or model-value property instead.`
89
- - ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- 2.0.0
90
- - ../vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.vue- );
91
- ### Deprecation Found
92
-
93
- - deprecate(
94
- - ../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue- BentoDropdownCurrency value property
95
- - ../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue- `The use of value prop in BentoDropdownCurrency is no longer supported.
96
- - ../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue- Use the v-model or model-value property instead.`
97
- - ../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue- 2.0.0
98
- - ../vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue- );
99
- ### Deprecation Found
100
-
101
- - deprecate(
102
- - ../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue- BentoDropdownAvatar value property
103
- - ../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue- `The use of value prop in BentoDropdownAvatar is no longer supported.
104
- - ../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue- Use the v-model or model-value property instead.`
105
- - ../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue- 2.0.0
106
- - ../vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue- );
107
- ### Deprecation Found
108
-
109
- - deprecate(
110
- - ../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue- BentoDropdownPaymentMethod value property
111
- - ../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue- `The use of value prop in BentoDropdownPaymentMethod is no longer supported.
112
- - ../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue- Use the v-model or model-value property instead.`
113
- - ../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue- 2.0.0
114
- - ../vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue- );
115
- ### Deprecation Found
116
-
117
- - deprecate(
118
- - ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- BentoDropdownCountry custom variant and items prop label key
119
- - ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- Use any of the other BentoDropdownCountry variants instead OR use BentoDropdown component for custom labels
120
- - ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- 2.0.0
121
- - ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- );
122
- - ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- }
123
- ### Deprecation Found
124
-
125
- - deprecate(
126
- - ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- BentoDropdownCountry value property
127
- - ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- `The use of value prop in BentoDropdownCountry is no longer supported.
128
- - ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- Use the v-model or model-value property instead.`
129
- - ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- 2.0.0
130
- - ../vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue- );
131
- ### Deprecation Found
132
-
133
- - deprecate(
134
- - ../vue2/src/components/country/country.vue- BentoCountry custom variant and label prop
135
- - ../vue2/src/components/country/country.vue- Use any of the other BentoCountry variants instead OR BentoTypography component for custom text
136
- - ../vue2/src/components/country/country.vue- 2.0.0
137
- - ../vue2/src/components/country/country.vue- );
138
- - ../vue2/src/components/country/country.vue- }
139
- ### Deprecation Found
140
-
141
- - deprecate(
142
- - ../vue2/src/components/timeline/components/timeline-item/timeline-item.vue- BentoTimelineItem variant property
143
- - ../vue2/src/components/timeline/components/timeline-item/timeline-item.vue- `Use the BentoTimelineItem status modifier instead to modify the color of the timeline icon.
144
- - ../vue2/src/components/timeline/components/timeline-item/timeline-item.vue- <bento-timeline-item status=red />`
145
- - ../vue2/src/components/timeline/components/timeline-item/timeline-item.vue- 2.0.0
146
- - ../vue2/src/components/timeline/components/timeline-item/timeline-item.vue- );
67
+ - ../vue2/src/components/currency/currency.vue- 3.0.0
147
68
  ### Deprecation Found
148
69
 
149
70
  - deprecate(
150
- - ../vue2/src/components/input-field-phone-number/input-field-phone-number.vue- BentoInputFieldPhoneNumber value property
151
- - ../vue2/src/components/input-field-phone-number/input-field-phone-number.vue- `The use of value prop in BentoInputFieldPhoneNumber is no longer supported.
152
- - ../vue2/src/components/input-field-phone-number/input-field-phone-number.vue- Use the v-model or model-value property instead.`
153
- - ../vue2/src/components/input-field-phone-number/input-field-phone-number.vue- 2.0.0
154
- - ../vue2/src/components/input-field-phone-number/input-field-phone-number.vue- );
155
- ### Deprecation Found
156
-
157
- - deprecate(
158
- - ../vue2/src/components/input-field-password/input-field-password.vue- BentoInputFieldPassword value property
159
- - ../vue2/src/components/input-field-password/input-field-password.vue- `The use of value prop in BentoInputFieldPassword is no longer supported.
160
- - ../vue2/src/components/input-field-password/input-field-password.vue- Use the v-model or model-value property instead.`
161
- - ../vue2/src/components/input-field-password/input-field-password.vue- 2.0.0
162
- - ../vue2/src/components/input-field-password/input-field-password.vue- );
163
- ### Deprecation Found
164
-
165
- - deprecate(
166
- - ../vue2/src/components/inspector/inspector.vue- BentoInspector active-page as optional
167
- - active-page.
168
- - ../vue2/src/components/inspector/inspector.vue- active-page prop will be required in the next version`
169
- - ../vue2/src/components/inspector/inspector.vue- 2.0.0
170
- - ../vue2/src/components/inspector/inspector.vue- );
71
+ - ../vue2/src/components/sidepanel/sidepanel.vue- BentoSidepanel isDismissible property’s behavior
72
+ - ../vue2/src/components/sidepanel/sidepanel.vue- BentoSidepanel isDismissible will no longer hide the close button. Use hideCloseButton=true instead.
73
+ - ../vue2/src/components/sidepanel/sidepanel.vue- 3.0.0
74
+ - ../vue2/src/components/sidepanel/sidepanel.vue- );
75
+ - ../vue2/src/components/sidepanel/sidepanel.vue- }
171
76
  ### Deprecation Found
172
77
 
173
78
  - deprecate(
174
- - ../vue2/src/components/radio-group/radio-group.vue- BentoRadioGroup hasError property
175
- - ../vue2/src/components/radio-group/radio-group.vue- `Use the BentoRadioGroup errorMessage property instead to indicate that there is a modifier error.
176
- - ../vue2/src/components/radio-group/radio-group.vue- Having the field as undefined will hide/remove the error.
177
- - ../vue2/src/components/radio-group/radio-group.vue- <bento-radio-group errorMessage=Error message text />`
178
- - ../vue2/src/components/radio-group/radio-group.vue- 2.0.0
79
+ - string | Array<string> | File | Array<File>
80
+ - ../vue2/src/components/file-uploader/file-uploader.vue- Use FileList instead.
81
+ - ../vue2/src/components/file-uploader/file-uploader.vue- 3.0.0
82
+ - ../vue2/src/components/file-uploader/file-uploader.vue- );
83
+ - ../vue2/src/components/file-uploader/file-uploader.vue- }
179
84
  ### Deprecation Found
180
85
 
181
86
  - deprecate(
@@ -186,94 +91,22 @@ This file contains a list of all deprecated components, properties, and features
186
91
  - ../vue2/src/components/internal/controls-group/controls-group.vue- `2.0.0`
187
92
  ### Deprecation Found
188
93
 
189
- - deprecate(
190
- - ../vue2/src/components/card/card.vue- BentoCard @click property
191
- - ../vue2/src/components/card/card.vue- `Use the BentoCard @click with the clickable property to enable accessible styles.`
192
- - ../vue2/src/components/card/card.vue- 2.0.0
193
- - ../vue2/src/components/card/card.vue- );
194
- - ../vue2/src/components/card/card.vue- }
195
- ### Deprecation Found
196
-
197
- - deprecate(
198
- - ../vue2/src/components/textarea/textarea.vue- BentoTextarea value property
199
- - ../vue2/src/components/textarea/textarea.vue- `The use of value prop in BentoTextarea is no longer supported.
200
- - ../vue2/src/components/textarea/textarea.vue- Use the v-model or model-value property instead.`
201
- - ../vue2/src/components/textarea/textarea.vue- 2.0.0
202
- - ../vue2/src/components/textarea/textarea.vue- );
203
- ### Deprecation Found
204
-
205
94
  - deprecate(
206
95
  - ../vue2/src/components/modal/modal.vue- BentoModal overflow-visible property
207
96
  - ../vue2/src/components/modal/modal.vue- `overflow-visible property was made redundant. BentoModal can work correctly without the need to pass the propery.
208
97
  - ../vue2/src/components/modal/modal.vue- Remove the overflow-visible prop from BentoModal to remove this error.`
209
- - ../vue2/src/components/modal/modal.vue- 2.0.0
98
+ - ../vue2/src/components/modal/modal.vue- 3.0.0
210
99
  - ../vue2/src/components/modal/modal.vue- );
211
100
  ### Deprecation Found
212
101
 
213
- - deprecate(
214
- - ../vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue- BentoCheckboxGroup hasError property
215
- - ../vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue- `Use the BentoCheckboxGroup errorMessage property instead to indicate that there is a modifier error.
216
- - ../vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue- Having the field as undefined will hide/remove the error.
217
- - ../vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue- <bento-checkbox-group errorMessage=Error message text />`
218
- - ../vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue- 2.0.0
219
- ### Deprecation Found
220
-
221
102
  - deprecate(
222
103
  - ../vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue- Boolean filter BentoFilterItemType.BOOLEAN
223
104
  - ../vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue- `Use the Radio group filter type BentoFilterItemType.RADIO_GROUP instead.`
224
- - ../vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue- 2.0.0
105
+ - ../vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue- 3.0.0
225
106
  - ../vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue- );
226
107
  - ../vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue- });
227
108
  ### Deprecation Found
228
109
 
229
- - deprecate(
230
- - ../vue2/src/components/filter-bar/components/input-filter/input-filter.vue- BentoInputFilter options property
231
- - ../vue2/src/components/filter-bar/components/input-filter/input-filter.vue- `BentoInputFilter options no longer supports dropdown, dropdownPosition or variant attributes.
232
- - ../vue2/src/components/filter-bar/components/input-filter/input-filter.vue- Use the BentoFilterItemType.INPUT_DROPDOWN instead of BentoFilterItemType.INPUT
233
- - ../vue2/src/components/filter-bar/components/input-filter/input-filter.vue- <bento-filter-bar
234
- - config=[{
235
- ### Deprecation Found
236
-
237
- - deprecate(
238
- - ../vue2/src/components/filter-bar/components/select-filter/select-filter.vue- BentoFilterBar filter of type BentoFilterItemType.SELECT options message property
239
- - ../vue2/src/components/filter-bar/components/select-filter/select-filter.vue- `Please remove the options.messages property from this filter, it is not required any more for persistent filters.
240
- - ../vue2/src/components/filter-bar/components/select-filter/select-filter.vue- This will be the default behavior in the v2 and options.messages will be removed.`
241
- - ../vue2/src/components/filter-bar/components/select-filter/select-filter.vue- 2.0.0
242
- - ../vue2/src/components/filter-bar/components/select-filter/select-filter.vue- );
243
- ### Deprecation Found
244
-
245
- - deprecate(
246
- - ../vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue- BentoSelectCountryFilter type with `options.variant===custom`
247
- - ../vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue- Use any of the other BentoSelectCountryFilter variants instead OR use BentoSelectFilter type for custom labels
248
- - ../vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue- 2.0.0
249
- - ../vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue- );
250
- - ../vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue- }
251
- ### Deprecation Found
252
-
253
- - deprecate(
254
- - string | Array<string> | File | Array<File>
255
- - ../vue2/src/components/file-uploader/file-uploader.vue- Use FileList instead.
256
- - ../vue2/src/components/file-uploader/file-uploader.vue- 2.0.0
257
- - ../vue2/src/components/file-uploader/file-uploader.vue- );
258
- - ../vue2/src/components/file-uploader/file-uploader.vue- }
259
- ### Deprecation Found
260
-
261
- - deprecate(
262
- - ../vue2/src/components/date-picker/date-picker.vue- BentoDatePicker value property
263
- - ../vue2/src/components/date-picker/date-picker.vue- `The use of value prop in BentoDatePicker is no longer supported. Use the v-model or model-value property instead.`
264
- - ../vue2/src/components/date-picker/date-picker.vue- 2.0.0
265
- - ../vue2/src/components/date-picker/date-picker.vue- );
266
- - ../vue2/src/components/date-picker/date-picker.vue- }
267
- ### Deprecation Found
268
-
269
- - deprecate(
270
- - ../vue2/src/components/input-field/input-field.vue- BentoInputField error property
271
- - ../vue2/src/components/input-field/input-field.vue- `Use the BentoInputField errorMessage property instead to indicate that there is a modifier error.
272
- - ../vue2/src/components/input-field/input-field.vue- Having the field as undefined will hide/remove the error.
273
- - ../vue2/src/components/input-field/input-field.vue- <bento-dropdown errorMessage=Error message text />`
274
- - ../vue2/src/components/input-field/input-field.vue- 2.0.0
275
- ### Deprecation Found
276
-
277
110
  - deprecate(
278
111
  - ../vue2/src/components/input-field/input-field.vue- BentoInputField defaultIconBefore slot
279
112
  - ../vue2/src/components/input-field/input-field.vue- `Use the BentoInputField iconBefore slot instead to add an icon at the left side of the input field
@@ -282,52 +115,36 @@ This file contains a list of all deprecated components, properties, and features
282
115
  - ../vue2/src/components/input-field/input-field.vue- \t\t<my-icon-goes-here />
283
116
  ### Deprecation Found
284
117
 
285
- - deprecate(
286
- - ../vue2/src/components/input-field/input-field.vue- BentoInputField value property
287
- - ../vue2/src/components/input-field/input-field.vue- `The use of value prop in BentoInputField is no longer supported.
288
- - ../vue2/src/components/input-field/input-field.vue- Use the v-model or model-value property instead.`
289
- - ../vue2/src/components/input-field/input-field.vue- 2.0.0
290
- - ../vue2/src/components/input-field/input-field.vue- );
291
- ### Deprecation Found
292
-
293
- - deprecate(
294
- - ../vue2/src/components/sidepanel/sidepanel.vue- BentoSidepanel isDismissible property’s behavior
295
- - ../vue2/src/components/sidepanel/sidepanel.vue- BentoSidepanel isDismissible will no longer hide the close button. Use hideCloseButton=true instead.
296
- - ../vue2/src/components/sidepanel/sidepanel.vue- 2.0.0
297
- - ../vue2/src/components/sidepanel/sidepanel.vue- );
298
- - ../vue2/src/components/sidepanel/sidepanel.vue- }
118
+ - deprecate(BentoTag white variant, Use the BentoTag grey variant instead., 3.0.0);
119
+ - ../vue2/src/components/tag/tag.vue- }
120
+ - ../vue2/src/components/tag/tag.vue- }
121
+ - true }
122
+ - ../vue2/src/components/tag/tag.vue- );
123
+ - ../vue2/src/components/tag/tag.vue-</script>
299
124
  ### Deprecation Found
300
125
 
301
126
  - deprecate(
302
- - ../vue2/src/components/date-range-picker/date-range-picker.vue- BentoDateRangePicker hasActions property
303
- - ../vue2/src/components/date-range-picker/date-range-picker.vue- `Set the BentoDateRangePicker hasActions property true which will display the Apply and Cancel buttons.
304
- - ../vue2/src/components/date-range-picker/date-range-picker.vue- This will be the default behavior in the v2 and hasActions will be removed.`
305
- - ../vue2/src/components/date-range-picker/date-range-picker.vue- 2.0.0
306
- - ../vue2/src/components/date-range-picker/date-range-picker.vue- );
127
+ - ../vue2/src/components/card/card.vue- BentoCard @click property
128
+ - ../vue2/src/components/card/card.vue- `Use the BentoCard @click with the clickable property to enable accessible styles.`
129
+ - ../vue2/src/components/card/card.vue- 3.0.0
130
+ - ../vue2/src/components/card/card.vue- );
131
+ - ../vue2/src/components/card/card.vue- }
307
132
  ### Deprecation Found
308
133
 
309
134
  - deprecate(
310
- - ../vue2/src/components/date-range-picker/date-range-picker.vue- BentoDateRangePicker value property
311
- - ../vue2/src/components/date-range-picker/date-range-picker.vue- The use of value prop in BentoDateRangePicker is no longer supported. Use the v-model or model-value property instead.
312
- - ../vue2/src/components/date-range-picker/date-range-picker.vue- 2.0.0
313
- - ../vue2/src/components/date-range-picker/date-range-picker.vue- );
314
- - ../vue2/src/components/date-range-picker/date-range-picker.vue- }
135
+ - ../vue2/src/components/typography/typography.vue- BentoTypography subtitle variant (BentoTypographyVariant.SUBTITLE)
136
+ - ../vue2/src/components/typography/typography.vue- `Use the title or BentoTypographyVariant.TITLE variant and (optionally) combine it with a size property. e.g. medium / large.
137
+ - variant=BentoTypographyVariant.TITLE medium>`
138
+ - ../vue2/src/components/typography/typography.vue- 3.0.0
139
+ - ../vue2/src/components/typography/typography.vue- );
315
140
  ### Deprecation Found
316
141
 
317
142
  - deprecate(
318
- - ../vue2/src/install.ts- Using default setting withDesignTokensCSSInjection set to true in BentoVue plugin
319
- - //adyen-bento.netlify.app/?path=/docs/welcome-getting-started--docs#import-css-variables
320
- - ../vue2/src/install.ts- 2.0.0
321
- - ../vue2/src/install.ts- );
322
- - ../vue2/src/install.ts- // Make sure to put all awaited CSS imports below this point and not above!
323
- ### Deprecation Found
324
-
325
- - deprecate(Using `BentoTheme.BENTO`, Please use `BentoTheme.BENTO_LIGHT` instead, 2.0.0);
326
- - ../vue2/src/install.ts- setTheme(BentoTheme.BENTO_LIGHT);
327
- - ../vue2/src/install.ts- } else {
328
- - ../vue2/src/install.ts- setTheme(BentoTheme.BENTO_LIGHT);
329
- - ../vue2/src/install.ts- }
330
- - ../vue2/src/install.ts- }
143
+ - ../vue2/src/components/inspector/inspector.vue- BentoInspector active-page as optional
144
+ - active-page.
145
+ - ../vue2/src/components/inspector/inspector.vue- active-page prop will be required in the next version`
146
+ - ../vue2/src/components/inspector/inspector.vue- 3.0.0
147
+ - ../vue2/src/components/inspector/inspector.vue- );
331
148
 
332
149
  ---
333
150
 
@@ -496,6 +313,78 @@ This rule reports usages of the deprecated item.
496
313
 
497
314
  ---
498
315
 
316
+ # deprecation-bento-tag-variant-enum
317
+
318
+ ## Description
319
+
320
+ The white `bento-tag` variant and the `BentoTagVariant.WHITE` enum member are deprecated. Use the `grey` variant or the
321
+ `'grey'` string literal instead.
322
+
323
+ ## Rule details
324
+
325
+ The rule reports and can autofix the following usages:
326
+
327
+ - `BentoTagVariant.WHITE` in scripts and template expressions.
328
+ - Static `variant="white"` attributes on `bento-tag` and `BentoTag`.
329
+ - Named bindings such as `:variant="'white'"` and `v-bind:variant="'white'"`.
330
+ - Object bindings such as `v-bind="{ variant: 'white' }"`.
331
+ - `BentoTagProps` object literals whose `variant` is `'white'` or `BentoTagVariant.WHITE`.
332
+
333
+ The rule does not report `variant="white"` on unrelated components or other `BentoTagVariant` members. Values that can
334
+ only be determined at runtime cannot be safely autofixed.
335
+
336
+ ## Incorrect
337
+
338
+ ```vue
339
+ <template>
340
+ <bento-tag variant="white" />
341
+ <bento-tag :variant="'white'" />
342
+ <bento-tag v-bind="{ variant: 'white' }" />
343
+ <bento-tag :variant="BentoTagVariant.WHITE" />
344
+ </template>
345
+
346
+ <script setup lang="ts">
347
+ import { type BentoTagProps, BentoTagVariant } from '@adyen/bento-vue2';
348
+
349
+ const tagProps: BentoTagProps = { variant: 'white' };
350
+ const enumTagProps: BentoTagProps = { variant: BentoTagVariant.WHITE };
351
+ </script>
352
+ ```
353
+
354
+ ## Correct
355
+
356
+ ```vue
357
+ <template>
358
+ <bento-tag variant="grey" />
359
+ <bento-tag :variant="'grey'" />
360
+ <bento-tag v-bind="{ variant: 'grey' }" />
361
+ </template>
362
+
363
+ <script setup lang="ts">
364
+ import type { BentoTagProps } from '@adyen/bento-vue2';
365
+
366
+ const tagProps: BentoTagProps = { variant: 'grey' };
367
+ </script>
368
+ ```
369
+
370
+ ## Configuration
371
+
372
+ The rule is enabled as a warning in the recommended Bento Vue config and as an error in the strict config.
373
+
374
+ To enable autofix explicitly:
375
+
376
+ ```javascript
377
+ export default [
378
+ {
379
+ rules: {
380
+ '@adyen/bento/deprecation-bento-tag-variant-enum': ['warn', { autofix: true }],
381
+ },
382
+ },
383
+ ];
384
+ ```
385
+
386
+ ---
387
+
499
388
  # deprecation-bento-timeline-item-variant-prop
500
389
 
501
390
  ## Description
@@ -1680,6 +1569,13 @@ const config = [
1680
1569
  options: { listboxItems: [] },
1681
1570
  },
1682
1571
  ];
1572
+
1573
+ const values = [
1574
+ {
1575
+ field: 'status',
1576
+ value: 'active',
1577
+ },
1578
+ ];
1683
1579
  ```
1684
1580
 
1685
1581
  ---
@@ -1 +1 @@
1
- import { BentoHighlightDirective } from './highlight'; import { ref } from 'vue'; import { storybookDocsParameter } from '@/utils/ts/storybook'; import { type Meta, type StoryObj } from '@storybook/vue'; import { BentoButton } from '@/components/button'; import { BentoCard } from '@/components/card'; import { BentoCheckbox } from '@/components/checkbox'; import { BentoTypography } from '@/components/typography'; import HighlightDefaultExample from './__tests__/highlight-default-example.vue?raw'; import { isVue2 } from 'vue-demi'; const meta: Meta = { title: 'Highlight', parameters: { layout: 'centered', }, argTypes: { size: { options: ['small', 'medium', 'large'], type: { name: 'string', required: false }, description: 'Size option for the highlight directive, passed as a modifier e.g. `v-bento-highlight-directive.small`', defaultValue: 'small', control: { type: 'select', }, }, }, }; export default meta; type Story = StoryObj<typeof BentoHighlightDirective>; export const Default: Story = { render: (_args, { argTypes }) => ({ components: { BentoButton, BentoCheckbox, BentoCard, BentoTypography }, directives: { BentoHighlightDirective }, props: Object.keys(argTypes), template: ` <div> <div v-if="args.size === 'medium'"> <bento-checkbox v-model="checked" v-bento-highlight-directive="{ size: 'medium', extraPadding: true, rounded: true }" > Checkbox label <template #description>Description that goes with the checkbox</template> </bento-checkbox> </div> <bento-card v-else-if="args.size === 'large'" v-bento-highlight-directive.large> Card title <template #description>Description that goes with the card</template> <template #content> <bento-typography> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris. Nisi ut aliquip ex ea commodo consequat. </bento-typography> </template> </bento-card> <bento-button v-else v-bento-highlight-directive>Button</bento-button> </div> `, setup(props) { const checked = ref(false); return { args: isVue2 ? props : _args, checked, }; }, }), parameters: storybookDocsParameter(HighlightDefaultExample), };
1
+ import { BentoHighlightDirective } from './highlight'; import { ref } from 'vue'; import { storybookDocsParameter } from '@/utils/ts/storybook'; import { type Meta, type StoryObj } from '@storybook/vue'; import { BentoButton } from '@/components/button'; import { BentoCard } from '@/components/card'; import { BentoCheckbox } from '@/components/checkbox'; import { BentoTypography } from '@/components/typography'; const HighlightDefaultExample = "<template>\n <div style=\"display: flex; flex-direction: column; gap: 20px\">\n <div>\n <!-- Passing v-bento-highlight-directive sets the small highlight by default -->\n <bento-button v-bento-highlight-directive>Small highlight</bento-button>\n </div>\n\n <div>\n <!-- You can pass options to the directive, defining size and if the component needs extraPadding -->\n <bento-checkbox v-model=\"checked\" v-bento-highlight-directive=\"{ size: 'medium', extraPadding: true }\">\n Medium highlight\n <template #description>Description that goes with the checkbox</template>\n </bento-checkbox>\n </div>\n\n <div>\n <!-- You can also pass the size as a modifier for ease of use -->\n <bento-card v-bento-highlight-directive.large>\n Large highlight\n <template #description>Description that goes with the card</template>\n <template #content>\n <bento-typography>\n Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut\n labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco\n laboris. Nisi ut aliquip ex ea commodo consequat.\n </bento-typography>\n </template>\n </bento-card>\n </div>\n </div>\n</template>\n<script setup lang=\"ts\">\n import {\n BentoButton,\n BentoCard,\n BentoCheckbox,\n BentoTypography,\n BentoHighlightDirective as vBentoHighlightDirective,\n } from '@adyen/bento-vue2';\n import { ref } from 'vue';\n\n const checked = ref(false);\n</script>\n"; import { isVue2 } from 'vue-demi'; const meta: Meta = { title: 'Highlight', parameters: { layout: 'centered', }, argTypes: { size: { options: ['small', 'medium', 'large'], type: { name: 'string', required: false }, description: 'Size option for the highlight directive, passed as a modifier e.g. `v-bento-highlight-directive.small`', defaultValue: 'small', control: { type: 'select', }, }, }, }; export default meta; type Story = StoryObj<typeof BentoHighlightDirective>; export const Default: Story = { render: (_args, { argTypes }) => ({ components: { BentoButton, BentoCheckbox, BentoCard, BentoTypography }, directives: { BentoHighlightDirective }, props: Object.keys(argTypes), template: ` <div> <div v-if="args.size === 'medium'"> <bento-checkbox v-model="checked" v-bento-highlight-directive="{ size: 'medium', extraPadding: true, rounded: true }" > Checkbox label <template #description>Description that goes with the checkbox</template> </bento-checkbox> </div> <bento-card v-else-if="args.size === 'large'" v-bento-highlight-directive.large> Card title <template #description>Description that goes with the card</template> <template #content> <bento-typography> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris. Nisi ut aliquip ex ea commodo consequat. </bento-typography> </template> </bento-card> <bento-button v-else v-bento-highlight-directive>Button</bento-button> </div> `, setup(props) { const checked = ref(false); return { args: isVue2 ? props : _args, checked, }; }, }), parameters: storybookDocsParameter(HighlightDefaultExample), };
@@ -1 +1 @@
1
- import { type Meta, type StoryObj } from '@storybook/vue'; import { action } from '@storybook/addon-actions'; import { ref } from 'vue'; import { BentoCard } from '@/components/card'; import { BentoFocusTrap } from '@/components/focus-trap'; import { storybookDocsParameter } from '@/utils/ts/storybook'; import { BentoKeyboardNavigationDirective } from './keyboard-navigation'; const meta: Meta = { title: 'Keyboard navigation', argTypes: { // Events 'keydown:escape': { defaultValue: '', description: 'Triggered when the "Esc" or "Escape" keys are pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:enter': { defaultValue: '', description: 'Triggered when the "Enter" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:tab': { defaultValue: '', description: 'Triggered when the "Tab" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:space': { defaultValue: '', description: 'Triggered when the "Space" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:arrow-right': { defaultValue: '', description: 'Triggered when the "Right" or "ArrowRight" keys are pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:arrow-left': { defaultValue: '', description: 'Triggered when the "Left" or "ArrowLeft" keys are pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:arrow-up': { defaultValue: '', description: 'Triggered when the "Up" or "ArrowUp" keys are pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:arrow-down': { defaultValue: '', description: 'Triggered when the "Down" or "ArrowDown" keys are pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:page-up': { defaultValue: '', description: 'Triggered when the "PageUp" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:page-down': { defaultValue: '', description: 'Triggered when the "PageDown" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:home': { defaultValue: '', description: 'Triggered when the "Home" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:end': { defaultValue: '', description: 'Triggered when the "End" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, }, }; export default meta; type Story = StoryObj<typeof BentoKeyboardNavigationDirective>; export const Default: Story = { render: (_args, { argTypes }) => ({ components: { BentoCard, BentoFocusTrap }, directives: { BentoKeyboardNavigationDirective }, props: Object.keys(argTypes), template: ` <div ref="containerRef" style="max-width: 300px" v-bento-keyboard-navigation-directive v-on="{ 'keydown:escape': onKeyDown('Esc'), 'keydown:enter': onKeyDown('Enter'), 'keydown:tab': onKeyDown('Tab'), 'keydown:arrow-right': onKeyDown('ArrowRight'), 'keydown:arrow-left': onKeyDown('ArrowLeft'), 'keydown:arrow-up': onKeyDown('ArrowUp'), 'keydown:arrow-down': onKeyDown('ArrowDown'), 'keydown:page-up': onKeyDown('PageUp'), 'keydown:page-down': onKeyDown('PageDown'), 'keydown:home': onKeyDown('Home'), 'keydown:end': onKeyDown('End'), 'keydown:space': onKeyDown('Space'), }" > <bento-focus-trap> <bento-card>{{ keyDownText }}</bento-card> </bento-focus-trap> </div> `, setup() { const keyDownText = ref('Press a key'); const containerRef = ref(null); const onKeyDown = (keyDown: string) => ({ detail: event }: CustomEvent) => { // Stop propagation event.stopPropagation(); event.preventDefault(); event.stopImmediatePropagation(); keyDownText.value = keyDown; action('keydown')(keyDown); }; return { // Refs containerRef, // Values keyDownText, // Events onKeyDown, }; }, }), parameters: storybookDocsParameter(` <div v-bento-keyboard-navigation-directive v-on="{ 'keydown:escape': onKeyDown('Esc'), 'keydown:enter': onKeyDown('Enter'), 'keydown:tab': onKeyDown('Tab'), 'keydown:arrow-right': onKeyDown('ArrowRight'), 'keydown:arrow-left': onKeyDown('ArrowLeft'), 'keydown:arrow-up': onKeyDown('ArrowUp'), 'keydown:arrow-down': onKeyDown('ArrowDown'), 'keydown:page-up': onKeyDown('PageUp'), 'keydown:page-down': onKeyDown('PageDown'), 'keydown:home': onKeyDown('Home'), 'keydown:end': onKeyDown('End'), 'keydown:space': onKeyDown('Space'), }" > Content here </div> `), };
1
+ import { type Meta, type StoryObj } from '@storybook/vue'; import { action } from '@storybook/addon-actions'; import { ref } from 'vue'; import { BentoCard } from '@/components/card'; import { BentoFocusTrap } from '@/components/focus-trap'; import { storybookDocsParameter } from '@/utils/ts/storybook'; const KeyboardNavigationDefaultExample = "<template>\n <div\n v-bento-keyboard-navigation-directive\n style=\"max-width: 300px\"\n @keydown:escape=\"keyDownText = 'Esc'\"\n @keydown:enter=\"keyDownText = 'Enter'\"\n @keydown:tab=\"keyDownText = 'Tab'\"\n @keydown:arrow-right=\"keyDownText = 'ArrowRight'\"\n @keydown:arrow-left=\"keyDownText = 'ArrowLeft'\"\n @keydown:arrow-up=\"keyDownText = 'ArrowUp'\"\n @keydown:arrow-down=\"keyDownText = 'ArrowDown'\"\n @keydown:page-up=\"keyDownText = 'PageUp'\"\n @keydown:page-down=\"keyDownText = 'PageDown'\"\n @keydown:home=\"keyDownText = 'Home'\"\n @keydown:end=\"keyDownText = 'End'\"\n @keydown:space=\"keyDownText = 'Space'\"\n >\n <bento-card>{{ keyDownText }}</bento-card>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { ref } from 'vue';\n import {\n BentoCard,\n BentoKeyboardNavigationDirective as vBentoKeyboardNavigationDirective,\n } from '@adyen/bento-vue2';\n\n const keyDownText = ref('Press a key');\n</script>\n"; import { BentoKeyboardNavigationDirective } from './keyboard-navigation'; const meta: Meta = { title: 'Keyboard navigation', argTypes: { // Events 'keydown:escape': { defaultValue: '', description: 'Triggered when the "Esc" or "Escape" keys are pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:enter': { defaultValue: '', description: 'Triggered when the "Enter" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:tab': { defaultValue: '', description: 'Triggered when the "Tab" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:space': { defaultValue: '', description: 'Triggered when the "Space" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:arrow-right': { defaultValue: '', description: 'Triggered when the "Right" or "ArrowRight" keys are pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:arrow-left': { defaultValue: '', description: 'Triggered when the "Left" or "ArrowLeft" keys are pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:arrow-up': { defaultValue: '', description: 'Triggered when the "Up" or "ArrowUp" keys are pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:arrow-down': { defaultValue: '', description: 'Triggered when the "Down" or "ArrowDown" keys are pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:page-up': { defaultValue: '', description: 'Triggered when the "PageUp" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:page-down': { defaultValue: '', description: 'Triggered when the "PageDown" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:home': { defaultValue: '', description: 'Triggered when the "Home" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, 'keydown:end': { defaultValue: '', description: 'Triggered when the "End" key is pressed', table: { type: { summary: '(event: Event) => void' } }, control: { disable: true }, }, }, }; export default meta; type Story = StoryObj<typeof BentoKeyboardNavigationDirective>; export const Default: Story = { render: (_args, { argTypes }) => ({ components: { BentoCard, BentoFocusTrap }, directives: { BentoKeyboardNavigationDirective }, props: Object.keys(argTypes), template: ` <div ref="containerRef" style="max-width: 300px" v-bento-keyboard-navigation-directive v-on="{ 'keydown:escape': onKeyDown('Esc'), 'keydown:enter': onKeyDown('Enter'), 'keydown:tab': onKeyDown('Tab'), 'keydown:arrow-right': onKeyDown('ArrowRight'), 'keydown:arrow-left': onKeyDown('ArrowLeft'), 'keydown:arrow-up': onKeyDown('ArrowUp'), 'keydown:arrow-down': onKeyDown('ArrowDown'), 'keydown:page-up': onKeyDown('PageUp'), 'keydown:page-down': onKeyDown('PageDown'), 'keydown:home': onKeyDown('Home'), 'keydown:end': onKeyDown('End'), 'keydown:space': onKeyDown('Space'), }" > <bento-focus-trap> <bento-card>{{ keyDownText }}</bento-card> </bento-focus-trap> </div> `, setup() { const keyDownText = ref('Press a key'); const containerRef = ref(null); const onKeyDown = (keyDown: string) => ({ detail: event }: CustomEvent) => { // Stop propagation event.stopPropagation(); event.preventDefault(); event.stopImmediatePropagation(); keyDownText.value = keyDown; action('keydown')(keyDown); }; return { // Refs containerRef, // Values keyDownText, // Events onKeyDown, }; }, }), parameters: storybookDocsParameter(KeyboardNavigationDefaultExample), };
@@ -0,0 +1 @@
1
+ import type { DirectiveBinding } from 'vue/types/options'; export interface BentoTooltipDirectiveBinding extends Readonly<DirectiveBinding> { readonly value: string; }
@@ -1 +1 @@
1
- import { BentoTooltipDirective } from './tooltip'; import { BentoTooltipPosition } from './tooltip.types'; import { storybookDocsParameter } from '@/utils/ts/storybook'; import BentoModal from '@/components/modal/modal.vue'; import { BentoInfoIcon } from '@/components/info-icon'; import { type Meta, type StoryObj } from '@storybook/vue'; import BentoButton from '@/components/button/button.vue'; import { isVue2 } from 'vue-demi'; const meta: Meta = { title: 'Tooltip', parameters: { layout: 'centered', }, argTypes: { position: { description: 'Position the tooltip should take if space is available. Defaults to "top"', options: Object.values(BentoTooltipPosition), mapping: BentoTooltipPosition, control: { type: 'select', }, table: { defaultValue: { summary: 'BentoTooltipPosition.TOP' }, type: { summary: 'BentoTooltipPosition' }, }, }, text: { description: 'Text showed in the tooltip on hover', control: 'text', table: { type: { summary: 'string' }, }, }, }, }; export default meta; type Story = StoryObj<typeof BentoButton>; export const Default: Story = { render: (_args, { argTypes }) => ({ components: { BentoButton }, directives: { BentoTooltipDirective }, props: Object.keys(argTypes), template: ` <div class="b-tooltip-story"> <bento-button class="b-tooltip-story__tooltip-target" v-bento-tooltip-directive:[args.position]="args.text" > Toggle tooltip </bento-button> </div> `, setup(props) { return { args: isVue2 ? props : _args, }; }, }), args: { text: 'Tooltip content', position: BentoTooltipPosition.TOP, }, parameters: storybookDocsParameter(` <template> <bento-button v-bento-tooltip-directive:[BentoTooltipPosition.TOP]="refWithTooltipText"> Toggle tooltip </bento-button> </template> <script setup lang="ts"> import { ref } from "vue" import { BentoButton, BentoTooltipPosition, BentoTooltipDirective as vBentoTooltipDirective, } from "@adyen/bento-vue2" const refWithTooltipText = ref('Tooltip text') </script> `), }; export const InsideModal: Story = { render: (_args, { argTypes }) => ({ components: { BentoModal, BentoInfoIcon }, directives: { BentoTooltipDirective }, props: Object.keys(argTypes), template: ` <bento-modal :is-open="true"> Title of the Modal <template #content> Mandatory content slot <bento-info-icon :tooltip-text="args.text" :tooltip-position="args.position" /> </template> </bento-modal> `, setup(props) { return { args: isVue2 ? props : _args, }; }, }), args: { text: 'Tooltip content', position: BentoTooltipPosition.RIGHT, }, };
1
+ import { BentoTooltipDirective } from './tooltip'; import { BentoTooltipPosition } from './tooltip.types'; import { storybookDocsParameter } from '@/utils/ts/storybook'; import BentoModal from '@/components/modal/modal.vue'; import { BentoInfoIcon } from '@/components/info-icon'; import { type Meta, type StoryObj } from '@storybook/vue'; import BentoButton from '@/components/button/button.vue'; import { isVue2 } from 'vue-demi'; const TooltipDefaultExample = "<template>\n <div class=\"b-tooltip-story\">\n <bento-button v-bento-tooltip-directive:[position]=\"tooltipText\" class=\"b-tooltip-story__tooltip-target\">\n Toggle tooltip\n </bento-button>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoButton, BentoTooltipDirective as vBentoTooltipDirective } from '@adyen/bento-vue2';\n import { BentoTooltipPosition } from '../tooltip.types';\n\n const tooltipText = 'Tooltip content';\n const position = BentoTooltipPosition.TOP;\n</script>\n"; const meta: Meta = { title: 'Tooltip', parameters: { layout: 'centered', }, argTypes: { position: { description: 'Position the tooltip should take if space is available. Defaults to "top"', options: Object.values(BentoTooltipPosition), mapping: BentoTooltipPosition, control: { type: 'select', }, table: { defaultValue: { summary: 'BentoTooltipPosition.TOP' }, type: { summary: 'BentoTooltipPosition' }, }, }, text: { description: 'Text showed in the tooltip on hover', control: 'text', table: { type: { summary: 'string' }, }, }, }, }; export default meta; type Story = StoryObj<typeof BentoButton>; export const Default: Story = { render: (_args, { argTypes }) => ({ components: { BentoButton }, directives: { BentoTooltipDirective }, props: Object.keys(argTypes), template: ` <div class="b-tooltip-story"> <bento-button class="b-tooltip-story__tooltip-target" v-bento-tooltip-directive:[args.position]="args.text" > Toggle tooltip </bento-button> </div> `, setup(props) { return { args: isVue2 ? props : _args, }; }, }), args: { text: 'Tooltip content', position: BentoTooltipPosition.TOP, }, parameters: storybookDocsParameter(TooltipDefaultExample), }; export const InsideModal: Story = { render: (_args, { argTypes }) => ({ components: { BentoModal, BentoInfoIcon }, directives: { BentoTooltipDirective }, props: Object.keys(argTypes), template: ` <bento-modal :is-open="true"> Title of the Modal <template #content> Mandatory content slot <bento-info-icon :tooltip-text="args.text" :tooltip-position="args.position" /> </template> </bento-modal> `, setup(props) { return { args: isVue2 ? props : _args, }; }, }), args: { text: 'Tooltip content', position: BentoTooltipPosition.RIGHT, }, };
@@ -1 +1 @@
1
- import type { DirectiveBinding } from 'vue/types/options'; import { PopperContainerPositionBasic } from '../../components/popper-container/popper-container.types'; export interface BentoTooltipDirectiveBinding extends Readonly<DirectiveBinding> { readonly value: string; } export const BentoTooltipPosition = { ...PopperContainerPositionBasic }; export type BentoTooltipPosition = PopperContainerPositionBasic; export enum BentoTooltipState { HIDDEN = 'hidden', }
1
+ import { PopperContainerPositionBasic } from '../../components/popper-container/popper-container.types'; export const BentoTooltipPosition = { ...PopperContainerPositionBasic }; export type BentoTooltipPosition = PopperContainerPositionBasic; export enum BentoTooltipState { HIDDEN = 'hidden', }
@@ -254,6 +254,7 @@
254
254
  "nav-financial-products",
255
255
  "nav-giving",
256
256
  "nav-home",
257
+ "nav-onboarding-manager",
257
258
  "nav-partners",
258
259
  "nav-payments",
259
260
  "nav-reconciliation",
@@ -1 +1 @@
1
- import installToast from './composables/use-bento-toast-controller/install'; import installTheme, { setTheme } from './composables/use-bento-theme/install'; import { deprecate } from './utils/ts/deprecate'; import { BentoTheme } from './composables/use-bento-theme/install.types'; import type { PluginObject } from 'vue'; interface BentoVuePlugin { theme?: BentoTheme; withToast?: boolean; withUtilityClasses?: boolean; withDesignTokensCSSInjection?: boolean; } const plugin: PluginObject<BentoVuePlugin> = { name: 'BentoVue', install: async ( Vue, { theme = BentoTheme.BENTO_LIGHT, withToast = false, withUtilityClasses = false, withDesignTokensCSSInjection = true, }: BentoVuePlugin ) => { installTheme(Vue); if (withToast) { installToast(Vue); } if (withDesignTokensCSSInjection) { deprecate( 'Using default setting withDesignTokensCSSInjection set to true in BentoVue plugin', 'Please disable CSS injection by setting withDesignTokensCSSInjection to false in BentoVue plugin options as highlighted here:\nhttps://adyen-bento.netlify.app/?path=/docs/welcome-getting-started--docs#import-css-variables', '2.0.0' ); // Make sure to put all awaited CSS imports below this point and not above! if (theme === BentoTheme.STYLEGUIDE) { await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css'); } else { await import('@adyen/bento-design-tokens/dist/css/bento/variables.css'); } if (withUtilityClasses) { await import('@adyen/bento-design-tokens/dist/css/bento/utility.css'); } } if (theme === BentoTheme.STYLEGUIDE) { setTheme(BentoTheme.STYLEGUIDE); } else if (theme === BentoTheme.BENTO_SYSTEM) { setTheme(BentoTheme.BENTO_SYSTEM); } else if (theme === BentoTheme.BENTO_DARK) { setTheme(BentoTheme.BENTO_DARK); } else if (theme === BentoTheme.BENTO) { deprecate('Using `BentoTheme.BENTO`', 'Please use `BentoTheme.BENTO_LIGHT` instead', '2.0.0'); setTheme(BentoTheme.BENTO_LIGHT); } else { setTheme(BentoTheme.BENTO_LIGHT); } }, }; export { BentoTheme }; export default plugin;
1
+ import installToast from './composables/use-bento-toast-controller/install'; import installTheme, { setTheme } from './composables/use-bento-theme/install'; import { deprecate } from './utils/ts/deprecate'; import { BentoTheme } from './composables/use-bento-theme/install.types'; import type { PluginObject } from 'vue'; interface BentoVuePlugin { theme?: BentoTheme; withToast?: boolean; withUtilityClasses?: boolean; withDesignTokensCSSInjection?: boolean; } const plugin: PluginObject<BentoVuePlugin> = { name: 'BentoVue', install: async ( Vue, { theme = BentoTheme.BENTO_LIGHT, withToast = false, withUtilityClasses = false, withDesignTokensCSSInjection = true, }: BentoVuePlugin ) => { installTheme(Vue); if (withToast) { installToast(Vue); } if (withDesignTokensCSSInjection) { deprecate( 'Using default setting withDesignTokensCSSInjection set to true in BentoVue plugin', 'Please disable CSS injection by setting withDesignTokensCSSInjection to false in BentoVue plugin options as highlighted here:\nhttps://adyen-bento.netlify.app/?path=/docs/welcome-getting-started--docs#import-css-variables', '3.0.0' ); // Make sure to put all awaited CSS imports below this point and not above! if (theme === BentoTheme.STYLEGUIDE) { await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css'); } else { await import('@adyen/bento-design-tokens/dist/css/bento/variables.css'); } if (withUtilityClasses) { await import('@adyen/bento-design-tokens/dist/css/bento/utility.css'); } } switch (theme) { case BentoTheme.STYLEGUIDE: case BentoTheme.BENTO_SYSTEM: case BentoTheme.BENTO_LIGHT: case BentoTheme.BENTO_DARK: case BentoTheme.BENTO_LARGE_LIGHT: case BentoTheme.BENTO_LARGE_DARK: setTheme(theme); break; case BentoTheme.BENTO: deprecate('Using `BentoTheme.BENTO`', 'Please use `BentoTheme.BENTO_LIGHT` instead', '3.0.0'); setTheme(BentoTheme.BENTO_LIGHT); break; default: setTheme(BentoTheme.BENTO_LIGHT); } }, }; export { BentoTheme }; export default plugin;
@@ -24,7 +24,7 @@ Think of these utilities as tools for:
24
24
  For implementing standard interface patterns (buttons, inputs, cards, etc.), using the pre-built components from the
25
25
  main Bento library is generally recommended for consistency and accessibility.
26
26
 
27
- ### What's customized?
27
+ ## What's customized?
28
28
 
29
29
  This preset removes default Tailwind values for categories that are fully managed by Bento:
30
30
 
@@ -58,7 +58,7 @@ npm install @adyen/bento-tailwind
58
58
 
59
59
  ## Usage
60
60
 
61
- ### 1. Import the Bento styles
61
+ ### Import the Bento styles
62
62
 
63
63
  For Adyen's consistent look and feel, you'll need to import CSS variables for Bento's foundational design rules for
64
64
  colors, fonts, and spacing.
@@ -82,7 +82,7 @@ Add the following lines to your project's main CSS file:
82
82
  @import '@adyen/bento-design-tokens/dist/css/bento/variables-dark.css';
83
83
  ```
84
84
 
85
- ### 2. Install Tailwind Bento theme
85
+ ### Install Tailwind Bento theme
86
86
 
87
87
  To integrate Bento styles and design tokens using the `@adyen/bento-tailwind` package.
88
88