@choosemycompany/ui 0.20.1 → 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 +15 -2
- package/dist/index.js +604 -605
- 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,13 +131,14 @@ 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;
|
|
136
138
|
description?: string;
|
|
137
139
|
min?: number;
|
|
138
140
|
max?: number;
|
|
141
|
+
step?: number;
|
|
139
142
|
};
|
|
140
143
|
|
|
141
144
|
declare type __VLS_Props_7 = {
|
|
@@ -314,6 +317,14 @@ export declare const buttonSizeOptions: {
|
|
|
314
317
|
readonly medium: "medium";
|
|
315
318
|
};
|
|
316
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
|
+
|
|
317
328
|
declare type ButtonVariant = keyof typeof buttonVariantOptions;
|
|
318
329
|
|
|
319
330
|
export declare const buttonVariantOptions: {
|
|
@@ -423,6 +434,7 @@ export declare const CmcSelect: DefineComponent<__VLS_PublicProps_5, {}, {}, {},
|
|
|
423
434
|
required: boolean;
|
|
424
435
|
disabled: boolean;
|
|
425
436
|
variant: SelectVariant;
|
|
437
|
+
invalid: boolean;
|
|
426
438
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
427
439
|
|
|
428
440
|
export declare const CmcStatus: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {
|
|
@@ -555,6 +567,7 @@ declare interface Props_3 extends Omit<ButtonProp_2, "text"> {
|
|
|
555
567
|
kind?: ButtonKind;
|
|
556
568
|
variant?: ButtonVariant;
|
|
557
569
|
size?: ButtonSize;
|
|
570
|
+
type?: ButtonType;
|
|
558
571
|
}
|
|
559
572
|
|
|
560
573
|
declare interface Props_4 {
|