@adyen/bento-vue2 0.7.0 → 0.8.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 (51) hide show
  1. package/dist/@types/components/date-picker/date-picker.vue.d.ts +1 -0
  2. package/dist/@types/components/divider/divider.vue.d.ts +6 -0
  3. package/dist/@types/components/divider/index.d.ts +1 -0
  4. package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +9 -0
  5. package/dist/@types/components/filter-bar/components/base-filter/components/filter-button/filter-button.vue.d.ts +23 -1
  6. package/dist/@types/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +1 -0
  7. package/dist/@types/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +1 -0
  8. package/dist/@types/components/filter-bar/filter-bar.types.d.ts +1 -0
  9. package/dist/@types/components/header/header.vue.d.ts +3 -3
  10. package/dist/@types/components/internal/copy/copy.vue.d.ts +19 -0
  11. package/dist/@types/components/internal/copy/index.d.ts +1 -0
  12. package/dist/@types/components/internal/index.d.ts +1 -0
  13. package/dist/@types/components/link/link.vue.d.ts +2 -2
  14. package/dist/@types/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +4 -1
  15. package/dist/@types/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +16 -2
  16. package/dist/@types/components/modal/components/base-modal/base-modal.vue.d.ts +89 -0
  17. package/dist/@types/components/modal/components/index.d.ts +3 -0
  18. package/dist/@types/components/modal/components/modal-default/modal-default.vue.d.ts +110 -0
  19. package/dist/@types/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +81 -0
  20. package/dist/@types/components/modal/index.d.ts +2 -0
  21. package/dist/@types/components/modal/modal.types.d.ts +22 -0
  22. package/dist/@types/components/modal/modal.vue.d.ts +129 -0
  23. package/dist/@types/components/popover/popover.vue.d.ts +9 -0
  24. package/dist/@types/components/radio-group/components/radio-button/radio-button.vue.d.ts +1 -0
  25. package/dist/@types/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +46 -0
  26. package/dist/@types/components/structured-list/index.d.ts +2 -0
  27. package/dist/@types/components/structured-list/structured-list.vue.d.ts +2 -0
  28. package/dist/@types/components/summary-grid/components/grid-layout/grid-layout.types.d.ts +6 -0
  29. package/dist/@types/components/summary-grid/components/grid-layout/grid-layout.vue.d.ts +21 -0
  30. package/dist/@types/components/summary-grid/components/summary-grid-item/index.d.ts +2 -0
  31. package/dist/@types/components/summary-grid/components/summary-grid-item/summary-grid-item.types.d.ts +7 -0
  32. package/dist/@types/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +102 -0
  33. package/dist/@types/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +89 -0
  34. package/dist/@types/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +40 -0
  35. package/dist/@types/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +80 -0
  36. package/dist/@types/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +80 -0
  37. package/dist/@types/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +51 -0
  38. package/dist/@types/components/summary-grid/index.d.ts +7 -0
  39. package/dist/@types/components/summary-grid/summary-grid.types.d.ts +16 -0
  40. package/dist/@types/components/summary-grid/summary-grid.vue.d.ts +19 -0
  41. package/dist/@types/components/toggle/toggle.vue.d.ts +1 -0
  42. package/dist/@types/components.d.ts +18 -0
  43. package/dist/@types/directives/index.d.ts +1 -0
  44. package/dist/@types/directives/keyboard-navigation/index.d.ts +2 -0
  45. package/dist/@types/directives/keyboard-navigation/keyboard-navigation.d.ts +2 -0
  46. package/dist/@types/directives/keyboard-navigation/keyboard-navigation.types.d.ts +7 -0
  47. package/dist/@types/index.d.ts +4 -0
  48. package/dist/index.js +5105 -3635
  49. package/dist/index.js.map +1 -1
  50. package/dist/web-types.json +1403 -383
  51. package/package.json +3 -3
