@choosemycompany/ui 0.9.2 → 0.10.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/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { ColumnDefinition } from './CmcTable.d.ts';
2
- import { ColumnDefinition as ColumnDefinition_2 } from '../../Molecules/CmcTable/CmcTable';
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';
@@ -28,10 +29,10 @@ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_2, {}, {}, {}
28
29
  }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
29
30
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
30
31
  }>, {
31
- type: InputTextType;
32
+ type: inputType;
32
33
  required: boolean;
33
- variant: InputTextVariant;
34
- size: InputTextSize;
34
+ variant: inputVariant;
35
+ size: inputSize;
35
36
  disabled: boolean;
36
37
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
37
38
 
@@ -54,18 +55,25 @@ declare type __VLS_Props_11 = {
54
55
  itemsPerPage: number;
55
56
  currentPage: number;
56
57
  rows?: Row_2[];
57
- columns?: ColumnDefinition_2[];
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 __VLS_Props_13 = {
76
+ declare type __VLS_Props_14 = {
69
77
  items: string[];
70
78
  label?: string;
71
79
  loading?: boolean;
@@ -88,8 +96,8 @@ declare type __VLS_Props_4 = {
88
96
  };
89
97
 
90
98
  declare type __VLS_Props_5 = {
91
- size?: InputTextSize;
92
- variant?: InputTextVariant;
99
+ size?: inputSize;
100
+ variant?: inputVariant;
93
101
  placeholder?: string;
94
102
  };
95
103
 
@@ -100,9 +108,10 @@ declare type __VLS_Props_6 = {
100
108
  required?: boolean;
101
109
  disabled?: boolean;
102
110
  errorMessage?: string;
103
- type?: InputTextType;
104
- variant?: InputTextVariant;
105
- size?: InputTextSize;
111
+ type?: inputType;
112
+ variant?: inputVariant;
113
+ size?: inputSize;
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<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {
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;
@@ -276,10 +286,20 @@ export declare const CmcIcon: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, Com
276
286
  name: IconName;
277
287
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
278
288
 
279
- export declare const CmcInputText: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
289
+ export declare const CmcInput: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
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<{
@@ -292,7 +312,7 @@ export declare const CmcSearch: DefineComponent<__VLS_PublicProps, {}, {}, {}, {
292
312
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
293
313
  }>, {
294
314
  placeholder: string;
295
- size: InputTextSize;
315
+ size: inputSize;
296
316
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
297
317
 
298
318
  export declare const CmcSelect: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -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: ColumnDefinition[];
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: ColumnDefinition_2[];
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<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
351
+ export declare const CmcWizard: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
332
352
  "update:current": (value: number) => any;
333
- }, string, PublicProps, Readonly<__VLS_Props_12> & 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";
@@ -353,31 +375,53 @@ declare type IconName = keyof typeof iconNameOptions;
353
375
 
354
376
  export declare const iconNameOptions: Record<string, string>;
355
377
 
356
- declare type InputTextSize = keyof typeof inputTextSizeOptions;
378
+ declare type inputSize = keyof typeof inputSizeOptions;
357
379
 
358
- export declare const inputTextSizeOptions: {
380
+ export declare const inputSizeOptions: {
359
381
  readonly small: "small";
360
382
  readonly medium: "medium";
361
383
  };
362
384
 
363
- declare type InputTextType = keyof typeof inputTextTypeOptions;
385
+ declare type inputType = keyof typeof inputTypeOptions;
364
386
 
365
- export declare const inputTextTypeOptions: {
387
+ export declare const inputTypeOptions: {
366
388
  readonly text: "text";
389
+ readonly number: "number";
367
390
  readonly search: "search";
368
391
  };
369
392
 
370
- declare type InputTextVariant = keyof typeof inputTextVariantOptions;
393
+ declare type inputVariant = keyof typeof inputVariantOptions;
371
394
 
372
- export declare const inputTextVariantOptions: {
395
+ export declare const inputVariantOptions: {
373
396
  readonly outlined: "outlined";
374
397
  readonly filled: "filled";
375
398
  readonly underline: "underline";
376
399
  };
377
400
 
401
+ declare type LogoLanguage = keyof typeof logoLanguageOptions;
402
+
403
+ declare const logoLanguageOptions: {
404
+ readonly en_US: "en_US";
405
+ readonly fr_FR: "fr_FR";
406
+ };
407
+
408
+ declare type LogoSize = keyof typeof logoSizeOptions;
409
+
410
+ declare const logoSizeOptions: {
411
+ readonly medium: "medium";
412
+ readonly large: "large";
413
+ };
414
+
415
+ declare type LogoVariant = keyof typeof logoVariantOptions;
416
+
417
+ declare const logoVariantOptions: {
418
+ readonly color: "color";
419
+ readonly white: "white";
420
+ };
421
+
378
422
  declare type Props<TRow extends Row = Row> = {
379
423
  rows?: TRow[];
380
- columns?: ColumnDefinition[];
424
+ columns?: ColumnDefinition_2[];
381
425
  emptyText?: string;
382
426
  };
383
427