@adyen/bento-vue2 1.40.0 → 1.41.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 (82) hide show
  1. package/dist/@types/components.d.ts +6 -0
  2. package/dist/@types/index.d.ts +620 -373
  3. package/dist/action-bar.js +1 -1
  4. package/dist/assets/accordion-item.css +1 -1
  5. package/dist/assets/action-bar.css +1 -1
  6. package/dist/assets/base-modal.css +1 -1
  7. package/dist/assets/card.css +1 -1
  8. package/dist/assets/currency.css +1 -1
  9. package/dist/assets/data-grid.css +1 -1
  10. package/dist/assets/dialog-page.css +1 -1
  11. package/dist/assets/inspector.css +1 -1
  12. package/dist/assets/layout-row.css +1 -0
  13. package/dist/assets/menu.css +1 -1
  14. package/dist/assets/modal-fullscreen.css +1 -1
  15. package/dist/assets/popover.css +1 -1
  16. package/dist/assets/promo-banner.css +1 -0
  17. package/dist/assets/selection-card-group.css +1 -1
  18. package/dist/assets/sidepanel.css +1 -1
  19. package/dist/assets/structured-list-item.css +1 -1
  20. package/dist/chunks/{action-bar.DJmskrzB.js → action-bar.r05wfyni.js} +2 -2
  21. package/dist/chunks/{action-bar.DJmskrzB.js.map → action-bar.r05wfyni.js.map} +1 -1
  22. package/dist/chunks/{code-snippet.CmBhucys.js → code-snippet.DRH4X9pH.js} +2 -2
  23. package/dist/chunks/{code-snippet.CmBhucys.js.map → code-snippet.DRH4X9pH.js.map} +1 -1
  24. package/dist/chunks/{currency.CEqsVP2T.js → currency.P7Psn_SK.js} +53 -61
  25. package/dist/chunks/currency.P7Psn_SK.js.map +1 -0
  26. package/dist/chunks/{dashboard-section.9R8bIh92.js → dashboard-section.DchlD4B2.js} +2 -2
  27. package/dist/chunks/{dashboard-section.9R8bIh92.js.map → dashboard-section.DchlD4B2.js.map} +1 -1
  28. package/dist/chunks/{data-grid.Czo9hi7m.js → data-grid.ahAWR42s.js} +934 -895
  29. package/dist/chunks/data-grid.ahAWR42s.js.map +1 -0
  30. package/dist/chunks/es6.b4enG1py.js +10 -0
  31. package/dist/chunks/es6.b4enG1py.js.map +1 -0
  32. package/dist/chunks/image.C2D2hKat.js +56 -0
  33. package/dist/chunks/image.C2D2hKat.js.map +1 -0
  34. package/dist/chunks/index.D5am6ibQ.js +249 -0
  35. package/dist/chunks/{index.iCshT3Hx.js.map → index.D5am6ibQ.js.map} +1 -1
  36. package/dist/chunks/layout-row.CtFsZ5-v.js +87 -0
  37. package/dist/chunks/layout-row.CtFsZ5-v.js.map +1 -0
  38. package/dist/chunks/promo-banner.NSOVGA7M.js +70 -0
  39. package/dist/chunks/promo-banner.NSOVGA7M.js.map +1 -0
  40. package/dist/chunks/{secondary-nav.bchOEARi.js → secondary-nav.DMw1l7rH.js} +3 -3
  41. package/dist/chunks/{secondary-nav.bchOEARi.js.map → secondary-nav.DMw1l7rH.js.map} +1 -1
  42. package/dist/chunks/selection-card-group.BjOuUbQD.js +299 -0
  43. package/dist/chunks/selection-card-group.BjOuUbQD.js.map +1 -0
  44. package/dist/chunks/{structured-list-item.C4gxvOkq.js → structured-list-item.CAcBJutf.js} +6 -6
  45. package/dist/chunks/structured-list-item.CAcBJutf.js.map +1 -0
  46. package/dist/chunks/{timeline-item.Bmn0Pu11.js → timeline-item.CxB3KFiu.js} +2 -2
  47. package/dist/chunks/{timeline-item.Bmn0Pu11.js.map → timeline-item.CxB3KFiu.js.map} +1 -1
  48. package/dist/chunks/{tutorial.DG5I6TRS.js → tutorial.CGjM0EJT.js} +2 -2
  49. package/dist/chunks/{tutorial.DG5I6TRS.js.map → tutorial.CGjM0EJT.js.map} +1 -1
  50. package/dist/code-snippet.js +1 -1
  51. package/dist/currency.js +1 -1
  52. package/dist/dashboard-template.js +1 -1
  53. package/dist/data-grid.js +1 -1
  54. package/dist/image.js +1 -1
  55. package/dist/index.js +184 -177
  56. package/dist/index.js.map +1 -1
  57. package/dist/layout.js +6 -0
  58. package/dist/layout.js.map +1 -0
  59. package/dist/promo-banner.js +7 -0
  60. package/dist/promo-banner.js.map +1 -0
  61. package/dist/secondary-nav.js +1 -1
  62. package/dist/selection-card.js +1 -1
  63. package/dist/structured-list.js +1 -1
  64. package/dist/styles/bento-dark.css +16 -0
  65. package/dist/styles/bento-light.css +16 -0
  66. package/dist/styles/bento.css +16 -0
  67. package/dist/styles/legacy.css +16 -0
  68. package/dist/styles/styleguide.css +16 -0
  69. package/dist/timeline.js +1 -1
  70. package/dist/tutorial.js +1 -1
  71. package/dist/web-types.json +276 -83
  72. package/package.json +2 -2
  73. package/dist/chunks/currency.CEqsVP2T.js.map +0 -1
  74. package/dist/chunks/data-grid.Czo9hi7m.js.map +0 -1
  75. package/dist/chunks/es6.BvpG4Oi6.js +0 -9
  76. package/dist/chunks/es6.BvpG4Oi6.js.map +0 -1
  77. package/dist/chunks/image.B3uqhFjl.js +0 -82
  78. package/dist/chunks/image.B3uqhFjl.js.map +0 -1
  79. package/dist/chunks/index.iCshT3Hx.js +0 -183
  80. package/dist/chunks/selection-card-group.CW7c72r2.js +0 -255
  81. package/dist/chunks/selection-card-group.CW7c72r2.js.map +0 -1
  82. package/dist/chunks/structured-list-item.C4gxvOkq.js.map +0 -1
