@adyen/bento-vue2 0.7.1 → 0.8.1

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 (68) hide show
  1. package/dist/@types/components/button/components/loading-button/loading-button.vue.d.ts +1 -1
  2. package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +16 -3
  3. package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +0 -2
  4. package/dist/@types/components/data-grid/data-grid.vue.d.ts +6 -2
  5. package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/__test__/date-picker-calendar-day-stub.vue.d.ts +15 -4
  6. package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.types.d.ts +14 -4
  7. package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.vue.d.ts +18 -5
  8. package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/index.d.ts +1 -0
  9. package/dist/@types/components/date-picker/components/date-picker-calendar/date-picker-calendar.types.d.ts +11 -1
  10. package/dist/@types/components/date-picker/components/date-picker-calendar/date-picker-calendar.vue.d.ts +42 -71
  11. package/dist/@types/components/date-picker/components/date-picker-calendar-pane/composables/use-range-pane.d.ts +2 -0
  12. package/dist/@types/components/date-picker/components/date-picker-calendar-pane/composables/use-single-pane.d.ts +2 -0
  13. package/dist/@types/components/date-picker/components/date-picker-calendar-pane/date-picker-calendar-pane.types.d.ts +21 -0
  14. package/dist/@types/components/date-picker/components/date-picker-calendar-pane/date-picker-calendar-pane.vue.d.ts +198 -0
  15. package/dist/@types/components/date-picker/components/date-picker-calendar-pane/index.d.ts +1 -0
  16. package/dist/@types/components/date-picker/components/date-picker-calendar-range/date-picker-calendar-range.vue.d.ts +58 -0
  17. package/dist/@types/components/date-picker/components/date-picker-calendar-range/index.d.ts +1 -0
  18. package/dist/@types/components/date-picker/composables/use-date-picker-range-calendar-text.d.ts +2 -0
  19. package/dist/@types/components/date-picker/composables/use-date-picker-single-calendar-text.d.ts +2 -0
  20. package/dist/@types/components/date-picker/date-picker.types.d.ts +15 -0
  21. package/dist/@types/components/date-picker/date-picker.vue.d.ts +55 -14
  22. package/dist/@types/components/divider/divider.vue.d.ts +6 -0
  23. package/dist/@types/components/divider/index.d.ts +1 -0
  24. package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +18 -0
  25. package/dist/@types/components/filter-bar/components/date-filter/date-filter.types.d.ts +3 -0
  26. package/dist/@types/components/filter-bar/components/date-filter/date-filter.vue.d.ts +114 -0
  27. package/dist/@types/components/filter-bar/components/date-filter/index.d.ts +1 -0
  28. package/dist/@types/components/filter-bar/components/date-range-filter/date-range-filter.types.d.ts +3 -0
  29. package/dist/@types/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +200 -0
  30. package/dist/@types/components/filter-bar/components/date-range-filter/index.d.ts +1 -0
  31. package/dist/@types/components/filter-bar/filter-bar.types.d.ts +17 -3
  32. package/dist/@types/components/info-icon/info-icon.vue.d.ts +13 -1
  33. package/dist/@types/components/input-field/input-field.vue.d.ts +9 -0
  34. package/dist/@types/components/internal/copy/copy.vue.d.ts +31 -0
  35. package/dist/@types/components/internal/copy/index.d.ts +1 -0
  36. package/dist/@types/components/internal/index.d.ts +1 -0
  37. package/dist/@types/components/menu/menu.types.d.ts +8 -0
  38. package/dist/@types/components/menu/menu.vue.d.ts +28 -10
  39. package/dist/@types/components/modal/components/base-modal/index.d.ts +1 -0
  40. package/dist/@types/components/payment-method/payment-method.vue.d.ts +12 -0
  41. package/dist/@types/components/popover/popover.vue.d.ts +19 -0
  42. package/dist/@types/components/search-bar/search-bar.vue.d.ts +26 -0
  43. package/dist/@types/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +46 -0
  44. package/dist/@types/components/structured-list/index.d.ts +2 -0
  45. package/dist/@types/components/structured-list/structured-list.vue.d.ts +2 -0
  46. package/dist/@types/components/summary-grid/components/grid-layout/grid-layout.types.d.ts +5 -7
  47. package/dist/@types/components/summary-grid/components/grid-layout/grid-layout.vue.d.ts +16 -11
  48. package/dist/@types/components/summary-grid/components/summary-grid-item/index.d.ts +2 -0
  49. package/dist/@types/components/summary-grid/components/summary-grid-item/summary-grid-item.types.d.ts +7 -0
  50. package/dist/@types/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +119 -0
  51. package/dist/@types/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +89 -0
  52. package/dist/@types/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +40 -0
  53. package/dist/@types/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +80 -0
  54. package/dist/@types/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +80 -0
  55. package/dist/@types/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +51 -0
  56. package/dist/@types/components/summary-grid/index.d.ts +7 -0
  57. package/dist/@types/components/summary-grid/summary-grid.types.d.ts +16 -0
  58. package/dist/@types/components/summary-grid/summary-grid.vue.d.ts +19 -0
  59. package/dist/@types/components.d.ts +16 -0
  60. package/dist/@types/index.d.ts +3 -0
  61. package/dist/index.js +8699 -7376
  62. package/dist/index.js.map +1 -1
  63. package/dist/web-types.json +981 -141
  64. package/package.json +2 -3
  65. package/dist/@types/components/date-picker/components/date-picker-calendar-container/__test__/date-picker-calendar-container-stub.vue.d.ts +0 -43
  66. package/dist/@types/components/date-picker/components/date-picker-calendar-container/date-picker-calendar-container.types.d.ts +0 -3
  67. package/dist/@types/components/date-picker/components/date-picker-calendar-container/date-picker-calendar-container.vue.d.ts +0 -99
  68. package/dist/@types/components/date-picker/components/date-picker-calendar-container/index.d.ts +0 -1
