@cobre-npm/ds-v3 0.76.6 → 0.77.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.
|
@@ -15,6 +15,7 @@ interface Props {
|
|
|
15
15
|
infoLabel?: string | null;
|
|
16
16
|
iconInfoLabel?: boolean;
|
|
17
17
|
showErrors?: boolean;
|
|
18
|
+
isSearchable?: boolean;
|
|
18
19
|
}
|
|
19
20
|
declare const _default: import("vue").DefineComponent<Props, {
|
|
20
21
|
isValid: import("vue").ComputedRef<boolean>;
|
|
@@ -41,5 +42,6 @@ declare const _default: import("vue").DefineComponent<Props, {
|
|
|
41
42
|
infoLabel: string | null;
|
|
42
43
|
iconInfoLabel: boolean;
|
|
43
44
|
showErrors: boolean;
|
|
45
|
+
isSearchable: boolean;
|
|
44
46
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
45
47
|
export default _default;
|
|
@@ -5,13 +5,98 @@ interface Props {
|
|
|
5
5
|
tooltipText?: string;
|
|
6
6
|
copied?: string;
|
|
7
7
|
minLengthToShowTooltip?: number;
|
|
8
|
+
customWidth?: number;
|
|
8
9
|
}
|
|
9
10
|
declare function __VLS_template(): {
|
|
10
11
|
attrs: Partial<{}>;
|
|
11
12
|
slots: {
|
|
12
13
|
content?(_: {}): any;
|
|
13
14
|
};
|
|
14
|
-
refs: {
|
|
15
|
+
refs: {
|
|
16
|
+
componentRef: HTMLDivElement;
|
|
17
|
+
copyButtonRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
+
theme: {
|
|
19
|
+
type: () => import("../../../types/button.types.js").ButtonThemes;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
size: {
|
|
23
|
+
type: () => "small" | "medium" | "auto" | "big";
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
label: {
|
|
27
|
+
type: StringConstructor;
|
|
28
|
+
default: string;
|
|
29
|
+
};
|
|
30
|
+
disabled: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
isLoading: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
}>> & Readonly<{}>, {
|
|
39
|
+
slots: Readonly<{
|
|
40
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
41
|
+
}>;
|
|
42
|
+
isEmptySlot: (items: any[]) => boolean;
|
|
43
|
+
disabled: import("vue").Ref<boolean, boolean>;
|
|
44
|
+
size: import("vue").Ref<"small" | "medium" | "auto" | "big", "small" | "medium" | "auto" | "big">;
|
|
45
|
+
label: import("vue").Ref<string, string>;
|
|
46
|
+
theme: import("vue").Ref<import("../../../types/button.types.js").ButtonThemes, import("../../../types/button.types.js").ButtonThemes>;
|
|
47
|
+
isLoading: import("vue").Ref<boolean, boolean>;
|
|
48
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
49
|
+
disabled: boolean;
|
|
50
|
+
size: "small" | "medium" | "auto" | "big";
|
|
51
|
+
label: string;
|
|
52
|
+
theme: import("../../../types/button.types.js").ButtonThemes;
|
|
53
|
+
isLoading: boolean;
|
|
54
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
55
|
+
P: {};
|
|
56
|
+
B: {};
|
|
57
|
+
D: {};
|
|
58
|
+
C: {};
|
|
59
|
+
M: {};
|
|
60
|
+
Defaults: {};
|
|
61
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
62
|
+
theme: {
|
|
63
|
+
type: () => import("../../../types/button.types.js").ButtonThemes;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
size: {
|
|
67
|
+
type: () => "small" | "medium" | "auto" | "big";
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
label: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
disabled: {
|
|
75
|
+
type: BooleanConstructor;
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
isLoading: {
|
|
79
|
+
type: BooleanConstructor;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
}>> & Readonly<{}>, {
|
|
83
|
+
slots: Readonly<{
|
|
84
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
85
|
+
}>;
|
|
86
|
+
isEmptySlot: (items: any[]) => boolean;
|
|
87
|
+
disabled: import("vue").Ref<boolean, boolean>;
|
|
88
|
+
size: import("vue").Ref<"small" | "medium" | "auto" | "big", "small" | "medium" | "auto" | "big">;
|
|
89
|
+
label: import("vue").Ref<string, string>;
|
|
90
|
+
theme: import("vue").Ref<import("../../../types/button.types.js").ButtonThemes, import("../../../types/button.types.js").ButtonThemes>;
|
|
91
|
+
isLoading: import("vue").Ref<boolean, boolean>;
|
|
92
|
+
}, {}, {}, {}, {
|
|
93
|
+
disabled: boolean;
|
|
94
|
+
size: "small" | "medium" | "auto" | "big";
|
|
95
|
+
label: string;
|
|
96
|
+
theme: import("../../../types/button.types.js").ButtonThemes;
|
|
97
|
+
isLoading: boolean;
|
|
98
|
+
}> | null;
|
|
99
|
+
};
|
|
15
100
|
rootEl: HTMLDivElement;
|
|
16
101
|
};
|
|
17
102
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
@@ -26,7 +111,91 @@ declare const __VLS_component: import("vue").DefineComponent<Props, {}, {}, {},
|
|
|
26
111
|
allowCopy: boolean;
|
|
27
112
|
copyText: string;
|
|
28
113
|
minLengthToShowTooltip: number;
|
|
29
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
|
|
114
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
|
|
115
|
+
componentRef: HTMLDivElement;
|
|
116
|
+
copyButtonRef: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
117
|
+
theme: {
|
|
118
|
+
type: () => import("../../../types/button.types.js").ButtonThemes;
|
|
119
|
+
default: string;
|
|
120
|
+
};
|
|
121
|
+
size: {
|
|
122
|
+
type: () => "small" | "medium" | "auto" | "big";
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
label: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
disabled: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
default: boolean;
|
|
132
|
+
};
|
|
133
|
+
isLoading: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{}>, {
|
|
138
|
+
slots: Readonly<{
|
|
139
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
140
|
+
}>;
|
|
141
|
+
isEmptySlot: (items: any[]) => boolean;
|
|
142
|
+
disabled: import("vue").Ref<boolean, boolean>;
|
|
143
|
+
size: import("vue").Ref<"small" | "medium" | "auto" | "big", "small" | "medium" | "auto" | "big">;
|
|
144
|
+
label: import("vue").Ref<string, string>;
|
|
145
|
+
theme: import("vue").Ref<import("../../../types/button.types.js").ButtonThemes, import("../../../types/button.types.js").ButtonThemes>;
|
|
146
|
+
isLoading: import("vue").Ref<boolean, boolean>;
|
|
147
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
148
|
+
disabled: boolean;
|
|
149
|
+
size: "small" | "medium" | "auto" | "big";
|
|
150
|
+
label: string;
|
|
151
|
+
theme: import("../../../types/button.types.js").ButtonThemes;
|
|
152
|
+
isLoading: boolean;
|
|
153
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
154
|
+
P: {};
|
|
155
|
+
B: {};
|
|
156
|
+
D: {};
|
|
157
|
+
C: {};
|
|
158
|
+
M: {};
|
|
159
|
+
Defaults: {};
|
|
160
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
161
|
+
theme: {
|
|
162
|
+
type: () => import("../../../types/button.types.js").ButtonThemes;
|
|
163
|
+
default: string;
|
|
164
|
+
};
|
|
165
|
+
size: {
|
|
166
|
+
type: () => "small" | "medium" | "auto" | "big";
|
|
167
|
+
default: string;
|
|
168
|
+
};
|
|
169
|
+
label: {
|
|
170
|
+
type: StringConstructor;
|
|
171
|
+
default: string;
|
|
172
|
+
};
|
|
173
|
+
disabled: {
|
|
174
|
+
type: BooleanConstructor;
|
|
175
|
+
default: boolean;
|
|
176
|
+
};
|
|
177
|
+
isLoading: {
|
|
178
|
+
type: BooleanConstructor;
|
|
179
|
+
default: boolean;
|
|
180
|
+
};
|
|
181
|
+
}>> & Readonly<{}>, {
|
|
182
|
+
slots: Readonly<{
|
|
183
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
184
|
+
}>;
|
|
185
|
+
isEmptySlot: (items: any[]) => boolean;
|
|
186
|
+
disabled: import("vue").Ref<boolean, boolean>;
|
|
187
|
+
size: import("vue").Ref<"small" | "medium" | "auto" | "big", "small" | "medium" | "auto" | "big">;
|
|
188
|
+
label: import("vue").Ref<string, string>;
|
|
189
|
+
theme: import("vue").Ref<import("../../../types/button.types.js").ButtonThemes, import("../../../types/button.types.js").ButtonThemes>;
|
|
190
|
+
isLoading: import("vue").Ref<boolean, boolean>;
|
|
191
|
+
}, {}, {}, {}, {
|
|
192
|
+
disabled: boolean;
|
|
193
|
+
size: "small" | "medium" | "auto" | "big";
|
|
194
|
+
label: string;
|
|
195
|
+
theme: import("../../../types/button.types.js").ButtonThemes;
|
|
196
|
+
isLoading: boolean;
|
|
197
|
+
}> | null;
|
|
198
|
+
}, HTMLDivElement>;
|
|
30
199
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
200
|
export default _default;
|
|
32
201
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cobre-npm/ds-v3",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.77.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"storybook-server": "storybook dev -p 8080",
|
|
23
23
|
"build-storybook": "storybook build",
|
|
24
24
|
"test": "test-storybook",
|
|
25
|
-
"prepare": "husky"
|
|
25
|
+
"prepare": "echo 'Preparing project: installing Husky hooks...' && husky"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@popperjs/core": "^2.11.8",
|