@prosperitainova/mirage-ui 1.1.14 → 1.1.16
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/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/Input/Input.d.ts +4 -0
- package/dist/cjs/types/lib/Input/Input.stories.d.ts +1 -0
- package/dist/cjs/types/lib/RadioGroup/Radio.d.ts +0 -1
- package/dist/cjs/types/lib/RadioGroup/RadioGroup.d.ts +1 -0
- package/dist/cjs/types/lib/RadioGroup/RadioGroup.stories.d.ts +0 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/Input/Input.d.ts +4 -0
- package/dist/esm/types/lib/Input/Input.stories.d.ts +1 -0
- package/dist/esm/types/lib/RadioGroup/Radio.d.ts +0 -1
- package/dist/esm/types/lib/RadioGroup/RadioGroup.d.ts +1 -0
- package/dist/esm/types/lib/RadioGroup/RadioGroup.stories.d.ts +0 -1
- package/dist/index.d.ts +5 -0
- package/package.json +1 -1
|
@@ -11,6 +11,10 @@ export type InputProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAtt
|
|
|
11
11
|
search?: boolean;
|
|
12
12
|
mask?: string;
|
|
13
13
|
maskChar?: string | null;
|
|
14
|
+
ref?: any;
|
|
15
|
+
onFocus?: boolean;
|
|
16
|
+
min?: string;
|
|
17
|
+
max?: string;
|
|
14
18
|
};
|
|
15
19
|
declare const Input: (props: InputProps) => JSX.Element;
|
|
16
20
|
export default Input;
|
package/dist/index.d.ts
CHANGED
|
@@ -82,6 +82,10 @@ type InputProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes
|
|
|
82
82
|
search?: boolean;
|
|
83
83
|
mask?: string;
|
|
84
84
|
maskChar?: string | null;
|
|
85
|
+
ref?: any;
|
|
86
|
+
onFocus?: boolean;
|
|
87
|
+
min?: string;
|
|
88
|
+
max?: string;
|
|
85
89
|
};
|
|
86
90
|
declare const Input: (props: InputProps) => JSX.Element;
|
|
87
91
|
|
|
@@ -150,6 +154,7 @@ type OptionsProps = {
|
|
|
150
154
|
description: string;
|
|
151
155
|
value: string;
|
|
152
156
|
setIndex?: (event: React.MouseEvent<HTMLDivElement>) => void;
|
|
157
|
+
disabled?: boolean;
|
|
153
158
|
};
|
|
154
159
|
type RadioGroupProps = HTMLAttributes<HTMLDivElement> & {
|
|
155
160
|
display: "row" | "column";
|