@@ -0,0 +1,51 @@
1
+ import { SummaryGridItemType } from '../summary-grid-item';
2
+ declare const _default: import("vue").DefineComponent<{
3
+ copy: {
4
+ type: StringConstructor;
5
+ default: any;
6
+ };
7
+ label: {
8
+ type: StringConstructor;
9
+ required: true;
10
+ };
11
+ title: {
12
+ type: StringConstructor;
13
+ required: true;
14
+ };
15
+ infoIconTooltipText: {
16
+ type: StringConstructor;
17
+ default: any;
18
+ };
19
+ fitContent: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
23
+ }, {
24
+ SummaryGridItemType: typeof SummaryGridItemType;
25
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
26
+ copy: {
27
+ type: StringConstructor;
28
+ default: any;
29
+ };
30
+ label: {
31
+ type: StringConstructor;
32
+ required: true;
33
+ };
34
+ title: {
35
+ type: StringConstructor;
36
+ required: true;
37
+ };
38
+ infoIconTooltipText: {
39
+ type: StringConstructor;
40
+ default: any;
41
+ };
42
+ fitContent: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ }>>, {
47
+ copy: string;
48
+ infoIconTooltipText: string;
49
+ fitContent: boolean;
50
+ }>;
51
+ export default _default;
@@ -0,0 +1,7 @@
1
+ export { default as BentoSummaryGrid } from './summary-grid.vue';
2
+ export { default as BentoSummaryGridItemAmount } from './components/summary-grid-item-amount/summary-grid-item-amount.vue';
3
+ export { default as BentoSummaryGridItemNumeric } from './components/summary-grid-item-numeric/summary-grid-item-numeric.vue';
4
+ export { default as BentoSummaryGridItemPercentage } from './components/summary-grid-item-percentage/summary-grid-item-percentage.vue';
5
+ export { default as BentoSummaryGridItemText } from './components/summary-grid-item-text/summary-grid-item-text.vue';
6
+ export { default as BentoSummaryGridItemCustom } from './components/summary-grid-item-custom/summary-grid-item-custom.vue';
7
+ export * from './summary-grid.types';
@@ -0,0 +1,16 @@
1
+ import { GridLayoutColumnWidth } from './components/grid-layout/grid-layout.types';
2
+ export declare enum BentoSummaryGridItemSize {
3
+ SMALL = "small",
4
+ MEDIUM = "medium",
5
+ LARGE = "large"
6
+ }
7
+ export declare enum BentoSummaryGridItemTrendDirection {
8
+ POSITIVE = "positive",
9
+ NEGATIVE = "negative",
10
+ NEUTRAL = "neutral"
11
+ }
12
+ export interface BentoSummaryGridColumnWidth {
13
+ row1: Array<GridLayoutColumnWidth>;
14
+ row2?: Array<GridLayoutColumnWidth>;
15
+ row3?: Array<GridLayoutColumnWidth>;
16
+ }
@@ -0,0 +1,19 @@
1
+ import { PropType } from 'vue';
2
+ import { BentoSummaryGridColumnWidth } from './summary-grid.types';
3
+ declare const _default: import("vue").DefineComponent<{
4
+ columnWidth: {
5
+ type: PropType<BentoSummaryGridColumnWidth>;
6
+ default: any;
7
+ };
8
+ }, {
9
+ hasSlot: (name: string) => boolean;
10
+ numberOfRows: number;
11
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
12
+ columnWidth: {
13
+ type: PropType<BentoSummaryGridColumnWidth>;
14
+ default: any;
15
+ };
16
+ }>>, {
17
+ columnWidth: BentoSummaryGridColumnWidth;
18
+ }>;
19
+ export default _default;
@@ -27,6 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  computedDescription: import("vue").ComputedRef<string>;
28
28
  defaultSlotValue: string;
29
29
  subLabelSlotValue: string;
30
+ descriptionSlotValue: string;
30
31
  conditionalClasses: import("vue").ComputedRef<{
31
32
  [key: string]: boolean;
32
33
  }>;