@@ -786,6 +786,15 @@
786
786
  --b-radio-button-space-around-increase: var(--b-spacer-020);
787
787
  --b-radio-button-border-radius: var(--b-border-radius-l);
788
788
  --b-radio-button-offset-top: var(--b-spacer-010);
789
+ --b-promo-banner-content-actions-gap: var(--b-spacer-040);
790
+ --b-promo-banner-content-header-gap: var(--b-spacer-060);
791
+ --b-promo-banner-content-padding: var(--b-spacer-100);
792
+ --b-promo-banner-content-gap: var(--b-spacer-100);
793
+ --b-promo-banner-background-color-grey: var(--b-color-background-secondary);
794
+ --b-promo-banner-background-color-green: var(--b-color-background-success-weak);
795
+ --b-promo-banner-background-color-blue: var(--b-color-background-highlight-weak);
796
+ --b-promo-banner-color: var(--b-color-label-primary);
797
+ --b-promo-banner-border-radius: var(--b-border-radius-xl);
789
798
  --b-popper-z-index: 5;
790
799
  --b-popover-animation-duration: var(--b-animation-duration-moderate);
791
800
  --b-popover-footer-padding: var(--b-spacer-000) var(--b-spacer-070) var(--b-spacer-060) var(--b-spacer-070);
@@ -979,6 +988,11 @@
979
988
  --b-link-external-link-padding: 0 0 0 var(--b-spacer-020);
980
989
  --b-link-color: var(--b-color-link-primary);
981
990
  --b-link-border-radius: var(--b-border-radius-xs);
991
+ --b-layout-row-column-wrapper-l-and-up-column-gap: var(--b-spacer-090);
992
+ --b-layout-l-and-up-padding: var(--b-spacer-080) var(--b-spacer-090);
993
+ --b-layout-l-and-up-column-gap: var(--b-spacer-090);
994
+ --b-layout-s-and-up-padding: var(--b-spacer-070) var(--b-spacer-080);
995
+ --b-layout-padding: var(--b-spacer-070);
982
996
  --b-inspector-animation-leave-active-easing: var(--b-animation-easing-exit);
983
997
  --b-inspector-animation-enter-active-easing: var(--b-animation-easing-enter);
984
998
  --b-inspector-animation-duration: var(--b-animation-duration-slow);
@@ -1281,6 +1295,8 @@
1281
1295
  --b-date-picker-description-error-margin-top: var(--b-spacer-020);
1282
1296
  --b-date-picker-description-margin-top: var(--b-spacer-040);
1283
1297
  --b-date-picker-description-color: var(--b-color-label-secondary);
1298
+ --b-data-grid-horizontal-scrollbar-z-index: 2;
1299
+ --b-data-grid-horizontal-scrollbar-background-color: var(--b-color-background-primary);
1284
1300
  --b-data-grid-empty-state-padding: var(--b-spacer-100) 0;
1285
1301
  --b-data-grid-re-order-column-target-separator-z-index: 1;
1286
1302
  --b-data-grid-re-order-column-target-separator-background-color: var(--b-color-background-highlight-strong);
@@ -785,6 +785,15 @@
785
785
  --b-radio-button-space-around-increase: var(--b-spacer-020);
