@choosemycompany/ui 0.9.2 → 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 +53 -10
- package/dist/index.js +2033 -1949
- package/dist/index.umd.js +5 -5
- package/package.json +1 -1
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';
|
|
@@ -54,18 +55,25 @@ declare type __VLS_Props_11 = {
|
|
|
54
55
|
itemsPerPage: number;
|
|
55
56
|
currentPage: number;
|
|
56
57
|
rows?: Row_2[];
|
|
57
|
-
columns?:
|
|
58
|
+
columns?: ColumnDefinition_3[];
|
|
58
59
|
totalItems?: number;
|
|
59
60
|
emptyText?: string;
|
|
60
61
|
};
|
|
61
62
|
|
|
62
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 = {
|
|
63
71
|
steps: Step[];
|
|
64
72
|
current: number;
|
|
65
73
|
clickable?: boolean;
|
|
66
74
|
};
|
|
67
75
|
|
|
68
|
-
declare type
|
|
76
|
+
declare type __VLS_Props_14 = {
|
|
69
77
|
items: string[];
|
|
70
78
|
label?: string;
|
|
71
79
|
loading?: boolean;
|
|
@@ -103,6 +111,7 @@ declare type __VLS_Props_6 = {
|
|
|
103
111
|
type?: InputTextType;
|
|
104
112
|
variant?: InputTextVariant;
|
|
105
113
|
size?: InputTextSize;
|
|
114
|
+
description?: string;
|
|
106
115
|
};
|
|
107
116
|
|
|
108
117
|
declare type __VLS_Props_7 = {
|
|
@@ -114,6 +123,7 @@ declare type __VLS_Props_7 = {
|
|
|
114
123
|
disabled?: boolean;
|
|
115
124
|
errorMessage?: string;
|
|
116
125
|
variant?: SelectVariant;
|
|
126
|
+
description?: string;
|
|
117
127
|
};
|
|
118
128
|
|
|
119
129
|
declare type __VLS_Props_8 = {
|
|
@@ -257,7 +267,7 @@ export declare const buttonVariantOptions: {
|
|
|
257
267
|
readonly danger: "danger";
|
|
258
268
|
};
|
|
259
269
|
|
|
260
|
-
export declare const CmcAutocomplete: DefineComponent<
|
|
270
|
+
export declare const CmcAutocomplete: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
|
|
261
271
|
loading: boolean;
|
|
262
272
|
placeholder: string;
|
|
263
273
|
label: string;
|
|
@@ -280,6 +290,16 @@ export declare const CmcInputText: __VLS_WithTemplateSlots_4<typeof __VLS_compon
|
|
|
280
290
|
|
|
281
291
|
export declare const CmcLoading: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLImageElement>;
|
|
282
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
|
+
|
|
283
303
|
export declare const CmcPagination: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
284
304
|
"update:currentPage": (page: number) => any;
|
|
285
305
|
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
@@ -312,7 +332,7 @@ export declare const CmcStatus: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, C
|
|
|
312
332
|
export declare const CmcTable: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {
|
|
313
333
|
rows: Row[];
|
|
314
334
|
emptyText: string;
|
|
315
|
-
columns:
|
|
335
|
+
columns: ColumnDefinition_2[];
|
|
316
336
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLTableElement>;
|
|
317
337
|
|
|
318
338
|
export declare const CmcTablePagination: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -323,17 +343,19 @@ export declare const CmcTablePagination: DefineComponent<__VLS_Props_11, {}, {},
|
|
|
323
343
|
currentPage: number;
|
|
324
344
|
itemsPerPage: number;
|
|
325
345
|
rows: Row_2[];
|
|
326
|
-
columns:
|
|
346
|
+
columns: ColumnDefinition_3[];
|
|
327
347
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
328
348
|
|
|
329
349
|
export declare const CmcTitle: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
330
350
|
|
|
331
|
-
export declare const CmcWizard: DefineComponent<
|
|
351
|
+
export declare const CmcWizard: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
332
352
|
"update:current": (value: number) => any;
|
|
333
|
-
}, string, PublicProps, Readonly<
|
|
353
|
+
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
334
354
|
"onUpdate:current"?: ((value: number) => any) | undefined;
|
|
335
355
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
336
356
|
|
|
357
|
+
export { ColumnDefinition }
|
|
358
|
+
|
|
337
359
|
export declare const headingLevelOptions: {
|
|
338
360
|
readonly h1: "h1";
|
|
339
361
|
readonly h2: "h2";
|
|
@@ -375,9 +397,30 @@ export declare const inputTextVariantOptions: {
|
|
|
375
397
|
readonly underline: "underline";
|
|
376
398
|
};
|
|
377
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
|
+
|
|
378
421
|
declare type Props<TRow extends Row = Row> = {
|
|
379
422
|
rows?: TRow[];
|
|
380
|
-
columns?:
|
|
423
|
+
columns?: ColumnDefinition_2[];
|
|
381
424
|
emptyText?: string;
|
|
382
425
|
};
|
|
383
426
|
|