@@ -23,6 +23,7 @@ import {
23
23
  BentoDataGrid,
24
24
  BentoDate,
25
25
  BentoDatePicker,
26
+ BentoDivider,
26
27
  BentoDropdown,
27
28
  BentoDropdownAvatar,
28
29
  BentoDropdownCountry,
@@ -35,12 +36,20 @@ import {
35
36
  BentoLoadingButton,
36
37
  BentoLoadingIndicator,
37
38
  BentoMenu,
39
+ BentoModal,
38
40
  BentoPagination,
39
41
  BentoPaymentMethod,
40
42
  BentoPopover,
41
43
  BentoRadioGroup,
42
44
  BentoSearchBar,
43
45
  BentoStatus,
46
+ BentoStructuredList,
47
+ BentoSummaryGrid,
48
+ BentoSummaryGridItemAmount,
49
+ BentoSummaryGridItemCustom,
50
+ BentoSummaryGridItemNumeric,
51
+ BentoSummaryGridItemPercentage,
52
+ BentoSummaryGridItemText,
44
53
  BentoTabs,
45
54
  BentoTag,
46
55
  BentoToast,
@@ -74,6 +83,7 @@ declare module 'vue' {
74
83
  BentoDataGrid: typeof BentoDataGrid;
75
84
  BentoDate: typeof BentoDate;
76
85
  BentoDatePicker: typeof BentoDatePicker;
86
+ BentoDivider: typeof BentoDivider;
77
87
  BentoDropdown: typeof BentoDropdown;
78
88
  BentoDropdownAvatar: typeof BentoDropdownAvatar;
79
89
  BentoDropdownCountry: typeof BentoDropdownCountry;
@@ -86,12 +96,20 @@ declare module 'vue' {
86
96
  BentoLoadingButton: typeof BentoLoadingButton;
87
97
  BentoLoadingIndicator: typeof BentoLoadingIndicator;
88
98
  BentoMenu: typeof BentoMenu;
99
+ BentoModal: typeof BentoModal;
89
100
  BentoPagination: typeof BentoPagination;
90
101
  BentoPaymentMethod: typeof BentoPaymentMethod;
91
102
  BentoPopover: typeof BentoPopover;
92
103
  BentoRadioGroup: typeof BentoRadioGroup;
93
104
  BentoSearchBar: typeof BentoSearchBar;
94
105
  BentoStatus: typeof BentoStatus;
106
+ BentoStructuredList: typeof BentoStructuredList;
107
+ BentoSummaryGrid: typeof BentoSummaryGrid;
108
+ BentoSummaryGridItemAmount: typeof BentoSummaryGridItemAmount;
109
+ BentoSummaryGridItemCustom: typeof BentoSummaryGridItemCustom;
110
+ BentoSummaryGridItemPercentage: typeof BentoSummaryGridItemPercentage;
111
+ BentoSummaryGridItemNumeric: typeof BentoSummaryGridItemNumeric;
112
+ BentoSummaryGridItemText: typeof BentoSummaryGridItemText;
95
113
  BentoTabs: typeof BentoTabs;
96
114
  BentoTag: typeof BentoTag;
97
115
  BentoToast: typeof BentoToast;
@@ -1,2 +1,3 @@
1
1
  export * from './click-outside';
2
2
  export * from './tooltip';
3
+ export * from './keyboard-navigation';
@@ -0,0 +1,2 @@
1
+ export * from './keyboard-navigation';
2
+ export * from './keyboard-navigation.types';
@@ -0,0 +1,2 @@
1
+ import { ObjectDirective } from 'vue';
2
+ export declare const BentoKeyboardNavigationDirective: ObjectDirective<Element>;
@@ -0,0 +1,7 @@
1
+ import { DirectiveBinding } from 'vue';
2
+ type ListenerCleanup = () => void;
3
+ interface KeyboardNavigation {
4
+ keyDownListener?: ListenerCleanup;
5
+ }
6
+ export type Binding<V> = DirectiveBinding<V> & KeyboardNavigation;
7
+ export {};
@@ -10,12 +10,14 @@ export * from './components/click-outside';
10
10
  export * from './components/country';
11
11
  export * from './components/currency';
12
12
  export * from './components/date';
13
+ export * from './components/divider';
13
14
  export * from './components/filter-bar';
14
15
  export * from './components/info-icon';
15
16
  export * from './components/input-field';
16
17
  export * from './components/loading-indicator';
17
18
  export * from './components/link';
18
19
  export * from './components/menu';
20
+ export * from './components/modal';
19
21
  export * from './components/header';
20
22
  export * from './components/pagination';
21
23
  export * from './components/payment-method';
@@ -23,6 +25,8 @@ export * from './components/popover';
23
25
  export * from './components/radio-group';
24
26
  export * from './components/search-bar';
25
27
  export * from './components/status';
28
+ export * from './components/structured-list';
29
+ export * from './components/summary-grid';
26
30
  export * from './components/tabs';
27
31
  export * from './components/tag';
28
32
  export * from './components/toast';