@choosemycompany/ui 0.9.1 → 0.9.3
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 +64 -20
- package/dist/index.js +2041 -1953
- package/dist/index.umd.js +5 -5
- package/package.json +22 -17
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { ColumnDefinition } from './CmcTable
|
|
2
|
-
import { ColumnDefinition as ColumnDefinition_2 } from '
|
|
1
|
+
import { ColumnDefinition } from './components/Molecules/CmcTable/CmcTable';
|
|
2
|
+
import { ColumnDefinition as ColumnDefinition_2 } from './CmcTable.d.ts';
|
|
3
|
+
import { ColumnDefinition as ColumnDefinition_3 } from '../../Molecules/CmcTable/CmcTable';
|
|
3
4
|
import { ComponentOptionsMixin } from 'vue';
|
|
4
5
|
import { ComponentProvideOptions } from 'vue';
|
|
5
6
|
import { DefineComponent } from 'vue';
|
|
@@ -40,30 +41,39 @@ declare const __VLS_component_5: DefineComponent<__VLS_Props_8, {}, {}, {}, {},
|
|
|
40
41
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
41
42
|
|
|
42
43
|
declare type __VLS_Props = {
|
|
43
|
-
kind
|
|
44
|
-
variant
|
|
45
|
-
size
|
|
44
|
+
kind?: ButtonKind;
|
|
45
|
+
variant?: ButtonVariant;
|
|
46
|
+
size?: ButtonSize;
|
|
46
47
|
icon?: IconName;
|
|
47
|
-
disabled
|
|
48
|
-
loading
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
loading?: boolean;
|
|
49
50
|
};
|
|
50
51
|
|
|
51
52
|
declare type __VLS_Props_10 = Props;
|
|
52
53
|
|
|
53
54
|
declare type __VLS_Props_11 = {
|
|
54
|
-
rows?: Row_2[];
|
|
55
|
-
columns?: ColumnDefinition_2[];
|
|
56
55
|
itemsPerPage: number;
|
|
57
56
|
currentPage: number;
|
|
57
|
+
rows?: Row_2[];
|
|
58
|
+
columns?: ColumnDefinition_3[];
|
|
59
|
+
totalItems?: number;
|
|
60
|
+
emptyText?: string;
|
|
58
61
|
};
|
|
59
62
|
|
|
60
63
|
declare type __VLS_Props_12 = {
|
|
64
|
+
href?: string;
|
|
65
|
+
variant?: LogoVariant;
|
|
66
|
+
language?: LogoLanguage;
|
|
67
|
+
size?: LogoSize;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
declare type __VLS_Props_13 = {
|
|
61
71
|
steps: Step[];
|
|
62
72
|
current: number;
|
|
63
73
|
clickable?: boolean;
|
|
64
74
|
};
|
|
65
75
|
|
|
66
|
-
declare type
|
|
76
|
+
declare type __VLS_Props_14 = {
|
|
67
77
|
items: string[];
|
|
68
78
|
label?: string;
|
|
69
79
|
loading?: boolean;
|
|
@@ -76,7 +86,7 @@ declare type __VLS_Props_2 = {
|
|
|
76
86
|
};
|
|
77
87
|
|
|
78
88
|
declare type __VLS_Props_3 = {
|
|
79
|
-
text
|
|
89
|
+
text: string;
|
|
80
90
|
status?: Status;
|
|
81
91
|
};
|
|
82
92
|
|
|
@@ -101,17 +111,19 @@ declare type __VLS_Props_6 = {
|
|
|
101
111
|
type?: InputTextType;
|
|
102
112
|
variant?: InputTextVariant;
|
|
103
113
|
size?: InputTextSize;
|
|
114
|
+
description?: string;
|
|
104
115
|
};
|
|
105
116
|
|
|
106
117
|
declare type __VLS_Props_7 = {
|
|
107
118
|
id: string;
|
|
119
|
+
options: SelectOption[];
|
|
108
120
|
label?: string;
|
|
109
121
|
placeholder?: string;
|
|
110
122
|
required?: boolean;
|
|
111
123
|
disabled?: boolean;
|
|
112
124
|
errorMessage?: string;
|
|
113
125
|
variant?: SelectVariant;
|
|
114
|
-
|
|
126
|
+
description?: string;
|
|
115
127
|
};
|
|
116
128
|
|
|
117
129
|
declare type __VLS_Props_8 = {
|
|
@@ -255,7 +267,7 @@ export declare const buttonVariantOptions: {
|
|
|
255
267
|
readonly danger: "danger";
|
|
256
268
|
};
|
|
257
269
|
|
|
258
|
-
export declare const CmcAutocomplete: DefineComponent<
|
|
270
|
+
export declare const CmcAutocomplete: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
|
|
259
271
|
loading: boolean;
|
|
260
272
|
placeholder: string;
|
|
261
273
|
label: string;
|
|
@@ -278,6 +290,16 @@ export declare const CmcInputText: __VLS_WithTemplateSlots_4<typeof __VLS_compon
|
|
|
278
290
|
|
|
279
291
|
export declare const CmcLoading: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLImageElement>;
|
|
280
292
|
|
|
293
|
+
export declare const CmcLogo: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
294
|
+
click: () => any;
|
|
295
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
296
|
+
onClick?: (() => any) | undefined;
|
|
297
|
+
}>, {
|
|
298
|
+
variant: LogoVariant;
|
|
299
|
+
size: LogoSize;
|
|
300
|
+
language: LogoLanguage;
|
|
301
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLAnchorElement>;
|
|
302
|
+
|
|
281
303
|
export declare const CmcPagination: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
282
304
|
"update:currentPage": (page: number) => any;
|
|
283
305
|
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
@@ -304,14 +326,13 @@ export declare const CmcSelect: DefineComponent<__VLS_PublicProps_3, {}, {}, {},
|
|
|
304
326
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
305
327
|
|
|
306
328
|
export declare const CmcStatus: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {
|
|
307
|
-
text: string;
|
|
308
329
|
status: Status;
|
|
309
330
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
310
331
|
|
|
311
332
|
export declare const CmcTable: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {
|
|
312
333
|
rows: Row[];
|
|
313
334
|
emptyText: string;
|
|
314
|
-
columns:
|
|
335
|
+
columns: ColumnDefinition_2[];
|
|
315
336
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLTableElement>;
|
|
316
337
|
|
|
317
338
|
export declare const CmcTablePagination: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -322,17 +343,19 @@ export declare const CmcTablePagination: DefineComponent<__VLS_Props_11, {}, {},
|
|
|
322
343
|
currentPage: number;
|
|
323
344
|
itemsPerPage: number;
|
|
324
345
|
rows: Row_2[];
|
|
325
|
-
columns:
|
|
326
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {},
|
|
346
|
+
columns: ColumnDefinition_3[];
|
|
347
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
327
348
|
|
|
328
349
|
export declare const CmcTitle: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
329
350
|
|
|
330
|
-
export declare const CmcWizard: DefineComponent<
|
|
351
|
+
export declare const CmcWizard: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
331
352
|
"update:current": (value: number) => any;
|
|
332
|
-
}, string, PublicProps, Readonly<
|
|
353
|
+
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
333
354
|
"onUpdate:current"?: ((value: number) => any) | undefined;
|
|
334
355
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
335
356
|
|
|
357
|
+
export { ColumnDefinition }
|
|
358
|
+
|
|
336
359
|
export declare const headingLevelOptions: {
|
|
337
360
|
readonly h1: "h1";
|
|
338
361
|
readonly h2: "h2";
|
|
@@ -374,9 +397,30 @@ export declare const inputTextVariantOptions: {
|
|
|
374
397
|
readonly underline: "underline";
|
|
375
398
|
};
|
|
376
399
|
|
|
400
|
+
declare type LogoLanguage = keyof typeof logoLanguageOptions;
|
|
401
|
+
|
|
402
|
+
declare const logoLanguageOptions: {
|
|
403
|
+
readonly en_US: "en_US";
|
|
404
|
+
readonly fr_FR: "fr_FR";
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
declare type LogoSize = keyof typeof logoSizeOptions;
|
|
408
|
+
|
|
409
|
+
declare const logoSizeOptions: {
|
|
410
|
+
readonly medium: "medium";
|
|
411
|
+
readonly large: "large";
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
declare type LogoVariant = keyof typeof logoVariantOptions;
|
|
415
|
+
|
|
416
|
+
declare const logoVariantOptions: {
|
|
417
|
+
readonly color: "color";
|
|
418
|
+
readonly white: "white";
|
|
419
|
+
};
|
|
420
|
+
|
|
377
421
|
declare type Props<TRow extends Row = Row> = {
|
|
378
422
|
rows?: TRow[];
|
|
379
|
-
columns?:
|
|
423
|
+
columns?: ColumnDefinition_2[];
|
|
380
424
|
emptyText?: string;
|
|
381
425
|
};
|
|
382
426
|
|