@@ -0,0 +1,89 @@
1
+ import { PropType } from 'vue';
2
+ import { BentoSummaryGridItemSize, BentoSummaryGridItemTrendDirection } from '@/components/summary-grid/summary-grid.types';
3
+ import { SummaryGridItemType } from '../summary-grid-item';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ copy: {
6
+ type: StringConstructor;
7
+ default: any;
8
+ };
9
+ label: {
10
+ type: StringConstructor;
11
+ required: true;
12
+ };
13
+ secondaryLabel: {
14
+ type: StringConstructor;
15
+ default: any;
16
+ };
17
+ title: {
18
+ type: StringConstructor;
19
+ required: true;
20
+ };
21
+ infoIconTooltipText: {
22
+ type: StringConstructor;
23
+ default: any;
24
+ };
25
+ fitContent: {
26
+ type: BooleanConstructor;
27
+ default: boolean;
28
+ };
29
+ trendDirection: {
30
+ type: PropType<BentoSummaryGridItemTrendDirection>;
31
+ default: BentoSummaryGridItemTrendDirection;
32
+ };
33
+ trend: {
34
+ type: StringConstructor;
35
+ default: any;
36
+ };
37
+ size: {
38
+ type: PropType<BentoSummaryGridItemSize>;
39
+ default: BentoSummaryGridItemSize;
40
+ };
41
+ }, {
42
+ SummaryGridItemType: typeof SummaryGridItemType;
43
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
44
+ copy: {
45
+ type: StringConstructor;
46
+ default: any;
47
+ };
48
+ label: {
49
+ type: StringConstructor;
50
+ required: true;
51
+ };
52
+ secondaryLabel: {
53
+ type: StringConstructor;
54
+ default: any;
55
+ };
56
+ title: {
57
+ type: StringConstructor;
58
+ required: true;
59
+ };
60
+ infoIconTooltipText: {
61
+ type: StringConstructor;
62
+ default: any;
63
+ };
64
+ fitContent: {
65
+ type: BooleanConstructor;
66
+ default: boolean;
67
+ };
68
+ trendDirection: {
69
+ type: PropType<BentoSummaryGridItemTrendDirection>;
70
+ default: BentoSummaryGridItemTrendDirection;
71
+ };
72
+ trend: {
73
+ type: StringConstructor;
74
+ default: any;
75
+ };
76
+ size: {
77
+ type: PropType<BentoSummaryGridItemSize>;
78
+ default: BentoSummaryGridItemSize;
79
+ };
80
+ }>>, {
81
+ copy: string;
82
+ size: BentoSummaryGridItemSize;
83
+ fitContent: boolean;
84
+ infoIconTooltipText: string;
85
+ trendDirection: BentoSummaryGridItemTrendDirection;
86
+ trend: string;
87
+ secondaryLabel: string;
88
+ }>;
89
+ export default _default;
@@ -0,0 +1,40 @@
1
+ declare const _default: import("vue").DefineComponent<{
2
+ copy: {
3
+ type: StringConstructor;
4
+ default: any;
5
+ };
6
+ infoIconTooltipText: {
7
+ type: StringConstructor;
8
+ default: any;
9
+ };
10
+ title: {
11
+ type: StringConstructor;
12
+ required: true;
13
+ };
14
+ fitContent: {
15
+ type: BooleanConstructor;
16
+ default: boolean;
17
+ };
18
+ }, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "copy-to-clipboard"[], string, Readonly<import("vue").ExtractPropTypes<{
19
+ copy: {
20
+ type: StringConstructor;
21
+ default: any;
22
+ };
23
+ infoIconTooltipText: {
24
+ type: StringConstructor;
25
+ default: any;
26
+ };
27
+ title: {
28
+ type: StringConstructor;
29
+ required: true;
30
+ };
31
+ fitContent: {
32
+ type: BooleanConstructor;
33
+ default: boolean;
34
+ };
35
+ }>>, {
36
+ copy: string;
37
+ fitContent: boolean;
38
+ infoIconTooltipText: string;
39
+ }>;
40
+ export default _default;
@@ -0,0 +1,80 @@
1
+ import { PropType } from 'vue';
2
+ import { BentoSummaryGridItemSize, BentoSummaryGridItemTrendDirection } from '@/components/summary-grid/summary-grid.types';
3
+ import { SummaryGridItemType } from '../summary-grid-item';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ copy: {
6
+ type: StringConstructor;
7
+ default: any;
8
+ };
9
+ label: {
10
+ type: StringConstructor;
11
+ required: true;
12
+ };
13
+ title: {
14
+ type: StringConstructor;
15
+ required: true;
16
+ };
17
+ infoIconTooltipText: {
18
+ type: StringConstructor;
19
+ default: any;
20
+ };
21
+ fitContent: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ trendDirection: {
26
+ type: PropType<BentoSummaryGridItemTrendDirection>;
27
+ default: BentoSummaryGridItemTrendDirection;
28
+ };
29
+ trend: {
30
+ type: StringConstructor;
31
+ default: any;
32
+ };
33
+ size: {
34
+ type: PropType<BentoSummaryGridItemSize>;
35
+ default: BentoSummaryGridItemSize;
36
+ };
37
+ }, {
38
+ SummaryGridItemType: typeof SummaryGridItemType;
39
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
40
+ copy: {
41
+ type: StringConstructor;
42
+ default: any;
43
+ };
44
+ label: {
45
+ type: StringConstructor;
46
+ required: true;
47
+ };
48
+ title: {
49
+ type: StringConstructor;
50
+ required: true;
51
+ };
52
+ infoIconTooltipText: {
53
+ type: StringConstructor;
54
+ default: any;
55
+ };
56
+ fitContent: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ trendDirection: {
61
+ type: PropType<BentoSummaryGridItemTrendDirection>;
62
+ default: BentoSummaryGridItemTrendDirection;
63
+ };
64
+ trend: {
65
+ type: StringConstructor;
66
+ default: any;
67
+ };
68
+ size: {
69
+ type: PropType<BentoSummaryGridItemSize>;
70
+ default: BentoSummaryGridItemSize;
71
+ };
72
+ }>>, {
73
+ copy: string;
74
+ size: BentoSummaryGridItemSize;
75
+ fitContent: boolean;
76
+ infoIconTooltipText: string;
77
+ trendDirection: BentoSummaryGridItemTrendDirection;
78
+ trend: string;
79
+ }>;
80
+ export default _default;
@@ -0,0 +1,80 @@
1
+ import { PropType } from 'vue';
2
+ import { BentoSummaryGridItemSize, BentoSummaryGridItemTrendDirection } from '@/components/summary-grid/summary-grid.types';
3
+ import { SummaryGridItemType } from '../summary-grid-item';
4
+ declare const _default: import("vue").DefineComponent<{
5
+ label: {
6
+ type: StringConstructor;
7
+ required: true;
8
+ };
9
+ title: {
10
+ type: StringConstructor;
11
+ required: true;
12
+ };
13
+ infoIconTooltipText: {
14
+ type: StringConstructor;
15
+ default: any;
16
+ };
17
+ copy: {
18
+ type: StringConstructor;
19
+ default: any;
20
+ };
21
+ fitContent: {
22
+ type: BooleanConstructor;
23
+ default: boolean;
24
+ };
25
+ trendDirection: {
26
+ type: PropType<BentoSummaryGridItemTrendDirection>;
27
+ default: BentoSummaryGridItemTrendDirection;
28
+ };
29
+ trend: {
30
+ type: StringConstructor;
31
+ default: any;
32
+ };
33
+ size: {
34
+ type: PropType<BentoSummaryGridItemSize>;
35
+ default: BentoSummaryGridItemSize;
36
+ };
37
+ }, {
38
+ SummaryGridItemType: typeof SummaryGridItemType;
39
+ }, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
40
+ label: {
41
+ type: StringConstructor;
42
+ required: true;
43
+ };
44
+ title: {
45
+ type: StringConstructor;
46
+ required: true;
47
+ };
48
+ infoIconTooltipText: {
49
+ type: StringConstructor;
50
+ default: any;
51
+ };
52
+ copy: {
53
+ type: StringConstructor;
54
+ default: any;
55
+ };
56
+ fitContent: {
57
+ type: BooleanConstructor;
58
+ default: boolean;
59
+ };
60
+ trendDirection: {
61
+ type: PropType<BentoSummaryGridItemTrendDirection>;
62
+ default: BentoSummaryGridItemTrendDirection;
63
+ };
64
+ trend: {
65
+ type: StringConstructor;
66
+ default: any;
67
+ };
68
+ size: {
69
+ type: PropType<BentoSummaryGridItemSize>;
70
+ default: BentoSummaryGridItemSize;
71
+ };
72
+ }>>, {
73
+ copy: string;
74
+ size: BentoSummaryGridItemSize;
75
+ fitContent: boolean;
76
+ infoIconTooltipText: string;
77
+ trendDirection: BentoSummaryGridItemTrendDirection;
78
+ trend: string;
79
+ }>;
80
+ export default _default;
@@ -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
+ fitContent: boolean;
49
+ infoIconTooltipText: string;
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;
@@ -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,
@@ -42,6 +43,13 @@ import {
42
43
  BentoRadioGroup,
43
44
  BentoSearchBar,
44
45
  BentoStatus,
46
+ BentoStructuredList,
47
+ BentoSummaryGrid,
48
+ BentoSummaryGridItemAmount,
49
+ BentoSummaryGridItemCustom,
50
+ BentoSummaryGridItemNumeric,
51
+ BentoSummaryGridItemPercentage,
52
+ BentoSummaryGridItemText,
45
53
  BentoTabs,
46
54
  BentoTag,
47
55
  BentoToast,
@@ -75,6 +83,7 @@ declare module 'vue' {
75
83
  BentoDataGrid: typeof BentoDataGrid;
76
84
  BentoDate: typeof BentoDate;
77
85
  BentoDatePicker: typeof BentoDatePicker;
86
+ BentoDivider: typeof BentoDivider;
78
87
  BentoDropdown: typeof BentoDropdown;
79
88
  BentoDropdownAvatar: typeof BentoDropdownAvatar;
80
89
  BentoDropdownCountry: typeof BentoDropdownCountry;
@@ -94,6 +103,13 @@ declare module 'vue' {
94
103
  BentoRadioGroup: typeof BentoRadioGroup;
95
104
  BentoSearchBar: typeof BentoSearchBar;
96
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;
97
113
  BentoTabs: typeof BentoTabs;
98
114
  BentoTag: typeof BentoTag;
99
115
  BentoToast: typeof BentoToast;
@@ -10,6 +10,7 @@ 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';
@@ -24,6 +25,8 @@ export * from './components/popover';
24
25
  export * from './components/radio-group';
25
26
  export * from './components/search-bar';
26
27
  export * from './components/status';
28
+ export * from './components/structured-list';
29
+ export * from './components/summary-grid';
27
30
  export * from './components/tabs';
28
31
  export * from './components/tag';
29
32
  export * from './components/toast';