786
786
  --b-radio-button-border-radius: var(--b-border-radius-l);
787
787
  --b-radio-button-offset-top: var(--b-spacer-010);
788
+ --b-promo-banner-content-actions-gap: var(--b-spacer-040);
789
+ --b-promo-banner-content-header-gap: var(--b-spacer-060);
790
+ --b-promo-banner-content-padding: var(--b-spacer-100);
791
+ --b-promo-banner-content-gap: var(--b-spacer-100);
792
+ --b-promo-banner-background-color-grey: var(--b-color-background-secondary);
793
+ --b-promo-banner-background-color-green: var(--b-color-background-success-weak);
794
+ --b-promo-banner-background-color-blue: var(--b-color-background-highlight-weak);
795
+ --b-promo-banner-color: var(--b-color-label-primary);
796
+ --b-promo-banner-border-radius: var(--b-border-radius-xl);
788
797
  --b-popper-z-index: 5;
789
798
  --b-popover-animation-duration: var(--b-animation-duration-moderate);
790
799
  --b-popover-footer-padding: var(--b-spacer-000) var(--b-spacer-070) var(--b-spacer-060) var(--b-spacer-070);
@@ -978,6 +987,11 @@
978
987
  --b-link-external-link-padding: 0 0 0 var(--b-spacer-020);
979
988
  --b-link-color: var(--b-color-link-primary);
980
989
  --b-link-border-radius: var(--b-border-radius-xs);
990
+ --b-layout-row-column-wrapper-l-and-up-column-gap: var(--b-spacer-090);
991
+ --b-layout-l-and-up-padding: var(--b-spacer-080) var(--b-spacer-090);
992
+ --b-layout-l-and-up-column-gap: var(--b-spacer-090);
993
+ --b-layout-s-and-up-padding: var(--b-spacer-070) var(--b-spacer-080);
994
+ --b-layout-padding: var(--b-spacer-070);
981
995
  --b-inspector-animation-leave-active-easing: var(--b-animation-easing-exit);
982
996
  --b-inspector-animation-enter-active-easing: var(--b-animation-easing-enter);
983
997
  --b-inspector-animation-duration: var(--b-animation-duration-slow);
@@ -1280,6 +1294,8 @@
1280
1294
  --b-date-picker-description-error-margin-top: var(--b-spacer-020);
1281
1295
  --b-date-picker-description-margin-top: var(--b-spacer-040);
1282
1296
  --b-date-picker-description-color: var(--b-color-label-secondary);
1297
+ --b-data-grid-horizontal-scrollbar-z-index: 2;
1298
+ --b-data-grid-horizontal-scrollbar-background-color: var(--b-color-background-primary);
1283
1299
  --b-data-grid-empty-state-padding: var(--b-spacer-100) 0;
1284
1300
  --b-data-grid-re-order-column-target-separator-z-index: 1;
1285
1301
  --b-data-grid-re-order-column-target-separator-background-color: var(--b-color-background-highlight-strong);
@@ -785,6 +785,15 @@
785
785
  --b-radio-button-space-around-increase: var(--b-spacer-020);
786
786
  --b-radio-button-border-radius: var(--b-border-radius-l);
787
787
  --b-radio-button-offset-top: var(--b-spacer-010);
788
+ --b-promo-banner-content-actions-gap: var(--b-spacer-040);
789
+ --b-promo-banner-content-header-gap: var(--b-spacer-060);
790
+ --b-promo-banner-content-padding: var(--b-spacer-100);
791
+ --b-promo-banner-content-gap: var(--b-spacer-100);
792
+ --b-promo-banner-background-color-grey: var(--b-color-background-secondary);
793
+ --b-promo-banner-background-color-green: var(--b-color-background-success-weak);
794
+ --b-promo-banner-background-color-blue: var(--b-color-background-highlight-weak);
795
+ --b-promo-banner-color: var(--b-color-label-primary);
796
+ --b-promo-banner-border-radius: var(--b-border-radius-xl);
788
797
  --b-popper-z-index: 5;
789
798
  --b-popover-animation-duration: var(--b-animation-duration-moderate);
790
799
  --b-popover-footer-padding: var(--b-spacer-000) var(--b-spacer-070) var(--b-spacer-060) var(--b-spacer-070);
@@ -978,6 +987,11 @@
978
987
  --b-link-external-link-padding: 0 0 0 var(--b-spacer-020);
979
988
  --b-link-color: var(--b-color-link-primary);
980
989
  --b-link-border-radius: var(--b-border-radius-xs);
