@adyen/bento-vue2 0.1.1 → 0.1.2
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/data-grid.vue.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +53 -0
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +62 -21
- package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +57 -19
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/{dropdown-option/dropdown-option.vue.d.ts → dropdown-single-select-option/dropdown-single-select-option.vue.d.ts} +18 -4
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-single-select-option/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +22 -13
- package/dist/@types/components/dropdown/components/dropdown-options-container/index.d.ts +1 -1
- package/dist/@types/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +57 -10
- package/dist/@types/components/dropdown/components/index.d.ts +1 -0
- package/dist/@types/components/dropdown/dropdown.types.d.ts +1 -0
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +60 -1
- package/dist/@types/components/search-bar/search-bar.vue.d.ts +1 -1
- package/dist/@types/components/search-bar/useSearchBarDataFilter.d.ts +2 -2
- package/dist/@types/components/tag/tag.vue.d.ts +10 -1
- package/dist/@types/types/index.d.ts +1 -0
- package/dist/@types/types/prop-types.d.ts +1 -0
- package/dist/@types/utils/ts/debounce/debounce.d.ts +1 -2
- package/dist/index.js +2216 -1955
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/@types/components/dropdown/components/dropdown-input-container/dropdown-input-container.vue.d.ts +0 -68
- package/dist/@types/components/dropdown/components/dropdown-input-container/index.d.ts +0 -1
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/index.d.ts +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { AdlDropdownOptionItem, AdlDropdownOptions } from './dropdown.types';
|
|
2
|
+
import { AdlDropdownOptionItem, AdlDropdownOptions, BentoDropdownIsOptionDisabled } from './dropdown.types';
|
|
3
|
+
import { BentoTypographyElement } from '../typography';
|
|
3
4
|
declare const _default: import("vue").DefineComponent<{
|
|
4
5
|
ariaLabel: {
|
|
5
6
|
type: StringConstructor;
|
|
@@ -9,6 +10,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
10
|
type: BooleanConstructor;
|
|
10
11
|
default: boolean;
|
|
11
12
|
};
|
|
13
|
+
dynamicFiltering: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
label: {
|
|
18
|
+
type: StringConstructor;
|
|
19
|
+
default: any;
|
|
20
|
+
};
|
|
21
|
+
description: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: any;
|
|
24
|
+
};
|
|
25
|
+
optional: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
12
29
|
placeholder: {
|
|
13
30
|
type: StringConstructor;
|
|
14
31
|
default: any;
|
|
@@ -17,18 +34,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
17
34
|
type: PropType<import("./dropdown.types").AdlDropdownValue>;
|
|
18
35
|
default: any;
|
|
19
36
|
};
|
|
37
|
+
isOptionDisabled: {
|
|
38
|
+
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
39
|
+
default: any;
|
|
40
|
+
};
|
|
20
41
|
items: {
|
|
21
42
|
type: PropType<AdlDropdownOptions>;
|
|
22
43
|
default: () => any[];
|
|
23
44
|
};
|
|
45
|
+
required: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
24
49
|
}, {
|
|
25
50
|
isDropdownOpen: import("vue").Ref<boolean>;
|
|
26
51
|
displayValue: import("vue").ComputedRef<string>;
|
|
27
52
|
dropdownOptionsContainerId: string;
|
|
53
|
+
filteredItems: import("vue").ComputedRef<AdlDropdownOptionItem[]>;
|
|
54
|
+
searchTerm: import("vue").Ref<string>;
|
|
55
|
+
labelId: string;
|
|
28
56
|
inputContainerRef: any;
|
|
29
57
|
closeOpenedDropdown: () => void;
|
|
30
58
|
toggleDropdown: () => void;
|
|
31
59
|
onOptionSelected: (selectedOption: AdlDropdownOptionItem) => void;
|
|
60
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
32
61
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
33
62
|
ariaLabel: {
|
|
34
63
|
type: StringConstructor;
|
|
@@ -38,6 +67,22 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
67
|
type: BooleanConstructor;
|
|
39
68
|
default: boolean;
|
|
40
69
|
};
|
|
70
|
+
dynamicFiltering: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
label: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: any;
|
|
77
|
+
};
|
|
78
|
+
description: {
|
|
79
|
+
type: StringConstructor;
|
|
80
|
+
default: any;
|
|
81
|
+
};
|
|
82
|
+
optional: {
|
|
83
|
+
type: BooleanConstructor;
|
|
84
|
+
default: boolean;
|
|
85
|
+
};
|
|
41
86
|
placeholder: {
|
|
42
87
|
type: StringConstructor;
|
|
43
88
|
default: any;
|
|
@@ -46,15 +91,29 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
46
91
|
type: PropType<import("./dropdown.types").AdlDropdownValue>;
|
|
47
92
|
default: any;
|
|
48
93
|
};
|
|
94
|
+
isOptionDisabled: {
|
|
95
|
+
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
96
|
+
default: any;
|
|
97
|
+
};
|
|
49
98
|
items: {
|
|
50
99
|
type: PropType<AdlDropdownOptions>;
|
|
51
100
|
default: () => any[];
|
|
52
101
|
};
|
|
102
|
+
required: {
|
|
103
|
+
type: BooleanConstructor;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
53
106
|
}>>, {
|
|
107
|
+
required: boolean;
|
|
108
|
+
optional: boolean;
|
|
54
109
|
value: import("./dropdown.types").AdlDropdownValue;
|
|
110
|
+
label: string;
|
|
55
111
|
ariaLabel: string;
|
|
56
112
|
disabled: boolean;
|
|
113
|
+
description: string;
|
|
57
114
|
placeholder: string;
|
|
58
115
|
items: AdlDropdownOptions;
|
|
116
|
+
isOptionDisabled: BentoDropdownIsOptionDisabled;
|
|
117
|
+
dynamicFiltering: boolean;
|
|
59
118
|
}>;
|
|
60
119
|
export default _default;
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
}, {
|
|
16
16
|
searchTerm: import("vue").Ref<string>;
|
|
17
17
|
onClearSearch: () => void;
|
|
18
|
-
onInputEvent: (
|
|
18
|
+
onInputEvent: () => void;
|
|
19
19
|
BentoInputFieldType: typeof BentoInputFieldType;
|
|
20
20
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("input" | "clear")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
ariaLabel: {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
export declare
|
|
2
|
+
import { BentoSearchBarItem } from './search-bar.types';
|
|
3
|
+
export declare function useSearchBarFilter<T extends BentoSearchBarItem>(searchTerm: Ref<string>, data: Ref<T[]>): import("vue").ComputedRef<T[]>;
|
|
@@ -2,6 +2,10 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { BentoTagVariant } from './tag.types';
|
|
3
3
|
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
label: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: any;
|
|
8
|
+
};
|
|
5
9
|
variant: {
|
|
6
10
|
type: PropType<BentoTagVariant>;
|
|
7
11
|
default: BentoTagVariant;
|
|
@@ -13,7 +17,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
17
|
};
|
|
14
18
|
}, {
|
|
15
19
|
computedAriaLabel: import("vue").ComputedRef<string>;
|
|
16
|
-
textFromSlot: string
|
|
20
|
+
textFromSlot: import("vue").ComputedRef<string>;
|
|
17
21
|
formattedText: import("vue").ComputedRef<string>;
|
|
18
22
|
tagConditionalClasses: import("vue").ComputedRef<{
|
|
19
23
|
[x: string]: BentoTagVariant;
|
|
@@ -22,6 +26,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
22
26
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
23
27
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
24
28
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
label: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: any;
|
|
32
|
+
};
|
|
25
33
|
variant: {
|
|
26
34
|
type: PropType<BentoTagVariant>;
|
|
27
35
|
default: BentoTagVariant;
|
|
@@ -32,6 +40,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
40
|
default: any;
|
|
33
41
|
};
|
|
34
42
|
}>>, {
|
|
43
|
+
label: string;
|
|
35
44
|
variant: BentoTagVariant;
|
|
36
45
|
truncate: number;
|
|
37
46
|
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type Booleanish = boolean | 'true' | 'false';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const debounce: <T>(callback: AnyFn<T>, debounceTime: number) => (...args: T[]) => void;
|
|
1
|
+
export declare const debounce: <T extends (...args: any[]) => any>(callback: T, debounceTime?: number) => T;
|