@choosemycompany/ui 0.11.1 → 0.12.1

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
@@ -25,9 +25,9 @@ declare const __VLS_component_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {},
25
25
  declare const __VLS_component_3: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
26
26
 
27
27
  declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
28
- "update:modelValue": (value: string | number) => any;
28
+ "update:modelValue": (...args: any[]) => void;
29
29
  }, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
30
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
30
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
31
31
  }>, {
32
32
  type: inputType;
33
33
  required: boolean;
@@ -88,6 +88,13 @@ declare type __VLS_Props_15 = {
88
88
  emptyValue?: string;
89
89
  };
90
90
 
91
+ declare type __VLS_Props_16 = {
92
+ id?: string;
93
+ disabled?: boolean;
94
+ required?: boolean;
95
+ size?: ToggleSize;
96
+ };
97
+
91
98
  declare type __VLS_Props_2 = {
92
99
  level: HeadingLevels;
93
100
  };
@@ -159,6 +166,14 @@ declare type __VLS_PublicProps_4 = {
159
166
  modelValue?: boolean;
160
167
  } & __VLS_Props_8;
161
168
 
169
+ declare type __VLS_PublicProps_5 = {
170
+ modelValue?: string;
171
+ } & __VLS_Props_15;
172
+
173
+ declare type __VLS_PublicProps_6 = {
174
+ modelValue?: boolean;
175
+ } & __VLS_Props_16;
176
+
162
177
  declare function __VLS_template(): {
163
178
  attrs: Partial<{}>;
164
179
  slots: {
@@ -277,7 +292,11 @@ export declare const buttonVariantOptions: {
277
292
  readonly danger: "danger";
278
293
  };
279
294
 
280
- export declare const CmcAutocomplete: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {
295
+ export declare const CmcAutocomplete: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
296
+ "update:modelValue": (...args: any[]) => void;
297
+ }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
298
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
299
+ }>, {
281
300
  loading: boolean;
282
301
  placeholder: string;
283
302
  label: string;
@@ -367,6 +386,16 @@ export declare const CmcTablePagination: DefineComponent<__VLS_Props_12, {}, {},
367
386
 
368
387
  export declare const CmcTitle: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
369
388
 
389
+ export declare const CmcToggle: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
390
+ "update:modelValue": (value: boolean) => any;
391
+ }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
392
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
393
+ }>, {
394
+ required: boolean;
395
+ size: ToggleSize;
396
+ disabled: boolean;
397
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
398
+
370
399
  export declare const CmcWizard: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
371
400
  "update:current": (value: number) => any;
372
401
  }, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
@@ -406,6 +435,7 @@ declare type inputType = keyof typeof inputTypeOptions;
406
435
  export declare const inputTypeOptions: {
407
436
  readonly text: "text";
408
437
  readonly number: "number";
438
+ readonly date: "date";
409
439
  readonly search: "search";
410
440
  };
411
441
 
@@ -444,7 +474,7 @@ declare type Props<TRow extends Row = Row> = {
444
474
  emptyText?: string;
445
475
  };
446
476
 
447
- declare interface SelectOption {
477
+ export declare interface SelectOption {
448
478
  value: string | number;
449
479
  label: string;
450
480
  disabled?: boolean;
@@ -466,4 +496,11 @@ declare type Step = {
466
496
  label: string;
467
497
  };
468
498
 
499
+ declare type ToggleSize = keyof typeof toggleSizeOptions;
500
+
501
+ declare const toggleSizeOptions: {
502
+ readonly small: "small";
503
+ readonly medium: "medium";
504
+ };
505
+
469
506
  export { }