990
+ --b-layout-row-column-wrapper-l-and-up-column-gap: var(--b-spacer-090);
991
+ --b-layout-l-and-up-padding: var(--b-spacer-080) var(--b-spacer-090);
992
+ --b-layout-l-and-up-column-gap: var(--b-spacer-090);
993
+ --b-layout-s-and-up-padding: var(--b-spacer-070) var(--b-spacer-080);
994
+ --b-layout-padding: var(--b-spacer-070);
981
995
  --b-inspector-animation-leave-active-easing: var(--b-animation-easing-exit);
982
996
  --b-inspector-animation-enter-active-easing: var(--b-animation-easing-enter);
983
997
  --b-inspector-animation-duration: var(--b-animation-duration-slow);
@@ -1280,6 +1294,8 @@
1280
1294
  --b-date-picker-description-error-margin-top: var(--b-spacer-020);
1281
1295
  --b-date-picker-description-margin-top: var(--b-spacer-040);
1282
1296
  --b-date-picker-description-color: var(--b-color-label-secondary);
1297
+ --b-data-grid-horizontal-scrollbar-z-index: 2;
1298
+ --b-data-grid-horizontal-scrollbar-background-color: var(--b-color-background-primary);
1283
1299
  --b-data-grid-empty-state-padding: var(--b-spacer-100) 0;
1284
1300
  --b-data-grid-re-order-column-target-separator-z-index: 1;
1285
1301
  --b-data-grid-re-order-column-target-separator-background-color: var(--b-color-background-highlight-strong);
@@ -763,6 +763,15 @@
763
763
  --b-radio-button-space-around-increase: var(--b-spacer-020);
764
764
  --b-radio-button-border-radius: var(--b-border-radius-l);
765
765
  --b-radio-button-offset-top: var(--b-spacer-020);
766
+ --b-promo-banner-content-actions-gap: var(--b-spacer-040);
767
+ --b-promo-banner-content-header-gap: var(--b-spacer-060);
768
+ --b-promo-banner-content-padding: var(--b-spacer-100);
769
+ --b-promo-banner-content-gap: var(--b-spacer-100);
770
+ --b-promo-banner-background-color-grey: var(--b-color-background-secondary);
771
+ --b-promo-banner-background-color-green: var(--b-color-background-success-weak);
772
+ --b-promo-banner-background-color-blue: var(--b-color-background-highlight-weak);
773
+ --b-promo-banner-color: var(--b-color-label-primary);
774
+ --b-promo-banner-border-radius: var(--b-border-radius-xl);
766
775
  --b-popper-z-index: 5;
767
776
  --b-popover-animation-duration: var(--b-animation-duration-moderate);
768
777
  --b-popover-footer-padding: var(--b-spacer-000) var(--b-spacer-070) var(--b-spacer-060) var(--b-spacer-070);
@@ -928,6 +937,11 @@
928
937
  --b-link-data-grid-color: var(--b-color-link-primary);
929
938
  --b-link-external-link-padding: 0 0 0 var(--b-spacer-020);
930
939
  --b-link-border-radius: var(--b-border-radius-xs);
940
+ --b-layout-row-column-wrapper-l-and-up-column-gap: var(--b-spacer-090);
941
+ --b-layout-l-and-up-padding: var(--b-spacer-080) var(--b-spacer-090);
942
+ --b-layout-l-and-up-column-gap: var(--b-spacer-090);
943
+ --b-layout-s-and-up-padding: var(--b-spacer-070) var(--b-spacer-080);
944
+ --b-layout-padding: var(--b-spacer-070);
931
945
  --b-inspector-animation-leave-active-easing: var(--b-animation-easing-exit);
932
946
  --b-inspector-animation-enter-active-easing: var(--b-animation-easing-enter);
933
947
  --b-inspector-animation-duration: var(--b-animation-duration-slow);
@@ -1237,6 +1251,7 @@
1237
1251
  --b-date-picker-description-error-margin-top: var(--b-spacer-020);
1238
1252
  --b-date-picker-description-margin-top: var(--b-spacer-040);
1239
1253
  --b-date-picker-description-color: var(--b-color-label-secondary);
1254
+ --b-data-grid-horizontal-scrollbar-z-index: 2;
1240
1255
  --b-data-grid-empty-state-padding: var(--b-spacer-100) 0;
1241
1256
  --b-data-grid-re-order-column-target-separator-z-index: 1;
1242
1257
  --b-data-grid-re-order-column-target-separator-background-color: var(--b-color-background-highlight-strong);
@@ -1871,6 +1886,7 @@
1871
1886
  --b-dropdown-options-container-border-color: var(--b-color-neutral-20);
1872
1887
  --b-dropdown-description-color: var(--b-color-neutral-70);
1873
1888
  --b-divider-background-color: var(--b-color-neutral-20);
1889
+ --b-data-grid-horizontal-scrollbar-background-color: var(--b-color-background-primary);
1874
1890
  --b-data-grid-filters-background-color: var(--b-color-background-primary);
1875
1891
  --b-data-grid-pagination-background-color: var(--b-color-background-primary);
