@choosemycompany/ui 0.2.0 → 0.3.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/assets/index.css +1 -1
- package/dist/index.d.ts +44 -5
- package/dist/index.js +244 -219
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -23,6 +23,10 @@ declare const __VLS_component_4: DefineComponent<__VLS_Props_3, {}, {}, {}, {},
|
|
|
23
23
|
status: Status;
|
|
24
24
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
25
25
|
|
|
26
|
+
declare const __VLS_component_5: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
|
|
27
|
+
gap: ButtonGroupGap;
|
|
28
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
29
|
+
|
|
26
30
|
declare type __VLS_Props = {
|
|
27
31
|
kind: ButtonKind;
|
|
28
32
|
variant: ButtonVariant;
|
|
@@ -41,7 +45,12 @@ declare type __VLS_Props_3 = {
|
|
|
41
45
|
|
|
42
46
|
declare type __VLS_Props_4 = {
|
|
43
47
|
name: IconName;
|
|
44
|
-
size?:
|
|
48
|
+
size?: IconSize;
|
|
49
|
+
color?: IconColor;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
declare type __VLS_Props_5 = {
|
|
53
|
+
gap: ButtonGroupGap;
|
|
45
54
|
};
|
|
46
55
|
|
|
47
56
|
declare function __VLS_template(): {
|
|
@@ -85,6 +94,15 @@ declare function __VLS_template_4(): {
|
|
|
85
94
|
rootEl: HTMLDivElement;
|
|
86
95
|
};
|
|
87
96
|
|
|
97
|
+
declare function __VLS_template_5(): {
|
|
98
|
+
attrs: Partial<{}>;
|
|
99
|
+
slots: {
|
|
100
|
+
default?(_: {}): any;
|
|
101
|
+
};
|
|
102
|
+
refs: {};
|
|
103
|
+
rootEl: HTMLDivElement;
|
|
104
|
+
};
|
|
105
|
+
|
|
88
106
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
89
107
|
|
|
90
108
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
@@ -93,6 +111,8 @@ declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
|
93
111
|
|
|
94
112
|
declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
95
113
|
|
|
114
|
+
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
115
|
+
|
|
96
116
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
97
117
|
new (): {
|
|
98
118
|
$slots: S;
|
|
@@ -117,6 +137,18 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
|
117
137
|
};
|
|
118
138
|
};
|
|
119
139
|
|
|
140
|
+
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
141
|
+
new (): {
|
|
142
|
+
$slots: S;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
declare type ButtonGroupGap = keyof typeof buttonGroupGapOptions;
|
|
147
|
+
|
|
148
|
+
declare const buttonGroupGapOptions: {
|
|
149
|
+
readonly medium: "medium";
|
|
150
|
+
};
|
|
151
|
+
|
|
120
152
|
declare type ButtonKind = keyof typeof buttonKindOptions;
|
|
121
153
|
|
|
122
154
|
export declare const buttonKindOptions: {
|
|
@@ -140,11 +172,14 @@ export declare const buttonVariantOptions: {
|
|
|
140
172
|
|
|
141
173
|
export declare const CmcButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
142
174
|
|
|
175
|
+
export declare const CmcButtonGroup: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
176
|
+
|
|
143
177
|
export declare const CmcHeading: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
144
178
|
|
|
145
179
|
export declare const CmcIcon: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {
|
|
146
180
|
name: IconName;
|
|
147
|
-
size:
|
|
181
|
+
size: IconSize;
|
|
182
|
+
color: IconColor;
|
|
148
183
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
149
184
|
|
|
150
185
|
export declare const CmcStatus: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
@@ -162,13 +197,17 @@ export declare const headingLevelOptions: {
|
|
|
162
197
|
|
|
163
198
|
declare type HeadingLevels = keyof typeof headingLevelOptions;
|
|
164
199
|
|
|
200
|
+
declare type IconColor = keyof typeof iconColorOptions;
|
|
201
|
+
|
|
202
|
+
export declare const iconColorOptions: Record<string, string>;
|
|
203
|
+
|
|
165
204
|
declare type IconName = keyof typeof iconsMap;
|
|
166
205
|
|
|
167
|
-
|
|
206
|
+
declare type IconSize = keyof typeof iconSizeOptions;
|
|
168
207
|
|
|
169
|
-
declare
|
|
208
|
+
export declare const iconSizeOptions: Record<string, number>;
|
|
170
209
|
|
|
171
|
-
export declare const
|
|
210
|
+
export declare const iconsMap: Record<string, string>;
|
|
172
211
|
|
|
173
212
|
declare type Status = keyof typeof statusOptions;
|
|
174
213
|
|