@choosemycompany/ui 0.15.8 → 0.17.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,3 +1,6 @@
1
+ import { AlertStatus } from './CmcAlert';
2
+ import { ButtonProp } from '../../cmcTypes';
3
+ import { ButtonProp as ButtonProp_2 } from '../../../../../../../src/components/cmcTypes';
1
4
  import { ColumnDefinition } from './components/Molecules/CmcTable/CmcTable';
2
5
  import { ColumnDefinition as ColumnDefinition_2 } from './CmcTable.d.ts';
3
6
  import { ColumnDefinition as ColumnDefinition_3 } from '../../Molecules/CmcTable/CmcTable';
@@ -8,25 +11,26 @@ import { PublicProps } from 'vue';
8
11
  import { Row } from './CmcTable.d.ts';
9
12
  import { Row as Row_2 } from '../../Molecules/CmcTable/CmcTable';
10
13
 
11
- declare const __VLS_component: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
14
+ declare const __VLS_component: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
12
15
  click: () => any;
13
- }, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
16
+ }, string, PublicProps, Readonly<Props_2> & Readonly<{
14
17
  onClick?: (() => any) | undefined;
15
18
  }>, {
19
+ loading: boolean;
16
20
  disabled: boolean;
21
+ kind: ButtonKind;
17
22
  variant: ButtonVariant;
18
23
  size: ButtonSize;
19
- loading: boolean;
20
- kind: ButtonKind;
21
24
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
22
25
 
23
26
  declare const __VLS_component_2: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {
24
27
  gap: ButtonGroupGap;
25
28
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
26
29
 
27
- declare const __VLS_component_3: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {
28
- margin: boolean;
30
+ declare const __VLS_component_3: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_3> & Readonly<{}>, {
31
+ color: string;
29
32
  level: HeadingLevels;
33
+ margin: boolean;
30
34
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
31
35
 
32
36
  declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -34,9 +38,9 @@ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_3, {}, {}, {}
34
38
  }, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
35
39
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
36
40
  }>, {
41
+ type: inputType;
37
42
  required: boolean;
38
43
  disabled: boolean;
39
- type: inputType;
40
44
  variant: inputVariant;
41
45
  size: inputSize;
42
46
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -44,11 +48,10 @@ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_3, {}, {}, {}
44
48
  declare const __VLS_component_5: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
45
49
 
46
50
  declare type __VLS_Props = {
47
- items: string[];
48
- label?: string;
49
- loading?: boolean;
50
- placeholder?: string;
51
- emptyValue?: string;
51
+ title: string;
52
+ message: string;
53
+ status: AlertStatus;
54
+ button?: ButtonProp;
52
55
  };
53
56
 
54
57
  declare type __VLS_Props_10 = {
@@ -68,7 +71,7 @@ declare type __VLS_Props_11 = {
68
71
  status?: Status;
69
72
  };
70
73
 
71
- declare type __VLS_Props_12 = Props_2;
74
+ declare type __VLS_Props_12 = Props_4;
72
75
 
73
76
  declare type __VLS_Props_13 = {
74
77
  itemsPerPage: number;
@@ -93,12 +96,11 @@ declare type __VLS_Props_15 = {
93
96
  };
94
97
 
95
98
  declare type __VLS_Props_2 = {
96
- kind?: ButtonKind;
97
- variant?: ButtonVariant;
98
- size?: ButtonSize;
99
- icon?: IconName;
100
- disabled?: boolean;
99
+ items: string[];
100
+ label?: string;
101
101
  loading?: boolean;
102
+ placeholder?: string;
103
+ emptyValue?: string;
102
104
  };
103
105
 
104
106
  declare type __VLS_Props_3 = {
@@ -153,7 +155,7 @@ declare type __VLS_Props_9 = {
153
155
 
154
156
  declare type __VLS_PublicProps = {
155
157
  modelValue?: string;
156
- } & __VLS_Props;
158
+ } & __VLS_Props_2;
157
159
 
158
160
  declare type __VLS_PublicProps_2 = {
159
161
  modelValue?: boolean;
@@ -200,6 +202,7 @@ declare function __VLS_template_3(): {
200
202
  default?(_: {}): any;
201
203
  default?(_: {}): any;
202
204
  default?(_: {}): any;
205
+ default?(_: {}): any;
203
206
  };
204
207
  refs: {};
205
208
  rootEl: any;
@@ -264,6 +267,14 @@ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
264
267
  };
265
268
  };
266
269
 
270
+ declare type BadgePillStatus = keyof typeof badgePillStatusOptions;
271
+
272
+ declare const badgePillStatusOptions: {
273
+ readonly limited: "limited";
274
+ readonly completed: "completed";
275
+ readonly info: "info";
276
+ };
277
+
267
278
  declare type ButtonGroupGap = keyof typeof buttonGroupGapOptions;
268
279
 
269
280
  declare const buttonGroupGapOptions: {
@@ -300,19 +311,27 @@ declare interface CertificateProps {
300
311
  height: number;
301
312
  }
302
313
 
314
+ export declare const CmcAlert: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
315
+ click: () => any;
316
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
317
+ onClick?: (() => any) | undefined;
318
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
319
+
303
320
  export declare const CmcAutocomplete: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
304
321
  "update:modelValue": (...args: any[]) => void;
305
322
  }, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
306
323
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
307
324
  }>, {
308
- label: string;
309
- placeholder: string;
310
325
  loading: boolean;
326
+ placeholder: string;
327
+ label: string;
311
328
  emptyValue: string;
312
329
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
313
330
  autocompleteRef: HTMLDivElement;
314
331
  }, HTMLDivElement>;
315
332
 
333
+ export declare const CmcBadgePill: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
334
+
316
335
  export declare const CmcButton: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
317
336
 
318
337
  export declare const CmcButtonGroup: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
@@ -426,6 +445,7 @@ export declare const headingLevelOptions: {
426
445
  readonly h2: "h2";
427
446
  readonly h3: "h3";
428
447
  readonly h4: "h4";
448
+ readonly h5: "h5";
429
449
  };
430
450
 
431
451
  declare type HeadingLevels = keyof typeof headingLevelOptions;
@@ -496,11 +516,23 @@ export declare const primaryTypeOptions: {
496
516
  };
497
517
 
498
518
  declare interface Props {
499
- margin?: boolean;
519
+ label: string;
520
+ status: BadgePillStatus;
521
+ }
522
+
523
+ declare interface Props_2 extends Omit<ButtonProp_2, "text"> {
524
+ kind?: ButtonKind;
525
+ variant?: ButtonVariant;
526
+ size?: ButtonSize;
527
+ }
528
+
529
+ declare interface Props_3 {
500
530
  level: HeadingLevels;
531
+ color?: string;
532
+ margin?: boolean;
501
533
  }
502
534
 
503
- declare type Props_2<TRow extends Row = Row> = {
535
+ declare type Props_4<TRow extends Row = Row> = {
504
536
  rows?: TRow[];
505
537
  columns?: ColumnDefinition_2[];
506
538
  emptyText?: string;