@choosemycompany/ui 0.20.2 → 0.21.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/assets/index.css +1 -1
- package/dist/index.d.ts +14 -2
- package/dist/index.js +601 -604
- package/dist/index.umd.js +6 -6
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ declare const __VLS_component: DefineComponent<Props_3, {}, {}, {}, {}, Componen
|
|
|
18
18
|
onClick?: (() => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
loading: boolean;
|
|
21
|
+
type: ButtonType;
|
|
21
22
|
disabled: boolean;
|
|
22
23
|
kind: ButtonKind;
|
|
23
24
|
variant: ButtonVariant;
|
|
@@ -44,6 +45,7 @@ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_3, {}, {}, {}
|
|
|
44
45
|
disabled: boolean;
|
|
45
46
|
variant: InputVariant;
|
|
46
47
|
size: InputSize;
|
|
48
|
+
invalid: boolean;
|
|
47
49
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
48
50
|
|
|
49
51
|
declare const __VLS_component_5: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -62,7 +64,7 @@ declare type __VLS_Props_10 = {
|
|
|
62
64
|
placeholder?: string;
|
|
63
65
|
required?: boolean;
|
|
64
66
|
disabled?: boolean;
|
|
65
|
-
|
|
67
|
+
invalid?: boolean;
|
|
66
68
|
variant?: SelectVariant;
|
|
67
69
|
description?: string;
|
|
68
70
|
width?: number;
|
|
@@ -129,7 +131,7 @@ declare type __VLS_Props_6 = {
|
|
|
129
131
|
placeholder?: string;
|
|
130
132
|
required?: boolean;
|
|
131
133
|
disabled?: boolean;
|
|
132
|
-
|
|
134
|
+
invalid?: boolean;
|
|
133
135
|
type?: InputType;
|
|
134
136
|
variant?: InputVariant;
|
|
135
137
|
size?: InputSize;
|
|
@@ -315,6 +317,14 @@ export declare const buttonSizeOptions: {
|
|
|
315
317
|
readonly medium: "medium";
|
|
316
318
|
};
|
|
317
319
|
|
|
320
|
+
declare type ButtonType = keyof typeof buttonTypeOptions;
|
|
321
|
+
|
|
322
|
+
declare const buttonTypeOptions: {
|
|
323
|
+
readonly button: "button";
|
|
324
|
+
readonly submit: "submit";
|
|
325
|
+
readonly reset: "reset";
|
|
326
|
+
};
|
|
327
|
+
|
|
318
328
|
declare type ButtonVariant = keyof typeof buttonVariantOptions;
|
|
319
329
|
|
|
320
330
|
export declare const buttonVariantOptions: {
|
|
@@ -424,6 +434,7 @@ export declare const CmcSelect: DefineComponent<__VLS_PublicProps_5, {}, {}, {},
|
|
|
424
434
|
required: boolean;
|
|
425
435
|
disabled: boolean;
|
|
426
436
|
variant: SelectVariant;
|
|
437
|
+
invalid: boolean;
|
|
427
438
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
428
439
|
|
|
429
440
|
export declare const CmcStatus: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {
|
|
@@ -556,6 +567,7 @@ declare interface Props_3 extends Omit<ButtonProp_2, "text"> {
|
|
|
556
567
|
kind?: ButtonKind;
|
|
557
568
|
variant?: ButtonVariant;
|
|
558
569
|
size?: ButtonSize;
|
|
570
|
+
type?: ButtonType;
|
|
559
571
|
}
|
|
560
572
|
|
|
561
573
|
declare interface Props_4 {
|