1876
1892
  --b-data-grid-lazy-load-background-color: var(--b-color-background-primary);
@@ -840,6 +840,15 @@
840
840
  --b-radio-button-space-around-increase: var(--b-spacer-020);
841
841
  --b-radio-button-border-radius: var(--b-border-radius-l);
842
842
  --b-radio-button-offset-top: var(--b-spacer-010);
843
+ --b-promo-banner-content-actions-gap: var(--b-spacer-040);
844
+ --b-promo-banner-content-header-gap: var(--b-spacer-060);
845
+ --b-promo-banner-content-padding: var(--b-spacer-100);
846
+ --b-promo-banner-content-gap: var(--b-spacer-100);
847
+ --b-promo-banner-background-color-grey: var(--b-color-background-secondary);
848
+ --b-promo-banner-background-color-green: var(--b-color-background-success-weak);
849
+ --b-promo-banner-background-color-blue: var(--b-color-background-highlight-weak);
850
+ --b-promo-banner-color: var(--b-color-label-primary);
851
+ --b-promo-banner-border-radius: var(--b-border-radius-xl);
843
852
  --b-popper-z-index: 5;
844
853
  --b-popover-animation-duration: var(--b-animation-duration-moderate);
845
854
  --b-popover-footer-padding: var(--b-spacer-000) var(--b-spacer-070) var(--b-spacer-060) var(--b-spacer-070);
@@ -1033,6 +1042,11 @@
1033
1042
  --b-link-external-link-padding: 0 0 0 var(--b-spacer-020);
1034
1043
  --b-link-color: var(--b-color-link-primary);
1035
1044
  --b-link-border-radius: var(--b-border-radius-xs);
1045
+ --b-layout-row-column-wrapper-l-and-up-column-gap: var(--b-spacer-090);
1046
+ --b-layout-l-and-up-padding: var(--b-spacer-080) var(--b-spacer-090);
1047
+ --b-layout-l-and-up-column-gap: var(--b-spacer-090);
1048
+ --b-layout-s-and-up-padding: var(--b-spacer-070) var(--b-spacer-080);
1049
+ --b-layout-padding: var(--b-spacer-070);
1036
1050
  --b-inspector-animation-leave-active-easing: var(--b-animation-easing-exit);
1037
1051
  --b-inspector-animation-enter-active-easing: var(--b-animation-easing-enter);
1038
1052
  --b-inspector-animation-duration: var(--b-animation-duration-slow);
@@ -1335,6 +1349,8 @@
1335
1349
  --b-date-picker-description-error-margin-top: var(--b-spacer-020);
1336
1350
  --b-date-picker-description-margin-top: var(--b-spacer-040);
1337
1351
  --b-date-picker-description-color: var(--b-color-label-secondary);
1352
+ --b-data-grid-horizontal-scrollbar-z-index: 2;
1353
+ --b-data-grid-horizontal-scrollbar-background-color: var(--b-color-background-primary);
1338
1354
  --b-data-grid-empty-state-padding: var(--b-spacer-100) 0;
1339
1355
  --b-data-grid-re-order-column-target-separator-z-index: 1;
1340
1356
  --b-data-grid-re-order-column-target-separator-background-color: var(--b-color-background-highlight-strong);
package/dist/timeline.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t, b as i, a, c as m, B as o, d as l } from "./chunks/timeline-item.Bmn0Pu11.js";
1
+ import { t, b as i, a, c as m, B as o, d as l } from "./chunks/timeline-item.CxB3KFiu.js";
2
2
  export {
3
3
  t as BentoTimeline,
4
4
  i as BentoTimelineGapUnit,
package/dist/tutorial.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as r } from "./chunks/tutorial.DG5I6TRS.js";
1
+ import { t as r } from "./chunks/tutorial.CGjM0EJT.js";
2
2
  export {
3
3
  r as BentoTutorial
4
4
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "@adyen/bento-vue2",
4
- "version": "1.40.0",
4
+ "version": "1.41.0",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",
@@ -1103,42 +1103,6 @@
1103
1103
  "symbol": "default"
1104
1104
  }
1105
1105
  },
