@choosemycompany/ui 0.21.0 → 0.21.2

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
@@ -50,6 +50,14 @@ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_3, {}, {}, {}
50
50
 
51
51
  declare const __VLS_component_5: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
52
52
 
53
+ declare const __VLS_component_6: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
54
+ submit: () => any;
55
+ }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
56
+ onSubmit?: (() => any) | undefined;
57
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
58
+
59
+ declare const __VLS_component_7: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
60
+
53
61
  declare type __VLS_Props = {
54
62
  title: string;
55
63
  message: string;
@@ -99,6 +107,14 @@ declare type __VLS_Props_15 = {
99
107
  clickable?: boolean;
100
108
  };
101
109
 
110
+ declare type __VLS_Props_16 = {
111
+ errors: ErrorItem[];
112
+ };
113
+
114
+ declare type __VLS_Props_17 = {
115
+ errorMessage?: string;
116
+ };
117
+
102
118
  declare type __VLS_Props_2 = {
103
119
  items: AutocompleteItem[];
104
120
  label?: string;
@@ -237,6 +253,26 @@ declare function __VLS_template_5(): {
237
253
  rootEl: any;
238
254
  };
239
255
 
256
+ declare function __VLS_template_6(): {
257
+ attrs: Partial<{}>;
258
+ slots: {
259
+ header?(_: {}): any;
260
+ fields?(_: {}): any;
261
+ actions?(_: {}): any;
262
+ };
263
+ refs: {};
264
+ rootEl: HTMLDivElement;
265
+ };
266
+
267
+ declare function __VLS_template_7(): {
268
+ attrs: Partial<{}>;
269
+ slots: {
270
+ default?(_: {}): any;
271
+ };
272
+ refs: {};
273
+ rootEl: HTMLDivElement;
274
+ };
275
+
240
276
  declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
241
277
 
242
278
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
@@ -247,6 +283,10 @@ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
247
283
 
248
284
  declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
249
285
 
286
+ declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
287
+
288
+ declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
289
+
250
290
  declare type __VLS_WithTemplateSlots<T, S> = T & {
251
291
  new (): {
252
292
  $slots: S;
@@ -277,6 +317,18 @@ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
277
317
  };
278
318
  };
279
319
 
320
+ declare type __VLS_WithTemplateSlots_6<T, S> = T & {
321
+ new (): {
322
+ $slots: S;
323
+ };
324
+ };
325
+
326
+ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
327
+ new (): {
328
+ $slots: S;
329
+ };
330
+ };
331
+
280
332
  declare type AutocompleteItem = {
281
333
  label: string;
282
334
  value: string;
@@ -390,6 +442,10 @@ export declare const CmcCheckbox: DefineComponent<__VLS_PublicProps_2, {}, {}, {
390
442
  disabled: boolean;
391
443
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
392
444
 
445
+ export declare const CmcForm: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
446
+
447
+ export declare const CmcFormField: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
448
+
393
449
  export declare const CmcHeading: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
394
450
 
395
451
  export declare const CmcIcon: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{}>, {
@@ -478,6 +534,11 @@ export declare const CmcWizard: DefineComponent<__VLS_Props_15, {}, {}, {}, {},
478
534
 
479
535
  export { ColumnDefinition }
480
536
 
537
+ declare type ErrorItem = {
538
+ field: string;
539
+ message: string;
540
+ };
541
+
481
542
  export declare const headingLevelOptions: {
482
543
  readonly h1: "h1";
483
544
  readonly h2: "h2";