@choosemycompany/ui 0.12.0 → 0.13.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
@@ -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
  };
@@ -163,6 +170,10 @@ declare type __VLS_PublicProps_5 = {
163
170
  modelValue?: string;
164
171
  } & __VLS_Props_15;
165
172
 
173
+ declare type __VLS_PublicProps_6 = {
174
+ modelValue?: boolean;
175
+ } & __VLS_Props_16;
176
+
166
177
  declare function __VLS_template(): {
167
178
  attrs: Partial<{}>;
168
179
  slots: {
@@ -178,9 +189,6 @@ declare function __VLS_template_2(): {
178
189
  default?(_: {}): any;
179
190
  default?(_: {}): any;
180
191
  default?(_: {}): any;
181
- default?(_: {}): any;
182
- default?(_: {}): any;
183
- default?(_: {}): any;
184
192
  };
185
193
  refs: {};
186
194
  rootEl: any;
@@ -375,6 +383,16 @@ export declare const CmcTablePagination: DefineComponent<__VLS_Props_12, {}, {},
375
383
 
376
384
  export declare const CmcTitle: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
377
385
 
386
+ export declare const CmcToggle: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
387
+ "update:modelValue": (value: boolean) => any;
388
+ }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
389
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
390
+ }>, {
391
+ required: boolean;
392
+ size: ToggleSize;
393
+ disabled: boolean;
394
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
395
+
378
396
  export declare const CmcWizard: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
379
397
  "update:current": (value: number) => any;
380
398
  }, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
@@ -387,9 +405,6 @@ export declare const headingLevelOptions: {
387
405
  readonly h1: "h1";
388
406
  readonly h2: "h2";
389
407
  readonly h3: "h3";
390
- readonly h4: "h4";
391
- readonly h5: "h5";
392
- readonly h6: "h6";
393
408
  };
394
409
 
395
410
  declare type HeadingLevels = keyof typeof headingLevelOptions;
@@ -453,7 +468,7 @@ declare type Props<TRow extends Row = Row> = {
453
468
  emptyText?: string;
454
469
  };
455
470
 
456
- declare interface SelectOption {
471
+ export declare interface SelectOption {
457
472
  value: string | number;
458
473
  label: string;
459
474
  disabled?: boolean;
@@ -475,4 +490,11 @@ declare type Step = {
475
490
  label: string;
476
491
  };
477
492
 
493
+ declare type ToggleSize = keyof typeof toggleSizeOptions;
494
+
495
+ declare const toggleSizeOptions: {
496
+ readonly small: "small";
497
+ readonly medium: "medium";
498
+ };
499
+
478
500
  export { }