1106
- {
1107
- "name": "bento-currency",
1108
- "description": "A Currency component is used to display a formatted currency value.",
1109
- "attributes": [
1110
- {
1111
- "name": "currency",
1112
- "value": {
1113
- "kind": "expression",
1114
- "type": "BentoCurrencyISOCode | `${BentoCurrencyISOCode}`"
1115
- },
1116
- "default": "BentoCurrencyISOCode.EUR"
1117
- },
1118
- {
1119
- "name": "majorUnits",
1120
- "description": "Accepts currency value in major units instead of minor ones",
1121
- "value": {
1122
- "kind": "expression",
1123
- "type": "boolean"
1124
- },
1125
- "default": "false"
1126
- },
1127
- {
1128
- "name": "disableTypography",
1129
- "description": "Disable the default typography for the component. Only use this when the component is inside another typography component.",
1130
- "value": {
1131
- "kind": "expression",
1132
- "type": "boolean"
1133
- },
1134
- "default": "false"
1135
- }
1136
- ],
1137
- "source": {
1138
- "module": "./src/components/currency/currency.vue",
1139
- "symbol": "default"
1140
- }
1141
- },
1142
1106
  {
1143
1107
  "name": "bento-data-grid",
1144
1108
  "description": "",
@@ -1797,52 +1761,6 @@
1797
1761
  "symbol": "default"
1798
1762
  }
1799
1763
  },
1800
- {
1801
- "name": "bento-image",
1802
- "description": "",
1803
- "attributes": [
1804
- {
1805
- "name": "src",
1806
- "required": true,
1807
- "description": "Url to image, same as src attribute of `<img>` tag",
1808
- "value": {
1809
- "kind": "expression",
1810
- "type": "string"
1811
- }
1812
- },
1813
- {
1814
- "name": "alt",
1815
- "required": true,
1816
- "description": "Accessible text describing the image, same as alt attribute of `<img>` tag",
1817
- "value": {
1818
- "kind": "expression",
1819
- "type": "string"
1820
- }
1821
- },
1822
- {
1823
- "name": "aspectRatio",
1824
- "description": "Aspect ratio of the image, maps to css aspect-ratio",
1825
- "value": {
1826
- "kind": "expression",
1827
- "type": "BentoImageAspectRatio | `${BentoImageAspectRatio}`"
1828
- },
1829
- "default": "null"
1830
- },
1831
- {
1832
- "name": "objectFit",
1833
- "description": "Object fitting strategy, maps to css object-fit",
1834
- "value": {
1835
- "kind": "expression",
1836
- "type": "BentoImageObjectFit | `${BentoImageObjectFit}`"
1837
- },
1838
- "default": "null"
1839
- }
1840
- ],
1841
- "source": {
1842
- "module": "./src/components/image/image.vue",
1843
- "symbol": "default"
1844
- }
1845
- },
1846
1764
  {
1847
1765
  "name": "bento-info-icon",
1848
1766
  "description": "",
@@ -4392,6 +4310,56 @@
4392
4310
  "symbol": "default"
4393
4311
  }
4394
4312
  },
4313
+ {
4314
+ "name": "currency",
4315
+ "description": "",
4316
+ "attributes": [
4317
+ {
4318
+ "name": "currency",
4319
+ "required": false,
4320
+ "description": "Currency code based on the ISO 4217 standard",
4321
+ "value": {
4322
+ "kind": "expression",
4323
+ "type": "union"
4324
+ },
4325
+ "default": "BentoCurrencyISOCode.EUR"
4326
+ },
4327
+ {
4328
+ "name": "disableTypography",
4329
+ "required": false,
4330
+ "description": "Disable the default typography for the component. Only use this when the component is inside another typography component.",
4331
+ "value": {
4332
+ "kind": "expression",
4333
+ "type": "boolean"
4334
+ },
4335
+ "default": "false"
4336
+ },
4337
+ {
4338
+ "name": "majorUnits",
4339
+ "required": false,
4340
+ "description": "Accepts currency value in major units instead of minor ones",
4341
+ "value": {
4342
+ "kind": "expression",
4343
+ "type": "boolean"
4344
+ },
4345
+ "default": "false"
4346
+ },
4347
+ {
4348
+ "name": "value",
4349
+ "required": false,
4350
+ "description": "Currency value to be formatted",
4351
+ "value": {
4352
+ "kind": "expression",
4353
+ "type": "number"
4354
+ },
4355
+ "default": "undefined"
4356
+ }
4357
+ ],
4358
+ "source": {
4359
+ "module": "./src/components/currency/currency.vue",
4360
+ "symbol": "default"
4361
+ }
4362
+ },
4395
4363
  {
4396
4364
  "name": "dashed-underline",
4397
4365
  "description": "",
@@ -4661,6 +4629,15 @@
4661
4629
  },
4662
4630
  "default": "false"
4663
4631
  },
4632
+ {
4633
+ "name": "stickyHorizontalScrollbar",
4634
+ "description": "Sticks the horizontal scrollbar to the bottom of the screen if the data-grid is larger than the screen height.",
4635
+ "value": {
4636
+ "kind": "expression",
4637
+ "type": "boolean"
4638
+ },
4639
+ "default": "false"
4640
+ },
4664
4641
  {
4665
4642
  "name": "stickyPagination",
4666
4643
  "description": "Make pagination stick to the bottom of the page when the data-grid is bigger than the screen.\nBecause styles have to be applied to pagination container element, this has to be a data-grid prop (rather than a pagination prop).",
@@ -5172,6 +5149,10 @@
5172
5149
  {
5173
5150
  "name": "<undefined>"
5174
5151
  },
5152
+ {
5153
+ "name": "sort",
5154
+ "description": "Triggered when a column is sorted."
5155
+ },
5175
5156
  {
5176
5157
  "name": "column-hover",
5177
5158
  "description": "Emitted when a column header is hovered over."
@@ -7536,6 +7517,54 @@
7536
7517
  "symbol": "default"
7537
7518
  }
7538
7519
  },
