@hunter-industries/hunter-components 0.0.50 → 0.0.52
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/components/Button/Button.vue.d.ts +1 -1
- package/dist/components/ColorIcon/ColorIcon.vue.d.ts +2 -1
- package/dist/components/Dropdown/Dropdown.stories.d.ts +14 -2
- package/dist/components/Dropdown/Dropdown.vue.d.ts +1 -0
- package/dist/components/Dropdown/DropdownList/DropdownLists.stories.d.ts +2 -2
- package/dist/hunter-components.js +689 -676
- package/dist/hunter-components.umd.cjs +2 -2
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
interface Props {
|
|
2
2
|
color: string;
|
|
3
3
|
hasBorder?: boolean;
|
|
4
|
-
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
size?: "small" | "medium" | "large" | "sm" | "md" | "lg";
|
|
5
6
|
}
|
|
6
7
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<Props>>>, {}, {}>;
|
|
7
8
|
export default _default;
|
|
@@ -17,6 +17,9 @@ declare const meta: Meta<import("vue").DefineComponent<{
|
|
|
17
17
|
className: {
|
|
18
18
|
type: import("vue").PropType<string>;
|
|
19
19
|
};
|
|
20
|
+
disabled: {
|
|
21
|
+
type: import("vue").PropType<boolean>;
|
|
22
|
+
};
|
|
20
23
|
options: {
|
|
21
24
|
type: import("vue").PropType<import("./types.js").DropdownOption[]>;
|
|
22
25
|
required: true;
|
|
@@ -39,7 +42,7 @@ declare const meta: Meta<import("vue").DefineComponent<{
|
|
|
39
42
|
type: import("vue").PropType<import("./types.js").DropdownOption>;
|
|
40
43
|
};
|
|
41
44
|
variant: {
|
|
42
|
-
type: import("vue").PropType<"default" | "small">;
|
|
45
|
+
type: import("vue").PropType<"default" | "small" | "sm">;
|
|
43
46
|
};
|
|
44
47
|
showClearButton: {
|
|
45
48
|
type: import("vue").PropType<boolean>;
|
|
@@ -62,6 +65,9 @@ declare const meta: Meta<import("vue").DefineComponent<{
|
|
|
62
65
|
className: {
|
|
63
66
|
type: import("vue").PropType<string>;
|
|
64
67
|
};
|
|
68
|
+
disabled: {
|
|
69
|
+
type: import("vue").PropType<boolean>;
|
|
70
|
+
};
|
|
65
71
|
options: {
|
|
66
72
|
type: import("vue").PropType<import("./types.js").DropdownOption[]>;
|
|
67
73
|
required: true;
|
|
@@ -84,7 +90,7 @@ declare const meta: Meta<import("vue").DefineComponent<{
|
|
|
84
90
|
type: import("vue").PropType<import("./types.js").DropdownOption>;
|
|
85
91
|
};
|
|
86
92
|
variant: {
|
|
87
|
-
type: import("vue").PropType<"default" | "small">;
|
|
93
|
+
type: import("vue").PropType<"default" | "small" | "sm">;
|
|
88
94
|
};
|
|
89
95
|
showClearButton: {
|
|
90
96
|
type: import("vue").PropType<boolean>;
|
|
@@ -107,6 +113,9 @@ declare const meta: Meta<import("vue").DefineComponent<{
|
|
|
107
113
|
dropdownClassName: {
|
|
108
114
|
type: import("vue").PropType<string>;
|
|
109
115
|
};
|
|
116
|
+
disabled: {
|
|
117
|
+
type: import("vue").PropType<boolean>;
|
|
118
|
+
};
|
|
110
119
|
colors: {
|
|
111
120
|
type: import("vue").PropType<string[]>;
|
|
112
121
|
required: true;
|
|
@@ -142,6 +151,9 @@ declare const meta: Meta<import("vue").DefineComponent<{
|
|
|
142
151
|
dropdownClassName: {
|
|
143
152
|
type: import("vue").PropType<string>;
|
|
144
153
|
};
|
|
154
|
+
disabled: {
|
|
155
|
+
type: import("vue").PropType<boolean>;
|
|
156
|
+
};
|
|
145
157
|
colors: {
|
|
146
158
|
type: import("vue").PropType<string[]>;
|
|
147
159
|
required: true;
|
|
@@ -5,6 +5,7 @@ interface Props extends DropdownListProps {
|
|
|
5
5
|
id?: string;
|
|
6
6
|
hasBorder?: boolean;
|
|
7
7
|
className?: string;
|
|
8
|
+
disabled?: boolean;
|
|
8
9
|
}
|
|
9
10
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToOption<Props>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
11
|
selectOption: (value: any) => void;
|
|
@@ -30,7 +30,7 @@ declare const meta: {
|
|
|
30
30
|
type: import("vue").PropType<import("../types.js").DropdownOption>;
|
|
31
31
|
};
|
|
32
32
|
variant: {
|
|
33
|
-
type: import("vue").PropType<"default" | "small">;
|
|
33
|
+
type: import("vue").PropType<"default" | "small" | "sm">;
|
|
34
34
|
};
|
|
35
35
|
showClearButton: {
|
|
36
36
|
type: import("vue").PropType<boolean>;
|
|
@@ -63,7 +63,7 @@ declare const meta: {
|
|
|
63
63
|
type: import("vue").PropType<import("../types.js").DropdownOption>;
|
|
64
64
|
};
|
|
65
65
|
variant: {
|
|
66
|
-
type: import("vue").PropType<"default" | "small">;
|
|
66
|
+
type: import("vue").PropType<"default" | "small" | "sm">;
|
|
67
67
|
};
|
|
68
68
|
showClearButton: {
|
|
69
69
|
type: import("vue").PropType<boolean>;
|