@adyen/bento-vue2 0.1.3 → 0.1.4
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/avatar/avatar.vue.d.ts +21 -36
- package/dist/@types/components/avatar/index.d.ts +1 -2
- package/dist/@types/components/{avatar/avatar.types.d.ts → avatar-image/avatar-image.types.d.ts} +2 -2
- package/dist/@types/components/avatar-image/avatar-image.vue.d.ts +55 -0
- package/dist/@types/components/avatar-image/index.d.ts +2 -0
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +0 -4
- package/dist/@types/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +0 -11
- package/dist/@types/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +0 -9
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-multi-select/dropdown-multi-select.vue.d.ts +10 -1
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-single-select-option/dropdown-single-select-option.vue.d.ts +9 -0
- package/dist/@types/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +0 -9
- package/dist/@types/components/dropdown/dropdown.types.d.ts +1 -0
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +0 -9
- package/dist/@types/components/input-field/input-field.vue.d.ts +1 -0
- package/dist/@types/components/popover/popover.vue.d.ts +10 -0
- package/dist/@types/components/search-bar/search-bar.vue.d.ts +1 -0
- package/dist/@types/components.d.ts +2 -2
- package/dist/@types/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +4 -4
- package/dist/@types/index.d.ts +1 -1
- package/dist/index.js +1903 -1860
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
- package/dist/@types/components/user-profile/index.d.ts +0 -1
- package/dist/@types/components/user-profile/user-profile.vue.d.ts +0 -40
|
@@ -1,55 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BentoAvatarColor, BentoAvatarVariant } from './avatar.types';
|
|
1
|
+
import { BentoAvatarImageColor, BentoAvatarImageVariant } from '@/components/avatar-image';
|
|
3
2
|
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
4
3
|
declare const _default: import("vue").DefineComponent<{
|
|
5
|
-
|
|
6
|
-
type:
|
|
7
|
-
default:
|
|
4
|
+
iconOnly: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
8
7
|
};
|
|
9
8
|
username: {
|
|
10
9
|
type: StringConstructor;
|
|
11
|
-
|
|
10
|
+
required: true;
|
|
12
11
|
};
|
|
13
|
-
|
|
14
|
-
type:
|
|
15
|
-
default:
|
|
16
|
-
validator: (value: BentoAvatarVariant) => boolean;
|
|
17
|
-
};
|
|
18
|
-
color: {
|
|
19
|
-
type: PropType<BentoAvatarColor>;
|
|
20
|
-
default: BentoAvatarColor;
|
|
21
|
-
validator: (value: BentoAvatarColor) => boolean;
|
|
12
|
+
src: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: any;
|
|
22
15
|
};
|
|
23
16
|
}, {
|
|
17
|
+
BentoAvatarImageVariant: typeof BentoAvatarImageVariant;
|
|
24
18
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
25
19
|
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
default: any;
|
|
20
|
+
computedAriaLabel: import("vue").ComputedRef<string>;
|
|
21
|
+
computedUsername: import("vue").ComputedRef<string>;
|
|
22
|
+
avatarColor: import("vue").ComputedRef<BentoAvatarImageColor>;
|
|
23
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
iconOnly: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
34
27
|
};
|
|
35
28
|
username: {
|
|
36
29
|
type: StringConstructor;
|
|
37
|
-
|
|
30
|
+
required: true;
|
|
38
31
|
};
|
|
39
|
-
|
|
40
|
-
type:
|
|
41
|
-
default:
|
|
42
|
-
validator: (value: BentoAvatarVariant) => boolean;
|
|
43
|
-
};
|
|
44
|
-
color: {
|
|
45
|
-
type: PropType<BentoAvatarColor>;
|
|
46
|
-
default: BentoAvatarColor;
|
|
47
|
-
validator: (value: BentoAvatarColor) => boolean;
|
|
32
|
+
src: {
|
|
33
|
+
type: StringConstructor;
|
|
34
|
+
default: any;
|
|
48
35
|
};
|
|
49
36
|
}>>, {
|
|
50
|
-
color: BentoAvatarColor;
|
|
51
37
|
src: string;
|
|
52
|
-
|
|
53
|
-
username: string;
|
|
38
|
+
iconOnly: boolean;
|
|
54
39
|
}>;
|
|
55
40
|
export default _default;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export * from './avatar.types';
|
|
1
|
+
export { default as BentoAvatar } from './avatar.vue';
|
package/dist/@types/components/{avatar/avatar.types.d.ts → avatar-image/avatar-image.types.d.ts}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare enum
|
|
1
|
+
export declare enum BentoAvatarImageVariant {
|
|
2
2
|
LARGE = "large",
|
|
3
3
|
SMALL = "small"
|
|
4
4
|
}
|
|
5
|
-
export declare enum
|
|
5
|
+
export declare enum BentoAvatarImageColor {
|
|
6
6
|
BLUE = "blue",
|
|
7
7
|
GREEN = "green",
|
|
8
8
|
RED = "red",
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoAvatarImageColor, BentoAvatarImageVariant } from './avatar-image.types';
|
|
3
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
src: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: any;
|
|
8
|
+
};
|
|
9
|
+
username: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: any;
|
|
12
|
+
};
|
|
13
|
+
variant: {
|
|
14
|
+
type: PropType<BentoAvatarImageVariant>;
|
|
15
|
+
default: BentoAvatarImageVariant;
|
|
16
|
+
validator: (value: BentoAvatarImageVariant) => boolean;
|
|
17
|
+
};
|
|
18
|
+
color: {
|
|
19
|
+
type: PropType<BentoAvatarImageColor>;
|
|
20
|
+
default: BentoAvatarImageColor;
|
|
21
|
+
validator: (value: BentoAvatarImageColor) => boolean;
|
|
22
|
+
};
|
|
23
|
+
}, {
|
|
24
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
25
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
26
|
+
conditionalClasses: import("vue").ComputedRef<{
|
|
27
|
+
[x: string]: boolean | BentoAvatarImageColor;
|
|
28
|
+
}>;
|
|
29
|
+
initials: import("vue").ComputedRef<string>;
|
|
30
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
src: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: any;
|
|
34
|
+
};
|
|
35
|
+
username: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: any;
|
|
38
|
+
};
|
|
39
|
+
variant: {
|
|
40
|
+
type: PropType<BentoAvatarImageVariant>;
|
|
41
|
+
default: BentoAvatarImageVariant;
|
|
42
|
+
validator: (value: BentoAvatarImageVariant) => boolean;
|
|
43
|
+
};
|
|
44
|
+
color: {
|
|
45
|
+
type: PropType<BentoAvatarImageColor>;
|
|
46
|
+
default: BentoAvatarImageColor;
|
|
47
|
+
validator: (value: BentoAvatarImageColor) => boolean;
|
|
48
|
+
};
|
|
49
|
+
}>>, {
|
|
50
|
+
color: BentoAvatarImageColor;
|
|
51
|
+
src: string;
|
|
52
|
+
variant: BentoAvatarImageVariant;
|
|
53
|
+
username: string;
|
|
54
|
+
}>;
|
|
55
|
+
export default _default;
|
|
@@ -47,10 +47,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
47
|
type: BooleanConstructor;
|
|
48
48
|
default: boolean;
|
|
49
49
|
};
|
|
50
|
-
placeholder: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
default: any;
|
|
53
|
-
};
|
|
54
50
|
value: {
|
|
55
51
|
type: StringConstructor;
|
|
56
52
|
default: string;
|
|
@@ -61,8 +57,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
61
57
|
conditionalClasses: import("vue").ComputedRef<{
|
|
62
58
|
'b-dropdown-base-textbox--disabled': boolean;
|
|
63
59
|
}>;
|
|
64
|
-
computedDisplayValue: import("vue").ComputedRef<string>;
|
|
65
|
-
shouldShowPlaceholder: import("vue").ComputedRef<boolean>;
|
|
66
60
|
textboxId: string;
|
|
67
61
|
textbox: any;
|
|
68
62
|
isFiltering: import("vue").ComputedRef<boolean>;
|
|
@@ -118,10 +112,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
112
|
type: BooleanConstructor;
|
|
119
113
|
default: boolean;
|
|
120
114
|
};
|
|
121
|
-
placeholder: {
|
|
122
|
-
type: StringConstructor;
|
|
123
|
-
default: any;
|
|
124
|
-
};
|
|
125
115
|
value: {
|
|
126
116
|
type: StringConstructor;
|
|
127
117
|
default: string;
|
|
@@ -131,7 +121,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
131
121
|
value: string;
|
|
132
122
|
ariaLabel: string;
|
|
133
123
|
disabled: boolean;
|
|
134
|
-
placeholder: string;
|
|
135
124
|
debounceTime: number;
|
|
136
125
|
additionalItemsSelected: number;
|
|
137
126
|
ariaLabelledby: string;
|
|
@@ -45,10 +45,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
type: BooleanConstructor;
|
|
46
46
|
default: boolean;
|
|
47
47
|
};
|
|
48
|
-
placeholder: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: any;
|
|
51
|
-
};
|
|
52
48
|
value: {
|
|
53
49
|
type: StringConstructor;
|
|
54
50
|
default: string;
|
|
@@ -105,10 +101,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
105
101
|
type: BooleanConstructor;
|
|
106
102
|
default: boolean;
|
|
107
103
|
};
|
|
108
|
-
placeholder: {
|
|
109
|
-
type: StringConstructor;
|
|
110
|
-
default: any;
|
|
111
|
-
};
|
|
112
104
|
value: {
|
|
113
105
|
type: StringConstructor;
|
|
114
106
|
default: string;
|
|
@@ -118,7 +110,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
118
110
|
value: string;
|
|
119
111
|
ariaLabel: string;
|
|
120
112
|
disabled: boolean;
|
|
121
|
-
placeholder: string;
|
|
122
113
|
debounceTime: number;
|
|
123
114
|
additionalItemsSelected: number;
|
|
124
115
|
ariaLabelledby: string;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { BentoTypographyElement } from '@/components/typography';
|
|
3
|
-
import type { BentoDropdownOptions, BentoDropdownSelectedValue, BentoDropdownValue } from '../../../../dropdown.types';
|
|
3
|
+
import type { BentoDropdownIsOptionDisabled, BentoDropdownOptions, BentoDropdownSelectedValue, BentoDropdownValue } from '../../../../dropdown.types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
isOptionDisabled: {
|
|
6
|
+
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
7
|
+
default: () => false;
|
|
8
|
+
};
|
|
5
9
|
items: {
|
|
6
10
|
type: PropType<BentoDropdownOptions>;
|
|
7
11
|
required: true;
|
|
@@ -19,6 +23,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
19
23
|
toggleCheckboxSelection: (value: BentoDropdownValue) => void;
|
|
20
24
|
toggleSelectAll: (selectedValue: boolean) => void;
|
|
21
25
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "select"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
26
|
+
isOptionDisabled: {
|
|
27
|
+
type: PropType<BentoDropdownIsOptionDisabled>;
|
|
28
|
+
default: () => false;
|
|
29
|
+
};
|
|
22
30
|
items: {
|
|
23
31
|
type: PropType<BentoDropdownOptions>;
|
|
24
32
|
required: true;
|
|
@@ -28,6 +36,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
36
|
default: BentoDropdownSelectedValue;
|
|
29
37
|
};
|
|
30
38
|
}>>, {
|
|
39
|
+
isOptionDisabled: BentoDropdownIsOptionDisabled;
|
|
31
40
|
selectedValues: BentoDropdownSelectedValue;
|
|
32
41
|
}>;
|
|
33
42
|
export default _default;
|
|
@@ -6,6 +6,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
type: BooleanConstructor;
|
|
7
7
|
default: boolean;
|
|
8
8
|
};
|
|
9
|
+
description: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: any;
|
|
12
|
+
};
|
|
9
13
|
label: {
|
|
10
14
|
type: StringConstructor;
|
|
11
15
|
required: true;
|
|
@@ -29,6 +33,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
33
|
type: BooleanConstructor;
|
|
30
34
|
default: boolean;
|
|
31
35
|
};
|
|
36
|
+
description: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: any;
|
|
39
|
+
};
|
|
32
40
|
label: {
|
|
33
41
|
type: StringConstructor;
|
|
34
42
|
required: true;
|
|
@@ -43,6 +51,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
51
|
};
|
|
44
52
|
}>>, {
|
|
45
53
|
disabled: boolean;
|
|
54
|
+
description: string;
|
|
46
55
|
selected: boolean;
|
|
47
56
|
}>;
|
|
48
57
|
export default _default;
|
|
@@ -45,10 +45,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
45
45
|
type: BooleanConstructor;
|
|
46
46
|
default: boolean;
|
|
47
47
|
};
|
|
48
|
-
placeholder: {
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: any;
|
|
51
|
-
};
|
|
52
48
|
value: {
|
|
53
49
|
type: StringConstructor;
|
|
54
50
|
default: string;
|
|
@@ -104,10 +100,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
100
|
type: BooleanConstructor;
|
|
105
101
|
default: boolean;
|
|
106
102
|
};
|
|
107
|
-
placeholder: {
|
|
108
|
-
type: StringConstructor;
|
|
109
|
-
default: any;
|
|
110
|
-
};
|
|
111
103
|
value: {
|
|
112
104
|
type: StringConstructor;
|
|
113
105
|
default: string;
|
|
@@ -117,7 +109,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
117
109
|
value: string;
|
|
118
110
|
ariaLabel: string;
|
|
119
111
|
disabled: boolean;
|
|
120
|
-
placeholder: string;
|
|
121
112
|
debounceTime: number;
|
|
122
113
|
additionalItemsSelected: number;
|
|
123
114
|
ariaLabelledby: string;
|
|
@@ -2,6 +2,7 @@ import { BentoSearchBarItem } from '../search-bar';
|
|
|
2
2
|
export type BentoDropdownValue = string | number;
|
|
3
3
|
export type BentoDropdownMultiSelectValue = BentoDropdownValue[];
|
|
4
4
|
export interface BentoDropdownOptionItem extends BentoSearchBarItem {
|
|
5
|
+
description?: string;
|
|
5
6
|
value: BentoDropdownValue;
|
|
6
7
|
}
|
|
7
8
|
export type BentoDropdownSelectedValue = BentoDropdownValue | BentoDropdownMultiSelectValue;
|
|
@@ -38,10 +38,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
type: BooleanConstructor;
|
|
39
39
|
default: boolean;
|
|
40
40
|
};
|
|
41
|
-
placeholder: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
default: any;
|
|
44
|
-
};
|
|
45
41
|
required: {
|
|
46
42
|
type: BooleanConstructor;
|
|
47
43
|
default: boolean;
|
|
@@ -100,10 +96,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
100
96
|
type: BooleanConstructor;
|
|
101
97
|
default: boolean;
|
|
102
98
|
};
|
|
103
|
-
placeholder: {
|
|
104
|
-
type: StringConstructor;
|
|
105
|
-
default: any;
|
|
106
|
-
};
|
|
107
99
|
required: {
|
|
108
100
|
type: BooleanConstructor;
|
|
109
101
|
default: boolean;
|
|
@@ -121,7 +113,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
121
113
|
disabled: boolean;
|
|
122
114
|
multiple: boolean;
|
|
123
115
|
description: string;
|
|
124
|
-
placeholder: string;
|
|
125
116
|
items: BentoDropdownOptions;
|
|
126
117
|
isOptionDisabled: BentoDropdownIsOptionDisabled;
|
|
127
118
|
dynamicFiltering: boolean;
|
|
@@ -44,6 +44,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
44
44
|
BentoInputFieldVariant: typeof BentoInputFieldVariant;
|
|
45
45
|
onInput: (event: Event) => void;
|
|
46
46
|
focusInput: () => void;
|
|
47
|
+
hasSlot: (name: string) => boolean;
|
|
47
48
|
inputFieldConditionalClasses: import("vue").ComputedRef<{
|
|
48
49
|
[x: string]: boolean;
|
|
49
50
|
}>;
|
|
@@ -16,6 +16,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
type: StringConstructor;
|
|
17
17
|
default: any;
|
|
18
18
|
};
|
|
19
|
+
divider: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
19
23
|
disableFocusTrap: {
|
|
20
24
|
type: BooleanConstructor;
|
|
21
25
|
default: boolean;
|
|
@@ -56,6 +60,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
60
|
}, {
|
|
57
61
|
conditionalClasses: import("vue").ComputedRef<{
|
|
58
62
|
'b-popover--small': boolean;
|
|
63
|
+
'b-popover--with-divider': boolean;
|
|
59
64
|
'b-popover--large': boolean;
|
|
60
65
|
}>;
|
|
61
66
|
contentConditionalClasses: import("vue").ComputedRef<{
|
|
@@ -78,6 +83,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
83
|
type: StringConstructor;
|
|
79
84
|
default: any;
|
|
80
85
|
};
|
|
86
|
+
divider: {
|
|
87
|
+
type: BooleanConstructor;
|
|
88
|
+
default: boolean;
|
|
89
|
+
};
|
|
81
90
|
disableFocusTrap: {
|
|
82
91
|
type: BooleanConstructor;
|
|
83
92
|
default: boolean;
|
|
@@ -125,6 +134,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
125
134
|
actions: BentoButtonActionsList;
|
|
126
135
|
fixedPositioning: boolean;
|
|
127
136
|
actionsLayout: BentoButtonActionsLayout;
|
|
137
|
+
divider: boolean;
|
|
128
138
|
disableFocusTrap: boolean;
|
|
129
139
|
dismissible: boolean;
|
|
130
140
|
}>;
|
|
@@ -141,6 +141,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
141
141
|
BentoInputFieldVariant: typeof import("@/components/input-field").BentoInputFieldVariant;
|
|
142
142
|
onInput: (event: Event) => void;
|
|
143
143
|
focusInput: () => void;
|
|
144
|
+
hasSlot: (name: string) => boolean;
|
|
144
145
|
inputFieldConditionalClasses: import("vue").ComputedRef<{
|
|
145
146
|
[x: string]: boolean;
|
|
146
147
|
}>;
|
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
|
|
13
13
|
// Bento
|
|
14
14
|
BentoAlert,
|
|
15
|
+
BentoAvatar,
|
|
15
16
|
BentoButton,
|
|
16
17
|
BentoButtonActions,
|
|
17
18
|
BentoButtonGroup,
|
|
@@ -35,7 +36,6 @@ import {
|
|
|
35
36
|
BentoTag,
|
|
36
37
|
BentoToggle,
|
|
37
38
|
BentoTypography,
|
|
38
|
-
BentoUserProfile,
|
|
39
39
|
} from './index';
|
|
40
40
|
|
|
41
41
|
declare module 'vue' {
|
|
@@ -53,6 +53,7 @@ declare module 'vue' {
|
|
|
53
53
|
|
|
54
54
|
// Bento
|
|
55
55
|
BentoAlert: typeof BentoAlert;
|
|
56
|
+
BentoAvatar: typeof BentoAvatar;
|
|
56
57
|
BentoButton: typeof BentoButton;
|
|
57
58
|
BentoButtonGroup: typeof BentoButtonGroup;
|
|
58
59
|
BentoButtonActions: typeof BentoButtonActions;
|
|
@@ -76,6 +77,5 @@ declare module 'vue' {
|
|
|
76
77
|
BentoTag: typeof BentoTag;
|
|
77
78
|
BentoToggle: typeof BentoToggle;
|
|
78
79
|
BentoTypography: typeof BentoTypography;
|
|
79
|
-
BentoUserProfile: typeof BentoUserProfile;
|
|
80
80
|
}
|
|
81
81
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
1
|
+
import type { ComputedRef, Ref } from 'vue';
|
|
2
2
|
import type { Fn } from '../../types';
|
|
3
3
|
import { BentoDropdownMultiSelectValue, BentoDropdownOptions } from '../../components/dropdown';
|
|
4
|
-
export declare const useCheckboxSelectAll: (selectedItemsList: Ref<BentoDropdownMultiSelectValue>, items:
|
|
5
|
-
isAllSelected:
|
|
6
|
-
isIndeterminate:
|
|
4
|
+
export declare const useCheckboxSelectAll: (selectedItemsList: Ref<BentoDropdownMultiSelectValue>, items: ComputedRef<BentoDropdownOptions>, selectAll: Fn, unselectAll: Fn) => {
|
|
5
|
+
isAllSelected: ComputedRef<boolean>;
|
|
6
|
+
isIndeterminate: ComputedRef<boolean>;
|
|
7
7
|
toggleSelectAll: (selectedValue: boolean) => void;
|
|
8
8
|
};
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import BentoVue from './install';
|
|
2
2
|
export * from './components/alert';
|
|
3
|
+
export * from './components/avatar';
|
|
3
4
|
export * from './components/button';
|
|
4
5
|
export * from './components/data-grid';
|
|
5
6
|
export * from './components/card';
|
|
@@ -20,7 +21,6 @@ export * from './components/status';
|
|
|
20
21
|
export * from './components/tag';
|
|
21
22
|
export * from './components/toggle';
|
|
22
23
|
export * from './components/typography';
|
|
23
|
-
export * from './components/user-profile';
|
|
24
24
|
export * from './types';
|
|
25
25
|
export * from './directives';
|
|
26
26
|
export default BentoVue;
|