7520
+ {
7521
+ "name": "image",
7522
+ "description": "",
7523
+ "attributes": [
7524
+ {
7525
+ "name": "src",
7526
+ "required": true,
7527
+ "description": "Url to image, same as src attribute of `<img>` tag",
7528
+ "value": {
7529
+ "kind": "expression",
7530
+ "type": "string"
7531
+ }
7532
+ },
7533
+ {
7534
+ "name": "alt",
7535
+ "required": true,
7536
+ "description": "Accessible text describing the image, same as alt attribute of `<img>` tag",
7537
+ "value": {
7538
+ "kind": "expression",
7539
+ "type": "string"
7540
+ }
7541
+ },
7542
+ {
7543
+ "name": "aspectRatio",
7544
+ "required": false,
7545
+ "description": "Aspect ratio of the image, maps to css aspect-ratio",
7546
+ "value": {
7547
+ "kind": "expression",
7548
+ "type": "union"
7549
+ },
7550
+ "default": "null"
7551
+ },
7552
+ {
7553
+ "name": "objectFit",
7554
+ "required": false,
7555
+ "description": "Object fitting strategy, maps to css object-fit",
7556
+ "value": {
7557
+ "kind": "expression",
7558
+ "type": "union"
7559
+ },
7560
+ "default": "null"
7561
+ }
7562
+ ],
7563
+ "source": {
7564
+ "module": "./src/components/image/image.vue",
7565
+ "symbol": "default"
7566
+ }
7567
+ },
7539
7568
  {
7540
7569
  "name": "info-icon-with-popover",
7541
7570
  "description": "",
@@ -7959,6 +7988,72 @@
7959
7988
  "symbol": "default"
7960
7989
  }
7961
7990
  },
7991
+ {
7992
+ "name": "layout",
7993
+ "description": "",
7994
+ "attributes": [
7995
+ {
7996
+ "name": "variant",
7997
+ "required": false,
7998
+ "description": "Defines if the layout is used in a page or only a section",
7999
+ "value": {
8000
+ "kind": "expression",
8001
+ "type": "BentoLayoutVariant"
8002
+ },
8003
+ "default": "'page'"
8004
+ },
8005
+ {
8006
+ "name": "size",
8007
+ "required": false,
8008
+ "description": "Defines the size of the page",
8009
+ "value": {
8010
+ "kind": "expression",
8011
+ "type": "BentoLayoutSize"
8012
+ },
8013
+ "default": "'full-width'"
8014
+ }
8015
+ ],
8016
+ "slots": [
8017
+ {
8018
+ "name": "default"
8019
+ }
8020
+ ],
8021
+ "source": {
8022
+ "module": "./src/components/layout/layout.vue",
8023
+ "symbol": "default"
8024
+ }
8025
+ },
8026
+ {
8027
+ "name": "layout-row",
8028
+ "description": "",
8029
+ "attributes": [
8030
+ {
8031
+ "name": "columnsLayout",
8032
+ "required": false,
8033
+ "description": "Sets the layout of the columns when multiple columns are used",
8034
+ "value": {
8035
+ "kind": "expression",
8036
+ "type": "BentoLayoutRowColumnLayout"
8037
+ },
8038
+ "default": "'6-6'"
8039
+ }
8040
+ ],
8041
+ "slots": [
8042
+ {
8043
+ "name": "default"
8044
+ },
8045
+ {
8046
+ "name": "col-1"
8047
+ },
8048
+ {
8049
+ "name": "col-2"
8050
+ }
8051
+ ],
8052
+ "source": {
8053
+ "module": "./src/components/layout/components/layout-row/layout-row.vue",
8054
+ "symbol": "default"
8055
+ }
8056
+ },
7962
8057
  {
7963
8058
  "name": "link",
7964
8059
  "description": "",
@@ -9800,6 +9895,95 @@
9800
9895
  "symbol": "default"
9801
9896
  }
9802
9897
  },
