@adyen/bento-vue2 0.5.0 → 0.6.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.
- package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts +2 -0
- package/dist/@types/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +12 -1
- package/dist/@types/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +1 -1
- package/dist/@types/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +3 -2
- package/dist/@types/components/data-grid/data-grid.vue.d.ts +2 -0
- package/dist/@types/components/date/date.types.d.ts +1 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/__test__/date-picker-calendar-day-stub.vue.d.ts +34 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.types.d.ts +9 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/date-picker-calendar-day.vue.d.ts +39 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/components/date-picker-calendar-day/index.d.ts +1 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/date-picker-calendar.types.d.ts +8 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/date-picker-calendar.vue.d.ts +121 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar/index.d.ts +2 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-container/__test__/date-picker-calendar-container-stub.vue.d.ts +43 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-container/date-picker-calendar-container.types.d.ts +3 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-container/date-picker-calendar-container.vue.d.ts +99 -0
- package/dist/@types/components/date-picker/components/date-picker-calendar-container/index.d.ts +1 -0
- package/dist/@types/components/date-picker/date-picker.types.d.ts +16 -0
- package/dist/@types/components/date-picker/date-picker.vue.d.ts +102 -0
- package/dist/@types/components/date-picker/index.d.ts +2 -0
- package/dist/@types/components/menu/components/menu-item/menu-item.types.d.ts +1 -0
- package/dist/@types/components/menu/components/menu-item/menu-item.vue.d.ts +12 -0
- package/dist/@types/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +9 -2
- package/dist/@types/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +2 -0
- package/dist/@types/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +41 -0
- package/dist/@types/components/menu/menu.types.d.ts +2 -1
- package/dist/@types/components/tag/tag.types.d.ts +1 -1
- package/dist/@types/components.d.ts +2 -0
- package/dist/@types/index.d.ts +1 -0
- package/dist/index.js +4116 -3434
- package/dist/index.js.map +1 -1
- package/dist/web-types.json +369 -9
- package/package.json +5 -5
|
@@ -19,13 +19,20 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
21
|
}, {
|
|
22
|
+
menuItemListRef: any;
|
|
23
|
+
menuItemListWrapperRef: any;
|
|
24
|
+
subMenuItemListRef: any;
|
|
22
25
|
computedData: import("vue").ComputedRef<BentoMenuItem[]>;
|
|
26
|
+
computedHeight: import("vue").ComputedRef<string>;
|
|
23
27
|
focusedIndex: import("vue").Ref<number>;
|
|
24
|
-
|
|
28
|
+
subMenuFocusedIndex: import("vue").Ref<number>;
|
|
29
|
+
showSubMenu: import("vue").Ref<boolean>;
|
|
30
|
+
toggleMenu: (item: BentoMenuItem) => Promise<void>;
|
|
25
31
|
closeMenu: () => void;
|
|
26
32
|
focusPrevious: () => void;
|
|
27
33
|
focusNext: () => void;
|
|
28
|
-
|
|
34
|
+
onBackButton: () => void;
|
|
35
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoMenuEvent.CLOSE[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
29
36
|
data: {
|
|
30
37
|
type: PropType<BentoMenuItem[]>;
|
|
31
38
|
required: true;
|
package/dist/@types/components/menu/components/menu-list-container/menu-list-container.vue.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, unknown, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoMenuItem } from '../menu-item';
|
|
3
|
+
import { BentoMenuEvent } from '../../menu.types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
items: {
|
|
6
|
+
type: PropType<BentoMenuItem[]>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
title: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}, {
|
|
14
|
+
BentoMenuEvent: typeof BentoMenuEvent;
|
|
15
|
+
subMenuItemListRefLocal: any;
|
|
16
|
+
subMenuFocusedIndex: import("vue").Ref<number>;
|
|
17
|
+
ChevronLeftIcon: any;
|
|
18
|
+
computedItems: import("vue").ComputedRef<{
|
|
19
|
+
indent: boolean;
|
|
20
|
+
text: string;
|
|
21
|
+
handler: () => void;
|
|
22
|
+
secondaryText?: string;
|
|
23
|
+
items?: BentoMenuItem[];
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
chevron?: boolean;
|
|
26
|
+
icon?: import("../../../..").VueNodeElement;
|
|
27
|
+
critical?: boolean;
|
|
28
|
+
}[]>;
|
|
29
|
+
closeMenu: () => void;
|
|
30
|
+
onBackButton: () => void;
|
|
31
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, BentoMenuEvent[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
32
|
+
items: {
|
|
33
|
+
type: PropType<BentoMenuItem[]>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
title: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
}>>, {}>;
|
|
41
|
+
export default _default;
|
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
BentoCurrency,
|
|
23
23
|
BentoDataGrid,
|
|
24
24
|
BentoDate,
|
|
25
|
+
BentoDatePicker,
|
|
25
26
|
BentoDropdown,
|
|
26
27
|
BentoDropdownAvatar,
|
|
27
28
|
BentoDropdownCountry,
|
|
@@ -72,6 +73,7 @@ declare module 'vue' {
|
|
|
72
73
|
BentoCurrency: typeof BentoCurrency;
|
|
73
74
|
BentoDataGrid: typeof BentoDataGrid;
|
|
74
75
|
BentoDate: typeof BentoDate;
|
|
76
|
+
BentoDatePicker: typeof BentoDatePicker;
|
|
75
77
|
BentoDropdown: typeof BentoDropdown;
|
|
76
78
|
BentoDropdownAvatar: typeof BentoDropdownAvatar;
|
|
77
79
|
BentoDropdownCountry: typeof BentoDropdownCountry;
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from './components/alert';
|
|
|
3
3
|
export * from './components/button';
|
|
4
4
|
export * from './components/data-grid';
|
|
5
5
|
export * from './components/card';
|
|
6
|
+
export * from './components/date-picker';
|
|
6
7
|
export * from './components/dropdown';
|
|
7
8
|
export * from './components/checkbox';
|
|
8
9
|
export * from './components/click-outside';
|