9898
+ {
9899
+ "name": "promo-banner",
9900
+ "description": "",
9901
+ "attributes": [
9902
+ {
9903
+ "name": "actions",
9904
+ "required": false,
9905
+ "description": "List of actions that will be used to render the buttons.\n\nEach object in the list should have a `title`, an `event` and a `variant`.\n\n`title`: Button's text.\n`event`: Event triggered when clicking the Button.\n`variant`: Button's style.\n\n```\n[{\n title: 'Primary',\n event: () => { ... },\n variant: 'primary'\n}, {\n title: 'Secondary',\n event: () => { ... }\n variant: 'secondary'\n}]\n```",
9906
+ "value": {
9907
+ "kind": "expression",
9908
+ "type": "Array"
9909
+ },
9910
+ "default": "null"
9911
+ },
9912
+ {
9913
+ "name": "color",
9914
+ "required": false,
9915
+ "description": "Defines the color of banner's background",
9916
+ "value": {
9917
+ "kind": "expression",
9918
+ "type": "TSLiteralType"
9919
+ },
9920
+ "default": "BentoPromoBannerColor.GREY"
9921
+ },
9922
+ {
9923
+ "name": "isDismissible",
9924
+ "required": false,
9925
+ "description": "Defines whether the banner has a `Dismiss` button",
9926
+ "value": {
9927
+ "kind": "expression",
9928
+ "type": "boolean"
9929
+ },
9930
+ "default": "true"
9931
+ },
9932
+ {
9933
+ "name": "dismissButtonText",
9934
+ "required": false,
9935
+ "description": "Defines whether the banner has a `Dismiss` button",
9936
+ "value": {
9937
+ "kind": "expression",
9938
+ "type": "string"
9939
+ },
9940
+ "default": "null"
9941
+ },
9942
+ {
9943
+ "name": "image",
9944
+ "required": true,
9945
+ "description": "Defines the image used in the banner.\n\nThe promotional banner adapts to different container sizes based on the image's `aspect-ratio`.\nOnly the following `aspect-ratio` values are supported: `16:9`, `2:1`, and `1:1`.\n\nIn Storybook, to verify the image display, update `image.src` and `image.aspectRatio` as follows:\n - `./1-1.png` with an aspect ratio of `1:1`\n - `./2-1.png` with an aspect ratio of `2:1`\n - `./16-9.png` with an aspect ratio of `16:9`",
9946
+ "value": {
9947
+ "kind": "expression",
9948
+ "type": "BentoPromoBannerImage"
9949
+ }
9950
+ },
9951
+ {
9952
+ "name": "layout",
9953
+ "required": false,
9954
+ "description": "Defines style of the banner.\n\nThe horizontal layout is responsive to the container size and\nchanges depending on the image aspect ratio.\n\nThe vertical layout remains the same regardless of container size.",
9955
+ "value": {
9956
+ "kind": "expression",
9957
+ "type": "TSLiteralType"
9958
+ },
9959
+ "default": "BentoPromoBannerLayout.HORIZONTAL"
9960
+ },
9961
+ {
9962
+ "name": "title",
9963
+ "required": true,
9964
+ "description": "Defines the title text to be shown on the banner",
9965
+ "value": {
9966
+ "kind": "expression",
9967
+ "type": "string"
9968
+ }
9969
+ }
9970
+ ],
9971
+ "events": [
9972
+ {
9973
+ "name": "dismiss",
9974
+ "description": "Emits a dismiss event when dismiss button on the promotional banner is pressed"
9975
+ }
9976
+ ],
9977
+ "slots": [
9978
+ {
9979
+ "name": "description"
9980
+ }
9981
+ ],
9982
+ "source": {
9983
+ "module": "./src/components/promo-banner/promo-banner.vue",
9984
+ "symbol": "default"
9985
+ }
9986
+ },
9803
9987
  {
9804
9988
  "name": "radio-button",
9805
9989
  "description": "",
@@ -10867,6 +11051,15 @@
10867
11051
  "type": "BentoSelectionCardItem[]"
10868
11052
  }
10869
11053
  },
11054
+ {
11055
+ "name": "itemsPerRow",
11056
+ "description": "Sets the responsive number of items rendered in each row.",
11057
+ "value": {
11058
+ "kind": "expression",
11059
+ "type": "BentoSelectionCardGroupItemsPerRow"
11060
+ },
11061
+ "default": "undefined"
11062
+ },
10870
11063
  {
10871
11064
  "name": "modelValue",
10872
11065
  "description": "Determines the initially selected value of the group. Corresponds to the BentoSelectionCardItem's value.\nDefaults to no value selected.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/bento-vue2",
3
- "version": "1.40.0",
3
+ "version": "1.41.0",
4
4
  "description": "Adyen Bento Vue2 components",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -36,7 +36,7 @@
36
36
  "date-fns": "2.28.0",
37
37
  "focus-lock": "0.11.0",
38
38
  "uuid": "11.0.5",
39
- "@adyen/bento-design-tokens": "1.40.0"
39
+ "@adyen/bento-design-tokens": "1.41.0"
40
40
  },
41
41
  "peerDependencies": {
42
42
  "vue": "~2.7",